@media(min-width:1100px){body.desktop-hub #app{max-width:none!important;width:100%;margin:0;padding:0 24px!important}body.desktop-hub header{height:64px;margin:0;padding:7px 0;border:0}body.desktop-hub header .brand img{width:43px;height:43px}body.desktop-hub header .brand small{display:none}body.desktop-hub header .brand b{font-size:17px}body.desktop-hub header .player-badge{padding:7px 12px}body.desktop-hub footer{position:fixed;left:24px;bottom:9px;width:calc(50% - 190px);margin:0;padding:0;border:0}body.desktop-hub footer>span{display:none}body.desktop-hub .developer-credit{padding:0;border:0;justify-content:flex-start;gap:5px 10px;font-size:9px;flex-wrap:wrap}body.desktop-hub .developer-credit small{font-size:9px}body.desktop-hub .developer-credit svg{width:17px;height:17px}body.desktop-hub .bottom-dock{position:fixed!important;left:50%!important;right:auto!important;bottom:7px;transform:translateX(-50%);width:320px;margin:0;padding:5px 10px;border-radius:16px}body.desktop-hub .bottom-dock button{font-size:11px;padding:5px 15px}body.desktop-hub .bottom-dock svg{width:20px;height:20px}
.desktop-hub main{min-height:0;margin:0 auto!important;box-sizing:border-box}.desktop-pages{display:flex;align-items:center;justify-content:center;gap:16px;min-height:34px;font-size:13px;color:#d7e8ee}.desktop-pages button,.bot-level-tabs button{border:1px solid #a4c9e166;border-radius:9px;background:#173d59;color:#ffe3a6;padding:8px 14px;font-size:13px}.desktop-pages button:disabled{opacity:.4}.desktop-hub [hidden]{display:none!important}
body.is-search .match-search-page{width:100%;max-width:1120px;min-height:0;padding:22px 36px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:25px}.match-search-page h1{font-size:42px;margin:5px 0}.match-search-page>p{font-size:14px;margin:4px 0}.search-duel{width:100%;flex:1;min-height:130px;max-height:260px;margin:12px auto;grid-template-columns:1fr 70px 1fr}.search-player{min-height:0;height:100%;padding:15px;gap:8px}.search-portrait{width:76px;height:76px;border-radius:20px}.search-portrait img{width:72px;height:72px}.search-player strong{font-size:20px}.search-player small{font-size:13px}.search-candidate{min-height:42px;margin:4px 0;padding:8px 18px;flex-shrink:0}.search-steps{margin:8px 0;font-size:12px;flex-shrink:0}.match-search-page .search-color-note{font-size:12px;line-height:1.5;margin:4px 0 8px}.match-search-page>[data-action=cancel-search]{min-height:40px;flex-shrink:0;font-size:14px;padding:8px 20px}
.shop-view{display:grid;grid-template-rows:64px 42px minmax(0,1fr) 34px 42px;gap:10px;max-width:1500px}.shop-intro{padding:9px 18px;border-radius:17px;min-height:0}.shop-intro h1{font-size:29px;margin:3px 0}.shop-intro p{font-size:12px;margin:4px 0;line-height:1.4}.shop-intro-art{height:60px!important;width:65px!important}.shop-toolbar{margin:0;gap:12px}.shop-tabs button,.collection-button{font-size:13px;padding:9px 13px}.shop-grid{grid-row:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;min-height:0;align-items:stretch}.shop-card{padding:0;min-height:0;display:flex;flex-direction:column;overflow:visible}.shop-card .item-stage{min-height:65px;height:clamp(80px,18vh,170px);max-height:180px;flex:1 1 100px}.shop-card .item-stage>*{max-height:100%}.shop-card .item-copy{padding:12px;flex:none}.shop-card h3{font-size:19px;margin:6px 0}.shop-card .item-copy>p{font-size:12px;line-height:1.4;margin:6px 0 10px;min-height:0}.shop-card .item-controls{gap:7px;flex-wrap:wrap}.shop-card .item-controls button{font-size:12px;padding:8px 10px}.shop-card .rarity-badge{font-size:9px}.shop-card .item-category{font-size:10px}.shop-footnote{grid-row:5;display:flex;gap:18px;align-items:center;justify-content:space-between;padding:8px 15px;margin:0;border-radius:12px}.shop-footnote h3{font-size:14px;margin:0}.shop-footnote button{font-size:13px}.shop-view>.desktop-pages{grid-row:4}
.desktop-copy,.desktop-rewards{position:relative;min-width:0;font-size:13px}.desktop-copy>summary,.desktop-rewards>summary{cursor:pointer;color:#ffe4a5;padding:8px 10px;border:1px solid #8db9cc55;background:#1b4059;border-radius:9px}.desktop-copy>div,.desktop-copy>p,.desktop-rewards>.reward-journey{position:absolute;left:0;right:0;bottom:calc(100% + 6px);z-index:70;background:#16354dfc;border:1px solid #a3cbd477;border-radius:13px;padding:16px;box-shadow:0 10px 25px #05182c88;margin:0!important}.desktop-copy>p{width:340px;max-width:60vw;font-size:13px;line-height:1.6}.desktop-rewards>.reward-journey{min-width:330px}.desktop-rewards .reward-row h3{font-size:22px;margin:8px 0}.desktop-rewards .reward-journey{padding:16px}.desktop-rewards .reward-facts{gap:8px}.desktop-rewards .reward-facts>div{padding:9px 6px}.desktop-rewards .reward-facts b{font-size:21px}.desktop-rewards .reward-facts span{font-size:11px}.desktop-rewards .sticker-progress{margin-top:12px;padding-top:10px}.desktop-rewards .login-week>span{width:29px}.desktop-rewards .reward-reset,.desktop-rewards .sticker-progress>small{font-size:11px;line-height:1.4}
.bot-gallery{display:grid;grid-template-columns:minmax(0,1fr) 330px;grid-template-rows:58px 126px minmax(0,1fr);gap:12px 20px;max-width:1450px}.collection-page-title{grid-column:1/-1;margin:0!important;padding:0!important}.collection-page-title h1{font-size:31px;margin:4px 0}.collection-page-title .eyebrow{font-size:9px}.collection-page-title>button{font-size:13px}.bot-feature{grid-column:1;grid-row:2;min-height:0;margin:0;padding:14px 18px;border-radius:18px;gap:16px}.selected-portrait{width:92px;height:98px;flex-shrink:0}.bot-introduction h2{font-size:26px;margin:5px 0}.bot-introduction .bot-speech{font-size:14px;line-height:1.4;padding:7px 10px;margin:4px 0}.bot-introduction>small{font-size:12px}.bot-level-badge{font-size:10px}.bot-readiness{display:none}.bot-gallery-layout{display:contents}.bot-rivals{grid-column:1;grid-row:3;min-height:0}.bot-level-tabs{display:flex;gap:8px;margin-bottom:12px}.bot-level-tabs button{flex:1;font-size:12px;padding:9px}.bot-level-tabs button[aria-pressed=true]{border-color:#ffe09a;background:#35667d}.bot-tier{margin:0}.bot-tier-title{margin:8px 0}.bot-tier-title h3{font-size:19px}.bot-tier-title small{font-size:12px}.bot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.bot-tile{padding:12px}.bot-tile-art{height:125px;width:125px}.bot-tile b{font-size:17px}.bot-tile>small{font-size:11px}.bot-options{grid-column:2;grid-row:2/4;position:static;align-self:start;padding:16px;margin:0;border-radius:18px;min-width:0}.bot-options h3{font-size:18px;margin:0 0 12px}.practice-sides{gap:8px;margin:0 0 12px}.practice-sides button{padding:9px;font-size:15px;min-height:60px}.practice-sides small{font-size:11px}.bot-options .time-choice{padding:9px;margin:10px 0;font-size:13px;gap:8px}.bot-options select{font-size:14px}.bot-play-button{font-size:16px;min-height:42px;padding:10px;margin:12px 0}.bot-unlock-options{gap:8px;margin:10px 0}.bot-unlock-options>button{font-size:14px;padding:10px;min-height:40px}.bot-options .desktop-copy{margin-top:10px}.bot-options .desktop-copy p,.bot-options .desktop-copy small{font-size:13px;line-height:1.5;margin:8px 0;display:block}.bot-options .desktop-rewards{margin-top:9px}.bot-options .desktop-rewards>.reward-journey{left:auto;right:0;width:360px}
.sticker-collection-page{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:58px 36px minmax(0,1fr) 34px 22px;gap:10px;max-width:1500px}.sticker-collection-page>.desktop-rewards{grid-row:2;max-width:390px}.sticker-collection-page>.desktop-rewards>.reward-journey{top:calc(100% + 6px);bottom:auto;width:410px}.desktop-expression-deck{grid-row:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;min-height:0}.expression-card{padding:12px;min-height:0;overflow:visible}.expression-preview{height:clamp(80px,18vh,160px);min-height:65px;flex:1 1 100px;width:150px}.expression-card h3{font-size:18px;margin:6px 0}.expression-card>p{font-size:12px;line-height:1.4;min-height:0;margin:4px 0 8px;flex:none}.expression-rarity{font-size:9px;margin-top:7px}.expression-locked b{font-size:12px}.expression-locked small{font-size:11px}.expression-send-note{grid-row:5;font-size:12px;margin:0;line-height:1.4}.sticker-collection-page>.desktop-pages{grid-row:4}
}
@media(min-width:1100px) and (max-height:750px){body.desktop-hub header{height:52px;padding:4px 0}.match-search-page h1{font-size:34px}.match-search-page>p:not(.search-color-note):not(.free-search-note){display:none}.search-steps{display:none}.search-duel{min-height:130px;margin:8px auto;max-height:210px}.search-portrait{width:62px;height:62px}.search-portrait img{width:58px;height:58px}.match-search-page .search-color-note{font-size:12px;margin:4px 0}.search-candidate{font-size:13px;min-height:38px}.search-player{padding:10px}.search-player strong{font-size:18px}.bot-gallery{grid-template-rows:52px 116px minmax(0,1fr);gap:10px 16px}.selected-portrait{height:88px;width:80px}.bot-feature{padding:10px 14px}.bot-introduction .bot-speech{font-size:13px}.bot-introduction h2{font-size:23px}.bot-tile-art{height:95px;width:95px}.bot-level-tabs{gap:6px;margin-bottom:8px}.bot-options{padding:13px}.bot-options .bot-play-button{margin:8px 0}.shop-view{gap:8px}.shop-card .item-copy{padding:10px}.shop-card .item-stage{max-height:115px}.shop-footnote h3{display:none}.shop-intro .eyebrow{font-size:8px}.shop-intro h1{font-size:26px}.shop-intro p{font-size:11px}.shop-tabs button{padding:8px 10px}.expression-preview{max-height:110px}}
.coin-transfer{position:fixed;inset:0;pointer-events:none;z-index:110}.flying-coin{position:fixed;display:grid;place-items:center;width:21px;height:21px;border:2px solid #fff1a2;border-radius:50%;background:linear-gradient(135deg,#fff3a3,#f6ba35 60%,#ab6412);color:#7f4b09;font-size:15px;font-weight:900;box-shadow:0 0 14px #ffd45b99,0 3px 6px #2e1b1680}.coin-prize-winner{box-shadow:0 0 0 2px #ffdc85,0 0 24px #ffd97577!important}

@media(min-width:1100px){.shop-footnote{padding:3px 12px;min-height:0}.shop-footnote .text-button{min-height:30px;padding:5px 10px;line-height:1.3}.shop-footnote .desktop-copy>summary{padding:6px 9px}}

@media(min-width:1100px){.match-search-page:before{top:10%;height:80%;max-height:500px;width:min(500px,90%)}}

/* Confirmed win rewards: large, deliberately slower, and never wallet mutations. */
.flying-coin{width:clamp(48px,4.7vw,68px);height:clamp(48px,4.7vw,68px);font-size:38px;border-width:4px;box-shadow:inset 0 0 0 3px #e9a928,0 0 26px #ffd45baa,0 8px 15px #2e1b1680}.reward-award-card{position:fixed;left:50%;top:12%;transform:translateX(-50%);display:flex;align-items:center;gap:30px;padding:20px 30px;border:2px solid #ffe6a0;border-radius:24px;background:linear-gradient(130deg,#193c5af2,#122e47f5);box-shadow:0 0 50px #f3cb5844,0 16px 45px #00132c66;animation:reward-card-in .5s ease-out}.coin-award,.gem-award{display:flex;align-items:center;gap:14px}.reward-award-card small{display:block;font-size:12px;letter-spacing:1.5px;color:#e3e5c9}.reward-award-card b{display:inline-block;font:850 46px system-ui;color:#ffe59c}.reward-award-card em{font-style:normal;font-size:18px;margin-left:7px;color:#e1edf4}.reward-big-coin{display:grid;place-items:center;width:76px;height:76px;border:5px solid #ffefa2;border-radius:50%;background:linear-gradient(130deg,#fff4a4,#f4b727,#a86510);font-size:47px;color:#85520d;box-shadow:0 0 28px #ffd55b88}.reward-big-gem{font-size:80px;color:#72ecff;text-shadow:0 0 22px #5fddff}.gem-award b{color:#87f0ff}.flying-gem{position:fixed;color:#70efff;font-size:110px;line-height:1;text-shadow:0 0 30px #55daff;filter:drop-shadow(0 7px 8px #082b64);white-space:nowrap}.flying-gem b{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);font:900 35px system-ui;color:#073264;text-shadow:0 1px 2px #deffff}.practice-board-tools{display:flex!important;justify-content:center;gap:12px;width:100%;min-height:40px;margin-top:0}.practice-board-tools button{min-width:130px;min-height:38px;font-size:15px;padding:7px 18px}.practice-hint-arrow{position:absolute;inset:0;width:100%;height:100%;z-index:8;pointer-events:none;filter:drop-shadow(0 2px 4px #041e3c)}.square.hint-origin{box-shadow:inset 0 0 0 5px #ffe296!important}.square.hint-destination{box-shadow:inset 0 0 0 5px #8cfff1!important}.board-grid:has(.practice-hint-arrow) .piece-actor{filter:brightness(1.08)}
@keyframes reward-card-in{from{opacity:0;transform:translate(-50%,-20px) scale(.8)}to{opacity:1;transform:translate(-50%,0) scale(1)}}@media(prefers-reduced-motion:reduce){.reward-award-card{animation:none}}body.reduced .reward-award-card{animation:none}@media(max-width:700px){.reward-award-card{gap:18px;padding:14px 18px;max-width:95vw}.reward-award-card b{font-size:32px}.reward-big-coin{width:52px;height:52px;font-size:34px}.reward-big-gem{font-size:58px}.reward-award-card small{font-size:10px}.reward-award-card em{font-size:14px}}

.square.preselected{box-shadow:inset 0 0 0 4px #80dcff!important;background-blend-mode:screen}.square.preselected:after{content:"◷";position:absolute;right:5%;top:5%;font-size:clamp(16px,1.8vw,26px);color:#e0faff;text-shadow:0 1px 3px #08233b;z-index:5}

.feedback-page{height:calc(100dvh - 160px);display:grid;grid-template-rows:75px minmax(0,1fr);gap:15px;min-height:0}.feedback-title{display:flex;gap:24px;align-items:center}.feedback-title h1{font:600 32px Georgia,serif;color:#ffe7b5;margin:5px 0}.feedback-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;min-height:0}.feedback-compose,.feedback-history{padding:22px;min-height:0}.feedback-tabs{display:flex;gap:10px;margin-bottom:15px}.feedback-tabs button[aria-pressed=true]{background:#f2d487;color:#173550}.feedback-compose form{display:grid;gap:10px}.feedback-compose label{font-size:14px}.feedback-compose input,.feedback-compose textarea{width:100%;min-width:0;background:#13334f;border:1px solid #a5c8da66;border-radius:10px;color:#f1f5f7;font:15px system-ui;padding:10px 12px}.feedback-compose textarea{resize:none;min-height:90px;max-height:160px}.feedback-compose small{font-size:12px;color:#bcd4e2}.feedback-history h2{font:600 25px Georgia,serif;color:#ffe4ae;margin:0}.feedback-history>p{font-size:13px;color:#c1d8e4}.feedback-history article{padding:12px;margin:10px 0;border:1px solid #9abacd44;border-radius:11px;background:#163750}.feedback-history article>b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.feedback-history article>small{font-size:11px;color:#b6d2df}.feedback-status{float:right;color:#91e7d8;font-size:12px;margin-left:10px}.feedback-reply{font-size:13px;margin:8px 0 0;overflow-wrap:anywhere;max-height:48px;overflow:auto}.feedback-pages{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;font-size:13px}.feedback-pages button{padding:8px 10px;font-size:12px}.feedback-empty{padding:28px 0;color:#bfd7e3}@media(max-height:750px){.feedback-page{grid-template-rows:58px minmax(0,1fr)}.feedback-compose,.feedback-history{padding:14px}.feedback-tabs{margin-bottom:8px}.feedback-compose form{gap:7px}.feedback-compose textarea{height:90px}.feedback-history article{padding:8px;margin:7px 0}.feedback-history>p{margin:5px 0}}@media(max-width:800px){.feedback-columns{grid-template-columns:1fr}.feedback-page{height:auto}.feedback-title h1{font-size:25px}}

.bottom-dock{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));width:min(480px,calc(100vw - 32px))!important}.reward-replay-tools{display:flex;justify-content:center;min-height:40px;width:100%}.reward-replay-tools button{min-height:38px;padding:7px 18px;font-size:14px}

body.feedback-view{overflow:hidden}body.feedback-view #app{height:100dvh;padding:12px 24px 85px;display:flex;flex-direction:column;gap:10px}body.feedback-view header{height:52px;min-height:52px;flex-shrink:0;margin:0}body.feedback-view .feedback-page{flex:1;height:auto;min-height:0;margin:0}body.feedback-view footer{display:none}.feedback-reply{overflow:visible;max-height:none}.feedback-reply button{padding:2px;font-size:12px;min-height:0}
