@font-face{font-family:DM;src:url("./dm-sans.ttf") format("truetype");font-display:swap}
@font-face{font-family:Bricolage;src:url("./bricolage.ttf") format("truetype");font-weight:700;font-display:swap}
:root{
  color-scheme:light; --paper:#f9f8f0; --ink:#172f33; --teal:#176959; --muted:#506263;
  --rule:#c3c9bc; --tile:#fffef8; --key:#e4e8de; --gold:#ecc161; --absent:#536466;
  font:100%/1.45 DM,Arial,sans-serif; color:var(--ink); background:var(--paper);
}
*{box-sizing:border-box}
body{margin:0;min-height:100vh}
button,a{touch-action:manipulation}
button,textarea{font:inherit}
button{color:inherit;cursor:pointer}
button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #067b8b;outline-offset:3px}
[hidden]{display:none!important}
svg:not(.brand svg){width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.wrap{width:min(calc(100% - 80px),1120px);margin-inline:auto}
.topbar{border-top:4px solid var(--ink);border-bottom:1px solid var(--rule)}
.topbar-inner,.brand,.quiet-btn,.issue-line,.clue-card h2,.edition-note,.play-heading,.legend,.legend span,.help-key li{display:flex;align-items:center}
.topbar-inner{justify-content:space-between;min-height:67px}
.brand{gap:9px;font:700 1.3rem/1 Bricolage,Arial,sans-serif;letter-spacing:-.06em;color:var(--ink);text-decoration:none}
.brand .domain{color:var(--teal)}
.quiet-btn,.close{border:0;background:none}
.quiet-btn{gap:7px;padding:10px 0 10px 12px;font-weight:bold;font-size:.92rem}
.quiet-btn:hover,.brand:hover{color:var(--teal)}
.spread{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);padding-block:clamp(34px,6.3vh,68px) 36px}
.edition{min-width:0;padding:2px clamp(32px,4.7vw,70px) 0 0;border-right:1px solid var(--rule)}
.issue-line{gap:13px;color:var(--muted);flex-wrap:wrap;font-size:.86rem}
.issue,.counter,.clue-card h2{font:700 .8rem/1.25 "Courier New",monospace;text-transform:uppercase;letter-spacing:.06em}
.issue{display:inline-block;padding:5px 8px 4px;background:var(--ink);color:var(--paper)}
.masthead h1{font:700 clamp(5.1rem,8.5vw,8.25rem)/1 Georgia,"Times New Roman",serif;letter-spacing:-.07em;margin:18px 0 8px -.065em}
.masthead p{margin:0;font:italic clamp(1.13rem,1.65vw,1.48rem)/1.4 Georgia,serif;color:#3c5151}
.illustration{margin:26px -3px 29px;mix-blend-mode:multiply}
.illustration img{width:100%;height:auto;display:block;filter:brightness(1.055);mask-image:linear-gradient(to bottom,transparent,#000 9%,#000 90%,transparent),linear-gradient(to right,transparent,#000 3%,#000 97%,transparent);mask-composite:intersect}
.clue-card{position:relative;background:#f4ebca;border:1px solid #d2c699;border-left:4px solid #b38c39;padding:19px 23px 22px}
.clue-card h2{gap:8px;margin:0 0 12px;color:#67542b;letter-spacing:.09em}
.clue-card h2 svg{width:19px;height:19px}
.clue-card p{margin:0;font:700 clamp(1.38rem,2.05vw,1.85rem)/1.22 Georgia,serif;letter-spacing:-.023em}
.edition-note{gap:7px;margin:18px 0 0;color:var(--muted);font-size:.86rem}
.play{min-width:0;padding-left:clamp(32px,4.7vw,70px)}
.play-heading{justify-content:space-between;border-bottom:1px solid var(--rule);padding-bottom:10px;gap:12px}
.play-heading h2{margin:0;font:700 1.52rem/1.15 Georgia,serif;letter-spacing:-.035em}
.counter{color:var(--teal);font-size:.8rem}
.board-area{position:relative;display:grid;justify-items:center;margin-top:20px}
.board{--tile-size:clamp(43px,6.6vh,60px);display:grid;gap:6px}
.guess-row{display:grid;grid-template-columns:repeat(5,var(--tile-size));gap:6px}
.cell,.sample{position:relative;display:grid;place-items:center;background:var(--tile);border:1.5px solid #c2cabd;border-radius:4px;color:var(--ink);font:700 1.84rem/1 Bricolage,Arial,sans-serif}
.cell{height:var(--tile-size)}
.guess-row.current .cell{border-color:#8daba1}
.guess-row.current .cell.filled{border-color:var(--teal)}
.guess-row.current .cell.cursor{border:2px solid var(--teal);background:#f1f5eb}
.cell.cursor::before{content:"";position:absolute;bottom:22%;width:24%;height:2px;background:var(--teal)}
.correct,.present,.absent{position:relative}
.correct{background:var(--teal)!important;color:white!important;border-color:var(--teal)!important}
.present{background:var(--gold)!important;color:#302917!important;border-color:#aa7e24!important}
.absent{background:var(--absent)!important;color:white!important;border-color:var(--absent)!important}
.correct::after,.present::after{content:"";position:absolute;pointer-events:none}
.correct::after{height:2px;width:22%;background:currentColor;bottom:7%;left:39%;border-radius:1px}
.present::after{height:4px;width:4px;background:currentColor;bottom:7%;right:8%;border-radius:50%}
.notice{position:absolute;z-index:1;left:50%;bottom:8px;transform:translateX(-50%);max-width:96%;width:max-content;background:var(--ink);color:white;border-radius:4px;padding:7px 14px;font-size:.9rem;box-shadow:0 2px 6px #172f3326;pointer-events:none}
.notice:empty{display:none}
.keyboard{margin-top:23px;display:grid;gap:6px}
.key-row{display:flex;justify-content:center;gap:4px}
.key{border:1px solid #b9c4b9;border-bottom:2px solid #98a79f;border-radius:4px;background:var(--key);padding:0;flex:0 1 calc((100% - 36px)/10);height:46px;display:grid;place-items:center;font:700 1.02rem/1 Bricolage,Arial,sans-serif}
.key.wide{flex-basis:calc((100% - 36px)*.15 + 2px);font:700 .81rem/1 DM,Arial,sans-serif}
.key.enter{background:var(--ink);color:white;border-color:var(--ink)}
.key.delete svg{width:21px;height:21px}
.key:hover,.action-btn:hover{filter:brightness(.94)}
.key:active{transform:translateY(1px)}
.legend{justify-content:center;gap:18px;margin-top:19px;color:var(--muted);font-size:.83rem}
.legend span{gap:6px;white-space:nowrap}
.swatch{width:13px;height:13px;border-radius:2px}
.swatch.correct::after{width:6px;left:3px;bottom:2px;height:1px}
.swatch.present::after{right:2px;bottom:2px;width:2px;height:2px}
.result{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin-top:18px;padding:16px 18px;background:#e8f0e4;border:1px solid #afc5b6;border-radius:4px}
.result h3{margin:0;font:700 1.4rem/1.2 Georgia,serif}
.result p,.share-status{font-size:.9rem;margin:3px 0 0}
.share-status:empty{display:none}
.share-status,textarea{width:100%}
textarea{resize:vertical}
.action-btn{border:1px solid var(--teal);border-radius:4px;background:var(--teal);color:white;font-weight:bold;padding:9px 15px}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
dialog{width:min(430px,calc(100% - 32px));color:var(--ink);background:var(--paper);border:1px solid var(--ink);border-top:5px solid var(--teal);border-radius:6px;padding:27px;box-shadow:0 12px 70px #172f3344}
dialog::backdrop{background:#152b2cc2}
dialog h2{font:700 2.3rem/1.1 Georgia,serif;letter-spacing:-.05em;margin:0 0 15px}
.close{float:right;padding:5px;display:grid;place-items:center}
.help-key{display:grid;gap:9px;padding:0;list-style:none}
.help-key li{gap:12px}
.sample{height:36px;width:36px;flex:none;font-size:1.18rem;border-radius:3px}
.help-note{color:var(--muted);font-size:.9rem}
@media(min-width:741px) and (max-height:760px){
  .spread{padding-top:28px}.board{--tile-size:clamp(40px,6.6vh,49px)}
  .board-area{margin-top:14px}.keyboard{margin-top:18px}.key{height:41px}
}
@media(max-width:900px){
  .wrap{width:calc(100% - 44px)}.edition{padding-right:26px}.play{padding-left:26px}
}
@media(max-width:740px){
  .wrap{width:min(calc(100% - 32px),520px)}.topbar-inner{min-height:46px}
  .brand{font-size:1.1rem}.brand img{width:25px;height:25px}.quiet-btn{font-size:.86rem}
  .spread{display:block;padding-block:17px 16px}
  .edition{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,29%);padding:0;border:0;align-items:end}
  .issue-line{grid-column:1/-1;font-size:.76rem;gap:9px;align-items:center}
  .issue{font-size:.7rem;padding:3px 6px}
  .masthead{display:contents}
  .masthead h1{grid-area:2/1;font-size:clamp(3.3rem,10.8vw,4.2rem);margin:5px 0 4px}
  .masthead p{grid-area:3/1/auto/-1;font-size:clamp(.93rem,3.2vw,1.1rem)}
  .illustration{grid-area:2/2;align-self:center;justify-self:end;width:120%;margin:4px 0 0;height:48px;overflow:hidden}
  .illustration img{width:100%;height:100%;object-fit:cover;object-position:15% center}
  .clue-card{grid-column:1/-1;margin-top:12px;padding:10px 13px;border-left-width:3px}
  .clue-card h2{font-size:.71rem;gap:5px;margin-bottom:4px}.clue-card h2 svg{width:14px;height:14px}
  .clue-card p{font-size:1.16rem;line-height:1.2}
  .edition-note{display:none}
  .play{padding:0;margin-top:16px}
  .play-heading{padding-bottom:6px}.play-heading h2{font-size:1.16rem}.counter{font-size:.72rem}
  .board-area{margin-top:12px}.board{--tile-size:clamp(35px,5.7svh,51px);gap:4px}.guess-row{gap:4px}
  .cell{font-size:1.5rem}
  .keyboard{margin-top:13px;gap:4px}
  .key-row{gap:3px}.key{height:44px;flex-basis:calc((100% - 27px)/10);font-size:.95rem}.key.wide{flex-basis:calc((100% - 27px)*.15 + 1.5px)}
  .legend{margin-top:12px;gap:14px;font-size:.78rem}
}
@media(max-width:365px){
  .wrap{width:calc(100% - 20px)}.edition{grid-template-columns:minmax(0,1fr) 24%}.key.wide{font-size:.74rem}
}
@media(prefers-reduced-motion:no-preference){
  .cell.revealed{animation:stamp .3s ease-out backwards;animation-delay:calc(var(--column)*45ms)}
  @keyframes stamp{from{opacity:.4;transform:scale(.9)}to{opacity:1;transform:scale(1)}}
}
