/* DailyBrainArc V0.578 | Word Search Q14 | scoped, game-first visual overhaul */
.wordsearch402{--ws578-ink:#17283b;--ws578-teal:#008d80;--ws578-mint:#eaf7f1;--ws578-edge:#dae5e3;--ws578-soft:#f6f9f7;color:var(--ws578-ink);background:linear-gradient(180deg,#f4f8f5 0%,#f7f8f7 45%,#f4f6f5 100%)}
.wordsearch402 .preview-note{display:none}
.wordsearch402 .topbar{position:relative;background:#fff;border-bottom:1px solid #e3ebe7;backdrop-filter:none}
.wordsearch402 .topbar .nav{min-height:55px}
.wordsearch402 .gamepage{max-width:1180px!important;padding-top:17px;padding-bottom:60px}
.wordsearch402 .gamepage>.panel:first-of-type{background:#fff;border:1px solid #dfebe7;border-radius:22px;box-shadow:0 18px 60px #092c2310;padding:18px}
.wordsearch402 .ws402-head{margin:0 0 13px;align-items:center;gap:12px;min-height:63px}
.wordsearch402 .ws578-heading .eyebrow{font-size:10px;letter-spacing:.17em;color:#378477;font-weight:900}
.wordsearch402 .ws578-heading h1{font-size:clamp(26px,2.8vw,39px);line-height:1.1;letter-spacing:-.045em;font-weight:900;margin:3px 0}
.wordsearch402 .ws578-heading h1 small{display:inline-block;margin-left:9px;color:#71827e;font-size:clamp(13px,1.1vw,16px);letter-spacing:0;font-weight:650;vertical-align:middle}
.wordsearch402 .ws578-current{border:1px solid var(--ws578-edge);background:#fff;border-radius:13px;box-shadow:none;padding:9px 13px;min-width:160px;max-width:35%;text-align:right}
.wordsearch402 .ws578-current small{color:#789087;letter-spacing:.1em;font-size:9px;font-weight:900}
.wordsearch402 .ws578-current strong{font-size:12px;line-height:1.25;color:#203b38;overflow-wrap:anywhere;font-weight:850}
.wordsearch402 .ws402-modebar{margin:0 0 9px;gap:5px;max-width:410px;padding:4px;background:#eff4f1;border-radius:13px}
.wordsearch402 .ws402-modebar button{flex:1;text-align:center;border:0;border-radius:10px;background:transparent;color:#61736c;font-weight:800;padding:10px 14px}
.wordsearch402 .ws402-modebar button.active{color:#fff;background:var(--ws578-ink);box-shadow:0 3px 10px #06152822}
.wordsearch402 .ws402-context{background:#fbfcfb;border:1px solid var(--ws578-edge);border-radius:12px;padding:7px 10px;margin-bottom:12px}
.wordsearch402 .ws402-track button{border-color:transparent;background:transparent;color:#536b60;border-radius:8px;padding:8px 14px}
.wordsearch402 .ws402-track button.active{background:#ddf3eb;color:#006e5d;box-shadow:inset 0 0 0 1px #6fc6b0}
.wordsearch402 .ws402-track button small{color:inherit;opacity:.7}
.wordsearch402 .ws402-daynav .btn{padding:8px 12px;border-radius:8px}
.wordsearch402 .ws402-daynav input{background:#fff;border-color:#dbe8df;font-size:13px;min-height:34px}
.wordsearch402 .ws417-strip{display:none}
.wordsearch402 .ws402-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:13px 0 0}
.wordsearch402 .ws402-metric{background:#f7faf8;border:1px solid var(--ws578-edge);border-radius:11px;padding:8px 10px}
.wordsearch402 .ws402-metric strong{font-size:14px;color:#254138}
.wordsearch402 .ws402-metric small{font-size:10px}
.wordsearch402 .ws402-stage{grid-template-columns:minmax(0,1fr) minmax(270px,320px);gap:16px;align-items:start}
.wordsearch402 .ws402-boardcard{padding:14px 16px 17px;background:#fdfefd;border:1px solid var(--ws578-edge);border-radius:18px;box-shadow:0 7px 26px #15382b0a}
.wordsearch402 .ws578-boardhead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:8px}
.wordsearch402 .ws578-boardeyebrow{display:block;font-size:10px;letter-spacing:.17em;font-weight:900;color:var(--ws578-teal);margin-bottom:3px}
.wordsearch402 .ws578-boardhead>div:first-child strong{font-size:15px;letter-spacing:-.025em;color:var(--ws578-ink)}
.wordsearch402 .ws578-progressmark{text-align:right;flex-shrink:0}
.wordsearch402 .ws578-progressmark strong,.wordsearch402 .ws578-progressmark span{display:block}
.wordsearch402 .ws578-progressmark strong{font-size:12px;color:#166b58}
.wordsearch402 .ws578-progressmark span{font-size:10px;color:#7e908a}
.wordsearch402 .ws578-progress{height:6px;background:#dcece6;border-radius:99px;overflow:hidden;margin-bottom:8px}
.wordsearch402 .ws578-progress>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#00a58f,#31d4a3);border-radius:inherit;transition:width .25s ease}
.wordsearch402 #ws478Outcome[data-state="progress"]{border:0;background:#eff8f3;padding:5px 9px;border-radius:8px;margin:0 0 7px;min-height:0}
.wordsearch402 #ws478Outcome[data-state="progress"] strong{font-size:10px;color:#137463}
.wordsearch402 #ws478Outcome[data-state="progress"] span{font-size:11px;color:#55776d}
.wordsearch402 .ws402-status{font-size:12px;color:#5d756b;margin:0 0 8px;min-height:16px}
.wordsearch402 .ws402-grid{gap:4px;max-width:620px;width:min(100%,620px);margin:0 auto;position:relative;isolation:isolate}
.wordsearch402 .ws402-cell{min-width:0;border:1px solid #dee8e2;border-radius:8px;background:#f1f6f2;color:#1d3442;font-size:clamp(12px,1.65vw,20px);font-weight:850;box-shadow:0 1px 0 #cbd8cf9c;transition:background-color .12s,border-color .12s,transform .12s;touch-action:none;-webkit-tap-highlight-color:transparent}
.wordsearch402 .ws402-cell:hover{background:#e5f3ec;border-color:#8bcab1}
.wordsearch402 .ws402-cell:focus-visible{outline:3px solid #06a994;outline-offset:-2px;z-index:2}
.wordsearch402 .ws402-cell.preview{background:#cae9de!important;color:#063c30!important;border-color:#3da68a!important;box-shadow:inset 0 0 0 2px #24b08b;transform:scale(.98)}
.wordsearch402 .ws402-cell.tapstart{background:#c8f0dd;outline:3px solid #15a680;outline-offset:-2px;z-index:2}
.wordsearch402 .ws402-cell.tone1{background:#c2ecdf;border-color:#63aa8f;color:#164b3b}
.wordsearch402 .ws402-cell.tone2{background:#d6e6ff;border-color:#7ba4d5;color:#1e436b}
.wordsearch402 .ws402-cell.tone3{background:#f8e5b7;border-color:#cea45a;color:#5f4115}
.wordsearch402 .ws402-cell.tone4{background:#eadbff;border-color:#a48bd0;color:#4b356c}
.wordsearch402 .ws402-cell.tone5{background:#fbdce0;border-color:#d78c96;color:#63323e}
.wordsearch402 .ws402-cell.tone6{background:#cfedec;border-color:#70b2b1;color:#205a58}
.wordsearch402 .ws402-side{gap:10px;align-content:start}
.wordsearch402 .ws402-wordcard{background:#fff;border:1px solid var(--ws578-edge);box-shadow:0 8px 22px #15382b09;border-radius:17px;padding:13px}
.wordsearch402 .ws402-wordhead{border-bottom:1px solid #e7eeeb;padding-bottom:10px;margin-bottom:10px}
.wordsearch402 .ws402-wordhead h2{font-size:16px;font-weight:900;letter-spacing:-.02em}
.wordsearch402 .ws402-wordhead small{font-size:10px}
.wordsearch402 #wsWordCount{font-size:13px;color:var(--ws578-teal);background:#eaf8f2;padding:7px 9px;border-radius:999px}
.wordsearch402 .ws402-words{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.wordsearch402 .ws402-word{min-width:0;white-space:normal;overflow-wrap:anywhere;padding:10px 8px;border-radius:9px;background:#f5f8f6;border-color:#e2eae5;font-size:12px;line-height:1.25;font-weight:850;min-height:40px}
.wordsearch402 .ws402-word:before{content:'○';color:#93aaa0;margin-right:5px}
.wordsearch402 .ws402-word.focused{outline:2px solid #13a588;background:#edfaf4}
.wordsearch402 .ws402-word.done{opacity:1;background:#e1f4ea;color:#31725a;border-color:#b1dec5;text-decoration:none}
.wordsearch402 .ws402-word.done:before{content:'✓';color:#16856a;font-weight:950}
.wordsearch402 .ws578-wordtip{color:#70877a;font-size:10px;line-height:1.45;margin:10px 2px 0}
.wordsearch402 .ws402-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;order:-1}
.wordsearch402 .ws402-actions .btn{border-radius:10px;min-height:43px;padding:9px 5px;font-size:12px;font-weight:850;border-color:#d5e6de}
.wordsearch402 .ws402-actions #wsNew{background:var(--ws578-ink);color:#fff;grid-column:span 1}
.wordsearch402 .ws402-actions #wsHint{background:#e4f8ee;color:#036c54;border:1px solid #a6daca}
.wordsearch402 .ws402-actions #wsPause{background:#e9eff5;color:#294b67}
.wordsearch402 .ws402-actions #wsRestart,.wordsearch402 .ws402-actions #wsMoreToggle{font-size:12px}
.wordsearch402 .ws402-newmenu{background:#f8fcf9;border-color:#d4e6dc}
.wordsearch402 .ws578-how{margin:12px 0 0;padding:10px 12px;border:1px solid #e0ebe6;border-radius:11px;background:#f9fbf9;color:#496357;font-size:12px}
.wordsearch402 .ws578-how summary{cursor:pointer;font-weight:850;list-style:none;display:flex;justify-content:space-between;gap:12px;align-items:center}
.wordsearch402 .ws578-how summary::-webkit-details-marker{display:none}
.wordsearch402 .ws578-how summary span{font-size:11px;color:#649080;font-weight:650}
.wordsearch402 .ws578-how p{margin:8px 0 0;line-height:1.6}
.wordsearch402 .ws402-more{border:1px solid #e1eae5;background:#fff;box-shadow:none;border-radius:16px}
.wordsearch402 .ws402-pause{inset:88px 12px 12px}
@media(max-width:900px){.wordsearch402 .gamepage{max-width:100%!important}.wordsearch402 .ws402-stage{grid-template-columns:minmax(0,1fr) 235px;gap:10px}.wordsearch402 .ws402-metrics{grid-template-columns:repeat(3,1fr)}.wordsearch402 .ws402-words{grid-template-columns:1fr 1fr}}
@media(max-width:700px){
.wordsearch402 .gamepage{padding-top:11px}.wordsearch402 .ws402-head{min-height:0;margin-bottom:9px;align-items:flex-start;flex-direction:column;gap:5px}
.wordsearch402 .ws578-heading h1{font-size:29px;margin:2px 0}.wordsearch402 .ws578-heading h1 small{font-size:12px;display:inline-block;margin-left:6px}
.wordsearch402 .ws578-current{max-width:100%;width:100%;min-width:0;display:flex;justify-content:space-between;gap:8px;text-align:left;align-items:center;padding:4px 9px;border-radius:8px}
.wordsearch402 .ws578-current small{flex:none;font-size:8px}.wordsearch402 .ws578-current strong{font-size:11px;line-height:1.2}
.wordsearch402 .gamepage>.panel:first-of-type{padding:11px;border-radius:16px}
.wordsearch402 .ws402-modebar{max-width:none;margin-bottom:6px;padding:3px;gap:3px}
.wordsearch402 .ws402-modebar button{padding:7px 8px;min-height:35px;font-size:12px}
.wordsearch402 .ws402-context{padding:5px 6px;margin-bottom:8px}
.wordsearch402 .ws402-track button{padding:6px 4px;min-height:29px;font-size:11px}
.wordsearch402 .ws402-track button small{display:inline;font-size:9px}
.wordsearch402 .ws402-daynav .btn{padding:6px 10px;min-height:31px}
.wordsearch402 .ws402-daynav input{min-height:30px;padding:3px 8px;font-size:12px}
.wordsearch402 .ws402-stage{grid-template-columns:1fr;gap:8px}
.wordsearch402 .ws402-boardcard{padding:10px 9px 11px}
.wordsearch402 .ws578-boardhead{margin:0 0 5px}.wordsearch402 .ws578-boardhead>div:first-child strong{font-size:13px}.wordsearch402 .ws578-boardeyebrow{font-size:8px;margin-bottom:1px}.wordsearch402 .ws578-progressmark strong{font-size:11px}.wordsearch402 .ws578-progressmark span{font-size:9px}
.wordsearch402 .ws578-progress{height:5px;margin-bottom:5px}.wordsearch402 #ws478Outcome[data-state="progress"]{margin:0 0 3px;padding:3px 6px}
.wordsearch402 #ws478Outcome[data-state="progress"] strong{font-size:9px}.wordsearch402 #ws478Outcome[data-state="progress"] span{font-size:10px}
.wordsearch402 .ws402-status{margin:0 0 6px;font-size:11px;line-height:1.25}
.wordsearch402 .ws402-grid{gap:3px;width:100%}
.wordsearch402 .ws402-cell{font-size:clamp(9px,3.1vw,16px);border-radius:6px;box-shadow:none}
.wordsearch402 .ws402-grid[style*="--n:14"] .ws402-cell{font-size:clamp(9px,2.65vw,13px)}
.wordsearch402 .ws402-side{display:flex;flex-direction:column;gap:8px}
.wordsearch402 .ws402-actions{order:-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;width:100%}
.wordsearch402 .ws402-actions .btn{font-size:11px;min-height:42px;padding:7px 2px;white-space:normal}
.wordsearch402 .ws402-wordcard{padding:10px;width:100%}
.wordsearch402 .ws402-words{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.wordsearch402 .ws402-word{font-size:12px;min-height:34px;padding:7px}
.wordsearch402 .ws402-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:10px 0 0}.wordsearch402 .ws402-metric{padding:5px 7px}.wordsearch402 .ws402-metric small{font-size:9px}.wordsearch402 .ws402-metric strong{font-size:12px}
.wordsearch402 .ws402-pause{inset:75px 9px 9px}
}
@media(max-width:350px){.wordsearch402 .ws578-heading h1 small{display:block;margin:2px 0}.wordsearch402 .ws402-cell{font-size:9px}.wordsearch402 .ws402-grid{gap:2px}.wordsearch402 .ws402-actions .btn{font-size:10px}}
@media (prefers-reduced-motion:reduce){.wordsearch402 .ws402-cell,.wordsearch402 .ws578-progress>span{transition:none!important}}
@media print{.wordsearch402 .ws578-how,.wordsearch402 .ws578-progress,.wordsearch402 .ws578-boardhead{display:none!important}}

@media(min-width:701px){.wordsearch402 .ws402-grid{width:min(100%,56vh,590px)}}

/* V0.705 | THE WORD ATELIER — game first, editorial visual system */
.ws705{--ws705-deep:#102537;--ws705-mid:#1b4050;--ws705-teal:#137d74;--ws705-mint:#9ff0d6;--ws705-line:#cbded9;background:radial-gradient(900px 360px at 18% -100px,#d3e8df,transparent 90%),#eef3ef;color:var(--ws705-deep);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ws705 .topbar{border-bottom:1px solid #d7e3e0;background:#fbfcfa}
.ws705 .topbar .nav{min-height:48px}
.ws705 .gamepage{max-width:1240px!important;padding-top:10px}
.ws705 .ws402-head{min-height:0;margin:0 0 9px;align-items:center}
.ws705 .ws578-heading .eyebrow{color:#328676;font-size:10px;letter-spacing:.17em}
.ws705 .ws578-heading h1{font-weight:900;letter-spacing:-.055em;font-size:clamp(25px,2.5vw,35px);line-height:1.07;margin:2px 0 0}
.ws705 .ws578-heading h1 small{color:#587078;font-weight:600;font-size:13px}
.ws705 .ws578-current{background:#143344;color:#fff;border:1px solid #315968;border-radius:12px;padding:8px 12px;box-shadow:0 5px 14px #0b26351d}
.ws705 .ws578-current small{color:#a8d6ce}
.ws705 .ws578-current strong{color:#fff;line-height:1.12}
.ws705 .gamepage>.panel:first-of-type{padding:11px;border:1px solid #d8e8e2;background:#fbfdfa;border-radius:19px;box-shadow:0 16px 50px #173e3314}
.ws705 .ws402-modebar{margin:0 0 6px;max-width:440px;background:#e8f1ed;border:1px solid #d4e4dc;padding:3px}
.ws705 .ws402-modebar button{min-height:36px;padding:7px 12px;transition:background .15s,color .15s}
.ws705 .ws402-modebar button.active{background:#14384a;color:#fff;box-shadow:0 4px 12px #183b4d22}
.ws705 .ws402-context{background:#f1f7f3;border-color:#dcece4;padding:6px 9px;margin-bottom:8px}
.ws705 .ws402-track button{min-height:33px;padding:6px 10px}
.ws705 .ws402-track button.active{background:#c8f2e2;color:#0c685a;border:1px solid #91dfc5}
.ws705 .ws402-stage{grid-template-columns:minmax(0,1fr) minmax(280px,320px);gap:13px}
.ws705 .ws402-boardcard{background:#fff;border:1px solid #d9e7e1;padding:10px 13px 13px;border-radius:15px;box-shadow:0 7px 26px #173c3410}
.ws705 .ws578-boardhead{margin-bottom:5px;align-items:center}
.ws705 .ws578-boardeyebrow{color:#1d8d7b;font-size:9px}
.ws705 .ws578-boardhead>div:first-child strong{color:#16384b;font-size:14px}
.ws705 .ws578-progressmark strong{font-size:12px;color:#157d69}
.ws705 .ws578-progressmark span{font-size:10px;color:#6c8990}
.ws705 .ws578-progress{height:6px;background:#e5f2ec;margin-bottom:6px}
.ws705 .ws578-progress>span{background:linear-gradient(90deg,#0f9781,#75e2ba)}
.ws705 .ws402-status{font-size:11px;line-height:1.18;min-height:14px;color:#516e72;margin:0 0 5px}
.ws705 .db478-outcome{padding:5px 8px;min-height:0;margin:0 0 4px;border-radius:8px;font-size:11px}
.ws705 .db478-outcome>strong{font-size:10px}
.ws705 .ws402-grid{width:min(100%,min(53vh,550px));max-width:550px;gap:3px;background:#e8f2ed;border:1px solid #bfd4c8;padding:5px;border-radius:14px;box-shadow:inset 0 2px 8px #1b5a4620,0 11px 24px #0b46351a}
.ws705 .ws402-cell{border-radius:6px;background:#fffdf7;border:1px solid #d2e1d9;color:#193a49;font-size:clamp(12px,1.5vw,20px);font-weight:850;box-shadow:0 1px 2px #213f3122;min-height:0;transition:background .12s,transform .12s}
.ws705 .ws402-cell:is(:hover,:focus-visible){border-color:#16b194;background:#d9fbef;outline:2px solid #21ae93;outline-offset:-1px;z-index:1}
.ws705 .ws402-cell.found,.ws705 .ws402-cell.ws402-found{background:#c0eddd;color:#07574b}
.ws705 .ws402-side{gap:8px}
.ws705 .ws402-wordcard{padding:12px;background:#f3f8f5;border:1px solid #d3e5dc;border-radius:14px}
.ws705 .ws402-wordhead h2{font-size:16px;color:#15384a}
.ws705 .ws402-words{gap:5px}
.ws705 .ws402-word{background:#fff;border:1px solid #d4e6dc;border-radius:9px;color:#244957;font-size:12px;padding:7px}
.ws705 .ws402-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.ws705 .ws402-actions .btn{min-height:40px;border-radius:11px;font-weight:800}
.ws705 .ws402-actions #wsHint{background:#c8f3e0;color:#095845;border-color:#a2e4c8}
.ws705 .ws402-metrics{gap:6px;margin-top:9px}
.ws705 .ws402-metric{background:#ecf5ef;border-color:#d7e7de;padding:6px 9px}
.ws705 .ws402-metric strong{color:#133b49;font-size:13px}
.ws705 .ws705-words-jump{display:none;border:1px solid #c6e5d6;border-radius:7px;background:#e7f7ed;color:#12695b;font-weight:850;padding:5px 7px;font-size:10px;cursor:pointer;margin:4px 0 0 auto}
.ws705 :is(button,a,input,select):focus-visible{outline:3px solid #f5ad47;outline-offset:2px}
@media(min-width:901px){.ws705 .ws402-stage{grid-template-columns:minmax(0,1fr) minmax(290px,320px)}.ws705 .ws402-grid{width:min(100%,min(51vh,550px))}}
@media(max-width:700px){
.ws705 .topbar .nav{min-height:45px}
.ws705 .gamepage{padding:6px 0 45px!important;width:100%;max-width:100%!important}
.ws705 .ws402-head{padding:0 11px;margin:0 0 5px;min-height:0;display:flex;flex-direction:row;gap:4px;align-items:center}
.ws705 .ws578-heading{min-width:0;flex:1}
.ws705 .ws578-heading .eyebrow{font-size:8px;letter-spacing:.1em;white-space:nowrap}
.ws705 .ws578-heading h1{font-size:23px;line-height:1.02;margin:1px 0 0;white-space:nowrap}
.ws705 .ws578-heading h1 small{display:none}
.ws705 .ws578-current{flex:0 0 auto;min-width:0;max-width:46%;padding:5px 8px;border-radius:9px}
.ws705 .ws578-current small{font-size:8px;display:block}
.ws705 .ws578-current strong{font-size:10px}
.ws705 .gamepage>.panel:first-of-type{padding:6px!important;border-radius:12px;box-shadow:none;margin:0 4px}
.ws705 .ws402-modebar{max-width:none;margin:0 0 5px;gap:3px}
.ws705 .ws402-modebar button{padding:6px 8px;min-height:32px;font-size:11px}
.ws705 .ws402-context{padding:4px 5px;margin-bottom:5px;border-radius:9px}
.ws705 .ws402-dailyrow{gap:3px;flex-wrap:nowrap;align-items:center;justify-content:space-between}
.ws705 .ws402-track{gap:1px;min-width:0}
.ws705 .ws402-track button{padding:4px 5px;min-height:30px;font-size:10px}
.ws705 .ws402-track button small{display:none}
.ws705 .ws402-daynav{min-width:0;gap:2px}
.ws705 .ws402-daynav .btn{padding:5px 6px;min-width:20px;min-height:30px}
.ws705 .ws402-daynav input{font-size:10px;min-width:0;max-width:110px;min-height:30px;padding:3px 1px}
.ws705 .ws402-stage{grid-template-columns:1fr;gap:5px}
.ws705 .ws402-boardcard{padding:6px;border-radius:10px;min-width:0}
.ws705 .ws578-boardhead{margin-bottom:3px;gap:4px}
.ws705 .ws578-boardeyebrow{display:none}
.ws705 .ws578-boardhead>div:first-child strong{font-size:12px;line-height:1.1;display:block}
.ws705 .ws578-progressmark strong{font-size:11px;line-height:1.1}
.ws705 .ws578-progressmark span{display:none}
.ws705 .ws705-words-jump{display:block;margin:2px 0 0 auto;padding:3px 5px}
.ws705 .ws578-progress{height:4px;margin-bottom:3px}
.ws705 .db478-outcome{padding:3px 5px;margin:0 0 3px;font-size:10px;min-height:0}
.ws705 .db478-outcome>strong{font-size:9px}
.ws705 .ws402-status{font-size:10px;min-height:12px;margin-bottom:4px}
.ws705 .ws402-grid{width:min(100%,320px)!important;max-width:100%;margin:auto;gap:2px;padding:4px;border-radius:9px}
.ws705 .ws402-cell{font-size:clamp(10px,3.15vw,15px);border-radius:4px;box-shadow:none}
.ws705 .ws402-grid[style*="--n:14"] .ws402-cell{font-size:clamp(9px,2.65vw,13px)}
.ws705 .ws402-side{gap:5px}
.ws705 .ws402-actions{order:-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
.ws705 .ws402-actions .btn{min-height:37px;font-size:11px;padding:7px 2px;border-radius:7px}
.ws705 .ws402-wordcard{padding:9px}
.ws705 .ws402-words{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.ws705 .ws402-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:6px}
.ws705 .ws402-metric{padding:4px 6px}
.ws705 .ws402-metric strong{font-size:11px}
.ws705 .ws402-metric small{font-size:9px}
}
@media(max-width:350px){.ws705 .ws402-grid{gap:1px;padding:3px}.ws705 .ws402-cell{font-size:10px}.ws705 .ws402-actions .btn{font-size:10px}.ws705 .ws402-daynav input{max-width:100px}}
@media(prefers-reduced-motion:reduce){.ws705 .ws402-cell{transition:none}}
/* V0.705: compact in-progress feedback; expanded outcome remains visible on success. */
.ws705 .db478-outcome[data-state="progress"]{display:none}

/* V0.705 | THE WORD ATELIER — game first, editorial visual system */
.ws705{--ws705-deep:#102537;--ws705-mid:#1b4050;--ws705-teal:#137d74;--ws705-mint:#9ff0d6;--ws705-line:#cbded9;background:radial-gradient(900px 360px at 18% -100px,#d3e8df,transparent 90%),#eef3ef;color:var(--ws705-deep);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ws705 .topbar{border-bottom:1px solid #d7e3e0;background:#fbfcfa}
.ws705 .topbar .nav{min-height:48px}
.ws705 .gamepage{max-width:1240px!important;padding-top:10px}
.ws705 .ws402-head{min-height:0;margin:0 0 9px;align-items:center}
.ws705 .ws578-heading .eyebrow{color:#328676;font-size:10px;letter-spacing:.17em}
.ws705 .ws578-heading h1{font-weight:900;letter-spacing:-.055em;font-size:clamp(25px,2.5vw,35px);line-height:1.07;margin:2px 0 0}
.ws705 .ws578-heading h1 small{color:#587078;font-weight:600;font-size:13px}
.ws705 .ws578-current{background:#143344;color:#fff;border:1px solid #315968;border-radius:12px;padding:8px 12px;box-shadow:0 5px 14px #0b26351d}
.ws705 .ws578-current small{color:#a8d6ce}
.ws705 .ws578-current strong{color:#fff;line-height:1.12}
.ws705 .gamepage>.panel:first-of-type{padding:11px;border:1px solid #d8e8e2;background:#fbfdfa;border-radius:19px;box-shadow:0 16px 50px #173e3314}
.ws705 .ws402-modebar{margin:0 0 6px;max-width:440px;background:#e8f1ed;border:1px solid #d4e4dc;padding:3px}
.ws705 .ws402-modebar button{min-height:36px;padding:7px 12px;transition:background .15s,color .15s}
.ws705 .ws402-modebar button.active{background:#14384a;color:#fff;box-shadow:0 4px 12px #183b4d22}
.ws705 .ws402-context{background:#f1f7f3;border-color:#dcece4;padding:6px 9px;margin-bottom:8px}
.ws705 .ws402-track button{min-height:33px;padding:6px 10px}
.ws705 .ws402-track button.active{background:#c8f2e2;color:#0c685a;border:1px solid #91dfc5}
.ws705 .ws402-stage{grid-template-columns:minmax(0,1fr) minmax(280px,320px);gap:13px}
.ws705 .ws402-boardcard{background:#fff;border:1px solid #d9e7e1;padding:10px 13px 13px;border-radius:15px;box-shadow:0 7px 26px #173c3410}
.ws705 .ws578-boardhead{margin-bottom:5px;align-items:center}
.ws705 .ws578-boardeyebrow{color:#1d8d7b;font-size:9px}
.ws705 .ws578-boardhead>div:first-child strong{color:#16384b;font-size:14px}
.ws705 .ws578-progressmark strong{font-size:12px;color:#157d69}
.ws705 .ws578-progressmark span{font-size:10px;color:#6c8990}
.ws705 .ws578-progress{height:6px;background:#e5f2ec;margin-bottom:6px}
.ws705 .ws578-progress>span{background:linear-gradient(90deg,#0f9781,#75e2ba)}
.ws705 .ws402-status{font-size:11px;line-height:1.18;min-height:14px;color:#516e72;margin:0 0 5px}
.ws705 .db478-outcome{padding:5px 8px;min-height:0;margin:0 0 4px;border-radius:8px;font-size:11px}
.ws705 .db478-outcome>strong{font-size:10px}
.ws705 .ws402-grid{width:min(100%,min(53vh,550px));max-width:550px;gap:3px;background:#e8f2ed;border:1px solid #bfd4c8;padding:5px;border-radius:14px;box-shadow:inset 0 2px 8px #1b5a4620,0 11px 24px #0b46351a}
.ws705 .ws402-cell{border-radius:6px;background:#fffdf7;border:1px solid #d2e1d9;color:#193a49;font-size:clamp(12px,1.5vw,20px);font-weight:850;box-shadow:0 1px 2px #213f3122;min-height:0;transition:background .12s,transform .12s}
.ws705 .ws402-cell:is(:hover,:focus-visible){border-color:#16b194;background:#d9fbef;outline:2px solid #21ae93;outline-offset:-1px;z-index:1}
.ws705 .ws402-cell.found,.ws705 .ws402-cell.ws402-found{background:#c0eddd;color:#07574b}
.ws705 .ws402-side{gap:8px}
.ws705 .ws402-wordcard{padding:12px;background:#f3f8f5;border:1px solid #d3e5dc;border-radius:14px}
.ws705 .ws402-wordhead h2{font-size:16px;color:#15384a}
.ws705 .ws402-words{gap:5px}
.ws705 .ws402-word{background:#fff;border:1px solid #d4e6dc;border-radius:9px;color:#244957;font-size:12px;padding:7px}
.ws705 .ws402-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.ws705 .ws402-actions .btn{min-height:40px;border-radius:11px;font-weight:800}
.ws705 .ws402-actions #wsHint{background:#c8f3e0;color:#095845;border-color:#a2e4c8}
.ws705 .ws402-metrics{gap:6px;margin-top:9px}
.ws705 .ws402-metric{background:#ecf5ef;border-color:#d7e7de;padding:6px 9px}
.ws705 .ws402-metric strong{color:#133b49;font-size:13px}
.ws705 .ws705-words-jump{display:none;border:1px solid #c6e5d6;border-radius:7px;background:#e7f7ed;color:#12695b;font-weight:850;padding:5px 7px;font-size:10px;cursor:pointer;margin:4px 0 0 auto}
.ws705 :is(button,a,input,select):focus-visible{outline:3px solid #f5ad47;outline-offset:2px}
@media(min-width:901px){.ws705 .ws402-stage{grid-template-columns:minmax(0,1fr) minmax(290px,320px)}.ws705 .ws402-grid{width:min(100%,min(51vh,550px))}}
@media(max-width:700px){
.ws705 .topbar .nav{min-height:45px}
.ws705 .gamepage{padding:6px 0 45px!important;width:100%;max-width:100%!important}
.ws705 .ws402-head{padding:0 11px;margin:0 0 5px;min-height:0;display:flex;flex-direction:row;gap:4px;align-items:center}
.ws705 .ws578-heading{min-width:0;flex:1}
.ws705 .ws578-heading .eyebrow{font-size:8px;letter-spacing:.1em;white-space:nowrap}
.ws705 .ws578-heading h1{font-size:23px;line-height:1.02;margin:1px 0 0;white-space:nowrap}
.ws705 .ws578-heading h1 small{display:none}
.ws705 .ws578-current{flex:0 0 auto;min-width:0;max-width:46%;padding:5px 8px;border-radius:9px}
.ws705 .ws578-current small{font-size:8px;display:block}
.ws705 .ws578-current strong{font-size:10px}
.ws705 .gamepage>.panel:first-of-type{padding:6px!important;border-radius:12px;box-shadow:none;margin:0 4px}
.ws705 .ws402-modebar{max-width:none;margin:0 0 5px;gap:3px}
.ws705 .ws402-modebar button{padding:6px 8px;min-height:32px;font-size:11px}
.ws705 .ws402-context{padding:4px 5px;margin-bottom:5px;border-radius:9px}
.ws705 .ws402-dailyrow{gap:3px;flex-wrap:nowrap;align-items:center;justify-content:space-between}
.ws705 .ws402-track{gap:1px;min-width:0}
.ws705 .ws402-track button{padding:4px 5px;min-height:30px;font-size:10px}
.ws705 .ws402-track button small{display:none}
.ws705 .ws402-daynav{min-width:0;gap:2px}
.ws705 .ws402-daynav .btn{padding:5px 6px;min-width:20px;min-height:30px}
.ws705 .ws402-daynav input{font-size:10px;min-width:0;max-width:110px;min-height:30px;padding:3px 1px}
.ws705 .ws402-stage{grid-template-columns:1fr;gap:5px}
.ws705 .ws402-boardcard{padding:6px;border-radius:10px;min-width:0}
.ws705 .ws578-boardhead{margin-bottom:3px;gap:4px}
.ws705 .ws578-boardeyebrow{display:none}
.ws705 .ws578-boardhead>div:first-child strong{font-size:12px;line-height:1.1;display:block}
.ws705 .ws578-progressmark strong{font-size:11px;line-height:1.1}
.ws705 .ws578-progressmark span{display:none}
.ws705 .ws705-words-jump{display:block;margin:2px 0 0 auto;padding:3px 5px}
.ws705 .ws578-progress{height:4px;margin-bottom:3px}
.ws705 .db478-outcome{padding:3px 5px;margin:0 0 3px;font-size:10px;min-height:0}
.ws705 .db478-outcome>strong{font-size:9px}
.ws705 .ws402-status{font-size:10px;min-height:12px;margin-bottom:4px}
.ws705 .ws402-grid{width:min(100%,320px)!important;max-width:100%;margin:auto;gap:2px;padding:4px;border-radius:9px}
.ws705 .ws402-cell{font-size:clamp(10px,3.15vw,15px);border-radius:4px;box-shadow:none}
.ws705 .ws402-grid[style*="--n:14"] .ws402-cell{font-size:clamp(9px,2.65vw,13px)}
.ws705 .ws402-side{gap:5px}
.ws705 .ws402-actions{order:-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
.ws705 .ws402-actions .btn{min-height:37px;font-size:11px;padding:7px 2px;border-radius:7px}
.ws705 .ws402-wordcard{padding:9px}
.ws705 .ws402-words{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.ws705 .ws402-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:6px}
.ws705 .ws402-metric{padding:4px 6px}
.ws705 .ws402-metric strong{font-size:11px}
.ws705 .ws402-metric small{font-size:9px}
}
@media(max-width:350px){.ws705 .ws402-grid{gap:1px;padding:3px}.ws705 .ws402-cell{font-size:10px}.ws705 .ws402-actions .btn{font-size:10px}.ws705 .ws402-daynav input{max-width:100px}}
@media(prefers-reduced-motion:reduce){.ws705 .ws402-cell{transition:none}}

/* V0.705 | THE WORD ATELIER — game first, editorial visual system */
.ws705{--ws705-deep:#102537;--ws705-mid:#1b4050;--ws705-teal:#137d74;--ws705-mint:#9ff0d6;--ws705-line:#cbded9;background:radial-gradient(900px 360px at 18% -100px,#d3e8df,transparent 90%),#eef3ef;color:var(--ws705-deep);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ws705 .topbar{border-bottom:1px solid #d7e3e0;background:#fbfcfa}
.ws705 .topbar .nav{min-height:48px}
.ws705 .gamepage{max-width:1240px!important;padding-top:10px}
.ws705 .ws402-head{min-height:0;margin:0 0 9px;align-items:center}
.ws705 .ws578-heading .eyebrow{color:#328676;font-size:10px;letter-spacing:.17em}
.ws705 .ws578-heading h1{font-weight:900;letter-spacing:-.055em;font-size:clamp(25px,2.5vw,35px);line-height:1.07;margin:2px 0 0}
.ws705 .ws578-heading h1 small{color:#587078;font-weight:600;font-size:13px}
.ws705 .ws578-current{background:#143344;color:#fff;border:1px solid #315968;border-radius:12px;padding:8px 12px;box-shadow:0 5px 14px #0b26351d}
.ws705 .ws578-current small{color:#a8d6ce}
.ws705 .ws578-current strong{color:#fff;line-height:1.12}
.ws705 .gamepage>.panel:first-of-type{padding:11px;border:1px solid #d8e8e2;background:#fbfdfa;border-radius:19px;box-shadow:0 16px 50px #173e3314}
.ws705 .ws402-modebar{margin:0 0 6px;max-width:440px;background:#e8f1ed;border:1px solid #d4e4dc;padding:3px}
.ws705 .ws402-modebar button{min-height:36px;padding:7px 12px;transition:background .15s,color .15s}
.ws705 .ws402-modebar button.active{background:#14384a;color:#fff;box-shadow:0 4px 12px #183b4d22}
.ws705 .ws402-context{background:#f1f7f3;border-color:#dcece4;padding:6px 9px;margin-bottom:8px}
.ws705 .ws402-track button{min-height:33px;padding:6px 10px}
.ws705 .ws402-track button.active{background:#c8f2e2;color:#0c685a;border:1px solid #91dfc5}
.ws705 .ws402-stage{grid-template-columns:minmax(0,1fr) minmax(280px,320px);gap:13px}
.ws705 .ws402-boardcard{background:#fff;border:1px solid #d9e7e1;padding:10px 13px 13px;border-radius:15px;box-shadow:0 7px 26px #173c3410}
.ws705 .ws578-boardhead{margin-bottom:5px;align-items:center}
.ws705 .ws578-boardeyebrow{color:#1d8d7b;font-size:9px}
.ws705 .ws578-boardhead>div:first-child strong{color:#16384b;font-size:14px}
.ws705 .ws578-progressmark strong{font-size:12px;color:#157d69}
.ws705 .ws578-progressmark span{font-size:10px;color:#6c8990}
.ws705 .ws578-progress{height:6px;background:#e5f2ec;margin-bottom:6px}
.ws705 .ws578-progress>span{background:linear-gradient(90deg,#0f9781,#75e2ba)}
.ws705 .ws402-status{font-size:11px;line-height:1.18;min-height:14px;color:#516e72;margin:0 0 5px}
.ws705 .db478-outcome{padding:5px 8px;min-height:0;margin:0 0 4px;border-radius:8px;font-size:11px}
.ws705 .db478-outcome>strong{font-size:10px}
.ws705 .ws402-grid{width:min(100%,min(53vh,550px));max-width:550px;gap:3px;background:#e8f2ed;border:1px solid #bfd4c8;padding:5px;border-radius:14px;box-shadow:inset 0 2px 8px #1b5a4620,0 11px 24px #0b46351a}
.ws705 .ws402-cell{border-radius:6px;background:#fffdf7;border:1px solid #d2e1d9;color:#193a49;font-size:clamp(12px,1.5vw,20px);font-weight:850;box-shadow:0 1px 2px #213f3122;min-height:0;transition:background .12s,transform .12s}
.ws705 .ws402-cell:is(:hover,:focus-visible){border-color:#16b194;background:#d9fbef;outline:2px solid #21ae93;outline-offset:-1px;z-index:1}
.ws705 .ws402-cell.found,.ws705 .ws402-cell.ws402-found{background:#c0eddd;color:#07574b}
.ws705 .ws402-side{gap:8px}
.ws705 .ws402-wordcard{padding:12px;background:#f3f8f5;border:1px solid #d3e5dc;border-radius:14px}
.ws705 .ws402-wordhead h2{font-size:16px;color:#15384a}
.ws705 .ws402-words{gap:5px}
.ws705 .ws402-word{background:#fff;border:1px solid #d4e6dc;border-radius:9px;color:#244957;font-size:12px;padding:7px}
.ws705 .ws402-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.ws705 .ws402-actions .btn{min-height:40px;border-radius:11px;font-weight:800}
.ws705 .ws402-actions #wsHint{background:#c8f3e0;color:#095845;border-color:#a2e4c8}
.ws705 .ws402-metrics{gap:6px;margin-top:9px}
.ws705 .ws402-metric{background:#ecf5ef;border-color:#d7e7de;padding:6px 9px}
.ws705 .ws402-metric strong{color:#133b49;font-size:13px}
.ws705 .ws705-words-jump{display:none;border:1px solid #c6e5d6;border-radius:7px;background:#e7f7ed;color:#12695b;font-weight:850;padding:5px 7px;font-size:10px;cursor:pointer;margin:4px 0 0 auto}
.ws705 :is(button,a,input,select):focus-visible{outline:3px solid #f5ad47;outline-offset:2px}
@media(min-width:901px){.ws705 .ws402-stage{grid-template-columns:minmax(0,1fr) minmax(290px,320px)}.ws705 .ws402-grid{width:min(100%,min(51vh,550px))}}
@media(max-width:700px){
.ws705 .topbar .nav{min-height:45px}
.ws705 .gamepage{padding:6px 0 45px!important;width:100%;max-width:100%!important}
.ws705 .ws402-head{padding:0 11px;margin:0 0 5px;min-height:0;display:flex;flex-direction:row;gap:4px;align-items:center}
.ws705 .ws578-heading{min-width:0;flex:1}
.ws705 .ws578-heading .eyebrow{font-size:8px;letter-spacing:.1em;white-space:nowrap}
.ws705 .ws578-heading h1{font-size:23px;line-height:1.02;margin:1px 0 0;white-space:nowrap}
.ws705 .ws578-heading h1 small{display:none}
.ws705 .ws578-current{flex:0 0 auto;min-width:0;max-width:46%;padding:5px 8px;border-radius:9px}
.ws705 .ws578-current small{font-size:8px;display:block}
.ws705 .ws578-current strong{font-size:10px}
.ws705 .gamepage>.panel:first-of-type{padding:6px!important;border-radius:12px;box-shadow:none;margin:0 4px}
.ws705 .ws402-modebar{max-width:none;margin:0 0 5px;gap:3px}
.ws705 .ws402-modebar button{padding:6px 8px;min-height:32px;font-size:11px}
.ws705 .ws402-context{padding:4px 5px;margin-bottom:5px;border-radius:9px}
.ws705 .ws402-dailyrow{gap:3px;flex-wrap:nowrap;align-items:center;justify-content:space-between}
.ws705 .ws402-track{gap:1px;min-width:0}
.ws705 .ws402-track button{padding:4px 5px;min-height:30px;font-size:10px}
.ws705 .ws402-track button small{display:none}
.ws705 .ws402-daynav{min-width:0;gap:2px}
.ws705 .ws402-daynav .btn{padding:5px 6px;min-width:20px;min-height:30px}
.ws705 .ws402-daynav input{font-size:10px;min-width:0;max-width:110px;min-height:30px;padding:3px 1px}
.ws705 .ws402-stage{grid-template-columns:1fr;gap:5px}
.ws705 .ws402-boardcard{padding:6px;border-radius:10px;min-width:0}
.ws705 .ws578-boardhead{margin-bottom:3px;gap:4px}
.ws705 .ws578-boardeyebrow{display:none}
.ws705 .ws578-boardhead>div:first-child strong{font-size:12px;line-height:1.1;display:block}
.ws705 .ws578-progressmark strong{font-size:11px;line-height:1.1}
.ws705 .ws578-progressmark span{display:none}
.ws705 .ws705-words-jump{display:block;margin:2px 0 0 auto;padding:3px 5px}
.ws705 .ws578-progress{height:4px;margin-bottom:3px}
.ws705 .db478-outcome{padding:3px 5px;margin:0 0 3px;font-size:10px;min-height:0}
.ws705 .db478-outcome>strong{font-size:9px}
.ws705 .ws402-status{font-size:10px;min-height:12px;margin-bottom:4px}
.ws705 .ws402-grid{width:min(100%,320px)!important;max-width:100%;margin:auto;gap:2px;padding:4px;border-radius:9px}
.ws705 .ws402-cell{font-size:clamp(10px,3.15vw,15px);border-radius:4px;box-shadow:none}
.ws705 .ws402-grid[style*="--n:14"] .ws402-cell{font-size:clamp(9px,2.65vw,13px)}
.ws705 .ws402-side{gap:5px}
.ws705 .ws402-actions{order:-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
.ws705 .ws402-actions .btn{min-height:37px;font-size:11px;padding:7px 2px;border-radius:7px}
.ws705 .ws402-wordcard{padding:9px}
.ws705 .ws402-words{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.ws705 .ws402-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:6px}
.ws705 .ws402-metric{padding:4px 6px}
.ws705 .ws402-metric strong{font-size:11px}
.ws705 .ws402-metric small{font-size:9px}
}
@media(max-width:350px){.ws705 .ws402-grid{gap:1px;padding:3px}.ws705 .ws402-cell{font-size:10px}.ws705 .ws402-actions .btn{font-size:10px}.ws705 .ws402-daynav input{max-width:100px}}
@media(prefers-reduced-motion:reduce){.ws705 .ws402-cell{transition:none}}
