.game-player{--player-ratio:16 / 9;position:relative;margin:24px auto 32px;padding:12px;border:1px solid var(--line,#303142);border-top:3px solid var(--cyan,#66e5e4);border-radius:8px;background:var(--panel,#1a1b28);box-shadow:0 5px 0 #090a1270;color:var(--text,#f4f0e8);isolation:isolate}
.player-stage{position:relative;display:grid;place-items:center;width:100%;min-width:0;min-height:220px;max-height:min(72dvh,760px);aspect-ratio:var(--player-ratio);overflow:hidden;border:1px solid var(--line,#303142);border-radius:4px;background:#090b13}
.player-frame{display:block;width:100%;height:100%;min-height:0;border:0;background:#090b13}
.game-player[data-player-shape=portrait] .player-stage{max-width:480px;margin-inline:auto}
.game-player[data-player-shape=portrait] .player-frame{max-width:480px}
[data-player-poster]{position:relative;display:grid;place-items:center;width:100%;height:100%;min-height:200px;overflow:hidden;background:#101322}
[data-player-poster]>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.44;image-rendering:auto}
[data-player-poster]::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#080b17bb,#080b1722 70%)}
.game-player button,.player-toolbar a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--line,#303142);border-radius:4px;background:var(--panel-2,#202131);color:var(--text,#f4f0e8);font:650 13px/1.35 DM,system-ui,sans-serif;text-align:center;text-decoration:none;touch-action:manipulation}
.game-player button:hover:enabled,.player-toolbar a:hover{border-color:var(--cyan,#66e5e4);background:#2b3044}
.game-player button:disabled{opacity:.44;cursor:default}
.game-player button:focus-visible,.player-toolbar a:focus-visible{outline:3px solid var(--cyan,#66e5e4);outline-offset:3px}
[data-player-poster]>[data-player-start]{position:relative;z-index:1;min-height:54px;max-width:calc(100% - 32px);padding:14px 24px;border:2px solid var(--cream,#fff4d9);background:var(--pink,#fa4f9b);color:#1a1020;font:700 21px/1.2 Barlow,Impact,sans-serif;box-shadow:0 4px 0 #6c244b}
.game-player [data-player-poster]>[data-player-start]:hover:enabled{background:#ff70ad;border-color:var(--cream,#fff4d9)}
.player-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.player-toolbar>[data-player-start]{background:var(--cyan,#66e5e4);color:#10202a;border-color:var(--cyan,#66e5e4)}
.player-toolbar>[data-player-original]{margin-left:auto;border-color:#686074}
.game-player [data-player-status]{min-height:20px;margin:10px 0 0;color:var(--text,#f4f0e8);font-size:12px;line-height:1.5}
.game-player [data-player-help]{margin:4px 0 0;color:var(--muted,#a9a8ba);font-size:11px;line-height:1.5}
.game-player [hidden]{display:none!important}
body.game-player-immersive-active{overflow:hidden}
.game-player.is-expanded,.game-player:fullscreen{display:grid;grid-template-rows:minmax(0,1fr) auto auto;align-content:stretch;gap:8px;width:100%;height:100dvh;max-width:none;min-height:0;margin:0;padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));border:0;border-radius:0;background:#0b0e19;overflow:hidden}
.game-player.is-immersive{position:fixed;inset:0;z-index:4000}
.game-player.is-expanded .player-stage,.game-player:fullscreen .player-stage{min-height:0;max-height:none;height:100%;aspect-ratio:auto;border-color:#3b5361}
.game-player[data-player-shape=portrait].is-expanded .player-stage,.game-player[data-player-shape=portrait]:fullscreen .player-stage{max-width:none}
.game-player.is-expanded .player-toolbar,.game-player:fullscreen .player-toolbar{margin:0;gap:7px}
.game-player.is-expanded [data-player-status],.game-player:fullscreen [data-player-status]{margin:0;min-height:0;color:#d0d4df}
.game-player.is-expanded [data-player-help],.game-player:fullscreen [data-player-help]{display:none}
.game-player.is-expanded [data-player-fullscreen],.game-player:fullscreen [data-player-fullscreen]{border-color:var(--yellow,#ffe26b);color:var(--cream,#fff4d9)}
@media(max-width:600px){.game-player{padding:8px;margin:16px auto 24px}.player-stage{min-height:220px}.player-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.game-player button,.player-toolbar a{min-height:46px;padding:9px 8px;font-size:12px}.player-toolbar>[data-player-original]{margin:0}.game-player.is-expanded .player-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.game-player [data-player-status]{font-size:11px}.game-player [data-player-help]{font-size:11px}}
@media(orientation:landscape) and (max-height:500px){.game-player.is-expanded,.game-player:fullscreen{gap:5px;padding:4px max(8px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.game-player.is-expanded .player-toolbar,.game-player:fullscreen .player-toolbar{display:flex;flex-wrap:nowrap;gap:6px}.game-player.is-expanded .player-toolbar>*{flex:0 1 auto;min-height:44px;padding:7px 11px;font-size:11px}.game-player.is-expanded .player-toolbar>[data-player-original]{margin-left:auto}.game-player.is-expanded [data-player-status],.game-player:fullscreen [data-player-status]{font-size:11px;line-height:1.3}}
@media(prefers-reduced-motion:reduce){.game-player *{scroll-behavior:auto}}
.player-loading{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:30px;background:radial-gradient(ellipse at 50% 15%,#38315caa,transparent 70%),#0c1020f5;text-align:center}
.player-loading-mark{color:var(--yellow,#ffe26b);font-size:34px;line-height:1;text-shadow:4px 4px 0 #6b385d}
.player-loading-spinner{width:35px;height:35px;border:3px solid #3a3652;border-right-color:var(--cyan,#66e5e4);border-top-color:var(--pink,#fa4f9b);border-radius:50%;animation:player-loading-spin .85s linear infinite}
.player-loading strong{color:var(--cream,#fff4d9);font:700 clamp(25px,3vw,38px)/1.05 Barlow,Impact,sans-serif}
.player-loading p{max-width:440px;color:#c3bed4;font:12px/1.7 DM,system-ui,sans-serif;margin:0}
.player-loading small{color:#8988a5;font:9px/1.5 monospace;letter-spacing:.7px}
.game-player .player-loading [data-player-retry]{background:var(--pink,#fa4f9b);color:#1a1020;border-color:#fa4f9b;min-width:170px}
.player-loading.is-error .player-loading-spinner{display:none}
.player-loading.is-error .player-loading-mark{color:var(--pink,#fa4f9b)}
.player-guide{border:1px solid #3d3c51;border-radius:6px;padding:20px 23px;background:#1a1929;margin:22px 0 32px}
.player-guide h2{font:700 29px/1.1 Barlow,Impact,sans-serif;color:var(--cream,#fff4d9);margin:0 0 15px}
.player-guide ul{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0 0 16px}
.player-guide li{border:1px solid #47425d;border-bottom:3px solid #303044;background:#242137;border-radius:5px;padding:9px 12px;font-size:12px;line-height:1.6;color:#d2cbdf}
@keyframes player-loading-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){.player-loading{padding:20px;gap:12px}.player-loading p{font-size:11px}.player-loading small{font-size:8px}.player-loading-mark{font-size:26px}.player-loading-spinner{width:28px;height:28px}.player-guide{padding:18px}.player-guide h2{font-size:26px}.player-guide li{font-size:11px;padding:8px 10px}.player-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(orientation:landscape) and (max-height:500px){.player-loading{gap:8px;padding:16px}.player-loading-mark{font-size:22px}.player-loading strong{font-size:27px}.player-loading-spinner{width:24px;height:24px}.player-loading small{display:none}}
@media(prefers-reduced-motion:reduce){.player-loading-spinner{animation:none;border-color:var(--cyan,#66e5e4)}}
