/* Original games share a quiet, responsive player. Publisher UI remains untouched. */
.card-play-here{font-weight:700!important;color:#284c3c!important}.game-card[data-play-mode=embed] .card-bottom>a::before{content:"";width:6px;height:6px;border-radius:50%;background:#4d8066;display:inline-block;margin-right:6px}.onsite-filter{white-space:nowrap}
.onsite-detail .player-heading{display:flex;justify-content:space-between;gap:32px;align-items:center;margin:30px 0 24px;text-align:left;padding:0;max-width:none}.player-heading h1{font-size:clamp(34px,4vw,54px);letter-spacing:-2px;margin:6px 0 12px}.player-heading .detail-tags{justify-content:flex-start}.player-heading .detail-tagline{font-size:16px;max-width:700px;margin:14px 0 0;line-height:1.6}.player-heading-actions{display:flex;gap:10px;flex-shrink:0}.player-heading-actions .save-large{min-height:46px}.player-shell{scroll-margin-top:128px}.player-stage{border:1px solid #dcded9;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 34px #26362708}.player-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f7f7f4;border-bottom:1px solid #e5e6df;min-height:62px;padding:8px 16px}.player-brand{display:flex;align-items:center;gap:9px;font-size:14px;min-width:0}.player-brand>img{border-radius:7px;object-fit:cover}.player-brand>span{font-size:11px;color:#777970;border-left:1px solid #d7d9d1;padding-left:10px;white-space:nowrap}.player-tools{display:flex;gap:5px;align-items:center}.player-tool{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px 12px;border-radius:9px;background:transparent;border:1px solid transparent;font:inherit;font-size:12px;color:#363c36;cursor:pointer}.player-tool:hover{background:#e9ece5;border-color:#dce0d7}.player-tool:disabled{opacity:.4;cursor:default}.player-tool svg,.player-tool img{width:18px;height:18px}.player-focus-close{background:#e7eae2}.player-tool[hidden]{display:none}.player-viewport{height:var(--game-height,780px);min-height:0;position:relative;background:white}.player-frame-mount{width:100%;height:100%}.player-frame-mount[hidden],.player-preview[hidden]{display:none}.player-frame-mount iframe{display:block;width:100%;height:100%;border:0;background:#fff}.player-preview{height:100%;min-height:430px;position:relative;display:grid;place-items:center;background:#efeee8;isolation:isolate}.player-stage:not(:has(iframe)) .player-viewport{height:440px}.player-preview-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.18;filter:blur(7px);z-index:-2;transform:scale(1.03)}.player-preview::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#f4f4eddd,#f4f4ede8);z-index:-1}.player-preview-copy{text-align:center;padding:30px 22px;display:flex;align-items:center;flex-direction:column}.player-preview-copy>img{border-radius:17px;box-shadow:0 3px 14px #00000010;object-fit:cover}.player-preview h2{font-size:30px;letter-spacing:-1px;margin:22px 0 8px}.player-preview p{font-size:15px;color:#697164;margin:0 0 22px}.player-preview small{font-size:11px;color:#72766c;margin-top:15px}.player-start{min-width:180px}.player-stage-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;padding:9px 16px;border-top:1px solid #e5e6df;background:#fafaf7;font-size:11px;line-height:1.5;color:#757a70}.player-stage-bottom a{display:inline-flex;align-items:center;gap:5px;font-weight:600;color:#485141;white-space:nowrap}.player-stage-bottom .ui-icon{width:13px;height:13px}.player-finish{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0 9px}.player-finish>div{display:flex;align-items:center;gap:12px}.player-finish>div>span{color:#7c8075;font-size:11px;max-width:155px;line-height:1.6}.player-finish [aria-pressed=true]{background:#e9f0e7;color:#355a3e}.player-note{font-size:11px;line-height:1.7;color:#797d73;margin:5px 0 0}.player-note a{text-decoration:underline;text-underline-offset:3px}.play-next-section{margin:42px 0 55px;padding:28px;background:#f0f2eb;border:1px solid #e3e7dc;border-radius:16px}.play-next-section .rail-heading{margin-bottom:20px;align-items:end}.play-next-section h2{font-size:25px;letter-spacing:-.7px}.play-next-section .rail-heading p{font-size:12px}.play-next-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.next-game{display:flex;align-items:center;gap:13px;padding:13px;background:#fff;border:1px solid #e3e6dd;border-radius:10px;transition:border-color .15s,box-shadow .15s}.next-game:hover{border-color:#a7b29d;box-shadow:0 3px 12px #26362708}.next-game>img{object-fit:cover;border-radius:9px}.next-game>span{display:grid;gap:5px;min-width:0}.next-game strong{font-size:14px}.next-game small{font-size:11px;color:#777e6f}.next-game>.ui-icon{margin-left:auto;width:17px}.player-stage:fullscreen,.player-stage.is-focus{display:flex;flex-direction:column;width:100%;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;background:#fff}.player-stage:fullscreen .player-viewport,.player-stage.is-focus .player-viewport{flex:1;height:auto!important;min-height:0}.player-stage:fullscreen .player-preview,.player-stage.is-focus .player-preview{min-height:0}.player-stage.is-focus{position:fixed;inset:0;z-index:1500}.player-stage:fullscreen .player-stage-bottom,.player-stage.is-focus .player-stage-bottom{padding-bottom:max(9px,env(safe-area-inset-bottom))}.player-stage:fullscreen .player-toolbar,.player-stage.is-focus .player-toolbar{padding-top:max(8px,env(safe-area-inset-top))}.player-tool:focus-visible,.next-game:focus-visible{outline:3px solid #8eaa78;outline-offset:2px}
@media(min-width:1100px){.play-next-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.next-game{gap:10px}.next-game>img{width:38px;height:38px}.next-game strong{font-size:13px}.next-game small{font-size:10px}.next-game>.ui-icon{width:14px}.player-finish .button{min-height:46px}}
@media(max-width:700px){.player-shell{scroll-margin-top:88px}.onsite-detail .player-heading{display:block;margin:24px 0 20px}.player-heading h1{letter-spacing:-1.4px}.player-heading .detail-tagline{font-size:14px;margin-top:12px}.player-heading-actions{margin-top:16px}.player-heading-actions .button,.player-heading-actions .save-large{min-height:44px;font-size:13px}.player-toolbar{padding:6px 9px;gap:5px;min-height:58px}.player-brand{gap:7px;font-size:12px}.player-brand>span{display:none}.player-tools{gap:0}.player-tool{padding:8px;gap:4px}.player-tool>span{font-size:10px}.player-tool[data-player-reload]>span{display:none}.player-tool[data-player-fullscreen]{min-width:92px}.player-tool[data-player-close]>span{display:none}.player-stage{border-radius:12px}.player-viewport{height:min(var(--game-height),900px)}.player-stage-bottom{font-size:10px;padding:8px 10px;gap:7px}.player-stage-bottom [role=status]{max-width:58%}.player-preview h2{font-size:26px}.player-stage:not(:has(iframe)) .player-viewport{height:440px}.player-finish{align-items:stretch;gap:10px;padding-top:14px;flex-wrap:wrap}.player-finish>div{flex:1;min-width:150px}.player-finish>div>span{display:none}.player-finish .button{font-size:12px;min-height:46px;padding:11px 13px;justify-content:center}.player-finish>a{flex:1;min-width:150px}.player-note{font-size:10px}.play-next-section{margin:30px 0 40px;padding:19px 15px}.play-next-section .rail-heading{display:block}.play-next-section .rail-heading>.text-link{display:inline-flex;margin-top:10px}.play-next-section h2{font-size:22px}.play-next-grid{gap:9px}.next-game{padding:11px 9px;gap:8px}.next-game>img{width:33px;height:33px;border-radius:7px}.next-game strong{font-size:12px}.next-game small{font-size:9px;line-height:1.5}.next-game>.ui-icon{display:none}.results-toolbar>div{flex-wrap:wrap}.onsite-filter{font-size:11px}}
@media(prefers-reduced-motion:reduce){.next-game{transition:none}}
.player-reload-dialog{width:min(440px,calc(100% - 32px));padding:28px;border:1px solid #e1e4da;border-radius:16px;background:#fff;color:#242b22}.player-reload-dialog h2{font-size:23px;letter-spacing:-.6px;margin:0 0 12px}.player-reload-dialog p{font-size:14px;line-height:1.7;color:#73796b;margin-bottom:24px}.player-reload-dialog>div{display:flex;gap:10px;flex-wrap:wrap}.player-reload-dialog .button{min-height:44px}.player-reload-dialog::backdrop{background:#18201780}
/* Fit the original application between its controls; fullscreen keeps the same frame. */
.player-stage:has(iframe) .player-viewport{height:clamp(560px,calc(100svh - 240px),var(--game-height,780px))}
@media(max-width:700px){.player-stage:has(iframe) .player-viewport{height:clamp(560px,calc(100svh - 200px),var(--game-height,780px))}}
/* The document already reserves space for the fixed header. Avoid adding it twice. */
html:has(.onsite-detail){scroll-padding-top:88px}
.onsite-detail .player-shell{scroll-margin-top:0}
