[data-explorer]{--ink:#322632;--ink-2:#40333f;--line-dark:#796a77;--text:#fcf3fa;--muted:#e3d5df;--paper:#f4e9f1;--paper-line:#cdbac8;--on-paper:#392b37;--on-paper-muted:#655660;--gold:#ffe891;border:1px solid #d6c6d0}
[data-explorer] .pad{padding-inline:26px}
[data-explorer] .label{font:500 11px/1.4 var(--mono);text-transform:uppercase;letter-spacing:.08em;margin:0}
/* Homepage split */
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.explorer { display: flex; flex-direction: column; gap: 24px; min-width: 0; padding-top: 28px; padding-bottom: 40px; }
.headline { margin: 12px 0 0; max-width: 13em; font-family: var(--serif); font-weight: 400; font-size: 60px; line-height: 1.02; letter-spacing: -.025em; }
.intro { margin: 0; max-width: 38em; font-size: 16px; line-height: 1.45; color: var(--muted); scroll-margin-top: 24px; }
.intro strong { color: var(--text); font-weight: 500; }

.search { display: flex; flex-direction: column; gap: 10px; }
.search input { width: 100%; height: 52px; padding: 0 18px; font: inherit; font-size: 17px; color: var(--text); background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 10px; }
.search input::placeholder { color: #8b93a3; }
.tries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }

.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; font-size: 13px; color: var(--text); background: transparent; border: 1px solid var(--line-dark); border-radius: 999px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover { border-color: #8b93a3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { min-height: 44px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.chips[data-subs] .chip { min-height: 36px; padding: 0 11px; font-size: 13px; border-radius: 8px; }
.chips .chip[aria-pressed="true"] { color: var(--ink); background: var(--c); border-color: var(--c); }
.chip-toggle { border-style: dashed !important; border-color: #4a5160 !important; }
.swatch { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.count { font-family: var(--mono); font-size: 12px; opacity: .75; }

.wheel { position: relative; display: block; width: 100%; max-width: 860px; aspect-ratio: 1; margin: 0 auto; padding: 0; color: inherit; background: none; border: 0; border-radius: 50%; cursor: crosshair; container-type: inline-size; animation: arrive .9s cubic-bezier(.2, .7, .2, 1) both; }
.wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wheel-center { position: absolute; left: 50%; top: 50%; width: 30%; display: flex; flex-direction: column; align-items: center; gap: .3em; text-align: center; transform: translate(-50%, -50%); pointer-events: none; }
.wnum { font-family: var(--serif); font-size: 13cqw; line-height: .95; letter-spacing: -.03em; color: #fff; }
.wsub { font-size: max(11px, 2.1cqw); line-height: 1.25; }
.wlong { font-family: var(--mono); color: #9aa1af; }
.wyear { position: absolute; font-family: var(--mono); font-size: max(10px, 1.45cqw); color: #9aa1af; transform: translate(-50%, -50%); pointer-events: none; }
@keyframes arrive { from { opacity: 0; transform: rotate(-5deg) scale(.97); } to { opacity: 1; transform: none; } }
@container (max-width: 520px) { .wyear, .wlong { display: none; } }

.scrub, .legend { display: flex; flex-direction: column; width: 100%; max-width: 860px; margin: 0 auto; }
.scrub { gap: 6px; }
.scrub input { width: 100%; height: 32px; margin: 0; accent-color: var(--gold); }
.legend { gap: 12px; }

/* Reader */
.reader { display: flex; flex-direction: column; min-width: 0; padding-top: 28px; color: var(--on-paper); background: var(--paper); }
.reader-head { padding-bottom: 20px; border-bottom: 1px solid var(--on-paper); }
.reader-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.reader-head h2 { margin: 10px 0 6px; font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.05; letter-spacing: -.02em; }
.reader-head p { margin: 0; font-size: 15px; color: var(--on-paper-muted); }
.pager { display: flex; gap: 6px; }
.pager button { width: 44px; height: 44px; font-size: 18px; color: var(--on-paper); background: none; border: 1px solid var(--on-paper); border-radius: 50%; cursor: pointer; }
.pager button:disabled { opacity: .3; cursor: default; }
.btn-outline { margin-top: 12px; min-height: 36px; padding: 0 12px; font-size: 13px; color: var(--on-paper); background: none; border: 1px solid var(--on-paper); border-radius: 8px; cursor: pointer; }
.btn-solid { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 8px 16px; font-size: 15px; text-align: center; text-decoration: none; color: var(--paper); background: var(--on-paper); border: 0; border-radius: 10px; cursor: pointer; }
.list { flex: 1 1 0; height: 0; overflow-y: auto; padding-bottom: 32px; }
.list .btn-solid { margin: 24px 0; }
.empty { margin: 28px 0; font-family: var(--serif); font-size: 22px; line-height: 1.35; }

.item { padding: 24px 0; border-bottom: 1px solid var(--paper-line); }
.item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; font-family: var(--mono); font-size: 12px; color: var(--on-paper-muted); }
.dot { width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.item-title { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.14; letter-spacing: -.012em; }
.item-title a, .essay-card h3 a, .more-grid h3 a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .2s; }
.item-title a:hover, .essay-card h3 a:hover, .more-grid h3 a:hover { background-size: 100% 1px; }
.item p { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.42; color: #2a2a2c; }


[data-explorer] .explorer{background:var(--ink);color:var(--text)}
[data-explorer] .reader{min-width:0}
[data-explorer] .list{min-height:425px}
[data-explorer] a{color:inherit}
[data-explorer] .card{border-color:var(--paper-line)}
@media(max-width:760px){[data-explorer].split{grid-template-columns:1fr}[data-explorer] .list{height:auto;max-height:620px}}
