/* A focused play hub: profile, battle, deck and three ready activities. */
.is-online-signed-in{--game-head:0px;--game-dock:72px}
.is-online-signed-in .topbar{display:none}
.is-online-signed-in .wordmark{font-size:23px}.is-online-signed-in .adventure-mode{display:none}
.is-online-signed-in .top-actions{margin-left:auto;display:flex}.is-online-signed-in .keeper-menu{min-width:48px;min-height:32px;border:0;background:transparent;box-shadow:none}
.is-online-signed-in .resource-bar{gap:6px;padding:6px 12px}.is-online-signed-in .resource{height:36px}.is-online-signed-in .resource strong{font-size:18px}.is-online-signed-in .resource-art{height:29px;width:26px}
.is-online-signed-in .resource-label{display:none}.is-online-signed-in .destination-nav button{min-height:64px}.is-online-signed-in .destination-nav button>span{font-size:11px}.is-online-signed-in .destination-nav button>.icon{width:40px;height:41px}
.is-online-signed-in #online-content:has(.game-home-hub){padding-top:6px;padding-bottom:calc(var(--game-dock) + env(safe-area-inset-bottom) + 8px)}
.game-home-hub{max-width:520px;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.hub-profile{display:flex;align-items:center;gap:10px;min-height:56px;padding:0 1px}.hub-profile>div{flex:1;min-width:0}.hub-profile h1{font-size:22px;line-height:1.15;margin:0 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hub-level{height:50px;width:48px;flex:none;display:grid;place-items:center;position:relative}.hub-level .icon{position:absolute;width:49px;height:50px;filter:drop-shadow(0 3px #06224b)}.hub-level b{z-index:1;font:400 24px var(--game-type);color:#fff;text-shadow:0 2px #514018}.hub-xp-caption{display:flex;justify-content:space-between;gap:6px;font-size:11px;color:#c8e8ff;margin-bottom:4px}.hub-profile .keeper-xp-track{height:7px}.hub-journey{height:48px;width:48px;padding:7px!important;flex:none;border:1px solid #64a6d3!important;background:#113969!important;border-radius:12px!important}.hub-journey .icon{width:30px;height:32px}
.hub-world{position:relative;isolation:isolate;height:clamp(134px,calc(100dvh - 535px),260px);min-height:134px;overflow:hidden;border-radius:18px;background:radial-gradient(ellipse at 55% 68%,#5bddc055,transparent 65%),linear-gradient(160deg,#185a92,#083d69);border:1px solid #75b8db80;box-shadow:inset 0 1px #a2e4ee44,0 4px #092c53}
.hub-world .keeper-arena-stage{position:absolute;inset:0;transform:translateY(8px)}.hub-world .arena-champion{top:15%;bottom:3%;width:64%}.hub-world .arena-companions{bottom:4%;left:15%;right:13%;height:34%}.hub-world .arena-island{bottom:10%;height:48%}.hub-world-title{position:absolute;top:12px;left:14px;right:14px;z-index:5;pointer-events:none}.hub-world-title span{font-size:10px;font-weight:850;letter-spacing:1px;color:#ace7e6}.hub-world-title h2{font-size:26px;line-height:1.1;margin:3px 0;color:#fff3ce;text-shadow:0 2px #082649}.hub-stage-reward{position:absolute;z-index:5;bottom:10px;left:10px;display:flex;align-items:center;gap:5px;border:1px solid #f0d78880;border-radius:30px;padding:5px 9px;background:#103b61eb;font-size:11px;font-weight:800;color:#fff0b7}.hub-stage-reward .icon{height:20px;width:20px}
.hub-play-dock{display:grid;grid-template-columns:1fr;gap:4px}.hub-play{width:100%;min-height:65px!important;padding:7px 14px!important;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:12px!important;box-shadow:inset 0 2px #fff9c4,0 4px #946320!important}.hub-play>.icon{width:40px;height:44px}.hub-play>span{text-align:left}.hub-play strong{display:block;font:400 31px/1.1 var(--game-type);color:#fff8d4;-webkit-text-stroke:1px #855718;text-shadow:0 2px #9c6923}.hub-play small{display:block;font-size:11px;margin-top:2px;font-weight:750;color:#6b461e}.hub-play[aria-busy=true]{font-size:20px}.hub-modes{align-self:center;justify-self:center;min-height:36px!important;padding:4px 12px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#d6efff;font-size:12px;font-weight:800}.hub-status{font-size:12px;color:#ffecb7;text-align:center;margin:0}
.hub-deck-preview .lobby-deck,.game-local-hub .lobby-deck{margin:0;padding:8px 10px;border:1px solid #80b9d17a;border-radius:12px;background:#10386dbd}.hub-deck-preview .lobby-deck>div:first-child,.game-local-hub .lobby-deck>div:first-child{display:flex;align-items:center;justify-content:space-between;min-height:32px;gap:8px}.hub-deck-preview .lobby-deck>div>span,.game-local-hub .lobby-deck>div>span{font-size:10px;letter-spacing:.7px}.hub-deck-preview .lobby-deck button,.game-local-hub .lobby-deck>div:first-child button{min-height:32px;min-width:80px;padding:4px 6px;font-size:12px;color:#ffecb5}.hub-deck-preview .lobby-deck-cards,.game-local-hub .lobby-deck-cards{gap:4px;margin-top:0}.hub-deck-preview .lobby-deck-cards>span,.game-local-hub .lobby-deck-cards>span{height:39px;border-radius:5px}.hub-deck-preview .lobby-deck-cards small,.game-local-hub .lobby-deck-cards small{font-size:9px}.hub-deck-preview .lobby-loadouts,.game-local-hub .lobby-loadouts{display:none}
.hub-activities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hub-activities .home-service{position:relative;min-height:62px;display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:1fr 1fr;align-items:center;padding:8px 6px;gap:0 5px;text-align:left;border:1px solid #6eafcf75;border-radius:11px;background:linear-gradient(#215b8c,#123c6e);box-shadow:inset 0 1px #8ed1e944,0 3px #082d53}.hub-activities .home-service .icon{grid-row:span 2;height:36px;width:32px}.hub-activities .home-service>span{font-size:11px;align-self:end;line-height:1.3}.hub-activities .home-service>small{font-size:10px;align-self:start;line-height:1.5}.hub-activities .home-service.ready{border-color:#f8dc78}.hub-activities .home-service.ready:after{content:'';position:absolute;right:6px;top:6px;width:6px;height:6px;border-radius:50%;background:#ffe794}
.game-local-hub{display:flex;flex-direction:column;gap:9px}.game-local-hub .lobby-heading{margin:0}.game-local-hub .lobby-heading h1{font-size:28px}.game-local-hub .lobby-help{min-height:44px;font-size:12px}.game-local-hub .battle-mode-tabs{padding:3px;gap:4px}.game-local-hub .battle-mode-tabs button{min-height:44px;padding:8px 4px;font-size:12px}.game-local-hub .local-ladder-stage{margin:0;min-height:116px;height:clamp(116px,calc(100dvh - 580px),170px);max-height:170px;border-radius:12px;background:#15487688;padding:12px}.game-local-hub .local-ladder-stage h2{font-size:26px;line-height:1.1;margin:5px 0}.game-local-hub .local-ladder-stage p{font-size:12px;line-height:1.4;margin:0 0 7px}.game-local-hub .local-ladder-stage .eyebrow{font-size:10px}.local-reward-tag{display:flex;align-items:center;gap:5px;font-size:12px;color:#ffeca7;font-weight:800}.local-reward-tag .icon{height:19px;width:19px}.game-local-hub .lobby-start{margin:0}.game-local-hub .lobby-primary{min-height:58px!important;font-size:28px!important}.game-local-hub .lobby-mode-note{font-size:11px;margin:7px 0 0!important}.game-local-hub .local-stage-details{margin:0}.game-local-hub .local-stage-details summary{padding:10px 12px;min-height:55px;list-style:none}.game-local-hub .local-stage-details summary>span{font-size:11px;margin:3px 0 0}.game-local-hub .local-stage-details .local-goal{display:flex;align-items:center;gap:5px;color:#ffeaa9;font-size:12px;font-weight:800;margin:0}.local-goal .icon{width:20px;height:20px}.local-stage-details summary:after{content:'⌄';float:right;margin-top:-25px;color:#cce9ff}.game-local-hub .local-stage-details p{font-size:12px}
.is-online-signed-in button{touch-action:manipulation}.is-online-signed-in button:active:not(:disabled){filter:brightness(1.1);transform:translateY(2px)}.is-online-signed-in button:focus-visible,.is-online-signed-in summary:focus-visible{outline:3px solid #fff0a4;outline-offset:3px}.battle-lane-actions button{min-height:44px!important;min-width:92px;font-size:11px!important}
@media(max-height:700px){.game-home-hub{gap:7px}.hub-world{min-height:118px;height:118px}.hub-profile{min-height:48px}.hub-profile h1{font-size:20px}.hub-world-title{top:9px}.hub-world-title h2{font-size:24px}.hub-world .arena-champion{width:50%;left:65%;top:0}.hub-world .arena-companions{left:44%;right:4%;height:37%}.hub-stage-reward{font-size:10px;bottom:8px}.hub-play{min-height:57px!important}.hub-play strong{font-size:28px}.hub-modes{min-height:32px!important}.hub-activities .home-service{min-height:54px;padding:6px 5px;grid-template-columns:26px minmax(0,1fr)}.hub-activities .home-service .icon{width:26px;height:31px}.hub-deck-preview .lobby-deck{padding-top:4px;padding-bottom:6px}.hub-deck-preview .lobby-deck-cards>span{height:32px}.game-local-hub{gap:7px}.game-local-hub .local-ladder-stage{min-height:100px;height:100px}.game-local-hub .local-ladder-stage h2{font-size:23px}.game-local-hub .lobby-deck{padding:4px 9px 7px}.game-local-hub .lobby-deck-cards>span{height:34px}}
@media(prefers-reduced-motion:reduce){.hub-play,.keeper-xp-track i{transition:none!important;animation:none!important}}
/* Full-size tap areas with a compact visual footprint. */
.is-online-signed-in{--game-head:0px}.is-online-signed-in .keeper-menu{min-height:48px;min-width:48px;padding:10px}.hub-modes{min-height:48px!important}.hub-play small{-webkit-text-stroke:0;text-shadow:none;font-family:'DM Sans',sans-serif;letter-spacing:0}.hub-deck-preview .lobby-deck button,.game-local-hub .lobby-deck>div:first-child button{min-height:48px;min-width:80px}.game-local-hub .battle-mode-tabs button,.game-local-hub .lobby-help{min-height:48px}.game-home-hub{gap:8px}
@media(max-height:700px){.game-home-hub{gap:6px}.hub-world{min-height:100px;height:100px}.hub-modes{min-height:48px!important}.hub-deck-preview .lobby-deck-cards>span{height:30px}.hub-deck-preview .lobby-deck{padding-top:0}}
@media(prefers-reduced-motion:reduce){.is-online-signed-in button:active:not(:disabled){transform:none!important}}
