:root{--game-chrome-height:calc(48px + env(safe-area-inset-top,0px))}.game-chrome{z-index:20;top:env(safe-area-inset-top,0px);padding:6px max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left));box-sizing:border-box;pointer-events:none;color:#413d37;justify-content:space-between;align-items:center;gap:12px;height:48px;font:500 14px/1.2 system-ui,Yu Gothic,Apple SD Gothic Neo,Malgun Gothic,Noto Sans KR,sans-serif;display:flex;position:fixed;left:0;right:0}.game-chrome .game-list-link{min-height:36px;color:inherit;white-space:nowrap;pointer-events:auto;touch-action:manipulation;background:#fff9ec;border-radius:999px;align-items:center;gap:6px;padding:0 10px;text-decoration:none;display:inline-flex}.game-chrome .about-link{min-height:36px;color:inherit;white-space:nowrap;pointer-events:auto;touch-action:manipulation;background:#fff9ec;border-radius:999px;align-items:center;margin-left:auto;margin-right:-4px;padding:0 12px;text-decoration:none;display:inline-flex}.game-chrome svg{flex-shrink:0;width:16px;height:16px;display:block}.game-chrome .language-select{box-sizing:border-box;pointer-events:auto;background:#fff9ec;border:1px solid #81796b;border-radius:999px;flex-shrink:0;align-items:center;height:36px;display:flex;position:relative}.language-select>svg{pointer-events:none;position:absolute;left:10px}.language-select>span{pointer-events:none;position:absolute;right:10px}.game-chrome select{appearance:none;width:128px;height:36px;min-height:36px;color:inherit;font:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:0;border-radius:999px;margin:0;padding:0 27px 0 33px;font-size:14px}.game-chrome a:focus-visible,.game-chrome select:focus-visible{outline-offset:2px;outline:3px solid #ad613a}.with-game-chrome #app{top:var(--game-chrome-height);height:calc(100% - var(--game-chrome-height));position:relative}.with-game-chrome #game{top:var(--game-chrome-height);width:100%;height:calc(100% - var(--game-chrome-height));position:fixed;left:0}.result-game-links{white-space:nowrap;flex-shrink:0;justify-content:center;align-self:center;align-items:baseline;gap:12px;font-size:14px;display:inline-flex}.result-game-links .more-games{font-size:inherit}.feedback-link{min-height:28px;font:inherit;color:inherit;opacity:.65;white-space:nowrap;text-underline-offset:3px;align-items:center;font-weight:400;display:inline-flex}.game-chrome .author-link{min-height:36px;color:inherit;white-space:nowrap;pointer-events:auto;touch-action:manipulation;background:#fff9ec;border-radius:999px;align-items:center;gap:4px;padding:0 10px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.game-chrome .author-link svg{width:13px;height:13px}.game-chrome .game-list-link+.author-link{margin-left:auto}.game-chrome .language-select.compact select{color:#0000;width:38px;padding:0}.game-chrome .language-select.compact>svg{left:10px}.game-chrome .language-select.compact>span{display:none}.game-chrome .language-select.compact select option{color:#413d37}@media (width<=349px){.game-chrome .about-link{display:none}.game-chrome .game-list-link+.about-link+.author-link{margin-left:auto}}@media (width<=399px){.game-chrome{gap:6px;padding-left:8px;padding-right:8px}.game-chrome .game-list-link,.game-chrome .about-link,.game-chrome .author-link{padding:0 7px}.game-chrome .about-link{margin-right:0}.game-chrome .author-link{font-size:12px}}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html,body{color:#f9efff;background:#140a2e;height:100%;font:16px system-ui,Yu Gothic,Apple SD Gothic Neo,Malgun Gothic,Noto Sans KR,sans-serif}body{overscroll-behavior:none;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;margin:0;overflow:hidden}button{font:inherit;color:#f9efff;touch-action:none;cursor:pointer;background:#251443;border:1px solid #ad65e7;border-radius:12px;min-height:44px}button:focus-visible{outline-offset:2px;outline:3px solid #33f0ff}button:active{background:#51255f}button:disabled{opacity:.35;cursor:default}#hex-app{background:radial-gradient(at 50% 45%,#321153,#140a2e 75%);flex-direction:column;width:100%;max-width:620px;height:100dvh;margin:auto;display:flex}#hud{padding:max(8px, env(safe-area-inset-top)) 12px 3px;border-bottom:1px solid #a06bff33;flex:none;grid-template-columns:1fr auto;gap:3px 8px;display:grid}#stats{grid-template-columns:1.2fr .65fr 1fr;gap:6px;min-width:0;display:grid}.stat{color:#cfb5e6;white-space:nowrap;font-size:14px}.stat strong{color:#fff;font-variant-numeric:tabular-nums;text-shadow:0 0 12px #ff4fd899;font-size:22px;line-height:1.2;display:block}#hud-tools{align-items:center;gap:5px;display:flex}#pause-button{padding:4px 7px;font-size:14px}#mute-button{width:44px;font-size:20px}#next-row{color:#c9faff;grid-column:1/-1;align-items:center;gap:5px;height:39px;font-size:14px;display:flex}#next-preview{width:108px;height:38px;display:block}#progress{white-space:nowrap;color:#cfb5e6;margin-left:auto}#arena{touch-action:none;cursor:grab;flex:1;min-height:0;position:relative;overflow:hidden}#arena:active{cursor:grabbing}#board{width:100%;height:100%;display:block;position:absolute}#touch-hint{bottom:max(5px, env(safe-area-inset-bottom));text-align:center;pointer-events:none;color:#dfc8f6;opacity:0;font-size:14px;transition:opacity .7s;position:absolute;left:0;right:0}#overlay{cursor:default;background:#140a2e88;justify-content:center;align-items:center;padding:10px 12px;display:flex;position:absolute;inset:0}[hidden]{display:none!important}#card{text-align:center;background:linear-gradient(150deg,#321749f5,#160d30fa);border:1px solid #ff91e6;border-radius:24px;width:100%;max-width:430px;padding:18px 14px;box-shadow:0 0 22px #ff4fd83b,inset 0 0 25px #a06bff19}h1{white-space:nowrap;color:#fff0fc;text-shadow:0 0 14px #ff4fd8;margin:0 0 12px;font-size:clamp(26px,6vw,34px)}#rules p{margin:5px 0;font-size:16px}#gesture-guide{text-align:left;margin:15px 0 10px}.gesture{align-items:center;gap:8px;margin:9px 0;font-size:14px;line-height:1.5;display:flex}.gesture svg{fill:#33f0ff22;stroke:#33f0ff;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:38px;height:36px}#pc-guide{text-align:center;color:#cfb5e6;margin:10px 0 0;font-size:14px}#result{text-align:left;grid-template-columns:1fr 1fr;gap:9px 12px;max-width:270px;margin:8px auto 18px;font-size:16px;display:grid}#result dt,#result dd{margin:0}#result dd{text-align:right;color:#33f0ff;font-weight:700}#primary{background:linear-gradient(110deg,#b52e96,#6238a4);border-color:#ff9cea;width:100%;min-height:50px;font-size:20px;font-weight:700;display:block;box-shadow:0 0 15px #ff4fd833}#overlay-hint{color:#cfb5e6;margin:10px 0 0;font-size:14px}@media (height<=630px){#card{padding:12px}h1{margin-bottom:8px}#gesture-guide{margin:10px 0}.gesture{margin:7px 0}}@media (prefers-reduced-motion:reduce){#touch-hint{transition:none}}#hex-app{padding-top:var(--game-chrome-height)}.game-chrome{max-width:620px;margin:auto}#hud{padding-top:6px}#result-actions{gap:10px;display:flex}#result-actions>button{flex:1;min-width:0}#result-actions.results #primary{color:#251032;box-shadow:none;background:#fff;border-color:#fff;font-size:17px}#share-button{color:#fff;background:#000;border:2px solid #fff;min-height:50px;padding:8px;font-size:17px;font-weight:700}#share-button.best{border-color:#ff91e6;box-shadow:0 0 22px #ff4fd8,0 0 5px #fff}#best-message{color:#fff08b;margin:8px 0 14px;font-size:18px;font-weight:700}#share-note,#share-fallback{color:#ffe9fb;margin:12px 0 0;font-size:14px}#share-fallback{display:block}#more-games{margin-top:18px}.more-games{color:#cfb5e6;align-items:center;min-height:36px;font-size:14px;display:inline-flex}#touch-hint{padding:0 12px}html:lang(en) #stats{grid-template-columns:1fr .75fr 1.25fr;gap:4px}@media (width<=420px){#hud{column-gap:5px;padding-left:8px;padding-right:8px}#pause-button{padding:4px 6px}#next-row{gap:2px}}@media (height<=700px){#card{padding:10px 12px}#gesture-guide{margin:6px 0}.gesture{margin:5px 0;line-height:1.35}#result{margin-bottom:12px}#more-games{margin-top:8px}}#about{--about-bg:#1b1036;--about-fg:#f9efff;--about-sub:#d4c4ec;--about-accent:#ffd166;--about-line:#3d2a6b;--about-card:#24164a;--about-heading:#fff}html.has-game-about{touch-action:auto;overscroll-behavior-y:none;height:100svh;overflow:hidden auto}html.has-game-about body{touch-action:auto!important;overscroll-behavior:auto!important;height:100svh!important;min-height:0!important;overflow:visible!important}html.has-game-about body>:not(#about):not(.game-chrome){touch-action:none}html.has-game-about .game-chrome,html.has-game-about.has-game-about .with-game-chrome #game{position:absolute}#about{--about-bg:#15130f;--about-fg:#ece2d0;--about-sub:#c8b59e;--about-accent:#efa46b;--about-line:#3d332b;--about-card:#201d1d;--about-heading:inherit;box-sizing:border-box;background:var(--about-bg);max-width:560px;color:var(--about-fg);border:1px solid var(--about-line);text-align:left;letter-spacing:normal;-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;touch-action:auto;pointer-events:auto;border-bottom:0;margin:0 auto;font:400 16px/1.8 system-ui,Yu Gothic,Hiragino Sans,Apple SD Gothic Neo,Malgun Gothic,Noto Sans KR,sans-serif;position:absolute;top:100svh;left:0;right:0}#about,#about *{box-sizing:border-box;touch-action:auto;-webkit-user-select:text;user-select:text}html:not(.has-game-about) #about{display:none}.game-about{padding:28px 20px 40px}.game-about[hidden]{display:none!important}.game-about h2{color:var(--about-heading);margin:28px 0 8px;font-size:19px;font-weight:700;line-height:1.4}.game-about h2:first-child{margin-top:0}.game-about p{margin:0 0 10px}.game-about ul,.game-about ol{color:var(--about-sub);margin:4px 0 10px;padding-left:1.4em}.game-about li{margin-bottom:4px}.game-about a{color:var(--about-accent);text-underline-offset:3px}.game-about-links{flex-direction:column;gap:10px;display:flex;margin-top:24px!important}.game-about-links a{border:1px solid var(--about-line);background:var(--about-card);border-radius:10px;padding:10px 14px;text-decoration:none;display:block}.game-about-author{color:var(--about-sub);font-size:14px;margin-top:20px!important}
