/* Only the two Games pages opt into this layout; ordinary embeds use the host's layout. */
body.ice-game-page .site-main{box-sizing:border-box;display:block;width:min(100%,1160px);max-width:none;margin-inline:auto;padding:0 16px 48px}
body.ice-game-page .site-main>.site-sidebar{display:none}
body.ice-game-page .site-main>.site-content{width:100%;max-width:none;margin:0;padding:0}
body.ice-game-page .news-full.page-default{background:transparent;border:0;box-shadow:none;padding:22px 0}
body.ice-game-page .news-full.page-default .news-full__text{max-width:none;font:400 17px/1.55 var(--font-system,system-ui,sans-serif);color:#252c2f}
body.ice-game-page .news-full.page-default .news-full__title{margin:0 0 9px;font-size:clamp(30px,4.2vw,52px);line-height:1.08;letter-spacing:-.045em;color:#182125}
body.ice-game-page .news-full__text .ice-intro{max-width:67ch;margin:0 0 17px;color:#424d50}
body.ice-game-page .rusdtp-ice-sim iframe{border-radius:14px;background:#fff}
body.ice-game-page .rusdtp-ice-sim>p{margin:8px 0 22px;text-align:right;font-size:14px}
body.ice-game-page .news-full__text a{color:#934006;text-underline-offset:3px}
body.ice-game-page .news-full__text a:focus-visible{outline:3px solid #aa4314;outline-offset:2px}
body.ice-game-page .news-full__text .ice-section,body.ice-game-page .ice-guide-panel{border:1px solid #d5dfe1;border-radius:16px;padding:clamp(18px,3vw,32px);background:#fff}
body.ice-game-page .news-full__text h2{font-size:clamp(22px,2.5vw,30px);line-height:1.16;margin:0 0 10px;letter-spacing:-.026em}
body.ice-game-page .news-full__text h3{font-size:18px;line-height:1.24;margin:0 0 5px}
body.ice-game-page .news-full__text .ice-section>p{max-width:74ch}
body.ice-game-page .news-full__text :is(.ice-section,.ice-guide-panel,.ice-game-card) p{margin:0}
body.ice-game-page .ice-drive-grid,body.ice-game-page .ice-guide-grid{display:grid;gap:14px}
body.ice-game-page .ice-drive-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}
body.ice-game-page .ice-drive-grid article{padding:16px;background:#f2f6f4;border-radius:10px}
body.ice-game-page .ice-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:14px 0}
body.ice-game-page .ice-keys{margin:14px 0;font-variant-numeric:tabular-nums}
body.ice-game-page .ice-keys>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-top:1px solid #dbe1e2;padding:5px 0}
body.ice-game-page .ice-keys dd{margin:0}
body.ice-game-page .ice-keys kbd{border:1px solid #c6cfd1;border-bottom-width:2px;padding:1px 5px;border-radius:4px;background:#f7f9f9;color:#1e292d;white-space:nowrap;font:600 14px/1.4 ui-monospace,monospace}
body.ice-game-page .news-full__text .ice-rules{padding-inline-start:22px;margin:12px 0}
body.ice-game-page .ice-rules li{margin-block:8px}
body.ice-game-page .ice-links{margin-top:18px}
body.ice-game-page .news-full__text a.ice-game-card{display:grid;max-width:880px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center;overflow:hidden;border:1px solid #d1dadc;background:#fff;color:#202a2d;border-radius:16px;text-decoration:none}
body.ice-game-page .ice-game-card img{display:block;width:100%;height:auto}
body.ice-game-page .ice-game-card div{padding:20px}
body.ice-game-page .ice-game-card strong{display:inline-block;margin-top:12px;color:#934006}
@media(max-width:650px){
 body.ice-game-page .site-main{padding:0 12px 28px}
 body.ice-game-page .rusdtp-ice-sim{margin-inline:-9px}
 body.ice-game-page .rusdtp-ice-sim>p{padding-inline:8px}
 body.ice-game-page .ice-drive-grid,body.ice-game-page .ice-guide-grid,body.ice-game-page .news-full__text a.ice-game-card{grid-template-columns:1fr}
 body.ice-game-page .ice-drive-grid{gap:7px;margin-top:12px}
 body.ice-game-page .ice-drive-grid article{padding:11px 13px}
}

/* Full-window presentation for browsers without element fullscreen (including iPhone). */
html.rusdtp-ice-host-open{overflow:hidden!important;overscroll-behavior:none}
html.rusdtp-ice-host-open body{position:fixed!important;top:var(--rusdtp-ice-scroll-top,0)!important;left:0!important;width:100%!important;overflow:hidden!important;overscroll-behavior:none}
html.rusdtp-ice-host-open body :has(iframe.rusdtp-ice-expanded){transform:none!important;filter:none!important;perspective:none!important;contain:none!important;content-visibility:visible!important;overflow:visible!important;clip-path:none!important;isolation:auto!important;z-index:auto!important}
html.rusdtp-ice-host-open body iframe.rusdtp-ice-expanded{position:fixed!important;inset:0!important;display:block!important;width:100vw!important;height:100vh!important;height:100dvh!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;z-index:2147483647!important}

body.ice-game-page .ice-drive-fwd { --drive-icon: url("drive-fwd.svg"); }
body.ice-game-page .ice-drive-rwd { --drive-icon: url("drive-rwd.svg"); }
body.ice-game-page .ice-drive-awd { --drive-icon: url("drive-awd.svg"); }
body.ice-game-page .ice-drive-grid h3 { display: flex; align-items: center; gap: 9px; }
body.ice-game-page .ice-drive-grid h3::before {
 content: ""; flex: none; width: 30px; height: 32px; border-radius: 8px;
 background: #fff var(--drive-icon) center / 20px 20px no-repeat;
}
