:root { color-scheme: light; --paper: #f5f3ed; --ink: #24362f; --muted: #646f66; --line: #dedfd4; --accent: #b35330; --surface: #fffef9; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.6; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button, .download { min-height: 42px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); padding: 9px 14px; cursor: pointer; font-size: 12px; font-weight: 650; transition: background .15s, border-color .15s; }
button:hover:not(:disabled), .download:hover:not(.disabled) { background: #e8ecdf; border-color: #aab6a0; }
button:disabled, input:disabled, .disabled { opacity: .45; cursor: not-allowed; }
button.primary { background: var(--ink); border-color: var(--ink); color: white; }
button.primary:hover:not(:disabled) { background: #3b5142; }
button.quiet { background: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.12; }
h1 { font-size: clamp(45px, 5.8vw, 76px); margin: 14px 0 10px; }
h2 { font-size: 29px; }
h3 { font-size: 13px; margin: 0 0 10px; }
p { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 15px; padding: 12px; background: white; z-index: 20; }
.skip-link:focus { top: 15px; }
.masthead { height: 99px; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-size: 10px; letter-spacing: .14em; line-height: 1.65; }
.brand strong { font-size: 12px; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--ink); border-radius: 50%; font: italic 32px Georgia, serif; }
.masthead-note { color: var(--muted); font-family: Georgia, serif; font-style: italic; font-size: 16px; }
.local-label { font-size: 11px; letter-spacing: .03em; color: var(--muted); }
.layout { display: grid; grid-template-columns: 242px minmax(0, 1fr); max-width: 1600px; margin: 0 auto; }
.catalog { border-right: 1px solid var(--line); padding: 33px 22px; }
.section-label, .eyebrow { font-size: 10px; font-weight: 650; letter-spacing: .14em; }
.section-label { display: flex; justify-content: space-between; align-items: center; }
#catalog-count { color: var(--muted); font-variant-numeric: tabular-nums; }
#catalog-search { width: 100%; margin: 20px 0 24px; font-size: 12px; background: transparent; }
input { min-width: 0; border: 1px solid #cdd2c6; border-radius: 6px; padding: 11px 12px; background: var(--surface); color: var(--ink); }
.catalog-group { margin-bottom: 25px; }
.catalog-group h2 { margin: 0 10px 10px; font-family: inherit; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.catalog-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-radius: 6px; padding: 7px 10px; margin: 2px 0; text-decoration: none; font-size: 12px; line-height: 1.6; }
.catalog-item:hover { background: #e9ebdf; }
.catalog-item[aria-current="page"] { background: var(--ink); color: white; }
.catalog-item .catalog-title { min-width: 0; overflow-wrap: anywhere; }
.catalog-tag { flex: none; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.catalog-foot { border-top: 1px solid var(--line); padding-top: 23px; font-size: 11px; color: var(--muted); }
.catalog-foot p { margin-top: 9px; font-size: 10px; }
.tiny-dot { display: inline-block; height: 6px; width: 6px; background: #6b7d51; border-radius: 50%; margin-right: 6px; }
main { min-width: 0; padding: 35px clamp(22px, 3.3vw, 55px) 0; }
.collection-heading { margin-bottom: 28px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); text-transform: uppercase; }
.badge { font-size: 9px; letter-spacing: .06em; padding: 3px 8px; border: 1px solid #cbd2c1; border-radius: 4px; }
.badge.draft { color: #8c482e; border-color: #dcb9a1; background: #f9eee2; }
.benchmark { color: var(--accent); border-color: #d9bca4; }
.subtitle { max-width: 740px; color: var(--muted); font-size: 14px; }
.benchmark-note { font-size: 11px; color: var(--accent); margin-top: 9px; }
.workbench { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, 1fr); gap: clamp(22px, 3vw, 48px); align-items: start; }
.art-panel { min-width: 0; }
.art-stage { aspect-ratio: 1; position: relative; display: grid; place-items: center; background: #e8e8dc; border-radius: 12px; overflow: hidden; border: 1px solid #dadccf; }
.art-stage > img { width: 100%; height: 100%; object-fit: contain; display: block; }
#art-placeholder { max-width: 80%; text-align: center; color: var(--muted); }
.stage-label { position: absolute; left: 14px; top: 14px; font-size: 8px; font-weight: 600; letter-spacing: .1em; background: #fffef9ed; border-radius: 3px; padding: 4px 7px; pointer-events: none; }
.art-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-family: ui-monospace, monospace; font-size: 10px; color: var(--muted); }
#art-seed { overflow-wrap: anywhere; min-width: 0; }
#art-bytes { white-space: nowrap; }
.inspector { padding-top: 8px; min-width: 0; }
.muted { color: var(--muted); }
.seed-controls > p { margin: 8px 0 24px; font-size: 12px; }
#seed-form label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
#seed-form label span { font-size: 10px; font-weight: 400; color: var(--muted); }
#seed-input { width: 100%; font-family: ui-monospace, monospace; font-size: 12px; }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; }
#seed-form .button-row { margin-top: 10px; }
#render-button { flex: 1; }
.download { display: flex; justify-content: space-between; margin-top: 12px; text-decoration: none; background: transparent; }
.field-error { color: #9e3926; font-size: 11px; margin-top: 8px; }
.avatar-section { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 21px; }
.avatars { display: flex; align-items: end; gap: 25px; margin-top: 20px; }
.avatars figure { text-align: center; }
.crop { border-radius: 50%; overflow: hidden; background: #e5e5d9; }
.crop img { display: block; width: 100%; height: 100%; object-fit: cover; }
.size-32 { width: 32px; height: 32px; }
.size-48 { width: 48px; height: 48px; }
.size-64 { width: 64px; height: 64px; }
.avatars figcaption { font: 9px ui-monospace, monospace; color: var(--muted); margin-top: 7px; }
.fine-print { font-size: 11px; line-height: 1.7; color: var(--muted); }
.avatar-section .fine-print { margin-top: 14px; }
.preview-note { font-size: 10px; color: var(--muted); margin-top: 18px; }
.variants-section { margin: 40px 0; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-top h2 { margin-top: 8px; font-size: 26px; }
.section-top button { font-size: 10px; min-height: 35px; padding: 7px 10px; }
.variants { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.variant { display: block; min-width: 0; width: 100%; padding: 0; overflow: hidden; border-radius: 7px; text-align: left; background: var(--surface); }
.variant[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.variant img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; background: #e7e8dc; }
.variant-label { display: block; padding: 9px; font: 9px ui-monospace, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.variant-error { display: grid; place-items: center; aspect-ratio: 1; padding: 10px; font-size: 10px; color: #92432e; }
#examples-note { margin: 0 0 14px; }
.details-section { border-top: 1px solid var(--line); padding-top: 28px; }
.details-section > h2 { margin: 10px 0 25px; }
.details-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.details-grid p { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.details-grid p.fine-print { font-size: 10px; }
.source-links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 25px; font-size: 11px; align-items: start; }
#report-link { display: inline-block; font-size: 11px; margin-bottom: 18px; }
.notice { padding: 13px 16px; border: 1px solid #dcc7a4; border-radius: 7px; background: #fbf0db; color: #775424; font-size: 12px; margin-bottom: 22px; }
.notice.error { color: #933c29; background: #fcebe1; }
footer { margin-top: 32px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); display: flex; justify-content: space-between; gap: 20px; }
@media (min-width: 1500px) { .inspector { padding-top: 25px; } .seed-controls > p { margin-bottom: 32px; } .avatar-section { margin-top: 34px; } }
@media (max-width: 1150px) { .layout { grid-template-columns: 200px minmax(0, 1fr); } .catalog { padding: 30px 14px; } .variants { grid-template-columns: repeat(3, minmax(0, 1fr)); } .details-grid { grid-template-columns: 1fr 1fr; } .evidence { grid-column: 1 / -1; } .workbench { gap: 22px; } }
@media (max-width: 850px) { .masthead { padding: 0 24px; height: 85px; } .masthead-note { display: none; } .layout { display: block; } .catalog { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 24px; } #catalog-search { margin: 12px 0; } #catalog-list { display: flex; gap: 24px; max-height: 175px; overflow: auto; } .catalog-group { flex: 0 0 175px; margin: 5px 0; } .catalog-foot { display: none; } main { padding: 28px 24px 0; } .workbench { grid-template-columns: 1.2fr 1fr; } }
@media (max-width: 590px) { .local-label { font-size: 9px; } .workbench { grid-template-columns: 1fr; } .inspector { padding-top: 0; } .seed-controls > p { margin-bottom: 18px; } .section-top { display: block; } .section-top .button-row { margin-top: 15px; } .variants { gap: 10px; } .details-grid { grid-template-columns: 1fr; gap: 12px; } .evidence { grid-column: auto; } footer { flex-direction: column; gap: 5px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
