.ega-player-shell { background:#101629; border:1px solid rgba(255,255,255,.08); border-radius:16px; overflow:hidden; position:relative; }
.ega-player-shell.ega-css-fullscreen { position:fixed !important; inset:0 !important; z-index:99999 !important; border-radius:0 !important; display:flex; flex-direction:column; }
.ega-player-shell.ega-css-fullscreen .ega-player-stage { flex:1; padding-top:0 !important; height:100%; }
.ega-player-stage { position:relative; width:100%; aspect-ratio:16/10; min-height:460px; max-height:78vh; background:#080B14; overflow:hidden; }
@media (max-width:768px){ .ega-player-stage { min-height:360px; aspect-ratio:4/3; } }
.ega-player-preview, .ega-iframe-mount, .ega-iframe-mount > *, .ega-iframe-mount iframe { position:absolute; inset:0; width:100% !important; height:100% !important; border:0; }
.ega-preview-bg { width:100%; height:100%; object-fit:cover; filter:blur(6px) brightness(.45); transform:scale(1.04); }
.ega-preview-overlay { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:24px; text-align:center; background:radial-gradient(circle,rgba(139,92,246,.22),rgba(8,11,20,.82)); }
.ega-preview-title { color:#F8FAFC; font-size:clamp(1.25rem,2.5vw,2rem); margin:0; }
.ega-btn-play-launch { background:linear-gradient(135deg,#8B5CF6,#EC4899); color:#fff; border:0; padding:14px 34px; border-radius:999px; font-size:1.05rem; font-weight:700; cursor:pointer; box-shadow:0 0 28px rgba(139,92,246,.55); transition:transform .2s ease,box-shadow .2s ease; }
.ega-btn-play-launch:hover { transform:translateY(-2px) scale(1.03); box-shadow:0 0 38px rgba(236,72,153,.65); }
.ega-loader-ring { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; background:#080B14; color:#94A3B8; font-size:.9rem; z-index:2; pointer-events:none; }
.ega-spinner { width:40px; height:40px; border:3px solid rgba(139,92,246,.25); border-top-color:#22D3EE; border-radius:50%; animation:egaSpin .75s linear infinite; }
@keyframes egaSpin { to { transform:rotate(360deg); } }
.ega-player-unavailable { position:absolute; inset:0; display:grid; place-items:center; padding:24px; text-align:center; color:#94A3B8; }
.ega-player-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; background:#151D32; border-top:1px solid rgba(255,255,255,.08); color:#F8FAFC; }
.ega-toolbar-left, .ega-toolbar-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.ega-stat-pill { font-size:.875rem; color:#94A3B8; margin-right:8px; }
.ega-tool-btn { background:#1B2640; color:#F8FAFC; border:1px solid rgba(255,255,255,.08); padding:7px 12px; border-radius:10px; cursor:pointer; font-size:.85rem; transition:border-color .2s,background .2s; }
.ega-tool-btn:hover, .ega-tool-btn.is-active { border-color:#8B5CF6; background:rgba(139,92,246,.22); }
.ega-rating-widget { display:inline-flex; align-items:center; gap:3px; }
.ega-star-btn { background:none; border:0; color:#475569; font-size:1.1rem; cursor:pointer; padding:0 2px; }
.ega-star-btn.is-filled, .ega-star-btn:hover { color:#FBBF24; }
.ega-rating-meta { font-size:.8rem; color:#94A3B8; margin-left:4px; }
.ega-report-modal { position:fixed; inset:0; background:rgba(8,11,20,.8); backdrop-filter:blur(6px); display:flex; align-items:center; justify-content:center; z-index:9999; }
.ega-report-modal[hidden] { display:none; }
.ega-report-card { background:#151D32; color:#F8FAFC; border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:24px; width:min(440px,92vw); display:flex; flex-direction:column; gap:12px; }
.ega-report-card select, .ega-report-card textarea { background:#080B14; color:#F8FAFC; border:1px solid rgba(255,255,255,.15); border-radius:8px; padding:10px; }
.ega-report-actions { display:flex; gap:10px; justify-content:flex-end; }
.ega-btn-primary { background:linear-gradient(135deg,#8B5CF6,#EC4899); color:#fff; border:0; padding:10px 18px; border-radius:10px; font-weight:700; cursor:pointer; }
.ega-btn-ghost { background:transparent; color:#94A3B8; border:1px solid rgba(255,255,255,.15); padding:10px 18px; border-radius:10px; cursor:pointer; }
body.ega-theater-active::before { content:''; position:fixed; inset:0; background:rgba(4,6,12,.92); z-index:900; }
body.ega-theater-active .ega-player-shell { position:relative; z-index:950; }
.ega-ad-slot { margin:16px auto; text-align:center; }
.ega-ad-label { display:block; font-size:10px; text-transform:uppercase; letter-spacing:.08em; color:#64748B; margin-bottom:4px; }
.ega-leaderboard-table { width:100%; border-collapse:collapse; }
.ega-leaderboard-table th, .ega-leaderboard-table td { padding:10px 12px; border-bottom:1px solid rgba(255,255,255,.08); text-align:left; }
.ega-submit-form input, .ega-submit-form textarea { width:100%; max-width:520px; background:#080B14; color:#F8FAFC; border:1px solid rgba(255,255,255,.14); border-radius:10px; padding:10px 12px; margin-top:6px; }
.ega-alert-success { background:rgba(16,185,129,.18); border:1px solid #10B981; color:#34D399; padding:12px 16px; border-radius:10px; margin-bottom:16px; }
.ega-alert-error { background:rgba(239,68,68,.18); border:1px solid #EF4444; color:#FCA5A5; padding:12px 16px; border-radius:10px; margin-bottom:16px; }
