.river-rocks-article :is(.layout,.center,.reading){min-width:0}
.river-rocks-article .reading>h1{font-size:2rem;line-height:1.35;overflow-wrap:break-word}
.river-rocks-article .reading h2{font-size:1.5rem;line-height:1.4}
.river-rocks-article .reading h3{font-size:1.2rem;line-height:1.5}
.river-rocks-article .reading section:target{background:transparent;outline:0}
.river-rocks-article .reading a,.article-photo-dialog a{color:#195783;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.river-rocks-contents{padding:14px 18px;border:1px solid var(--line);border-radius:10px;margin:22px 0}
.river-rocks-contents summary{cursor:pointer;font-weight:700;line-height:1.6}
.river-rocks-contents nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;padding-top:8px}
.river-rocks-article .river-rocks-contents a{font-size:1rem;line-height:1.6}
.rock-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
.rock-entry{min-width:0;scroll-margin-top:20px}
.reading .rock-entry h3{margin-top:24px}
.reading .rock-entry .article-photo{border-radius:12px;margin:18px 0 24px}
.rock-entry-single .article-photo{max-width:680px;margin-inline:auto}
.rock-entry .article-photo-open{position:relative;background:#ece8df}
.rock-entry .article-photo img{height:260px;object-fit:contain;background:#ece8df}
.rock-entry-single .article-photo img{height:auto;max-height:400px}
.rock-photo-enlarge{display:block;padding:7px 12px;font-size:.875rem;line-height:1.5;text-align:center;background:#eaddbc;color:#493824}
.river-rocks-article .article-photo figcaption{font-size:.9375rem;line-height:1.65}
.river-rocks-article .article-photo-credit{font-size:.8125rem;line-height:1.65}
.reading .rock-photo-note{font-size:.9375rem;line-height:1.75;color:#665640}
.rock-table-wrap{max-width:100%;overflow-x:auto;margin:20px 0;border:1px solid var(--line);border-radius:10px;overscroll-behavior-inline:contain}
.rock-table{border-collapse:collapse;width:100%;font-size:1rem;line-height:1.65;text-align:left}
.rock-table caption{text-align:left;font-weight:700;padding:14px 16px;background:#f1e4bf;color:#3e3024}
.rock-table th,.rock-table td{padding:12px 16px;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:break-word}
.rock-table thead{background:#f6edda}.rock-table tbody th{font-weight:400;width:45%}
.rock-density-table td{text-align:right;font-variant-numeric:tabular-nums}
.rock-density-table th{width:50%}
.rock-table-wrap:focus-visible,.river-rocks-contents summary:focus-visible{outline:3px solid #a97827;outline-offset:3px}
.article-photo-dialog{padding:0;border:1px solid #ba9f6c;border-radius:16px;width:min(1050px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);background:#fffaf0;color:#382b20;box-shadow:0 18px 80px #0006;overscroll-behavior:contain}
.article-photo-dialog::backdrop{background:#201a13c7}
.article-photo-frame{padding:18px;display:flex;flex-direction:column;gap:12px;min-width:0}
.article-photo-dialog-header{display:flex;align-items:start;justify-content:space-between;gap:18px}
.article-photo-dialog h2{font-family:Georgia,serif;font-size:1.3rem;line-height:1.5;margin:0}
.article-photo-close{flex:none;font:inherit;line-height:1.5;padding:8px 12px;border:1px solid #a57b38;border-radius:8px;background:transparent;color:inherit;cursor:pointer}
.article-photo-shrink{display:block;align-self:center;max-width:100%;border:0;padding:0;background:#ece8df;cursor:zoom-out}
.article-photo-shrink img{display:block;max-width:100%;width:auto;height:auto;max-height:65dvh;object-fit:contain}
.article-photo-dialog-caption{font-size:.9375rem;line-height:1.65;overflow-wrap:anywhere}
.article-photo-dialog-caption strong{display:block;margin-bottom:6px}
.article-photo-dialog-caption .article-photo-credit{font-size:.8125rem;line-height:1.65}
.article-photo-hint{font-size:.875rem;line-height:1.6;margin:0}
.article-photo-frame :focus-visible{outline:3px solid #345f55;outline-offset:4px}
html[data-reading-dark] .river-rocks-article .reading a,html[data-reading-dark] .article-photo-dialog a{color:#a9d4f2}
html[data-reading-dark] :is(.article-photo-dialog,.rock-table caption,.rock-table thead){background:#302b22;color:#f5e8ca}
html[data-reading-dark] .river-rocks-article .article-photo{background:#302b22;border-color:#776644}
html[data-reading-dark] .river-rocks-article :is(.article-photo figcaption strong,.article-photo-credit,.rock-photo-note){color:#e1d3b4}
html[data-reading-size]:not([data-reading-size="0"]) .rock-pair{grid-template-columns:minmax(0,1fr)}
@media(max-width:850px){.rock-pair{grid-template-columns:minmax(0,1fr);gap:0}.rock-entry .article-photo{max-width:680px}.rock-entry .article-photo img{height:auto;max-height:400px}}
@media(max-width:650px){.river-rocks-article .reading{padding:20px}.river-rocks-article .reading>h1{font-size:1.7rem}.river-rocks-contents nav{grid-template-columns:minmax(0,1fr)}.rock-table th,.rock-table td{padding:10px}.article-photo-frame{padding:12px}.article-photo-shrink img{max-height:52dvh}}
@media print{.article-photo-dialog,.rock-photo-enlarge,.river-rocks-contents{display:none!important}.rock-pair{display:block}.article-photo img{max-height:240px!important}.rock-table-wrap{overflow:visible}.rock-table{font-size:10pt}}
