/* Witness Word 2.1: editorial gold-on-black, play-first remaster. */
:root { --muted:#c6bda8; --dim:#aaa08c; }
body:not(.embed-mode):not(.fullscreen-active) .page-shell { width:min(1180px,calc(100% - 40px)); padding-top:18px; }
body:not(.embed-mode):not(.fullscreen-active) .site-header { max-width:1180px; padding-block:12px; }
body:not(.embed-mode):not(.fullscreen-active) .site-nav { display:none; }
body:not(.embed-mode):not(.fullscreen-active) .pp-ww-standalone-return { position:static; border:0; background:none; box-shadow:none; backdrop-filter:none; padding-block:4px; font-size:.72rem; }
.intro-band { padding:20px 0 24px; border:0; background:none; box-shadow:none; gap:28px; }
.intro-title .eyebrow { color:#d6b873; letter-spacing:.16em; font-size:.65rem; }
.intro-title h1 { font-family:Georgia,'Times New Roman',serif; font-weight:400; letter-spacing:-.045em; font-size:clamp(2.5rem,5.5vw,4.6rem); line-height:1.06; margin:.35rem 0 .7rem; text-shadow:none; }
.intro-copy { max-width:36rem; font-size:1rem; color:#cfc3a8; }
.daily-briefing { border:1px solid #6d592e; border-radius:8px; background:linear-gradient(130deg,#1b160cdd,#080808ed); box-shadow:none; padding:16px 20px; }
.daily-briefing strong { font-family:Georgia,serif; font-weight:400; letter-spacing:.02em; }
.console-layout { grid-template-columns:minmax(0,1fr) minmax(240px,300px); gap:20px; }
.game-panel { border-color:#66512e; background:linear-gradient(145deg,#15120ddd,#080808f5); box-shadow:0 20px 80px #0005; }
.panel-heading h2 { font-family:Georgia,serif; font-weight:400; letter-spacing:-.015em; }
.intel-panel { border-color:#4c402b; background:#090908e8; box-shadow:none; }
.intel-panel h2 { font-family:Georgia,serif; font-weight:400; }
.tile { border-color:#665c43; background:linear-gradient(160deg,#201c13,#100f0b); box-shadow:inset 0 1px 0 #ffffff08; font-weight:650; }
.tile.filled { box-shadow:inset 0 1px 0 #ffffff15; }
.tile.correct,.tile.present { box-shadow:inset 0 1px 0 #ffffff25; }
.key { border-color:#61573f; box-shadow:none; background:linear-gradient(#262319,#15140f); }
.control-button,.mini-action { box-shadow:none; }
.control-button:not(.quiet) { background:linear-gradient(135deg,#f2d988,#bb913d); color:#171208; border-color:#e5c76c; }
:is(button,a,input,summary):focus-visible { outline:3px solid #f2d988; outline-offset:4px; }
.more-trials { margin:24px 0; border-top:1px solid #574629; padding:18px 0; }
.more-trials>summary { cursor:pointer; color:#ead5a4; font-family:Georgia,serif; font-size:1.25rem; }
.more-trials>summary span { display:block; font: .75rem/1.6 system-ui,sans-serif; color:#bdb19a; padding-top:4px; }
.more-trials .mode-dock { margin-top:20px; }
.result-dialog { border-color:#a07f3b; border-radius:12px; background:radial-gradient(ellipse at top,#2a2112,#090909 70%); max-width:40rem; }
.result-dialog h2 { font-family:Georgia,serif; font-weight:400; font-size:2rem; letter-spacing:-.02em; }
.result-dialog p { line-height:1.65; }
.answer-dossier { border-color:#65502a; background:#0b0b09; }
#scriptureDossier { border-top:1px solid #514127; margin-top:16px; }
body:is(.embed-mode,.fullscreen-active) .more-trials { display:none; }
body:is(.embed-mode,.fullscreen-active) .game-panel { background:radial-gradient(ellipse at 50% 0,#21190ddd,transparent 65%),#070706; }
@media(max-width:760px){
 body:not(.embed-mode):not(.fullscreen-active) .page-shell { width:calc(100% - 24px); }
 .intro-band { grid-template-columns:1fr; gap:14px; padding-top:10px; }
 .daily-briefing { padding:12px 14px; }
 .console-layout { grid-template-columns:minmax(0,1fr); }
 .intel-panel { margin-top:0; }
 .site-header .brand small { display:none; }
 .pp-ww-standalone-return span { display:none; }
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;}}
.more-trials { order:3; }
.intro-band { min-height:0; }
body:not(.embed-mode):not(.fullscreen-active) .board { width:min(100%,300px); }
body:not(.embed-mode):not(.fullscreen-active) .game-panel { padding:18px; gap:12px; }
body:not(.embed-mode):not(.fullscreen-active) .panel-heading { margin-bottom:0; }
@media(max-width:760px){.intro-band{display:flex;flex-direction:column;align-items:stretch}.intro-title h1{font-size:2.6rem}.daily-briefing{width:100%}}
@media(min-width:1000px){
 body:not(.embed-mode):not(.fullscreen-active) .console-layout { grid-template-columns:minmax(0,1fr); }
 body:not(.embed-mode):not(.fullscreen-active) .intel-panel { display:none; }
 body:not(.embed-mode):not(.fullscreen-active) .game-panel { grid-template-columns:minmax(240px,.8fr) minmax(440px,1.2fr); grid-template-rows:auto auto auto auto; min-height:0; }
 body:not(.embed-mode):not(.fullscreen-active) .game-panel>.panel-heading { grid-column:1/-1; }
 body:not(.embed-mode):not(.fullscreen-active) .game-panel>.run-meter { grid-column:2; grid-row:2; }
 body:not(.embed-mode):not(.fullscreen-active) .game-panel>.status-strip { grid-column:2; grid-row:3; }
 body:not(.embed-mode):not(.fullscreen-active) .game-panel>.board { grid-column:1; grid-row:2/5; width:280px; align-self:center; }
 body:not(.embed-mode):not(.fullscreen-active) .game-panel>.keyboard { grid-column:2; grid-row:4; width:100%; margin:0; }
}

.legend-box { display:inline-grid; place-items:center; color:#fff; font-size:12px; font-weight:700; }
.clue-cost { color:#c6bda8; font-size:.8rem; line-height:1.5; }
/* Scripture journeys and restrained victory light. */
.chapter-heading,.chapter-intro { grid-column:1/-1; flex-basis:100%; }
.chapter-heading { margin:24px 0 0; color:#efd48a; font:1.3rem Georgia,serif; }
.chapter-intro { margin:0 0 12px; color:#c6bda8; line-height:1.6; }
.chapter-payoff { margin:20px 0; padding:18px; border-left:3px solid #d8b768; background:#d8b7680c; }
.chapter-payoff h3 { color:#efd48a; margin-top:0; }
.result-dialog.is-victory { box-shadow:0 0 70px #d8ad3f25; animation:witness-reveal .7s ease-out; }
.result-dialog .dialog-actions { flex-wrap:wrap; gap:10px; }
@keyframes witness-reveal { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) { .result-dialog.is-victory { animation:none; } }
.wording-note { color:#b9ae94; font-size:.85rem; line-height:1.5; }
