:root{color-scheme:dark;--bg:#0b1626;--surface:#10243a;--panel:#102539;--gold:#efbf78;--ink:#f5efe7;--muted:#bed0df;--border:#38566c;--accent:#92d2d4}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(ellipse 80% 42% at 72% 0%,#234557,#14273a 50%,#0b1626);color:var(--ink);font:15px/1.58 Arial,Helvetica,sans-serif}a{color:inherit}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.skip{position:absolute;left:-9999px}.skip:focus{left:8px;top:8px;background:white;color:#111;padding:10px;z-index:3}button{border:1px solid #6888a0;border-radius:7px;background:#214157;color:#f6f9fb;min-height:40px;padding:9px 12px}button:hover:not(:disabled){background:#2e5973}
.top{border-bottom:1px solid var(--border);background:#0d1b2c;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:74px;padding:14px clamp(18px,5vw,64px)}.logo{font-size:19px;font-weight:800;letter-spacing:.11em;text-decoration:none;white-space:nowrap}.brandmark{color:var(--accent);font-size:29px;margin-right:8px}.top nav{display:flex;gap:20px;font-size:13px;flex-wrap:wrap}.wrap{max-width:1380px;margin:auto;padding:34px clamp(15px,3vw,40px) 65px}.kicker{font-size:11px;letter-spacing:.14em;color:var(--gold);font-weight:800;margin:0 0 10px;text-transform:uppercase}.mast{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:30px}.mast h1{font:normal clamp(42px,6vw,64px)/1.08 Georgia,serif;letter-spacing:.01em;margin:0 0 13px}.mast h1 em{color:var(--gold);font-style:normal}.lede{max-width:750px;margin:0;color:var(--muted);font-size:17px}.preview-chip{border:1px solid #9c7d51;border-radius:24px;padding:8px 12px;color:var(--gold);font-weight:800;font-size:11px;letter-spacing:.06em;white-space:nowrap}.issue{border:1px solid var(--border);border-radius:13px;background:linear-gradient(120deg,#163147,#0e1e31);padding:24px 27px;display:flex;justify-content:space-between;gap:15px;align-items:center}.issue h2{font:normal clamp(26px,3vw,37px) Georgia,serif;margin:0}.issue p:last-child{margin:6px 0 0;color:var(--muted)}.issue-stats{text-align:center;min-width:126px;letter-spacing:.09em;font-size:11px;color:var(--gold)}.issue-stats span{display:block}.issue-stats .number{font:normal 38px Georgia,serif;letter-spacing:0;color:white}.status{min-height:27px;margin:8px 0 0;color:var(--gold)}.actionbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:11px 14px;border:1px solid var(--border);border-radius:10px;background:#0e2033;margin:4px 0 18px}.scoreline{display:flex;gap:12px;flex-wrap:wrap;align-items:center;color:var(--gold)}.scoreline strong{font-size:13px}.scoreline span{font-size:12px;color:var(--muted)}.tools{display:flex;gap:7px;flex-wrap:wrap}.tools button{font-size:12px;min-height:35px}.puzzle-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(295px,.76fr);gap:20px;align-items:start}.cryptogram-panel,.analysis-panel,.story,.archive{min-width:0;border:1px solid var(--border);border-radius:13px;background:linear-gradient(145deg,#132b41,#0b1c2d);padding:24px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h3,.analysis-panel h3,.story h3,.archive h3{font:normal 28px Georgia,serif;margin:0}.small-counter{color:var(--gold);font-size:12px;white-space:nowrap}.instructions{margin:10px 0 24px;color:var(--muted);font-size:13px}.ciphertext{display:flex;flex-wrap:wrap;align-items:baseline;align-content:flex-start;gap:13px 11px;min-height:112px;margin-bottom:21px;padding:24px 15px;border:1px solid #527084;border-radius:10px;background:radial-gradient(ellipse at center,#16364d,#0b1b2c);overflow-wrap:anywhere}.cipher-word{display:inline-flex;align-items:baseline;white-space:nowrap;gap:2px;max-width:100%}.letter-tile{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:clamp(23px,2.45vw,31px);min-width:0;height:54px;padding:0;border:1px solid transparent;border-bottom:2px solid #7b93aa;border-radius:4px;background:#ffffff08;color:var(--ink)}.letter-tile .guess{color:var(--gold);height:24px;line-height:24px;font:bold 19px/24px 'Courier New',monospace}.letter-tile .encoded{color:#a3bccd;font:bold 13px/20px 'Courier New',monospace}.letter-tile.selected,.map-item.selected{border-color:var(--gold);background:#75532e80;box-shadow:0 0 0 1px #f7d7a0}.letter-tile.filled .guess{color:#f5f2ed}.punct{display:inline-grid;place-items:end center;min-width:7px;height:46px;color:#f8f0df;font:700 21px/28px Georgia,serif}.mobile-entry{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;border:1px solid #455f76;border-radius:9px;background:#0e2033}.mobile-entry label{font-size:13px;color:var(--muted);flex:1 1 205px}.mobile-entry label strong{color:var(--gold);font-size:16px}.mobile-entry input{width:72px;min-height:44px;text-align:center;background:#f4eee1;color:#15293a;border:1px solid #b9c9d3;border-radius:6px;font:800 22px 'Courier New',monospace;text-transform:uppercase}.mobile-entry button{font-size:12px}.feedback{color:#efbf78;font-size:13px;min-height:20px;margin:8px 0 9px}.keyboard{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:5px;max-width:700px}.keyboard button{padding:5px 0;min-width:0;height:43px;font:800 15px 'Courier New',monospace;background:#1c3a53}.keyboard button.taken{border-color:#8db6ab;background:#1a453f;color:#d4f1e3}.keyboard .backspace{font-size:20px}.bottom-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:17px;flex-wrap:wrap}.bottom-actions .primary{background:var(--gold);color:#142c3a;border-color:#efcb90;font-weight:800}.bottom-actions .primary:hover:not(:disabled){background:#ffe1a8}.complete{padding:19px 22px;margin-top:20px;background:#16413d;border:1px solid #7bb69d;border-radius:10px}.complete h3{font:normal 29px Georgia,serif;margin:0;color:#e0f7e3}.complete p:last-child{margin:4px 0 0;color:#d6ebdf}.analysis-panel{position:sticky;top:16px}.side-help{font-size:13px;color:var(--muted);margin:9px 0 18px}.mapping{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.map-item{min-height:56px;min-width:0;padding:4px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid #5a728a;border-radius:6px;background:#1b374b}.map-item .encoded{font:800 13px 'Courier New',monospace;color:#9cbaca}.map-item .guess{font:800 21px 'Courier New',monospace;color:var(--gold)}.map-item.filled .guess{color:#f5f3ee}.meta{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}.meta p:last-child{color:var(--muted);font-size:13px;margin:0}.answer-section{border-top:1px solid var(--border);margin-top:17px;padding-top:17px}.answer-section button{background:transparent}.story{margin-top:20px;border-color:#847558}.plain-text{font:normal 20px/1.55 Georgia,serif;color:#ffe2ac}.story>p{max-width:950px;line-height:1.65}.story-attribution{font-weight:700;color:#a8c2d4;font-size:12px}.smallprint{font-size:12px;color:var(--muted)}.archive{margin-top:22px}.archive-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.archive-top>p,.archive-message{font-size:13px;color:var(--muted)}.archive-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.archive-controls label{font-size:13px;color:var(--muted)}.archive-controls select{background:#1c3b52;border:1px solid #718da3;color:white;border-radius:6px;padding:9px;min-height:40px}.archive-controls #month{min-width:170px}.archive-controls #edition{min-width:250px;flex:1 1 230px}footer{text-align:center;font-size:11px;letter-spacing:.1em;color:#a4b7c5;padding:22px}
@media(max-width:1050px){.puzzle-layout{grid-template-columns:1fr}.analysis-panel{position:static}.mapping{grid-template-columns:repeat(10,minmax(0,1fr))}}
@media(max-width:650px){.top{padding:13px;align-items:flex-start}.logo{font-size:15px}.brandmark{font-size:20px}.top nav{font-size:11px;gap:9px;justify-content:flex-end}.wrap{padding:24px 11px 40px}.mast{display:block}.mast h1{font-size:44px}.preview-chip{display:inline-block;margin-top:15px}.issue{padding:16px;align-items:flex-start}.issue-stats{min-width:75px;font-size:9px}.issue-stats .number{font-size:26px}.actionbar{align-items:flex-start}.cryptogram-panel,.analysis-panel,.story,.archive{padding:14px}.panel-head h3,.analysis-panel h3,.story h3,.archive h3{font-size:25px}.ciphertext{padding:17px 8px;gap:10px 6px}.cipher-word{gap:1px;flex-wrap:wrap;white-space:normal}.letter-tile{width:clamp(20px,5.5vw,27px);height:49px}.letter-tile .guess{font-size:16px}.letter-tile .encoded{font-size:11px}.punct{font-size:18px;min-width:5px;height:43px}.mapping{grid-template-columns:repeat(7,minmax(0,1fr))}.keyboard{grid-template-columns:repeat(7,minmax(0,1fr))}.bottom-actions button{flex:1}.archive-top{display:block}.archive-controls #edition{flex-basis:100%}.archive-controls button{width:100%}}
@media(max-width:370px){.letter-tile{width:20px}.ciphertext{gap:9px 5px}.cipher-word{gap:0}.punct{min-width:3px}.keyboard{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media print{body{background:white;color:black;font-size:12px}.top,.tools,.bottom-actions,.keyboard,.mobile-entry,.analysis-panel,.archive,footer,.status,.feedback,.preview-chip,.complete,.story,.skip{display:none!important}.wrap{padding:0}.mast{margin:0 0 10px}.mast h1{font-size:30px}.lede{font-size:11px;color:#222}.issue,.cryptogram-panel{border:1px solid #555;background:white!important;color:#111}.issue{padding:10px}.issue h2{font-size:21px}.puzzle-layout{display:block}.ciphertext{background:white!important;border:1px solid #777}.letter-tile{background:white;color:black;border-bottom:2px solid black}.letter-tile .guess{color:black}.letter-tile .encoded{color:#555}.punct,.instructions,.issue p:last-child{color:#222}.kicker{color:#444}}
