@import"https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700;900&family=Outfit:wght@600;700;800;900&display=swap";:root{font-family:Zen Maru Gothic,sans-serif;color:#332436;background:#f8f1e3;font-synthesis:none;font-weight:700;--ink:#332436;--coral:#f36183}*{box-sizing:border-box}body{margin:0;min-width:360px}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible{outline:3px solid #168b80;outline-offset:5px}.app{max-width:1800px;margin:auto;padding:24px 40px 14px;min-height:100svh;display:flex;flex-direction:column}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:24px}.brand{display:flex;align-items:center;gap:24px}.wordmark{font-family:Outfit,sans-serif;font-size:70px;font-weight:900;line-height:1;letter-spacing:-.065em;margin:0;-webkit-text-stroke:1.8px var(--ink);paint-order:stroke fill;text-shadow:2px 3px var(--ink);transform:rotate(-3deg)}.wordmark span{display:inline-block}.wordmark span:nth-child(2){transform:rotate(6deg)}.wordmark span:nth-child(4){transform:rotate(-5deg)}.exclamation{color:#f36183}.brand p{font-size:12px;max-width:100px;line-height:1.8;letter-spacing:.07em}.tools{display:flex;gap:16px;align-items:center}.tools button{background:transparent;border:1.5px solid var(--ink);border-radius:30px;padding:11px 20px;font-size:13px}.tools button span{margin-left:12px}.tools .reset-button{border:0;padding:10px 0;color:#796976}.game-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.85fr);gap:28px;flex:1;min-height:0}.stage{position:relative;border:2px solid var(--ink);border-radius:22px;background:#fffaf0;display:flex;flex-direction:column;align-items:center;overflow:hidden;padding:24px 32px 20px;min-height:540px}.stage-top{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:13px}.stage-top p{font-size:17px;margin:0;letter-spacing:.08em}.stage-top>span{color:#8b7682;font-size:12px}.stage-top b{color:var(--ink);font-family:Outfit;font-size:20px}.result{display:flex;align-items:center;justify-content:center;flex:1;min-height:225px;position:relative;align-self:stretch;gap:15px}.result strong{font-family:Outfit,sans-serif;font-size:clamp(150px,20vw,340px);line-height:1;font-weight:800;letter-spacing:-.075em;padding-right:.075em}.letter{display:grid;place-items:center;width:55px;height:55px;border:1.5px solid var(--ink);border-radius:50%;font-family:Outfit;font-size:27px;transform:rotate(-12deg);align-self:center;margin-top:-110px}.message{font-size:17px;letter-spacing:.04em;margin:0 0 23px}.draw-controls{width:min(100%,470px);display:flex;flex-direction:column;align-items:center}.draw-button{width:100%;display:flex;align-items:center;justify-content:space-between;border:2px solid var(--ink);background:var(--coral);border-radius:14px;padding:18px 25px;font-size:23px;font-weight:900;box-shadow:0 5px 0 var(--ink);transition:transform .15s,box-shadow .15s}.draw-button:hover:not(:disabled){transform:translateY(2px);box-shadow:0 3px 0 var(--ink)}.draw-button>span{font-size:30px;line-height:1}.keyboard-hint{font-size:11px;color:#8c7882;margin-top:17px}kbd{font:inherit;border:1px solid #bfafb1;border-radius:4px;padding:2px 5px;margin-right:4px}.recent{margin-top:22px;padding-top:16px;border-top:1px dashed #c8b8b9;display:flex;align-items:center;gap:18px;width:100%;justify-content:center;font-size:12px;color:#8c7882}.recent>b{font-family:Outfit,sans-serif;min-width:65px;text-align:center;padding:4px 14px;border-radius:20px;font-size:18px;color:var(--ink)}.history-panel{padding:22px 24px 16px;background:#eee8da;border-radius:22px;display:flex;flex-direction:column;border:1px solid #d9cfc0}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.panel-heading p{font-size:10px;color:#8e7985;letter-spacing:.05em;margin:0 0 4px}.panel-heading h2{font-size:22px;margin:0;letter-spacing:-.03em}.count{font-family:Outfit;white-space:nowrap}.count b{font-size:32px}.count small{font-size:15px;color:#8e7985}.number-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;flex:1}.number-column{display:grid;grid-template-rows:38px repeat(15,minmax(24px,1fr));gap:5px;min-height:0}.number-column h3{margin:0;display:grid;place-items:center;border-radius:7px;background:var(--column-color);border:1.5px solid var(--ink);font-family:Outfit;font-size:25px;font-weight:900;line-height:1}.number-cell{position:relative;display:grid;place-items:center;border:1px solid transparent;background:#f8f4eb;color:#a49b99;border-radius:5px;font-family:Outfit;font-weight:600;font-size:18px;line-height:1}.number-cell.called{background:var(--column-color);color:var(--ink);font-weight:800}.number-cell.latest{border:2px solid var(--ink);box-shadow:2px 2px var(--ink)}.number-cell i{position:absolute;width:5px;height:5px;right:3px;top:3px;border-radius:100%;background:var(--ink)}.board-legend{display:flex;justify-content:center;gap:22px;margin-top:14px;font-size:10px;color:#796976}.board-legend span{display:flex;align-items:center;gap:6px}.board-legend i{display:inline-block;width:10px;height:10px;border-radius:2px}.legend-called{background:#28b5a7}.legend-latest{border:1.5px solid var(--ink)}.bottom-note{display:flex;justify-content:space-between;font-size:10px;color:#8c7882;padding:16px 2px 0;gap:15px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}dialog{color:var(--ink);background:#fffaf0;border:2px solid var(--ink);border-radius:22px;padding:28px;width:min(440px,90vw)}dialog::backdrop{background:#33243688;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}dialog h2{font-size:22px;margin-top:0}dialog p{line-height:1.8;font-size:14px}.dialog-actions{display:flex;gap:12px;margin-top:25px}.dialog-actions button{flex:1;border:1.5px solid var(--ink);border-radius:10px;padding:12px;background:#fffaf0}.dialog-actions .confirm{background:var(--coral)}.warning{font-size:13px;text-align:center}.revealed{animation:reveal .45s ease-out}.drawing .result strong{animation:roll .12s infinite alternate}@keyframes reveal{0%{opacity:.3;transform:translateY(12px) scale(.95)}to{opacity:1;transform:none}}@keyframes roll{to{transform:translateY(-3px)}}@media(min-width:1500px){.app{padding:32px 56px 20px}.wordmark{font-size:90px}.toolbar{margin-bottom:30px}.game-layout{gap:36px}.stage{padding:30px 40px}.stage-top p{font-size:22px}.message{font-size:23px}.draw-button{font-size:29px}.number-cell{font-size:24px}.number-column{grid-template-rows:48px repeat(15,minmax(28px,1fr));gap:7px}.history-panel{padding:28px 30px 20px}.panel-heading h2{font-size:28px}.bottom-note{font-size:12px}}@media(min-width:801px)and (max-height:780px){.app{padding:18px 30px 12px}.toolbar{margin-bottom:17px}.wordmark{font-size:58px}.brand p{margin:0}.stage{min-height:0;padding:20px 26px 16px}.result{min-height:180px}.result strong{font-size:min(21vw,240px)}.message{margin-bottom:18px;font-size:16px}.draw-button{padding:15px 20px;font-size:21px}.recent{margin-top:15px;padding-top:12px}.history-panel{padding:17px 20px 13px}.panel-heading{margin-bottom:13px}.panel-heading h2{font-size:20px}.number-column{grid-template-rows:32px repeat(15,minmax(20px,1fr));gap:4px}.number-cell{font-size:16px}.board-legend{margin-top:11px}.bottom-note{padding-top:12px}}@media(max-width:800px){.app{padding:20px}.toolbar{gap:12px}.wordmark{font-size:50px}.brand p{display:none}.tools{gap:12px}.tools button{font-size:11px;padding:9px 12px}.game-layout{grid-template-columns:1fr;gap:20px}.stage{min-height:480px;padding:22px}.result strong{font-size:210px}.message{font-size:16px}.letter{width:43px;height:43px;font-size:22px;margin-top:-80px}.draw-button{font-size:20px}.history-panel{padding:22px}.number-column{grid-template-rows:40px repeat(15,32px);gap:6px}.number-cell{font-size:19px}.bottom-note{font-size:9px;line-height:1.8}.bottom-note>span:last-child{white-space:nowrap}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.result strong{letter-spacing:-.035em;padding-right:.035em;font-variant-numeric:tabular-nums}.brand p{max-width:none;white-space:nowrap;letter-spacing:.02em}@media(max-width:1000px){.brand p{display:none}}
