:root{color-scheme:light;font-family:Trebuchet MS,Segoe UI,sans-serif;color:#193931;background:#dce9df;--ink: #193931;--muted: #4e6156;--paper: #fffdf3;--border: #9dad9d;--rust: #9c391f}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100dvh;background-image:radial-gradient(#58776938 .7px,transparent .7px);background-size:12px 12px}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid var(--rust);outline-offset:3px}button:disabled{cursor:default}#game{width:min(100%,68rem);margin:0 auto;padding:clamp(.6rem,4vw,3.25rem) clamp(.55rem,3vw,2rem) 1.6rem}.mast{display:flex;flex-wrap:wrap;align-items:end;gap:.5rem 1.2rem;justify-content:space-between;margin:0 0 clamp(.7rem,2.5vw,1.5rem)}.date{margin:0 0 .3rem;color:var(--muted);font:700 .81rem Courier New,monospace}h1,h2,h3,p{margin:0}h1{font:700 clamp(2rem,6vw,4.15rem)/.98 Georgia,serif;letter-spacing:-.055em}.modes{display:flex;gap:.2rem;padding:.19rem;border:1px solid var(--ink);border-radius:.55rem;background:#f0f5ec}.modes button{min-height:2.75rem;padding:.25rem .9rem;border:0;border-radius:.32rem;background:transparent;font-weight:700}.modes button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.sheet{border:1px solid var(--ink);border-radius:.7rem;background:var(--paper);box-shadow:.22rem .3rem #93ab9d}.clue{display:flex;justify-content:space-between;align-items:start;gap:.35rem 1rem;padding:clamp(.7rem,3vw,1.5rem);border-bottom:1px dashed var(--border)}.clue h2{margin-bottom:.3rem;font:700 clamp(1.25rem,3vw,1.7rem)/1.1 Georgia,serif}.clue p{max-width:54ch;color:var(--muted);font-size:.88rem;line-height:1.35}.clue .progress{flex:none;padding:.26rem .4rem;background:#e7eee2;border-radius:.2rem;color:var(--ink);font:700 .78rem Courier New,monospace}.board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.13fr);gap:clamp(1rem,3vw,2.25rem);padding:clamp(.7rem,3vw,1.5rem)}.pool,.sorting{min-width:0}.label-line{display:flex;gap:.5rem;align-items:baseline;justify-content:space-between;margin-bottom:.5rem}.label-line h3{font-size:.95rem}.label-line span,#keys{color:var(--muted);font-size:.8rem}#keys{margin-top:.7rem}.cards,.trays{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.cards{gap:.36rem}.card{display:grid;place-items:center;min-height:clamp(2.75rem,5vw,3.75rem);padding:.2rem .12rem;border:1px solid #7c9685;border-radius:.32rem;background:#f0f5ec;box-shadow:0 2px #c1d1c0;font:700 clamp(.76rem,1.65vw,.97rem)/1.12 "Courier New",monospace;overflow-wrap:anywhere;text-align:center}.card[aria-pressed=true]{border-color:var(--rust);background:#fae0ad;box-shadow:0 2px var(--rust);color:#592915}.card.ghost{border:1px dashed #c2cbb9;background:transparent;box-shadow:none}.trays{gap:.45rem}.tray{--tray-bg: #faedcb;min-width:0;padding:.33rem;border:1px solid #a99561;border-radius:.42rem;background:var(--tray-bg)}.tray:nth-child(2){--tray-bg: #e3edf5;border-color:#7895a7}.tray:nth-child(3){--tray-bg: #f7e7e8;border-color:#af7e82}.tray-head{display:flex;align-items:center;gap:.22rem;width:100%;min-height:2.75rem;padding:.15rem .15rem .28rem;border:1px solid transparent;border-radius:.25rem;background:transparent;text-align:left;font-size:clamp(.75rem,1.9vw,1rem);font-weight:700;line-height:1.1}.tray-head kbd{display:grid;place-items:center;flex:none;width:1.1rem;height:1.15rem;border:1px solid #19393161;border-radius:.2rem;font-size:.75rem}.board.has-selection .tray-head:not([aria-disabled=true]){border-color:var(--ink);background:var(--paper)}.tray-head[aria-disabled=true]{cursor:default}.slots{display:grid;gap:.22rem;margin:.24rem 0 0;padding:0;list-style:none}.slots li{display:grid;min-height:2.75rem;min-width:0;border-radius:.25rem}.slots .empty{border:1px dashed #19393165}.slot-word{min-height:100%;width:100%;padding:.15rem .12rem;border:1px solid #1939316e;border-radius:.25rem;background:#fffdf3;font:700 clamp(.67rem,1.35vw,.85rem)/1.1 "Courier New",monospace;overflow-wrap:anywhere}.slot-word:disabled{color:#154a36;border-color:#668b74;background:#e2eee0}.slot-word:disabled:before{content:"✓ "}.bench{display:flex;flex-wrap:wrap;gap:.45rem 1rem;justify-content:space-between;align-items:center;min-height:4.5rem;padding:.68rem clamp(.7rem,3vw,1.5rem);border-top:1px dashed var(--border)}#status{flex:1 1 16rem;color:var(--muted);font-size:.88rem;line-height:1.3}.sheet.solved #status{color:#154a36;font-weight:700}.actions{display:flex;flex-wrap:wrap;gap:.35rem}.actions button{min-height:2.75rem;padding:.37rem .7rem;border:1px solid var(--ink);border-radius:.35rem;font-size:.87rem;font-weight:700}.primary{background:var(--ink);color:var(--paper)}.outline{background:transparent}.actions button:disabled{color:#52635a;border-color:#adc2af;background:#ebf0e8}@media (hover: hover){.card:not([aria-pressed=true]):hover,.slot-word:not(:disabled):hover{border-color:var(--rust)}.actions button:not(:disabled):hover,.board.has-selection .tray-head:hover:not([aria-disabled=true]){box-shadow:inset 0 0 0 1px currentColor}}@media (max-width: 680px){.board{grid-template-columns:minmax(0,1fr);gap:.78rem}.cards{gap:.25rem}.trays{gap:.28rem}.tray{padding:.22rem}.tray-head{padding-inline:.06rem}.clue .progress{font-size:.72rem}.bench{min-height:0}}@media (pointer: coarse){#keys{display:none}}
