/* Arcade owns only watching and playing; other primary pages own their tools. */
.arcade-panel{min-width:0;margin-block:0 32px}.arcade-panel>h1,.arcade-panel>h2{font:600 clamp(1.5rem,3vw,1.875rem)/1.35 system-ui,sans-serif;color:#252035;margin:0 0 20px;overflow-wrap:anywhere}
/* Both sections reuse the Play card structure and its light-surface styles.
   A 280px minimum keeps translated controls readable before adding columns. */
.site-typography #hall-view .arcade-panel .game-grid{margin-block:0;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}
.site-typography #hall-view .arcade-panel .game-card{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0;margin:0;gap:0;align-items:stretch;border-radius:12px}
.site-typography #hall-view .arcade-panel .game-art{position:relative;flex:none;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden}
.site-typography #hall-view .sports-game-art{background:#25233c}
.sports-game-art img{display:block;width:100%;height:100%;object-fit:cover}
.site-typography #hall-view .arcade-panel .game-info{display:flex;flex-direction:column;flex:1;min-width:0;padding:18px}
.site-typography #hall-view .arcade-panel .game-title{gap:12px;align-items:flex-start}
.site-typography #hall-view .arcade-panel .game-title h3{font-size:18px;font-weight:600;line-height:1.4;margin:0;overflow-wrap:anywhere}
.site-typography #hall-view .arcade-panel .game-info>p{font-size:16px;line-height:1.65;margin:10px 0 18px;color:#172638;overflow-wrap:anywhere}
.site-typography #hall-view .arcade-panel .game-footer{margin-block-start:auto;padding-block-start:16px;gap:12px;min-width:0;flex-wrap:wrap}
.site-typography #hall-view .arcade-panel .game-footer>span{flex:1;min-width:0}
.site-typography #hall-view .arcade-panel .game-footer button{flex-shrink:0;min-width:48px;min-height:48px;margin:0}
.site-typography #hall-view .arcade-panel .sports-entry-actions :is(select,button){width:auto;height:auto;min-height:48px;min-width:0;padding:10px 12px;border-radius:10px;font-size:16px;background:#eee8fb;color:#382365}
.site-typography #hall-view .arcade-panel .sports-entry-actions select{background:#fff;color:#172638}
.site-typography #hall-view .arcade-panel .sports-entry-actions button:hover{background:#e1d6f5}
.site-typography #hall-view .arcade-panel .game-footer svg{width:18px;height:18px}
@media(min-width:1000px){.site-typography #hall-view :is(.arcade-play,.arcade-discover,.arcade-tools) .game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media(max-width:639px){.site-typography #hall-view .arcade-panel .game-grid{grid-template-columns:minmax(0,1fr)}}

/* Copied AdRolling components/ads/ads.css native carousel (544d735).
   Adapter: retain CBID's20px gap and existing1/2/4-card widths. */
.site-typography #hall-view .arcade-watch .game-grid{--arcade-watch-columns:2;display:grid;min-width:0;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - (var(--arcade-watch-columns) - 1)*20px)/var(--arcade-watch-columns));gap:20px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:2px 0 8px;max-width:100%}
.site-typography #hall-view .arcade-watch .game-grid>.game-card{scroll-snap-align:start;position:relative}
.site-typography #hall-view .arcade-watch .game-grid:focus-visible{outline:2px solid #6c4795;outline-offset:2px}
@media(min-width:1280px) and (max-width:1600px),(min-width:1520px) and (orientation:landscape){.site-typography #hall-view .arcade-watch .game-grid{--arcade-watch-columns:4}}
@media(max-width:639px){.site-typography #hall-view .arcade-watch .game-grid{--arcade-watch-columns:1}}

/* Copied AdRolling home-nearby-preview.css arrow and frame; scoped only. */
.site-typography #hall-view .home-nearby-scroll-frame{position:relative;min-width:0;width:100%}.site-typography #hall-view .home-nearby-next{position:absolute;z-index:5;inset-inline-end:8px;top:45%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #b9cbc3;border-radius:50%;color:#176ebd;background:rgba(255,255,255,.96);box-shadow:0 2px 8px #08212a26;cursor:pointer}.site-typography #hall-view .home-nearby-next svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.site-typography #hall-view .home-nearby-next:dir(rtl) svg{transform:rotate(180deg)}.site-typography #hall-view .home-nearby-next:focus-visible{outline:3px solid #167760;outline-offset:3px}
.site-typography #hall-view .home-nearby-next[hidden]{display:none}

/* Previous uses the same source control, mirrored at the logical start. */
.site-typography #hall-view .home-nearby-previous{inset-inline-end:auto;inset-inline-start:8px}

/* Play and Discover share one card grid, full-card link and focus treatment. */
.site-typography #hall-view :is(.arcade-play,.arcade-discover,.arcade-tools) .game-card{position:relative}
.site-typography #hall-view :is(.arcade-play,.arcade-discover,.arcade-tools) .play-module-link{display:grid;place-items:center;flex-shrink:0;min-width:48px;min-height:48px;border-radius:50%;background:#eee8fb;color:#382365}
.site-typography #hall-view :is(.arcade-play,.arcade-discover,.arcade-tools) .play-module-link::after{content:"";position:absolute;inset:0;border-radius:12px}
.site-typography #hall-view :is(.arcade-play,.arcade-discover,.arcade-tools) .game-card:has(.play-module-link:focus-visible){outline:3px solid #382365;outline-offset:3px}
.site-typography .play-page-back{display:inline-flex;align-items:center;min-height:48px;margin-block:0 16px;color:#382365;font-size:16px;line-height:1.5;text-decoration:underline;overflow-wrap:anywhere}
.site-typography #hall-view .arcade-panel[hidden],.site-typography #hall-view .arcade-play .game-card[hidden]{display:none}
.site-typography #play-game-page{min-width:0;width:100%;padding-block-end:24px}
.site-typography #play-game-page #game-dialog.play-game-document{position:static;inset:auto;margin:0;width:100%;max-width:none;max-height:none;overflow:visible;box-sizing:border-box}
.site-typography #play-game-page #game-dialog.play-game-document .dialog-header{position:relative;flex-wrap:wrap;gap:12px}
.site-typography #play-game-page #game-dialog.play-game-document #game-content{min-width:0}
.site-typography #play-game-page button:disabled{opacity:1;background:#303145;color:#f5f5fc;cursor:not-allowed}
/* Detail summaries use the site's existing light utility surfaces and type roles. */
.site-typography .play-overview{width:100%;min-width:0;color:#172638;font:400 16px/1.65 system-ui,sans-serif}
.site-typography .play-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-block-end:16px}
.site-typography .play-detail-heading h1{flex:1;min-width:0;margin:0;color:#252035;font-size:clamp(1.75rem,3vw,2.25rem);font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.site-typography .play-detail-start,.site-typography .play-detail-button{display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:48px;padding:10px 22px;border:1px solid #382365;border-radius:10px;background:#382365;color:#fff;font:500 16px/1.5 system-ui,sans-serif;text-align:center;overflow-wrap:anywhere}
.site-typography .play-detail-start:hover,.site-typography .play-detail-button:hover{background:#2b194e}
.site-typography .play-detail-start:focus-visible,.site-typography .play-detail-button:focus-visible,.site-typography .play-fellow-list a:focus-visible,.site-typography .play-page-back:focus-visible{outline:3px solid #176ebd;outline-offset:3px}
.site-typography .play-detail-note{margin:8px 0;color:#172638;font-size:16px;line-height:1.65}
.site-typography .play-detail-panel{width:100%;min-width:0;margin-block:24px;padding:24px;background:#fff;border:1px solid #ded9e9;border-radius:12px}
.site-typography .play-detail-panel h2{margin:0 0 16px;color:#252035;font-size:22px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.site-typography .play-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px;margin:0 0 16px;min-width:0}
.site-typography .play-stat{min-width:0}.site-typography .play-stat dt{color:#172638;font-size:16px;overflow-wrap:anywhere}.site-typography .play-stat dd{margin:6px 0 0;font-size:20px;line-height:1.5;font-weight:500;color:#252035;overflow-wrap:anywhere}
.site-typography .play-detail-panel time{font-size:14px;color:#314052}
.site-typography .play-pet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}
.site-typography .play-pet-status{min-width:0;padding:16px;border:1px solid #ded9e9;border-radius:10px;background:#f8f7fb}
.site-typography .play-pet-heading{display:flex;align-items:center;gap:12px;min-width:0}.site-typography .play-pet-heading img{flex:none;max-width:80px;object-fit:contain}.site-typography .play-pet-heading h3{margin:0;font-size:18px;line-height:1.4;font-weight:500;overflow-wrap:anywhere;min-width:0}
.site-typography .play-pet-status p{font-size:16px;line-height:1.65;overflow-wrap:anywhere}.site-typography .play-care-needed{color:#742c12}.site-typography .play-care-ready{color:#174f38}
.site-typography .play-pet-status label{display:block;color:#172638;font-size:16px;line-height:1.65}
.site-typography .play-pet-status progress{display:block;width:100%;height:16px;accent-color:#382365;margin-block:8px}
.site-typography .play-pet-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.site-typography .play-pet-actions>*{max-width:100%;box-sizing:border-box}
.site-typography .play-player-count{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding:6px 12px;background:#fff;color:#382365;border:1px solid #382365;border-radius:8px;font:500 20px/1.5 system-ui,sans-serif;text-decoration:underline;cursor:pointer}
.site-typography .play-player-count:focus-visible{outline:3px solid #176ebd;outline-offset:3px}
.site-typography .play-detail-panel h2 a{color:#382365;text-decoration:underline;overflow-wrap:anywhere}
.site-typography .play-fellow-list{padding:0;margin:0;list-style:none}.site-typography .play-fellow-list li{border-block-start:1px solid #ded9e9;padding-block:16px}.site-typography .play-fellow-list h3{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 12px;font-size:18px;font-weight:500;min-width:0}.site-typography .play-fellow-list a{color:#382365;text-decoration:underline;overflow-wrap:anywhere;min-height:44px;display:inline-flex;align-items:center;max-width:100%}.site-typography .play-bot-label{font-size:14px;align-self:center;color:#172638}.site-typography .play-fellow-pagination{display:flex;align-items:center;justify-content:center;gap:16px}
@media(max-width:639px){.site-typography .play-detail-panel{padding:16px}.site-typography .play-stat-grid{grid-template-columns:1fr}}

.site-typography #play-game-page .battle-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}
.site-typography #play-game-page .battle-buttons button{min-width:0;overflow-wrap:anywhere}

.site-typography #hall-view .play-pet-tile-art{display:block;width:100%;height:100%;object-fit:contain}

.site-typography #hall-view .play-pet-tile-art{box-sizing:border-box;padding:20px}
/* Daily creative competitions share the Arcade's native cards and utility type roles. */
.site-typography #hall-view .watch-category-grid{grid-auto-flow:initial;grid-template-columns:repeat(2,minmax(0,1fr))}
.site-typography #hall-view .watch-category-card{position:relative}
.site-typography #hall-view .watch-category-art{background:#25233c}
.site-typography #hall-view :is(.watch-category-art,.watch-channel-cover)>img{display:block;width:100%;height:100%;object-fit:cover}
.site-typography #hall-view .watch-category-link{display:grid;place-items:center;width:48px;min-width:48px;flex-shrink:0;min-height:48px;border-radius:50%;background:#eee8fb;color:#382365;margin-inline-start:auto}
.site-typography #hall-view .watch-category-link::after{content:'';position:absolute;inset:0;border-radius:12px}
/* Keep the independent calendar above the stretched Watch link hit area. */
.site-typography #hall-view .watch-category-card .watch-calendar-icon{position:relative;z-index:1}
.site-typography #hall-view .watch-category-card:has(a:focus-visible){outline:3px solid #382365;outline-offset:3px}
.site-typography #watch-page-root[hidden]{display:none}
.site-typography .watch-creative h1{font-size:32px;color:#252035;line-height:1.35;margin-block:0 24px}
.site-typography .watch-creative h2{font-size:24px;color:#252035;line-height:1.4}
.site-typography .watch-creative h3{font-size:20px;line-height:1.4;overflow-wrap:anywhere}
.site-typography .creative-channels,.site-typography .creative-date{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-block:16px}
.site-typography .creative-channels button[aria-pressed=false]{background:#fff;color:#382365}
.site-typography .creative-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0}
.site-typography .creative-entry{margin-block:16px;box-sizing:border-box}
.site-typography .creative-entry h3 a,.site-typography .creative-recipients a{color:#382365;text-decoration:underline;overflow-wrap:anywhere}
.site-typography .creative-entry h3 a{display:inline-flex;min-height:48px;align-items:center}
.site-typography .creative-media svg{display:block;width:100%;height:auto;aspect-ratio:1/1;border-radius:10px;margin-block:12px}
.site-typography .creative-media button{margin-block:8px}
.site-typography .creative-rules{background:#fff;border:1px solid #ded9e9;border-radius:10px;padding:16px;margin-block:16px}
.site-typography .creative-rules summary{font-size:16px;min-height:48px;cursor:pointer;display:list-item;align-content:center}
.site-typography .creative-rules p,.site-typography .watch-creative p,.site-typography .watch-creative time,.site-typography .watch-creative label{color:#172638;font-size:16px;line-height:1.65}
.site-typography .watch-creative input{display:block;box-sizing:border-box;max-width:100%;min-height:48px;font:400 16px/1.5 system-ui;background:#fff;color:#172638;padding:8px 12px;border:1px solid #382365;border-radius:8px}
.site-typography .watch-creative button:disabled{opacity:1;color:#382365;background:#eee8fb;cursor:not-allowed}
.site-typography .creative-history,.site-typography .creative-recipients{padding:0;list-style:none}
.site-typography .creative-history li,.site-typography .creative-recipients li{padding-block:8px;font-size:16px;overflow-wrap:anywhere}
.site-typography #quests-view .game-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.site-typography #quests-view .game-actions a{display:flex;align-items:center;justify-content:center;min-height:48px;min-width:0;box-sizing:border-box;background:#eee8fb;color:#382365;border:1px solid #aa98c4;border-radius:8px;padding:10px 16px;font-size:16px;line-height:1.5;text-align:center;text-decoration:none;overflow-wrap:anywhere}
.site-typography .watch-creative :is(button,a,input,summary):focus-visible,.site-typography #quests-view .game-actions a:focus-visible{outline:3px solid #176ebd;outline-offset:3px}
@media(max-width:639px){.site-typography #hall-view .watch-category-grid,.site-typography .creative-pair{grid-template-columns:minmax(0,1fr)}}
.site-typography #hall-view .arcade-watch .watch-category-grid,.site-typography #hall-view .watch-sports-panel .arcade-watch-grid{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;scroll-snap-type:none}
@media(max-width:639px){.site-typography #hall-view .arcade-watch .watch-category-grid,.site-typography #hall-view .watch-sports-panel .arcade-watch-grid{grid-template-columns:minmax(0,1fr)}}
/* Watch categories use the same list → item-page navigation as Sports and Play. */
.site-typography #hall-view .watch-channel-list .watch-channel-cover{display:block}
.site-typography #hall-view .watch-channel-list .watch-channel-cover svg{display:block;width:100%;height:100%;margin:0;fill:none;stroke:none}
.site-typography #hall-view .watch-channel-list .watch-category-link svg{width:18px;height:18px}

/* Play, Watch and gallery lists share the same responsive card dimensions. */
.site-typography #hall-view .arcade-watch .watch-category-grid{padding:0}
.site-typography #hall-view :is(.arcade-play,.arcade-watch)>.game-grid>.game-card>.game-info>p{min-block-size:3.3em}
@media(min-width:1000px){.site-typography #hall-view .arcade-play>.game-grid,.site-typography #hall-view .arcade-watch>.watch-category-grid,.site-typography #hall-view .watch-channel-list>.watch-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Owner1Nov: playing routes reserve the viewport; the bottom ad appears only on results.
   Lists retain their ordinary shared header and bottom navigation. */
/* The fixed game owns the viewport; the ordinary shell must not retain its
   full-page minimum height or create a second scroll surface behind it. */
html.play-game-active,html.play-game-active body{height:100%;overflow:hidden}
html.play-game-active :is(.cbid-main-header,#site-footer-root,#page-top-ads,#main-menu-activity,#main-menu-checkin,.sidebar){display:none!important}
html.play-game-active #main-content{padding:0;max-width:none}
html.play-game-active .site-layout{display:block;min-height:0;height:100%;padding-bottom:0;overflow:hidden}
html.play-game-active #play-game-page{position:fixed;inset:0 0 auto;display:flex;flex-direction:column;height:var(--play-viewport-height,100dvh);width:100%;padding:0;min-height:0;overflow:hidden}
html.play-game-active #play-game-ad{margin-top:auto;flex:none;width:100%;min-width:0;background:#fff}
html.play-game-active #play-game-page #game-dialog.play-game-document{display:flex;flex:1;flex-direction:column;min-height:0;max-height:100%;width:100%;border:0;border-radius:0;overflow:hidden;box-shadow:none}
html.play-game-active #play-game-page #game-dialog:not([open]){display:none}
html.play-game-active #game-dialog>.dialog-header{display:none!important}
html.play-game-active #play-game-page #game-content{box-sizing:border-box;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:12px 16px 16px}
html.play-game-active .play-choice-banner{grid-template-columns:116px minmax(0,1fr);gap:12px;margin:0 0 12px}
html.play-game-active .play-choice-banner img{height:80px;aspect-ratio:auto;object-fit:cover}
html.play-game-active .play-choice-banner>div{padding:8px 12px 8px 0}
html.play-game-active .play-choice-banner h3{margin:0 0 4px;font-size:18px}
html.play-game-active .play-choice-banner p{margin:0;font-size:16px;line-height:1.45}
html.play-game-active .spin-sides{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html.play-game-active .spin-side{padding:12px}
html.play-game-active .spin-side h3{margin:0 0 8px}
html.play-game-active .spin-rounds{gap:8px 20px;margin:12px 0 0}
html.play-game-active .spin-game>p{margin:8px 0}
html.play-game-active .spin-game .game-topline{margin:0}
html.play-game-active .result{box-sizing:border-box;width:100%;min-width:0;overflow-wrap:anywhere;min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px}
html.play-game-active .result p:empty{display:none}
@media(max-height:750px){html.play-game-active .play-choice-banner p{display:none}html.play-game-active .play-choice-banner img{height:64px}html.play-game-active .arena-spinner{margin:6px auto}html.play-game-active .spin-art{height:148px}html.play-game-active .spin-dial{width:116px;height:116px}html.play-game-active .spin-dial-face i{transform:rotate(var(--tick)) translateY(-43px)}html.play-game-active .spin-hand{height:38px}html.play-game-active .spin-orbit{width:108px;height:108px}html.play-game-active .spin-reel{height:80px}}

html.play-game-active #game-content:has(.spin-game){display:flex;flex-direction:column}
html.play-game-active .spin-game{flex:1;display:flex;flex-direction:column;justify-content:center;min-width:0}
@media(max-width:560px){html.play-game-active .spin-dial{width:108px;height:108px}html.play-game-active .spin-dial-face i{transform:translate(-50%,-50%) rotate(var(--tick)) translateY(-40px)}html.play-game-active .spin-hand{height:36px}html.play-game-active .spin-orbit{width:104px;height:104px}html.play-game-active .spin-flip{width:100px}html.play-game-active .spin-gauge{width:100px}html.play-game-active .spin-grid{gap:2px}html.play-game-active .spin-grid i{padding-inline:0}}
/* Native Watch palette also owns the immersive Play canvas and panels. */
html.play-game-active #game-dialog{background:#101827;color:#f4f2ff;--panel:#20283e;--text:#f4f2ff;--muted:#d4d1e9}
html.play-game-active :is(.spin-side,.riddle-card){background:#20283e;border-color:#7c85a7}
html.play-game-active :is(.game-topline,.feedback,.tip){font-size:16px;color:#f4f2ff}
/* Eight native Arena methods share the existing immersive Play shell. */
html.play-game-active .arena-method{justify-content:flex-start;gap:8px}
html.play-game-active .arena-method :is(p,h3,button,output,li){font-size:16px;line-height:1.5;color:#f4f2ff;overflow-wrap:anywhere}
html.play-game-active .arena-method .game-topline{flex-wrap:wrap;gap:8px}
html.play-game-active .arena-method .spin-side{display:flex;flex-direction:column;align-items:stretch;min-width:0}
html.play-game-active .arena-method button{min-height:48px;white-space:normal;background:#32436b;border:1px solid #a8b8df;border-radius:10px;font-weight:500;padding:8px 12px;cursor:pointer}
html.play-game-active .arena-method button:disabled{opacity:1;background:#20283e;color:#c8cce0;border-color:#7c85a7;cursor:wait}
html.play-game-active .arena-method button:focus-visible{outline:3px solid #a3f0da;outline-offset:3px}
html.play-game-active .arena-method .arena-difficulty{font-size:14px;color:#d4d1e9;margin:0}
.arena-board{min-width:0;display:flex;flex-direction:column;justify-content:center;min-height:150px;gap:12px}
.arena-field{position:relative;height:110px;display:grid;place-items:center;background:#101827;border:1px solid #7c85a7;border-radius:12px;overflow:hidden}
.arena-projectile{position:absolute;bottom:4px;font:32px/1 system-ui;color:#ffe6a3}
.arena-pins{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;max-width:130px;padding-bottom:28px}
.arena-pins i{font:24px/1 system-ui;color:#f4f2ff;font-style:normal}
.arena-pins i.is-hit{transform:rotate(65deg);color:#a3f0da}
.arena-bull{width:76px;height:76px;border:8px solid #a3f0da;border-radius:50%;box-shadow:inset 0 0 0 8px #101827,inset 0 0 0 16px #eac9ff;display:grid;place-items:center}
.arena-bull i{background:#ffe6a3;width:12px;height:12px;border-radius:50%}
.arena-hoop{font:76px/1 system-ui;color:#ffe6a3;transform:translateY(-18px)}
.arena-meter{height:24px;background:#101827;border:1px solid #7c85a7;position:relative;overflow:hidden;border-radius:6px;margin:4px 2px}
.arena-target{position:absolute;inset-block:0;background:#a3f0da;border-inline:2px solid #f4f2ff}
.arena-marker{position:absolute;inset-block:0;width:4px;background:#ffe6a3;outline:2px solid #101827;transform:translateX(-50%)}
.arena-value{display:block;text-align:center;font-variant-numeric:tabular-nums;margin:8px 0}
.arena-reels,.arena-dice,.arena-cards{display:flex;justify-content:center;gap:4px;min-width:0}
.arena-reels span,.arena-dice span{background:#101827;border:1px solid #7c85a7;border-radius:8px;min-width:0;flex:1;text-align:center;font:36px/1.8 system-ui;color:#a3f0da}
#game-content .arena-method .arena-card{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f4f2ff;color:#101827;border:2px solid #a3f0da;border-radius:7px;min-width:0;flex:1;height:88px;font:24px/1.3 system-ui;direction:ltr}
#game-content .arena-method .arena-card b{font-weight:400}
.arena-rps{font:64px/1.4 system-ui;text-align:center}
.arena-choices{display:grid;gap:6px}
@media(max-width:560px){.arena-board{min-height:132px}.arena-reels span,.arena-dice span{font-size:30px}#game-content .arena-method .arena-card{font-size:20px;height:74px}html.play-game-active .arena-method .spin-side{padding:10px}}

/* Standalone control remains visible when the game title bar is hidden. */
html.play-game-active .play-game-audio{display:flex;justify-content:flex-end;flex:none;padding:4px 16px 0;min-width:0}
html.play-game-active .play-game-audio .game-voice-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;width:auto;min-width:48px;min-height:48px;white-space:nowrap;padding:8px 12px;font:400 16px/1.5 system-ui,sans-serif!important;color:#f4f2ff;background:#20283e;border:1px solid #7c85a7;border-radius:10px;cursor:pointer;touch-action:manipulation}
html.play-game-active .play-game-audio .game-voice-toggle:focus-visible{outline:3px solid #a3f0da;outline-offset:2px}
/* The current pet owns the screen. Rules and switching partners use a native
   modal; neither stage tiles nor secondary prose displace the care controls. */
html.play-game-active #game-content:has(.pet-session){display:flex;flex-direction:column;overflow:hidden;scrollbar-gutter:auto;padding:8px 16px}
html.play-game-active #game-content .pet-session{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto auto;gap:8px;flex:1;min-height:0;min-width:0}
html.play-game-active #game-content .pet-session-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}
html.play-game-active #game-content .pet-session-heading h3{font-size:18px;line-height:1.4;margin:0;overflow-wrap:anywhere}
html.play-game-active #game-content .pet-session-heading span{font-size:16px;line-height:1.5}
html.play-game-active .pet-info-toggle{width:48px;min-height:48px;flex:none;font-size:24px}
html.play-game-active #game-content .pet-session .pet-playground{display:flex;align-items:center;justify-content:center;min-height:0;height:auto;margin:0;padding:0;overflow:hidden}
html.play-game-active #game-content .pet-session .pet-stage-image{display:block;width:auto;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:12px;aspect-ratio:1}
html.play-game-active #game-content .pet-session .pet-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;margin:0}
html.play-game-active #game-content .pet-session .meter-label{font-size:16px;line-height:1.5;gap:8px;margin-bottom:2px}
html.play-game-active #game-content .pet-session .meter{height:5px}
html.play-game-active #game-content .pet-session .pet-health{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;min-width:0;margin:0;padding:0;font-size:16px;line-height:1.5;background:none;border:0}
html.play-game-active #game-content .pet-session .pet-health button{min-height:48px;padding:4px 12px;display:flex;gap:12px;align-items:center}
html.play-game-active #game-content .pet-session .pet-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
html.play-game-active #game-content .pet-session .pet-buttons button{min-width:0;min-height:64px;padding:6px 8px;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
html.play-game-active #game-content .pet-session .pet-buttons small{display:block;font-size:16px;line-height:1.5;color:#f4f2ff}
html.play-game-active #game-content .pet-session .pet-speech{font-size:16px;line-height:1.5;margin:0;padding:0;min-height:0;background:none;border:0}
html.play-game-active #game-content .pet-session .pet-speech:empty{display:none}
html.play-game-active :is(.pet-info-dialog,.pet-care-confirm){box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(620px,calc(100% - 24px));height:fit-content;min-height:0;max-height:calc(100dvh - 24px);overflow:auto;padding:20px;color:#f4f2ff;background:#20283e;border:1px solid #7c85a7;border-radius:12px;font-size:16px;line-height:1.5}
html.play-game-active :is(.pet-info-dialog,.pet-care-confirm)::backdrop{background:#000a}
html.play-game-active .pet-info-dialog>form{display:flex;justify-content:flex-end}
html.play-game-active .pet-info-dialog>form button{width:48px;min-height:48px;font-size:24px}
html.play-game-active .pet-info-dialog :is(p,h2,a,.meter-label){color:#f4f2ff;font-size:16px}
html.play-game-active .pet-info-dialog .pet-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.site-typography .play-detail-start:disabled{opacity:1;background:#eee8fb;color:#382365;border:1px solid #aa98c4;cursor:not-allowed}
@media(max-width:639px){html.play-game-active #game-content .pet-session .pet-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:600px) and (min-width:640px){html.play-game-active #game-content .pet-session{grid-template-columns:minmax(100px,30%) minmax(0,1fr);grid-template-rows:auto auto auto auto auto}html.play-game-active #game-content .pet-session .pet-playground{grid-column:1;grid-row:1/-1}html.play-game-active #game-content .pet-session>:not(.pet-playground){grid-column:2}html.play-game-active #game-content .pet-session .pet-stats>div:nth-child(n+3){display:none}}

html.play-game-active #game-content .pet-care-confirm :is(h2,p,span,strong){color:#f4f2ff;font-size:16px}

/* One physical-left exit, centered result countdown, existing sound at right. */
html.play-game-active #play-game-audio{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;direction:ltr;gap:8px}
html.play-game-active #play-page-back{display:grid;place-items:center;width:48px;min-height:48px;font:400 32px/1 system-ui;color:#f4f2ff;background:transparent;border:0;text-decoration:none;touch-action:manipulation}
html.play-game-active #play-page-back:focus-visible{outline:3px solid #a3f0da;outline-offset:2px}
html.play-game-active #play-return-countdown{justify-self:center;font:400 20px/1.5 system-ui;color:#f4f2ff}

/* The earned unique token is the result's main visual, inside the same ad budget. */
html.play-game-active #game-content:has(.result-prize){overflow:hidden}
html.play-game-active #game-content .result:has(.result-prize){height:100%;min-height:0;padding:8px;gap:8px;justify-content:initial}
html.play-game-active #game-content .result:has(.result-prize)>:is(h3,p){margin:0;flex:none;font-size:16px;line-height:1.5}
html.play-game-active #game-content .result-icon:empty{display:none}
html.play-game-active #game-content .result-prize{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;min-height:0;min-width:0;width:100%;margin:0;color:#f4f2ff;font-size:16px;line-height:1.5;text-decoration:none}
html.play-game-active #game-content .result-prize img{display:block;flex:1;min-height:0;height:0;width:100%;max-width:640px;object-fit:contain}
html.play-game-active #game-content .result-prize>span{flex:none;padding:2px 8px;background:#101827;color:#f4f2ff;border-radius:4px}
html.play-game-active #game-content a.result-prize:focus-visible{outline:3px solid #a3f0da;outline-offset:2px}
@media(max-height:450px) and (min-width:640px){html.play-game-active #game-content .pet-session{grid-template-rows:auto auto minmax(0,1fr)}html.play-game-active #game-content .pet-session>.pet-stats{display:none}html.play-game-active #game-content .pet-session>.pet-speech:not(:empty){position:fixed;inset:auto 16px 116px;z-index:5;background:#20283e;border:1px solid #7c85a7;border-radius:8px;padding:8px}}

html.play-game-active #play-game-audio .game-voice-toggle{grid-column:3;justify-self:end}
html.play-game-active #play-return-countdown{grid-column:2}

html.play-game-active #play-game-page{background:#101827;color:#f4f2ff}
html.play-game-active #play-game-page>.play-page-back{align-self:center;min-height:48px;width:auto;padding:8px 16px;color:#f4f2ff;background:#20283e;border:1px solid #7c85a7;border-radius:10px;text-decoration:none}
html.play-game-active #play-game-page>p{font-size:16px;line-height:1.5;padding:12px 16px}
.site-typography #hall-view .play-choice-locked .game-art{filter:grayscale(1)}
.site-typography #hall-view .play-choice-locked{background:#f1f1f5}
.site-typography #hall-view .play-choice-locked .play-module-link{cursor:not-allowed;background:#e4e3e9;color:#382365}
.site-typography #hall-view .play-choice-lock-note{font-size:16px;line-height:1.5;color:#172638;overflow-wrap:anywhere}

.pet-stage-progress{margin:0;color:#e5edf5;font-size:16px}html.play-game-active #game-content .pet-session{grid-template-rows:auto auto minmax(0,1fr) auto auto auto auto}.pet-day-log{padding:0;list-style:none;display:grid;gap:8px}.pet-day-log li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:10px;border-block-end:1px solid #6b7385;font-size:16px}.pet-info-dialog{max-height:calc(100dvh - 32px);overflow:auto}

@media(max-height:600px) and (min-width:640px){html.play-game-active #game-content .pet-session{grid-template-rows:auto auto auto auto auto auto}}
/* In short landscape the meters already live in Details. Allocate only the
   four remaining rows, without empty auto tracks below the care controls. */
@media(max-height:450px) and (min-width:640px){html.play-game-active #game-content .pet-session{grid-template-columns:minmax(100px,25%) minmax(0,1fr);grid-template-rows:auto auto auto minmax(min-content,1fr);gap:4px}}
html.play-module-route .arcade-discover,html.watch-category-route .arcade-discover,html.play-module-route .arcade-tools,html.watch-category-route .arcade-tools{display:none}

/* One shared title/action row for all three Home sections. */
.arcade-section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;min-width:0;margin-block:0 20px}
.arcade-section-heading>h1,.arcade-section-heading>h2{font:600 clamp(1.5rem,3vw,1.875rem)/1.35 system-ui,sans-serif;color:#252035;margin:0;min-width:0;overflow-wrap:anywhere}
.arcade-continue-link{display:inline-flex;align-items:center;min-height:44px;max-width:100%;font-size:1rem;line-height:1.5;color:#352159;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.arcade-continue-link:focus-visible{outline:3px solid #6942b0;outline-offset:3px;border-radius:4px}

/* Compact Play HUD and question/answers; source scoring and timed actions stay intact. */
html.play-game-active #play-game-audio{display:grid;grid-template-columns:48px minmax(0,1fr) auto 48px;align-items:center;gap:6px;padding:4px 12px;background:#101827;min-height:56px}
html.play-game-active #play-hud-copy{min-width:0;text-align:center}
html.play-game-active #play-hud-title{font:500 16px/1.4 system-ui,sans-serif;overflow-wrap:anywhere;margin:0;color:#f4f2ff}
html.play-game-active #play-hud-progress:not([hidden]){display:block;font:400 16px/1.5 system-ui,sans-serif;font-variant-numeric:tabular-nums;direction:ltr;color:#a3f0da}
html.play-game-active #play-hud-timer:empty{display:none}
html.play-game-active #play-game-audio .game-voice-toggle{width:48px;min-width:48px;padding:10px;border:0;background:transparent}
.game-voice-toggle svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}
html.play-game-active #play-game-page #game-content{padding:8px 12px 12px;scrollbar-gutter:auto}
html.play-game-active #game-content .game-topline{display:none}
html.play-game-active #play-game-page:has(.play-clock-info) #game-content :is(.tip,.spin-game>p){display:none}
html.play-game-active #play-game-page .riddle-card{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:10px;padding:12px;margin:12px 0}
html.play-game-active #play-game-page .riddle-icon{font-size:24px;line-height:1.5;margin:0}
html.play-game-active #play-game-page .riddle-card h3{margin:0;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
html.play-game-active #play-game-page :is(.answers,.feedback){grid-column:1/-1}
html.play-game-active #play-game-page .answers{display:grid;gap:6px;margin:0}
html.play-game-active #play-game-page .answer{min-height:48px;padding:8px 12px;margin:0;font-size:16px;line-height:1.5}
html.play-game-active #play-game-page .feedback{margin:0;padding-block:0;min-height:0;font-size:16px;line-height:1.5}
html.play-game-active #play-game-page .feedback:empty{display:none}
html.play-game-active #play-game-page .game-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:8px 0}
html.play-game-active #play-game-page .hint-controls{gap:6px}
html.play-game-active #play-game-page .progress-track{margin:4px 0;height:4px}
html.play-game-active #play-game-page .spin-game{justify-content:flex-start;max-width:960px;width:100%;margin-inline:auto}
html.play-game-active #play-game-page .spin-side{padding:10px}
html.play-game-active #play-game-page .arena-spinner{margin:6px auto}
html.play-game-active #play-game-page .spin-art{height:140px}
html.play-game-active #play-game-page .spin-number{font-size:36px;margin:4px 0}
@media(orientation:landscape) and (min-width:640px){html.play-game-active #game-content:has(.riddle-card){display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,24%);column-gap:12px;align-content:start}html.play-game-active #play-game-page .progress-track{grid-column:1/-1}html.play-game-active #play-game-page .riddle-card{grid-column:1;margin:8px 0}html.play-game-active #play-game-page .game-actions{grid-column:2;grid-row:2;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}html.play-game-active #play-game-page .hint-controls{flex-direction:column;align-items:stretch}}
@media(orientation:landscape) and (max-height:600px){html.play-game-active #play-game-page .spin-art{height:104px}}

html.play-game-active #play-game-audio #play-page-back{grid-column:1;grid-row:1}
html.play-game-active #play-hud-copy{grid-column:2;grid-row:1}
html.play-game-active :is(#play-hud-timer,#play-return-countdown){grid-column:3;grid-row:1}
html.play-game-active #play-game-audio .game-voice-toggle{grid-column:4;grid-row:1}
html.play-game-active #play-return-countdown[hidden]{display:none}

/* Native Treasure methods share the existing question, answer and action layout. */
#game-content .hunt-puzzle-visual{display:block;width:100%;height:auto;max-width:600px;max-height:180px;margin:0 auto .5rem;stroke:none;fill:#f5f5fc;direction:ltr}#game-content .hunt-difficulty{font-size:14px;line-height:1.5;color:#dce6f5;margin:0 0 .25rem}#game-content .riddle-card:has(.hunt-puzzle-visual)>h3{font-size:16px;line-height:1.5;margin:.25rem 0 .5rem}

html.play-game-active #play-game-page #game-content .hunt-method-card{grid-template-columns:minmax(0,1fr)}html.play-game-active #play-game-page #game-content .hunt-method-card .hunt-puzzle-visual{grid-column:1/-1}html.play-game-active #play-game-page #game-content .hunt-method-card>.hunt-difficulty{margin:0;color:#dce6f5;font-size:14px;line-height:1.5}
@media(orientation:landscape) and (max-height:600px) and (min-width:740px){html.play-game-active #play-game-page #game-content .hunt-method-card{grid-template-columns:minmax(240px,1fr) minmax(200px,1fr);column-gap:12px}html.play-game-active #play-game-page #game-content .hunt-method-card>.hunt-difficulty{grid-column:1;grid-row:1}html.play-game-active #play-game-page #game-content .hunt-method-card>h3{grid-column:1;grid-row:2}html.play-game-active #play-game-page #game-content .hunt-method-card>.hunt-puzzle-visual{grid-column:1;grid-row:3;max-height:156px}html.play-game-active #play-game-page #game-content .hunt-method-card>.answers{grid-column:2;grid-row:1/span 3;align-self:center}html.play-game-active #play-game-page #game-content .hunt-method-card>.feedback{grid-column:1/-1;grid-row:4}}
/* Method rules are essential; the legacy clock's compact-instruction rule must
   not hide them. Keep this adaptation scoped to the new Arena panel. */
html.play-game-active #game-content .arena-method .game-topline{display:flex;font-size:16px}
html.play-game-active #play-game-page:has(.play-clock-info) #game-content .arena-method>p{display:block}

/* Native Arena rules share the existing full-width card surface. */
.arcade-play .play-arena-overview{width:100%;min-width:0;box-sizing:border-box;padding:20px;margin-block:0 22px;border:1px solid #ddd7ea;border-radius:16px;background:#fff;color:#172c3b}
.play-arena-overview h2{font-size:20px;font-weight:600;margin:0 0 12px}
.play-arena-overview p,.play-arena-overview summary,.play-arena-overview li{font-size:16px;line-height:1.65;overflow-wrap:anywhere}
.play-arena-overview summary{min-height:48px;cursor:pointer;align-content:center;color:#39235b}
.play-arena-overview ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px 28px;padding-inline-start:22px}
.play-arena-overview li{min-width:0;padding-inline-start:4px}.play-arena-overview strong{font-weight:600}.play-arena-overview li p{margin-block:6px 0}

/* Each authoritative Arena result remains visible before the next input. */
#game-content .arena-method .arena-play-instructions{padding:12px 16px;border:1px solid #a3f0da;border-radius:12px;background:#172e34;color:#e6fff6;font-size:16px;line-height:1.6}
#game-content .arena-method .arena-reveal-status{min-height:32px;color:#a3f0da;font-size:16px;line-height:1.6}
#game-content .arena-method .arena-choices button[aria-pressed=true]{outline:2px solid #a3f0da;outline-offset:-4px}
#game-content .arena-method .arena-pins i svg{display:block;max-width:100%;height:36px}
#game-content .arena-method[data-round-state=revealing] .arena-marker{transition:none}

@media(orientation:landscape) and (max-height:550px){
 #game-content .arena-method .arena-pins i svg{height:20px;width:12px}
 #game-content .arena-method .arena-pins{padding-bottom:8px}
 #game-content .arena-method .arena-play-instructions{padding:8px 12px}
 #game-content .arena-method .arena-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
 #game-content .arena-method .arena-choices button{min-width:0;overflow-wrap:anywhere}
}

/* Keep the action instruction visible alongside the native rules/info control.
   Compact landscape places guidance beside both boards without shrinking text. */
html.play-game-active #play-game-page:has(.play-clock-info) #game-content .arena-method>.arena-play-instructions{display:block}
@media(orientation:landscape) and (max-height:550px) and (min-width:640px){
 html.play-game-active #game-content .arena-method{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(0,2fr);align-content:start;gap:6px 12px}
 html.play-game-active #game-content .arena-method>.game-topline,html.play-game-active #game-content .arena-method>p:not(.arena-difficulty,.arena-play-instructions,.arena-reveal-status,#hunt-sync-status){display:none}
 html.play-game-active #game-content .arena-method>.arena-difficulty{grid-column:1;grid-row:1}
 html.play-game-active #game-content .arena-method>.arena-play-instructions{grid-column:1;grid-row:2;margin:0}
 html.play-game-active #game-content .arena-method>.arena-reveal-status{grid-column:1;grid-row:3;margin:0}
 html.play-game-active #game-content .arena-method>.spin-rounds{grid-column:1;grid-row:4;display:flex;flex-wrap:wrap;gap:4px 12px;margin:0}
 html.play-game-active #game-content .arena-method>.spin-sides{grid-column:2;grid-row:1/span 5;align-self:start}
 html.play-game-active #game-content .arena-method>#hunt-sync-status{grid-column:1;grid-row:5;margin:0}
 html.play-game-active #game-content .arena-method .spin-side{padding:8px}
 html.play-game-active #game-content .arena-method .arena-board{min-height:132px;gap:6px}
 html.play-game-active #game-content .arena-method .arena-field{height:76px}
 html.play-game-active #game-content .arena-method .arena-rps{font-size:48px}
}
