/* Locally hosted games, Svoyi 2026-10-11. */
body .ent26 .sv-games { margin: 4px 0 34px; }
body .ent26 .sv-games-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; margin:0 0 22px; }
body .ent26 .sv-games-kicker { display:flex; align-items:center; gap:8px; font-size:11px; font-weight:750; letter-spacing:1.4px; color:var(--ent-muted); }
body .ent26 .sv-games-heading h2 { font-size:30px; line-height:1.2; letter-spacing:-.7px; color:var(--ent-text); margin:8px 0; }
body .ent26 .sv-games-heading p { margin:0; font-size:14px; line-height:1.6; color:var(--ent-muted); max-width:600px; }
body .ent26 .sv-games-device { display:flex; flex-shrink:0; align-items:center; gap:10px; padding:11px 14px; font-size:12px; border:1px solid var(--ent-line); border-radius:14px; color:var(--ent-text); background:var(--ent-surface); }
.sv-games-device svg { width:30px; height:24px; flex-shrink:0; }
body .ent26 .sv-games-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
body .ent26 .sv-games-card { border:1px solid var(--ent-line); background:var(--ent-surface); border-radius:20px; overflow:hidden; min-width:0; transition:transform .18s,box-shadow .18s; }
body .ent26 .sv-games-launch { display:flex; flex-direction:column; height:100%; text-decoration:none!important; color:var(--ent-text)!important; background:transparent; border:0; }
body .ent26 .sv-games-cover { position:relative; display:block; aspect-ratio:4/3; width:100%; overflow:hidden; background:var(--ent-soft); }
body .ent26 .sv-games-cover img { width:100%; height:100%; object-fit:contain; display:block; border:0; border-radius:0; margin:0; padding:0; }
body .ent26 .sv-games-play-icon { position:absolute; bottom:12px; right:12px; display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:#10222ce8; color:#fff; box-shadow:0 3px 15px #0003; }
body .ent26 .sv-games-copy { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:16px; gap:7px; }
body .ent26 .sv-games-genre { color:var(--ent-muted); font-size:11px; line-height:1.3; }
body .ent26 .sv-games-card h3 { color:var(--ent-text)!important; font-size:16px; line-height:1.35; margin:0!important; overflow-wrap:anywhere; }
body .ent26 .sv-games-description { display:block; color:var(--ent-muted); font-size:12px; line-height:1.6; margin-bottom:7px; }
body .ent26 .sv-games-play-label { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; box-sizing:border-box; min-height:42px; border-radius:11px; margin-top:auto; padding:8px 10px; font-size:13px; font-weight:700; background:var(--ent-accent); color:var(--ui162-on-button,#fff); }
body .ent26 .sv-games-credit { text-align:right; color:var(--ent-muted); font-size:11px; line-height:1.5; margin:14px 0 0; }
@media (hover:hover) { body .ent26 .sv-games-card:hover { transform:translateY(-3px); box-shadow:0 10px 28px #0002; } }
@media (max-width:1050px) { body .ent26 .sv-games-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:700px) {
  body .ent26 .sv-games-heading { align-items:flex-start; flex-direction:column; gap:12px; }
  body .ent26 .sv-games-heading h2 { font-size:26px; }
  body .ent26 .sv-games-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  body .ent26 .sv-games-device { padding:8px 12px; font-size:11px; }
  body .ent26 .sv-games-card { border-radius:16px; }
  body .ent26 .sv-games-copy { padding:12px; }
  body .ent26 .sv-games-card h3 { font-size:14px; }
  body .ent26 .sv-games-description { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) { body .ent26 .sv-games-card { transition:none; } }

body .ent26 button.sv-games-launch{width:100%;padding:0;margin:0;border-radius:0;text-align:left;font-family:inherit;cursor:pointer;line-height:1.4;box-shadow:none;letter-spacing:normal;text-transform:none}
body .ent26 .sv-games-copy{box-sizing:border-box;width:100%}
body .ent26 .sv-games-card-title{font-size:16px;line-height:1.35;font-weight:750;color:var(--ent-text)}
body .ent26 .sv-games-launch:focus-visible{outline:3px solid var(--ent-accent);outline-offset:-3px}
body .ent26 .sv-games-credits{font-size:12px;color:var(--ent-muted);margin-top:18px}
body .ent26 .sv-games-credits summary{cursor:pointer}
body .ent26 .sv-game-dialog{width:min(1160px,calc(100vw - 40px));height:min(860px,calc(100dvh - 40px));max-width:none;max-height:none;box-sizing:border-box;margin:auto;padding:0;border:1px solid var(--ent-line);border-radius:18px;background:var(--ent-surface,#fff);color:var(--ent-text,#172c35);overflow:hidden;box-shadow:0 25px 90px #0009}
body .ent26 .sv-game-dialog[open]{display:flex;flex-direction:column}
.sv-game-dialog::backdrop{background:#07131ade;backdrop-filter:blur(6px)}
body .ent26 .sv-game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;min-height:48px;flex-shrink:0;border-bottom:1px solid var(--ent-line)}
body .ent26 .sv-game-title{font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .ent26 .sv-game-actions{display:flex;gap:5px;flex-shrink:0}
body .ent26 .sv-game-actions button{display:grid;place-items:center;width:42px;height:42px;min-width:42px;padding:0;margin:0;border:1px solid var(--ent-line);border-radius:11px;background:var(--ent-soft);color:var(--ent-text);font:26px/1 Arial;cursor:pointer}
body .ent26 .sv-game-help{flex-shrink:0;font-size:12px;line-height:1.45;margin:0;padding:8px 12px;color:var(--ent-muted);background:var(--ent-surface)}
body .ent26 .sv-game-stage{position:relative;flex:1;min-height:0;background:#0e1423;overflow:hidden}
body .ent26 .sv-game-stage iframe{display:block;position:absolute;inset:0;width:100%;height:100%;border:0;background:#0e1423}
body .ent26 .sv-game-loading{position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:15px}
body .ent26 .sv-game-loading[hidden]{display:none}
body.sv-game-open{overflow:hidden!important;overscroll-behavior:none}
html.sv-game-expanded body .ent26 .sv-game-dialog{width:100vw;height:100dvh;border:0;border-radius:0}
@media(max-width:700px){body .ent26 .sv-game-dialog{width:100vw;height:100dvh;border:0;border-radius:0}body .ent26 .sv-game-toolbar{padding-top:max(8px,env(safe-area-inset-top))}body .ent26 .sv-game-title{font-size:15px}body .ent26 .sv-game-help{font-size:11px}body .ent26 .sv-games-card-title{font-size:14px}}

body .ent26 .sv-game-actions button{color:var(--ent-text,#172c35)!important;background:var(--ent-soft,#e7edf3)!important}
