/* style.css */
:root{--paper:#f5f1e7;--card:#fbf8f0;--ink:#203c34;--muted:#626f62;--line:#d7d8c8;--gold:#a47935;--gold-light:#eedeb7;--blue:#53818b;--sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--serif:Georgia,"Times New Roman",serif}
.site-header .account-nav{min-height:44px;min-width:76px;border:1px solid var(--line);color:var(--ink);background:var(--card);white-space:nowrap}
#account-button[data-state=offline]{color:var(--gold)}
.account-name{font-weight:600;overflow-wrap:anywhere}
.account-status{margin:18px 0 0;color:var(--muted);font-size:13px}
.account-details{margin-top:20px;border-top:1px solid var(--line);padding-top:14px}
.account-details summary{min-height:44px;cursor:pointer}
.account-details p{font-size:13px;color:var(--muted)}
.account-sign-out{margin-top:20px}
.guest-save-note{margin-top:20px;padding-top:14px;border-top:1px solid var(--line);font-size:13px}
.guest-save-note p{margin:0!important}
.guest-save-note .action-link{min-height:44px;padding-left:0;text-decoration:underline;text-underline-offset:3px}
.auth-form{display:grid;gap:10px;margin:20px 0}
.auth-form label{font-size:13px;font-weight:600}
.auth-form input{width:100%;min-height:48px;padding:12px 14px;font-size:16px;border:1px solid var(--line);border-radius:7px;background:var(--card)}
.auth-form .primary-button{margin-top:8px}
.auth-options{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
.auth-options button{min-height:44px}
#auth-sign-in .auth-options{flex-direction:column;gap:8px}
#auth-sign-in #auth-create{width:100%;font-weight:600}
#auth-sign-in #auth-forgot{align-self:flex-end}
#auth-message:empty{display:none}
#auth-sign-in #auth-message[data-state=error],#auth-message[data-state=error]{margin:6px 0 0;padding:12px 14px;border:1px solid #98492e;border-left-width:4px;border-radius:7px;background:#f4dfcf;color:#682c1b;font-size:14px;font-weight:600;line-height:1.6}
#auth-sign-in #auth-message[data-state=success]{margin:6px 0 0;padding:12px 14px;border:1px solid #637251;border-left-width:4px;border-radius:7px;background:#dde5ce;color:#273d29;font-size:14px;font-weight:600;line-height:1.6}
.auth-form input[aria-invalid=true]{border-color:#98492e}

.auth-google{width:100%}
.auth-divider{text-align:center;font-size:12px}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.55 var(--sans)}
button,input,select{font:inherit;color:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{border:0;background:none;cursor:pointer;touch-action:manipulation}
button:disabled{cursor:default;opacity:.5}
button:focus-visible,a:focus-visible{outline:3px solid #b99a5c;outline-offset:3px}
input:focus-visible,select:focus-visible{outline:2px solid #b99a5c;outline-offset:2px}
a{color:inherit;text-underline-offset:3px}
svg{display:block}
h1,h2,h3{font-family:var(--serif);font-weight:normal}
h1{font-size:43px;line-height:1.12;letter-spacing:-1.2px;margin:0 0 12px}
h2{font-size:25px;line-height:1.2;margin:0 0 12px}
h3{font-size:21px;line-height:1.25;margin:0 0 8px}
.eyebrow{font-size:11px;font-weight:600;letter-spacing:1.8px;text-transform:uppercase;color:var(--muted);margin:0 0 12px}
.intro{margin:0;color:var(--muted);max-width:570px}
.site-header{max-width:1320px;margin:auto;padding:22px 36px;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line)}
.brand{display:flex;gap:9px;align-items:center;text-decoration:none;font:42px/1 var(--serif);letter-spacing:-2px;flex-shrink:0}
.brand-dot{color:var(--gold)}
.brand svg circle{fill:var(--gold)}
.brand-sub{font-size:10px;line-height:1.6;letter-spacing:2px;max-width:155px;border-left:1px solid var(--line);padding-left:20px}
.site-header nav{margin-left:auto;display:flex;gap:16px;align-items:center}
.nav-button{min-height:44px;padding:10px 12px;border-radius:6px;color:var(--muted);font-weight:500}
.nav-button.active{color:var(--ink);background:#e6e9dd}
.icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font:20px/1 var(--serif);flex-shrink:0}
main{max-width:1320px;margin:auto;padding:32px 36px;min-height:75vh}
.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}
.mode-switch{display:flex;padding:4px;border:1px solid var(--line);border-radius:8px;background:#eeede3;flex-shrink:0;gap:4px}
.mode-switch button{min-height:44px;padding:10px 16px;border-radius:5px;font-size:13px}
.mode-switch .selected{background:var(--ink);color:var(--card);box-shadow:0 2px 5px #203c3420}

.game-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.tree-panel,.log,.ready-note,.expedition-actions{grid-column:1;min-width:0}
.sidebar{grid-column:2;grid-row:1 / span 3;display:flex;flex-direction:column;gap:20px;min-width:0}
.panel{background:var(--card);border:1px solid var(--line);border-radius:12px}
.tree-panel{background:#203c34;color:#f2eddf;border-color:#203c34}
.tree-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 10px;border-radius:11px 11px 0 0}
.map-heading{min-width:0}
.new-practice-button{flex-shrink:0;min-height:44px;padding:8px 12px;border:1px solid #c3d0ba55;border-radius:6px;color:#f1db9f;font-size:12px}
.new-practice-button:hover{background:#ffffff0c}
.tree-top .eyebrow{color:#b7c6b9;font-size:10px;margin-bottom:5px}
.tree-top strong{display:block;font-size:14px;font-weight:500;overflow-wrap:anywhere}
.tree-tools{display:flex;gap:12px;align-items:center;padding:4px 20px 16px;border-bottom:1px solid #ffffff20}
.tree-tools button{min-height:44px;min-width:44px;padding:8px 14px;border:1px solid #ffffff35;color:#e1e9dd;border-radius:6px;font-size:12px;line-height:1.25}
.tree-tools button:hover{background:#ffffff0c}
.tree-tools button[aria-pressed=true]{background:#edf0e120;color:#f4e8c7}
.zoom-controls{display:flex;gap:8px;margin-left:auto}
.zoom-controls button{padding:6px;width:44px;font-size:22px}
.tree-scroll{overflow-x:auto;overflow-y:hidden;overscroll-behavior:auto;padding:20px 0 28px;scrollbar-width:thin;scrollbar-color:#748878 #203c34;touch-action:pan-x pan-y;background-image:radial-gradient(#ffffff10 .8px,transparent .8px);background-size:22px 22px}
.tree-scroll svg{margin:0 auto;max-width:none}
.tree-shortcuts{display:flex;flex-wrap:wrap;gap:8px 20px;padding:4px 20px 12px;border-bottom:1px solid #ffffff20}
.tree-shortcuts button{min-height:44px;font-size:13px;color:#f1db9f;text-decoration:underline;text-underline-offset:4px}
.guess-panel,.result-panel,.clue-panel{scroll-margin-top:20px}
.tree-node{cursor:pointer}
.tree-node text{pointer-events:none}
.tree-node:hover .tree-label,.tree-node:focus .tree-label{stroke:#f4d999;stroke-width:2}
.tree-node.faded:hover,.tree-node.faded:focus{opacity:.7}
.tree-bottom{display:flex;gap:10px 18px;flex-wrap:wrap;align-items:center;padding:12px 20px;color:#c0cdbf;font-size:11px;border-top:1px solid #ffffff20}
.legend{display:flex;gap:6px;align-items:center}
.dot{width:7px;height:7px;border-radius:50%;background:#aebdac;flex-shrink:0}
.dot.gold{background:#e0bc70}.dot.outline{border:1px solid #8d9f90;background:none}.dot.faded{opacity:.35}
.legend-note{margin-left:auto;font-size:11px}
.tree-touch-help{display:none}
@media (hover:none) and (pointer:coarse){.tree-touch-help{display:inline}.tree-pointer-help{display:none}}
.tree-panel .guess-panel{padding:20px;border-top:1px solid #ffffff20;border-radius:0 0 11px 11px;background:#29463b}
.guess-label{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;color:#dce6dc;font-size:11px;font-weight:600;margin-bottom:12px}
.guess-label span{font-weight:400;color:#bacbbb;font-size:12px}
.guess-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:start}
.search-wrap{position:relative;min-width:0}
.guess-form input{width:100%;min-width:0;min-height:48px;background:var(--card);border:1px solid #b6c4b6;border-radius:7px;padding:12px 14px;font-size:16px;line-height:22px;color:var(--ink)}
.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border-radius:7px;font-size:13px;line-height:1.4;font-weight:500;text-align:center}
.primary-button{background:var(--ink);color:#f9f6eb;border:1px solid var(--ink)}
.primary-button:hover{background:#38564a}
.secondary-button{border:1px solid var(--line);background:var(--card)}
.secondary-button:hover{background:#eeeee2}
.tree-panel .guess-form .primary-button{background:#ddc58d;border-color:#ddc58d;color:#203c34}
.tree-panel .guess-form .primary-button:hover{background:#ead7a4}
.tree-panel .guess-form .secondary-button{background:transparent;color:#e4dfcd;border-color:#a1b39c80}
.tree-panel .guess-form .secondary-button:hover{background:#ffffff0c}
.guess-help{font-size:12px;color:#bacbbb;margin:12px 0 0}
.suggestions{position:absolute;z-index:4;top:calc(100% + 8px);left:0;right:0;background:var(--card);color:var(--ink);border:1px solid var(--line);box-shadow:0 8px 30px #233d3420;border-radius:7px;overflow:auto;max-height:260px}
.suggestions button{width:100%;min-height:48px;display:flex;gap:12px;justify-content:space-between;align-items:center;text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);font-size:14px}
.suggestions button:last-child{border-bottom:0}
.suggestions button:hover,.suggestions button.highlight{background:#e8ecdf}
.suggestions small{font-size:11px;color:var(--muted);flex-shrink:0}
.inline-error{font-size:13px;color:#ffd2b8;margin:0}
.inline-error:not(:empty){margin-top:12px}
.clue-panel{padding:22px}
.section-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.section-top h2{margin:0}
.small-count{font-size:12px;color:var(--muted);border:1px solid var(--line);padding:3px 9px;border-radius:12px;white-space:nowrap}
.clue-panel .intro{font-size:13px;line-height:1.6;margin-bottom:16px}
.clue-row{border-top:1px solid var(--line);padding:16px 0;display:flex;gap:12px;align-items:center}
.clue-number{font-size:11px;border:1px solid var(--line);border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--muted)}
.clue-row.revealed .clue-number{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.clue-text{flex:1;min-width:0}
.clue-text strong{display:block;font-size:13px;font-weight:500}
.clue-text span{display:block;font-size:12px;color:var(--muted);line-height:1.5;margin-top:3px}
.clue-value{font:20px/1.3 var(--serif);margin-top:5px;color:var(--ink)}
.clue-row button{min-height:44px;min-width:80px;flex-shrink:0;font-size:13px;padding:10px 12px;border:1px solid #b9c5ae;border-radius:6px;background:#edf0e4}
.clue-row button:hover{background:#e1e8d7}
.clue-footer{font-size:12px;line-height:1.6;color:var(--muted);margin:4px 0 0}
.field-report{margin:18px 0;padding:18px;border:1px solid #799a87;border-radius:8px;background:#f4f0e2;color:var(--ink);overflow-wrap:anywhere}
.field-report .eyebrow{color:var(--muted);margin:0 0 8px;font-size:10px}
.field-report h3{font:22px var(--serif);margin:0 0 8px}
.field-report p{font-size:13px;line-height:1.6;margin:8px 0}
.field-evidence strong,.field-evidence span{display:block}
.field-evidence span{font-size:16px;margin-top:4px}
.field-report .evidence-note,.profile-evidence .evidence-note{font-size:12px;color:var(--muted);line-height:1.6}
.field-report .field-report-explainer{border-top:1px solid var(--line);padding-top:12px;font-size:12px;color:var(--muted);margin-top:14px}
.field-report a,.field-report button{display:inline-flex;align-items:center;min-height:44px;text-align:left;line-height:1.5}
.field-report button{margin-top:4px}
.log-report{margin:12px 0;background:transparent}
.log-report summary{cursor:pointer;font-size:13px;line-height:1.6;min-height:44px;display:list-item;align-content:center}
.log-report h3{margin-top:12px}
.profile-evidence{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:18px 0}
.collection-card{padding:20px 22px;display:grid;grid-template-columns:1fr auto;gap:12px}
.collection-card .eyebrow{font-size:10px;margin-bottom:10px}
.collection-card strong{font:32px/1 var(--serif)}
.collection-card small{display:block;font-size:12px;color:var(--muted);margin-top:8px}
.journal-icon{width:42px;height:48px;align-self:center;transform:rotate(-7deg);border:1px solid #889b83;border-left:5px solid #889b83;display:grid;place-items:center;border-radius:3px;font:19px var(--serif);color:#7c9576}
.progress-track{height:4px;background:#d9dece;margin-top:14px;border-radius:2px}.progress-track span{display:block;height:100%;background:#718d75;border-radius:2px}
.log-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.log-head .eyebrow{margin:0}.log-head span{font-size:12px;color:var(--muted)}
.log-row{display:grid;grid-template-columns:26px minmax(0,1fr) minmax(0,1fr) 20px;gap:12px;align-items:center;padding:8px 0;border-top:1px solid var(--line);font-size:13px}
.log-row .index{font:12px var(--serif);color:var(--muted)}
.log-row .ancestor-label{font-size:11px;color:var(--muted)}
.log-row .ancestor-label strong{display:block;color:var(--ink);font-size:13px;font-weight:500;overflow-wrap:anywhere}
.log-row .status-mark{font-size:17px;color:var(--muted)}
.action-link{min-height:44px;padding:8px 0;text-align:left;font-size:13px;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.empty-log{padding:18px 0;color:var(--muted);font-size:13px;border-top:1px solid var(--line)}
.ready-note{font-size:12px;color:var(--muted);margin:0}
.expedition-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-top:1px solid var(--line)}
.expedition-actions strong{font-weight:500;font-size:13px}
.expedition-actions p{margin:4px 0 0;color:var(--muted);font-size:12px}
.expedition-actions button{min-height:44px;padding:10px 16px;color:#795943;border:1px solid #c9bba6;border-radius:6px;white-space:nowrap;font-size:13px}
.expedition-actions button:hover{background:#eee7da}
.result-panel{padding:24px;margin:16px 20px;border:1px solid #b4c3a6;background:#e7ecdc;border-radius:9px;color:var(--ink)}
.result-panel.lost{background:#efeadf;border-color:#d0c4ac}
.result-panel .eyebrow{margin-bottom:8px}.result-panel h2{font-size:32px;margin:0 0 10px}
.result-panel p{font-size:13px;color:var(--muted);margin:0 0 20px}
.result-actions{display:flex;gap:12px;flex-wrap:wrap}
.result-seal{width:48px;height:48px;float:right;border:1px solid var(--gold);outline:1px solid var(--gold);outline-offset:3px;border-radius:50%;display:grid;place-items:center;color:var(--gold);font:26px var(--serif);transform:rotate(-12deg);margin:7px}
.curator-callout{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;margin:24px 0}.curator-callout .eyebrow{margin:0 0 6px}.curator-callout h2{font-size:24px;margin:0 0 8px}.curator-callout p:last-child{font-size:13px;line-height:1.6;color:var(--muted);margin:0}.curator-callout a{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;text-decoration:none;min-height:44px}@media(max-width:600px){.curator-callout{align-items:flex-start;flex-direction:column;gap:16px;padding:20px}.curator-callout a{width:100%}}
.journal-summary{display:flex;gap:28px}.journal-summary strong{font:28px var(--serif);display:block}.journal-summary span{font-size:11px;color:var(--muted)}
.filters{padding:20px;display:grid;grid-template-columns:1.3fr repeat(5,minmax(0,1fr));gap:16px;margin:20px 0}
.filter-field label{display:block;font-size:11px;margin-bottom:8px;color:var(--muted)}
.filter-field input,.filter-field select{padding:10px 12px;min-height:44px;background:var(--card);border:1px solid var(--line);border-radius:6px;width:100%;font-size:14px;min-width:0;color:var(--ink)}
.journal-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px;color:var(--muted);font-size:12px;flex-wrap:wrap}
.journal-toolbar button{min-height:44px;font-size:13px;text-decoration:underline;padding:10px 2px}
.journal-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.specimen-card{text-align:left;padding:20px;position:relative;border:1px solid var(--line);border-radius:9px;background:var(--card);min-height:220px;transition:transform .15s,box-shadow .15s}
.specimen-card:hover{transform:translateY(-3px);box-shadow:0 5px 20px #203c3410}
.specimen-card.explorer,.specimen-card.sample{border:2px solid var(--blue);padding:19px}.specimen-card.expert{border:2px solid var(--gold);padding:19px}
.specimen-top{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:22px}
.specimen-code{font-size:10px;color:var(--muted);letter-spacing:.8px}
.specimen-card h3{font-size:21px;overflow-wrap:anywhere}.specimen-group{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.specimen-facts{display:flex;gap:6px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:16px}
.specimen-facts span{border:1px solid var(--line);border-radius:4px;padding:3px 6px}
.discovery-label{font-size:11px;margin-top:16px;display:flex;flex-direction:column;gap:3px;color:var(--muted)}
.discovery-label i{font-style:normal;color:var(--muted)}
.card-legend{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;font-size:12px;color:var(--muted);margin-top:24px}
.legend-line{display:inline-block;width:18px;height:9px;border:2px solid var(--blue);margin-right:6px;vertical-align:middle}.legend-line.expert{border-color:var(--gold)}
.no-results{padding:40px 20px;text-align:center;grid-column:1/-1;color:var(--muted)}
dialog{position:fixed;border:1px solid #c1cbbb;border-radius:12px;background:var(--card);color:var(--ink);width:min(610px,calc(100vw - 32px));max-height:85dvh;padding:36px;box-shadow:0 20px 80px #102f3450;overflow:auto}
dialog::backdrop{background:#122e28aa;backdrop-filter:blur(3px)}
.modal-close{position:absolute;right:12px;top:12px;font-size:24px}
.modal-content h2{font-size:32px;padding-right:30px}.modal-content p,.modal-content li{font-size:14px;line-height:1.75;color:#586c5b}.modal-content a{color:var(--ink)}
/* The initial reading focus is a heading, rather than an interactive control. */
.modal-content h2[tabindex="-1"]:focus{outline:none}
.modal-content ol{padding-left:20px}.modal-content li{padding:6px 0}.modal-content .eyebrow{margin-top:0;padding-right:32px}
.profile-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0;padding:20px;background:#e9ecdf;border-radius:7px}
.profile-facts dt{font-size:11px;color:var(--muted);margin-bottom:5px}.profile-facts dd{margin:0;font-size:15px}
.lineage{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:14px 0 24px}.lineage span{font-size:12px;padding:5px 8px;border:1px solid var(--line);border-radius:4px}.lineage i{font-size:12px;color:var(--muted);font-style:normal}
.source-links{display:flex;flex-wrap:wrap;gap:12px 20px;font-size:13px;margin-top:20px}.source-links a{display:inline-flex;align-items:center;min-height:44px}
.profile-actions{display:flex;gap:12px;margin-top:24px;flex-wrap:wrap}
.achievement-panel{border:1px solid var(--line);border-radius:7px;padding:16px;margin-top:20px}.achievement-panel p{margin:0;font-size:13px}.achievement-panel strong{font-size:14px}
.modal-content .reference-credit,.modal-content .reference-note{font-size:12px;color:var(--muted);margin-top:16px}
.site-footer{max-width:1248px;margin:8px auto 0;padding:20px 0 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;gap:16px}
.site-footer button{min-height:44px;font-size:12px;padding:8px 0;text-align:right}
.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:var(--card);padding:12px 20px;border-radius:7px;font-size:13px;z-index:10;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
.loading{padding:100px 0;text-align:center;color:var(--muted)}.storage-warning{font-size:13px;background:#efe1c3;padding:12px 16px;border-radius:7px;margin-bottom:20px}
@media(max-width:1100px){
 .brand-sub{display:none}.filters{grid-template-columns:repeat(3,minmax(0,1fr))}.journal-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
 .guess-form{grid-template-columns:1fr 1fr}.search-wrap{grid-column:1 / -1}.site-footer{margin-left:36px;margin-right:36px}
}
@media(max-width:960px){
 .game-grid{display:flex;flex-direction:column;gap:24px}.tree-panel,.sidebar,.log,.ready-note,.expedition-actions{width:100%}
 .sidebar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.clue-panel{grid-row:span 2}
 .page-heading{align-items:flex-start;flex-direction:column;gap:20px}.mode-switch{width:100%}.mode-switch button{flex:1}
}
@media(max-width:600px){
 .site-header{padding:14px 16px;gap:10px}.brand{font-size:32px}.brand svg{width:28px;height:28px}.site-header nav{gap:8px}.nav-button{padding:8px;font-size:12px}
 main{padding:24px 16px}.page-heading{gap:16px;margin-bottom:20px}h1{font-size:32px;letter-spacing:-.8px}.page-heading .eyebrow{font-size:10px;letter-spacing:1.2px}.page-heading .intro{font-size:13px}
 .mode-switch button{font-size:12px;padding:8px 10px}
 .tree-top{padding:16px 16px 10px}.tree-top strong{font-size:13px}.tree-tools{padding:4px 16px 14px;gap:8px}.tree-tools button{padding:8px 10px}.zoom-controls{gap:8px}.zoom-controls button{padding:6px}
 .tree-shortcuts{padding:0 16px 10px}
 .tree-bottom{padding:12px 16px;gap:10px 14px}.legend-note{display:none}.tree-panel .guess-panel{padding:20px 16px}
 .guess-label{margin-bottom:14px}.guess-form{gap:14px}.guess-form input{min-height:52px;font-size:16px;padding:14px;line-height:22px}.primary-button,.secondary-button{min-height:48px;padding:12px 10px}
 .sidebar{display:flex;flex-direction:column;gap:20px}.collection-card{display:none}.clue-panel{padding:20px}.clue-row{padding:16px 0}
 .log-row{grid-template-columns:22px minmax(0,1fr) minmax(0,1fr) 16px;gap:10px}.log-head .eyebrow{font-size:10px}.log-head span{font-size:11px}.log-row .ancestor-label strong{font-size:12px}
 .expedition-actions{gap:16px}.result-panel{margin:12px;padding:20px}.result-panel h2{font-size:28px}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.result-actions .primary-button{grid-column:1 / -1}
 .journal-summary{gap:28px}.filters{padding:16px;grid-template-columns:1fr 1fr;gap:16px}.filter-field:first-child{grid-column:span 2}.filter-field input,.filter-field select{font-size:16px;padding:10px 8px}.journal-toolbar{display:block}.journal-toolbar>div{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:12px}
 .journal-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.specimen-card{padding:16px;min-height:228px}.specimen-card.explorer,.specimen-card.sample,.specimen-card.expert{padding:15px}.specimen-card h3{font-size:18px}.specimen-top{margin-bottom:20px}.specimen-code{font-size:9px}.specimen-group{font-size:11px}.specimen-facts{font-size:10px}
 dialog{padding:32px 20px 24px}.modal-content h2{font-size:28px}.profile-facts{padding:16px;gap:16px}.profile-facts dd{font-size:14px}.profile-actions{display:grid;grid-template-columns:1fr;width:100%}
 .site-footer{margin:8px 16px 0;padding-top:20px;align-items:flex-start;flex-direction:column;gap:4px}.site-footer button{text-align:left}
}
@media(max-width:360px){.brand svg{display:none}.tree-tools{padding-left:12px;padding-right:12px}.guess-form .primary-button,.guess-form .secondary-button{font-size:12px}.journal-cards{grid-template-columns:1fr}.specimen-card{min-height:210px}.guess-label{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.result-counts{display:flex;flex-wrap:wrap;gap:12px 24px;margin:16px 0 20px;color:var(--ink);font-size:14px}.result-counts strong{font-weight:600}

.journal-more{grid-column:1/-1;justify-self:center;min-height:48px;margin:12px 0}.answer-hold{padding:16px;border-left:3px solid var(--gold);background:var(--paper)}

.expedition-setup{display:flex;flex-direction:column;gap:12px;width:370px;flex-shrink:0}.expedition-setup .mode-switch{width:100%}.expedition-setup .mode-switch button{flex:1}.roster-switch button{display:flex;flex-direction:column;gap:4px;align-items:center;min-height:66px}.roster-switch strong{font-size:14px;font-weight:600}.roster-switch span{font-size:12px;font-weight:400;line-height:1.4}.roster-note{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.roster-note a{display:inline-block;text-underline-offset:3px}.guess-help-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;margin-top:10px}.guess-help-row .guess-help{margin:0}.guess-help-row .journal-new-tab{min-height:44px;display:inline-flex;align-items:center;font-size:12px;color:#e4dfcd}.journal-roster{max-width:430px;display:flex;flex-direction:column;gap:10px;margin-bottom:28px}.journal-roster .roster-switch button{flex:1}.journal-heading-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:20px 28px}.journal-heading-actions>a{min-height:44px;display:inline-flex;align-items:center;text-decoration:none}.journal-heading-actions .journal-summary{flex-shrink:0}
@media(max-width:960px){.expedition-setup{width:100%;max-width:520px}.journal-heading-actions{justify-content:flex-start}}
@media(max-width:600px){.expedition-setup{gap:12px}.roster-switch button{padding:10px 8px;min-height:66px}.roster-switch strong{font-size:13px}.roster-switch span{font-size:11px}.roster-note{font-size:12px}.guess-help-row{align-items:flex-start;flex-direction:column;gap:4px}.journal-roster{max-width:none}.journal-heading-actions{width:100%;gap:20px}}

/* Let Field support fill the shared row so the final panel meets the tree bottom. */
.game-grid>.sidebar{grid-row:1;align-self:stretch;gap:12px}.game-grid>.tree-panel{align-self:stretch;display:flex;flex-direction:column}.tree-panel>.guess-panel{margin-top:auto}.sidebar .clue-panel{padding:18px}.sidebar .section-top{margin-bottom:10px}.sidebar .section-top h2{font-size:23px}.sidebar .clue-panel .intro{margin-bottom:10px;font-size:12px}.sidebar .clue-row{padding:12px 0;gap:9px}.sidebar .clue-number{width:24px;height:24px}.sidebar .clue-value{font-size:18px}.sidebar .clue-footer{font-size:11px;line-height:1.5}.sidebar .collection-card{padding:16px 18px;gap:10px}.sidebar .collection-card .eyebrow{margin-bottom:6px}.sidebar .collection-card strong{font-size:28px}.sidebar .collection-card small{margin-top:5px}.sidebar .progress-track{margin-top:10px}.sidebar .expedition-actions{margin-top:0;display:flex;flex-direction:column;align-items:flex-end;gap:8px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:var(--card)}.sidebar .expedition-actions p{margin:0;font-size:11px;align-self:flex-start}.sidebar .expedition-actions button{min-height:44px}.storage-warning button{text-decoration:underline;min-height:44px;padding:8px}
@media(max-width:960px){.game-grid>.sidebar{display:flex;flex-direction:column;width:100%}.sidebar .expedition-actions{margin-top:0}.sidebar .clue-panel{padding:20px}.sidebar .clue-row{padding:12px 0}.sidebar .clue-footer{font-size:12px}}

/* Journal rewards: one roster border, one dated Daily ink stamp. */
.specimen-card{display:flex;flex-direction:column;align-items:flex-start}
.specimen-card .discovery-label{margin-top:auto;padding-top:16px}
.daily-stamp{display:inline-flex;align-self:flex-start;align-items:center;text-align:center;flex-direction:column;gap:3px;max-width:100%;margin:18px 0 4px;padding:7px 9px;border:2px solid #715836;border-radius:3px;outline:1px solid #715836;outline-offset:-5px;color:#715836;font-family:var(--sans);font-weight:700;line-height:1.3;text-transform:uppercase;letter-spacing:1px;transform:rotate(-3deg);box-shadow:inset 1px 0 #71583640}
.daily-stamp>span{font-size:9px}.daily-stamp>time{font-size:10px;letter-spacing:1.3px}
.result-panel .daily-stamp{color:#edcf8b;border-color:#edcf8b;outline-color:#edcf8b;margin:4px 0 20px}
.achievement-panel .daily-stamp{margin:16px 0 18px}
.daily-history{margin-top:16px;border-top:1px solid var(--line);padding-top:8px}
.daily-history summary{cursor:pointer;min-height:44px;display:list-item;padding:10px 0;font-size:13px;font-weight:600}
.daily-history ol{padding-left:20px}.daily-history li{font-size:12px;overflow-wrap:anywhere}

.expedition-setup .expedition-mode-switch button{flex:1 1 0;min-width:0}
.result-actions .action-link{min-height:44px;padding:10px 4px}
@keyframes journal-stamp{0%{opacity:0;transform:rotate(-8deg) scale(1.35)}65%{opacity:1;transform:rotate(-3deg) scale(.97)}100%{transform:rotate(-3deg) scale(1)}}
.stamp-earned{animation:journal-stamp .38s ease-out both}
@media(prefers-reduced-motion:reduce){.stamp-earned{animation:none}}
@media(max-width:640px){.daily-stamp{padding:7px 8px;letter-spacing:.6px}.daily-stamp>span{font-size:9px}}

.locality-filter{grid-column:1/-1;border-top:1px solid var(--line);padding-top:4px}
.locality-filter summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:12px;color:var(--ink)}
.locality-filter .filter-field{max-width:420px;margin:8px 0 12px}.locality-filter p{max-width:760px;font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 8px}
.locality-qualifier{font-size:11px;color:var(--muted);margin:12px 0 0}
.sidebar .clue-text span{font-size:11px;line-height:1.5;margin-top:4px}
@media(max-width:600px){.site-header nav{gap:4px}.guide-button{white-space:nowrap}}
@media(max-width:380px){.site-header{gap:6px}.site-header .brand{font-size:28px}.site-header .nav-button{padding:8px 6px;font-size:11px}}
/* A journal filter changes the catalogue view, never the active game roster. */
.journal-toolbar .catalogue-filter{display:flex;align-items:center;justify-content:flex-start;gap:4px;background:#eeede3;border:1px solid var(--line);border-radius:7px;padding:3px;margin:0}
.journal-toolbar .catalogue-filter button{padding:8px 12px;min-height:44px;text-decoration:none;border-radius:4px;font-size:12px;white-space:nowrap}
.catalogue-filter button[aria-pressed=true]{background:var(--ink);color:var(--card)}
.site-header a.nav-button{display:inline-flex;align-items:center;text-decoration:none;white-space:nowrap}
.notes-roster-link{margin:0 0 18px;font-size:13px}.notes-roster-link a{display:inline-flex;align-items:center;min-height:44px}
.guide-detail{margin:16px 0;border-top:1px solid var(--line)}.guide-detail summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px;font-weight:600}.guide-detail p{margin:0 0 12px}
@media(max-width:600px){.journal-toolbar .catalogue-filter{width:max-content;margin:8px 0}.site-header nav{gap:4px}}
.journal-heading-actions .journal-notes-link{font-size:13px;color:var(--muted)}

/* Stable clue slots: no answer data is inserted until a kit is activated. */
.sidebar .clue-panel{flex:1;display:flex;flex-direction:column}
.sidebar .clue-row{display:grid;grid-template-columns:24px minmax(0,1fr) 80px;column-gap:9px;row-gap:8px;flex:1;align-content:center}
.sidebar .clue-action{width:80px;min-width:0;padding:10px 4px;font-size:12px}
.sidebar .clue-action:disabled{opacity:1;color:var(--muted);background:transparent;border-color:var(--line)}
.clue-slot{grid-column:2/-1;min-height:44px;display:flex;align-items:flex-start}
.sidebar .clue-slot .clue-value{margin:0;font-size:17px;line-height:22px;overflow-wrap:anywhere}
.clue-obscured{width:100%;padding-top:5px;display:flex;flex-direction:column;gap:10px}
.clue-obscured i{display:block;width:75%;height:7px;border-radius:3px;background:#dfe2d6}
.clue-obscured i+ i{width:48%}
.sidebar .clue-footer{margin-top:8px}
.game-grid>.tree-panel>.tree-scroll{flex:1}
.site-header .guide-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--gold-light);border:1px solid #cbb67f;color:var(--ink);white-space:nowrap}
.site-header .guide-button:hover{background:#e5d09e}
.guide-help{flex-shrink:0}
@media(max-width:960px){.sidebar .clue-panel{flex:initial}}
@media(max-width:600px){.site-header .guide-button{gap:5px}.guide-help{width:16px;height:16px}}

/* An expedition and its open notebook: playing controls stay together. */
.game-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start}
.game-grid>.tree-panel{align-self:start}
.game-grid>.sidebar{align-self:start;grid-row:1;gap:0}
.game-grid>.tree-panel>.tree-scroll{flex:initial}
.guess-form{grid-template-columns:minmax(0,1fr) repeat(2,136px)}
.guess-form>a{min-height:48px;text-decoration:none;background:transparent;color:#e4dfcd;border-color:#a1b39c80}
.guess-form>a:hover{background:#ffffff0c}
.tree-panel .guess-panel{padding-bottom:20px}
.compact-clues{padding:0;margin:20px 0 0;border:0;background:transparent;color:#e4ecdf}
.support-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:10px}
.compact-clues .small-count{color:#c7d4c5;border-color:#ffffff30;font-size:11px}
.clue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.compact-clues .clue-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:2px 10px;align-content:start;align-items:center;margin:0;padding:10px 12px;border:1px solid #ffffff25;border-radius:7px;background:#ffffff05;text-align:left}
.compact-clues .clue-text strong{font-size:12px;font-weight:500}
.compact-clues .clue-text{display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:3px 6px;min-height:18px}
.compact-clues .clue-text>span{font-size:11px;color:#c1d5b9}
.compact-clues .clue-action{min-height:92px;min-width:0;width:100%;color:#ead7a4;font-size:12px;white-space:normal}
.compact-clues .clue-action:hover:not(:disabled){background:#ffffff0c;border-color:#d8c58a}
.compact-clues .clue-action:focus-visible{outline:2px solid #f1db9f;outline-offset:3px}
.compact-clues .clue-action:disabled{opacity:1;background:#ffffff05;border-color:#ffffff25;color:#c1d5b9}
.compact-clues .clue-mark{grid-column:2;grid-row:1/3;align-self:center;display:flex;flex-direction:column;align-items:center;gap:4px;color:#ead7a4;opacity:.75}.clue-mark svg{transform:rotate(-7deg);flex-shrink:0}.clue-state{font-size:9px;line-height:1.2;letter-spacing:.2px}.compact-clues .revealed .clue-mark{opacity:1}.compact-clues .revealed{border-color:#d8c58a80;background:#d8c58a09}
.compact-clues .clue-slot{grid-column:1;grid-row:2;min-height:54px;align-items:center}
.compact-clues .clue-value{display:block;color:#f1e5c8;font:14px/1.3 var(--serif);margin:0;overflow-wrap:anywhere}
.compact-clues .clue-obscured{gap:7px;padding:0}.compact-clues .clue-obscured i{height:4px;background:#c7d4c51c}
.guess-panel .expedition-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;width:100%;margin:16px 0 0;padding:0;background:none;border:0}
.guess-panel .expedition-actions button{min-height:44px;padding:10px 16px;font-size:12px;color:#c3cebd;text-decoration:underline;text-underline-offset:4px}
.guess-panel .expedition-actions .new-practice-button{color:#f1db9f;text-decoration:none}
.guess-panel .expedition-actions button:hover{background:#ffffff0c}
.tree-node.previous-guess .tree-label{stroke-width:1.7}
.tree-node[aria-pressed=true] .tree-label{stroke:#f4e7c7;stroke-width:2.2}
.field-note-panel{padding:22px;overflow-wrap:anywhere}
.field-note-heading .eyebrow{font-size:10px;margin-bottom:8px}
.field-note-heading h2{font-size:29px;margin-bottom:14px}
.field-description{font-size:14px;line-height:1.75;margin:16px 0 8px}
.reference-pictures{display:grid;gap:12px}
.media-loading{height:286px;border:1px solid #294b3914;border-radius:10px;background:linear-gradient(145deg,#f3f1e6,#e6eadf)}
.reference-pictures figure{margin:0;min-width:0;border:1px solid #294b3920;border-radius:10px;overflow:hidden;background:#f7f5ee}
.reference-pictures img{display:block;width:100%;height:240px;object-fit:contain;background:#edece3}
.reference-pictures figcaption{padding:9px 11px;font-size:10px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.picture-subject,.picture-credit{display:block}.picture-subject{font-size:11px;margin-bottom:3px;color:var(--ink)}
.picture-subject strong{font-style:italic;font-weight:500}
.reference-pictures figcaption a{display:inline;text-decoration:none}
.reference-pictures figcaption a:hover{text-decoration:underline}
.overview-source{display:inline;font-size:10px;line-height:1.5;color:var(--muted)}
.field-note-panel .profile-facts{gap:12px;padding:14px;margin:20px 0;font-size:12px}
.field-note-panel .profile-facts dd{font-size:13px}
.field-note-actions{display:flex;flex-wrap:wrap;align-items:center;column-gap:20px;clear:both}
.field-note-actions>.action-link{display:inline-flex;align-items:center;min-height:44px;font-size:12px;white-space:nowrap}
.branch-references{margin-top:12px;border-top:1px solid var(--line)}
.branch-references summary,.journal-research>summary,.completed-field-notes>summary{cursor:pointer;min-height:48px;padding:14px 0;font-size:13px}
.branch-references p{font-size:12px;color:var(--muted)}
.branch-references .source-links{font-size:12px;margin-top:8px}
.result-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.9fr);gap:22px;padding:24px;margin:16px 20px 20px}
.result-story{display:flex;flex-direction:column;align-items:flex-start}
.result-story .result-counts{margin:0 0 20px}
.achievement-panel .best-rule{margin:6px 0 12px;font-size:12px;color:var(--muted)}
.journal-entry>.achievement-panel{background:var(--card);margin:20px 0}
.journal-entry>.achievement-panel>strong{display:block;margin-top:14px}
.result-story .result-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:10px}
.result-actions a{text-decoration:none}
.result-story .result-actions .action-link{width:100%;text-align:left;padding-left:0}
.discovery-portrait{position:relative;min-height:260px;display:flex;align-items:center;justify-content:center}
.discovery-artwork{--portrait-height:260px;position:relative;width:100%}
.discovery-portrait .journal-media{width:100%}
.discovery-portrait .media-loading{height:302px}
.discovery-portrait img{height:260px;background:#e3e8d7}
.discovery-portrait .daily-stamp{position:absolute;top:calc(var(--portrait-height) - 96px);bottom:auto;right:12px;margin:0;padding:16px 20px;color:#715836;border-color:#715836;outline-color:#715836;background:#f6eddbf5;box-shadow:1px 3px 8px #203c3420;transform:rotate(-7deg)}
.discovery-portrait .reference-pictures figcaption{color:#667265;background:#edf0e6}
.unillustrated-plate{display:flex;min-height:260px;padding:26px;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;color:#385044;background:radial-gradient(ellipse at center,#f5f0e0,#e3e8d7);border:1px solid #f4edce50;border-radius:10px}
.unillustrated-plate .eyebrow{font-size:9px;margin:0}.unillustrated-plate strong{font-family:var(--serif);font-style:italic;font-size:clamp(22px,2.8vw,32px);overflow-wrap:anywhere}.unillustrated-plate>span:last-child{font-size:11px;line-height:1.6;max-width:24ch}
.discovery-portrait:has(.daily-stamp) .unillustrated-plate{min-height:300px;padding-bottom:116px}
.discovery-portrait:has(.unillustrated-plate) .daily-stamp{top:auto;bottom:24px}
.discovery-portrait .daily-stamp>span{font-size:11px;letter-spacing:1.3px}
.discovery-portrait .daily-stamp>time{font-size:16px;letter-spacing:1.5px}
.completed-field-notes{margin:0 20px 20px;color:#dce6d9}
.completed-field-notes .log-report{color:var(--ink);background:var(--card)}
.journal-entry{max-width:940px;margin:0 auto}
.journal-entry>#profile-back{min-height:44px;font-size:13px;color:var(--muted);margin-bottom:20px}
.entry-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;border-bottom:1px solid var(--line);padding-bottom:24px}
.entry-heading h1{font-size:44px;overflow-wrap:anywhere}
.entry-heading .daily-stamp{margin:4px 8px 0 0;padding:13px 18px}
.entry-heading .daily-stamp>span{font-size:12px}
.entry-heading .daily-stamp>time{font-size:17px}
.entry-discovery{color:var(--muted);font-size:13px;margin:0}
.journal-entry.explorer .entry-heading,.journal-entry.sample .entry-heading{border-bottom:2px solid var(--blue)}
.journal-entry.expert .entry-heading{border-bottom:2px solid var(--gold)}
.journal-entry>.journal-media{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;align-items:start}
.journal-entry .reference-pictures{grid-column:1;grid-row:1/span 2}
.journal-entry .media-loading{grid-column:1;grid-row:1/span 2;height:376px}
.journal-entry .reference-pictures img{height:330px}
.journal-entry .field-description{grid-column:2;line-height:1.85;margin-top:0;font-size:16px}
.journal-entry .overview-source{grid-column:2;justify-self:start}
.journal-entry .profile-facts{margin-top:28px;padding:24px;gap:24px}
.journal-research{margin:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.journal-research>summary{font-weight:500;padding:18px 0}
.journal-research>h3{margin-top:20px}
.journal-research .profile-evidence{margin-top:0;padding-top:8px;border-top:0}
.journal-research .source-links{margin-bottom:20px}
.journal-research .achievement-panel{background:#eceee2;border:0;margin-bottom:20px}
.journal-research p{line-height:1.75}
@media(max-width:1100px){
 .game-grid{grid-template-columns:minmax(0,1fr) 300px}
 .guess-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 .guess-form .search-wrap{grid-column:1/-1}
 .compact-clues .clue-row{padding:10px}
 .result-panel{grid-template-columns:1fr}
 .discovery-portrait{grid-row:1}
}
@media(max-width:960px){
 .game-grid{display:flex;flex-direction:column;gap:24px}
 .game-grid>.sidebar{width:100%}
 .field-note-panel{width:100%}
 .field-note-panel .reference-pictures,.field-note-panel .media-loading{float:right;width:40%;margin:0 0 12px 20px}
 .field-note-panel:after{content:'';display:block;clear:both}
 .result-panel{grid-template-columns:minmax(0,1fr) minmax(220px,.9fr)}
 .discovery-portrait{grid-row:auto}
}
@media(max-width:600px){
 .site-header nav{gap:4px}.site-header .nav-button{font-size:11px;padding:8px 7px}.site-header .guide-button{gap:4px}
 .guess-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .guess-form .search-wrap{grid-column:1/-1}
 .clue-grid{gap:8px}.compact-clues .clue-row{padding:10px 8px;gap:5px}
 .compact-clues .clue-value{font-size:14px;line-height:1.4}
 .field-note-panel{padding:20px}.field-note-heading h2{font-size:27px}
 .field-note-panel .reference-pictures,.field-note-panel .media-loading{float:none;width:100%;margin:0 0 12px}
 .result-panel{display:flex;flex-direction:column;gap:20px;margin:12px;padding:18px}
 .discovery-portrait{order:-1;min-height:230px;width:100%}.discovery-artwork{--portrait-height:230px}.discovery-portrait img{height:230px}.discovery-portrait .media-loading{height:274px}
 .result-story .result-actions{display:grid;width:100%;grid-template-columns:1fr 1fr}.result-actions .primary-button{grid-column:1/-1}
 .entry-heading{flex-direction:column;gap:18px}.entry-heading h1{font-size:34px}.entry-heading .daily-stamp{margin:0 0 4px}
 .journal-entry>.journal-media{display:block}.journal-entry .reference-pictures{margin-bottom:22px}.journal-entry .reference-pictures img{height:280px}.journal-entry .media-loading{height:326px}
 .journal-entry .field-description{font-size:15px}.journal-entry .profile-facts{padding:18px;gap:20px}
}
@media(prefers-reduced-motion:reduce){.discovery-portrait .stamp-earned{animation:none}}
.result-clues{margin:0 0 18px;display:flex;flex-wrap:wrap;gap:10px 16px;font-size:12px}
.result-clues dt{font-size:10px;color:var(--muted)}
.result-clues dd.clue-value{margin:0;font:13px/1.5 var(--sans)}
.footer-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px}
.site-footer #notes-link{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-size:12px;text-underline-offset:3px}.site-footer #notes-link:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.site-footer #report-button{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-align:left}
.guide-steps{margin:18px 0 22px}
.guide-steps li{margin-bottom:8px}
.guide-steps strong{display:block}
.guide-footnote{font-size:12px;color:var(--muted)}
.report-form{display:grid;gap:10px;margin-top:20px}
.report-form label{font-size:13px;font-weight:600}
.report-form label span{font-weight:400;color:var(--muted)}
.report-form input,.report-form select,.report-form textarea{width:100%;min-height:48px;padding:12px 14px;font:16px/1.5 var(--sans);color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:7px}
.report-form textarea{resize:vertical}
.report-form .report-context{margin:2px 0 6px}
.report-context{font-size:12px;color:var(--muted)}
.report-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(100%)}
#report-status{margin:0;font-size:13px}
#tree-notes{display:none}
@media(max-width:960px){#tree-notes{display:inline-flex;align-items:center}}
#branch-notes{scroll-margin-top:20px}
@media(max-width:640px){.site-header{flex-wrap:wrap}.site-header .brand-sub{display:none}.site-header .account-nav{order:1;margin-left:auto}.site-header nav{order:2;width:100%;justify-content:space-between;margin-left:0}.site-header .nav-button{padding:8px}}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.overview-source{display:block;padding:3px 0;line-height:1.5}
.overview-source a{text-decoration:none}.overview-source a:hover{text-decoration:underline}
.tree-panel>.log-report{margin:0 20px 20px;background:var(--card);color:var(--ink)}
.picture-name{display:inline;color:var(--ink);font-size:10px;font-weight:500}

/* Wide compact clue rows keep names, evidence and ink marks legible on phones. */
@media(max-width:600px){.clue-grid{grid-template-columns:1fr;gap:8px}.compact-clues .clue-row{grid-template-columns:minmax(100px,.85fr) minmax(0,1fr) 44px;gap:8px;min-height:68px;padding:8px 12px}.compact-clues .clue-text{flex-direction:column;align-items:flex-start;gap:3px;min-height:34px}.compact-clues .clue-slot{grid-column:2;grid-row:1;min-height:72px}.compact-clues .clue-mark{grid-column:3;grid-row:1}.compact-clues .clue-value{font-size:14px;line-height:1.3}}
.report-notes{font-size:13px;line-height:1.6;color:var(--muted)}.report-notes a{color:var(--ink);text-underline-offset:3px}

.compact-clues .clue-action.revealed:disabled{border-color:#d8c58a80;background:#d8c58a09}
@media(max-width:600px){.tree-tools{flex-wrap:wrap}}

/* Updates share the help-button shape, with blue ink and their own symbol. */
.site-header .updates-button{background:#e0eaea;border-color:#a4bbbe;color:#294e55}.site-header .updates-button:hover{background:#ccdfe0}
.site-footer{flex-wrap:wrap}.daily-reset{flex:0 1 auto}.footer-actions{margin-left:auto;gap:8px 20px}.footer-actions>*{white-space:nowrap}
.update-entry{margin:18px 0;padding-top:16px;border-top:1px solid var(--line)}.update-entry time{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.update-entry h3{font:600 16px/1.4 var(--sans);margin:0 0 10px}.update-entry ul{padding-left:20px;margin:0;list-style:disc}.update-entry li{margin:6px 0;font-size:13px;line-height:1.5}
@media(max-width:1100px){.site-header .brand-sub{display:none}}
@media(max-width:640px){.site-header nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.site-header nav .nav-button{width:100%;text-align:center}}
@media(max-width:600px){.site-footer{flex-direction:row;align-items:center;gap:4px 16px}.daily-reset{width:100%}.footer-actions{margin:0;gap:4px 14px;justify-content:flex-start}.footer-actions button,.site-footer #notes-link{font-size:11px}}

/* Privacy is a readable reference page, with a short player-facing summary. */
.site-footer #privacy-link{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:var(--muted);text-underline-offset:3px}
.site-footer .dustlight-footer-link{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:var(--muted);text-underline-offset:3px}
.site-footer .dustlight-footer-link:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.privacy-page{max-width:920px}.privacy-page h1{font-size:clamp(36px,6vw,54px);margin:0 0 8px}.policy-date{margin:0 0 20px;font-size:12px;color:var(--muted)}.privacy-page .intro{max-width:680px}.privacy-page section{margin:28px 0;scroll-margin-top:24px}.privacy-page h2{font:28px/1.3 var(--serif);margin:0 0 12px}.privacy-page h3{font:20px/1.4 var(--serif);margin:24px 0 8px}.privacy-page p,.privacy-page li{line-height:1.75;color:var(--muted)}.privacy-page li{margin:8px 0}.privacy-page strong,.privacy-page a{color:var(--ink)}.privacy-page a{overflow-wrap:anywhere;text-underline-offset:3px}.privacy-summary{padding:22px 26px;background:var(--card);border:1px solid var(--line);border-radius:10px}.privacy-summary ul{padding-left:20px;margin:0}.policy-nav{display:flex;flex-wrap:wrap;gap:4px 20px;border-block:1px solid var(--line);padding:8px 0}.policy-nav a{min-height:44px;display:inline-flex;align-items:center;font-size:13px}.privacy-objection{border-left:3px solid var(--gold);padding:8px 0 8px 16px}.policy-return{margin-top:32px;padding-top:20px;border-top:1px solid var(--line)}.privacy-page :focus-visible{outline:3px solid var(--gold);outline-offset:4px}
@media(max-width:600px){.privacy-summary{padding:18px}.privacy-page h2{font-size:25px}.site-footer #privacy-link{font-size:11px}}

.auth-privacy{font-size:12px;line-height:1.6;color:var(--muted);margin:16px 0 0}.auth-privacy a,.report-context a{color:var(--ink);text-underline-offset:3px}

.share-link-field{display:block;width:100%;min-height:48px;margin-top:8px;padding:12px 14px;border:1px solid var(--line);border-radius:7px;background:#f5f1e7;color:var(--ink);font-size:16px}

.auth-assistance{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 20px}
#auth-sign-in .auth-assistance .action-link{font-size:12px;align-self:auto}


/* expedition-design.css */
/* First visual pass: an expedition map beside a page from the field journal. */
:root {
  --paper: #f4f0e5;
  --card: #fcf9f1;
  --line: #d8d5c5;
  --map-ink: #203c34;
  --map-gold: #e5c98c;
}

html { scrollbar-gutter: stable; }

body {
  background-image: radial-gradient(ellipse 1000px 600px at 15% 0, #fffaf42a, transparent 100%);
}
.site-header { padding-block: 18px; gap: 18px; }
.brand { font-size: 40px; }
.site-header nav { gap: 8px; }
.site-header .nav-button { border-radius: 8px; padding-inline: 14px; }
.site-header .nav-button[data-view].active {
  background: #e4e8dc;
  box-shadow: inset 0 -2px #849780;
}
.site-header .guide-button { background: #eee0ba; border-color: #d4bd89; }
.site-header .updates-button { background: #e3eded; border-color: #b4c8c8; }
.site-header .account-nav { background: #ffffff55; }
main { padding-top: 28px; }

.page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 24px;
  margin-bottom: 26px;
  min-height: 136px;
}
.page-heading h1 {
  font-size: clamp(36px, 3.8vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.page-heading .eyebrow { margin-bottom: 14px; letter-spacing: 1.5px; }
.page-heading .intro { max-width: 570px; font-size: 14px; line-height: 1.7; }
.expedition-heading .expedition-setup { width: 100%; gap: 10px; }
.expedition-heading .mode-switch { border-radius: 10px; background: #e9e9de; }
.expedition-heading .mode-switch button { border-radius: 7px; padding: 10px 12px; }
.expedition-heading .roster-switch button { min-height: 60px; }
.expedition-heading .roster-switch strong { font-size: 14px; }
.expedition-heading .roster-switch span { font-size: 11px; }
.expedition-heading .mode-switch .selected { box-shadow: 0 2px 4px #203c3415; }

.game-grid { gap: 24px; }
.game-grid > .tree-panel {
  border: 1px solid #28483e;
  border-radius: 14px;
  background: var(--map-ink);
  box-shadow: 0 5px 18px #203c340b;
}
.game-grid .tree-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 20px 22px;
  border-bottom: 1px solid #e6dfc41c;
}
.game-grid .map-heading { flex: 1 1 210px; }
.game-grid .tree-top .eyebrow { color: #b6c8b9; letter-spacing: 1.5px; margin-bottom: 4px; }
.game-grid .tree-top strong { color: #f4edde; line-height: 1.5; }
.game-grid .tree-tools { flex: 0 1 auto; flex-wrap: wrap; padding: 0; border: 0; gap: 8px; }
.game-grid .tree-tools button {
  border-radius: 7px;
  border-color: #b8c9b640;
  background: #ffffff04;
  color: #e8ebde;
  padding-inline: 12px;
}
.game-grid .tree-tools button:hover { background: #ffffff0d; border-color: #e5c98c80; }
.game-grid .tree-tools button[aria-pressed=true] { color: #f2dbab; background: #e5c98c15; }
.game-grid .zoom-controls { margin-left: 4px; gap: 6px; }
.game-grid .zoom-controls button { padding: 6px; }
.game-grid .tree-scroll {
  padding-block: 26px 32px;
  background-color: #203c34;
  background-image: radial-gradient(#e4e9d510 .7px, transparent .7px),
    radial-gradient(ellipse at 50% 35%, #49614a25, transparent 75%);
  background-size: 24px 24px, 100% 100%;
  scrollbar-color: #8da18b #203c34;
}
.game-grid .tree-edge.confirmed-edge { stroke: var(--map-gold); stroke-width: 2.3; }
.game-grid .tree-node .tree-label { fill: #29483c; stroke: #739080; }
.game-grid .tree-node.confirmed-branch .tree-label { fill: #3a5140; stroke: #cfb474; }
.game-grid .tree-node.previous-guess .tree-label { fill: #2b483e; stroke: #b0c5b4; stroke-width: 1.8; }
.game-grid .tree-node.mystery-node .tree-label { fill: #314c3e; stroke: var(--map-gold); }
.game-grid .tree-node.answer-node .tree-label { fill: #ead7a4; stroke: #f4e8c7; stroke-width: 2; }
.game-grid .tree-node[aria-pressed=true] .tree-label,
.game-grid .tree-node:hover .tree-label,
.game-grid .tree-node:focus-visible .tree-label { stroke: #fff1c9; stroke-width: 2.5; }

.game-grid .tree-panel > .guess-panel {
  margin-top: 0;
  padding: 22px;
  border-top: 1px solid #e6dfc42c;
  border-radius: 0 0 13px 13px;
  background: #2a473d;
}
.game-grid .guess-label { align-items: center; margin-bottom: 12px; gap: 8px 14px; }
.game-grid .guess-label label { font-size: 10px; letter-spacing: 1.3px; color: #e6ecdd; }
.game-grid .guess-label > span { font-size: 11px; color: #c2d0be; }
.game-grid .guess-form { gap: 10px; }
.game-grid .guess-form input {
  min-height: 52px;
  border-color: #e6ddc5;
  border-radius: 8px;
  background: #fcf9f0;
  padding: 14px 16px;
  box-shadow: inset 0 1px 2px #203c3408;
}
.game-grid .guess-form input::placeholder { color: #727b6f; opacity: 1; }
.game-grid .guess-form .primary-button,
.game-grid .guess-form .secondary-button { min-height: 52px; border-radius: 8px; }
.game-grid .guess-form .primary-button { background: #e5c98c; border-color: #e5c98c; font-weight: 600; }
.game-grid .guess-form .primary-button:hover { background: #f0dba9; }
.game-grid .guess-form .secondary-button { color: #ede8d6; border-color: #b9cbb34f; }
.game-grid .suggestions { border-radius: 9px; box-shadow: 0 10px 26px #0d292c30; }
.game-grid .compact-clues { margin-top: 22px; }
.game-grid .support-heading { color: #c9d5c1; font-size: 11px; margin-bottom: 10px; }
.game-grid .support-heading > span:first-child { letter-spacing: .3px; }
.game-grid .compact-clues .small-count { padding: 2px 8px; border-color: #ffffff20; font-size: 10px; }
.game-grid .clue-grid { gap: 10px; }
.game-grid .compact-clues .clue-row {
  grid-template-columns: minmax(0, 1fr) 40px;
  grid-template-rows: 34px 64px;
  align-content: center;
  gap: 6px 10px;
  padding: 12px;
  border-radius: 9px;
  border-color: #b9cbb333;
  background: #ffffff04;
  min-height: 130px;
}
.game-grid .compact-clues .clue-text { flex-direction: column; align-items: flex-start; gap: 1px; }
.game-grid .compact-clues .clue-text strong { font-size: 12px; color: #f0e6c9; line-height: 1.4; }
.game-grid .compact-clues .clue-text > span { font-size: 10px; color: #c1d0bb; margin: 0; }
.game-grid .compact-clues .clue-mark { align-self: start; gap: 6px; padding-top: 2px; }
.game-grid .clue-mark svg { width: 34px; height: 34px; }
.game-grid .compact-clues .clue-slot { min-height: 0; height: 64px; align-items: center; }
.game-grid .compact-clues .clue-value { font: 14px/1.45 var(--serif); color: #f6e8c6; }
.game-grid .compact-clues .clue-obscured { gap: 8px; }
.game-grid .compact-clues .clue-obscured i { height: 4px; border-radius: 1px; background: #c7d4c528; }
.game-grid .compact-clues .clue-action:hover:not(:disabled) { background: #ffffff0a; border-color: #e5c98c99; }
.game-grid .compact-clues .clue-action.revealed:disabled { background: #e5c98c0a; border-color: #e5c98c70; }
.game-grid .guess-panel .expedition-actions { margin-top: 16px; gap: 12px; }
.game-grid .guess-panel .expedition-actions button { padding: 10px 14px; border-radius: 7px; }

.game-grid .field-note-panel {
  position: relative;
  padding: 24px;
  border-radius: 12px;
  border-color: #d8d2bd;
  background: linear-gradient(90deg, #d6c9a312, transparent 20px), var(--card);
  box-shadow: 0 3px 12px #57472506;
}
.game-grid .field-note-heading { container-type: inline-size; min-width: 0; padding-bottom: 15px; margin-bottom: 18px; border-bottom: 1px solid #ded5bc; }
.game-grid .field-note-heading .eyebrow { font-size: 9px; color: #7c775d; letter-spacing: 1.5px; margin-bottom: 8px; }
.game-grid .field-note-heading h2 { font-size: 30px; font-size: min(30px, calc(100cqi / var(--title-scale, 10))); white-space: nowrap; overflow-wrap: normal; line-height: 1.2; letter-spacing: -.6px; margin: 0; }
.game-grid .reference-pictures figure { border-radius: 8px; border-color: #d8d2bd; background: #f5f1e6; }
.game-grid .reference-pictures img { background: #eeeee4; }
.game-grid .reference-pictures figcaption { padding: 10px 12px; background: #f5f1e6; }
.game-grid .field-description { font-size: 14px; line-height: 1.8; margin: 18px 0 8px; color: #42584a; }
.game-grid .field-note-panel .profile-facts { border-radius: 6px; background: #ebece0; margin-block: 20px; }
.game-grid .branch-references { margin-top: 20px; }
.game-grid .branch-references summary { color: #66705e; font-size: 12px; }
.game-grid .field-note-panel > .action-link { color: #65724e; }

.game-grid .result-panel { border-radius: 10px; background: #f5f0e0; border-color: #d6c799; }
.game-grid .result-panel.lost { background: #efeade; border-color: #d0c4ac; }
.game-grid .result-story h2 { font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -.7px; overflow-wrap: anywhere; }
.game-grid .result-story .eyebrow { line-height: 1.6; color: #77724f; font-size: 9px; }
.game-grid .result-counts { gap: 12px 18px; padding-block: 12px; border-block: 1px solid #d8d2bd; width: 100%; }
.game-grid .result-counts strong { font: 25px/1 var(--serif); margin-right: 3px; }
.game-grid .discovery-portrait .daily-stamp { border-width: 2px; outline-offset: -6px; padding: 18px 20px; background: #fcf4e2f2; }
.game-grid .discovery-portrait .daily-stamp > span { font-size: 10px; }
.game-grid .discovery-portrait .daily-stamp > time { font-size: 16px; }

@media (max-width: 1100px) {
  .page-heading { grid-template-columns: minmax(0, 1fr) 300px; }
  .site-header { gap: 12px; }
  .site-header .nav-button { padding-inline: 11px; }
}
@media (max-width: 960px) {
  .page-heading { grid-template-columns: 1fr; gap: 20px; min-height: 0; }
  .expedition-heading .expedition-setup { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); max-width: none; gap: 12px; }
  .expedition-heading .expedition-mode-switch { align-self: stretch; }
  .game-grid .tree-top { padding: 18px 20px; }
  .game-grid .field-note-panel { width: 100%; }
  .game-grid .field-note-panel .reference-pictures,
  .game-grid .field-note-panel .media-loading { width: 40%; float: right; margin: 0 0 16px 24px; }
}
@media (max-width: 640px) {
  .site-header { padding: 16px 20px; gap: 10px; }
  .site-header .brand { font-size: 36px; }
  .site-header nav { gap: 8px; margin-top: 4px; }
  .site-header .nav-button { padding: 10px 8px; font-size: 12px; }
  .site-header .account-nav { padding-inline: 14px; }
  main { padding: 24px 20px; }
  .page-heading { gap: 18px; margin-bottom: 20px; }
  .page-heading h1 { font-size: 36px; letter-spacing: -1px; }
  .page-heading .eyebrow { font-size: 10px; line-height: 1.7; margin-bottom: 10px; }
  .page-heading .intro { font-size: 13px; min-height: 3.4em; }
  .expedition-heading .expedition-setup { display: flex; gap: 8px; }
  .expedition-heading .roster-switch button { min-height: 58px; }
  .expedition-heading .mode-switch button { padding: 9px 10px; }
  .game-grid { gap: 20px; }
  .game-grid .tree-top { padding: 16px; gap: 12px; }
  .game-grid .map-heading { flex-basis: 100%; }
  .game-grid .tree-tools { width: 100%; gap: 6px; }
  .game-grid .tree-tools button { padding-inline: 9px; }
  .game-grid .zoom-controls { margin-left: auto; gap: 6px; }
  .game-grid .tree-scroll { padding-block: 20px 26px; }
  .game-grid .tree-panel > .guess-panel { padding: 20px 16px; }
  .game-grid .guess-label { margin-bottom: 12px; }
  .game-grid .guess-label > span { font-size: 10px; }
  .game-grid .guess-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .game-grid .guess-form .search-wrap { grid-column: 1 / -1; }
  .game-grid .guess-form .primary-button,
  .game-grid .guess-form .secondary-button { width: 100%; min-height: 48px; }
  .game-grid .clue-grid { grid-template-columns: 1fr; gap: 8px; }
  .game-grid .compact-clues .clue-row {
    grid-template-columns: minmax(90px, .8fr) minmax(0, 1fr) 40px;
    grid-template-rows: 72px;
    gap: 8px;
    padding: 10px 12px;
    min-height: 94px;
  }
  .game-grid .compact-clues .clue-text { grid-column: 1; grid-row: 1; }
  .game-grid .compact-clues .clue-slot { grid-column: 2; grid-row: 1; height: 72px; }
  .game-grid .compact-clues .clue-mark { grid-column: 3; grid-row: 1; align-self: center; }
  .game-grid .compact-clues .clue-value { font-size: 14px; }
  .game-grid .guess-panel .expedition-actions { gap: 12px; }
  .game-grid .guess-panel .expedition-actions button { padding-inline: 12px; }
  .game-grid .field-note-panel { padding: 20px; }
  .game-grid .field-note-panel .reference-pictures,
  .game-grid .field-note-panel .media-loading { float: none; width: 100%; margin: 0 0 16px; }
  .game-grid .result-panel { display: flex; flex-direction: column; gap: 22px; padding: 20px; margin: 14px; }
  .game-grid .result-story { width: 100%; }
  .game-grid .result-story .result-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 12px; }
  .game-grid .result-actions .primary-button { grid-column: 1 / -1; }
  .game-grid .result-story .result-actions .action-link { text-align: center; }
  .site-footer { margin-inline: 20px; }
}
@media (max-width: 360px) {
  .site-header { padding-inline: 16px; }
  main { padding-inline: 16px; }
  .game-grid .tree-top { padding-inline: 12px; }
  .game-grid .tree-panel > .guess-panel { padding-inline: 12px; }
  .game-grid .tree-tools button { padding-inline: 7px; }
  .game-grid .compact-clues .clue-row { padding-inline: 10px; grid-template-columns: 86px minmax(0, 1fr) 36px; }
}

/* Reserve the same title space when the longer headline wraps on narrow phones. */
@media (max-width: 380px) {
  .page-heading h1 { min-height: 2.24em; }
}

/* Journal catalogue: search first, with research tools available on demand. */
.journal-filters.filters { display: block; padding: 22px; border-radius: 12px; background: var(--card); margin: 0 0 14px; }
.journal-search-row { display: flex; align-items: flex-end; gap: 20px; }
.journal-search { flex: 1; min-width: 0; }
.journal-filters .filter-field { min-width: 0; }
.journal-filters .filter-field label { font-size: 11px; letter-spacing: .2px; }
.journal-filters .filter-field input,
.journal-filters .filter-field select { background: #f5f2e8; min-height: 48px; }
.journal-filters .journal-search input { background: #fffdf7; font-size: 16px; padding: 12px 14px; }
.journal-filters .catalogue-filter { display: flex; flex-shrink: 0; align-items: stretch; gap: 4px; border: 1px solid var(--line); border-radius: 8px; background: #edece0; padding: 3px; }
.journal-filters .catalogue-filter button { min-height: 40px; padding: 8px 14px; font-size: 12px; border-radius: 5px; white-space: nowrap; }
.journal-filters .catalogue-filter button[aria-pressed=true] { background: #fffdf7; color: var(--ink); box-shadow: 0 1px 3px #203c3412; }
#journal-detailed-filters { margin-top: 12px; }
#journal-detailed-filters > summary { min-height: 44px; width: fit-content; display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; color: #50654f; font-size: 12px; padding: 8px 0; }
#journal-detailed-filters > summary::-webkit-details-marker { display: none; }
#journal-detailed-filters > summary::before { content: '+'; font-size: 18px; width: 16px; text-align: center; }
#journal-detailed-filters[open] > summary::before { content: '−'; }
#journal-detailed-filters > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 3px; }
.journal-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.journal-filter-grid .filter-field:first-child { grid-column: auto; }
.journal-filter-grid .locality-filter { grid-column: auto; border: 0; padding: 0; margin: 0; }
.journal-filter-grid #locality-help { font-size: 11px; line-height: 1.5; color: var(--muted); margin: 6px 0 0; }
.journal-toolbar { margin-bottom: 20px; gap: 8px 20px; }
.journal-toolbar .journal-toolbar-actions { display: flex; align-items: center; gap: 20px; margin: 0; }
.journal-toolbar-actions button { text-decoration: none; font-size: 12px; }
.journal-toolbar-actions button:hover { text-decoration: underline; }
.journal-cards { gap: 18px; }
.specimen-card { background: linear-gradient(135deg, #d8cba20b, transparent 70%), var(--card); box-shadow: 0 2px 6px #57472505; }
.specimen-card .specimen-top { width: 100%; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid #d8d2bd80; }
.specimen-card .specimen-code { font-size: 9px; letter-spacing: 1.1px; }
.specimen-card .specimen-facts span { border: 0; background: #eeede1; padding: 4px 7px; }
.specimen-card:hover { transform: translateY(-2px); box-shadow: 0 5px 14px #203c3410; }

/* Natural proportions keep complete reconstructions visible without tall bands.
   Result portraits retain their fixed frame and overlaid Daily stamp. */
.game-grid .field-note-panel .reference-pictures img { height: auto; max-height: 360px; object-fit: contain; }
.journal-entry .reference-pictures img { height: auto; max-height: 460px; object-fit: contain; }
.journal-entry .reference-pictures figure { background: #f5f1e6; border-color: #d8d2bd; }
.journal-entry .reference-pictures figcaption { padding: 12px 14px; }
@media (max-width: 640px) {
  .journal-filters.filters { padding: 16px; }
  .journal-search-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .journal-filters .catalogue-filter button { flex: 1; padding-inline: 8px; }
  .journal-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .journal-filters .filter-field input,
  .journal-filters .filter-field select { font-size: 16px; }
  .journal-toolbar { display: flex; align-items: center; }
  .journal-toolbar .journal-toolbar-actions { gap: 16px; }
  .journal-cards { gap: 14px; }
  .journal-entry .reference-pictures img { max-height: 360px; }
}
@media (max-width: 380px) {
  .journal-filter-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .specimen-card { transition: none; }
  .specimen-card:hover { transform: none; }
}

/* Navigation distinguishes page choices from help and account utilities. */
.header-utilities { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.site-header .primary-navigation { display: flex; align-items: stretch; gap: 4px; }
.site-header .primary-navigation .nav-button { min-width: 96px; }
.site-header .header-utilities .nav-button { font-size: 12px; }

/* Each desktop column follows its own content height. Changing notes must not
   move the guessing form or become the document's scroll anchor. */
.game-grid { align-items: start; }
.game-grid > .tree-panel,
.game-grid > .sidebar { align-self: start; }
.game-grid > .tree-panel > .tree-scroll { flex: none; }
.game-grid > .tree-panel > .guess-panel { margin-top: 0; }
.game-grid .field-note-panel { overflow-anchor: none; }

/* Zoom is one control; group detail and the mobile notes link are secondary. */
.game-grid .tree-tools { gap: 12px; }
.game-grid .zoom-controls { display: flex; gap: 0; margin: 0; border: 1px solid #b8c9b640; border-radius: 7px; }
.game-grid .zoom-controls button { min-width: 44px; width: 44px; min-height: 44px; padding: 6px; border: 0; border-radius: 0; }
.game-grid .zoom-controls button + button { border-left: 1px solid #b8c9b640; }
.game-grid .zoom-controls button:first-child { border-radius: 6px 0 0 6px; }
.game-grid .zoom-controls button:last-child { border-radius: 0 6px 6px 0; }
.game-grid .zoom-controls #tree-fit { font-size: 12px; }
.game-grid .zoom-controls button:focus-visible { outline-offset: -4px; }
.game-grid #tree-full { border-color: transparent; background: transparent; padding-inline: 8px; }
.game-grid #tree-full[aria-pressed=true] { background: #e5c98c15; }
.game-grid #tree-notes { display: none; }

/* The primary guess action leads; research remains a separate-tab link. */
.game-grid .guess-form > .guess-journal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 4px 8px;
  align-self: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #e4dfcd;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.game-grid .guess-form > .guess-journal-link:hover { color: #f2dbab; background: transparent; }

@media (max-width: 1100px) and (min-width: 821px) {
  .site-header { gap: 12px; }
  .site-header .header-utilities { gap: 6px; }
  .site-header .header-utilities .nav-button { padding-inline: 10px; }
}
@media (max-width: 960px) {
  .game-grid .tree-tools { flex-wrap: wrap; }
  .game-grid #tree-notes { display: inline-flex; align-items: center; border: 0; background: transparent; padding-inline: 4px; text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 820px) {
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'brand account' 'navigation utilities'; gap: 10px 16px; }
  .site-header .brand { grid-area: brand; width: fit-content; }
  .site-header .brand-sub { display: none; }
  .site-header .account-nav { grid-area: account; margin: 0; }
  .site-header .primary-navigation { grid-area: navigation; margin: 0; width: auto; }
  .site-header .header-utilities { grid-area: utilities; justify-content: flex-end; }
}
@media (max-width: 640px) {
  .site-header { grid-template-areas: 'brand account' 'navigation navigation' 'utilities utilities'; gap: 8px 16px; }
  .site-header .primary-navigation { display: flex; gap: 6px; }
  .site-header .primary-navigation .nav-button { flex: 1; min-width: 0; min-height: 48px; font-size: 13px; }
  .site-header .header-utilities { justify-content: center; gap: 24px; }
  .site-header .header-utilities .nav-button { background: transparent; border-color: transparent; min-height: 44px; padding: 4px; font-size: 12px; }
  .site-header .header-utilities .nav-button:hover { text-decoration: underline; text-underline-offset: 4px; }
  .game-grid .tree-tools { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 10px; align-items: center; }
  .game-grid .zoom-controls { grid-column: 1; grid-row: 1; }
  .game-grid #tree-full { grid-column: 2; grid-row: 1; justify-self: end; padding-inline: 4px; }
  .game-grid #tree-notes { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .game-grid .guess-form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .game-grid .guess-form .search-wrap,
  .game-grid .guess-form > .primary-button,
  .game-grid .guess-form > .guess-journal-link { grid-column: 1; width: 100%; }
  .game-grid .guess-form > .guess-journal-link { padding-block: 6px; }
  .game-grid .guess-panel .expedition-actions { justify-content: space-between; gap: 12px; }
  .game-grid .guess-panel .expedition-actions #give-up:only-child { margin-left: auto; }
}

/* Narrow phones use readable journal entries instead of two cramped cards. */
@media (max-width: 480px) {
  .journal-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .journal-cards .specimen-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 12px; min-height: 0; padding: 16px; }
  .journal-cards .specimen-card.explorer,
  .journal-cards .specimen-card.sample,
  .journal-cards .specimen-card.expert { padding: 15px; }
  .journal-cards .specimen-top { display: none; }
  .journal-cards .specimen-card h3 { grid-column: 1 / -1; grid-row: 1; font-size: 21px; margin: 0; }
  .journal-cards .specimen-group { grid-column: 1 / -1; grid-row: 2; font-size: 12px; }
  .journal-cards .specimen-facts { grid-column: 1 / -1; grid-row: 3; margin: 0; font-size: 11px; }
  .journal-cards .discovery-label { grid-column: 1; grid-row: 4; margin: 0; padding-top: 8px; font-size: 12px; }
  .journal-cards .daily-stamp { grid-column: 2; grid-row: 4; align-self: center; margin: 4px 0 0; }
  .journal-cards .specimen-card:not(:has(.daily-stamp)) .discovery-label { grid-column: 1 / -1; }
  .journal-cards .locality-qualifier { grid-column: 1 / -1; grid-row: 5; margin: 4px 0 0; }
}

/* Keep the page canvas continuous on tall displays. */
html { background-color: var(--paper); }
body { min-height: 100vh; background-repeat: no-repeat; }
.site-header { border-radius: 0 0 18px 18px; }

/* Keep recorded entries distinct without changing their content alignment. */
.journal-cards .specimen-card.daily-record,
.journal-cards .specimen-card.practice-record { border-width: 3px; padding: 18px; }
.journal-cards .specimen-card.practice-record { border-style: dashed; }
.journal-cards .specimen-card.daily-record { border-style: solid; }
.game-grid .compact-clues .clue-text strong { font-size: 15px; }
.game-grid .compact-clues .clue-text > span { font-size: 12px; }
.game-grid .compact-clues .clue-value { font-size: 19px; line-height: 1.4; }
.game-grid .compact-clues .clue-row { grid-template-rows: minmax(42px, auto) minmax(64px, auto); }
.game-grid .compact-clues .clue-slot { height: auto; min-height: 64px; }
@media (max-width: 800px) {
  .journal-cards .specimen-card.daily-record,
  .journal-cards .specimen-card.practice-record { padding: 14px; }
}
@media (max-width: 640px) {
  .game-grid .compact-clues .clue-row { grid-template-rows: auto; }
}

/* A single score line balances a larger Daily stamp on the right. */
.journal-cards .card-discovery { width: 100%; margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 8px; }
.journal-cards .card-discovery .discovery-label { margin: 0; padding: 0; }
.journal-cards .card-discovery .discovery-label > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.journal-cards .card-discovery .discovery-label i { white-space: nowrap; }
.journal-cards .card-discovery .daily-stamp { margin: 0 0 0 auto; padding: 11px 12px; align-self: center; }
.journal-cards .card-discovery .daily-stamp > span { font-size: 10px; }
.journal-cards .card-discovery .daily-stamp > time { font-size: 11px; }
@media (max-width: 480px) {
  .journal-cards .card-discovery { grid-column: 1 / -1; grid-row: 4; padding-top: 8px; }
}

.site-footer { width: calc(100% - 72px); margin: 24px auto; padding: 18px 24px; border-radius: 18px; }
.site-footer a, .site-footer button { min-height: 44px; display: inline-flex; align-items: center; border-radius: 4px; }
.game-grid .result-discovery-info { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 22px; border-top: 1px solid var(--sand-rule); }
.game-grid .result-discovery-info .profile-facts { margin: 0; padding: 18px; }
.game-grid .result-discovery-info .field-description { font-size: 15px; line-height: 1.7; margin: 0 0 12px; }
.game-grid .result-discovery-info .media-loading { display: none; }
@media (max-width: 640px) {
  .site-footer { width: calc(100% - 40px); padding: 16px 20px; border-radius: 14px; }
  .game-grid .result-discovery-info { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* Picture, image credit and description share one journal page. */
.journal-entry > .journal-media { padding: 20px; border: 1px solid var(--sand-rule); border-radius: 10px; column-gap: 24px; }
.journal-entry .reference-pictures figure { border: 0; }
.journal-entry .reference-pictures figcaption { padding-inline: 0; }
@media (max-width: 640px) {
  .journal-entry > .journal-media { padding: 16px; }
}

@media (min-width: 961px) {
  .journal-heading { align-items: start; }
  .journal-heading .journal-heading-actions { align-self: stretch; align-items: center; justify-content: center; }
  .journal-heading .journal-summary { gap: 32px; text-align: center; }
  .journal-heading .journal-summary strong { font-size: 32px; line-height: 1.1; margin-bottom: 6px; white-space: nowrap; }
  .journal-heading .journal-summary span { display: block; font-size: 13px; line-height: 1.4; }
}

.journal-heading .journal-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; text-align: center; }
.journal-summary .roster-progress { border-top: 3px solid var(--blue); padding-top: 10px; }
.journal-summary .roster-progress.expert { border-color: var(--gold); }
.journal-summary .roster-progress-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.journal-heading .journal-summary .roster-progress-daily { font-size: 11px; }
.journal-heading .journal-summary strong small { font: 400 18px/1.2 var(--serif); color: var(--muted); }
@media (max-width: 640px) {
  .journal-heading .journal-heading-actions { width: 100%; justify-content: flex-start; }
  .journal-heading .journal-summary { width: 100%; gap: 20px; }
  .journal-heading .journal-summary strong { font-size: 26px; white-space: nowrap; }
}

.game-grid .result-panel #share-result { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.game-grid .result-panel #share-result svg { flex: 0 0 18px; }
@media (max-width: 640px) {
  .site-header .header-utilities .nav-button { padding-inline: 10px; }
}


/* sandstone-colours.css */
/* Sandstone & ink: shared palette and lightweight surface treatments. */
:root {
  --paper: #bdb198;
  --card: #d8c9a9;
  --line: #887c63;
  --ink: #26312e;
  --muted: #343a31;
  --gold: #795620;
  --gold-light: #cbbb94;
  --blue: #365e67;
  --map-ink: #26312e;
  --map-gold: #d8b66b;
  --sand-search: #e3d5b9;
  --sand-input: #e3d5b9;
  --sand-record: #e3d4b4;
  --sand-unrecorded: #e3d4b4;
  --sand-rule: #a79777;
  --rust: #8a482a;
  --stamp-ink: #4b3021;
  --stamp-fill: #263f34;
  --stamp-lettering: #f5edda;
  --on-rust: #f0e5cc;
  --on-ink: #e7dabe;
  --muted-on-ink: #c9bda4;
}
body { background-color: var(--paper); color: var(--ink); }
.toast { background-color: var(--rust); color: var(--on-rust); border: 1px solid var(--map-gold); box-shadow: 0 5px 20px #26312e40; }
.site-header { background-color: var(--ink); border-color: #586052; color: var(--on-ink); }
.site-header .brand { color: var(--on-ink); }
.site-header .brand svg.brand-mark { width:158px; height:35px; display:block; flex-shrink:0; }
@media(max-width:640px){.site-header .brand svg.brand-mark{width:135px;height:30px}}
@media(max-width:380px){.site-header .brand svg.brand-mark{width:126px;height:28px;display:block}}
.site-header .brand-dot,
.site-header .brand svg circle { color: var(--map-gold); fill: var(--map-gold); }
.site-header .brand-sub { color: var(--muted-on-ink); border-color: #66705e; }
.site-header .nav-button { color: var(--muted-on-ink); }
.site-header .nav-button.active,
.site-header .nav-button[data-view].active { color: var(--on-ink); background-color: #3b4540; box-shadow: inset 0 -2px var(--map-gold); }
.site-header .guide-button { background-color: #cbbb94; border-color: #b3a37c; color: var(--ink); }
.site-header .updates-button { background-color: #b5c2bf; border-color: #91a5a0; color: var(--ink); }
.site-header .guide-button:hover { background-color: #d8c9a9; }
.site-header .updates-button:hover { background-color: #cad3cb; }
.site-header .account-nav { background-color: #3b4540; border-color: #737969; color: var(--on-ink); }
.primary-button { background-color: var(--rust); border-color: var(--rust); color: var(--on-rust); }
.primary-button:hover { background-color: #743d25; border-color: #743d25; }
.secondary-button { background-color: var(--card); border-color: var(--sand-rule); color: var(--ink); }
.secondary-button:hover { background-color: var(--sand-record); }
.expedition-heading .mode-switch,
.mode-switch { background-color: var(--sand-search); border-color: var(--line); }
.mode-switch .selected { background-color: var(--rust); color: var(--on-rust); }
.journal-filters.filters { background-color: var(--sand-search); border-color: var(--line); }
.journal-filters .filter-field input,
.journal-filters .filter-field select,
.journal-filters .journal-search input { background-color: var(--sand-input); border-color: var(--sand-rule); color: var(--ink); }
.journal-filters .catalogue-filter { background-color: var(--sand-input); border-color: var(--sand-rule); }
.journal-filters .catalogue-filter button[aria-pressed=true] { background-color: var(--rust); color: var(--on-rust); }
#journal-detailed-filters > summary { color: var(--ink); }
.specimen-card { background-color: var(--sand-unrecorded); border-color: #81785f; }
.specimen-card.explorer,
.specimen-card.sample,
.specimen-card.expert { background-color: var(--sand-record); }
.specimen-card .specimen-top { border-color: var(--sand-rule); }
.specimen-card .specimen-facts span { background-color: #b8ac8e; color: var(--ink); }
.profile-facts,
.game-grid .field-note-panel .profile-facts { background-color: #c5b89b; }
.game-grid > .tree-panel { background-color: var(--map-ink); border-color: #465044; color: var(--on-ink); }
.game-grid .tree-scroll { background-color: var(--map-ink); scrollbar-color: #92957d var(--map-ink); }
.game-grid .tree-top { border-color: #b8aa872e; }
.game-grid .tree-top .eyebrow,
.game-grid .guess-label > span,
.game-grid .support-heading { color: var(--muted-on-ink); }
.game-grid .tree-top strong,
.game-grid .guess-label label,
.game-grid .tree-tools button { color: var(--on-ink); }
.game-grid .zoom-controls,
.game-grid .zoom-controls button + button { border-color: #b8aa8755; }
.game-grid .tree-edge:not(.confirmed-edge) { stroke: #939580; }
.game-grid .tree-node .tree-label { fill: #344039; stroke: #919783; }
.game-grid .tree-node.confirmed-branch .tree-label { fill: #424838; stroke: var(--map-gold); }
.game-grid .tree-node.previous-guess .tree-label { fill: #303b35; stroke: #9fb4b3; }
.game-grid .tree-node.mystery-node .tree-label { fill: #384238; stroke: var(--map-gold); }
.game-grid .tree-node.answer-node .tree-label { fill: #e3c78e; stroke: var(--on-rust); }
.game-grid .tree-node:not(.answer-node) text { fill: var(--on-ink); }
.game-grid .tree-node.previous-guess circle { fill: #9fb4b3; }
.game-grid .tree-node.previous-guess circle + text { fill: var(--ink); }
.game-grid .tree-node.answer-node text { fill: var(--ink); }
.game-grid .tree-node.answer-node circle { fill: var(--ink); }
.game-grid .tree-node.answer-node circle + text { fill: var(--on-ink); }
.game-grid .tree-panel > .guess-panel { background-color: #303b34; border-color: #b8aa8740; }
.game-grid .guess-form input { background-color: var(--sand-input); border-color: var(--sand-rule); color: var(--ink); }
.game-grid .guess-form input::placeholder,
.journal-filters input::placeholder { color: var(--muted); }
.game-grid .guess-form .primary-button { background-color: var(--rust); border-color: var(--rust); color: var(--on-rust); }
.game-grid .guess-form .primary-button:hover { background-color: #743d25; }
.game-grid .guess-form > .guess-journal-link,
.game-grid .guess-panel .expedition-actions button { color: var(--muted-on-ink); }
.game-grid .guess-panel .expedition-actions .new-practice-button { color: var(--on-rust); border-color: var(--map-gold); }
.game-grid .compact-clues .clue-row { background-color: var(--card); border-color: var(--sand-rule); color: var(--ink); }
.game-grid .compact-clues .clue-text strong,
.game-grid .compact-clues .clue-value { color: var(--ink); }
.game-grid .compact-clues .clue-text > span { color: var(--muted); }
.game-grid .compact-clues .clue-mark { color: var(--stamp-ink); }
.game-grid .compact-clues .clue-obscured i { background-color: #756b5080; }
.game-grid .compact-clues .clue-action:hover:not(:disabled) { background-color: var(--sand-record); border-color: var(--gold); }
.game-grid .compact-clues .clue-action.revealed:disabled { background-color: var(--sand-record); border-color: var(--gold); }
.game-grid .field-note-panel { background-color: var(--card); border-color: var(--line); }
.game-grid .field-note-heading { border-color: var(--sand-rule); }
.game-grid .field-note-heading .eyebrow,
.game-grid .field-description,
.game-grid .branch-references summary,
.game-grid .field-note-panel > .action-link { color: var(--muted); }
.reference-pictures figure,
.journal-entry .reference-pictures figure,
.game-grid .reference-pictures figure,
.game-grid .reference-pictures figcaption,
.discovery-portrait .reference-pictures figcaption { background-color: var(--sand-input); border-color: var(--sand-rule); color: var(--ink); }
.reference-pictures img,
.game-grid .reference-pictures img,
.discovery-portrait img { background-color: var(--sand-input); }
.game-grid .result-panel { background-color: var(--sand-record); border-color: var(--gold); color: var(--ink); }
.game-grid .result-panel.lost { background-color: var(--card); border-color: var(--sand-rule); }
.game-grid .result-story .eyebrow { color: var(--muted); }
.game-grid .result-counts { border-color: var(--sand-rule); }
.daily-stamp,
.result-panel .daily-stamp,
.entry-heading .daily-stamp,
.discovery-portrait .daily-stamp,
.game-grid .discovery-portrait .daily-stamp {
  color: var(--stamp-lettering);
  background-color: var(--stamp-fill);
  border-color: var(--stamp-lettering);
  outline-color: var(--stamp-lettering);
  box-shadow: 0 2px 5px #26312e30;
}
.modal-content p, .modal-content li { color: var(--muted); }
/* Editable account fields are distinct from the darker paper dialog. */
.auth-form input { background-color: #f5f1e7; border-color: var(--sand-rule); color: var(--ink); }
.auth-confirmation { margin: 24px 0 18px; padding: 24px; background-color: #f5f1e7; border: 1px solid var(--sand-rule); border-left: 5px solid var(--ink); border-radius: 8px; }
.auth-confirmation-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background-color: var(--ink); color: #f5f1e7; font-size: 22px; }
.auth-confirmation .eyebrow { margin: 0 0 8px; color: var(--ink); }
.auth-confirmation h3 { margin: 0 0 14px; color: var(--ink); font: 30px/1.15 var(--serif); }
.auth-confirmation p { line-height: 1.65; }
.auth-confirmation-email { overflow-wrap: anywhere; }
.auth-confirmation .auth-spam-tip { margin-bottom: 0; padding-top: 14px; border-top: 1px solid var(--sand-rule); }
.auth-confirmation .auth-resend { margin-top: 16px; width: 100%; }
.auth-confirmation-help { margin: 16px 0; padding: 18px; background-color: #f5f1e7; border-left: 4px solid var(--rust); border-radius: 5px; }
.auth-confirmation-help[hidden] { display: none; }
.auth-resend:disabled { cursor: wait; opacity: .7; }
#auth-resend-message { font-size: 14px; overflow-wrap: anywhere; }
#auth-resend-message:empty { display: none; }
.auth-confirmation-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.auth-confirmation-actions button { flex: 1 1 180px; }
.field-report { background-color: var(--card); border-color: var(--sand-rule); }
.suggestions button:hover,
.suggestions button.highlight { background-color: var(--sand-search); }
@media (max-width: 640px) {
  .site-header .header-utilities .nav-button { color: var(--muted-on-ink); background-color: transparent; border-color: transparent; }
}

/* Guess feedback is separate from the gold confirmed ancestry. */
.game-grid .tree-node.guess-red .tree-label { fill: #49352f; stroke: #eea294; stroke-width: 2; }
.game-grid .tree-node.guess-yellow .tree-label { fill: #494532; stroke: #e9c66c; stroke-width: 2; }
.game-grid .tree-node.guess-green .tree-label { fill: #34523e; stroke: #a7d9ad; stroke-width: 2; }
.game-grid .tree-node.guess-red circle { fill: #eea294; }
.game-grid .tree-node.guess-yellow circle { fill: #e9c66c; }
.game-grid .tree-node.guess-green circle { fill: #a7d9ad; }
.game-grid .tree-node[class*="guess-"] text { fill: var(--on-ink); }
.game-grid .tree-node[class*="guess-"] circle + text { fill: var(--ink); }
.reference-pictures figcaption { font-size: 11px; line-height: 1.5; }

/* One cached, static tile on the paper surfaces; content remains unobstructed. */
.specimen-card,
.game-grid .field-note-panel {
  background-image: url("textures/paper-grain-v2.png");
  background-size: 192px 192px;
  background-repeat: repeat;
}

/* The journal's search controls sit on a separate green cover. */
.journal-filters.filters { background-color: var(--ink); border-color: #526655; color: var(--on-ink); }
.journal-filters .filter-field label,
.journal-filters #journal-detailed-filters > summary { color: var(--on-ink); }
.journal-filters .filter-field p { color: var(--muted-on-ink); }
.journal-filters .catalogue-filter { background-color: #43594b; border-color: #81907a; }
.journal-filters .catalogue-filter button { color: var(--on-ink); }
.journal-filters .catalogue-filter button[aria-pressed=true] { color: var(--on-rust); }
.journal-filters .journal-filter-grid #locality-help { color: var(--muted-on-ink); }
.journal-filters #journal-detailed-filters > summary:focus-visible,
.journal-filters button:focus-visible { outline-color: var(--map-gold); }

/* Use the navigation ink consistently for information panels. */
.profile-facts,
.game-grid .field-note-panel .profile-facts { background-color: var(--ink); color: var(--on-ink); }
.profile-facts dt { color: var(--muted-on-ink); }
.profile-facts dd { color: var(--on-ink); }
.specimen-card.explorer,
.specimen-card.sample { border-color: var(--blue); }
.specimen-card.expert { border-color: var(--gold); }
.site-header .primary-navigation .nav-button:hover,
.site-header .primary-navigation .nav-button:focus-visible,
.site-header .account-nav:hover,
.site-header .account-nav:focus-visible { background-color: #4a574e; color: var(--on-ink); }

/* A readable dark footer frames both the game and the reference pages. */
.site-footer { background-color: var(--ink); border-color: #586052; color: var(--on-ink); }
.site-footer a,
.site-footer button,
.site-footer #notes-link,
.site-footer #report-button,
.site-footer #privacy-link { color: var(--on-ink); font-size: 13px; }
.site-footer .dustlight-footer-link { color: var(--on-ink); font-size: 13px; }
.site-footer .dustlight-footer-link:hover { color: #fff4db; }
.site-footer .dustlight-footer-link:focus-visible { outline-color: var(--map-gold); }
.site-footer a:hover,
.site-footer button:hover { color: #fff4db; background-color: #4a574e; }
.site-footer :focus-visible,
.site-footer #notes-link:focus-visible { outline-color: var(--map-gold); }

/* Wear affects a separate frame, so wording and dates stay crisp. */
@supports (mask-image: url("textures/stamp-wear-v1.png")) or (-webkit-mask-image: url("textures/stamp-wear-v1.png")) {
  .daily-stamp { position: relative; }
  .daily-stamp,
  .result-panel .daily-stamp,
  .entry-heading .daily-stamp,
  .discovery-portrait .daily-stamp,
  .game-grid .discovery-portrait .daily-stamp { border-color: transparent; outline-color: transparent; }
  .daily-stamp::before {
    content: '';
    position: absolute;
    inset: -2px;
    border: 2px solid currentColor;
    border-radius: inherit;
    outline: 1px solid currentColor;
    outline-offset: -6px;
    pointer-events: none;
    -webkit-mask-image: url("textures/stamp-wear-v1.png");
    mask-image: url("textures/stamp-wear-v1.png");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
}
.journal-entry > .journal-media { background-color: var(--sand-input); background-image: url("textures/paper-grain-v2.png"); background-size: 192px 192px; }
.journal-entry .lineage span { background-color: var(--sand-input); border-color: var(--sand-rule); }

.page-heading h1 .title-dot { color: var(--rust); }

/* Paper utilities belong to the same palette; every main tab has a visible face. */
.site-header .guide-button,
.site-header .updates-button,
.site-header .header-utilities .nav-button { background-color: var(--sand-input); border-color: #b3a37c; color: var(--ink); }
.site-header .guide-button:hover,
.site-header .updates-button:hover,
.site-header .header-utilities .nav-button:hover { background-color: #f1e5cc; color: var(--ink); }
.site-header .primary-navigation .nav-button { background-color: #354039; border: 1px solid #929a85; color: var(--on-ink); }
.site-header .primary-navigation .nav-button.active { background-color: #49564c; border-color: var(--map-gold); box-shadow: inset 0 -2px var(--map-gold); }
.site-header .primary-navigation .nav-button:hover,
.site-header .primary-navigation .nav-button:focus-visible { background-color: #536052; color: #fff4db; }
.game-grid .result-panel #share-result { background-color: #f1e5cc; border-color: var(--gold); color: var(--ink); }
.game-grid .result-panel #share-result:hover { background-color: #fff2d9; border-color: var(--rust); }

/* One static matte-ink tile on the larger green surfaces. Background-only:
   lettering, controls and the tree retain their crisp existing appearance. */
.site-header,
.site-footer,
.journal-filters.filters,
.profile-facts,
.game-grid .field-note-panel .profile-facts,
.notes-page .exclusion-search,
.notes-page .notes-more {
  background-image: url("textures/matte-ink-v1.png");
  background-size: 256px 256px;
  background-repeat: repeat;
}

/* Focus follows the surface beneath a control: ink on paper, gold on green. */
:root { --focus-ring: var(--ink); }
.site-header,
.site-footer,
.game-grid > .tree-panel,
.journal-filters.filters,
.profile-facts,
.notes-page .exclusion-search,
.notes-page .notes-more { --focus-ring: var(--map-gold); }
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:not(g):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
.privacy-page :focus-visible { outline-color: var(--focus-ring); }

/* Evidence slips have one clear action in the space reserved for the clue. */
.game-grid .compact-clues .clue-row {
  background-color: var(--sand-input);
  background-image: url("textures/paper-grain-v2.png");
  background-size: 192px 192px;
  grid-template-columns: minmax(0, 1fr) 44px;
  grid-template-rows: minmax(42px, auto) minmax(54px, auto);
  gap: 4px 10px;
  padding: 8px 14px;
  min-height: 120px;
}
.game-grid .compact-clues .clue-text { grid-column: 1; grid-row: 1; }
.game-grid .compact-clues .clue-mark { grid-column: 2; grid-row: 1; opacity: 1; align-self: center; padding: 0; }
.game-grid .compact-clues .clue-mark svg { width: 44px; height: 44px; }
.game-grid .compact-clues .clue-slot {
  grid-column: 1 / -1;
  grid-row: 2;
  border-top: 1px solid var(--sand-rule);
  padding-top: 6px;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}
.game-grid .compact-clues .clue-value { line-height: 1.3; }
.game-grid .compact-clues .clue-prompt { color: var(--ink); font-size: 14px; font-weight: 600; }
.game-grid .compact-clues .clue-prompt > span { margin-left: 4px; color: var(--rust); }
.game-grid .compact-clues .clue-state { color: var(--muted); font-size: 12px; letter-spacing: 0; }
.game-grid .compact-clues .clue-action:focus-visible { outline: 3px solid var(--focus-ring); }
.game-grid .compact-clues .clue-action:hover:not(:disabled) { background-color: #f1e5cc; border-color: var(--rust); }
.game-grid .compact-clues .clue-action.revealed:disabled { background-color: var(--sand-input); border-color: var(--gold); }
.game-grid .support-heading,
.game-grid .guess-label label,
.game-grid .guess-label > span { font-size: 12px; }
.game-grid .compact-clues .small-count { font-size: 12px; }
.game-grid .guess-form > .guess-journal-link,
.game-grid .tree-tools button,
.game-grid .field-note-panel > .action-link { font-size: 13px; }

/* Quiet sequence numbers sit beside genus names, without badge shapes. */
.game-grid .tree-node text.guess-number { fill:var(--muted-on-ink); font-size:12px; font-weight:500; font-variant-numeric:tabular-nums; }

@media (max-width: 640px) {
  .game-grid .compact-clues .clue-row {
    grid-template-columns: minmax(90px, .8fr) minmax(0, 1fr) 44px;
    grid-template-rows: auto;
    min-height: 84px;
    padding: 8px 12px;
    gap: 8px;
  }
  .game-grid .compact-clues .clue-slot { grid-column: 2; grid-row: 1; padding-top: 0; border-top: 0; min-height: 66px; }
  .game-grid .compact-clues .clue-mark { grid-column: 3; grid-row: 1; }
  .game-grid .compact-clues .clue-value { font-size: 17px; }
}
@media (max-width: 420px) {
  .game-grid .compact-clues .clue-row { grid-template-columns: minmax(0, 1fr) 44px; grid-template-rows: minmax(42px, auto) minmax(54px, auto); }
  .game-grid .compact-clues .clue-slot { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--sand-rule); padding-top: 6px; min-height: 54px; }
  .game-grid .compact-clues .clue-mark { grid-column: 2; grid-row: 1; }
}

/* Shared outer edges match the game content instead of its padded wrapper. */
:root { --page-gutter: 36px; }
.site-header,
.site-footer {
  width: min(1248px, calc(100% - 2 * var(--page-gutter)));
  max-width: none;
  margin-inline: auto;
}
.site-header { padding-inline: 22px; }
.account-reset { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--sand-rule); }
.account-reset .action-link { color: var(--ink); font-size: 14px; }
.reset-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
#clear-journal-status { min-height: 1.5em; font-size: 14px; }
@media (max-width: 640px) {
  :root { --page-gutter: 20px; }
  .site-header { padding-inline: 16px; }
  main { padding-inline: var(--page-gutter); }
}
@media (max-width: 360px) {
  :root { --page-gutter: 16px; }
}

/* Equal choices beside search, independent of their label lengths. */
.journal-filters .catalogue-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 0 0 300px;
}
.journal-filters .catalogue-filter button { width: 100%; }
.site-header .nav-button { text-decoration: none; justify-content:center; text-align:center; }
#account-button[data-state=offline] { color: var(--on-ink); }

@media (max-width: 640px) {
  .journal-filters .catalogue-filter { flex: none; width: 100%; }
  .site-header { padding-block: 22px; row-gap: 14px; }
  .site-header .primary-navigation,
  .site-header .header-utilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }
  .site-header .primary-navigation { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .site-header .primary-navigation .nav-button,
  .site-header .header-utilities .nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 8px;
    font-size: 13px;
    border-radius: 8px;
  }
  .site-header .header-utilities .nav-button:hover { text-decoration: none; }
  .game-grid .compact-clues .clue-row {
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-rows: minmax(21px, auto) minmax(46px, auto);
    min-height: 90px;
    padding: 8px 12px;
    gap: 2px 10px;
    align-content: center;
  }
  .game-grid .compact-clues .clue-text {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    align-items: baseline;
    gap: 4px 8px;
    min-height: 0;
  }
  .game-grid .compact-clues .clue-text strong { font-size: 14px; }
  .game-grid .compact-clues .clue-text > span { margin: 0; }
  .game-grid .compact-clues .clue-slot {
    grid-column: 1;
    grid-row: 2;
    min-height: 46px;
    height: auto;
    border-top: 0;
    padding-top: 0;
  }
  .game-grid .compact-clues .clue-value { font-size: 17px; line-height: 1.3; }
  .game-grid .compact-clues .clue-mark {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

/* Distinct dismissal control and an explicit, non-interrupting new-day action. */
dialog .modal-close { background: var(--rust); border: 1px solid var(--rust); color: var(--on-rust); }
dialog .modal-close:hover { background: #743d25; border-color: #743d25; }
.daily-ready { position: sticky; top: 12px; z-index: 5; width: min(1248px, calc(100% - 2 * var(--page-gutter))); margin: 20px auto 0; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; border: 1px solid var(--rust); border-left: 4px solid var(--rust); border-radius: 8px; background: var(--sand-input); }
.daily-ready p { margin: 0; font-weight: 600; }
.daily-ready button { flex-shrink: 0; }
@media (max-width: 640px) { .daily-ready { flex-direction: column; align-items: stretch; } }

/* Compact branch controls retain outcome words without occupying genus labels. */
.game-grid .tree-node.folded-branch .tree-label { fill: #303b35; stroke: #969981; stroke-width: 1; }
.game-grid .tree-node.folded-branch text { fill: var(--on-ink); font-family: var(--sans); }
.game-grid .tree-node.folded-branch .fold-action { fill: var(--muted-on-ink); text-decoration: underline; }
.game-grid .tree-node text { font-family: var(--sans); }
.game-grid .tree-tools #tree-focus { border-color: var(--map-gold); color: var(--on-ink); }

/* Selection must take precedence over every historical guess colour. */
.game-grid .tree-node[aria-pressed=true] .tree-label,
.game-grid .tree-node:focus-visible .tree-label { stroke: #fff; stroke-width: 2.5; }
.game-grid .tree-node:focus-visible { outline: none; }

.branch-review-group { margin-top: 24px; }
.branch-review-group h3 { margin: 0 0 12px; font: 20px/1.3 var(--serif); }
.branch-review-guesses { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 10px; }
.branch-review-guess { display: flex; flex-direction: column; gap: 5px; min-width: 0; min-height: 52px; padding: 12px 14px; text-align: left; border: 1px solid var(--sand-rule); border-left-width: 4px; border-radius: 6px; color: var(--ink); background: var(--sand-input); }
.branch-review-guess strong { font-size: 16px; overflow-wrap: anywhere; }
.branch-review-guess span { font-size: 12px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.branch-review-guess.guess-red { border-left-color: #a84638; }
.branch-review-guess.guess-yellow { border-left-color: #9a7419; }
.branch-review-guess.guess-green { border-left-color: #3d7950; }

/* A single quiet border keeps touch focus clear without framing the map twice. */
@media (max-width: 640px) {
  .game-grid .tree-scroll:focus-visible,
  .game-grid .tree-tools button:focus-visible { outline: 1px solid #fff; outline-offset: -1px; box-shadow: none; }
  .game-grid .tree-node { -webkit-tap-highlight-color: transparent; }
  .game-grid .tree-node:focus { outline: none; }
  .game-grid .tree-node[aria-pressed=true] .tree-label,
  .game-grid .tree-node:focus .tree-label,
  .game-grid .tree-node:focus-visible .tree-label { stroke: #fff; stroke-width: 1; }
}

#auth-username-field:not([hidden]) { display:grid; gap:10px; }
#auth-username-field input { width:100%; }


/* friends-20261015-beta-leaves.css */
/* Friends uses the journal's paper surfaces, with comfortable phone controls. */
/* Pending requests stay visible in shared navigation and the Requests tab. */
.meso-header .primary-navigation [data-view="friends"]{position:relative;}
.friends-request-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-left:6px;padding:0 4px;border:1px solid #e2c58b;border-radius:10px;background:#925737;color:#fff7e5;font:700 11px/1 var(--sans);white-space:nowrap;}
.friends-request-badge[hidden]{display:none;}
.friends-request-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
#friends-content .social-connection-tabs [data-friend-tab="incoming"].has-incoming-requests{border-color:#ba945c;box-shadow:inset 0 0 0 1px #ba945c;}
#friends-content .social-connection-tabs .has-incoming-requests :is(.social-count,.meso-friends-count){display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:20px;padding:1px 5px;border-radius:10px;background:#925737;color:#fff7e5;font-size:12px;font-weight:700;}
#friends-content .social-person-actions .social-request-accept,#friends-content #request-found-friend{background:#4c5841;border:1px solid #a98e55;color:#fff7e5;font-weight:600;}
#friends-content .social-person-actions .social-request-accept:hover,#friends-content #request-found-friend:hover{background:#3e4d36;border-color:#ba945c;}
@media(max-width:380px){.friends-request-badge{min-width:16px;height:16px;margin-left:3px;padding-inline:3px;font-size:10px;}}
.friends-heading { grid-template-columns:minmax(0,1fr); }
.friends-heading h1 { min-height:0; }
#friends-content .social-main-column,#friends-content .social-request-column { display:flex; flex-direction:column; gap:0; min-width:0; align-self:start; }
#friends-content .social-main-column>:is(.social-panel,.meso-friends-panel)+:is(.social-panel,.meso-friends-panel),#friends-content .social-request-column>:is(.social-panel,.meso-friends-panel)+:is(.social-panel,.meso-friends-panel) { margin-top:24px; }
#friends-content :is(.social-panel,.meso-friends-panel) { height:auto; min-height:0; flex:0 0 auto; margin:0; }
:is(.social-panel,.meso-friends-panel) .secondary-button { background:var(--ink); color:var(--on-ink); border-color:#526655; }
:is(.social-panel,.meso-friends-panel) .secondary-button:hover { background:#49564c; }
.social-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; }
:is(.social-panel,.meso-friends-panel) { background:var(--card); border:1px solid var(--sand-rule); border-radius:10px; padding:24px; min-width:0; }
:is(.social-panel,.meso-friends-panel) h2 { font-size:27px; overflow-wrap:anywhere; }
:is(.social-panel,.meso-friends-panel) p:last-child { margin-bottom:0; }
.social-section-heading { display:flex; gap:16px; align-items:start; justify-content:space-between; }
.social-rosters { display:flex; gap:8px; margin:16px 0; }
.social-rosters button { flex:1; min-height:44px; }
.social-rosters button[aria-pressed=true] { background:var(--ink); border-color:var(--ink); color:var(--on-ink); }
.social-date { font-weight:600; }
.social-help,.social-username-form .social-help { font-size:14px; line-height:1.65; margin:0 0 12px; color:var(--muted); }
.social-username-form input,.social-copy-link,#friend-username { background:#f5f1e7; font-size:16px; width:100%; min-width:0; }
.social-copy-link { min-height:48px; padding:12px; border:1px solid var(--sand-rule); border-radius:6px; }
.social-profile-edit { margin-top:18px; }
.social-profile-heading { display:flex; align-items:center; gap:18px; margin-bottom:22px; min-width:0; }
.social-profile-heading>div { min-width:0; }
.social-profile-heading h2 { margin:0; }
.social-profile-heading .social-profile-link { display:inline-flex; align-items:center; min-height:44px; margin:0; padding:6px 0; border:0; background:transparent; color:var(--rust); font:14px var(--sans); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.social-profile-heading .social-profile-link:hover { color:#743d25; }
.social-profile-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.social-profile-actions button { width:100%; min-width:0; min-height:44px; padding:10px 8px; }
.social-profile .social-avatar-large { width:72px; height:72px; flex-basis:72px; }
#friend-search { margin-bottom:0; }
#friend-search-result:empty { display:none; }
#friend-search-result:not(:empty) { margin-top:16px; }
#cancel-username-change { margin-top:16px; }
.avatar-beta-option { display:flex; align-items:center; gap:12px; margin:18px 0 6px; font-weight:600; cursor:pointer; min-height:44px; }
.avatar-beta-option input { width:20px; height:20px; flex:0 0 20px; margin:0; accent-color:var(--rust); }
.social-person-name,.social-player { display:flex; align-items:center; gap:16px; min-width:0; }
.social-player-name { min-width:0; overflow-wrap:anywhere; }
.social-avatar { --avatar-radius:10px; --beta-outset:5px; --beta-sprig-size:20px; --beta-sprig-offset:-7px; --avatar-glow:#637257; display:inline-grid; place-items:center; position:relative; isolation:isolate; flex:0 0 44px; width:44px; height:44px; overflow:visible; border-radius:var(--avatar-radius); background:radial-gradient(ellipse at 28% 8%,var(--avatar-glow),transparent 76%),linear-gradient(145deg,#354b3c,#1e3027); color:#eadfc3; border:1px solid #71806c; box-shadow:0 2px 4px #18281d33,inset 0 0 0 1px #17291f88; vertical-align:middle; }
.avatar-beta-ornament { position:absolute; inset:calc(0px - var(--beta-outset)); border:1px solid #d7b65b; border-radius:calc(var(--avatar-radius) + var(--beta-outset)); box-shadow:0 0 0 1px #74561e66; color:#dfbd65; pointer-events:none; z-index:4; }
.social-avatar .avatar-beta-ornament .avatar-beta-sprig { visibility:visible; position:absolute; width:var(--beta-sprig-size); height:var(--beta-sprig-size); top:var(--beta-sprig-offset); left:var(--beta-sprig-offset); filter:drop-shadow(0 1px 0 #6f512b); }
.social-avatar .avatar-beta-ornament .avatar-beta-sprig:last-child { top:auto; left:auto; right:var(--beta-sprig-offset); bottom:var(--beta-sprig-offset); transform:rotate(180deg); }
.social-avatar[data-profile-symbol=carnivore] { --avatar-glow:#70624b; }
.social-avatar[data-profile-symbol=omnivore] { --avatar-glow:#4c7166; }
.social-avatar::before { content:""; position:absolute; inset:0; z-index:2; border-radius:inherit; background:url("./media/optimised-v205/texture-0cb313ef4765debc.png") center/128px; opacity:.36; mix-blend-mode:soft-light; pointer-events:none; }
.social-avatar::after { content:""; position:absolute; inset:4px; z-index:3; border:1px solid #a9b19a66; border-radius:calc(var(--avatar-radius) - 4px); box-shadow:0 1px 0 #10221999,inset 0 1px 0 #e7dabe22; pointer-events:none; }
.social-avatar .avatar-symbol { width:90%; height:90%; position:relative; z-index:1; }
.social-avatar .avatar-impression-shadow { color:#14251b; opacity:.8; }
.social-avatar .avatar-impression { filter:drop-shadow(0 -0.35px 0 #fff4d650); }
.social-avatar .avatar-cut { fill:none; stroke:#344a39; stroke-width:1.2; }
.social-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:calc(var(--avatar-radius) - 1px); opacity:0; }
.social-avatar.has-picture img { opacity:1; }
.social-avatar.has-picture .avatar-symbol { visibility:hidden; }
.social-avatar.has-picture::before { opacity:0; }
.social-avatar-large { width:88px; height:88px; flex-basis:88px; --avatar-radius:16px; }
.social-table .social-avatar { width:36px; height:36px; flex-basis:36px; --avatar-radius:8px; --beta-outset:2px; --beta-sprig-size:12px; --beta-sprig-offset:-4px; }
.social-table .avatar-beta-ornament { box-shadow:none; }
.social-table .social-player { gap:12px; }
.avatar-preview { display:flex; justify-content:center; margin:22px 0; }
.avatar-preview .social-avatar { width:120px; height:120px; flex-basis:120px; }
.avatar-presets { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:22px; }
.avatar-preset { display:flex; align-items:center; flex-direction:column; gap:9px; padding:14px 7px; min-width:0; border:1px solid var(--sand-rule); border-radius:8px; background:var(--sand-input); color:var(--ink); font:13px var(--sans); }
.avatar-preset[aria-pressed=true] { border:2px solid var(--ink); padding:13px 6px; background:#f5f1e7; }
.avatar-preset:hover { background:#f5f1e7; }
.avatar-upload-label { display:block; margin-bottom:10px; font-weight:600; }
#avatar-file { width:100%; min-width:0; margin:0 0 12px; color:var(--ink); }
#avatar-file::file-selector-button { min-height:44px; margin-right:10px; padding:8px 12px; border:1px solid var(--sand-rule); border-radius:6px; background:#f5f1e7; color:var(--ink); }
#friends-action-message:empty { display:none; }
.social-profile-edit summary,:is(.social-panel,.meso-friends-panel) details>summary,.account-social summary { cursor:pointer; min-height:44px; display:flex; align-items:center; }
.social-people { list-style:none; padding:0; margin:12px 0 0; }
:is(.social-panel,.meso-friends-panel)>.social-people { max-height:380px; overflow:auto; padding-left:12px; padding-right:16px; padding-bottom:12px; scrollbar-gutter:stable; scrollbar-width:thin; scrollbar-color:var(--rust) var(--sand-input); overscroll-behavior:contain; }
:is(.social-panel,.meso-friends-panel)>.social-people::-webkit-scrollbar { width:8px; height:8px; }
:is(.social-panel,.meso-friends-panel)>.social-people::-webkit-scrollbar-button { display:none; width:0; height:0; }
:is(.social-panel,.meso-friends-panel)>.social-people::-webkit-scrollbar-track { background:var(--sand-input); border-radius:8px; }
:is(.social-panel,.meso-friends-panel)>.social-people::-webkit-scrollbar-thumb { background:var(--rust); border:2px solid var(--sand-input); border-radius:8px; }
:is(.social-panel,.meso-friends-panel)>.social-people::-webkit-scrollbar-thumb:hover { background:#743d25; }
.social-people li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0; border-bottom:1px solid var(--sand-rule); }
.social-people li:last-child { border-bottom:0; padding-bottom:0; }
.social-people strong { overflow-wrap:anywhere; min-width:0; }
.social-person-actions { display:flex; flex-wrap:wrap; gap:8px; flex-shrink:0; }
.social-person-actions button { min-height:44px; padding:8px 12px; }
:is(.social-count,.meso-friends-count) { font:14px var(--sans); padding:3px 7px; background:var(--sand-input); border-radius:5px; }
.social-table-wrap { width:100%; overflow-x:auto; margin:20px 0; }
.social-table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; }
.social-table th,.social-table td { padding:14px 10px; border-bottom:1px solid var(--sand-rule); vertical-align:middle; }
.social-table thead th { font-size:12px; font-weight:500; }
.social-table tbody th { max-width:22ch; overflow-wrap:anywhere; }
.social-table small { display:block; font-weight:400; font-size:12px; margin-top:4px; }
.social-self { background:var(--sand-input); }
.social-you { font-size:11px; font-weight:400; display:inline-block; margin-left:4px; }
.social-result { margin:14px 0 0; font-size:12px; }
.social-result .action-link { font-size:13px; min-height:44px; }
.account-social { border-top:1px solid var(--sand-rule); padding-top:14px; margin-top:20px; }
.social-message:not(:empty),#friends-action-message:not(:empty) { border-left:3px solid var(--rust); padding-left:12px; }
.social-leading { background:var(--ink); border-color:#526655; color:var(--on-ink); }
.social-leading h2,.social-leading label,.social-leading .action-link { color:var(--on-ink); }
.social-leading p,.social-leading .eyebrow,.social-leading .social-help,.social-leading .social-username-form .social-help { color:var(--muted-on-ink); }
.social-leading input { color:var(--ink); }
.social-leading .social-message:not(:empty) { border-color:var(--map-gold); color:var(--on-ink); }
.social-leading .social-rosters button { background:#354039; border-color:#929a85; color:var(--on-ink); }
.social-leading .social-rosters button[aria-pressed=true] { background:#49564c; border-color:var(--map-gold); }
.social-leading #refresh-friends { background:var(--sand-input); border-color:#b3a37c; color:var(--ink); }
.social-leading #refresh-friends:hover { background:#f1e5cc; }
.social-leading .social-table th,.social-leading .social-table td { border-color:#b8aa8755; }
.social-leading .social-self { background:#3b4540; }
@media(max-width:760px){ .social-layout { grid-template-columns:minmax(0,1fr); } :is(.social-panel,.meso-friends-panel) { padding:20px; } }
@media(max-width:440px){ .social-people li { align-items:start; flex-direction:column; } .social-person-actions { width:100%; } .social-person-actions button { flex:1; } .social-table th,.social-table td { padding:12px 6px; } .social-table { font-size:13px; } }


/* Society and beta are independent rewards; only the selected frame is worn.
   Keep the uploaded image inside its original rounded boundary. */
.avatar-frame-choices { margin:18px 0 12px; padding:0; min-width:0; border:0; }
.avatar-frame-choices label { display:block; margin-bottom:8px; font-weight:600; }
.avatar-frame-choices select { display:block; width:100%; min-height:44px; padding:10px 12px; border:1px solid #9c895b; border-radius:6px; background:#f2e9d9; color:#19252b; font:16px var(--sans); }
.avatar-frame-choices select:focus-visible { outline:2px solid var(--focus-ring,#edddb7); outline-offset:3px; }
.social-avatar .avatar-society-ornament { position:absolute; inset:calc(0px - var(--beta-outset)); z-index:4; border:2px solid #19252b; border-radius:calc(var(--avatar-radius) + var(--beta-outset)); box-shadow:0 0 0 1px #ba945c,inset 0 0 0 1px #ba945c; color:#d0ae78; pointer-events:none; }
.social-avatar .avatar-society-ornament .avatar-society-moth { position:absolute; visibility:visible; width:45%; max-width:30px; height:auto; aspect-ratio:960 / 450; bottom:-5px; left:50%; transform:translateX(-50%); box-sizing:content-box; padding:2px 3px; border:1px solid #ba945c; border-radius:3px; background:#19252b; }


/* journal-polish-20261015.css */
/* Mode-coloured Daily ink, with no white lettering or frame. */
.daily-stamp { --stamp-fill:var(--blue); --stamp-lettering:#efd293; }
.daily-stamp[data-stamp-roster=expert] { --stamp-fill:var(--map-gold); --stamp-lettering:var(--ink); }
.daily-stamp,
.result-panel .daily-stamp,
.entry-heading .daily-stamp,
.discovery-portrait .daily-stamp,
.game-grid .discovery-portrait .daily-stamp {
  color:var(--stamp-lettering);
  background-color:var(--stamp-fill);
  border-color:var(--stamp-lettering);
  outline-color:var(--stamp-lettering);
}
@supports (mask-image:url("textures/stamp-wear-v1.png")) or (-webkit-mask-image:url("textures/stamp-wear-v1.png")) {
  .daily-stamp,
  .result-panel .daily-stamp,
  .entry-heading .daily-stamp,
  .discovery-portrait .daily-stamp,
  .game-grid .discovery-portrait .daily-stamp { border-color:transparent; outline-color:transparent; }
}
#cancel-username-change { background:var(--ink); color:var(--on-ink); border-color:#526655; }
#cancel-username-change:hover { background:#49564c; }


/* archive-20261015.css */
.archive-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 32px;margin-bottom:24px;border:1px solid #526655;border-radius:14px;background:var(--ink);color:var(--on-ink,#f4ebd4)}
.archive-intro .eyebrow{color:var(--map-gold);margin:0 0 12px}.archive-intro h2{color:inherit;font-size:28px;margin:0 0 12px;line-height:1.2}.archive-intro p:last-child{max-width:670px;font-size:14px;line-height:1.7;margin:0;color:#e7dfcd}
.archive-continue{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-start;gap:8px;min-height:72px;padding:16px 20px;border:1px solid var(--map-gold);border-radius:9px;background:var(--map-gold);color:var(--ink);text-align:left}.archive-continue:hover{background:#f0dca8}.archive-continue>span{font-size:12px}.archive-continue strong{font-size:17px}
.archive-calendar{width:100%;max-width:960px;margin-inline:auto;padding:20px;border:1px solid var(--line);border-radius:14px;background:#e5e0d0}.archive-month-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.archive-month-nav h2{margin:0;font-size:24px;text-align:center}.archive-month-nav button{width:44px;min-height:44px;border:1px solid #526655;border-radius:8px;background:var(--ink);color:var(--on-ink,#f4ebd4);font-size:20px}.archive-month-nav button:disabled{opacity:.4;cursor:default}
.archive-weekdays,.archive-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.archive-weekdays{margin-bottom:10px;text-align:center;font-size:12px;font-weight:600;color:var(--ink)}.archive-day{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:0;min-height:88px;gap:4px;padding:10px;border:1px solid #b5b3a2;border-radius:9px;background:var(--card,#fcf9f1);color:var(--ink);text-align:left}.archive-day-number{font-size:24px;line-height:1;font-weight:600}.archive-day-status{font-size:13px;line-height:1.3}.archive-day-score{font-size:11px;line-height:1.4}.archive-day.unplayed:hover{background:#fffdf5;border-color:var(--ink)}
.archive-day.in-progress{background:#d5dfcb;border:2px solid #6b805c;padding:9px}.archive-day.solved{background:var(--blue);color:#fff1cf;border:2px solid var(--blue);padding:9px}.archive-calendar.expert .archive-day.solved{background:var(--map-gold);color:var(--ink);border-color:#9e7b36}.archive-day.ended{background:#eee0d2;border-color:#b77d60}.archive-day.unavailable{background:#dad7c9;border-color:transparent;color:#696d61}.archive-day.archive-today{border:1px dashed var(--ink);color:var(--ink)}
.archive-key{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;padding-top:16px;font-size:12px;color:var(--ink)}.archive-key span::before{content:'';display:inline-block;width:10px;height:10px;margin-right:7px;border:1px solid #a4a68f;border-radius:2px;background:var(--card)}.archive-key .in-progress::before{background:#d5dfcb;border-color:#6b805c}.archive-key .solved::before{background:var(--blue);border-color:var(--blue)}.archive-calendar.expert .archive-key .solved::before{background:var(--map-gold);border-color:#9e7b36}.archive-key .ended::before{background:#eee0d2;border-color:#b77d60}.archive-empty{margin:22px 0 0;font-size:14px;line-height:1.7}
.archive-return-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px}.archive-return-bar button{min-height:44px;padding:10px 16px;border:1px solid var(--ink);border-radius:8px;background:var(--ink);color:var(--on-ink,#f4ebd4);font-size:13px}.archive-return-bar #archive-today{background:var(--rust,#9c4f36);border-color:var(--rust,#9c4f36);color:#fff3dc}.archive-return-bar button:hover{filter:brightness(1.1)}.expedition-mode-switch .archive-tab{background:#dfd0aa;color:var(--ink);border:1px solid #b59c62}.expedition-mode-switch .archive-tab.selected{background:var(--ink);color:var(--on-ink,#f4ebd4);border-color:var(--ink)}
@media(max-width:700px){.archive-intro{align-items:stretch;flex-direction:column;padding:22px;gap:20px}.archive-intro h2{font-size:25px}.archive-continue{width:100%;min-height:68px}.archive-calendar{padding:16px 10px}.archive-month-nav{gap:10px;margin-bottom:20px}.archive-month-nav h2{font-size:21px}.archive-weekdays,.archive-days{gap:5px}.archive-weekdays{font-size:11px}.archive-day{min-height:72px;gap:9px;padding:10px 5px;align-items:center;text-align:center;border-radius:6px}.archive-day-number{font-size:20px}.archive-day-status{font-size:10px}.archive-day.in-progress,.archive-day.solved{padding:9px 4px}.archive-day-score{display:none}.archive-key{gap:10px 15px;font-size:11px;padding-top:18px}.archive-return-bar button{padding:10px 12px}.archive-heading .expedition-setup{max-width:none}}


/* dustlight-account-20261015.css */
/* Dustlight identity is scoped to Account; the game keeps its palette. */
#modal:has(.dustlight-account){background:#eee9db;color:#1e252b;border-color:#ac9765;box-shadow:0 20px 80px #1e252b50}
#modal:has(.dustlight-account)::backdrop{background:#1e252baa}
.dustlight-account{--ink:#1e252b;--on-ink:#eee9db;--muted:#49565c;--line:#ac976566;--card:#eee9db;--sand-input:#fcf8ef;--sand-rule:#b7aa92;color:var(--ink)}
.society-brand{display:flex;align-items:center;padding:20px 22px;margin:0 0 24px;border:1px solid #ac9765;border-radius:10px;background:#35424a url("textures/matte-ink-v1.png") repeat;background-size:256px 256px;color:#eee9db}
.society-wordmark{display:block;width:min(100%,330px);height:auto}
.society-card{padding:22px;margin:0 0 24px;border:1px solid #ac9765;border-radius:9px;background:#fcf8ef;color:#1e252b}
.society-card-identity{display:flex;align-items:center;gap:24px;min-width:0}
.society-card-identity>div{min-width:0}
.society-card .eyebrow{margin:0 0 8px;font-size:10px;letter-spacing:1.7px;color:#49565c}
.society-card h3{margin:0 0 9px;font-family:Georgia,'Times New Roman',serif;font-size:28px;line-height:1.2;overflow-wrap:anywhere;color:#1e252b}
.society-member-status{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid #ac9765;border-radius:4px;background:#eee9db;font-size:12px;line-height:1.3;color:#1e252b}
.society-card-note{margin:20px 0 0!important;padding-top:15px;border-top:1px solid #ac976566;font-size:13px!important;line-height:1.6!important;color:#49565c}
.society-card .social-avatar-large{flex-shrink:0}
.society-profile-settings{margin:20px 0}
.society-profile-controls #account-change-picture{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;margin:4px 0 16px;border-radius:7px;font-size:14px}
.society-account-settings .account-details{margin:0;padding:16px 0;border-top:1px solid var(--line)}
.society-account-settings .account-details summary{min-height:44px;align-content:center;font-size:14px;color:var(--ink);cursor:pointer}
.society-account-intro{margin:0 0 24px;font-size:14px;line-height:1.65;color:var(--muted)}
.society-account-settings{margin-top:24px}
.dustlight-account .primary-button,.society-retry{min-height:44px;border:1px solid #1e252b;background:#1e252b;color:#eee9db}
.dustlight-account .primary-button:hover,.society-retry:hover{background:#2b3c45;border-color:#2b3c45}
.dustlight-account .secondary-button{border:1px solid #ac9765;background:#ac9765;color:#1e252b}
.dustlight-account .secondary-button:hover{background:#c9a973;border-color:#c9a973}
.dustlight-account .auth-form input{background:#fcf8ef;border-color:#b7aa92;color:#1e252b}
.dustlight-account :focus-visible{outline:2px solid #1e252b;outline-offset:3px}
.dustlight-account .auth-confirmation{background:#fcf8ef;border-color:#ac9765}
.dustlight-account .auth-confirmation-mark{background:#1e252b;color:#eee9db}
#sign-out-account{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #9b553c;border-radius:7px;background:#9b553c;color:#fff3dd;text-decoration:none;font-size:13px}
#sign-out-account:hover{background:#82432f}
.society-retry{padding:10px 14px;border-radius:7px}
.society-membership-error{font-size:14px;line-height:1.6}
.society-membership-error p{margin-bottom:12px}
@media(max-width:520px){.society-brand{padding:18px 16px}.society-card{padding:20px}.society-card-identity{gap:20px}.society-card h3{font-size:25px}.society-card .social-avatar-large{width:68px;height:68px;flex-basis:68px}}

/* The membership register shares Meso's muted paper, ink and bronze surfaces. */
#modal:has(.dustlight-account){background:#d7ceb9;border-color:#ac9765;color:#2e3c33;}
#modal:has(.dustlight-account) .modal-close{background:#4c5841;border:1px solid #ac9765;color:#eee9db;}
.dustlight-account{--ink:#2e3c33;--muted:#51594b;--line:#9c896066;--card:#d7ceb9;--sand-input:#e9e1ce;--sand-rule:#9c8960;}
.dustlight-account .society-brand{background-color:#1e252b;background-image:linear-gradient(#1e252b99,#1e252b99),url('textures/matte-ink-v1.png');background-size:auto,256px 256px;border-color:#ac9765;border-radius:4px;}
.dustlight-account .society-card{background:#29362f;color:#eee9db;border-color:#ac9765;border-radius:4px;}
.dustlight-account .society-card h3{color:#eee9db;}
.dustlight-account .society-card .eyebrow{color:#c6b383;}
.dustlight-account .society-card-note{color:#c9ccbb;border-color:#ac976566;}
.dustlight-account .society-member-status{background:#4c5841;color:#eee9db;border-color:#ac9765;}
.dustlight-account .primary-button,.dustlight-account .secondary-button,.dustlight-account .society-retry{background:#4c5841;border-color:#9c8960;color:#eee9db;border-radius:7px;}
.dustlight-account .primary-button:hover,.dustlight-account .secondary-button:hover,.dustlight-account .society-retry:hover{background:#59664c;border-color:#c2aa70;color:#eee9db;}
.dustlight-account .auth-form input{background:#e9e1ce;border-color:#9c8960;color:#2e3c33;}
.dustlight-account .auth-confirmation{background:#e9e1ce;border-color:#9c8960;}
.dustlight-account .society-card :focus-visible{outline-color:#e1c58d;}
.dustlight-account .account-membership-summary{display:block;margin-top:10px;color:var(--ink);font-size:13px;line-height:1.6;}

.dustlight-account #auth-create{background:#f2e9d9;border-color:#9c8960;color:#2e3c33;border-radius:7px}
.dustlight-account #auth-create:hover{background:#fff5e3;color:#2e3c33}


/* museum-colours.css */
/* Dustlight family / Meso palette: colour, lighting and texture only. Existing layout and controls are retained. */
:root{--paper:#121719;--card:#e9e0cd;--line:#918571;--ink:#28372f;--muted:#586051;--gold:#8a6d34;--gold-light:#e8d7aa;--blue:#426b75;--map-ink:#293b31;--map-gold:#d8b66b;--sand-search:#e9e1ce;--sand-input:#f4eddf;--sand-record:#ece3cf;--sand-unrecorded:#e4dbc7;--sand-rule:#afa18a;--rust:#925737;--on-rust:#f1e6cc;--on-ink:#eee7d7;--muted-on-ink:#c5c5b1;--stamp-ink:#3b4a3e;--stamp-fill:#283d31;--stamp-lettering:#f2e9d6;}
html{background-color:#101517;background-image:none;}
/* The original lighting and grain are baked into these small cached images.
   One isolated background replaces full-viewport live blur/blend effects. */
body{position:relative;isolation:isolate;background-color:#121719;color:var(--on-ink);background-image:none;}
body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:url("data:image/webp;base64,UklGRow4AABXRUJQVlA4IIA4AABQSAKdASpABugDPhkMhUIhBAEABABhLS3fj/H9M1fMH4QeH31SztHA4B9MCX2cVX8wkT+379+tbq3///+/XQ//+HPyv//9ox7n//+23nyev7nt92w3rb1/cg7+Af//1nfAP//21+/5vgArMszfe5RW8f2/joG0uJ8d0DpA2S83qN5pls6Xa8XJyGdDSkKT8L9XOiq6JwRFych77u8DeK6GIkwkit7BG1Hm9QtdLjpRYEIrJdrw7lnbGEjFEsivC+N+8QX7IpVfs6CagGx+AgIvKdbRBcEs3vzJToiECWL/dku0p8lSoFkrgUS7SoF+wBpDsIIP5gGb6GHHckqBKvhIR/6e2TY/+AhEQIYIHbvI2xtdrHYqYqIi5lyJZ/Pa4uOi19An5iVln1kn+xSgSzaf09q45OQ3/p6hd/09wJWAVm8wiXMBFSscDBuWbFtxlsARAseizH0IvmqN/Ec4FowhuYm8XoXLdXqSwdgfet6Ejma0r3+XYLtKZbB9LxcnIe9qn3bkhDOMGe+JUUlGzDbjPG2KHW5q3GKhAe9Kc+yC6MM0tiYj8BCnxhRIWubptrooztmIZlPeQUEZB5lIEIsoqrsExNEA+h9nxdRaUoDPJyHvtlArz9dKW2EQMQfjaALg0raEhYw94ZhaGoci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5I/eniPXiZ4ym9LIa/HcqP2fp8csnxE+TAwuoR6xlBWDUAnxAMAAEbE0fzsEISZ+Fz4P1dOO4AoMGkMlFGydn5POmipsLG8kwcbjQfQzOcoCMikhPiav5qI5XkWRsGfXUaGDjk2uT6GQbjjPOfbjCew6IkIzyPolITePm7Y9ZzaSJ/LgABpCBJsdGdm2bvzomStuqBCGdNMNiadrH//nzucIiZ2LaylwlIY8sQH3dTJx5PQxRcDLSks/OtUFZawE50AA") center/100% 100% no-repeat;contain:strict;transform:translateZ(0);}
body::after{content:none;}
@media (max-width:640px){body::before{background-image:url("data:image/webp;base64,UklGRtQRAABXRUJQVlA4IMgRAABwtgCdASrgAcADPhkMhUIhBAEABABhLS3fj/H9MsvL/gxKJWZV64UbHf+H7/99x8D3/x/nC///2m3uv//7b9z/zz+7L6n/kL3wD//+s74B//+2d33AJ7APfbFX/RdJi4pMdgPfb7SraNH3H5S7WZT2ntkyKiporm18BPyaZQNLKcRnk9W9LteJNgaz16Sad05HlA3XQpCmlwZ1idsnIe+2TLdSRkBnZYjxQlAGHiA99snIe+yPn8WOXT9ChTEYo7oky+hCKSlpT5IptKhHgtSdfS5mlfBQOKbVCWpI4QWdI+IGVA1pVm0sBx0O6G9NPpyFa6dejD0SDRYx7KIFku14tk4iaC5BrzBM/N5oH7lbgRckvwPEImCjrgYuB2hwgu0qBI4YCp+kQ8aELEkqIHsJkC5QVH6l3Ful2lQHxdHcxv1dyfYMJnw5Dh+/J3G8VXp3/573pROCg0iNEjc1Q9oyGEKhjDZmqrHsqGEpZlIT0S1av7NtPbVobcFku14poiuvyNtVLV3HjTTvxlWu5ZoC1FN4uTkPfbO/SyP4xxcrSyiOABSRREHPXTDVSyqtJyHvtm4L+UQNmTjsmrGD07CVwgu0pNnUVQLJeVleYa8UkmOXgMKQ5xE3zSVL0H2P2hrX1C7/p6xKiAXbz/DOA3p3/7EAyshE+Kx40vHMDCF0DTGaeK9C+BGQ9Wi4Tp0CI5fz5Iku+os/UGLPBL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:0 12px 34px #0003;color:#e9e3d3;background-image:radial-gradient(ellipse at 12% 0,#c9a15d16,transparent 65%),radial-gradient(ellipse at 92% 100%,#516b7210,transparent 70%),url("./media/optimised-v205/texture-0cb313ef4765debc.png");background-size:auto,auto,256px 256px;}
.site-header .brand-sub{color:#b9bbaa;border-color:#ac976540;}
.site-header .brand-dot{fill:#ac9765;color:#ac9765;}
.site-header .brand svg circle{fill:#ac9765;color:#ac9765;}
.site-header .primary-navigation .nav-button{background-color:#ffffff03;border-color:#ac97653d;color:#d5d6c8;}
.site-header .primary-navigation .nav-button.active{background-color:#ac97651c;background-image:none;border-color:#ac9765a0;box-shadow:inset 0 -2px #ac9765;color:#f4ead1;}
.site-header .primary-navigation .nav-button:hover{background-color:#ac976526;background-image:none;color:#fff0d1;}
.site-header .primary-navigation .nav-button:focus-visible{background-color:#ac976526;background-image:none;color:#fff0d1;}
.site-header .guide-button{background-color:#303839;background-image:none;border-color:#ac97655c;color:#e9e2cc;}
.site-header .updates-button{background-color:#303839;background-image:none;border-color:#ac97655c;color:#e9e2cc;}
.site-header .header-utilities .nav-button{background-color:#303839;background-image:none;border-color:#ac97655c;color:#e9e2cc;}
.site-header .account-nav{background-color:#2c3732;background-image:none;border-color:#ac97656b;color:#eee7d2;}
.page-heading h1{color:#eee7d7;}
.page-heading h2{color:#eee7d7;}
.page-heading .journal-summary{color:#eee7d7;}
.page-heading .eyebrow{color:#c2ac79;}
.page-heading .intro{color:#c2c5b4;}
.journal-heading .entry-discovery{color:#c2c5b4;}
.page-heading h1 .title-dot{color:#ac9765;}
.expedition-heading .mode-switch{background-color:#242e2c;background-image:none;border-color:#ac976550;color:#d7dacb;}
.expedition-heading .mode-switch button span{color:#afb7a3;}
.expedition-heading .mode-switch .selected{background-color:#b19a64;background-image:none;color:#202d25;box-shadow:0 2px 10px #0002;border-color:#bba46e;}
.expedition-heading .mode-switch .selected span{color:#33432f;}
.game-grid>.tree-panel{background-color:#27382f;color:#e8e3d2;border-color:#ac97656b;box-shadow:0 14px 45px #0005,inset 0 1px 0 #c5ae7830;--focus-ring:#c6af77;background-image:url("./media/optimised-v205/texture-0cb313ef4765debc.png");background-size:256px 256px;}
.game-grid .tree-top{background-color:#27382f;background-image:linear-gradient(110deg,#bda36c0c,transparent 65%),url("./media/optimised-v205/texture-0cb313ef4765debc.png");border-color:#ac976538;background-size:auto,256px 256px;--focus-ring:#c6af77;}
.game-grid .tree-top .eyebrow{color:#c0b68f;}
.game-grid .tree-top strong{color:#e8e3d1;}
.game-grid .tree-tools button{background-color:#24332b99;background-image:none;border-color:#ac976550;color:#e0ddc7;}
.game-grid .tree-tools button:hover{background-color:#495342;background-image:none;border-color:#b39e65;}
.game-grid .tree-tools button[aria-pressed=true]{background-color:#4d583f;background-image:none;color:#f0e4c0;border-color:#b6a16a;}
.game-grid .zoom-controls{border-color:#ac976550;}
.game-grid .zoom-controls button+button{border-color:#ac976550;}
.game-grid .tree-scroll{background-color:#293b31;background-image:radial-gradient(ellipse at 45% 30%,#87956815,transparent 74%),url("./media/optimised-v205/texture-0cb313ef4765debc.png");background-size:auto,256px 256px;scrollbar-color:#959a78 #24372d;box-shadow:inset 0 -18px 40px #14251d22;--focus-ring:#c6af77;}
.game-grid .tree-edge:not(.confirmed-edge){stroke:#8a9680;}
.game-grid .tree-edge.confirmed-edge{stroke:#c2aa70;}
.game-grid .tree-node .tree-label{fill:#bdbda3;stroke:#a1ac8d;}
.game-grid .tree-node.confirmed-branch .tree-label{fill:#d0bf8d;stroke:#e0c68a;}
.game-grid .tree-node.previous-guess .tree-label{fill:#c4c7ad;stroke:#a9b69a;}
.game-grid .tree-node.mystery-node .tree-label{fill:#4b593e;stroke:#c6b076;}
.game-grid .tree-node.answer-node .tree-label{fill:#c1cea8;stroke:#dbe6c2;}
.game-grid .tree-node:not(.answer-node) text{fill:#263726;}
.game-grid .tree-node.answer-node text{fill:#263726;}
.game-grid .tree-node[class*='guess-'] text{fill:#263726;}
.game-grid .tree-node text.guess-number{fill:#4c583d;}
.game-grid .tree-node.guess-red .tree-label{fill:#ccb19a;stroke:#d09276;}
.game-grid .tree-node.guess-yellow .tree-label{fill:#d5c18a;stroke:#e1c675;}
.game-grid .tree-node.guess-green .tree-label{fill:#b8c69b;stroke:#d0ddb3;}
.game-grid .tree-node[aria-pressed=true] .tree-label{stroke:#fff;filter:none;}
.game-grid .tree-node:focus .tree-label{stroke:#fff;filter:none;}
.game-grid .tree-node:focus-visible .tree-label{stroke:#fff;filter:none;}
.game-grid .tree-bottom{border-color:#ac976538;color:#c7ccb4;}
.game-grid .tree-panel>.guess-panel{background-color:#192124;background-image:radial-gradient(ellipse at 12% 0,#c9a15d0e,transparent 65%),url("./media/optimised-v205/texture-0cb313ef4765debc.png");background-size:auto,256px 256px;border-color:#ac976566;color:#e1decd;}
.game-grid .guess-label label{color:#c7c3ac;}
.game-grid .guess-label>span{color:#c7c3ac;}
.game-grid .support-heading{color:#c7c3ac;}
.game-grid .guess-form input{background-color:#d7ceba;background-image:none;border-color:#b0a17b;color:#2c3829;box-shadow:inset 0 1px 4px #2a342815;}
.game-grid .guess-form input::placeholder{color:#5e684f;}
.primary-button{background-color:#344738;background-image:none;border-color:#8b774a;color:#f2e9d9;box-shadow:0 3px 9px #26312e15;}
.game-grid .guess-form .primary-button{background-color:#925737;background-image:none;border-color:#b48655;color:#f1e6cc;box-shadow:0 3px 9px #0002;}
.primary-button:hover{background-color:#435b48;background-image:none;border-color:#a48e5b;color:#f2e9d9;}
.game-grid .guess-form .primary-button:hover{background-color:#915633;background-image:none;border-color:#c19964;color:#fff2d8;}
.secondary-button{background-color:#f0e6cf;background-image:none;border-color:#a89b7b;color:#2d3e30;}
.secondary-button:hover{background-color:#fff4dc;background-image:none;}
.game-grid .guess-form>.guess-journal-link{color:#d6ceb0;}
.game-grid .guess-panel .expedition-actions button{color:#d6ceb0;}
.game-grid .guess-panel .expedition-actions .new-practice-button{background-color:#344b38;background-image:none;color:#eee7d2;border-color:#536a4c;}
.game-grid .compact-clues .clue-row{background-color:#c9c0a6;border-color:#a99b74;color:#2e402d;background-image:url("./media/optimised-v205/texture-d930615e5ef2cfb9.png");background-size:192px 192px;}
.game-grid .compact-clues .clue-text strong{color:#2f432e;}
.game-grid .compact-clues .clue-value{color:#2f432e;}
.game-grid .compact-clues .clue-prompt{color:#2f432e;}
.game-grid .compact-clues .clue-text>span{color:#59664b;}
.game-grid .compact-clues .clue-state{color:#59664b;}
.game-grid .compact-clues .clue-mark{color:#546542;}
.game-grid .compact-clues .clue-prompt>span{color:#7b5632;}
.game-grid .compact-clues .clue-action:hover:not(:disabled){background-color:#dcd0ac;border-color:#ac9155;}
.game-grid .field-note-panel{background-color:#d4cbb3;color:#2d3e2e;border-color:#a0936f;background-image:radial-gradient(ellipse at 35% 10%,#f0e5c626,transparent 80%),url("./media/optimised-v205/texture-d930615e5ef2cfb9.png");background-size:auto,192px 192px;box-shadow:0 10px 30px #0003;--focus-ring:#3f513a;}
.game-grid .field-note-heading{border-color:#9d90705c;}
.game-grid .field-note-heading .eyebrow{color:#65684d;}
.game-grid .field-description{color:#46543c;}
.game-grid .branch-references summary{color:#46543c;}
.game-grid .field-note-panel>.action-link{color:#46543c;}
.game-grid .field-note-panel .field-note-links{color:#46543c;}
.game-grid .field-note-panel .source-links{color:#46543c;}
.game-grid .field-note-panel .profile-facts{background-color:#293c2d;border-color:#6d7b5866;color:#e9e4cd;}
.game-grid .reference-pictures figure{background-color:#ded6bf;color:#374532;border-color:#a29472;}
.game-grid .reference-pictures figcaption{background-color:#ded6bf;color:#374532;border-color:#a29472;}
.game-grid .field-note-panel .branch-references p{color:#536045;}
.game-grid .field-note-panel .branch-references li{color:#536045;}
.game-grid .field-note-panel .profile-facts dt{color:#bcc5a4;}
.game-grid .field-note-panel .profile-facts dd{color:#eee7d1;}
.field-report{background-color:#ebe2cc;color:#36442f;border-color:#b1a27e;}
.game-grid .field-report{background-color:#2c3531;color:#dddcc7;border-color:#ac97654d;background-image:url("./media/optimised-v205/texture-0cb313ef4765debc.png");background-size:256px 256px;}
.field-report .eyebrow{color:#526047;}
.field-report p{color:#526047;}
.field-report li{color:#526047;}
.field-report a{color:#3c5538;}
.journal-filters.filters{background-color:#29362f;border-color:#ac976550;color:#eee8d4;box-shadow:0 8px 24px #0002;background-image:radial-gradient(ellipse at 10% 0,#c3a36512,transparent 80%),url("./media/optimised-v205/texture-0cb313ef4765debc.png");background-size:auto,256px 256px;}
.journal-filters .catalogue-filter{background-color:#323d34;background-image:none;border-color:#ac976555;}
.journal-filters .catalogue-filter button[aria-pressed=true]{background-color:#ac9765;background-image:none;color:#1e3023;}
.journal-filters .journal-search input{background-color:#f0e7d1;background-image:none;border-color:#b3a582;color:#31412d;}
.journal-filters .filter-field input{background-color:#f0e7d1;background-image:none;border-color:#b3a582;color:#31412d;}
.journal-filters .filter-field select{background-color:#f0e7d1;background-image:none;border-color:#b3a582;color:#31412d;}
.specimen-card{box-shadow:0 5px 15px #0002;color:#2e3e2d;}
.specimen-card .specimen-facts span{background-color:#cfd0b5;background-image:none;color:#3c4d34;}
.journal-toolbar{color:#d0d4bd;}
.journal-toolbar button{color:#d0d4bd;}
.card-legend{color:#d0d4bd;}
/* The journal wrapper is an unpadded page layout, not a paper card. */
.journal-entry{background-color:transparent;background-image:none;color:var(--on-ink);box-shadow:none;--muted:#c5c5b1;--focus-ring:#d8b66b;}
.journal-entry h1,.journal-entry .entry-heading{color:#eee7d7;}
.journal-entry .entry-discovery{color:#c5c5b1;}
.journal-entry .eyebrow{color:#c2ac79;}
.journal-entry .action-link{color:inherit;}
.journal-entry>.journal-media,.journal-entry>.achievement-panel,.journal-entry>.answer-hold{color:#2f3f2e;background-color:#d4cbb3;--muted:#46543c;--focus-ring:#3f513a;}
.journal-entry>.journal-media{background-image:linear-gradient(#d4cbb3b8,#d4cbb3b8),url("./media/optimised-v205/texture-d930615e5ef2cfb9.png");background-size:auto,192px 192px;border-color:#a0936f;}
.journal-entry .reference-pictures figure,.journal-entry .reference-pictures figcaption{background-color:#d4cbb3;color:#2f3f2e;}
.journal-entry .journal-research a{color:#d8c18b;}
.journal-entry .lineage span{color:#2f3f2e;background-color:#d4cbb3;}
.journal-entry .profile-facts{--focus-ring:#d8b66b;}
.journal-summary .progress-card{background-color:#2c3e2f;background-image:none;border-color:#819069;color:#eee9d5;}
.journal-summary .progress-pill{background-color:#2c3e2f;background-image:none;border-color:#819069;color:#eee9d5;}
.game-grid .result-panel{background-color:#eae1cc;background-image:url("./media/optimised-v205/texture-d930615e5ef2cfb9.png");color:#2f402f;border-color:#9e8855;background-size:192px 192px;}
.game-grid .result-panel #share-result{background-color:#f6edda;background-image:none;color:#344b33;border-color:#a1916c;}
.game-grid .result-panel .result-story .eyebrow{color:#536048;}
.game-grid .result-panel .result-message{color:#536048;}
.profile-facts{background-color:#293c2d;color:#ede7d3;}
#modal{background-color:#e9e1cd;background-image:none;color:#2c3d2d;border-color:#ad9b70;box-shadow:0 25px 100px #0008;}
#modal::backdrop{background-color:#101c17cc;background-image:none;}
.toast{background-color:#2a3c2e;background-image:none;color:#eee5cd;border-color:#ac9765;}
.site-footer{background-color:#171e21;border-color:#ac976548;color:#e9e3d3;box-shadow:0 -8px 32px #0002;background-image:radial-gradient(ellipse at 12% 0,#c9a15d16,transparent 65%),radial-gradient(ellipse at 92% 100%,#516b7210,transparent 70%),url("./media/optimised-v205/texture-0cb313ef4765debc.png");background-size:auto,auto,256px 256px;}
.site-footer a{color:#d9d9c0;}
.site-footer button{color:#d9d9c0;}
.site-footer #notes-link{color:#d9d9c0;}
.site-footer #report-button{color:#d9d9c0;}
.site-footer #privacy-link{color:#d9d9c0;}
.site-footer .dustlight-footer-link{color:#d9d9c0;gap:8px;font-family:var(--serif);}
.site-footer .dustlight-footer-link img{width:30px;height:18px;object-fit:contain;flex-shrink:0;}
.loading{color:#dedcc7;}
.dustlight-account{color:#1e252b;--ink:#1e252b;--on-ink:#eee9db;--card:#eee9db;--line:#ac976566;}
body:has(.dustlight-account) .account-layout{color:#2d3d2e;}
@media (max-width:640px){
.game-grid .tree-scroll:focus-visible{outline-color:#c6af77;}}
@media (max-width:640px){
.game-grid .tree-tools button:focus-visible{outline-color:#c6af77;}}
@media (max-width:640px){
.game-grid .tree-node[aria-pressed=true] .tree-label{stroke:#fff;filter:drop-shadow(0 0 1px #394b37);}}
@media (max-width:640px){
.game-grid .tree-node:focus .tree-label{stroke:#fff;filter:drop-shadow(0 0 1px #394b37);}}
@media (max-width:640px){
.game-grid .tree-node:focus-visible .tree-label{stroke:#fff;filter:drop-shadow(0 0 1px #394b37);}}
.site-header .guide-button:hover{background-color:#45483e;background-image:none;color:#fff0d1;}
.site-header .updates-button:hover{background-color:#45483e;background-image:none;color:#fff0d1;}
.site-header .header-utilities .nav-button:hover{background-color:#45483e;background-image:none;color:#fff0d1;}
.social-leading{background-color:#29362f;background-image:radial-gradient(ellipse at 10% 0,#c3a36512,transparent 80%),url("./media/optimised-v205/texture-0cb313ef4765debc.png");background-size:auto,256px 256px;border-color:#ac976550;}
.social-leading .social-rosters button{background-color:#323e35;background-image:none;border-color:#ac97655e;}
.social-leading .social-rosters button[aria-pressed=true]{background-color:#ac976522;background-image:none;border-color:#ac9765;}
.site-footer a:hover{background-color:#ac97651f;background-image:none;color:#fff0d1;}
.site-footer button:hover{background-color:#ac97651f;background-image:none;color:#fff0d1;}
#modal:has(.dustlight-account){background-color:#eee9db;background-image:none;color:#1e252b;border-color:#ac9765;}
.society-brand{background-color:#35424a;border-color:#ac9765;}
.game-grid .tree-node.mystery-node text{fill:#eee2be;}
.game-grid .compact-clues .clue-action.revealed:disabled{background-color:#c5c4a8;border-color:#a28f59;}
.game-grid .compact-clues .clue-slot{border-color:#9f94734d;}
.game-grid .compact-clues .clue-obscured i{background-color:#6e745777;}
.game-grid .field-report .eyebrow{color:#c8ccb6;}
.game-grid .field-report p{color:#c8ccb6;}
.game-grid .field-report li{color:#c8ccb6;}
.game-grid .field-report a{color:#d6bc7e;}
.game-grid .field-note-panel h2{color:#2d3e2e;}
.game-grid .field-note-panel h3{color:#2d3e2e;}/* Keep paper-valued controls readable on every existing research page. */
:root{--paper:#d4cbb3;--blue:#365e67;--stamp-ink:#4b3021;--stamp-fill:#263f34;--stamp-lettering:#f5edda;}
.panel,:is(.social-panel,.meso-friends-panel),.admin-page .panel{color:var(--ink);}
main:not(#app):not(.admin-page):where(:not(.society-page):not(.policy-page)){background-color:#ded5bf;color:var(--ink);background-image:linear-gradient(#ded5bfc4,#ded5bfc4),url("./media/optimised-v205/texture-d930615e5ef2cfb9.png");background-size:auto,192px 192px;box-shadow:0 14px 40px #0002;}
main:not(#app):not(.admin-page):where(:not(.society-page):not(.policy-page)) .page-heading h1{color:var(--ink);}
main:not(#app):not(.admin-page):where(:not(.society-page):not(.policy-page)) .intro{color:var(--muted);}/* Matte finishes are quiet enough to keep small branches and lettering crisp. */
.game-grid .tree-scroll{background-image:radial-gradient(ellipse at 45% 25%,#c8b67509,transparent 76%),linear-gradient(#293b31b8,#293b31b8),url("./media/optimised-v205/texture-0cb313ef4765debc.png");background-size:auto,auto,256px 256px;}
.game-grid .tree-top{background-image:linear-gradient(#27382fb8,#27382fb8),url("./media/optimised-v205/texture-0cb313ef4765debc.png");background-size:auto,256px 256px;}
.game-grid .field-note-panel{background-image:linear-gradient(#d4cbb399,#d4cbb399),url("./media/optimised-v205/texture-d930615e5ef2cfb9.png");background-size:auto,192px 192px;}
.game-grid .compact-clues .clue-row{background-image:linear-gradient(#c9c0a699,#c9c0a699),url("./media/optimised-v205/texture-d930615e5ef2cfb9.png");background-size:auto,192px 192px;}/* Paper cards retain dark copy; dark covers keep the opposite treatment. */
.social-leading,.admin-page .gate,.admin-page .filters{color:var(--on-ink);background-color:#29362f;border-color:#ac976550;}
.admin-page .status,.admin-page .coverage,.admin-page .coverage p,.admin-page .period-summary p{color:#c4c8b6;}
.admin-page .status.error{color:#e6ab8c;}
.admin-page .notice{background-color:var(--sand-input);color:var(--ink);}
.admin-page .panel label{color:var(--ink);}
.admin-page .gate label,.admin-page .filters label{color:var(--on-ink);}
.journal-summary .roster-progress-label,.journal-summary .roster-progress-daily{color:#c2c7b2;}
.journal-summary .roster-progress strong{color:#fff2d6;}
.journal-heading .journal-summary strong small{color:#bac3ac;}
.game-grid .field-note-panel .media-source{color:#59694b;}
.game-grid .tree-panel{--focus-ring:#c6af77;}
.game-grid .guess-panel .compact-clues{--focus-ring:#334b35;}
.game-grid .guess-panel .compact-clues .clue-action:focus-visible{outline-color:#334b35;}/* Museum surfaces do not replace Explorer/Expert reward colours. */
:is(.social-panel,.meso-friends-panel) .secondary-button{background-color:#344738;color:#eee7d3;border-color:#7f8b67;}
.social-leading .social-rosters button[aria-pressed=true]{background-color:#4c5841;border-color:#c2aa70;}
.social-leading{--social-choice-fill:#4c5841;--social-choice-rule:#c2aa70;}
.social-leading .social-rosters button[aria-pressed=true]{background-color:var(--social-choice-fill);border-color:var(--social-choice-rule);}
.social-leading .social-self{background-color:var(--social-choice-fill);color:#eee9db;}
.social-leading .social-self>th,.social-leading .social-self>td{border-top:1px solid var(--social-choice-rule);border-bottom:1px solid var(--social-choice-rule);}
.social-leading .social-self>:first-child{border-left:1px solid var(--social-choice-rule);}
.social-leading .social-self>:last-child{border-right:1px solid var(--social-choice-rule);}
.social-leading #refresh-friends{background:#d7ceb9;border-color:#9c8960;color:#2e3c33;}
.social-leading #refresh-friends:hover{background:#e4dcc9;}
.social-person-actions .primary-button{background-color:#925737;color:#f1e6cc;border-color:#b48655;}
.suggestions{background-color:#e9dfc7;color:#2b3b2c;border-color:#ad9f7b;}
.suggestions button{color:#2b3b2c;}
.suggestions button:hover,.suggestions button.highlight{background-color:#d2c69f;}
.field-report .action-link{color:inherit;}
.privacy-page .privacy-summary{background-color:#e9e0cd;}

/* Folded branches retain paper lettering on their dark capsule. */
.game-grid .tree-node.folded-branch text{fill:#eee9db;}
.game-grid .tree-node.folded-branch .fold-action{fill:#dfd2b2;}
.update-entry>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;cursor:pointer;list-style:none;padding:4px 0;}
.update-entry>summary::-webkit-details-marker{display:none;}
.update-entry>summary h3{margin:0;}
.update-entry time{color:#51594b;}
.update-entry>summary:focus-visible{outline:2px solid #3f513a;outline-offset:4px;}
.update-entry .update-toggle{font-size:22px;line-height:1;color:#59664b;transform:rotate(-90deg);}
.update-entry[open] .update-toggle{transform:none;}
.update-entry>ul{margin-top:14px;}

.expedition-mode-switch .archive-tab{position:relative}
.archive-tab .archive-lock{position:absolute;top:3px;right:4px;width:18px;height:18px;color:#e3c877;pointer-events:none}
@media(max-width:520px){.archive-tab .archive-lock{top:1px;right:2px;width:17px;height:17px}}

/* The account creation action is distinct from sign-in across all surfaces. */
#auth-sign-in #auth-create{background:#925737;border:1px solid #c28d67;color:#fff0d9;border-radius:7px;font-weight:650}
#auth-sign-in #auth-create:hover{background:#a4613e;color:#fff4e5}

/* A clear primary action on the Archive's parchment membership dialog. */
.modal-content .archive-membership-actions .primary-button{background:#344738;color:#fff1d4;border:1px solid #8b774a;box-shadow:none;font-size:15px;font-weight:600;text-decoration:none;padding:12px 20px;}
.modal-content .archive-membership-actions .primary-button:hover{background:#435b48;color:#fff7e5;}
.modal-content .archive-membership-actions .primary-button:focus-visible{outline:3px solid #344738;outline-offset:3px;}
.modal-content .archive-membership-actions .secondary-button{background:#f0e6cf;color:#2d3e30;font-size:14px;}

/* Button links use the same plain labels as button elements. */
a.primary-button,a.secondary-button{text-decoration:none;}
.modal-content a.primary-button{color:#f2e9d9;}


/* museum-header.css */
/* A straight gallery rail; the expedition and journal layouts are unchanged. */
.site-header{width:100%;max-width:none;margin:0;border-radius:0;padding-inline:max(24px,calc((100% - 1248px)/2));}
.site-header.meso-header{display:block;padding:0;background-color:#1b2226;border-bottom:1px solid #ac97655c;box-shadow:0 8px 28px #0003;}
.meso-header .header-inner{max-width:1320px;margin:0 auto;padding:0 36px;display:flex;align-items:center;gap:24px;min-height:78px;}
.meso-header .brand{flex-shrink:0;}
.meso-header .primary-navigation{margin:0;display:flex;align-self:stretch;align-items:stretch;gap:4px;width:auto;}
.meso-header .primary-navigation .nav-button{display:inline-flex;align-items:center;justify-content:center;min-width:0;padding:12px 16px;border:0;border-radius:0;background:transparent;color:#bfc3b6;box-shadow:none;font-family:var(--serif);font-size:14px;white-space:nowrap;}
.meso-header .friends-desktop-label{white-space:pre;}
.meso-header .primary-navigation .nav-button.active{color:#e5cc91;background:transparent;box-shadow:inset 0 -2px #ac9765;}
.meso-header .primary-navigation .nav-button:hover,.meso-header .primary-navigation .nav-button:focus-visible{background:#ac97650d;color:#eee9db;}
.meso-header .header-utilities{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:18px;width:auto;flex-shrink:0;}
.meso-header .header-utilities .nav-button{display:inline-flex;width:auto;min-width:0;min-height:44px;align-items:center;justify-content:center;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#eee9db;font-family:var(--serif);font-size:14px;font-weight:400;white-space:nowrap;}
.meso-header .header-utilities .nav-button:hover{color:#dfc895;background:transparent;text-decoration:none;}
.header-account{position:relative;padding-left:18px;border-left:1px solid #ac97654d;}
.meso-header .header-utilities .account-nav{gap:9px;margin:0;}
#account-label{min-width:0;max-width:150px;overflow:hidden;text-overflow:ellipsis;}
#account-label[data-guest]{white-space:normal;overflow:visible;text-overflow:clip;text-align:left;line-height:1.25;}
.account-outline{flex-shrink:0;}
.meso-header :focus-visible{outline:2px solid #d7bd7f;outline-offset:3px;}
@media(max-width:1150px){
 .meso-header .header-inner{gap:18px;padding-inline:28px;}
 .meso-header .primary-navigation .nav-button{padding-inline:12px;}
 .meso-header .header-utilities{gap:14px;}
 .header-account{padding-left:14px;}
 #account-label{max-width:115px;}
}
@media(max-width:1020px){
 .meso-header .friends-desktop-label{display:none;}
 /* Independent flex rows avoid a wide navigation column sizing the profile row.
    The break stays between help/account and navigation at every phone width. */
 .meso-header .header-inner{display:flex;flex-wrap:wrap;gap:0 20px;padding:12px 24px 0;min-width:0;}
 .meso-header .header-inner::before{content:'';order:2;flex:0 0 100%;}
 .meso-header .brand{order:0;flex:0 0 auto;}
 .meso-header .header-utilities{order:1;margin-left:auto;flex:1 1 0;min-width:0;}
 .meso-header .header-account{flex:0 1 auto;min-width:0;}
 .meso-header .header-utilities .guide-button{flex:0 0 auto;}
 .meso-header .header-utilities .account-nav{width:100%;max-width:100%;}
 .meso-header .primary-navigation{order:3;flex:1 1 0;min-width:0;margin:8px 0 0;}
 .meso-header .primary-navigation .nav-button{width:auto;min-height:48px;padding:12px;flex:0 1 auto;}
}
@media(max-width:520px){
 .meso-header .header-inner{padding:10px 16px 0;gap:0 10px;}
 .meso-header .brand svg.brand-mark{width:126px;height:28px;}
 .meso-header .header-utilities{gap:12px;}
 .meso-header .header-utilities .nav-button{font-size:12px;}
 .header-account{padding-left:12px;}
 .meso-header .header-utilities .account-nav{gap:6px;}
 #account-label{max-width:72px;}
 .account-outline{width:23px;height:23px;}
 .meso-header .primary-navigation{gap:0;flex-wrap:wrap;}
 .meso-header .primary-navigation .nav-button{font-size:12px;padding:10px 6px;min-height:46px;min-width:max-content;flex:1 1 auto;}
}
@media(max-width:370px){
 .meso-header .header-inner{padding-inline:12px;}
 .meso-header .brand svg.brand-mark{width:110px;height:25px;}
 .meso-header .header-utilities{gap:8px;}
 .header-account{padding-left:8px;}
 #account-label{max-width:44px;}
}

/* Keep the studio centred between reset information and supporting links. */
.site-footer{display:block;width:100%;max-width:none;margin:24px 0 0;padding:16px 0;border-radius:0;border-inline:0;border-top:1px solid #ac97655c;}
.site-footer .footer-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:4px 24px;max-width:1320px;margin:0 auto;padding:0 36px;}
.site-footer .footer-info{grid-column:1;grid-row:1;min-width:0;line-height:1.7;}
.site-footer .dustlight-footer-link{grid-column:2;grid-row:1;justify-self:center;justify-content:center;margin:0;white-space:nowrap;}
.site-footer .footer-actions{grid-column:3;grid-row:1;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 20px;min-width:0;margin:0;}
@media(max-width:850px){
 .site-footer .footer-inner{display:flex;flex-direction:column;gap:4px;padding-inline:24px;text-align:center;}
 .site-footer .dustlight-footer-link{order:0;align-self:center;}
 .site-footer .footer-info{order:1;text-align:center;}
 .site-footer .footer-actions{order:2;justify-content:center;gap:4px 20px;}
 .site-footer button{text-align:center;}
}
@media(max-width:520px){.site-footer .footer-inner{padding-inline:16px;}.site-footer .footer-actions{gap:4px 16px;}}

.header-profile-icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;flex:0 0 26px;}
.meso-header .header-profile-icon .social-avatar{width:26px;height:26px;flex-basis:26px;border-width:1px;--avatar-radius:7px;--beta-outset:1px;--beta-sprig-size:8px;--beta-sprig-offset:-2px;}
.meso-header .header-profile-icon .avatar-symbol{width:22px;height:22px;}

/* Updates is a supporting destination in the footer, with a quiet unread mark. */
.updates-unread-dot{display:none;width:6px;height:6px;border-radius:50%;margin-left:7px;background:#d6b979;vertical-align:middle;flex:0 0 6px;}
.has-unread-updates .updates-unread-dot{display:inline-block;}
.whats-new-message{font-size:16px;line-height:1.7;white-space:pre-line;}
.whats-new-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:26px;}
.whats-new-actions .primary-button,.whats-new-actions .action-link{min-height:44px;}
@media(max-width:520px){.whats-new-actions{align-items:stretch;flex-direction:column;}.whats-new-actions .action-link{display:inline-flex;align-items:center;justify-content:center;}}
.site-footer [data-updates-link]{display:inline-flex;align-items:center;min-height:44px;font-size:12px;text-underline-offset:3px;}
@media(max-width:600px){.site-footer [data-updates-link]{font-size:11px;}}

/* A short page fills the viewport; long pages keep the footer after content. */
body:has(>.site-header):has(>.site-footer){min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body:has(>.site-footer)>main{flex:1 0 auto;width:100%;min-height:0}
body>.site-header,body>.site-footer{flex-shrink:0}

/* Centre each standard heading between the navigation and its first surface.
   Shared depth aligns panel tops; minimum sizing grows for wrapping and zoom. */
@media(min-width:1101px){
 :root{--page-heading-height:9.5rem;--page-heading-gap:22px;}
 body>.site-header+main,body>.site-header~main{padding-top:var(--page-heading-gap);margin-block-start:0;}
 main .page-heading,main .custom-shell>.page-heading,main .account-page>.page-heading,main .notes-heading,main .policy-heading{
  display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:0;
  min-height:var(--page-heading-height);margin-bottom:var(--page-heading-gap);
 }
 main .page-heading:is(.expedition-heading,.journal-heading){display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:center;align-content:center;gap:24px;}
 main .page-heading.expedition-heading{grid-template-columns:minmax(0,1fr) minmax(340px,540px);}
 main .page-heading>div:first-child{align-self:stretch;}
 main .page-heading:is(.expedition-heading,.journal-heading)>div:first-child{align-self:center;}
 main .page-heading :is(.intro,h1):last-child,main .notes-heading>p:last-child,main .policy-heading>p:last-child{margin-bottom:0;}
 main .custom-shell.custom-round>.page-heading h1{margin-bottom:12px;}
}

/* The Discord mark shares the footer's palette and an accessible tap target. */
.site-footer .footer-discord{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-height:44px;border-radius:6px;text-decoration:none;}
.site-footer .footer-discord svg{display:block;width:24px;height:24px;flex-shrink:0;}
.site-footer .footer-discord:focus-visible{outline:2px solid var(--map-gold,#d8b66b);outline-offset:2px;}

/* v129: shorten the shared heading area by one quarter of the deployed
   13rem / 26px rhythm. Let long headings and controls grow naturally. */
@media(min-width:1101px){
 :root,body.clado-body{--page-heading-height:9.75rem!important;--page-heading-gap:19.5px!important}
 body>.site-header~main{padding-top:var(--page-heading-gap)}
 body main .page-heading,body main .custom-shell>.page-heading,body main .account-page>.page-heading,body main .notes-heading,body main .policy-heading{min-height:var(--page-heading-height);margin-bottom:var(--page-heading-gap)}
}
@media(min-width:641px) and (max-width:1100px){
 body>.site-header~main{padding-top:21px}
 body main .page-heading,body main .custom-shell>.page-heading,body main .account-page>.page-heading,body main .notes-heading,body main .policy-heading{margin-bottom:19.5px}
}
@media(max-width:640px){
 body>.site-header~main{padding-top:18px}
 body main .page-heading,body main .custom-shell>.page-heading,body main .account-page>.page-heading,body main .notes-heading,body main .policy-heading{margin-bottom:15px}
}

@media(min-width:961px) and (max-width:1100px){
 body main .page-heading:is(.expedition-heading,.journal-heading,.clado-heading){min-height:102px}
}
@media(min-width:641px) and (max-width:960px){
 body main .page-heading:is(.expedition-heading,.journal-heading){gap:15px}
}
@media(max-width:640px){
 body main .page-heading:is(.expedition-heading,.journal-heading){gap:13.5px}
}


/* journal-design.css */
/* Journal exhibit surfaces. The game, header and account keep their own rules. */
.journal-entry {
  --journal-paper: #d7ceb9;
  --journal-ink: #2e3c33;
  --journal-muted: #51594b;
  --journal-rule: #9c8960;
}
.journal-entry > .journal-media {
  padding: 24px;
  gap: 28px;
  align-items: center;
  background-color: var(--journal-paper);
  background-image: linear-gradient(90deg, #ac97650d, transparent 18%, transparent 82%, #ac97650d);
  border: 1px solid var(--journal-rule);
  border-radius: 5px;
  box-shadow: 0 12px 32px #00000020, inset 0 0 0 5px #d7ceb9, inset 0 0 0 6px #ac97654d;
  color: var(--journal-ink);
  --muted: var(--journal-muted);
}
.journal-entry .reference-pictures,
.journal-entry .entry-overview { min-width: 0; }
.journal-entry .reference-pictures { grid-column: 1; grid-row: 1; margin: 0; }
.journal-entry .reference-pictures figure {
  margin: 0;
  padding: 12px;
  border: 1px solid #a79773;
  border-radius: 2px;
  background: linear-gradient(#d7ceb970, #d7ceb970), url('textures/paper-grain-v2.png') 0 0 / 192px 192px;
}
.journal-entry .reference-pictures img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  border: 1px solid #9c896080;
  border-radius: 0;
  background: #e7dfcf;
}
.journal-entry .reference-pictures figcaption {
  padding: 12px 0 0;
  background: transparent;
  color: #51594b;
  font-size: 11px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.journal-entry .picture-subject { display: block; margin-bottom: 3px; }
.journal-entry .reference-pictures a,
.journal-entry .entry-overview a { color: #365347; text-decoration: underline; text-underline-offset: 3px; }
.journal-entry .entry-overview { grid-column: 2; align-self: center; }
.journal-entry .entry-overview > .eyebrow { margin: 0 0 14px; color: #655537; font-size: 10px; }
.journal-entry .entry-overview .field-description { margin: 0; color: var(--journal-ink); font-size: 16px; line-height: 1.85; }
.journal-entry .entry-overview .overview-source { display: block; margin-top: 18px; color: var(--journal-muted); font-size: 11px; line-height: 1.7; }
.journal-entry > .journal-media > .unillustrated-plate {
  grid-column: 1;
  grid-row: 1;
  min-height: 260px;
  padding: 32px 20px;
  border: 1px solid #a79773;
  border-radius: 2px;
  background: linear-gradient(#d7ceb9b8, #d7ceb9b8), url('textures/paper-grain-v2.png') 0 0 / 192px 192px;
  color: #51594b;
  box-shadow: inset 0 0 0 7px #d7ceb9, inset 0 0 0 8px #ac97654d;
  overflow-wrap: anywhere;
}
.journal-entry .unillustrated-plate .eyebrow { color: #655537; }
.journal-entry .unillustrated-plate strong { color: var(--journal-ink); }
.journal-entry .profile-facts.journal-facts {
  margin: 24px 0;
  padding: 24px;
  gap: 24px 28px;
  border: 1px solid #ac976573;
  border-radius: 4px;
  background: #25362e;
  color: #eee9db;
  --muted: #c3c3ac;
}
.journal-entry .journal-facts > div { min-width: 0; position: relative; padding-left: 44px; }
.journal-entry .journal-facts dt { color: #c3c3ac; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.journal-entry .journal-facts dd { color: #eee9db; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.journal-entry .fact-mark { position: absolute; left: 0; top: 1px; color: #c6b17d; }
.journal-entry .fact-mark svg { display: block; width: 30px; height: 30px; }
.journal-entry > .achievement-panel {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid #9c8960;
  border-radius: 4px;
  background: #d7ceb9;
  color: #2e3c33;
  --muted: #51594b;
  box-shadow: none;
}
.journal-entry .achievement-panel h3 { font-family: var(--serif); font-size: 23px; color: #2e3c33; }
.journal-entry .achievement-panel .best-rule { color: #51594b; line-height: 1.7; margin: 8px 0 18px; }
.journal-entry .personal-best-list { display: grid; gap: 8px; margin-bottom: 16px; }
.journal-entry .personal-best-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin: 0; padding: 10px 12px; border: 1px solid #9c896066; border-radius: 4px; background: #e4dcc9; line-height: 1.7; }
.journal-entry .personal-best-label { color: #51594b; }
.journal-entry .personal-best-score { font-size: 16px; font-weight: 600; line-height: 1.5; }
.journal-entry .daily-history { margin-top: 16px; padding-top: 12px; border-top: 1px solid #9c896066; }
.journal-entry .daily-history summary { min-height: 44px; align-content: center; }
.journal-entry .daily-history li { line-height: 1.8; padding-block: 3px; }
.journal-entry .journal-research { border-color: #ac976573; }
.journal-entry .journal-research > summary { color: #dfd2b2; }
.journal-entry .journal-research .lineage { gap: 6px; }
.journal-entry .journal-research .lineage span { background: #d7ceb9; color: #2e3c33; }

/* The same brass rule and label hierarchy on the catalogue drawer. */
.journal-cards .specimen-card {
  isolation: isolate;
  border-radius: 4px;
  background: #ded5c0;
  color: #2e3c33;
  --muted: #51594b;
  --focus-ring: #e1c58d;
  box-shadow: 0 5px 14px #00000018;
}
.journal-cards .specimen-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid #ac976573;
  border-radius: 1px;
  pointer-events: none;
  z-index: -1;
}
.journal-cards .specimen-top { border-color: #9c896066; }
.journal-cards .specimen-code { color: #655537; font-size: 10px; letter-spacing: 1.2px; }
.journal-cards .specimen-card h3 { color: #2e3c33; line-height: 1.25; margin-bottom: 8px; }
.journal-cards .specimen-group { color: #51594b; }
.journal-cards .specimen-facts { margin-top: 16px; gap: 6px; }
.journal-cards .specimen-card .specimen-facts span { color: #465244; background: #eee7d7; border-radius: 2px; line-height: 1.5; }
.journal-cards .specimen-card > .discovery-label { color: #51594b; padding-top: 20px; }
.journal-cards .card-discovery { margin-top: auto; border-top: 1px solid #9c896066; padding-top: 14px; }
.journal-cards .card-discovery .discovery-label { color: #344a40; }
.journal-cards .card-discovery .discovery-label > span {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 5px;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  font-size: 10px;
  line-height: 1.5;
}
.journal-cards .card-discovery .discovery-label i { font-size: 11px; }
.journal-filters.filters { border: 1px solid #ac976573; border-radius: 5px; }
.journal-toolbar { color: #c5c5b1; }

@media (max-width: 640px) {
  .journal-entry > .journal-media { display: flex; flex-direction: column; align-items: stretch; padding: 18px; gap: 24px; }
  .journal-entry .reference-pictures { margin: 0; }
  .journal-entry .reference-pictures figure { padding: 10px; }
  .journal-entry .reference-pictures img { height: auto; max-height: 360px; }
  .journal-entry .entry-overview .field-description { font-size: 15px; line-height: 1.8; }
  .journal-entry .entry-overview { align-self: stretch; }
  .journal-entry .profile-facts.journal-facts { padding: 18px; gap: 22px 16px; }
  .journal-entry .journal-facts > div { padding-left: 0; }
  .journal-entry .fact-mark { position: static; display: block; margin-bottom: 9px; }
  .journal-entry .journal-facts dt { font-size: 9px; letter-spacing: .6px; }
  .journal-entry .journal-facts dd { font-size: 14px; }
  .journal-entry > .achievement-panel { padding: 20px; }
}
@media (max-width: 480px) {
  .journal-cards .specimen-top { display: flex; grid-column: 1 / -1; grid-row: 1; margin-bottom: 4px; padding-bottom: 8px; }
  .journal-cards .specimen-card h3 { grid-row: 2; margin-bottom: 0; }
  .journal-cards .specimen-group { grid-row: 3; }
  .journal-cards .specimen-facts { grid-row: 4; margin-top: 4px; }
  .journal-cards .card-discovery,
  .journal-cards .specimen-card > .discovery-label { grid-column: 1 / -1; grid-row: 5; margin-top: 6px; padding-top: 12px; }
  .journal-cards .locality-qualifier { grid-row: 6; }
}

.journal-filters .catalogue-filter button[aria-pressed=false]{background:#323e35;color:#eee7d7;border:1px solid #ac97655e;}
.journal-filters .catalogue-filter button[aria-pressed=false]:hover{background:#3d4b40;}

/* Match the Friends difficulty toggle, including the restrained selected trim. */
.journal-filters .catalogue-filter{display:flex;gap:8px;padding:0;background:none;border:0;border-radius:0;}
.journal-filters .catalogue-filter button{flex:1;min-height:44px;border-radius:7px;}
.journal-filters .catalogue-filter button[aria-pressed=true]{background:#4c5841;color:#eee7d7;border:1px solid #c2aa70;}

/* Compact the catalogue inside its aligned first panel, retaining touch targets. */
.journal-filters.filters { padding: 18px; margin-bottom: 10px; }
.journal-filters #journal-detailed-filters { margin-top: 0; }
.journal-toolbar { margin-bottom: 12px; }
@media (max-width: 640px) {
  .journal-filters.filters { padding: 16px; }
}

.journal-entry .journal-classification-note { margin:18px 0; padding:0 0 16px; border-bottom:1px solid #ac976566; }
.journal-entry .journal-classification-note h3 { margin-top:0; }
.journal-entry .journal-classification-note p:last-child { margin-bottom:0; }


/* expedition-museum.css */
/* Museum presentation of expedition settings, the map mount and field kit. */
.expedition-heading {
  grid-template-columns: minmax(0, 1fr) 540px;
  align-items: center;
  min-height: 0;
}
.expedition-heading > div:first-child { min-width: 0; }
.expedition-heading .expedition-setup {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(270px, 1.15fr);
  gap: 12px;
  width: 100%;
  max-width: none;
  align-items: stretch;
}
.expedition-heading .roster-controls { min-width: 0; display: flex; }
.expedition-heading .mode-switch {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 4px;
  gap: 4px;
  border: 1px solid #ac976580;
  border-radius: 4px;
  background: #222d2b;
  box-shadow: inset 0 1px #ffffff05;
}
.expedition-heading .mode-switch button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 56px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: #dddccc;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.expedition-heading .roster-switch button { gap: 3px; justify-content: center; }
.expedition-heading .roster-switch strong,
.expedition-heading .expedition-mode-switch button {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
}
.expedition-heading .roster-switch span { font-size: 10px; line-height: 1.4; color: #b9c0ac; }
.expedition-heading .mode-switch button:hover { background: #ac97651a; color: #f2e9d7; }
.expedition-heading .mode-switch button.selected {
  background: #b19a64;
  border-color: #c4af7a;
  color: #202d25;
  box-shadow: inset 0 1px #eee9db33, 0 2px 5px #0002;
}
.expedition-heading .mode-switch .selected span { color: #26372a; }
.expedition-heading .mode-switch button:focus-visible { outline: 2px solid #eee9db; outline-offset: 1px; }

/* The mount sits outside the viewport, leaving node and branch colours intact. */
.game-grid > .tree-panel {
  border: 1px solid #ac97658c;
  border-radius: 6px;
  background-color: #1e2928;
  background-image: none;
  box-shadow: 0 14px 40px #0004, 0 0 0 3px #141d1d, 0 0 0 4px #ac976526;
}
.game-grid .tree-top {
  border-radius: 5px 5px 0 0;
  border-bottom: 0;
  background-color: #1e2928;
  background-image: linear-gradient(110deg, #ac97650c, transparent 70%);
  background-size: auto;
}
.game-grid .tree-top .eyebrow { color: #c6b383; font-size: 10px; letter-spacing: 1.5px; }
.game-grid .tree-top strong { color: #eee9db; font-weight: 500; font-size: 13px; }
.game-grid .tree-tools button {
  color: #dcdcc9;
  border-radius: 3px;
  background-color: #25362e;
  border-color: #ac976566;
  font-size: 12px;
}
.game-grid .zoom-controls { border-radius: 3px; border-color: #ac976566; }
.game-grid .zoom-controls button:first-child { border-radius: 2px 0 0 2px; }
.game-grid .zoom-controls button:last-child { border-radius: 0 2px 2px 0; }
.game-grid .zoom-controls button + button { border-color: #ac976566; }
.game-grid .tree-scroll {
  margin: 0 6px 6px;
  border: 1px solid #ac976559;
  border-radius: 2px;
  background-color: #293b31;
  background-image: radial-gradient(ellipse at 48% 0, #c6ac6820, transparent 65%),
    linear-gradient(90deg, #10241b22, transparent 15%, transparent 85%, #10241b22),
    linear-gradient(#293b31cc, #293b31cc), url('textures/matte-ink-v1.png');
  background-size: auto, auto, auto, 256px 256px;
  box-shadow: inset 0 1px 12px #101c1926;
}

/* Flat ink and parchment surfaces echo the journal's specimen labels. */
.game-grid .tree-panel > .guess-panel {
  padding: 24px;
  border-top: 1px solid #ac976580;
  border-radius: 0 0 5px 5px;
  background-color: #1e252b;
  background-image: linear-gradient(110deg, #ac976509, transparent 65%);
  background-size: auto;
  color: #eee9db;
}
.game-grid .guess-label {
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #ac97654d;
}
.game-grid .guess-label label { color: #d9c796; font-size: 10px; letter-spacing: 1.5px; }
.game-grid .guess-label > span { color: #c6c8b7; font-size: 12px; line-height: 1.5; }
.game-grid .guess-form input {
  border: 1px solid #b3a17b;
  border-radius: 3px;
  background: #ded5c0;
  color: #2e3c33;
  box-shadow: inset 0 1px 3px #0000000d;
}
.game-grid .guess-form input::placeholder { color: #51594b; }
.game-grid .guess-form input:focus-visible { outline: 2px solid #e1c58d; outline-offset: 3px; }
.game-grid .guess-form .primary-button { border-radius: 3px; border-color: #bd9267; }
.game-grid .guess-form .primary-button:hover { background-color: #9b5d3c; color: #fff2d8; }
.game-grid .guess-form > .guess-journal-link { color: #dfd2b2; font-size: 12px; }
.game-grid .guess-form .suggestions {
  border: 1px solid #9c8960;
  border-radius: 3px;
  background: #e4dcc9;
  color: #2e3c33;
  box-shadow: 0 10px 24px #0004;
  --muted: #51594b;
}
.game-grid .guess-form .suggestions button { border-color: #9c896059; }
.game-grid .guess-form .suggestions button:hover,
.game-grid .guess-form .suggestions button.highlight { background: #c7cfb6; }
.game-grid .guess-panel .compact-clues { padding-top: 20px; border-top: 1px solid #ac97654d; }
.game-grid .guess-panel .support-heading { color: #c6c8b7; font-size: 11px; }
.game-grid .guess-panel .support-heading > span:first-child { letter-spacing: .7px; }
.game-grid .guess-panel .compact-clues .small-count { color: #ddd5bb; border-color: #ac976566; border-radius: 3px; }
.game-grid .guess-panel .compact-clues .clue-row {
  position: relative;
  border: 1px solid #9c8960;
  border-radius: 3px;
  background-color: #d2c8af;
  background-image: linear-gradient(90deg, #ac976512, transparent 25%, transparent 75%, #ac976512);
  background-size: auto;
  color: #2e3c33;
}
.game-grid .guess-panel .compact-clues .clue-row::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid #ac97654d;
  pointer-events: none;
}
.game-grid .guess-panel .compact-clues .clue-text strong,
.game-grid .guess-panel .compact-clues .clue-value,
.game-grid .guess-panel .compact-clues .clue-prompt { color: #2e3c33; }
.game-grid .guess-panel .compact-clues .clue-text > span,
.game-grid .guess-panel .compact-clues .clue-state { color: #414d3d; }
.game-grid .guess-panel .compact-clues .clue-action:hover:not(:disabled) { background-color: #e0d5b8; border-color: #a48b52; }
.game-grid .guess-panel .compact-clues .clue-action.revealed:disabled { background-color: #c9c4a9; border-color: #96845b; }
.game-grid .guess-panel .expedition-actions button { border-radius: 3px; color: #dfd2b2; }

@media (max-width: 1100px) {
  .expedition-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .expedition-heading .expedition-setup { max-width: 680px; }
}
@media (max-width: 640px) {
  .expedition-heading .expedition-setup { grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: none; }
  .expedition-heading .mode-switch button { min-height: 50px; padding: 7px 8px; }
  .expedition-heading .roster-switch button { min-height: 50px; }
  .expedition-heading .roster-switch span { font-size: 11px; }
  .game-grid .tree-top { padding: 16px; gap: 12px; }
  .game-grid .tree-scroll { margin-inline: 4px; margin-bottom: 4px; }
  .game-grid .tree-panel > .guess-panel { padding: 20px 16px; }
  .game-grid .guess-label { align-items: flex-start; }
  .game-grid .guess-label > span { font-size: 11px; }
}
@media (max-width: 360px) {
  .game-grid .tree-top { padding-inline: 12px; }
  .game-grid .tree-panel > .guess-panel { padding-inline: 12px; }
}

/* Shared desktop heading depth keeps the first work surface on one baseline.
   Minimum height can grow for long titles/text zoom; small screens flow freely. */
@media (min-width: 1101px) {
  :root { --page-heading-height: 13rem; --page-heading-gap: 26px; }
  .page-heading,
  .custom-shell.custom-round > .page-heading {
    align-items: start;
    min-height: var(--page-heading-height);
    margin-bottom: var(--page-heading-gap);
  }
  .page-heading > div:first-child { align-self: start; }
  .custom-shell.custom-round > .page-heading h1 { margin-bottom: 12px; }
}


/* collection-labels.css */
/* The approved museum collection seal replaces the rectangular date label.
   Reset the legacy reward stamp styling on all three presentation surfaces. */
.collection-seal { --seal-ink: #365e67; }
.collection-seal[data-stamp-roster="expert"] { --seal-ink: #715321; }
.daily-stamp.collection-label[data-stamp-roster] {
  position: relative;
  inset: auto;
  display: inline-flex;
  flex: 0 0 auto;
  align-self: flex-start;
  width: 174px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--seal-ink);
  box-shadow: none;
  transform: none;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
}
.daily-stamp.collection-label::before { content: none; display: none; }
.collection-seal .collection-seal-art {
  display: block;
  width: 100%;
  height: auto;
  flex: none;
  overflow: visible;
}
.collection-seal-art text {
  fill: currentColor;
  stroke: none;
  text-anchor: middle;
}
.collection-seal-rim,
.collection-seal-flourish {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Slight breaks affect only the perimeter; lettering stays crisp. */
.collection-seal-rim { stroke-dasharray: 190 1.4 83 1 120 1.6; }
.collection-seal-heading { font: 600 12.5px var(--sans); letter-spacing: 1px; }
.collection-seal-day { font: 400 24px var(--serif); letter-spacing: .5px; }
.collection-seal-year { font: 400 23px var(--serif); letter-spacing: 1px; }
.collection-seal-undated { font-size: 18px; }
.collection-seal-name { font: 600 10px var(--sans); letter-spacing: 3.5px; }
.collection-seal-branch path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.collection-seal-branch circle { fill: currentColor; stroke: none; }

/* Compact catalogue impressions and brighter ink on the dark entry canvas. */
.journal-cards .card-discovery .daily-stamp.collection-label {
  width: 140px;
  align-self: center;
  margin: 0 0 0 auto;
  padding: 0;
}
.entry-heading .collection-seal { --seal-ink: #91b2ba; }
.entry-heading .collection-seal[data-stamp-roster="expert"] { --seal-ink: #d0ae6c; }
.entry-heading .daily-stamp.collection-label { margin: 4px 0 0; }

/* Keep the seal with the score, and let story and portrait size independently. */
.game-grid .result-panel { align-items: start; }
.game-grid .result-story .result-actions { margin-top: 0; }
.game-grid .result-scoreline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 20px;
  padding: 10px 0;
  border-block: 1px solid #a7977370;
}
.game-grid .result-scoreline .result-counts {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  gap: 8px 16px;
}
.game-grid .result-scoreline > .daily-stamp.collection-label {
  width: 132px;
  align-self: center;
  margin: 0;
  padding: 0;
}
.game-grid .discovery-portrait { align-self: start; min-height: 0; }
.game-grid .discovery-artwork {
  padding: 12px;
  border: 1px solid #a79773;
  border-radius: 3px;
  background: #d7ceb9;
}
.game-grid .discovery-portrait .reference-pictures figure {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.game-grid .discovery-portrait img { border-radius: 0; }
.game-grid .discovery-portrait .reference-pictures figcaption {
  padding: 10px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #51594b;
}
.game-grid .discovery-portrait .unillustrated-plate {
  min-height: var(--portrait-height);
  padding: 26px;
  border: 1px solid #b4a787;
  border-radius: 0;
  background: #e4dcc9;
  color: #51594b;
}
@media (max-width: 640px) {
  .game-grid .result-scoreline > .daily-stamp.collection-label { width: 122px; }
}

@keyframes collection-recorded {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}
.daily-stamp.collection-label.stamp-earned { animation: collection-recorded .35s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .daily-stamp.collection-label.stamp-earned { animation: none; }
}


/* premium.css */
.premium-page{max-width:1100px;margin:0 auto}.premium-page h1{max-width:18ch}.premium-status{padding:20px 24px;border:1px solid #665e45;border-left:3px solid #b6a06b;background:#24362e;margin:26px 0 30px;border-radius:3px}.premium-status p{margin:8px 0 0;color:#ddd7c5}.premium-offerings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.premium-offering{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:28px 24px;border:1px solid #665e4566;background:linear-gradient(145deg,#29372ed9,#1c2825);border-radius:4px;overflow:hidden}.premium-offering h2{font-size:32px;color:#e7ddc4;margin:8px 0 12px}.premium-offering>p:not(.eyebrow){color:#c9c9b9;line-height:1.7;flex:1}.premium-offering .eyebrow{padding-right:22px}.premium-number{position:absolute;right:14px;top:9px;color:#a58e5233;font:50px Georgia,serif}.premium-feature-status{border-top:1px solid #a5916044;padding-top:14px;width:100%;color:#c6b37d}.premium-footnote{margin:32px 0 12px;padding-top:20px;border-top:1px solid #a5916044;color:#b9bdad;line-height:1.7}.premium-footnote .action-link{display:inline-block;margin:12px 18px 12px 0}.custom-shell{max-width:1080px;margin:auto}.custom-builder{padding:26px;background:#24362e;border:1px solid #776844;border-radius:5px;max-width:720px}.custom-builder label{display:block;color:#e5dfcd;font-weight:700;margin:20px 0 8px}.custom-builder label:first-child{margin-top:0}.custom-builder input,.custom-builder select{width:100%;max-width:100%;min-height:48px;padding:10px 12px;border:1px solid #807654;border-radius:4px;background:#e3d7b6;color:#26362e;font:inherit}.custom-builder button[type=submit]{margin-top:22px}.custom-builder .search-wrap{position:relative}.custom-builder [role=listbox]{position:static;margin-top:5px}.custom-builder [role=option]{width:100%;text-align:left;padding:12px;background:#31473a;color:#eee5d1;border-bottom:1px solid #8a7b4c44}.custom-builder [role=option][aria-selected=true]{background:#d7c797;color:#20362a}.custom-help{font-size:14px;color:#bfc6b6;line-height:1.6}.custom-links{margin-top:38px}.custom-game-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid #9f8b5544}.custom-game-row>div{flex:1;min-width:180px}.custom-game-row strong{display:block;color:#e5ddc9}.custom-game-row small{display:block;color:#b6bda9;margin-top:5px}.custom-share{padding:22px;border:1px solid #b5a06a;background:#2b4034;margin:22px 0;max-width:720px}.custom-share input{display:block;width:100%;padding:12px;margin:12px 0;color:#e8dfc7;background:#14241f;border:1px solid #8d825e;border-radius:3px;font:inherit}.custom-round .tree-scroll{overflow-x:auto}.custom-round #custom-tree svg{display:block;margin:auto;max-width:100%;height:auto}.custom-round .guess-panel{border-top:1px solid #a18d5744}.custom-round .clue-card{padding:14px;background:#243a2d;border:1px solid #89794d66;border-radius:3px}.custom-round .clue-card span{display:block;margin-top:8px;color:#e1dac5}.custom-round .clue-card button{display:block;margin-top:10px}.custom-feedback{padding:20px 24px;background:#1d2c25;border-top:1px solid #a18d5744}.custom-feedback ol{padding-left:24px;max-height:240px;overflow:auto}.custom-feedback li{padding:5px 0;color:#c8cdbb}.custom-feedback .feedback-red{color:#d5a28b}.custom-feedback .feedback-yellow{color:#d5c17c}.custom-feedback .feedback-green{color:#b3d29c}.custom-feedback .eyebrow{margin-bottom:12px}.custom-error{color:#efc3a5;min-height:1.5em}.custom-loading{padding:28px;background:#22352b;border:1px solid #736545;border-radius:4px}.custom-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.custom-round .result-panel{display:block;padding:26px}.custom-round .result-panel h2{color:#ede2c4}.custom-round .clue-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.custom-round .map-heading{min-width:0}.custom-round .map-heading strong{overflow-wrap:anywhere}@media(max-width:760px){.premium-offerings{grid-template-columns:1fr}.premium-offering{padding:24px}.premium-offering h2{font-size:29px}.premium-status{padding:18px}.custom-builder{padding:20px 16px}.custom-round .clue-cards{grid-template-columns:1fr}.custom-round .clue-card{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center}.custom-round .clue-card span{grid-column:1/-1}.custom-round .clue-card button{margin:0;grid-column:2;grid-row:1}.custom-game-row{gap:10px}.custom-round .tree-top{gap:14px}.premium-page h1{font-size:clamp(35px,8vw,49px)}}
/* Archive catalogue trays share the green, parchment and brass palette. */
.archive-intro{border-radius:4px;background:#24362e;border-color:#8a785066}.archive-calendar{border-radius:4px;background:#202f28;border-color:#8a785066;color:#eee5cd}.archive-month-nav h2,.archive-weekdays,.archive-key{color:#ded7c0}.archive-month-nav button{border-radius:3px;border-color:#8a7850}.archive-day{border-radius:3px;background:#344738;border-color:#7b805b;color:#eee5ce}.archive-day.unplayed:hover{background:#435942;border-color:#c3ae73}.archive-day.in-progress{background:#4c6147;color:#fff0c9;border-color:#c3ae73}.archive-day.solved{background:#426b75;color:#fff0cf;border-color:#a8b5a0}.archive-calendar.expert .archive-day.solved{background:#b7a16a;color:#1f3227;border-color:#dfcea3}.archive-day.ended{background:#3a3730;border-color:#8a7454;color:#cfc6b0}.archive-day.unavailable{background:#1b2721;border-color:#3c4c3e;color:#9ca590}.archive-day.archive-today{background:#25382c;border-color:#ab9c6a;color:#ded7bc}.archive-key span::before{background:#344738;border-color:#7b805b}.archive-key .in-progress::before{background:#4c6147;border-color:#c3ae73}.archive-key .ended::before{background:#3a3730;border-color:#8a7454}.archive-continue{border-radius:3px;background:#c7b581;color:#24362a}.archive-return-bar button{border-radius:3px;border-color:#a18f60}.archive-return-bar #archive-today{background:#e0d3b1;color:#26382c;border-color:#ab9a6a}.custom-links>h2{color:#e6ddc6}.custom-round .sidebar .custom-help{color:#536052}

.custom-round .tree-node{cursor:pointer}.custom-round .tree-node .tree-label{stroke-width:1.5}.custom-round .tree-node[aria-pressed=true] .tree-label{stroke:#fff;stroke-width:1.5;filter:none}.custom-round .tree-name,.custom-round .guess-number{font-family:system-ui,sans-serif}.custom-round .tree-node:focus-visible{outline:none}

.custom-shell h1{overflow-wrap:anywhere}.custom-round .tree-node.folded-branch text{fill:#eee5cf}.custom-round .tree-node.mystery-node text{fill:#eee5cf}
/* These pages have one leading text column, unlike the game settings grid. */
.premium-page>.page-heading,.custom-shell>.page-heading{display:block;min-height:0;max-width:850px}.premium-page>.page-heading>.eyebrow,.custom-shell>.page-heading>.eyebrow{margin:0 0 14px}.premium-page>.page-heading h1{max-width:22ch}.premium-page .premium-status>.eyebrow,.premium-page .premium-offering>.eyebrow{color:#c3af79}.custom-shell>.page-heading .intro{max-width:670px}.custom-builder{max-width:850px}.custom-builder-section{min-width:0;border:0;border-top:1px solid #a3915b55;padding:24px 0 0;margin:26px 0 0}.custom-builder-section>legend{padding:0 10px 0 0;color:#e9dfc7;font-weight:650;font-size:16px}.custom-builder .custom-roster-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,390px);gap:5px;padding:5px;border:1px solid #8e7a4c;border-radius:4px;background:#1c2b24}.custom-roster-toggle button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:66px;padding:10px 14px;border:1px solid #6e7956;border-radius:2px;background:#344738;color:#eee5cf;font-family:var(--sans)}.custom-roster-toggle button strong{font-size:14px;font-weight:650}.custom-roster-toggle button span{font-size:12px;color:#d0d2bc;white-space:normal}.custom-roster-toggle button[aria-pressed=true]{background:#c0aa74;color:#26372b;border-color:#e0d0a7}.custom-roster-toggle button[aria-pressed=true] span{color:#26372b}.custom-selection-toggle{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.custom-selection-toggle button{background:#344738;color:#eee5cf;border:1px solid #a28d5b;border-radius:3px;min-height:44px;padding:10px 15px;font:600 14px var(--sans)}.custom-selection-toggle button[aria-pressed=true]{background:#d8cba9;color:#26372b}.custom-builder .custom-round-row{display:grid;grid-template-columns:65px minmax(0,1fr) auto;align-items:start;gap:10px;padding:12px 0;border-bottom:1px solid #8a805144}.custom-round-row>label{margin:14px 0 0!important;font-size:13px;white-space:nowrap}.custom-round-tools{display:flex;align-items:center;gap:5px}.custom-round-tools button{min-height:44px;padding:9px}.custom-round-tools .action-link{color:#ddd1ab;font-size:12px}.custom-builder #custom-add-round{margin-top:16px}.custom-filter-grid,.custom-rules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px}.custom-filter-grid>div,.custom-rules-grid>div{min-width:0}.custom-filter-grid label,.custom-rules-grid label{margin:0 0 8px}.custom-filter-grid select{appearance:auto}.custom-builder input[type=number]{max-width:150px}.custom-builder .custom-check{display:flex;align-items:center;gap:10px;min-height:48px;margin-top:24px;cursor:pointer}.custom-builder input[type=checkbox]{width:21px;height:21px;min-height:21px;flex:0 0 21px;padding:0;margin:0;accent-color:#c5ab71}.custom-rules-grid .custom-help{margin:8px 0 0}.custom-builder-summary,.custom-candidate-count{color:#e3d6b2;font-size:14px;line-height:1.6}.custom-builder-summary{border-top:1px solid #9b875255;margin:24px 0 12px;padding-top:18px;font-weight:600}.custom-random-rounds{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px;margin:18px 0 0}.custom-random-rounds>span{display:block;border:1px solid #94805666;background:#1e3026;padding:12px;color:#dfd2ad;font-size:13px}.custom-random-rounds small{display:block;font-size:11px;color:#bdc3ae;margin-top:5px}.custom-builder button:disabled{opacity:.5;cursor:default}.custom-builder button:focus-visible{outline:2px solid #eee5cb;outline-offset:3px}.custom-scope{color:#d7c18c}.custom-series-results{border-top:1px solid #a18d5744;padding:22px 24px;background:#24392c;color:#e4dcc5}.custom-series-results h2{color:#eae0c5;font-size:28px}.custom-series-results ol{padding:0;list-style:none;margin:15px 0 0}.custom-series-results li{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;line-height:1.7;padding:10px 0;border-top:1px solid #9e8d5844}.custom-series-results li>span:last-child{color:#c8cdb6}.custom-round #custom-next-round{margin:8px 0 18px}.custom-round .custom-no-clues{color:#c9cbb8}.custom-game-row small{line-height:1.7}
@media(max-width:620px){.custom-builder{padding:20px 16px}.custom-filter-grid,.custom-rules-grid{gap:15px}.custom-builder .custom-round-row{grid-template-columns:1fr;gap:7px;padding-block:16px}.custom-round-row>label{margin:0!important}.custom-round-tools{justify-content:flex-end}.custom-round-tools .action-link{margin-left:5px}.custom-builder .custom-check{margin-top:23px}.custom-roster-toggle button{padding:10px 8px}.custom-roster-toggle button span{font-size:11px}.custom-series-results{padding:20px 16px}.custom-selection-toggle button{flex:1;min-width:120px}}@media(max-width:380px){.custom-filter-grid,.custom-rules-grid{grid-template-columns:1fr}.custom-builder .custom-check{margin-top:0}}
.custom-settings-label{margin:0 0 8px;color:#e5dfcd;font-weight:700}.custom-clue-options{display:flex;flex-wrap:wrap;gap:4px 16px}.custom-builder .custom-clue-options .custom-check{margin:0;min-height:44px}.custom-clue-options .custom-check span{font-size:14px}.custom-round .clue-cards{grid-template-columns:repeat(var(--custom-clue-columns,3),minmax(0,1fr))}@media(max-width:760px){.custom-round .clue-cards{grid-template-columns:1fr}}
.custom-ranked-choice{display:flex;align-items:center;gap:10px;margin:20px 0 8px;color:#e7dfc8;font-weight:600;cursor:pointer}.custom-ranked-choice input{width:20px;height:20px;margin:0;accent-color:#bca46b;flex-shrink:0}.custom-attempt-status{margin:-8px 0 22px;color:#c8cdb9;font-size:13px;line-height:1.7}.custom-leaderboard{padding:24px;background:#1e3027;border-top:1px solid #a5916055;color:#e7dfc8}.custom-board-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}.custom-board-heading .eyebrow{margin:0 0 7px;color:#c2ad78}.custom-board-heading h2{color:#e9dfc6;font-size:28px;margin:0}.custom-board-heading button{flex-shrink:0}.custom-board-status{font-size:13px;color:#c9cbb7;line-height:1.6}.custom-board-scroll{max-width:100%;overflow-x:auto;margin-top:18px;scrollbar-color:#a69260 #263b2d}.custom-board-table{border-collapse:separate;border-spacing:0;width:100%;min-width:400px;font-family:var(--sans);font-size:13px;color:#e8e0c9}.custom-board-table th,.custom-board-table td{padding:13px 10px;border-block-end:1px solid #87915e44;text-align:right;vertical-align:middle}.custom-board-table thead th{font-size:11px;color:#bebfa6;white-space:nowrap;font-weight:650}.custom-board-table th[scope=row]{text-align:left;overflow-wrap:anywhere;max-width:190px;font-size:14px;font-weight:600;color:#eee4cd}.custom-board-table thead th:nth-child(2){text-align:left}.custom-board-table th:first-child,.custom-board-table td:first-child{text-align:center;width:45px}.custom-board-self th,.custom-board-self td{background:#344738;border-block:1px solid #a58d57;color:#f0e6cd}.custom-board-self td:first-child{border-inline-start:1px solid #a58d57}.custom-board-self td:last-child{border-inline-end:1px solid #a58d57}.custom-board-empty,.custom-board-message{padding:14px 0;color:#d5d4bf;line-height:1.7}.custom-leaderboard .custom-board-scoring{margin:16px 0 0;font-size:12px;line-height:1.7;color:#bfc4ae}@media(max-width:620px){.custom-leaderboard{padding:22px 16px}.custom-board-table th,.custom-board-table td{padding:12px 8px}.custom-board-heading{gap:12px}.custom-board-heading h2{font-size:25px}}


/* advertising.css */
/* The game redraws inside this wrapper; the advertising element stays mounted. */
#app-content{display:contents}
#meso-advertisement[hidden],#advertising-privacy[hidden]{display:none!important}
#meso-advertisement{align-self:start;min-width:0;max-width:100%;padding:0;text-align:center;color:#c5c5b1}
.advertising-label{margin:0 0 10px;font:10px/1.4 system-ui,sans-serif;letter-spacing:.15em;text-transform:uppercase}
.advertising-mount{width:100%;max-width:336px;min-height:250px;margin:0 auto}
#meso-advertisement[data-preview] .advertising-mount{display:grid;place-items:center;border:1px solid #ac976566;background:#29362f66;color:#c5c5b1;font:14px/1.5 system-ui,sans-serif;box-sizing:border-box}
@media(min-width:1001px){
 #app.has-ad-placement{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:max-content min-content minmax(0,1fr);gap:24px}
 #app.has-ad-placement .page-heading,#app.has-ad-placement .archive-return-bar,#app.has-ad-placement .storage-warning{grid-column:1/-1}
 #app.has-ad-placement .page-heading{margin-bottom:0}
 #app.has-ad-placement .game-grid{display:contents}
 #app.has-ad-placement .game-grid>.tree-panel{grid-column:1;grid-row:2/4;align-self:start}
 #app.has-ad-placement .game-grid>.sidebar{grid-column:2;grid-row:2;align-self:start}
 #app.has-ad-placement>#meso-advertisement{grid-column:2;grid-row:3}
 #app.has-ad-placement:has(.archive-return-bar) .game-grid>.tree-panel{grid-row:3/5}
 #app.has-ad-placement:has(.archive-return-bar) .game-grid>.sidebar{grid-row:3}
 #app.has-ad-placement:has(.archive-return-bar)>#meso-advertisement{grid-row:4}
 #app.has-ad-placement:has(.storage-warning) .game-grid>.tree-panel{grid-row:3/5}
 #app.has-ad-placement:has(.storage-warning) .game-grid>.sidebar{grid-row:3}
 #app.has-ad-placement:has(.storage-warning)>#meso-advertisement{grid-row:4}
}
@media(min-width:1001px) and (max-width:1100px){#app.has-ad-placement{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:1000px){
 #app.has-result-ad-placement{display:flex;flex-direction:column;gap:24px}
 #app.has-result-ad-placement .page-heading{margin-bottom:0}
 #app.has-result-ad-placement .game-grid{display:contents}
 #app.has-result-ad-placement .game-grid>.tree-panel{order:1}
 #app.has-result-ad-placement>#meso-advertisement{order:2}
 #app.has-result-ad-placement .game-grid>.sidebar{order:3}
 /* 128px margin + 24px parent gap keeps the ad clear of the play panel. */
 #meso-advertisement{width:100%;box-sizing:border-box;margin-top:128px;padding:0 0 16px}
 #meso-advertisement .advertising-mount{width:320px;min-height:50px;height:50px;max-width:none}
 #meso-advertisement[data-preview] .advertising-mount{font-size:12px}
}


/* result-layout.css */
/* A concise completion card beneath the map; dinosaur details stay in notes. */
.game-grid.expedition-complete{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start;}
.game-grid.expedition-complete>.tree-panel{grid-column:1;min-width:0;width:100%;}
.game-grid.expedition-complete>.completion-notes{grid-column:2;min-width:0;}
.game-grid.expedition-complete .result-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.85fr);align-items:center;gap:16px 24px;width:auto;min-width:0;margin:16px 20px 20px;padding:20px;border:1px solid #9e8855;border-radius:4px;background-color:#eae1cc;color:#2f402f;--ink:#2f402f;--muted:#536048;--focus-ring:#3f513a;}
.game-grid.expedition-complete .result-story{min-width:0;width:100%;}
.game-grid.expedition-complete .result-story h2{font-size:28px;line-height:1.25;overflow-wrap:anywhere;color:#2f402f;}
.game-grid .result-story .eyebrow{font-size:10px;letter-spacing:1.5px;line-height:1.6;}
.game-grid .result-story .result-message{margin-bottom:8px;}
.game-grid .result-scoreline{margin:0;padding:8px 0;gap:12px;flex-wrap:wrap;}
.game-grid .result-scoreline .result-counts{margin:0;display:flex;gap:14px;flex-wrap:wrap;}
.game-grid .result-counts>span{display:flex;flex-direction:row;gap:6px;align-items:baseline;}
.game-grid .result-counts strong{font:28px/1 var(--serif);margin:0;color:#2f402f;}
.game-grid .result-counts>span>span{color:#536048;}
.game-grid .result-celebration{display:flex;justify-content:center;margin:0 0 16px;}
.game-grid .result-celebration>.daily-stamp.collection-label{width:174px;max-width:100%;align-self:center;}
.game-grid .result-continuation{min-width:0;width:100%;}
.game-grid .result-continuation .result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:0;}
.game-grid .result-actions>.primary-button,.game-grid .result-actions>.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;padding:12px 10px;text-align:center;font-size:14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;grid-column:auto;}
.game-grid .result-actions>#next-practice{grid-column:1/-1;}
.game-grid .result-panel #next-practice{background:#4c5841;border:1px solid #c2aa70;color:#eee7d7;font-weight:600;}
.game-grid .result-panel #next-practice:hover{background:#5a674c;border-color:#d1ba7f;}
.game-grid .result-story .social-result{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;margin:0;font-size:12px;line-height:1.6;}
.game-grid .result-story .social-result .action-link{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;font-size:14px;color:#2f402f;text-align:left;text-underline-offset:3px;}
.game-grid .social-result [role=status]{color:#536048;}
.game-grid .result-continuation .guest-save-note{margin-top:12px;}
/* One parchment surface for field notes before and after completion. */
.game-grid .field-note-panel{margin:0;padding:18px;border:1px solid #9e8855;border-radius:4px;background-color:#eae1cc;background-image:url('textures/paper-grain-v2.png');background-size:192px 192px;box-shadow:none;}
.game-grid.expedition-complete .completion-notes .result-discovery-info{display:block;margin:0;padding:0;border:0;}
.game-grid.expedition-complete .completion-notes .discovery-portrait{display:block;order:0;min-height:0;width:100%;max-width:none;}
.game-grid.expedition-complete .completion-notes .reference-pictures{float:none;width:100%;margin:0;}
.game-grid.expedition-complete .completion-notes .discovery-portrait img{height:auto;max-height:320px;object-fit:contain;}
.game-grid.expedition-complete .completion-notes .discovery-portrait .media-loading{height:220px;}
.game-grid.expedition-complete .completion-notes .result-discovery-info .overview-source{font-size:12px;line-height:1.6;}
.game-grid.expedition-complete .completion-notes .return-discovery{display:inline-flex;align-items:center;min-height:44px;margin-bottom:8px;text-align:left;white-space:normal;color:#365347;}
.game-grid.expedition-complete :is(.result-panel,.completion-notes) :is(button,a):focus-visible{outline:2px solid #2f402f;outline-offset:3px;}
@media(min-width:961px) and (max-width:1100px){
 .game-grid.expedition-complete{grid-template-columns:minmax(0,1fr) 300px;}
}
@media(max-width:960px){
 .game-grid.expedition-complete{display:flex;flex-direction:column;gap:20px;}
 .game-grid.expedition-complete>.completion-notes{width:100%;}
}
@media(max-width:640px){
 .game-grid.expedition-complete .result-panel{grid-template-columns:minmax(0,1fr);margin:12px 12px 16px;padding:18px;gap:14px;}
}
.game-grid .guess-panel .expedition-actions #restart-practice{background:#4c5841;color:#eee7d7;border-color:#c2aa70;}
.game-grid .guess-panel .expedition-actions #restart-practice:hover{background:#5a674c;border-color:#d1ba7f;}

/* Desktop keeps complete notes beside the map; narrow screens use one card. */
.game-grid .discovery-details>summary{display:none;min-height:44px;align-content:center;font-size:14px;cursor:pointer;color:#2f402f;}
.game-grid .discovery-details>summary:focus-visible{outline:2px solid #2f402f;outline-offset:3px;}
@media(max-width:960px){
 .game-grid.expedition-complete .result-panel{grid-template-columns:minmax(0,1fr);}
 .game-grid.expedition-complete.completion-unified .completion-notes{grid-column:1/-1;width:100%;border-top:1px solid #9e885570;padding-top:18px;}
 .game-grid.expedition-complete.completion-unified .completion-notes .field-note-panel{padding:0;border:0;border-radius:0;background:none;}
 .game-grid.expedition-complete.completion-unified .completion-notes .discovery-details>summary{display:list-item;margin-left:18px;}
 .game-grid.expedition-complete.completion-unified .completion-notes .field-note-panel[data-discovery="true"]>.field-note-heading{display:none;}
}

/* Concise field notes leave space for the existing supporting advert slot. */
.game-grid .field-note-panel .field-note-heading{padding-bottom:10px;margin-bottom:12px;}
.game-grid .field-note-panel .field-note-heading h2{margin:0;}
.game-grid .field-note-panel .reference-pictures img{height:auto;max-height:220px;object-fit:contain;}
.game-grid .field-note-panel .media-loading{height:220px;}
.game-grid .field-note-panel .unillustrated-plate{min-height:220px;padding:20px;}
.game-grid.expedition-complete .completion-notes .discovery-portrait img{max-height:220px;}
.game-grid.expedition-complete .completion-notes .discovery-portrait .media-loading{height:220px;}
@media(min-width:961px){
 .game-grid .tree-top{padding:14px 18px;}
 .game-grid .tree-scroll{padding-block:14px 18px;}
}
@media(max-width:960px){
 .game-grid.expedition-complete.completion-unified .completion-notes .field-note-panel{padding:0;}
}

/* One short credit row; full attribution stays in the links and their titles. */
.game-grid .field-note-panel .reference-pictures .compact-picture-caption{display:flex;align-items:baseline;gap:5px;min-width:0;padding:5px 8px;font-size:11px;line-height:1.5;white-space:nowrap;overflow:hidden;}
.game-grid .field-note-panel .compact-picture-caption .picture-author{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.game-grid .field-note-panel .compact-picture-caption .picture-license,.game-grid .field-note-panel .compact-picture-caption>span{flex:0 0 auto;white-space:nowrap;}

.game-grid .field-note-classification{margin:8px 0 0;font-size:11px;line-height:1.5;color:#536048;}
.game-grid .field-note-classification a{color:inherit;text-underline-offset:2px;}

/* Mobile completion: outcome, score, one portrait, reward/actions, then reading. */
.game-grid .result-mobile-note{display:none;}
@media(max-width:960px){
 .game-grid.expedition-complete.completion-unified>.tree-panel{border:0;box-shadow:none;background:none;}
 .game-grid.expedition-complete.completion-unified .result-panel{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin:12px 0 0;padding:18px;}
 .game-grid.expedition-complete.completion-unified .result-panel>*{order:0;grid-row:auto;}
 .game-grid.expedition-complete.completion-unified .result-story .eyebrow{margin:0 0 6px;}
 .game-grid.expedition-complete.completion-unified .result-story h2{margin:0 0 8px;font-size:clamp(25px,6vw,32px);line-height:1.2;}
 .game-grid.expedition-complete.completion-unified .result-message{display:none;}
 .game-grid.expedition-complete.completion-unified .result-scoreline{padding:0;}
 .game-grid.expedition-complete.completion-unified .result-counts{width:auto;padding:0;border:0;font-size:14px;gap:16px;}
 .game-grid.expedition-complete.completion-unified .result-counts strong{font-size:22px;}
 .game-grid.expedition-complete.completion-unified .completion-portrait{display:block;min-height:0;width:100%;max-width:none;}
 .game-grid.expedition-complete.completion-unified .completion-portrait .reference-pictures{float:none;width:100%;margin:0;}
 .game-grid.expedition-complete.completion-unified .completion-portrait .reference-pictures figure{margin:0;padding:0;border:0;box-shadow:none;}
 .game-grid.expedition-complete.completion-unified .completion-portrait img{display:block;width:100%;height:auto;max-height:220px;object-fit:contain;}
 .game-grid.expedition-complete.completion-unified .completion-portrait .media-loading{height:220px;}
 .game-grid.expedition-complete.completion-unified .completion-portrait .unillustrated-plate{min-height:160px;}
 .game-grid.expedition-complete.completion-unified .completion-portrait .compact-picture-caption{display:flex;align-items:baseline;gap:5px;min-width:0;padding:5px 0;font-size:11px;line-height:1.5;white-space:nowrap;overflow:hidden;}
 .game-grid.expedition-complete.completion-unified .completion-portrait .picture-author{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
 .game-grid.expedition-complete.completion-unified .completion-portrait .picture-license{flex:0 0 auto;}
 .game-grid.expedition-complete.completion-unified .result-celebration{flex-direction:column;align-items:center;gap:6px;margin:0 0 16px;}
 .game-grid.expedition-complete.completion-unified .result-celebration>.daily-stamp{margin:0;}
 .game-grid.expedition-complete.completion-unified .result-mobile-note{display:block;margin:0;font-size:13px;line-height:1.5;color:#536048;}
 .game-grid.expedition-complete.completion-unified .result-actions{grid-template-columns:minmax(0,1fr);gap:8px;}
 .game-grid.expedition-complete.completion-unified .result-journal-action{display:none;}
 .game-grid.expedition-complete.completion-unified .result-continuation>.social-result{display:flex;flex-direction:column;align-items:flex-start;margin:8px 0 0;gap:0;font-size:12px;}
 .game-grid.expedition-complete.completion-unified .result-continuation>.result-mobile-note{margin:0 0 12px;}
 .game-grid.expedition-complete.completion-unified .social-result .action-link{min-height:44px;padding:8px 0;font-size:13px;}
 .game-grid.expedition-complete.completion-unified #social-daily-status:empty,
 .game-grid.expedition-complete.completion-unified #social-daily-status[data-state="other-device"]{display:none;}
 .game-grid.expedition-complete.completion-unified .completion-notes{padding-top:8px;}
 .game-grid.expedition-complete.completion-unified :is(.discovery-details,.completion-branch-details)>summary{display:list-item;min-height:44px;margin-left:18px;align-content:center;font-size:14px;line-height:1.5;cursor:pointer;}
 .game-grid.expedition-complete.completion-unified .completion-branch-details .field-note-heading{display:none;}
 .game-grid.expedition-complete.completion-unified .field-note-actions{gap:8px 16px;margin-top:12px;}
}


/* updates-dialog.css */
.updates-dialog{width:min(620px,calc(100% - 32px));max-width:620px;max-height:calc(100dvh - 40px);padding:34px 34px 26px;overflow-y:auto;background:#e9e1cd;color:#2c3d2d;border:1px solid #ad9b70;border-radius:8px;box-shadow:0 25px 100px #0008;}
.updates-dialog::backdrop{background:#101c17cc;}
.updates-dialog .modal-content h2,.updates-panel h2{color:#2c3d2d;}
.updates-panel .eyebrow{color:#6d603e;}
.updates-panel h2[tabindex="-1"]:focus{outline:none;}
.help-panel h2[tabindex="-1"]:focus{outline:none;}
.help-panel .eyebrow{color:#6d603e;}
.updates-panel .update-entry summary{min-height:64px;}
.updates-panel .update-entry h3{color:#2c3d2d;}
.updates-panel .update-entry li{color:#3b4837;line-height:1.7;}
.updates-panel .update-entry time{color:#5d644e;}
.updates-panel .secondary-button{background:#344738;color:#eee5cf;border:1px solid #9a8757;}
.header-support{position:relative;flex:0 0 auto;}
.header-support-actions{display:flex;align-items:center;gap:18px;}
.meso-header .header-utilities .header-support-toggle{display:none;}
.meso-header .header-utilities .updates-nav{gap:0;}
@media(max-width:1150px){.header-support-actions{gap:14px;}}
@media(max-width:600px){
 .meso-header .header-utilities .header-support-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:0;}
 .header-support-toggle .support-toggle-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
 .header-support .header-support-actions{display:none;position:absolute;right:0;top:calc(100% + 8px);z-index:50;min-width:210px;max-width:calc(100vw - 32px);padding:6px;background:#25372e;border:1px solid #b39a64;border-radius:4px;box-shadow:0 12px 35px #0007;}
 .header-support[data-open] .header-support-actions{display:flex;flex-direction:column;align-items:stretch;gap:2px;}
 .meso-header .header-support-actions .nav-button{justify-content:flex-start;min-height:46px;width:100%;padding:10px 14px;font-size:14px;text-align:left;}
 .meso-header .header-support-actions .nav-button:hover,.meso-header .header-support-actions .nav-button:focus-visible{background:#3a4a37;}
 .header-support-toggle.has-unread-updates .updates-unread-dot{position:absolute;right:5px;top:5px;display:block;margin:0;}
 .updates-dialog{padding:30px 22px 22px;max-height:calc(100dvh - 24px);}
}


/* member-controls.css */
.social-custom-games .social-section-heading{align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:14px}
.social-custom-games .social-section-heading h2{margin:0}
.social-custom-games .social-section-heading>a{min-height:44px;display:inline-flex;align-items:center;padding:10px 14px;white-space:normal;text-align:center}
.friends-custom-links{margin-top:16px;min-width:0}
.friends-custom-links summary{min-height:44px;align-content:center;cursor:pointer}
.friends-custom-links>ul{list-style:none;margin:8px 0 12px;padding:0;max-height:320px;overflow:auto;scrollbar-gutter:stable;scrollbar-color:var(--rust) var(--sand-input)}
.friends-custom-links li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--sand-rule)}
.friends-custom-links li>div{min-width:0;overflow-wrap:anywhere}
.friends-custom-links li a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.friends-custom-links small{display:block;font-size:13px;line-height:1.6;color:var(--muted)}
.friends-custom-links button{flex-shrink:0;min-height:44px}
.friends-custom-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.dustlight-account .society-billing{margin-top:18px;padding-top:18px;border-top:1px solid #ac976566;color:#eee9db}
.dustlight-account .society-billing h4{margin:0 0 10px;font-size:20px;color:#eee9db}
.dustlight-account .society-billing p{color:#c9ccbb;font-size:14px;line-height:1.65}
.dustlight-account .society-billing [role=status]:empty{display:none}
.dustlight-account .society-billing .action-link{color:#e5d3a4;min-height:44px;display:inline-flex;align-items:center;white-space:normal}
.dustlight-account .society-billing button{min-height:44px;max-width:100%;white-space:normal}
.social-custom-games :focus-visible{outline:2px solid var(--rust);outline-offset:3px}
@media(max-width:440px){.friends-custom-links li{align-items:flex-start;flex-direction:column;gap:8px}.friends-custom-links button{align-self:flex-start}}

/* Custom Games shares the Daily leaderboard's green surface. */
#friends-content .social-custom-games small{color:var(--muted-on-ink)}
#friends-content .social-custom-games a,#friends-content .social-custom-games .action-link{color:var(--on-ink)}
#friends-content .social-custom-games .secondary-button{background:#d7ceb9;color:#2e3c33;border-color:#9c8960;text-decoration:none}
#friends-content .social-custom-games .secondary-button:hover{background:#e4dcc9;color:#2e3c33;text-decoration:none}
#friends-content .social-custom-games li{border-color:#b8aa8755}
#friends-content .social-custom-games :focus-visible{outline-color:#f4d99e}
#friends-content #copy-profile-link{min-width:180px}

/* Keep friend management together beside the Daily and Custom Games panels. */
#friends-content .social-connections h2{margin:0 0 18px}
.social-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:end;margin:0 0 16px}
.social-search-form label{grid-column:1/-1;font-size:14px;font-weight:600}
.social-search-form input{min-width:0;width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--sand-rule);border-radius:4px;background:#f4eddd;color:#26392e;font:inherit}
.social-search-form button{min-height:44px;white-space:normal;margin:0}
#friend-search-result:empty{display:none}
#friend-search-result{margin:12px 0 20px;overflow-wrap:anywhere}
.social-connection-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:20px;border-bottom:1px solid var(--sand-rule);padding-bottom:7px}
.social-connection-tabs [role=tab]{min-width:0;min-height:48px;padding:9px 5px;background:transparent;color:#3a493b;border:1px solid transparent;border-radius:7px;font:600 13px var(--sans);white-space:normal;line-height:1.5}
.social-connection-tabs [role=tab][aria-selected=true]{background:#344738;color:#eee5cf;border-color:#a38a5c}
.social-connection-tabs :is(.social-count,.meso-friends-count){font-size:11px;background:transparent;padding:0 0 0 3px;border-radius:0;white-space:nowrap}
.social-connections [role=tabpanel][hidden]{display:none}
.social-connections [role=tabpanel]{display:flow-root;min-height:380px}
.social-list-scroll{max-height:380px;overflow:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--rust) var(--sand-input);overscroll-behavior:contain;padding:0 16px 12px 12px}
.social-connections .social-people{margin:4px 0 0}
.social-list-empty{margin:20px 0 0;font-size:14px;line-height:1.7}
#friends-content .social-table-wrap{max-height:520px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#a69260 #263b2d}
#friends-content .social-table{border-collapse:separate;border-spacing:0}
#friends-content .social-table thead th{position:sticky;top:0;z-index:1;background:#26392e;color:#eee7d3}
.social-list-scroll:focus-visible,.social-table-wrap:focus-visible,.social-connection-tabs [role=tab]:focus-visible{outline:2px solid #a38a5c;outline-offset:3px}
@media(max-width:760px){#friends-content .social-table-wrap{max-height:400px}.social-list-scroll{max-height:320px}.social-connections [role=tabpanel]{min-height:320px}}

.friends-custom-links li{flex-wrap:wrap;}
.friends-custom-links li>div:first-child{flex:1 1 160px;}
.friends-custom-actions>a{justify-content:center;text-decoration:none;}
.social-leading .friends-custom-actions .secondary-button{padding:10px 14px;background:#d7ceb9;color:#2e3c33;border:1px solid #9c8960;text-decoration:none;border-radius:7px;}
.friends-custom-links li>.friends-custom-confirm{box-sizing:border-box;flex:1 1 100%;padding:16px;border:1px solid #b48655;border-radius:5px;}
.friends-custom-confirm p{margin:0 0 12px;}
.friends-custom-confirm [data-close-error]:empty{display:none;}
.friends-custom-confirm [data-close-error]{margin:12px 0 0;}


/* guess-panel-view.css */
@media(min-width:601px){.compact-clues .clue-grid{grid-template-columns:repeat(var(--field-support-count,3),minmax(0,1fr))}}

/* Guess submission retains the approved olive/bronze treatment. */
.game-grid .guess-panel .guess-form > .primary-button{background:#4c5841;background-image:none;color:#eee7d7;border-color:#c2aa70;}
.game-grid .guess-panel .guess-form > .primary-button:hover{background:#5a674c;border-color:#d1ba7f;color:#eee7d7;}

/* Written feedback complements the existing tree colours without a new panel. */
.game-grid .guess-panel .guess-feedback{margin:8px 0 16px;color:#eee7d7;font:400 14px/1.6 var(--sans);overflow-wrap:anywhere;}

.branch-review-guess .branch-review-feedback{font-size:14px;line-height:1.5;}


/* account-page.css */
/* Account controls lead; the green record panel is a compact companion. */
.account-page{--ink:#2e3c33;--muted:#51594b;max-width:none;margin:0 auto;color:#eee7d3}
.account-page .account-back{display:inline-flex;align-items:center;min-height:44px;color:#e3d5ae;text-decoration:none;margin-bottom:8px}
.account-page .account-back:hover{text-decoration:underline}
.account-page>.page-heading{display:block;min-height:0;margin-bottom:26px}
.account-page>.page-heading h1{min-height:0;color:#eee7d3;margin:0;font-size:clamp(36px,3.8vw,48px);line-height:1.12;letter-spacing:-1.5px}
.account-overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px;align-items:stretch;margin-bottom:24px}
.account-panel{background:#e7e0cd;border:1px solid #a9956a;border-radius:5px;padding:24px;color:#2e3c33;min-width:0}
.account-panel h2{color:#2e3c33}
.account-panel p,.account-panel label,.account-panel summary{color:#3e4c3f}
.account-profile-identity{display:flex;align-items:center;gap:24px;margin-bottom:18px;min-width:0}
.account-profile-identity h2{font-size:30px;overflow-wrap:anywhere;min-width:0;margin:0}
.account-page .society-profile-controls .account-details{padding:12px 0;margin:0}
.account-page .account-security .account-details{margin:0;padding:12px 0;border-top:1px solid #9c896066}
.account-security .account-details summary{min-height:38px;align-content:center;cursor:pointer}
.account-security .auth-form{max-width:560px}
.account-page-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:16px}
.account-page #clear-journal-progress{color:#804b31;min-height:44px}
.account-page .account-overview .society-card{margin:0;padding:28px;border-radius:5px;background:#192b39;color:#f2e9d9;border-color:#ba945c}
.account-page .account-membership-card .society-brand{padding:0;background:none;border:0;margin:0 0 24px;border-radius:0}
.account-page .society-wordmark{width:min(100%,300px)}
.account-page .account-membership-card .society-billing{border:0;margin:0;padding:0}
.account-page .account-membership-card h2,.account-page .account-membership-card h4{color:#f2e9d9;font-family:var(--serif);font-weight:400;font-size:25px}
.account-page .account-membership-card p{color:#d0d9df}
.account-page #account-social>p{padding:24px;border:1px solid #ba945c;border-radius:5px;background:#192b39;color:#f2e9d9;margin:0}
.account-page .account-membership-card .action-link{color:#e4c18b}
.account-page .account-membership-card .secondary-button{background:#2d4759;border-color:#ba945c;color:#f2e9d9}
.account-page .account-membership-card .secondary-button:hover{background:#3b596d}
.account-statistics.account-panel{margin:0;background:#293e31 url('textures/matte-ink-v1.png') repeat;background-size:256px 256px;border-color:#85936a;color:#eee7d3}
.account-statistics-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.account-page .account-statistics-heading h2{margin:0;font-size:27px;color:#eee7d3}
.account-roster-switch{display:flex;gap:6px}
.account-page .account-roster-switch button{min-height:42px;padding:9px 15px;background:#4c5841;color:#eee7d3;border:1px solid #9c8960;border-radius:7px;font-weight:600}
.account-page .account-roster-switch button[aria-pressed=true]{background:#ac9765;color:#23372a;border-color:#bda875}
.account-stat-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.25fr);gap:24px;align-items:start}
.account-stat-period+.account-stat-period{margin-top:18px;padding-top:16px;border-top:1px solid #d5caa336}
.account-stat-period-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.account-page .account-stat-period-heading h3{margin:0;color:#eee7d3;font:600 13px var(--sans)}
.account-stat-period-heading>span{font-size:11px;color:#bdc7ae}
.account-stat-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
.account-stat-metrics>div{min-width:0}
.account-stat-metrics dt{font:12px/1.6 var(--sans);color:#d8decb}
.account-stat-metrics dd{font:31px/1.3 var(--serif);margin:4px 0;color:#e8d5a3}
.account-stat-metrics small,.account-stat-metrics dd.stat-detail{display:block;font:11px/1.5 var(--sans);color:#b9c5ac}
.account-stat-metrics .stat-wins dd{color:#e4cf93}
.account-stat-metrics .stat-guesses dd{color:#a8ccd6}
.account-stat-metrics .stat-clues dd{color:#e2b28e}
.account-stat-metrics .stat-good dd{color:#b6d5a2}
.account-chart-column{min-width:0}
.account-chart{margin:0}
.account-chart figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:11px;margin-bottom:8px;color:#d5ddc8}
.account-chart figcaption strong{flex-basis:100%;font-size:12px;font-weight:600;color:#eee7d3;margin-bottom:2px}
.account-chart figcaption span{display:inline-flex;align-items:center;gap:6px}
.account-chart i{display:inline-block;width:12px;height:9px;border-radius:2px;background:#82afbc}
.account-chart .account-line-key{height:3px;background:#ecd08e;border-radius:0}
.account-chart .account-ended-key{background:transparent;border:1.5px solid #dbaa83}
.account-chart svg{display:block;width:100%;height:auto;max-height:185px;overflow:visible}
.account-chart text{font:14px var(--sans);fill:#c7d0ba}
.account-chart-grid line{stroke:#c8d2ad30;stroke-width:1}
.account-chart-bar{fill:#82afbc}
.account-chart-ended{fill:#dbaa8314;stroke:#dbaa83;stroke-width:1.5;stroke-dasharray:3 2}
.account-chart-trend{fill:none;stroke:#ecd08e;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}
.account-chart-point{fill:#ecd08e;stroke:#293e31;stroke-width:1;pointer-events:none}
.account-chart .account-bar-count{fill:#eef0db;font-size:14px}
.account-chart-gap{fill:#a7b696}
.account-chart [data-result-day]{outline:none}
.account-chart [data-result-day]:focus-visible rect{stroke:#f8eed4;stroke-width:2.5;stroke-dasharray:none}
.account-statistics[data-stat-roster=expert] .account-chart-bar:not(.account-chart-ended){fill:#c8ad71}
.account-statistics[data-stat-roster=expert] .account-bar-key{background:#c8ad71}
.account-statistics .account-stat-data{margin-top:14px}
.account-page .account-stat-data summary{min-height:38px;align-content:center;cursor:pointer;font-weight:500;font-size:12px;color:#dbd9be}
.account-page .account-stat-note{font-size:12px;line-height:1.65;margin:10px 0;color:#c2ccb5}
.account-results-scroll{max-height:280px;overflow:auto;scrollbar-gutter:stable;scrollbar-color:#a69260 #293e31}
.account-results-scroll table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;color:#e4e8d4}
.account-results-scroll th,.account-results-scroll td{padding:10px 8px;border-bottom:1px solid #c9d1b333;white-space:nowrap}
.account-results-scroll thead th{position:sticky;top:0;background:#293e31}
.account-page>.account-status{color:#bfc6b3;font-size:12px;margin:18px 0}
.account-auth-panel{max-width:600px}
.account-page .auth-privacy{font-size:13px}
.account-page :focus-visible{outline-color:#8c6d37}
.account-page .account-back:focus-visible,.account-statistics :focus-visible{outline-color:#dfc38a}
#friends-content .social-connections>.social-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
#friends-content .social-connections>.social-section-heading h2{margin:0}
#friends-content #copy-profile-link{min-height:44px;white-space:normal}
@media(max-width:1020px){.account-overview{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}.account-stat-layout{grid-template-columns:minmax(0,1fr);gap:22px}.account-chart-column{width:100%}.account-chart svg{max-height:180px}.account-stat-metrics dd{font-size:30px}}
@media(max-width:700px){.account-overview{grid-template-columns:minmax(0,1fr);gap:18px}.account-panel,.account-page .account-overview .society-card{padding:20px}.account-stat-layout{gap:18px}.account-profile-identity{gap:20px}.account-profile-identity h2{font-size:28px}.account-page>.page-heading h1{font-size:36px}.account-stat-period-heading>span{font-size:10px}}
@media(max-width:440px){.account-panel,.account-page .account-overview .society-card{padding:18px}.account-stat-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px}.account-stat-metrics dd{font-size:30px;margin:2px 0}.account-stat-period+.account-stat-period{margin-top:16px;padding-top:14px}.account-statistics-heading{gap:12px}.account-page .account-statistics-heading h2{font-size:25px}.account-page .account-roster-switch button{padding:8px 12px}.account-chart figcaption{gap:8px 12px}}

.account-settings-actions{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
.account-page .account-settings-actions .secondary-button,.account-page .account-setting-cancel{min-height:44px;padding:10px 14px;border-radius:7px;font-size:14px}
.account-settings-actions button[aria-expanded=true]{background:#4c5841;color:#eee7d3;border-color:#9c8960}
.account-setting-panel{border-top:1px solid #9c896066;padding-top:16px;margin-bottom:12px}
.account-setting-panel[hidden]{display:none}
.account-setting-cancel{margin-top:12px}
.account-setting-panel>p{font-size:13px}
.account-stat-period-heading{justify-content:flex-start;gap:14px}
@media(min-width:1021px){.account-stat-ledger{max-width:470px}.account-stat-metrics dd{font-size:29px}}
@media(max-width:700px){.account-chart text,.account-chart .account-bar-count{font-size:18px}}
@media(max-width:440px){.account-chart text,.account-chart .account-bar-count{font-size:22px}}

.account-page .account-avatar-edit{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;padding:0;margin:0;background:none;border:0;border-radius:16px;color:#2e3c33;cursor:pointer;overflow:visible}
.account-page .account-avatar-edit:hover{background:none}
.account-avatar-pencil{position:absolute;top:-7px;right:-7px;z-index:2;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #9c8960;border-radius:50%;background:#e7e0cd;color:#2e3c33;opacity:0;transition:opacity .12s ease;pointer-events:none}
.account-avatar-pencil svg{width:17px;height:17px}
.account-avatar-edit:hover .account-avatar-pencil,.account-avatar-edit:focus-visible .account-avatar-pencil{opacity:1}
@media(hover:none),(pointer:coarse){.account-avatar-pencil{opacity:1}}
@media(prefers-reduced-motion:reduce){.account-avatar-pencil{transition:none}}

/* Guess counts sit below the plotting area, away from the average line. */
.account-statistics{--account-trend:#ecd08e}
.account-statistics[data-stat-roster=expert]{--account-trend:#b7e1ed}
.account-chart-trend{stroke:var(--account-trend,#ecd08e)}
.account-chart-point{fill:var(--account-trend,#ecd08e)}
.account-chart .account-line-key{background:var(--account-trend,#ecd08e)}

/* Let the profile grow with the Society card instead of ending above it. */
.account-overview #account-social{display:flex;min-width:0;}
.account-overview #account-social>.society-card{flex:1;min-width:0;}
.account-profile-panel{padding:28px;}
.account-profile-panel .account-profile-identity{margin-bottom:24px;}
.account-profile-panel .account-settings-actions{gap:10px;margin-bottom:18px;}
@media(max-width:700px){.account-profile-panel{padding:20px;}}
@media(max-width:440px){.account-profile-panel{padding:18px;}}


/* choice-controls.css */
/* Shared Friends / Field Journal treatment for roster and mode choices. */
:root{--choice-fill:#323e35;--choice-selected:#d7ceb9;--choice-copy:#eee7d7;--choice-rule:#ac97655e;--choice-selected-rule:#c2aa70;--board-green:#29362f;}
.expedition-heading .mode-switch,.journal-filters .catalogue-filter,.custom-builder .custom-roster-toggle{gap:8px;padding:0;background:none;border:0;border-radius:0;box-shadow:none;}
:is(.expedition-heading .mode-switch,.journal-filters .catalogue-filter,.social-leading .social-rosters,.custom-builder .custom-roster-toggle,.custom-selection-toggle,.account-page .account-roster-switch,.custom-board-tabs) button{min-height:44px;border:1px solid var(--choice-rule);border-radius:7px;background-color:var(--choice-fill);background-image:none;color:var(--choice-copy);box-shadow:none;font:600 14px var(--sans);}
:is(.expedition-heading .mode-switch,.journal-filters .catalogue-filter,.social-leading .social-rosters,.custom-builder .custom-roster-toggle,.custom-selection-toggle,.account-page .account-roster-switch,.custom-board-tabs) button:hover{background:#3d4b40;color:var(--choice-copy);}
:is(.expedition-heading .mode-switch,.journal-filters .catalogue-filter,.social-leading .social-rosters,.custom-builder .custom-roster-toggle,.custom-selection-toggle,.account-page .account-roster-switch,.custom-board-tabs) button:is([aria-pressed=true],[aria-selected=true],.selected){background-color:var(--choice-selected);border-color:var(--choice-selected-rule);color:#2e3c33;box-shadow:none;}
:is(.expedition-heading .mode-switch,.custom-builder .custom-roster-toggle) button span,:is(.expedition-heading .mode-switch,.custom-builder .custom-roster-toggle) button:is([aria-pressed=true],.selected) span{color:var(--choice-copy);font-size:11px;font-weight:400;}
:is(.expedition-heading .mode-switch,.journal-filters .catalogue-filter,.social-leading .social-rosters,.custom-builder .custom-roster-toggle,.custom-selection-toggle,.account-page .account-roster-switch,.custom-board-tabs) button:focus-visible{outline:2px solid #f2e9d9;outline-offset:3px;}

/* Keep roster and puzzle-mode choices visibly separate on the home page. */
.expedition-heading .mode-switch{box-sizing:border-box;padding:8px;gap:8px;border:1px solid #ac976580;border-radius:10px;background:#22292b;box-shadow:inset 0 1px #ffffff05;}

:is(.expedition-heading .mode-switch,.custom-builder .custom-roster-toggle) button:is([aria-pressed=true],.selected) span{color:#2e3c33;}


/* action-controls.css */
/* Shared action semantics. Existing button/link classes retain their geometry.
   The app/dialog scope lets these explicit tones override older surface themes. */
:root{--action-danger-fill:#925737;--action-danger-copy:#f1e6cc;--action-danger-rule:#b48655;--action-danger-hover:#79462a;--action-secondary-fill:#d7ceb9;--action-secondary-copy:#2e3c33;--action-secondary-rule:#9c8960;--action-secondary-hover:#e4dcc9;}
:is(#app,#modal) :is(.primary-button,.secondary-button,.action-link,button).action-danger{background-color:var(--action-danger-fill);background-image:none;color:var(--action-danger-copy);border:1px solid var(--action-danger-rule);text-decoration:none;}
:is(#app,#modal) :is(.primary-button,.secondary-button,.action-link,button).action-danger:hover:not(:disabled){background-color:var(--action-danger-hover);color:#fff2d8;}
:is(#app,#modal) :is(.primary-button,.secondary-button,.action-link,button).action-danger:disabled{background-color:var(--action-danger-fill);color:var(--action-danger-copy);}
:is(#app,#modal) :is(.primary-button,.secondary-button,.action-link,button).action-secondary{background-color:var(--action-secondary-fill);background-image:none;color:var(--action-secondary-copy);border-color:var(--action-secondary-rule);text-decoration:none;}
:is(#app,#modal) :is(.primary-button,.secondary-button,.action-link,button).action-secondary:hover:not(:disabled){background-color:var(--action-secondary-hover);color:var(--action-secondary-copy);}
:is(#app,#modal) :is(.primary-button,.secondary-button,.action-link,button).action-secondary:disabled{background-color:var(--action-secondary-fill);color:var(--action-secondary-copy);}
:is(#app,#modal) .action-link.action-danger-text{color:#efb18f;}
:is(#app,#modal) .action-link.action-danger-text:hover:not(:disabled){color:#ffe1ce;}
:is(#app,#modal) :is(.account-panel,.modal-content,.social-connections) .action-link.action-danger-text{color:#804b31;}
:is(#app,#modal) :is(.account-panel,.modal-content,.social-connections) .action-link.action-danger-text:hover:not(:disabled){color:#64371f;}
:is(#app,#modal) :is(.action-danger,.action-secondary,.action-danger-text):focus-visible{outline:2px solid #f2e9d9;outline-offset:3px;}
:is(#app,#modal) :is(.account-panel,.modal-content,.social-connections) :is(.action-danger,.action-secondary,.action-danger-text):focus-visible{outline-color:#2e3c33;}


/* readability.css */
/* Functional information leads; research, credits, seals and headings keep
   their existing hierarchy. Rem sizes also respect the reader's base text size. */
.game-grid .guess-panel .guess-label{align-items:baseline;}
.game-grid .guess-panel .guess-label label{font-size:.75rem;line-height:1.5;}
.game-grid .guess-panel .guess-label>span{font-size:.875rem;line-height:1.5;}
.game-grid .guess-panel .support-heading{font-size:.875rem;line-height:1.5;flex-wrap:wrap;}
.game-grid .guess-panel .compact-clues .small-count{font-size:.75rem;line-height:1.5;}
.game-grid .guess-panel .compact-clues .clue-text strong{font-size:.8125rem;line-height:1.5;}
.game-grid .guess-panel .compact-clues .clue-text>span{font-size:.75rem;line-height:1.5;}
.game-grid .guess-panel .compact-clues .clue-row{grid-template-rows:auto minmax(3rem,auto);align-content:start;}
.game-grid .guess-panel .compact-clues :is(.clue-text,.clue-slot){min-width:0;}
.game-grid .guess-panel .compact-clues .clue-slot{height:auto;min-height:3rem;}
.game-grid .guess-panel .compact-clues .clue-value{font-size:.9375rem;line-height:1.6;overflow-wrap:anywhere;}
.game-grid .guess-panel .compact-clues .clue-prompt{font-size:.875rem;line-height:1.6;}
.game-grid .guess-panel .guess-form>button,.game-grid .guess-panel .expedition-actions button{font-size:.875rem;line-height:1.5;white-space:normal;max-width:100%;}
.game-grid .guess-panel .guess-form>.guess-journal-link{font-size:.8125rem;line-height:1.5;white-space:normal;}
.game-grid .guess-panel :is(.inline-error,.guess-feedback){font-size:.875rem;line-height:1.65;overflow-wrap:anywhere;}
.game-grid .guess-panel .suggestions button{min-height:44px;white-space:normal;overflow-wrap:anywhere;}
.game-grid .guess-panel .suggestions button>span{font-size:1rem;}
.game-grid .guess-panel .suggestions small{font-size:.75rem;}

/* A long scientific name should wrap rather than shrink below readable type. */
.game-grid .field-note-heading h2{font-size:1.875rem;line-height:1.25;white-space:normal;overflow-wrap:anywhere;}
.game-grid .field-note-heading .eyebrow{font-size:.6875rem;line-height:1.6;color:#46513f;}
.game-grid .field-note-panel .field-description{font-size:.9375rem;line-height:1.8;}
.game-grid .field-note-panel .profile-facts dt{font-size:.75rem;line-height:1.5;}
.game-grid .field-note-panel .profile-facts dd{font-size:.875rem;line-height:1.6;overflow-wrap:anywhere;}
.game-grid .result-story .result-message{font-size:.9375rem;line-height:1.7;}
.game-grid .result-counts>span>span{font-size:.875rem;line-height:1.5;}

/* Catalogue controls and discovery records are everyday information. */
.journal-filters .filter-field label{font-size:.8125rem;line-height:1.5;}
.journal-filters .filter-field :is(input,select){font-size:1rem;max-width:100%;}
.journal-filters :is(.journal-search-row,.journal-filter-grid,.filter-field){min-width:0;}
.journal-filters .catalogue-filter{flex-wrap:wrap;min-width:0;}
.journal-filters .catalogue-filter button{white-space:normal;flex-basis:8.5rem;}
.journal-toolbar,.journal-toolbar .journal-toolbar-actions button{font-size:.875rem;line-height:1.6;}
.journal-toolbar-actions{flex-wrap:wrap;}
.journal-cards .specimen-group,.journal-cards .specimen-facts{font-size:.8125rem;line-height:1.6;}
.journal-cards .specimen-facts span{max-width:100%;white-space:normal;overflow-wrap:anywhere;}
.journal-cards :is(.card-discovery,.discovery-label,.locality-qualifier){font-size:.8125rem;line-height:1.6;}
.journal-entry .journal-facts dt{font-size:.75rem;line-height:1.5;letter-spacing:.6px;}
.journal-entry .personal-best-row,.journal-entry .achievement-panel .best-rule{font-size:.875rem;line-height:1.7;}
.journal-entry .daily-history{font-size:.875rem;}
.journal-entry .entry-heading{min-width:0;flex-wrap:wrap;}
.journal-entry .entry-heading h1{overflow-wrap:anywhere;}

/* Keep exact record values available without shrinking a chart to phone width. */
.account-page .account-stat-period-heading{flex-wrap:wrap;row-gap:4px;}
.account-page .account-stat-period-heading h3{font-size:.875rem;line-height:1.5;}
.account-page .account-stat-period-heading>span{font-size:.8125rem;line-height:1.5;}
.account-page .account-stat-metrics dt{font-size:.875rem;line-height:1.5;}
.account-page .account-stat-metrics dd.stat-detail,.account-page .account-stat-metrics small{font-size:.8125rem;line-height:1.6;}
.account-page .account-chart figcaption{font-size:.8125rem;line-height:1.6;}
.account-page .account-chart figcaption strong{font-size:.875rem;}
.account-chart-frame{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start;}
.account-chart-scroll{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;}
.account-page .account-chart svg{max-height:none;overflow:hidden;}
.account-page .account-chart .account-chart-axis{width:36px;height:205px;}
.account-page .account-chart .account-chart-plot{width:100%;height:205px;min-width:0;}
.account-page .account-chart .account-chart-line-layer{width:100%;height:205px;pointer-events:none;}
.account-chart-scroll,.account-results-scroll{scrollbar-color:#b89a65 #233b2f;scrollbar-width:thin;}
.account-chart-scroll::-webkit-scrollbar,.account-results-scroll::-webkit-scrollbar{height:9px;}
.account-chart-scroll::-webkit-scrollbar-track,.account-results-scroll::-webkit-scrollbar-track{background:#233b2f;border-radius:6px;}
.account-chart-scroll::-webkit-scrollbar-thumb,.account-results-scroll::-webkit-scrollbar-thumb{background:#b89a65;border:2px solid #233b2f;border-radius:6px;}
@media(max-width:700px){.account-page .account-chart .account-chart-plot{min-width:28rem;}}
.account-page .account-chart text,.account-page .account-chart .account-bar-count{font-size:14px;}
.account-chart-scroll:focus-visible,.account-results-scroll:focus-visible{outline:2px solid #dfc38a;outline-offset:2px;}
.account-page .account-stat-data summary{font-size:.875rem;line-height:1.6;min-height:44px;}
.account-page .account-stat-note,.account-page>.account-status{font-size:.8125rem;line-height:1.65;overflow-wrap:anywhere;}
.account-results-scroll{max-width:100%;}
.account-results-scroll table{font-size:.875rem;line-height:1.6;}
.account-page .account-security summary{min-height:44px;}
.account-roster-switch,.account-page .account-settings-actions{flex-wrap:wrap;}

/* Social play, custom setup, billing and shared dialogs use the same hierarchy. */
#friends-content .social-table thead th,.custom-board-page .custom-board-table thead th{font-size:.8125rem;line-height:1.5;}
#friends-content .social-table,.custom-board-page .custom-board-table{font-size:.875rem;line-height:1.6;}
#friends-content :is(.social-person-actions,.social-profile-actions,.social-section-heading){min-width:0;}
#friends-content .social-section-heading{flex-wrap:wrap;}
#friends-content :is(.social-person-actions,.social-profile-actions)>*,.custom-shell :is(.custom-actions,.custom-link-actions)>*{max-width:100%;white-space:normal;}
.custom-shell :is(.custom-help,.custom-error,.custom-board-status,.custom-attempt-status),.custom-builder :is(label,legend){font-size:.875rem;line-height:1.65;}
.custom-builder :is(input:not([type=checkbox]):not([type=radio]),select){font-size:1rem;min-width:0;}
.custom-shell :is(.custom-rules-grid,.custom-filter-grid,.custom-round-row){min-width:0;}
.society-page :is(.society-benefit p,.society-questions details p){font-size:.9375rem;}
.society-page .society-billing-note,.society-page .society-plan-detail{font-size:.875rem;line-height:1.75;}
.society-plan dt{font-size:.8125rem;}
.modal-content>p:not(.eyebrow):not(.reference-note):not(.reference-credit),.help-panel .guide-steps li,.updates-panel .update-entry li{font-size:.9375rem;line-height:1.75;}

/* References remain compact and secondary; allow long URLs and names to wrap. */
:is(.journal-entry,.field-note-panel) :is(.reference-pictures figcaption,.overview-source,.source-links,.journal-research),.notes-page :is(.note-sources,.exclusion-evidence),.reference-page :is(p,li,td,th,a){overflow-wrap:anywhere;}

@media(max-width:600px){
 .game-grid .guess-panel .compact-clues .clue-row{grid-template-columns:minmax(0,.85fr) minmax(0,1fr) 34px;grid-template-rows:auto;min-height:4.75rem;}
 .game-grid .guess-panel .compact-clues .clue-slot{min-height:2.75rem;}
 .journal-filters .catalogue-filter{width:100%;}
 .account-stat-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:400px){
 .game-grid .guess-panel .compact-clues .clue-row{grid-template-columns:minmax(0,1fr) 34px;grid-template-rows:auto auto;min-height:6rem;}
 .game-grid .guess-panel .compact-clues .clue-slot{grid-column:1;grid-row:2;}
 .game-grid .guess-panel .compact-clues .clue-mark{grid-column:2;grid-row:1/3;}
 .game-grid .guess-panel .guess-form{grid-template-columns:minmax(0,1fr);}
 .game-grid .guess-panel .guess-form>*{grid-column:1;min-width:0;}
 .game-grid .guess-panel .guess-form>button{width:100%;}
 .journal-entry .journal-facts{grid-template-columns:minmax(0,1fr);}
}


/* tree-colours-v134.css */
/* Status remains clear: excluded groups and guesses share warm clay/rust. */
.game-grid .tree-node.confirmed-branch .tree-label{fill:#d6c18a;stroke:#e7cb7b}
.game-grid .tree-node.guess-yellow .tree-label{fill:#ddc58a;stroke:#ebcd78}
.game-grid .tree-node.guess-red .tree-label,
.game-grid .tree-node.excluded-branch .tree-label{fill:#ccb19a;stroke:#b58168;stroke-width:1.5}
.game-grid .tree-node.previous-guess.guess-red .tree-label{stroke:#965c49;stroke-width:2.25}
.game-grid .tree-node.answer-node .tree-label,
.game-grid .tree-node.guess-green .tree-label{fill:#b2c68b;stroke:#d4e4a9}
.game-grid .tree-node.confirmed-branch text,
.game-grid .tree-node.guess-red text,
.game-grid .tree-node.excluded-branch text,
.game-grid .tree-node.guess-yellow text,
.game-grid .tree-node.guess-green text,
.game-grid .tree-node.answer-node text{fill:#263726}
.game-grid .tree-node.previous-guess .tree-name,
.game-grid .tree-node.previous-guess .guess-number{font-weight:400}
.game-grid .tree-node.previous-guess[aria-pressed=true] .tree-label,
.game-grid .tree-node.previous-guess:focus .tree-label,
.game-grid .tree-node.previous-guess:focus-visible .tree-label,
.game-grid .tree-node[aria-pressed=true] .tree-label,
.game-grid .tree-node:focus .tree-label,
.game-grid .tree-node:focus-visible .tree-label{stroke:#fff;stroke-width:2.5}
@media(max-width:640px){
 .game-grid .tree-node.previous-guess[aria-pressed=true] .tree-label,
 .game-grid .tree-node.previous-guess:focus .tree-label,
 .game-grid .tree-node.previous-guess:focus-visible .tree-label,
 .game-grid .tree-node[aria-pressed=true] .tree-label,
 .game-grid .tree-node:focus .tree-label,
 .game-grid .tree-node:focus-visible .tree-label{stroke-width:1}
}


/* tree-reference-v123.css */
.field-note-panel .field-note-classification{padding:12px 14px;margin:18px 0 14px;background:#e2d1a7;border:1px solid #a58c58;border-radius:6px;color:#35442f;font-size:13px;line-height:1.6}
.field-note-panel .field-note-classification a{display:block;font-weight:650;color:#35442f;text-underline-offset:3px}
.field-note-panel .field-note-classification span{display:block;margin-top:3px}


/* search-controls-v126.css */
/* Shared genus search: expedition, journal and complete tree. */
body #guess-input,
body #j-search,
body #clado-search {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 50px;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #b3a17b;
  border-radius: 4px;
  background: #eee7d2;
  color: #2e3c33;
  box-shadow: inset 0 1px 3px #0000000d;
  font: 400 16px/22px var(--sans, system-ui, sans-serif);
  appearance: none;
}
body #guess-input::placeholder,
body #j-search::placeholder,
body #clado-search::placeholder { color: #586052; opacity: 1; }
body #guess-input:focus-visible,
body #j-search:focus-visible,
body #clado-search:focus-visible { outline: 2px solid #e1c58d; outline-offset: 3px; }
body .guess-label label,
body .journal-search label,
body .clado-search-box label {
  display: block;
  color: #dfd2b2;
  font: 500 12px/18px var(--sans, system-ui, sans-serif);
  letter-spacing: 0;
  text-transform: none;
}
body .journal-search label,
body .clado-search-box label { margin: 0 0 8px; }
body .game-grid .guess-form .suggestions,
body .clado-results {
  border: 1px solid #b3a17b;
  border-radius: 4px;
  background: #eee7d2;
  color: #2e3c33;
  font: 400 14px/22px var(--sans, system-ui, sans-serif);
}
body .clado-results p { color: #586052; }


/* guess-layout-v128.css */
/* Keep the main action beside the map on desktop and below it on mobile. */
.game-grid.guess-layout>.guess-sidebar{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:18px;min-width:0;align-self:start}
.guess-sidebar>.sidebar{width:100%;min-width:0;gap:0}
@media(min-width:961px){
 .game-grid.guess-layout>.guess-sidebar[data-sticky=all]{position:sticky;top:20px}
 .game-grid.guess-layout>.guess-sidebar[data-sticky=input]{align-self:stretch}
 .guess-sidebar[data-sticky=input]>.guess-entry{position:sticky;top:20px;z-index:9}
}
.game-grid .guess-entry{padding:18px;border:1px solid #ac976580;border-radius:6px;background:#1e252b;color:#eee9db;box-shadow:0 8px 24px #0002;min-width:0;scroll-margin-top:20px;overflow-anchor:none}
.game-grid .guess-entry .guess-label{padding:0;margin:0 0 10px;border:0;justify-content:flex-start}
.game-grid .guess-entry .guess-label>span{font-size:12px;color:#c6c8b7}
.game-grid .guess-entry .guess-form{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
.game-grid .guess-entry .search-wrap{position:static;grid-column:auto;min-width:0}
.game-grid .guess-entry .guess-form .primary-button{width:auto;min-height:50px;padding:10px 12px;border-radius:4px;font-size:12px;white-space:nowrap;background:#9b5d3c;border-color:#bd9267;color:#fff2d8}
.game-grid .guess-entry .guess-form .primary-button:hover{background:#ad6b46}
.game-grid .guess-entry .suggestions{top:calc(100% + 6px);left:0;right:0;z-index:8}
.game-grid .guess-entry .guess-feedback{margin:12px 0 0;font-size:13px;line-height:1.6;color:#eee9db}
.game-grid .tree-panel>.guess-panel{padding:14px 16px}
.game-grid .guess-support .compact-clues{padding-top:0;margin-top:0;border:0}
.game-grid .guess-support .support-heading{margin-bottom:8px}
.game-grid .guess-support .clue-grid{grid-template-columns:repeat(var(--field-support-count,3),minmax(0,1fr));gap:8px}
.game-grid .guess-support .compact-clues .clue-row{display:grid;grid-template-columns:minmax(0,1fr) 24px;grid-template-rows:auto auto;gap:5px 8px;padding:10px 12px;min-height:70px;border-radius:4px;align-content:start}
.game-grid .guess-support .clue-action::before{display:none}
.game-grid .guess-support .compact-clues .clue-text{grid-column:1;grid-row:1;display:block}
.game-grid .guess-support .compact-clues .clue-text strong{font:500 12px/18px var(--sans,system-ui,sans-serif)}
.game-grid .guess-support .compact-clues .clue-mark{grid-column:2;grid-row:1;align-self:center;padding:0}
.game-grid .guess-support .clue-mark svg{width:24px;height:24px}
.game-grid .guess-support .compact-clues .clue-slot{grid-column:1/-1;grid-row:2;height:auto;min-height:0;display:flex;align-items:flex-start;padding:0;background:none;border:0}
.game-grid .guess-support .clue-prompt,.game-grid .guess-support .clue-value{font:13px/1.5 var(--sans,system-ui,sans-serif);overflow-wrap:anywhere}
.game-grid .guess-support .expedition-actions{margin-top:10px;gap:8px 16px}
.game-grid .guess-support .expedition-actions button{min-height:44px;padding:8px 10px;font-size:12px}
@media(max-width:960px){
 .game-grid.guess-layout>.guess-entry{width:100%;order:1}
 .game-grid.guess-layout>.tree-panel{order:0}
 .game-grid.guess-layout>.guess-sidebar{width:100%;order:2}
 .game-grid .guess-entry{padding:14px 16px}
}
@media(max-width:640px){
 #tree-focus,#custom-focus{display:none!important}
 .game-grid .guess-support .compact-clues .clue-row{padding:9px 8px;gap:4px;min-height:72px}
 .game-grid .guess-support .clue-mark svg{width:20px;height:20px}
 .game-grid .tree-panel>.guess-panel{padding:12px}
}


/* compact-ui-v129.css */
/* A shallow clue band; actions share the row wherever they fit. */
.game-grid .guess-support{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 14px}
.game-grid .guess-support .support-heading{justify-content:flex-start;gap:6px;margin:0 0 6px;font-size:11px;line-height:16px}
.game-grid .guess-support .support-heading .small-count{padding:0;border:0;background:none;font-size:11px}
.game-grid .guess-support .clue-grid{gap:6px}
.game-grid .guess-support .compact-clues .clue-row{grid-template-columns:minmax(0,1fr) 18px;gap:2px 5px;padding:6px 9px;min-height:48px}
.game-grid .guess-support .compact-clues .clue-text strong{font-size:10px;line-height:14px}
.game-grid .guess-support .clue-mark svg{width:18px;height:18px}
.game-grid .guess-support .clue-prompt,.game-grid .guess-support .clue-value{font-size:12px;line-height:16px}
.game-grid .guess-support .expedition-actions{grid-column:2;grid-row:1;align-self:end;margin:0;gap:8px;flex-wrap:nowrap}
.game-grid .guess-support .expedition-actions button{min-height:48px;padding:8px 10px;font-size:11px;white-space:nowrap}
.game-grid .guess-support #field-report-slot{grid-column:1/-1;grid-row:2}
.game-grid .guess-support #field-report-slot:empty{display:none}
.game-grid .tree-panel>.guess-panel{padding:10px 14px}
@media(max-width:720px){
 .game-grid .guess-support{position:relative;display:block}
 .game-grid .guess-support .support-heading{min-height:44px;align-items:center;padding-right:190px;margin-bottom:6px}
 .game-grid .guess-support .expedition-actions{position:absolute;left:auto;right:0;top:0;width:auto;justify-content:flex-end;gap:6px;margin:0}
 .game-grid .guess-support #field-report-slot:not(:empty){margin-top:8px}
 .game-grid .guess-support .compact-clues .clue-row{padding:6px;min-height:48px}
 .game-grid .guess-support .expedition-actions button{min-height:44px;padding:7px 6px;font-size:10px}
 .game-grid .guess-support .custom-no-clues{padding:0 120px 0 0;min-height:44px;margin:0;align-content:center}
 .game-grid .tree-panel>.guess-panel{padding:10px}
}

/* Share the actual clue row height, including wrapped revealed values. */
@media(min-width:721px){
 .game-grid .guess-support:has(.compact-clues){grid-template-rows:auto auto;row-gap:6px;align-items:stretch}
 .game-grid .guess-support .compact-clues{display:grid;grid-column:1;grid-row:1/3;grid-template-rows:subgrid;min-width:0}
 .game-grid .guess-support .compact-clues .support-heading{grid-row:1;margin-bottom:0}
 .game-grid .guess-support .compact-clues .clue-grid{grid-row:2}
 .game-grid .guess-support:has(.compact-clues) .expedition-actions{grid-row:2;align-self:stretch;align-items:stretch}
 .game-grid .guess-support:has(.compact-clues) .expedition-actions button{height:auto;align-self:stretch}
 .game-grid .guess-support:has(.compact-clues) #field-report-slot{grid-row:3}
}

/* Text-only clues fit the original 48px actions instead of enlarging them. */
.game-grid .guess-support .compact-clues .clue-row{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:2px;padding:4px 9px;min-height:48px;align-content:center}
.game-grid .guess-support .compact-clues .clue-text{grid-column:1;grid-row:1;min-height:0;line-height:12px}
.game-grid .guess-support .compact-clues .clue-text strong{font-size:10px;line-height:12px}
.game-grid .guess-support .compact-clues .clue-slot{grid-column:1;grid-row:2}
.game-grid .guess-support .compact-clues .clue-value,.game-grid .guess-support .compact-clues .clue-prompt{font-size:12px;line-height:16px}
@media(max-width:720px){.game-grid .guess-support .compact-clues .clue-row{padding:4px 6px;min-height:44px}}


/* field-report-arrival-v136.css */
.field-report-arrival{position:relative;padding:12px 4px 4px;color:#293b2f}
.field-report-arrival>.eyebrow{color:#71572d;letter-spacing:.12em;padding-right:64px}
.field-report-arrival h2{max-width:420px;margin:22px 0 16px;font-family:var(--serif,Georgia,serif);font-size:clamp(27px,5vw,38px);line-height:1.15}
.field-report-arrival>p{line-height:1.65;color:#46543d}
.field-report-arrival .dispatch-seal{position:absolute;right:0;top:0;width:52px;height:52px;color:#806537;border:1px solid #9b835f88;border-radius:50%;padding:6px}
.field-report-arrival .dispatch-evidence{margin:22px 0;padding:16px;border:1px solid #ad9b6d88;border-left:3px solid #bca16b;background:#d4cbb3;color:#293b2f;border-radius:4px}
.field-report-arrival .dispatch-evidence a{color:#3f513a}
.field-report-arrival .dispatch-evidence p{color:#293b2f}
.field-report-arrival .dispatch-free{font-weight:600;color:#435338}
.field-report-arrival .primary-button{margin-top:8px;min-height:44px;background:#925737;border-color:#b48655;color:#fff2d8}
.field-report-arrival .dispatch-retained{font-size:12px;color:#5a6352;margin-bottom:0}
@media(max-width:640px){.field-report-arrival{padding-top:4px}.field-report-arrival h2{margin-top:24px}.field-report-arrival .dispatch-seal{width:44px;height:44px}}


/* journal-navigation-v138.css */
.journal-entry .entry-heading > :first-child { flex: 1 1 auto; min-width: 0; }
.journal-entry .entry-heading-tools { display: flex; flex: 0 1 auto; flex-direction: column; align-items: flex-end; gap: 14px; min-width: 0; margin-left: auto; }
.journal-entry-navigation { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.journal-entry-step { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 1px solid #ac976580; border-radius: 4px; background: #26382f; color: #eee7d7; font: 500 12px/1.4 var(--sans); text-decoration: none; white-space: nowrap; }
.journal-entry-step[href]:hover { background: #374b3d; border-color: #c2aa70; color: #fff6e4; }
.journal-entry-step:focus-visible { outline: 2px solid #eee7d7; outline-offset: 3px; }
.journal-entry-step.is-disabled { opacity: .42; }
.journal-entry .entry-heading-tools .daily-stamp { margin-right: 0; }
.reference-pictures .image-credit-details { max-width: 100%; margin-top: 4px; font-size: 11px; line-height: 1.6; color: inherit; }
.reference-pictures .image-credit-details > summary { display: list-item; cursor: pointer; min-height: 32px; padding-block: 6px; text-decoration: underline; text-underline-offset: 3px; }
.reference-pictures .image-credit-details ol { margin: 4px 0 10px; padding-left: 20px; }
.reference-pictures .image-credit-details li { padding-block: 3px; overflow-wrap: anywhere; }
.reference-pictures .image-credit-details a { color: inherit; }
.reference-pictures .compact-picture-caption > .image-credit-details { flex-basis: 100%; width: 100%; }
.reference-pictures .artwork-note { display: block; margin-top: 5px; line-height: 1.6; color: inherit; }
@media (max-width: 700px) {
 .journal-entry .entry-heading > :first-child { flex-basis: auto; }
 .journal-entry .entry-heading-tools { width: 100%; margin-left: 0; align-items: flex-start; }
 .journal-entry-navigation { width: 100%; justify-content: flex-start; }
 .journal-entry-step { flex: 1 1 auto; padding-inline: 10px; }
}


/* daily-worldwide-v139.css */
.social-daily .social-section-heading{gap:.6rem;align-items:center;flex-wrap:wrap}
.social-daily .daily-board-scopes{display:flex;gap:.25rem;flex-wrap:nowrap}
.social-daily .daily-board-scopes .secondary-button{min-height:0;padding:.4rem .6rem;font-size:.8rem;line-height:1.2}
.social-daily .daily-board-scopes [aria-pressed="true"]{background:var(--forest,#335242);color:var(--paper,#f1e9d6);border-color:var(--bronze,#ac8b50);box-shadow:inset 0 0 0 1px var(--bronze,#ac8b50)}
.social-daily .worldwide-position{margin:.65rem 0 .25rem;font-size:1rem}
.social-daily .worldwide-position strong{font-size:1.5em;color:inherit}
.social-daily .worldwide-anonymous{opacity:.6}
.social-daily .worldwide-table-wrap{max-height:none}
.social-daily .worldwide-table th,.social-daily .worldwide-table td{padding:.55rem .45rem}
.social-daily .worldwide-distribution{margin-top:1rem}
.social-daily .worldwide-distribution h3{margin:0 0 .5rem;font-size:1rem;color:inherit}
.social-daily .worldwide-histogram{display:grid;grid-template-columns:repeat(15,minmax(0,1fr));gap:clamp(2px,.6vw,6px);min-width:0}
.social-daily .worldwide-column{text-align:center;min-width:0}
.social-daily .worldwide-bar-space{height:100px;display:flex;align-items:flex-end;border-bottom:1px solid currentColor}
.social-daily .worldwide-bar{display:block;width:100%;background:#a4b6a3;border-radius:2px 2px 0 0;opacity:.75}
.social-daily .worldwide-bar-label{font-size:.65rem;line-height:1.5;font-variant-numeric:tabular-nums}
.social-daily .worldwide-column.is-your-result .worldwide-bar{background:#e0b85d;opacity:1}
.social-daily .worldwide-column.is-your-result .worldwide-bar-label,.social-daily .worldwide-finish-counts .is-your-result{color:#efcb79;font-weight:700}
.social-daily .worldwide-finish-counts{margin-top:.4rem}
.social-daily .worldwide-personal{margin:.5rem 0}
@media(max-width:420px){.social-daily .daily-board-scopes .secondary-button{padding:.35rem .45rem}.social-daily .worldwide-table th,.social-daily .worldwide-table td{padding:.5rem .3rem}.social-daily .worldwide-bar-space{height:85px}}


/* desktop-readability-v147.css */
/* A moderate reading baseline, halfway between v145 and v146, with actual room for text and controls.
   Keep the established phone/tablet presentation and browser zoom available. */
@media (min-width:1101px){
 html{font-size:17px}
 body{font-size:16px}
 main,.clado-page{max-width:1400px;padding-inline:38px}
 .meso-header .header-inner{max-width:1400px;min-height:83px;padding-inline:38px}
 .meso-header .brand svg.brand-mark{width:168px;height:37.5px}
 .page-heading h1,.clado-heading h1{font-size:50px}
 .page-heading .eyebrow,.clado-heading .eyebrow{font-size:12px}
 .page-heading .intro,.clado-heading .intro{font-size:15.5px;line-height:1.65}
 .game-grid,.game-grid.expedition-complete{grid-template-columns:minmax(0,1fr) 360px;gap:26px}
 .game-grid.guess-layout>.guess-sidebar{gap:20px}
 .game-grid .guess-entry,.game-grid .field-note-panel{padding:20px}
 .game-grid .field-note-heading h2{font-size:32px;line-height:1.25}
 .game-grid .field-note-panel .field-description,.journal-entry .entry-overview .field-description{font-size:16.5px;line-height:1.75}
 .game-grid .field-note-panel :is(.field-note-actions,.field-note-classification),.game-grid .field-note-panel .field-note-classification span{font-size:14px;line-height:1.6}
 .game-grid .field-note-panel :is(.overview-source,figcaption),.journal-entry :is(.overview-source,figcaption){font-size:12px;line-height:1.65}
 .game-grid .guess-entry .guess-label>span,.game-grid .guess-entry :is(.guess-feedback,.inline-error){font-size:14px;line-height:1.6}
 .game-grid .guess-entry .guess-form{gap:10px}
 .game-grid .guess-entry .guess-form input{font-size:17px;min-height:53px;padding:13px 14px}
 .game-grid .guess-entry .guess-form .primary-button{font-size:14px;min-height:53px;padding:11px 13px;white-space:normal}
 .game-grid .guess-support .support-heading,.game-grid .guess-support .support-heading .small-count{font-size:12.5px;line-height:18px}
 .game-grid .guess-support .compact-clues .clue-row{min-height:52px;padding:6px 10px;gap:3px}
 .game-grid .guess-support .compact-clues .clue-text strong{font-size:12px;line-height:17px}
 .game-grid .guess-support .compact-clues :is(.clue-value,.clue-prompt){font-size:14px;line-height:19px}
 .game-grid .guess-support .expedition-actions button{font-size:12.5px;min-height:52px;padding:9px 12px}
 .game-grid .tree-panel>.guess-panel{padding:15px 17px}
 .game-grid .tree-top strong{font-size:15.5px}
 .game-grid .tree-tools button,.game-grid .tree-bottom{font-size:14px}
 .game-grid :is(.roster-switch,.mode-switch) button,.game-grid .suggestions button{font-size:16px}
 .expedition-heading :is(.roster-switch,.expedition-mode-switch) button{font-size:15px;min-height:50px;padding:10px 12px}
 .field-report :is(p,span),.field-report .evidence-note{font-size:15px;line-height:1.65}
 .journal-filters.filters{padding:20px}
 .journal-filters .filter-field label{font-size:14px}
 .journal-filters .filter-field :is(input,select){font-size:17px;min-height:51px;padding:12px 14px}
 .journal-cards{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
 .journal-cards .specimen-card{padding:20px}
 .journal-cards .specimen-card h3{font-size:25px}
 .journal-cards :is(.specimen-group,.specimen-facts,.discovery-label,.locality-qualifier){font-size:14px;line-height:1.6}
 .journal-toolbar,.journal-toolbar .journal-toolbar-actions button{font-size:15px}
 .journal-entry .journal-facts :is(dt,dd),.journal-entry :is(.personal-best-row,.best-rule,.daily-history){font-size:15px;line-height:1.65}
 .journal-entry .journal-research{font-size:16px;line-height:1.75}
 .clado-workspace{grid-template-columns:minmax(0,1fr) 340px}
 .clado-tools{padding:21px 23px;gap:17px 21px}
 .clado-map-heading strong,.clado-tools label{font-size:13.5px;line-height:1.5}
 .clado-tools input,.clado-roster-box select{font-size:17px;min-height:52px}
 .clado-controls button{font-size:13.5px;min-height:47px;padding:10px 13px}
 .clado-node .clado-name{font-size:16px}
 .clado-node .clado-caption{font-size:12px}
 .clado-details{padding:25px 23px}
 .clado-details h2{font-size:30px}
 .clado-details p,.clado-details dd,.clado-about p{font-size:15.5px;line-height:1.75}
 .clado-lineage,.clado-detail-links,.clado-help,.clado-status{font-size:14px;line-height:1.65}
 .notes-page :is(p,li),.reference-page :is(p,li),.help-panel .guide-steps li,.updates-panel .update-entry li{font-size:15.5px;line-height:1.75}
 .custom-shell :is(.custom-help,.custom-error,.custom-board-status,.custom-attempt-status),.custom-builder :is(label,legend){font-size:15px;line-height:1.65}
 .custom-builder :is(input:not([type=checkbox]):not([type=radio]),select){font-size:17px;min-height:51px}
 #friends-content .social-table,.custom-board-page .custom-board-table{font-size:16px;line-height:1.6}
 .account-page :is(p,label,.account-stat-note){font-size:15px;line-height:1.65}
}
@media (min-width:1280px){
 .meso-header .primary-navigation .nav-button,.meso-header .header-utilities .nav-button{font-size:15px}
}
/* Preserve the single header row on smaller desktop screens. */
@media (min-width:1101px) and (max-width:1399px){
 .meso-header .header-inner{gap:16px}
 .meso-header .brand svg.brand-mark{width:158px;height:35px}
 .meso-header .primary-navigation .nav-button{padding-inline:10px}
 .meso-header .header-utilities{gap:12px}
}
@media (min-width:1101px) and (max-width:1199px){
 .meso-header .primary-navigation .nav-button{padding-inline:7px}
}

/* Give the optional Archive button real space instead of clipping Daily. */
@media(min-width:1101px){
 main .page-heading.expedition-heading{grid-template-columns:minmax(0,1fr) 600px}
 .expedition-heading .expedition-setup{grid-template-columns:240px minmax(0,1fr);gap:12px}
 .expedition-heading .expedition-mode-switch{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:8px}
 .expedition-heading .expedition-mode-switch:has(.archive-tab){grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1.2fr)}
 .expedition-heading .expedition-mode-switch button{min-width:0;white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.4}
 .journal-filters .journal-search-row{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:20px;align-items:end}
 .journal-filters .catalogue-filter{flex-wrap:nowrap;width:auto;max-width:none;justify-self:end}
 .journal-filters .catalogue-filter button{flex:1 1 auto;flex-basis:auto;min-width:8.5rem;white-space:nowrap}
}


/* halloween-frame.css */
/* The frame surrounds the existing photo; no texture, glow, motion or clipping. */
.social-avatar .avatar-halloween-ornament {
 position:absolute; left:-25%; top:-25%; width:150%; height:150%;
 background:url('./halloween-frame.png?v=20261029-halloween-v154') center / 100% 100% no-repeat;
 pointer-events:none; z-index:4;
}
.social-avatar.social-avatar-halloween::after { border-color:transparent; box-shadow:none; }

.halloween-reward:not([hidden]) { display:flex; align-items:center; gap:18px; margin:22px 0 6px; padding:18px; border:1px solid #62837b; border-radius:6px; background:#243a34; color:#eee7d7; font-size:14px; text-align:left; }
.halloween-reward strong { display:block; color:#eee7d7; }
.halloween-reward a { color:#bee3d2; text-decoration:underline; }
.halloween-reward[hidden] { display:none; }

.halloween-unlock { text-align:center; padding:8px 4px; }
.halloween-unlock .eyebrow { color:#486c61; }
.halloween-unlock-mark { display:flex; justify-content:center; margin:30px 0 28px; }
.halloween-unlock-mark .social-avatar { width:88px; height:88px; flex-basis:88px; }
.halloween-unlock .halloween-unlock-help { font-size:14px; opacity:.85; }
.halloween-unlock .profile-actions { justify-content:center; margin-top:24px; gap:12px; flex-wrap:wrap; }
.halloween-unlock a.primary-button { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }


/* halloween-theme.css */
.meso-halloween .meso-header { position:relative; }
.meso-halloween .meso-header .brand { position:relative; }
.halloween-brand-bat { position:absolute; width:34px; height:23px; right:-10px; top:-12px; fill:#20272b; stroke:#c8b181; stroke-width:1.3; stroke-linejoin:round; pointer-events:none; }
.halloween-brand-bat .halloween-bat-fold { fill:none; stroke:#7f8978; stroke-width:1; }
.halloween-header-web { position:absolute; top:0; right:0; width:58px; height:44px; fill:none; stroke:#c7baa0; stroke-width:.85; opacity:.25; pointer-events:none; }
#halloween-event-slot:empty { display:none; }
.halloween-event-notice { display:flex; align-items:center; gap:14px; margin:0 0 20px; padding:14px 18px; border:1px solid #9f8d63; border-radius:5px; background:#283730; color:#eee7d7; }
.halloween-event-notice p { margin:0; font:inherit; line-height:1.55; }
.halloween-event-notice strong { color:#ead1a0; font-weight:600; }
.halloween-event-notice a { color:#f3d99e; text-decoration:underline; text-underline-offset:3px; }
.halloween-event-notice a:focus-visible { outline:2px solid #f3d99e; outline-offset:3px; }
.halloween-notice-moon { flex:0 0 auto; color:#e5c783; font-size:32px; line-height:1; }
@media(max-width:640px){
 .halloween-brand-bat { width:27px; height:19px; right:-2px; top:-10px; }
 .halloween-header-web { display:none; }
 .halloween-event-notice { align-items:flex-start; gap:10px; padding:12px 14px; font-size:14px; }
 .halloween-event-notice strong { display:block; }
 .halloween-notice-moon { font-size:27px; margin-top:3px; }
}

