/*! DriftBoss.game */
:root {
  --bg: #0a0b0f;
  --bg-alt: #0e1016;
  --card: #141720;
  --card-2: #1a1e29;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f2f2f5;
  --muted: #b9bcc7;
  --dim: #8b8f9c;
  --orange: #f97316;
  --orange-2: #fb923c;
  --pink: #ec4899;
  --grad: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
  --radius: 16px;
  --header: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
:lang(ja) body { font-family: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif; }
:lang(zh) body { font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:lang(ko) body { font-family: system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; word-break: keep-all; }
:lang(ja) :is(h1, h2, h3), :lang(zh) :is(h1, h2, h3) { word-break: auto-phrase; }
:lang(de) :is(p, li, td, .lead) { hyphens: auto; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-2); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 2px; border-radius: 6px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 14px; height: 14px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 820px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 15, .9); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(150%) blur(10px); backdrop-filter: saturate(150%) blur(10px);
}
.header-in { display: flex; align-items: center; gap: 14px; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; }
.brand-name span { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 650; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(249, 115, 22, .16); }
.nav .nav-play { color: #fff; background: var(--grad); margin-right: 6px; padding: 8px 14px 8px 11px; }
.nav .nav-play:hover { color: #fff; background: var(--grad); filter: brightness(1.08); }
.nav .nav-play .i { width: 16px; height: 16px; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

.dd { position: relative; }
.dd > summary {
  display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; user-select: none;
}
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary:hover, .dd[open] > summary { color: var(--text); border-color: rgba(249, 115, 22, .6); }
.dd[open] > summary .i-sm { transform: rotate(180deg); }
.dd-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px; max-height: min(70vh, 480px); overflow: auto;
  padding: 6px; background: #161923; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}
.dd-title { margin: 4px 10px 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.dd-menu ul { list-style: none; margin: 0; padding: 0; }
.dd-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; }
.dd-menu a:hover { background: rgba(255, 255, 255, .07); }
.dd-menu a[aria-current="true"] { color: var(--orange-2); background: rgba(249, 115, 22, .12); }

@media (max-width: 980px) {
  .js .menu-btn { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .js .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header); margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 14px 16px;
    background: #0f1118; border-bottom: 1px solid var(--line-2); box-shadow: 0 24px 40px rgba(0, 0, 0, .5);
    max-height: calc(100vh - var(--header)); overflow-y: auto;
  }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 12px 14px; font-size: 17px; }
  .js .nav .nav-play { margin: 0 0 6px; justify-content: center; }
  html:not(.js) .header-in { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  html:not(.js) .nav { flex-wrap: wrap; order: 3; width: 100%; margin: 0; }
}
@media (max-width: 380px) {
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .site-header { position: relative; }
  html { scroll-padding-top: 0; }
}

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 0; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(249, 115, 22, .7);
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .65; cursor: default; }
.btn .i { width: 18px; height: 18px; }
.btn-lg { padding: 15px 30px; font-size: 18px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 10px;
  background: rgba(255, 255, 255, .03); color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.btn-ghost:hover { border-color: rgba(249, 115, 22, .7); }
.more { margin: 22px 0 0; }
.more-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-2); font-weight: 750; text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.more-link .i { width: 18px; height: 18px; transition: transform .2s; }
.more-link:hover .i { transform: translateX(3px); }

/* Ads: no gap when Ezoic leaves a placeholder empty */
.ad { max-width: 1180px; margin: 28px auto; padding: 0 20px; text-align: center; }
.ad:has(> div:empty) { margin: 0 auto; padding: 0; }
.prose .ad { padding: 0; max-width: none; }

/* Home: hero and game */
.home-hero { padding: 34px 0 20px; text-align: center; background: radial-gradient(ellipse 900px 320px at 50% -40px, rgba(249, 115, 22, .16), transparent 70%); }
.home-hero h1 { margin: 0 0 12px; font-size: clamp(28px, 4.6vw, 48px); line-height: 1.12; font-weight: 850; letter-spacing: -.025em; }
.home-hero .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro { max-width: 70ch; margin: 0 auto; color: var(--muted); font-size: clamp(16px, 1.7vw, 18px); }

.game-sec { padding: 6px 0 8px; }
.game-box {
  position: relative; overflow: hidden; background: #000; border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: 0 30px 80px -30px rgba(249, 115, 22, .45), 0 20px 50px rgba(0, 0, 0, .5);
}
.game-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 150px); background: #07080c; }
@supports (height: 100svh) { .game-frame { max-height: calc(100svh - 150px); } }
.game-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #07080c; }
.game-poster { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #07080c; cursor: pointer; }
.game-poster picture, .game-poster img { width: 100%; height: 100%; }
.game-poster img { object-fit: cover; opacity: .8; transition: opacity .3s, transform .5s; }
.game-poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7, 8, 12, 0) 30%, rgba(7, 8, 12, .6) 100%); }
.game-poster:hover img { opacity: .95; transform: scale(1.015); }
.poster-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 34px 16px 28px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 850; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; white-space: nowrap;
  box-shadow: 0 14px 40px rgba(249, 115, 22, .55), 0 0 0 6px rgba(255, 255, 255, .12);
  transition: transform .2s;
}
.poster-play .i { width: 1.15em; height: 1.15em; }
.game-poster:hover .poster-play { transform: translate(-50%, -50%) scale(1.05); }
.game-loading { position: absolute; inset: 0; z-index: 3; display: none; align-items: center; justify-content: center; gap: 12px; margin: 0; background: rgba(7, 8, 12, .72); color: #fff; font-weight: 700; }
.game-box.loading .game-loading { display: flex; }
.spinner { width: 26px; height: 26px; border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.game-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #10121a; border-top: 1px solid var(--line); }
.game-hint { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.fs-btn .i-exit, .is-fs .fs-btn .i-enter { display: none; }
.is-fs .fs-btn .i-exit { display: block; }
.game-box.is-fs { position: fixed; inset: 0; z-index: 1000; width: 100%; height: 100%; border: 0; border-radius: 0; display: flex; flex-direction: column; box-shadow: none; }
.game-box.is-fs .game-frame { flex: 1; aspect-ratio: auto; max-height: none; height: auto; }
.game-box.is-fs .game-hint { visibility: hidden; }
.game-box.is-fs .game-bar { padding: 6px 10px; }
.game-box:fullscreen { width: 100%; height: 100%; }
html.no-scroll, html.no-scroll body { overflow: hidden; }

@media (max-width: 700px) {
  .home-hero { padding: 22px 0 14px; }
  .home-hero h1 { font-size: 27px; }
  .intro { font-size: 15.5px; }
  .game-sec .wrap-game { padding: 0; }
  .game-box { border-radius: 0; border-left: 0; border-right: 0; }
  .game-bar { flex-wrap: wrap; padding: 10px 16px; }
  .game-hint { flex: 1 1 200px; font-size: 13.5px; }
}
@media (max-width: 700px) and (orientation: portrait) {
  .game-frame { aspect-ratio: auto; height: min(calc(100svh - 170px), 150vw); min-height: 380px; max-height: none; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .game-frame { max-height: calc(100vh - 56px); }
  @supports (height: 100svh) { .game-frame { max-height: calc(100svh - 56px); } }
}

/* Home sections */
.sec { padding: clamp(40px, 6vw, 68px) 0; }
.sec-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { margin: 0 0 8px; font-size: clamp(25px, 3.2vw, 34px); line-height: 1.2; font-weight: 820; letter-spacing: -.02em; }
.sec-sub { max-width: 70ch; margin: 0 0 26px; color: var(--muted); font-size: 17px; }
.sec h3 { line-height: 1.3; }

.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.step { position: relative; padding: 20px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff; font-weight: 850; }
.step h3 { margin: 14px 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.feature:hover { border-color: rgba(249, 115, 22, .5); transform: translateY(-2px); }
.f-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(249, 115, 22, .13); color: var(--orange-2); }
.f-icon .i { width: 24px; height: 24px; }
.feature h3 { margin: 14px 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.g-item { grid-column: span 2; min-width: 0; }
.g-1, .g-2 { grid-column: span 3; }
.gallery figure { margin: 0; height: 100%; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.g-link { display: block; overflow: hidden; background: #07080c; }
.g-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.g-link:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 14px 12px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

.scenes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.scene { padding: 12px 12px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.scene h3 { margin: 14px 6px 4px; font-size: 18px; }
.scene p { margin: 0 6px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.scene-art { position: relative; height: 104px; overflow: hidden; border-radius: 11px; }
.scene-art::before { content: ""; position: absolute; left: 14%; right: 14%; bottom: -30px; height: 72px; border-radius: 50%; background: var(--ground); opacity: .9; }
.scene-art .road { position: absolute; left: 50%; top: 18px; width: 16px; height: 120px; background: var(--road); transform: translateX(-50%) rotate(45deg); transform-origin: 50% 100%; box-shadow: 34px -34px 0 var(--road); border-radius: 2px; }
.scene-1 .scene-art { --ground: #3f9b4c; --road: #e8e3d6; background: linear-gradient(180deg, #7cc8f6, #cdefff); }
.scene-2 .scene-art { --ground: #d39a4a; --road: #f3e2c0; background: linear-gradient(180deg, #f8b26a, #ffe3b8); }
.scene-3 .scene-art { --ground: #eaf4ff; --road: #9fb7cf; background: linear-gradient(180deg, #a9cbea, #eef6ff); }
.scene-4 .scene-art { --ground: #1f2547; --road: #3d4470; background: radial-gradient(circle at 78% 26%, #fff7c2 0 3px, transparent 4px), radial-gradient(circle at 22% 34%, #fff7c2 0 2px, transparent 3px), linear-gradient(180deg, #070b24, #1c2556); }
.scene-4 .scene-art .road { box-shadow: 34px -34px 0 var(--road), 0 0 12px rgba(120, 200, 255, .9), 34px -34px 12px rgba(120, 200, 255, .9); }

.garage { display: flex; align-items: center; gap: 20px; margin-top: 18px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid rgba(249, 115, 22, .32); background: linear-gradient(120deg, rgba(249, 115, 22, .14), rgba(236, 72, 153, .1)); }
.garage-icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 16px; background: var(--grad); color: #fff; }
.garage-icon .i { width: 34px; height: 34px; }
.garage-text { flex: 1; min-width: 0; }
.garage-text h3 { margin: 0 0 4px; font-size: 20px; }
.garage-text p { margin: 0; color: var(--muted); }
.garage .btn { flex: none; }

.stats { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { padding: 24px 16px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.stat strong { display: block; font-size: clamp(36px, 5vw, 52px); line-height: 1; font-weight: 900; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-weight: 600; }

.tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tip { display: flex; gap: 14px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.tip-n { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange-2); font-weight: 850; font-size: 15px; }
.tip h3 { margin: 4px 0 6px; font-size: 17px; }
.tip p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.faq { display: grid; gap: 10px; margin-top: 22px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq-item[open] { border-color: rgba(249, 115, 22, .4); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; }
.faq-item summary .i { color: var(--orange-2); transition: transform .2s; }
.faq-item[open] summary .i { transform: rotate(180deg); }
.faq-a { padding: 0 18px 16px; }
.faq-a p { margin: 0; color: var(--muted); }

.about-text p { margin: 0 0 14px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); }

.rating { padding: 30px 24px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.rating-sub { margin: 0 auto 16px; max-width: 52ch; color: var(--muted); }
.stars { display: flex; justify-content: center; gap: 6px; }
.star { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: #3a3f4f; cursor: pointer; transition: transform .15s, color .15s; }
.star .i { width: 40px; height: 40px; stroke-width: 1.5; }
.star.on { color: #fbbf24; }
.star:hover { transform: scale(1.12); }
.rating-sum { margin: 14px 0 0; color: var(--muted); font-weight: 600; }
.rating-you { margin: 6px 0 0; color: var(--dim); }
.rating-you strong { color: var(--text); }
.rating-thanks { margin: 8px 0 0; color: var(--orange-2); font-weight: 700; }

.cards { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cards li { grid-column: span 2; min-width: 0; }
.cards li:nth-child(4), .cards li:nth-child(5) { grid-column: span 3; }
.card-link { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px 44px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.card-link:hover { border-color: rgba(249, 115, 22, .55); transform: translateY(-2px); }
.card-kicker { color: var(--orange-2); font-size: 13px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.card-link strong { font-size: 18px; line-height: 1.3; }
.card-text { color: var(--muted); font-size: 15px; line-height: 1.55; }
.card-go { position: absolute; left: 22px; bottom: 16px; color: var(--orange-2); }

@media (max-width: 1060px) {
  .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .step { grid-column: span 2; }
  .step:nth-child(4), .step:nth-child(5) { grid-column: span 3; }
  .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .features, .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards li, .cards li:nth-child(4), .cards li:nth-child(5) { grid-column: auto; }
  .cards li:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .gallery { display: flex; gap: 12px; margin: 0 -20px; padding: 0 20px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .g-item { flex: 0 0 84%; scroll-snap-align: center; }
  .garage { flex-wrap: wrap; }
  .garage-text { flex-basis: calc(100% - 84px); }
  .garage .btn { width: 100%; }
}
@media (max-width: 600px) {
  .steps, .features, .tips, .cards { grid-template-columns: 1fr; }
  .step, .step:nth-child(4), .step:nth-child(5), .cards li, .cards li:nth-child(5) { grid-column: auto; }
  .scenes { grid-template-columns: 1fr; }
  .scene { display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; align-items: center; padding: 10px; }
  .scene-art { grid-row: span 2; height: 84px; }
  .scene h3 { margin: 2px 0 2px; }
  .scene p { margin: 0; font-size: 14.5px; }
  .stats { gap: 10px; }
  .stat { padding: 18px 10px; }
  .star { width: 46px; height: 46px; }
  .star .i { width: 36px; height: 36px; }
  .rating { padding: 24px 14px; }
}

/* Article pages */
.page-hero { padding: 30px 0 26px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 900px 300px at 15% -60px, rgba(249, 115, 22, .17), transparent 70%); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.page-hero h1 { margin: 12px 0 12px; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; font-weight: 850; letter-spacing: -.025em; }
.lead { max-width: 62ch; margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 19.5px); line-height: 1.6; }

.prose { padding: 8px 0 6px; color: #dadce3; font-size: 18px; line-height: 1.75; }
.prose > * { max-width: 72ch; }
.prose > .table-wrap, .prose > .ad { max-width: none; }
.prose h2 { margin: 44px 0 12px; color: var(--text); font-size: clamp(24px, 2.8vw, 30px); line-height: 1.25; font-weight: 800; letter-spacing: -.015em; }
.prose h3 { margin: 30px 0 8px; color: var(--text); font-size: 20px; line-height: 1.35; font-weight: 750; }
.prose h2 + h3 { margin-top: 18px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 1.4em; }
.prose li { margin: 7px 0; padding-left: .2em; }
.prose li::marker { color: var(--orange); font-weight: 700; }
.prose a { color: var(--orange-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: #fdba74; }
.prose strong { color: var(--text); }
.table-wrap { overflow-x: auto; margin: 20px 0 24px; border: 1px solid var(--line-2); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose th { background: #1a1d28; color: var(--text); font-weight: 750; text-align: left; white-space: nowrap; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.prose tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose .note { margin: 22px 0; padding: 14px 18px; border: 1px solid rgba(249, 115, 22, .3); border-left: 4px solid var(--orange); border-radius: 12px; background: rgba(249, 115, 22, .08); font-size: 17px; }
.prose .note p:last-child, .prose .note ul:last-child { margin-bottom: 0; }
.legal { font-size: 17px; }
.legal h2 { font-size: 24px; }
#ezoic-privacy-policy-embed { display: block; }

.cta { margin: 40px 0 34px; padding: 30px 24px; text-align: center; border-radius: 20px; border: 1px solid rgba(249, 115, 22, .35); background: linear-gradient(135deg, rgba(249, 115, 22, .2), rgba(236, 72, 153, .14)); }
.cta h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; }
.cta p { max-width: 56ch; margin: 0 auto 20px; color: var(--muted); }
.related { margin: 0 0 30px; }
.related h2 { margin: 0 0 12px; font-size: 22px; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.related-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-weight: 700; text-decoration: none; }
.related-list a:hover { border-color: rgba(249, 115, 22, .55); }
.related-list .i { color: var(--orange-2); }
.back { margin: 26px 0 34px; }
.back a { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-2); font-weight: 700; text-decoration: none; }
.back a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .page-hero { padding: 22px 0 20px; }
  .page-hero h1 { font-size: 29px; }
  .prose { font-size: 17px; line-height: 1.7; }
  .prose h2 { margin-top: 36px; font-size: 23px; }
  .prose h3 { font-size: 18.5px; }
  .prose table { font-size: 15px; }
  .prose th, .prose td { padding: 9px 10px; }
  .prose th { white-space: normal; }
  .related-list { grid-template-columns: 1fr; }
  .cta { padding: 24px 16px; }
}

/* Contact */
.contact-card { margin: 28px 0 0; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.contact-card h2 { margin: 0 0 6px; font-size: 24px; }
.contact-card > p { margin: 0 0 18px; color: var(--muted); }
/* form.js parks its honeypot field at left:-10000px; keep it clipped inside the form */
.form { position: relative; overflow: hidden; margin: -6px; padding: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field > label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.field > input, .field > textarea {
  display: block; width: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 10px;
  background: #0d0f15; color: var(--text); font: inherit; font-size: 16px; line-height: 1.5;
}
.field textarea { min-height: 150px; resize: vertical; }
.field > input:focus, .field > textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249, 115, 22, .25); }
.field[data-feedback-captcha]:empty { display: none; }
.form altcha-widget { --altcha-max-width: 100%; --altcha-color-base: #0d0f15; --altcha-color-text: var(--text); --altcha-color-border: var(--line-2); --altcha-border-radius: 10px; display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-status { flex: 1 1 220px; margin: 0; color: var(--muted); font-weight: 600; }
.form[data-state="sent"] .form-status { color: #4ade80; }
.form[data-state="error"] .form-status { color: #f87171; }
.contact-mail { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.contact-mail .i { margin-top: 3px; color: var(--orange-2); }
@media (max-width: 600px) {
  .contact-card { padding: 20px 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-foot .btn { width: 100%; }
}

/* 404 */
.nf { padding: 56px 0 30px; text-align: center; }
.nf-code { margin: 0; font-size: clamp(72px, 14vw, 120px); line-height: 1; font-weight: 900; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { margin: 10px 0 12px; font-size: clamp(28px, 4vw, 40px); }
.nf .lead { margin: 0 auto 24px; }
.nf-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 26px 0 0; padding: 0; }

/* Footer */
.site-footer { margin-top: 24px; padding: 36px 0 30px; border-top: 1px solid var(--line); background: #08090c; color: var(--dim); font-size: 14.5px; }
.page-home .site-footer { margin-top: 0; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.foot-brand p { margin: 8px 0 0; max-width: 40ch; }
.foot-nav { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 20px; max-width: 620px; }
.foot-nav a, .foot-langs a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover, .foot-langs a:hover { color: var(--text); text-decoration: underline; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot-langs a[aria-current="true"] { color: var(--orange-2); }
.foot-note { max-width: 90ch; margin: 22px 0 6px; line-height: 1.55; }
.foot-copy { margin: 0; }

/* Lightbox */
.lightbox { max-width: min(1280px, 96vw); max-height: 96vh; padding: 0; border: 1px solid var(--line-2); border-radius: 14px; background: #07080c; color: var(--text); overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .82); }
.lightbox figure { margin: 0; }
.lightbox img { width: auto; max-width: 100%; max-height: calc(96vh - 56px); border-radius: 14px 14px 0 0; }
.lightbox figcaption { padding: 12px 16px; color: var(--muted); font-size: 15px; }
.lb-close { position: absolute; top: -14px; right: -14px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: #161923; cursor: pointer; }
@media (max-width: 700px) { .lb-close { top: 8px; right: 8px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation-duration: .01ms !important; }
}
