:root{--eq-ink:#18233f;--eq-muted:#67728b;--eq-good:#26856e;--eq-close:#bd8739;--eq-miss:#778398;--eq-bg:#f5f7fc;--eq-line:#e6eaf3}
body{background:var(--eq-bg);color:var(--eq-ink)}.eq-page{max-width:1150px;margin:0 auto;padding:22px 18px 65px}.eq-hero{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 2px 22px}.eq-eyebrow{color:#6979a1;font-size:11px;letter-spacing:1.6px;font-weight:850;text-transform:uppercase}.eq-hero h1{font-size:clamp(30px,4vw,43px);letter-spacing:-1.8px;margin:8px 0 6px;line-height:1.1}.eq-hero p{color:var(--eq-muted);font-size:15px;line-height:1.5;max-width:590px;margin:0}.eq-streak{flex:none;background:white;border:1px solid var(--eq-line);border-radius:15px;min-width:100px;padding:11px 15px;text-align:center;box-shadow:0 3px 12px #26375c05}.eq-streak span{display:block;color:var(--eq-muted);font-size:11px}.eq-streak strong{display:block;font-size:23px}.eq-shell{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,0.88fr);gap:18px;align-items:stretch}.eq-main,.eq-panel{background:#fff;border-radius:22px;border:1px solid var(--eq-line);box-shadow:0 10px 35px #1e2f4a0b}.eq-main{min-width:0;padding:20px 22px 19px}.eq-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.eq-modes{display:flex;background:#f2f4f9;padding:4px;border-radius:12px;gap:2px;min-width:0;overflow-x:auto;scrollbar-width:none}.eq-modes::-webkit-scrollbar{display:none}.eq-modes button{border:0;background:transparent;border-radius:9px;color:#5b6782;white-space:nowrap;font-weight:730;padding:10px 13px;cursor:pointer;font-size:13px}.eq-modes button.on{background:#fff;color:#182847;box-shadow:0 2px 7px #1b305020}.eq-actions{display:flex;gap:5px}.eq-icon{border:1px solid var(--eq-line);background:#fff;cursor:pointer;color:#54617a;width:34px;height:34px;border-radius:10px;font-size:18px}.eq-icon:hover,.eq-subtle:hover,.eq-modes button:hover{background:#eaf3f7}.eq-game-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:20px 2px 14px;color:var(--eq-muted);font-size:12px;font-weight:700}.eq-tag{font-size:10px;background:#eaf4f2;border-radius:6px;color:#21856c;padding:6px 8px;letter-spacing:.5px}.eq-grid{display:grid;gap:5px;max-width:405px;margin:0 auto;justify-content:center;grid-template-rows:repeat(6,1fr)}.eq-row{display:flex;justify-content:center;gap:5px}.eq-tile{display:grid;place-items:center;width:clamp(31px,5vw,43px);height:clamp(35px,5.9vw,49px);border:2px solid #dde4ee;border-radius:7px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,monospace;font-weight:800;font-size:clamp(17px,2.25vw,23px);color:#213354;background:#fff;position:relative}.eq-tile.filled{border-color:#9aa9bd}.eq-tile.good,.eq-swatch.good{background:var(--eq-good);border-color:var(--eq-good);color:#fff}.eq-tile.close,.eq-swatch.close{background:var(--eq-close);border-color:var(--eq-close);color:#fff}.eq-tile.miss,.eq-swatch.miss{background:var(--eq-miss);border-color:var(--eq-miss);color:#fff}.eq-tile[data-state=good]:after,.eq-tile[data-state=close]:after,.eq-tile[data-state=miss]:after{position:absolute;bottom:0px;right:3px;font-size:8px;font-weight:900;opacity:.86}.eq-tile[data-state=good]:after{content:'✓'}.eq-tile[data-state=close]:after{content:'•'}.eq-tile[data-state=miss]:after{content:'×'}.eq-feedback{text-align:center;min-height:27px;margin:15px 0 5px;font-size:13px;font-weight:700;color:#2a6c6f}.eq-feedback.bad{color:#ad4c54}.eq-feedback.won{color:#1d8a69}.eq-meaning{text-align:center;margin:0 auto 16px;min-height:18px;color:#7b8498;font-size:11.5px}.eq-keyboard{display:grid;gap:7px;max-width:490px;margin:0 auto;user-select:none;touch-action:manipulation}.eq-keyrow{display:flex;gap:5px;justify-content:center}.eq-key{flex:1 1 0;min-width:0;min-height:43px;border:0;background:#e9edf5;border-bottom:2px solid #d6dce8;border-radius:8px;color:#253653;font-weight:800;font-size:17px;cursor:pointer;touch-action:manipulation}.eq-key:hover{background:#dfe7f4}.eq-key:active{transform:translateY(1px)}.eq-key.good{background:#26856e;border-color:#1c705b;color:#fff}.eq-key.close{background:#bd8739;border-color:#a17632;color:#fff}.eq-key.miss{background:#8290a3;border-color:#717f91;color:#fff}.eq-key.special{flex:1.55;font-size:12px;background:#303f60;color:#fff}.eq-key.special.enter{background:#1c857e}.eq-bottom{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:14px}.eq-primary{border:0;background:#1e857a;color:#fff;font-weight:800;padding:12px 18px;border-radius:10px;cursor:pointer;font-size:13px}.eq-primary:disabled{opacity:.42;cursor:not-allowed}.eq-subtle{border:1px solid var(--eq-line);border-radius:10px;background:#fff;color:#4c5d7a;font-size:13px;padding:11px 13px;cursor:pointer}.eq-bottom #gameTimer{color:#788498;font-weight:700;font-size:12px;margin-left:auto;font-variant-numeric:tabular-nums}.eq-panel{padding:25px}.eq-panel-head{display:flex;align-items:center;justify-content:space-between}.eq-panel h2{font-size:24px;margin:5px 0 9px;letter-spacing:-.6px}.eq-panel>p,.eq-panel-lower p{line-height:1.65;color:var(--eq-muted);font-size:13px}.eq-panel-symbol{display:grid;place-items:center;font-size:33px;color:#fff;border-radius:18px;width:54px;height:54px;background:linear-gradient(150deg,#4b96aa,#316a81)}.eq-legend{display:grid;gap:18px;margin:24px 0}.eq-legend>div{display:flex;gap:11px;align-items:center}.eq-swatch{width:36px;height:36px;display:grid;place-items:center;flex-shrink:0;font-size:18px;font-weight:800;color:#fff;border-radius:7px}.eq-legend strong{display:block;font-size:13px}.eq-legend small{display:block;font-size:11px;color:var(--eq-muted);margin-top:3px}.eq-rule{background:#f3f7fb;border-radius:12px;padding:15px;font-size:12px;color:#566783;line-height:1.7}.eq-rule strong{font-family:monospace;color:#1b3859}.eq-panel-lower{margin-top:20px;border-top:1px solid var(--eq-line);padding-top:17px}.eq-panel-lower strong{font-size:13px}.eq-panel-lower p{margin-top:6px}.eq-details{margin:19px 0 0;border:1px solid var(--eq-line);border-radius:16px;background:#fff;overflow:hidden}.eq-details summary{cursor:pointer;font-size:15px;font-weight:800;padding:18px 20px;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px}.eq-details summary::-webkit-details-marker{display:none}.eq-details summary:after{content:'⌄';font-size:22px;color:#71849a;margin-left:auto}.eq-details[open] summary:after{content:'⌃'}.eq-details summary span{color:#8995a7;font-size:12px;font-weight:500}.eq-detail-content{border-top:1px solid var(--eq-line);padding:21px;color:var(--eq-ink)}.eq-detail-content h2{font-size:20px;margin:0 0 10px}.eq-detail-content h3{font-size:16px;margin:20px 0 8px}.eq-education p,.eq-archive p{font-size:13px;line-height:1.7;color:#6b7590}.eq-toggle{display:flex;gap:12px;align-items:center;margin:12px 0;cursor:pointer}.eq-toggle input{width:20px;height:20px;accent-color:#178d80}.eq-toggle strong,.eq-toggle small{display:block}.eq-toggle strong{font-size:14px}.eq-toggle small{font-size:12px;color:#748198;margin-top:3px}.eq-archive{margin-top:22px;border-top:1px solid var(--eq-line);padding-top:14px}.eq-archive #archiveButtons{display:flex;flex-wrap:wrap;gap:7px}.eq-archive button{border:1px solid #dde7ef;color:#34516c;border-radius:8px;background:#f6f9fc;padding:10px;font-weight:700;cursor:pointer}.eq-related{margin:26px 0;color:#637189;font-size:14px}.eq-related h2{color:#29374f;font-size:19px}.eq-related a{color:#167d77;text-decoration:underline}.eq-modal-wrap{position:fixed;inset:0;background:#11213999;display:grid;place-items:center;z-index:2000;padding:18px}.eq-modal-wrap[hidden]{display:none}.eq-modal{width:min(460px,100%);max-height:85vh;overflow:auto;position:relative;border-radius:20px;background:white;padding:25px;box-shadow:0 16px 80px #091b3970}.eq-modal h2{margin:2px 40px 15px 0}.eq-modal p,.eq-modal li{font-size:14px;line-height:1.7;color:#596783}.eq-modal-close{position:absolute;right:13px;top:13px;width:36px;height:36px;background:#f3f5f8;border:0;border-radius:9px;font-size:24px;cursor:pointer}.eq-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.eq-stat-grid div{background:#f0f5f7;border-radius:9px;text-align:center;padding:12px 5px}.eq-stat-grid strong{display:block;font-size:23px}.eq-stat-grid span{font-size:10px;color:#768397}.eq-bars{display:flex;gap:5px;align-items:flex-end;height:80px;margin-top:20px}.eq-bars div{flex:1;background:#39928b;min-height:4px;text-align:center;border-radius:4px 4px 0 0;color:#fff;font-size:12px}.eq-bars-label{display:flex;justify-content:space-around;color:#66758c;font-size:11px}.eq-contrast{--eq-good:#0076bd;--eq-close:#e68a17;--eq-miss:#606b7e}.eq-no-motion *, .eq-no-motion *:before,.eq-no-motion *:after{animation:none!important;transition:none!important}
@media(max-width:830px){.eq-shell{grid-template-columns:1fr}.eq-panel{display:none}.eq-page{padding-top:16px}.eq-hero{padding-bottom:18px}.eq-main{padding:16px}.eq-grid{max-width:100%}.eq-tile{width:clamp(29px,calc((100vw - 100px)/8),43px);height:clamp(36px,11vw,49px)}.eq-details summary span{display:none}.eq-hero p{font-size:13px}.eq-hero h1{font-size:31px}.eq-streak{padding:9px;min-width:75px}.eq-streak strong{font-size:20px}}
@media(max-width:365px){.eq-page{padding:12px 8px 45px}.eq-main{padding:12px 9px 17px}.eq-tile{width:31px;height:38px;font-size:17px}.eq-row{gap:4px}.eq-grid{gap:4px}.eq-modes button{padding:9px 10px;font-size:12px}.eq-icon{width:30px;height:33px}.eq-key{min-height:42px;font-size:16px}.eq-keyrow{gap:3px}.eq-hero h1{font-size:28px}.eq-streak{display:none}}

@media(max-width:480px){.eq-actions #settingsOpen{display:none}.eq-modes button{padding:9px 8px}.eq-bottom:has(#newBtn[hidden]):has(#shareBtn[hidden]){margin-top:6px}}
