.gama-player{position:relative;width:100%;background:#102b28;color:#fff;border-radius:12px;overflow:hidden;isolation:isolate}
.video-media:has(.gama-player),.dynamic-media:has(.gama-player){height:auto;min-height:0;max-height:none;aspect-ratio:auto;padding:0;display:block}
.video-media .dynamic-video:has(.gama-player){min-height:0;max-height:none;padding:0;position:static}
.video-card:has(.gama-player){align-self:start;overflow:hidden}
.dynamic-video:has(.gama-player){height:auto;aspect-ratio:auto;overflow:visible;background:none}
.gama-player video{position:static!important;display:block;width:100%;height:auto!important;min-height:180px;max-height:70vh;aspect-ratio:16/9;object-fit:contain;background:#102b28}
.gama-player.is-portrait video{aspect-ratio:4/5;max-height:520px}
.gama-player button,.gama-image-viewer button{display:inline-grid;place-items:center;border:1px solid #ffffff25;background:#ffffff10;color:#fff;min-width:44px;min-height:44px;border-radius:8px;cursor:pointer;font:inherit}
.gama-player button:hover,.gama-image-viewer button:hover{background:#ffffff25}
.gama-player-play{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%!important;background:#08776f!important;font-size:24px!important}
.gama-player-controls{display:flex;align-items:center;gap:8px;padding:12px;background:#123e36}
.gama-player-controls input{flex:1;width:80px;accent-color:#8dc7b6;min-width:32px}
.gama-player-controls output{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.gama-player-status{position:absolute;top:8px;left:12px;right:12px;text-align:center;color:#fff!important;font-size:13px;background:#102b28df;padding:10px;border-radius:6px}
.gama-player-retry{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}
.gama-media-open{display:block;text-align:right;background:#123e36;color:#cee4db;padding:0 14px 10px;font-size:12px;text-decoration:underline}
.gama-player [hidden]{display:none!important}
.gama-player:fullscreen{display:flex;flex-direction:column;justify-content:center;border-radius:0}
.gama-player:fullscreen video{max-height:calc(100dvh - 100px)}
.gama-image-viewer{width:calc(100% - 32px);max-width:1200px;height:90dvh;max-height:960px;padding:0;border:1px solid #37554a;border-radius:16px;background:#102b28;color:#fff;overflow:hidden}
.gama-image-viewer[open]{display:flex;flex-direction:column}
.gama-image-viewer::backdrop{background:#071b18dc;backdrop-filter:blur(8px)}
.gama-image-viewer header,.gama-image-viewer footer{display:flex;align-items:center;gap:12px;padding:12px 20px;flex-shrink:0;background:#123e36}
.gama-image-viewer header{justify-content:space-between}
.gama-image-viewer footer{justify-content:center;flex-wrap:wrap}
.gama-image-viewer a{color:#cce5d9;font-size:14px;padding:12px}
.gama-image-stage{flex:1;min-height:0;overflow:auto;display:grid;place-items:center;padding:28px}
.gama-image-stage img{position:static;max-width:100%;max-height:65dvh;width:auto;height:auto;object-fit:contain;transform-origin:center;transition:transform .2s ease}
.gama-viewer-open{overflow:hidden}img[data-gama-viewer]{cursor:zoom-in}
@media(max-width:600px){.gama-player-controls{gap:4px;padding:8px}.gama-player-controls button{min-width:36px;font-size:12px}.gama-player-controls output{font-size:10px}.gama-image-viewer{width:calc(100% - 16px);height:94dvh}.gama-image-viewer header{padding:12px}.gama-image-stage{padding:12px}}
@media(prefers-reduced-motion:reduce){.gama-image-stage img{transition:none}}
/* Player 38: controls belong to the picture, not to a second bulky card. */
.gama-player video{cursor:pointer}
.gama-player{background:#121816;border-radius:12px}
.gama-player video{background:#121816}
.gama-player button{border:0;background:transparent;box-shadow:none;padding:10px;min-width:44px;min-height:44px;line-height:1;color:#fff;flex-shrink:0;transition:background .18s ease}
.gama-player button svg{display:block;width:22px;height:22px;pointer-events:none}
.gama-player button:hover{background:#ffffff18;transform:none}
.gama-player .gama-player-play,.gama-player .gama-player-play:hover,.gama-player .gama-player-play:active,.gama-player .gama-player-play:focus-visible{transform:translate(-50%,-50%);top:50%}
.gama-player .gama-player-play:hover{border-color:#fff;background:#16231ce6!important}
.gama-player video,.gama-player.is-portrait video{min-height:0;max-height:none;aspect-ratio:auto;height:auto!important;object-fit:contain}
.gama-player button:focus-visible,.gama-player a:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.gama-player .gama-player-play{top:46%;width:58px;height:58px;min-width:58px;background:#16231cc9!important;border:1px solid #ffffff60;border-radius:50%!important;backdrop-filter:blur(8px)}
.gama-player-play svg{width:26px!important;height:26px!important}
.gama-player-controls{position:absolute;left:0;right:0;bottom:0;display:block;padding:30px 14px 8px;background:linear-gradient(transparent,rgba(0,0,0,.8));color:#fff}
.gama-player-toolbar{display:flex;align-items:center;gap:4px;width:100%}
.gama-player-toolbar output{flex:1;min-width:0;padding:0 8px;font-size:12px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums;color:#fff}
.gama-player-controls input[type=range]{display:block;appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:22px;margin:0;padding:0;border:0;border-radius:0;cursor:pointer;background:transparent;box-shadow:none;accent-color:#fff}
.gama-player-controls input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:8px;background:linear-gradient(to right,#fff var(--progress,0%),#ffffff50 var(--progress,0%))}
.gama-player-controls input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:10px;height:10px;margin-top:-3.5px;border-radius:50%;background:#fff;border:0}
.gama-player-controls input[type=range]::-moz-range-track{height:3px;background:#ffffff50;border-radius:8px}
.gama-player-controls input[type=range]::-moz-range-progress{height:3px;background:#fff}
.gama-player-controls input[type=range]::-moz-range-thumb{height:10px;width:10px;border:0;background:#fff;border-radius:50%}
.gama-player-options{position:absolute;right:14px;bottom:86px;width:210px;padding:6px;border:1px solid #ffffff28;border-radius:10px;background:#17221ff5;box-shadow:0 10px 28px #0004;z-index:3}
.gama-player-options button,.gama-player-options a{display:flex;width:100%;justify-content:flex-start;align-items:center;min-height:44px;padding:12px;text-align:left;font-size:13px;color:#fff;text-decoration:none;border-radius:6px;background:none;white-space:normal}
.gama-player-options a:hover{background:#ffffff18}
.gama-player-status{top:12px;left:14px;right:14px;padding:10px;background:#14201deb;font-size:13px;border-radius:8px;pointer-events:none}
.gama-player .gama-player-retry{background:#fff;color:#163d3c;font-size:14px;padding:12px 18px;white-space:nowrap}
.gama-player.native-controls .gama-player-controls{display:none}
.gama-player:fullscreen{display:block;background:#000}
.gama-player:fullscreen video{width:100%;height:100dvh!important;max-height:100dvh;aspect-ratio:auto;object-fit:contain;background:#000}
.gama-player:fullscreen .gama-player-controls{padding:36px max(20px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom))}
@media(max-width:600px){.gama-player-controls{padding:28px 10px 6px}.gama-player-toolbar{gap:0}.gama-player-controls button{min-width:44px;min-height:44px}.gama-player-toolbar output{font-size:12px;padding:0 4px}.gama-player .gama-player-play{width:54px;height:54px;min-width:54px}}
.gama-player button.gama-player-play,.gama-player button.gama-player-play:hover,.gama-player button.gama-player-play:active,.gama-player button.gama-player-play:focus-visible{top:50%;left:50%;transform:translate(-50%,-50%)}
