*{box-sizing:border-box}body{margin:0;background:#701c2c;color:#fff8eb;font-family:Be,'Segoe UI',sans-serif;font-size:16px}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:10px;min-height:46px;padding:12px 20px;font-weight:700;transition:background .2s,transform .2s}button:hover{transform:translateY(-2px)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f4c65d;outline-offset:4px}button:disabled{opacity:.45;cursor:default}button:disabled:hover{transform:none}.gold{background:#f4c65d;color:#47121e;box-shadow:0 4px 0 #c79336}.ghost{background:transparent;color:inherit;border:1px solid #ffffff40}.light{background:#fff8eb;color:#701c2c}.small{padding:8px 12px;min-height:40px;font-size:14px}.top{height:92px;border-bottom:1px solid #ffffff24;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:1px}.mark{display:grid;grid-template-columns:repeat(2,10px);gap:3px;transform:rotate(-5deg)}.mark i{width:10px;height:10px;background:#fff8eb;border-radius:2px}.mark i:last-child{background:#f4c65d}.top-actions,.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.eyebrow{font-size:13px;font-weight:700;letter-spacing:3px;text-transform:uppercase;color:#f4c65d}.intro{max-width:1300px;margin:auto;padding:55px 5vw 25px;display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:70px;min-height:calc(100vh - 156px)}h1{font-size:clamp(52px,6.4vw,94px);line-height:1.12;letter-spacing:-4px;margin:25px 0 20px;font-weight:900}h1 em{color:#f4c65d;font-style:normal}.intro-sub{font-size:19px;color:#ead1d1}.rule-list{margin:36px 0;display:grid;gap:17px}.rule{display:flex;align-items:center;gap:15px;color:#f3dfe0;font-size:15px}.rule b{display:grid;place-items:center;border:1px solid #bc818c;border-radius:50%;height:28px;width:28px;color:#f4c65d;font-size:12px}.intro .gold{padding:17px 32px}.demo{padding:32px 26px 22px;background:#591321;border:1px solid #a35060;border-radius:24px;box-shadow:0 25px 70px #390a2233;transform:rotate(-3deg)}.demo-title{display:flex;justify-content:space-between;margin-bottom:25px;font-size:13px;letter-spacing:2px;color:#e5c0c5}.demo-grid{display:grid;gap:8px}.demo-row{display:flex;gap:7px;justify-content:center}.demo-cell{width:41px;height:43px;border-radius:5px;background:#f5e9d1;box-shadow:0 3px 0 #cfb997}.demo-cell.key{background:#f4c65d;box-shadow:0 3px 0 #bc8b2c}.demo-cell.blank{visibility:hidden}.demo-caption{text-align:center;border-top:1px solid #ffffff22;margin-top:28px;padding-top:20px;font-size:14px;color:#e6bcc5}.demo-caption span{color:#f4c65d}.footer{padding:18px 5vw;display:flex;justify-content:space-between;color:#d1a1aa;font-size:12px;letter-spacing:1px}.board-wrap{max-width:1450px;margin:0 auto;padding:25px 4vw}.board-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:20px}h2{margin:8px 0;font-size:30px;letter-spacing:-1px}.muted{color:#d9adb6;font-size:14px}.board-layout{display:flex;gap:24px}.board{flex:1;background:#5d1525;border:1px solid #994453;border-radius:18px;padding:20px;display:grid;gap:7px}.row{display:grid;grid-template-columns:40px repeat(15,minmax(0,1fr));gap:5px;background:transparent;padding:0;color:#401721;min-height:0;border-radius:5px}.row:hover{background:#ffffff15;transform:none}.rownum{color:#e3bfc5;display:grid;place-items:center;font-size:14px}.cell{background:#fff8eb;border-radius:4px;display:grid;place-items:center;aspect-ratio:1.2;font-size:clamp(16px,1.8vw,28px);font-weight:800;box-shadow:0 2px 0 #d3bd94}.cell.key{background:#f4c65d;outline:1px solid #be8d2d}.cell.empty{visibility:hidden}.row.solved .cell{background:#dacfb5}.row.solved .key{background:#f4c65d}.row.solved .rownum{color:#f4c65d}.row.solved .cell{animation:flip .45s both}.keyword-panel{margin-top:20px;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:20px 0;border-top:1px solid #ffffff26}.keyword-cells{display:flex;gap:6px;margin-top:8px}.letter{display:grid;place-items:center;width:40px;height:45px;border-radius:5px;border:1px solid #bc7e54;background:#571321;color:#f4c65d;font-size:22px;font-weight:800}.scoreboard{width:220px;padding:22px;background:#fff8eb;color:#541b28;border-radius:16px}.score{border-bottom:1px solid #dbcbbc;padding:18px 0}.score-line{display:flex;justify-content:space-between;align-items:center;gap:12px}.score strong{font-size:28px}.score .small{min-height:30px;padding:3px 12px;background:#ecddc5}.score-edit{display:flex;gap:6px;margin-top:10px}dialog{padding:0;border:1px solid #e0cdad;border-radius:22px;background:#fff8eb;color:#421925;width:min(1050px,94vw);max-height:92vh;box-shadow:0 30px 100px #26081188}dialog::backdrop{background:#27070ddd;backdrop-filter:blur(7px)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #deceb7;padding:22px 32px}.modal-head .eyebrow{color:#8a3749}.close{background:#efe1cc;border-radius:50%;font-size:20px;min-height:40px;width:40px;padding:0}.question{padding:25px 44px 35px;text-align:center}.question h3{font-size:clamp(24px,2.5vw,38px);line-height:1.45;margin:24px auto;max-width:890px}.question .eyebrow{color:#9a5862}.question-image{width:100%;height:220px;object-fit:contain;border-radius:12px}.emoji{font-size:64px;letter-spacing:20px;margin:20px}.hint{margin:20px auto;background:#efe2c8;border-left:4px solid #c29636;text-align:left;padding:16px 22px;font-size:20px;border-radius:5px;max-width:800px}.modal-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;padding-top:22px;border-top:1px solid #deceb7}.modal-actions button{background:#eadbc3;color:#501c29}.modal-actions .gold{background:#f4c65d}.answer{font-size:clamp(32px,4vw,48px);font-weight:900;color:#701c2c;margin:24px 0}.answer mark{background:#f4c65d;color:inherit;border-radius:5px;padding:0 4px}.timer{font-variant-numeric:tabular-nums;color:#701c2c;background:#eddfc7;border-radius:24px;padding:8px 16px;min-width:95px;text-align:center;font-weight:800}.timer.expired{color:#b13036}.settings{max-width:600px;margin:auto;padding:30px}.setting{padding:20px 0;border-bottom:1px solid #decbb4;display:flex;align-items:center;justify-content:space-between;gap:24px}.setting input[type=checkbox]{width:24px;height:24px;accent-color:#701c2c}.setting select{padding:10px;border-radius:6px}.settings .actions{margin-top:28px}.steps,.choices{display:flex;justify-content:center;gap:14px;margin:28px 0}.step,.choice{padding:22px;background:#eddfc7;border-radius:12px;flex:1;color:#571d2a}.choice.selected{outline:3px solid #c48b21;background:#f7d984}.final .keyword-cells{justify-content:center;flex-wrap:wrap;margin:35px 0}.final .letter{width:53px;height:63px;background:#f4c65d;color:#701c2c;font-size:32px}.final h3{font-size:30px}.celebrate{position:fixed;pointer-events:none;inset:0;overflow:hidden;z-index:1000}.confetti{position:absolute;top:-20px;width:9px;height:16px;animation:fall 2.7s ease-in forwards}.mobile-label{display:none}.live{min-height:22px;margin-top:14px;color:#8c4653;font-size:14px}.shortcut{font-size:13px;color:#d0a4ad}@keyframes flip{from{transform:rotateX(90deg)}to{transform:rotateX(0)}}@keyframes fall{to{transform:translateY(110vh) rotate(700deg)}}@media(min-width:1600px){.board-wrap{max-width:1650px}.cell{aspect-ratio:1.3}.question-image{height:280px}}@media(max-width:900px){.intro{gap:30px;padding-top:35px}h1{font-size:60px}.demo{padding:20px 12px}.demo-cell{width:30px;height:33px}.demo-row{gap:5px}.board-layout{flex-direction:column}.scoreboard{width:auto;display:flex;gap:20px;flex-wrap:wrap}.score{flex:1}.keyword-panel{flex-wrap:wrap}.letter{width:32px;height:38px}.cell{aspect-ratio:1}.top{padding:0 22px}.question{padding:20px}}@media(max-width:600px){.top{height:76px}.top .brand{font-size:13px}.top-actions{gap:5px}.top-actions .small{font-size:12px;padding:8px}.intro{display:flex;flex-direction:column;padding:35px 26px}.intro-copy{width:100%}h1{font-size:62px}.intro-sub{font-size:16px}.demo{width:90%;margin:20px 0 10px}.demo-cell{width:30px;height:30px}.footer{font-size:11px;gap:20px}.board-wrap{padding:22px 16px}.board-heading{align-items:start}h2{font-size:24px}.board{padding:14px;gap:8px}.row{display:flex;min-height:48px;align-items:center;background:#ffffff0b;padding:8px 12px;justify-content:space-between}.row .cell{display:none}.rownum{width:24px}.mobile-label{display:block;color:#fff8eb;font-size:15px}.row.solved .mobile-label{color:#f4c65d}.keyword-cells{gap:4px}.letter{width:25px;height:34px;font-size:18px}.keyword-panel{gap:15px}.modal-head{padding:16px}.question h3{font-size:24px}.question-image{height:160px}.emoji{font-size:45px;letter-spacing:10px}.choices,.steps{flex-direction:column}.step,.choice{padding:15px}.final .letter{width:33px;height:43px;font-size:22px}.answer{font-size:32px}.shortcut{display:none}.setting{gap:10px}}


.intro>*{min-width:0}.demo-cell{width:clamp(22px,3vw,41px);height:clamp(25px,3.2vw,43px)}.demo-row{gap:5px}@media(min-width:901px) and (max-width:1100px){.intro{gap:30px}.intro-sub{font-size:16px}}


.triptych{animation:panels 3s steps(1) both}@keyframes panels{0%{clip-path:inset(0 67% 0 0)}33%{clip-path:inset(0 34% 0 0)}67%,100%{clip-path:inset(0)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.setting input[type=number]{width:110px;min-height:46px;padding:10px 12px;border:1px solid #bda88c;border-radius:6px;background:#fffdf7;color:#421925;font-weight:700}.setting-help{font-size:14px;line-height:1.6;color:#795563}
