/* A compact game lobby and a matching play cabinet. */
body{min-height:100dvh;background:radial-gradient(ellipse at 50% 0,#f5fff2 0,transparent 55%),linear-gradient(165deg,#d9eee8,#d9e9ee 55%,#e8e6f2);background-attachment:fixed;overflow-x:hidden}
body:before,body:after{content:'';position:fixed;pointer-events:none;z-index:-1;width:70vw;height:45vw;min-height:280px;bottom:-26vw;border-radius:50%;background:#a8cbb850;box-shadow:0 -10px 0 #ffffff22}
body:before{left:-17vw;transform:rotate(12deg)}body:after{right:-20vw;background:#a9c4d54d;transform:rotate(-12deg)}
.site-header{height:74px;max-width:540px;padding:0 24px}.brand{font-size:20px;letter-spacing:-1px}.brand-icon{width:29px;height:31px;font-size:27px;border-radius:10px;box-shadow:0 3px 0 #1e604b}.site-header nav{gap:10px}.site-header nav>button{background:#ffffffb3;border:2px solid #fff;box-shadow:0 3px 0 #bed1c5;border-radius:14px;height:37px;padding:0 12px;font-size:11px}.site-header nav>button span{margin-left:0;color:#b59846}.site-header nav .icon-button{width:37px;padding:0;font-size:22px}.sound-off{left:9px!important;top:3px}
main{position:relative}.home{display:flex;flex-direction:column;max-width:440px;padding:0 26px;margin:5px auto 0;gap:0}.lobby-title{text-align:center;position:relative;z-index:1}.lobby-badge{font-size:10px;font-weight:700;letter-spacing:2px;color:#5c9480}.lobby-title h1{font-size:80px;line-height:1.15;letter-spacing:-6px;font-weight:900;margin:9px 0 7px;color:#438d71;-webkit-text-stroke:1px #fcfff5;text-shadow:0 3px 0 #fcfff5,0 7px 0 #286952,0 12px 13px #5887772b;transform:rotate(-4deg)}.lobby-title h1 span{color:#f1bd56;text-shadow:0 3px 0 #fff6d5,0 7px 0 #b78133,0 12px 13px #5887772b}.lobby-title h1 i{font-style:normal;color:#ec9c85;font-size:68px;display:inline-block;transform:rotate(13deg);text-shadow:0 3px 0 #fff4e8,0 7px 0 #b97161}.lobby-title p{font-size:12px;font-weight:600;letter-spacing:1px;color:#6f9c8c;margin:17px 0 0}
.mascot-stage{position:relative;height:225px;margin:0 5px}.mascot-aura{position:absolute;width:195px;height:150px;border-radius:50%;background:radial-gradient(ellipse,#ffffffba,transparent 70%);left:50%;top:30px;transform:translateX(-50%)}.hero-bot{position:absolute;left:50%;top:65px;transform:translateX(-50%);width:94px;height:85px}.hero-bot .robot{width:94px;height:74px;border-radius:25px;padding:16px 13px;background:linear-gradient(145deg,#fbffe8,#c5e1ae);border:2px solid #ffffffc9;box-shadow:inset 0 3px 2px #fff,0 7px 0 #9cb986,0 12px 12px #70977526;animation:bot-bob 3.6s ease-in-out infinite}.hero-bot .robot:before,.hero-bot .robot:after{width:9px;height:27px;top:24px;border:2px solid #e6f7d6;background:#a8c292}.hero-bot .robot:before{left:-10px}.hero-bot .robot:after{right:-10px}.hero-bot .robot-face{height:36px;border-radius:12px;background:#3b6558;box-shadow:inset 0 4px 3px #25463e66;position:relative}.hero-bot .robot-face i{width:9px;height:12px;background:#ceffd7;box-shadow:0 0 9px #afffc577;border-radius:6px;transform:translateY(-2px)}.hero-bot .robot-face b{position:absolute;bottom:6px;left:31px;width:9px;height:5px;border:2px solid #b8ebc2;border-top:0;border-radius:0 0 8px 8px}.hero-bot .antenna{height:17px;top:-18px;left:44px;width:4px}.hero-bot .antenna:before{width:12px;height:12px;background:#f2c862;border:2px solid #fff0b4;left:-4px;top:-7px;box-shadow:0 2px 0 #c7a245}.hero-bot .robot-foot{position:absolute;bottom:-17px;left:14px;width:18px;height:12px;border-radius:3px 3px 7px 7px;background:#a1bc8c;box-shadow:43px 0 #a1bc8c}.bot-shadow{position:absolute;left:1px;top:98px;width:90px;height:14px;background:#699c7526;border-radius:50%;filter:blur(2px)}
.orbit-tile{position:absolute;width:47px;height:47px;aspect-ratio:1;font-size:24px;z-index:1}.orbit-tile:nth-child(1){left:7%;top:61px;rotate:-17deg}.orbit-tile:nth-child(2){left:24%;top:13px;rotate:-9deg;width:40px;height:40px;font-size:21px}.orbit-tile:nth-child(3){right:24%;top:10px;rotate:12deg;width:40px;height:40px;font-size:21px}.orbit-tile:nth-child(4){right:6%;top:64px;rotate:18deg}.orbit-tile:nth-child(5){right:15%;top:133px;rotate:9deg;width:37px;height:37px;font-size:20px}.stage-spark{position:absolute;color:#92bc97;font-size:27px}.stage-spark.one{left:19%;top:132px;color:#d5b357}.stage-spark.two{right:10%;top:18px;font-size:22px}.mascot-message{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);background:#ffffffc4;color:#699174;border:2px solid #fff;padding:7px 17px;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap}.mascot-message:before{content:'';position:absolute;left:50%;top:-7px;width:10px;height:10px;background:#fff;transform:rotate(45deg)}
.mode-list{gap:17px;margin:17px 0 0}.mode-card{border:2px solid #fff9;border-radius:24px;padding:16px 19px;align-items:center;min-height:104px;transition:transform .15s,filter .15s;overflow:visible}.mode-card:before{content:'';position:absolute;inset:4px 10px auto;height:28px;background:linear-gradient(#ffffff33,transparent);border-radius:18px;pointer-events:none}.time-card{background:linear-gradient(160deg,#87cda5,#5cad88);box-shadow:0 6px 0 #388167,0 11px 18px #517e6320;color:#fff}.duel-card{background:linear-gradient(160deg,#c0a8e9,#a084d0);box-shadow:0 6px 0 #7b60aa,0 11px 18px #79629a20;color:#fff}.mode-card:hover{transform:translateY(-2px);filter:brightness(1.035);box-shadow:0 7px 0 #388167,0 12px 18px #517e6320}.duel-card:hover{box-shadow:0 7px 0 #7b60aa,0 12px 18px #79629a20}.mode-card:active{transform:translateY(4px)}.mode-icon{background:#ffffff2d;color:#fff;width:46px;height:46px;border:1px solid #ffffff45;border-radius:16px;margin:0 15px 0 0;font-size:32px;box-shadow:inset 0 2px 0 #ffffff30}.mode-content{gap:3px}.mode-content strong{font-size:24px;font-weight:900;letter-spacing:-1px;text-shadow:0 2px 0 #365f4f33}.mode-tag,.duel-card .mode-tag{color:#fff;opacity:.9;font-size:10px;font-weight:600;letter-spacing:0}.mode-tag i{font-size:8px;background:#ffffff30;padding:1px 5px;border-radius:6px}.mode-tag i:empty{display:none}.mode-content small,.duel-card small{color:#fff;opacity:.85;font-size:10px;margin:4px 0 0;font-weight:500}.card-arrow{color:#fff;background:#ffffff26;border:1px solid #ffffff45;display:grid;place-items:center;font-size:13px;width:29px;height:29px;border-radius:50%;flex-shrink:0}
.lobby-tools{display:flex;justify-content:center;align-items:center;gap:27px;margin:28px 0 5px}.lobby-tools button{font-size:11px;color:#628a77;display:flex;align-items:center;gap:7px;padding:5px}.lobby-tools button>span{width:22px;height:22px;border-radius:50%;background:#fff9;box-shadow:0 2px 0 #c4d6c9;display:grid;place-items:center;font-weight:800}.lobby-tip{border-left:1px solid #b5cdc0;padding-left:25px;display:flex;flex-direction:column;gap:3px}.lobby-tip b{font-size:12px;letter-spacing:2px;color:#739a82}.lobby-tip span{font-size:9px;color:#8ca594}
footer{max-width:490px;justify-content:center;margin:23px auto 16px;padding:0 20px;color:#88a08f}footer>span{display:none}footer button{font-size:9px;color:#789582}footer div{gap:16px}
.game{max-width:432px;padding:0 17px;margin:0 auto}.game-heading{margin-bottom:13px;gap:12px}.game-heading h2{font-size:21px;color:#416f5d;letter-spacing:-1px;text-shadow:0 1px #fff}.game-heading .eyebrow{font-size:8px;letter-spacing:1.5px;color:#85a495}.back-button,.round-button{border:2px solid #fffc;background:#f6fff3ad;border-radius:14px;width:37px;height:37px;box-shadow:0 3px 0 #bed0bb;font-size:21px;padding:0}.round-button{font-size:14px}
.scoreboard{border:3px solid #fff;border-radius:22px;background:linear-gradient(150deg,#ffffffd9,#eef9e9dd);padding:12px 19px;min-height:86px;box-shadow:0 5px 0 #baceb7,0 8px 14px #5a7e6110}.score-block small{font-size:10px;font-weight:700;color:#85a081}.score-block strong{font-size:32px;color:#458969;line-height:1.2}.score-block:last-child strong{color:#bb9250}.score-block em{font-size:11px;color:#9aac8e}.score-block p{font-size:10px;margin-top:4px;color:#8a9e7c}.time-track{height:10px;border:2px solid #ffffffbd;background:#a6beae70;margin-top:16px;border-radius:8px;box-shadow:inset 0 2px 2px #71968315}#time-fill{background:linear-gradient(#b2df7e,#86ba5e);border-radius:8px;box-shadow:inset 0 2px #ffffff5e}.turn-label{font-size:11px;min-height:40px;padding:11px 0;color:#789478;font-weight:600}.board-wrap{margin:7px 0 17px}.board-wrap:before{inset:-10px -9px -13px;background:linear-gradient(145deg,#eaf5e4,#c6ddcc);border:3px solid #f6fff0;box-shadow:inset 0 3px 7px #6a9a7125,0 6px 0 #9fbda9,0 13px 21px #59827824;border-radius:26px}.board-cover{inset:-6px;border:2px solid #f9fff2;background:radial-gradient(ellipse at top,#f4ffe7,#d3e8d7);border-radius:20px;color:#60936f}.board-cover strong{text-shadow:0 3px 0 #fff,0 6px 0 #a9c494}.path-info{font-size:13px;min-height:61px;padding:9px 0 5px;color:#659070}.path-info small{font-size:10px;color:#8da28b}.keyboard-help{font-size:8px;margin-bottom:0;color:#8ba28d}
dialog{background:linear-gradient(150deg,#fcfff5,#eaf2e3);border:4px solid #fff;border-radius:28px;box-shadow:0 8px 0 #b1c7a2,0 25px 80px #314e4335}.dialog-top h2{color:#557d5b;font-weight:900}.primary{background:linear-gradient(#86c397,#5aa57b);border:2px solid #ecffe5;box-shadow:0 4px 0 #418563;border-radius:16px;padding:13px;font-size:14px;margin-top:14px;text-shadow:0 1px #397450}.secondary{background:linear-gradient(#fff,#e4edda);border:2px solid #fff;box-shadow:0 3px 0 #c6d2ba;color:#789064;border-radius:15px}.difficulty{border:2px solid white;background:#ffffffad;box-shadow:0 3px 0 #c9d5bc;border-radius:17px;padding:17px}.result-stats{background:#dce9d1;border:2px solid #fff9}
.tile.hinted:after{content:'';inset:2px;width:auto;height:auto;background:transparent;border:2px solid #fffbd2;border-radius:inherit;box-shadow:0 0 9px #ffffdf99,inset 0 0 6px #ffffff80;animation:hint-glimmer 1.1s ease-in-out both}.tile.hinted[data-hint-order="1"]:after{animation-delay:.14s}.tile.hinted[data-hint-order="2"]:after{animation-delay:.28s}
@keyframes hint-glimmer{0%,100%{opacity:0}35%,65%{opacity:1}}
@keyframes bot-bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-6px) rotate(3deg)}}
@media(min-width:701px){body:has(.game:not(.hidden)) .site-header{height:69px}.home{margin-top:12px}.game{max-width:410px}.site-header{max-width:520px}}
@media(max-width:700px){.site-header{height:64px;padding:0 20px}.home{margin:0 auto;padding:0 25px}.lobby-title h1{font-size:72px}.lobby-title p{font-size:11px}.mascot-stage{height:207px}.hero-bot{top:55px}.mode-list{margin-top:14px}.mode-card{min-height:96px;padding:14px 16px}.mode-content strong{font-size:23px}.game{padding:0 15px}.game-heading h2{font-size:19px}.game-heading{margin-bottom:12px}.scoreboard{min-height:78px;padding:10px 16px}.score-block strong{font-size:29px}.game .tile{font-size:25px}.game .board{row-gap:7px;column-gap:5px}.turn-label{min-height:35px;padding:9px 0}.time-track{margin-top:14px}body:has(.game:not(.hidden)) .site-header{height:58px}body:has(.game:not(.hidden)) footer{margin-top:8px}.lobby-tools{margin-top:24px}}
@media(max-width:360px){.mode-content strong{font-size:21px}.mode-icon{width:39px;height:39px;margin-right:11px}.mode-card{padding:14px}.card-arrow{width:24px;height:24px}.mode-content small{font-size:9px}.game{padding:0 12px}.lobby-title h1{font-size:65px}}
@media(max-height:750px) and (max-width:700px){.lobby-title h1{font-size:62px;margin-top:5px}.lobby-title p{margin-top:12px}.mascot-stage{height:180px}.hero-bot{top:44px;scale:.9}.orbit-tile:nth-child(1),.orbit-tile:nth-child(4){top:50px}.orbit-tile:nth-child(5){top:115px}.mascot-message{bottom:0}.mode-card{min-height:85px;padding:11px 16px}.mode-list{gap:15px}.lobby-tools{margin-top:20px}footer{margin-top:16px}}
.reduced .tile.hinted:after{opacity:.8;animation:none}@media(prefers-reduced-motion:reduce){.tile.hinted:after{opacity:.8;animation:none}}
.lobby-title h1{-webkit-text-stroke:0;paint-order:stroke fill}
.time-reward{background:#fff6cf;border:2px solid white;color:#8c7138;border-radius:12px;padding:2px 8px;font-size:12px;font-weight:800;text-shadow:none}
.duel-goal{text-align:center;min-width:65px;padding:5px 8px;border-radius:14px;background:#e6efd9;color:#748f5a}.duel-goal small{display:block;font-size:8px;line-height:1.4}.duel-goal strong{display:block;font-size:24px;line-height:1.15;font-variant-numeric:tabular-nums}.duel-goal.urgent{background:#fae3d3;color:#c17248}
.game .tile[data-value="1"]{--tile-ink:#20694f}.game .tile[data-value="2"]{--tile-ink:#285e8c}.game .tile[data-value="3"]{--tile-ink:#694398}.game .tile[data-value="4"]{--tile-ink:#994c34}.game .tile[data-value="5"]{--tile-ink:#805d19}
.level-status{display:flex;align-items:center;gap:9px;margin:12px 0 -5px;padding:5px 9px;border-radius:12px;background:#ffffff80;min-height:38px}.level-badge{padding:5px 7px;border-radius:9px;background:linear-gradient(#eecb7d,#deb265);color:#815c30;font-size:12px;font-weight:900;box-shadow:0 2px 0 #c9a35f}.level-status b{display:block;font-size:10px;color:#73916a}.level-status small{display:block;font-size:9px;color:#99a58d;margin-top:2px}.level-dots{margin-left:auto;display:flex;gap:3px}.level-dots i{width:6px;height:12px;background:#dce6d1;border-radius:3px}.level-dots .filled{background:#99bd79}.game:has(.level-status:not(.hidden)){padding-bottom:8px}
@media(max-height:800px) and (min-width:701px){.game:has(.level-status:not(.hidden)){max-width:clamp(320px,calc((100dvh - 280px)*.75),390px)}}
.board-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;margin:3px 0 5px}.board-toolbar .turn-label{flex:1;text-align:left;font-size:10px;min-height:0;padding:6px 0}.hint-button{flex-shrink:0;min-height:36px;padding:6px 13px;border:2px solid #fff4ca;border-radius:13px;background:linear-gradient(#fff0b3,#edd17d);color:#967037;box-shadow:0 3px 0 #c6aa68;font-size:12px;font-weight:800}.hint-button span{margin-right:3px}.hint-button:hover:not(:disabled){filter:brightness(1.06)}.hint-button:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #c6aa68}.hint-button:disabled{opacity:.5;cursor:default}.tile.hinted:after{animation:none!important;opacity:1;border:3px solid #fff9c5;box-shadow:0 0 0 2px #d6a84a,inset 0 0 9px #fffbd8,0 0 12px #fff3af}.tile.hinted{filter:brightness(1.08)}
@media(max-height:800px) and (min-width:701px){body:has(.game:not(.hidden)) .site-header{height:50px}.game{max-width:clamp(300px,calc((100dvh - 280px)*.75),390px)}.game-heading{margin-bottom:8px}.game-heading h2{font-size:18px}.scoreboard{min-height:68px;padding:8px 15px}.score-block strong{font-size:26px}.time-track{margin-top:12px;height:8px}.turn-label{min-height:30px;padding:7px 0}.game .tile{font-size:22px}.board-wrap{margin-top:4px;margin-bottom:14px}.path-info{min-height:48px;padding:6px 0}.keyboard-help{display:none}body:has(.game:not(.hidden)) footer{margin-top:8px}}
@media(max-height:800px) and (min-width:701px){.site-header{height:60px}.home{margin-top:0}.lobby-title h1{font-size:64px;margin:5px 0}.lobby-title h1 i{font-size:57px}.lobby-title p{margin-top:10px}.mascot-stage{height:177px}.hero-bot{top:40px;scale:.88}.orbit-tile:nth-child(1),.orbit-tile:nth-child(4){top:44px}.orbit-tile:nth-child(5){top:109px}.mascot-message{bottom:0}.mode-card{min-height:87px;padding:11px 19px}.mode-list{margin-top:12px;gap:15px}.lobby-tools{margin-top:19px}footer{margin-top:16px}}

.duel-target-label{display:block;margin:16px 0 8px;font-weight:800}#duel-target{width:100%;padding:12px;border:2px solid #cab8e2;border-radius:12px;background:#f5effc;color:#694398;font:inherit;font-weight:800}.duel-goal{background:#eee5f7;color:#806297}

.hint-progress{text-align:right;font-size:11px;color:#8a6935;margin:-2px 3px 7px}.duel-pressure{text-align:center;font-weight:800;font-size:12px;color:#95682c;background:#fff1be;border-radius:9px;padding:6px;margin-bottom:6px}
.hint-charged{animation:hint-charge .45s ease-in-out 3}
@keyframes hint-charge{50%{box-shadow:0 0 18px #edbe3c;filter:brightness(1.2);transform:scale(1.06)}}
.duel-result-art{position:relative;overflow:hidden;text-align:center;padding:12px 0 8px;background:radial-gradient(ellipse,#fff1bc,transparent 70%);border-radius:20px}.duel-result-art>strong{display:block;color:#a17427;font-size:24px;letter-spacing:2px;margin-top:8px}.result-bot{position:relative;margin:auto;width:92px;height:68px;border:5px solid #c0d9af;border-radius:22px;background:#eff8e8;box-shadow:0 5px 0 #91b47e;animation:bot-arrive .55s ease-out both}.result-bot span{display:block;padding-top:9px;color:#57774a;font-size:23px;font-weight:900}.result-bot b{display:block;line-height:16px;color:#57774a}.defeat{background:radial-gradient(ellipse,#e8dff5,transparent 70%)}.defeat>strong{font-size:18px;color:#8b72a3}.victory-confetti{position:absolute;left:var(--x);top:-12px;width:8px;height:13px;border-radius:2px;background:var(--color);animation:victory-fall 1.6s var(--delay) ease-out both}
@keyframes victory-fall{0%{transform:translateY(-10px) rotate(0);opacity:0}15%{opacity:1}100%{transform:translateY(155px) rotate(300deg);opacity:0}}
@keyframes bot-arrive{0%{transform:scale(.65) translateY(15px);opacity:0}65%{transform:scale(1.08) translateY(-4px)}100%{transform:scale(1);opacity:1}}
#record-hints{margin-bottom:12px}.reduced .hint-charged,.reduced .result-bot{animation:none}.reduced .victory-confetti{display:none}
@media(prefers-reduced-motion:reduce){.hint-charged,.result-bot{animation:none}.victory-confetti{display:none}}

.haptics-button{margin-left:auto;flex-shrink:0;border:1px solid #c9ddc6;border-radius:10px;padding:7px 8px;font-size:10px;color:#547950;background:#f4faee;min-height:34px}.haptics-button:disabled{opacity:.55}.game-heading #pause{margin-left:0}
@media(max-width:700px){
  body:has(.game:not(.hidden)) .site-header,body:has(.game:not(.hidden)) footer{display:none}
  body:has(.game:not(.hidden)){min-height:100svh}
  .game,.game:has(.level-status:not(.hidden)){width:100%;max-width:min(430px,calc((100svh - 320px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * .75 + 28px));margin:0 auto;padding:calc(6px + env(safe-area-inset-top)) 14px calc(6px + env(safe-area-inset-bottom))}
  .game-heading{gap:8px;margin-bottom:8px}.game-heading h2{font-size:17px}.game-heading .eyebrow{font-size:7px;letter-spacing:.3px}.game-heading .back-button,.game-heading .round-button{width:34px;height:34px;min-width:34px}
  .scoreboard{min-height:64px;padding:7px 12px;border-radius:17px}.score-block strong{font-size:26px}.score-block p{margin:3px 0 0;font-size:9px}.duel-goal{padding:3px 6px;min-width:52px}.duel-goal strong{font-size:23px}
  .level-status{margin:7px 0 0;min-height:30px;padding:3px 7px}.time-track{margin-top:9px;height:7px}.board-toolbar{min-height:36px;margin:3px 0 4px}.board-toolbar .turn-label{font-size:9px}.hint-button{min-height:32px;padding:5px 9px}
  .game .board{gap:4px}.game .tile{font-size:clamp(18px,6vw,25px)}.board-wrap{margin:8px 0 14px}.path-info{min-height:38px;padding:4px 0;font-size:12px}.path-info small{font-size:9px;margin-top:3px}.keyboard-help{display:none}.hint-progress{font-size:10px;margin-bottom:4px}.duel-pressure{font-size:10px;padding:4px;margin-bottom:4px}
}


.pause-settings{display:flex;gap:10px;margin:8px 0 18px}.pause-settings button{min-height:44px;padding:8px 16px;border:1px solid #bdd5b4;background:#f4faee;border-radius:12px;color:#527747}.pause-settings button:disabled{opacity:.5}
/* Mobile play uses the viewport for the board rather than shrinking its width. */
@media(max-width:700px){
 .game,.game:has(.level-status:not(.hidden)){position:relative;display:flex;flex-direction:column;width:100%;max-width:500px;height:100svh;min-height:440px;padding:calc(8px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));gap:6px}
 .game.hidden{display:none}.game-heading{display:contents}.game-heading>div,.game-heading #exit-game,.game-heading #game-haptics{display:none}.game-heading #pause{position:absolute;top:calc(16px + env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));width:40px;height:40px;z-index:5}
 .scoreboard{order:0;flex-shrink:0;min-height:60px;padding:6px 57px 6px 14px;box-shadow:0 3px 0 #baceb7;border-radius:18px}.score-block strong{font-size:27px}.score-block small{font-size:9px}.score-block p{font-size:9px;margin:0}.duel-goal{min-width:48px}.duel-goal strong{font-size:22px}
 .level-status{order:1;flex-shrink:0;min-height:24px;margin:0;padding:0 6px;background:transparent}.level-status small,.level-dots{display:none}.level-status b{font-size:10px}.level-badge{padding:3px 7px;font-size:10px}
 .time-track{order:2;flex-shrink:0;height:5px;margin:0 0 2px}.duel-pressure{order:3;margin:0;flex-shrink:0;padding:3px;font-size:10px}
 .board-wrap{order:4;flex:1;min-height:0;margin:6px 0 10px}.board-wrap:before{inset:-5px -5px -7px;border-radius:19px;box-shadow:inset 0 2px 5px #6a9a7125,0 4px 0 #9fbda9}.game .board{height:100%;grid-template-rows:repeat(8,minmax(0,1fr));gap:5px}.game .tile{aspect-ratio:auto;min-width:0;min-height:0;font-size:clamp(24px,7vw,32px)}
 .board-toolbar{order:5;flex-shrink:0;min-height:44px;margin:0;gap:10px}.board-toolbar .turn-label{font-size:10px;padding:0}.hint-button{min-height:44px;padding:8px 17px;font-size:13px;border-radius:14px}.hint-progress{order:6;flex-shrink:0;margin:-2px 2px 0;font-size:10px;line-height:12px}
 .path-info{order:7;flex-shrink:0;min-height:18px;margin:0;padding:0;font-size:12px;line-height:18px}.path-info small{display:none}.game[data-mode="tutorial"] .path-info small{display:block}.keyboard-help{display:none}
}

.share-preview{display:block;width:100%;max-height:43svh;object-fit:contain;border-radius:16px}.share-download{display:block;text-align:center;text-decoration:none;padding:12px;margin-top:10px}#share-message{font-size:12px;color:#628370}
.daily-card{display:flex;flex-direction:column;gap:7px;width:100%;margin:14px 0 0;padding:17px 20px;text-align:left;background:#fff5d6;border:2px solid #e6c56a;border-radius:20px;color:#725823;box-shadow:0 4px 0 #dfc580}.daily-card>span{font-weight:900;font-size:20px}.daily-card small{font-size:12px}.share-copy{font-size:18px;line-height:1.6;font-weight:700}.share-site{display:block;color:#24754f;text-align:center;margin:12px 0;overflow-wrap:anywhere}#share-card-area details{margin:16px 0}#share-card-area summary{cursor:pointer;padding:12px;background:#eef4eb;border-radius:12px}#share-message textarea{width:100%;min-height:130px}.languages{display:flex;align-items:center;gap:4px}.languages a{font:700 11px system-ui;padding:7px 6px;text-decoration:none;color:#54745c;border-radius:8px}.languages a[aria-current="page"]{background:#d9ead7;color:#275a3d}.site-header nav{flex-wrap:wrap;justify-content:flex-end}footer a{color:inherit;font-size:12px}.info-page{max-width:760px;margin:40px auto;padding:24px;line-height:1.9}.info-page h1{font-size:32px}.info-page h2{font-size:21px;margin-top:30px}.info-page a{color:#326c50}.info-page .primary{display:inline-block;padding:12px 24px;text-decoration:none}.info-page li{margin-bottom:10px}
@media(max-width:700px){.site-header{gap:8px}.site-header nav{gap:5px}.site-header .brand{font-size:17px}.languages a{padding:7px 4px;font-size:10px}.daily-card{padding:13px 16px}.daily-card>span{font-size:17px}html[lang="en"] .lobby-title .game-logo,html[lang="ja"] .lobby-title .game-logo{font-family:system-ui,sans-serif;font-size:48px;font-weight:900;color:#38986f;letter-spacing:-2px}html[lang="en"] .mode-card strong{font-size:23px}html[lang="en"] .mode-tag{font-size:10px}.site-header #records-nav{font-size:11px}}

@font-face{font-family:PopJua;src:url('/Jua-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:block}
/* Rounded lettering, with one outside shadow instead of offset copies of the glyph. */
.lobby-title .game-logo{display:flex;justify-content:center;align-items:center;gap:.06em;font-family:PopJua,sans-serif;font-size:88px;letter-spacing:0;line-height:1.25;transform:none;margin:12px 0 10px;text-shadow:none;filter:drop-shadow(0 5px 0 #79ac872e)}
.game-logo .logo-letter{display:block;font-family:inherit;font-weight:400;font-synthesis:none;color:#4baa80;-webkit-text-stroke:5px #fffdf0;paint-order:stroke fill;text-shadow:none;transform:rotate(-5deg);position:relative}
.game-logo .logo-letter:nth-child(2){transform:translateY(-2px) rotate(3deg);color:#36986f}
.game-logo .pop-letter{color:#f2bd46;transform:translateY(-5px) rotate(-5deg);text-shadow:none}
.game-logo .bang-letter{color:#f29379;font-size:.95em;margin-left:.01em;transform:translateY(1px) rotate(9deg);text-shadow:none}
@media(max-width:700px){.lobby-title .game-logo{font-size:clamp(62px,20vw,80px);margin:12px 0 14px;gap:.06em}.game-logo .logo-letter{-webkit-text-stroke-width:4px}.lobby-title p{margin-top:10px}}

@media(max-width:700px){html:not([lang="ko"]) .site-header .brand{font-size:13px;white-space:nowrap;gap:5px}html:not([lang="ko"]) .site-header .brand-icon{width:25px;height:29px;flex-shrink:0}html:not([lang="ko"]) .site-header nav{flex-wrap:nowrap;gap:3px}html:not([lang="ko"]) #records-nav{padding:8px 6px;font-size:10px}html:not([lang="ko"]) .site-header .icon-button{width:30px;height:33px}}

.game-guide{margin:34px 0 0;padding:26px 0;border-top:1px solid #a4b9a94d;text-align:left;color:#486650;font-size:14px;line-height:1.85}.game-guide h2{font-size:21px;line-height:1.5;letter-spacing:-.5px;margin:25px 0 12px}.game-guide h2:first-child{margin-top:0}.game-guide h3{font-size:16px;margin:20px 0 8px}.game-guide p{margin:8px 0 16px}.game-guide a,.info-page a:not(.primary){text-decoration:underline;text-underline-offset:3px}.game-guide dt,.info-page dt{font-weight:800;margin:18px 0 4px}.game-guide dd,.info-page dd{margin:0 0 14px}.game-guide details,.info-page details{padding:14px 0;border-bottom:1px solid #a4b9a94d}.game-guide summary,.info-page summary{cursor:pointer;font-weight:700}.game-guide details p,.info-page details p{margin-bottom:0}.guide-links{display:flex;flex-wrap:wrap;gap:12px 18px;margin:24px 0;font-size:13px}.guide-links a[aria-current="page"]{font-weight:900}.info-page h3{font-size:17px;margin:23px 0 8px}.rule-example{display:flex;align-items:center;justify-content:center;gap:8px;padding:22px 0}.rule-example span{display:grid;place-items:center;width:58px;height:64px;background:#60b896;border-radius:16px;color:white;font-size:30px;font-weight:800;box-shadow:0 4px #408869}.rule-example span:nth-of-type(2){background:#71adcf}.rule-example span:nth-of-type(3){background:#ae94ca}.rule-example span:nth-of-type(4){background:#e6a08b}.rule-example span:nth-of-type(5){background:#dcb762}.contact-email{overflow-wrap:anywhere;font-weight:800}footer>div{flex-wrap:wrap;justify-content:center}@media(max-width:400px){.rule-example{gap:4px}.rule-example span{width:42px;height:50px;font-size:25px}.rule-example b{font-size:12px}}

.portal-back{align-self:flex-start;font-size:11px;color:#63816a;padding:6px 0 10px;text-decoration:underline;text-underline-offset:3px}
