/* It Ain't Got No Gas In It
   A race broadcast at night: asphalt, white type, caution yellow for the things you do. */

:root {
  --asphalt: #0f1011;
  --asphalt-2: #16181a;
  --panel: #1c1f22;
  --line: #2b2f33;
  --line-2: #3a3f45;
  --text: #edece7;
  --text-2: #c8c7c1;
  --muted: #9b9e9f;
  --yellow: #ffd21f;
  --red: #ff4a35;
  --green: #35c464;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Red Hat Mono", ui-monospace, "Consolas", monospace;
  --gutter: clamp(16px, 3.4vw, 44px);
  --maxw: 1400px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .3s; animation-timing-function: var(--ease); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; background: var(--asphalt); color: var(--text); font: 400 1.0625rem/1.55 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: #000; padding: 10px 14px; z-index: 200; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }

/* condensed italic display type, the way a livery reads at speed */
.brand, .intro-h, .page-h, .sec-h, .feature-h, .clip-h, .tower-h, .ci-t, .cc-t, .nf-k, .card-t, .rank {
  font-family: var(--sans); font-style: italic; font-stretch: 68%; font-weight: 900; letter-spacing: -.005em;
}

/* ---------- masthead ---------- */
.mast { background: #000; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.mast-in { display: flex; align-items: center; gap: 12px 28px; min-height: 64px; }
.brand { display: flex; flex-direction: column; line-height: .9; text-decoration: none; text-transform: uppercase; flex: none; padding: 6px 0 2px; }
.brand .b1, .foot-brand .b1 { font-size: .78rem; letter-spacing: .1em; font-stretch: 100%; font-style: normal; font-weight: 800; color: var(--muted); padding-left: 3px; }
.brand .b2 { display: block; width: 214px; height: auto; aspect-ratio: 5; margin-top: -2px; }
.brand:hover { color: inherit; }
.brand:hover .b1 { color: var(--text); }
/* On the home page the tires drive through the paint once. */
.brand.drive .trk { animation: drive .7s var(--ease) .25s both; }
@keyframes drive { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.nav { display: flex; gap: 2px 22px; font-weight: 700; font-size: 1rem; }
.nav a { text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; }
.nav a[aria-current] { border-bottom-color: var(--yellow); }
.msearch { margin-left: auto; }
.msearch input { width: 220px; min-height: 42px; padding: 0 14px; background: var(--panel); color: var(--text); border: 1px solid var(--line-2); border-radius: 2px; font: 400 1rem var(--sans); }
.msearch input:focus { outline: none; border-color: var(--yellow); }
.post-cta { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--yellow); color: #000; text-decoration: none; font-weight: 800; border-radius: 2px; }
.post-cta:hover { background: #fff; color: #000; }

/* ---------- type bits ---------- */
.page-head { padding-top: clamp(28px, 5vw, 56px); padding-bottom: 12px; }
.page-h { font-size: clamp(2.8rem, 7vw, 5rem); line-height: .95; margin: 0 0 12px; text-transform: uppercase; }
.page-sub { font-size: 1.15rem; color: var(--text-2); max-width: 42em; margin: 0 0 18px; }
.sec { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(20px, 3vw, 32px); }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.sec-h { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1; margin: 0 0 18px; text-transform: uppercase; }
.sec-h.sm { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.sec-h span { color: var(--muted); font-style: normal; font-stretch: 100%; font-weight: 700; font-size: .6em; vertical-align: middle; }
.more { font-weight: 700; white-space: nowrap; color: var(--text-2); }
.kick { margin: 0 0 8px; font-weight: 800; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.crumbs { margin: 0 0 12px; color: var(--muted); }
.empty { color: var(--text-2); font-size: 1.1rem; }
.empty.sm { font-size: 1rem; }
.notice { background: var(--panel); border-left: 4px solid var(--yellow); padding: 12px 16px; }
.notice.bad { border-left-color: var(--red); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--yellow); color: #000; border: 0; border-radius: 2px; font-weight: 800; text-decoration: none; }
.btn:hover { background: #fff; color: #000; }
.btn-quiet { background: transparent; color: var(--text); border: 1.5px solid var(--line-2); }
.btn-quiet:hover { background: var(--panel); color: var(--text); border-color: var(--text); }
.btn-link { display: inline-flex; align-items: center; background: none; border: 0; padding: 0; min-height: 48px; font-weight: 700; color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; }
.btn-link:hover { color: var(--yellow); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1.5px solid var(--line-2); text-decoration: none; font-weight: 700; border-radius: 2px; }
.tabs a[aria-current] { background: var(--text); color: #000; border-color: var(--text); }

/* category label, sits on thumbnails and in meta lines */
.cat { display: inline-block; padding: 4px 8px 3px; background: rgba(0,0,0,.78); color: #fff; font: 800 .78rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-left: 3px solid var(--line-2); }
.cat-crashes { border-left-color: var(--red); }
.cat-nogas { border-left-color: var(--yellow); }
.cat-drag, .cat-drift, .cat-dirt, .cat-rally { border-left-color: #fff; }
a.cat:hover { color: var(--yellow); }

/* ---------- home ---------- */
.intro { padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(8px, 1.5vw, 16px); }
.intro { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; }
.intro-h { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: .9; margin: 0; text-transform: uppercase; }
.intro-p { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--text-2); max-width: 40em; margin: 0; }
.intro-p a { color: var(--yellow); font-weight: 700; }
.feature { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: clamp(20px, 3vw, 40px); padding-top: 18px; padding-bottom: clamp(24px, 4vw, 48px); align-items: start; }
.feature-h { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; margin: 0 0 12px; text-transform: uppercase; }
.feature-h a { text-decoration: none; }
.feature-c { color: var(--text-2); margin: 0 0 12px; }
.feature-m { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: .95rem; margin: 0 0 22px; }

/* ---------- the player ---------- */
.player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player .poster { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.player:hover .poster { transform: scale(1.015); filter: brightness(1.06); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 22px 14px 16px; min-height: 64px;
  background: rgba(0,0,0,.86); border: 1px solid rgba(255,255,255,.18); border-radius: 2px;
  font: italic 900 1.6rem/1 var(--sans); font-stretch: 70%; text-transform: uppercase; color: #fff;
}
.play:hover { background: #000; color: var(--yellow); }
.tree { display: inline-flex; gap: 6px; }
.tree i { width: 14px; height: 14px; border-radius: 50%; background: #3a2e0a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .08s, box-shadow .08s; }
.tree i.go { background: #0d2d17; }
.play:hover .tree i:first-child { background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.tree i.on { background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
.tree i.go.on { background: var(--green); box-shadow: 0 0 14px var(--green); }
.play-nojs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--yellow); color: #000; padding: 14px 20px; font-weight: 800; }

/* ---------- the timing tower ---------- */
.tower { background: #000; border: 1px solid var(--line); }
.tower-h { margin: 0; padding: 12px 14px 10px; font-size: 1.35rem; line-height: 1; text-transform: uppercase; border-bottom: 3px solid var(--yellow); }
.tower-list { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.tower-list li { border-bottom: 1px solid #1d1f22; }
.tower-list a { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 44px; padding: 4px 12px 4px 0; text-decoration: none; }
.tower-list a:hover { background: var(--asphalt-2); color: var(--text); }
.tp { font: 700 1rem/1 var(--mono); text-align: center; align-self: stretch; display: flex; align-items: center; justify-content: center; background: #fff; color: #000; }
.podium .tp { background: var(--yellow); }
.tt { font-weight: 600; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg { font: 500 .9rem/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
.card-link { display: grid; gap: 8px; text-decoration: none; }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.card-link:hover .thumb img { transform: scale(1.04); }
.thumb .cat { position: absolute; left: 0; bottom: 0; }
.rank { position: absolute; left: 0; top: 0; background: var(--yellow); color: #000; font-size: 1.4rem; line-height: 1; padding: 6px 10px 4px 8px; }
.card-t { font-size: 1.45rem; line-height: 1.02; text-transform: uppercase; }
.card-link:hover .card-t { color: var(--yellow); }
.card-m { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .92rem; color: var(--muted); }

.cat-index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.cat-index li { border-bottom: 1px solid var(--line); }
.cat-index a { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr) auto; gap: 6px 28px; align-items: baseline; padding: 16px 4px; text-decoration: none; }
.cat-index a:hover { background: var(--asphalt-2); color: var(--text); }
.cat-index a:hover .ci-t { color: var(--yellow); }
.ci-t { font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.ci-b { color: var(--text-2); }
.ci-n { font: 500 .95rem/1 var(--mono); color: var(--muted); white-space: nowrap; }

.cat-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 20px; }
.cat-cards a { display: grid; gap: 6px; text-decoration: none; }
.cc-imgs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); }
.cc-imgs img { width: 100%; height: 100%; object-fit: cover; }
.cc-imgs img:first-child { grid-row: 1 / span 2; }
.cc-t { font-size: 1.9rem; line-height: 1; text-transform: uppercase; margin-top: 6px; }
.cat-cards a:hover .cc-t { color: var(--yellow); }
.cc-b { color: var(--text-2); }
.cc-n { font: 500 .95rem/1 var(--mono); color: var(--muted); }

.top-wrap { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 32px; align-items: start; }
.top-wrap .tower { position: sticky; top: 84px; }
.top-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }

/* ---------- a clip ---------- */
.clip { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 3vw, 40px); padding-top: 24px; padding-bottom: 64px; align-items: start; }
.clip-crumbs { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.clip-h { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: .95; margin: 0 0 12px; text-transform: uppercase; }
.clip-c { font-size: 1.2rem; color: var(--text-2); max-width: 44em; margin: 0 0 16px; }
.clip-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clip-stats { margin-left: auto; font: 500 .95rem/1 var(--mono); color: var(--muted); }
.clip-credit { color: var(--muted); font-size: .98rem; margin: 14px 0; }
.clip-credit b { color: var(--text-2); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { font-size: .9rem; padding: 6px 10px; border: 1px solid var(--line-2); text-decoration: none; color: var(--text-2); min-height: 36px; display: inline-flex; align-items: center; }
.clip-side { position: sticky; top: 84px; }

.rev { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 10px; background: transparent; border: 2px solid var(--yellow); border-radius: 2px; font-weight: 800; color: var(--yellow); }
.rev:hover { background: rgba(255,210,31,.1); }
.rev.is-revved { background: var(--yellow); color: #000; }
.tach { width: 34px; height: 22px; }
.tach path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.needle { stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; transform-origin: 20px 22px; transition: transform .5s cubic-bezier(.3,1.7,.4,1); }
.rev.is-revved .needle { transform: rotate(118deg); }
.rev-n { font-family: var(--mono); font-weight: 700; }

.talk { margin-top: 40px; }
.talk-form { display: grid; gap: 10px; margin-bottom: 20px; }
.talk-form textarea, .talk-form input, .form input:not([type=checkbox]), .form select, .form textarea, .bigsearch input {
  width: 100%; min-height: 48px; padding: 12px 14px; background: var(--panel); color: var(--text); border: 1px solid var(--line-2); border-radius: 2px; font: 400 1.05rem/1.4 var(--sans);
}
.talk-form textarea:focus, .talk-form input:focus, .form input:focus, .form select:focus, .form textarea:focus, .bigsearch input:focus { outline: none; border-color: var(--yellow); }
.talk-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.talk-note { margin: 0; font-size: .9rem; color: var(--muted); }
.talk-err { color: var(--red); font-weight: 700; margin: 0; }
.talk-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.talk-list li { position: relative; padding: 14px 0 14px; border-bottom: 1px solid var(--line); }
.talk-list li.is-new { animation: slidein .4s var(--ease); }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } }
.tk-h { margin: 0 0 4px; }
.tk-h b { font-weight: 800; }
.tk-h span { color: var(--muted); font-size: .9rem; margin-left: 6px; }
.tk-b { margin: 0; white-space: pre-wrap; color: var(--text-2); max-width: 46em; }
.tk-flag { position: absolute; right: 0; top: 10px; background: none; border: 0; color: var(--muted); font-size: .9rem; min-height: 40px; min-width: 48px; }
.tk-flag:hover { color: var(--red); }

/* ---------- forms ---------- */
.post { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); padding-top: clamp(28px, 5vw, 56px); padding-bottom: 80px; align-items: start; }
.rules { color: var(--text-2); padding-left: 1.2em; }
.rules li { margin-bottom: 8px; }
.form { display: grid; gap: 20px; background: var(--asphalt-2); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font-weight: 700; }
.form label > input, .form label > select, .form label > textarea, .form label > .hint { flex-basis: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.hint { font-weight: 400; font-size: .95rem; color: var(--muted); }
.req { font-weight: 600; font-size: .85rem; color: var(--yellow); }
.err { color: var(--red); font-weight: 700; font-size: .95rem; }
.form .btn { justify-self: start; }
.bigsearch { display: flex; gap: 8px; max-width: 720px; }
.bigsearch button { min-height: 48px; padding: 0 20px; background: var(--yellow); color: #000; border: 0; font-weight: 800; border-radius: 2px; }
.count { color: var(--muted); }
.thanks, .nf { padding-top: clamp(40px, 8vw, 100px); padding-bottom: 100px; max-width: 900px; }
.nf-k { font-size: clamp(5rem, 16vw, 11rem); line-height: .8; margin: 0; color: var(--red); text-transform: uppercase; }
.prose-page { padding-top: 40px; padding-bottom: 80px; }
.prose { max-width: 42em; font-size: 1.12rem; color: var(--text-2); }
.prose b { color: var(--text); }
.admin { padding-top: 32px; padding-bottom: 80px; }
.adm { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.adm-c { padding: 12px 0; border-bottom: 1px solid var(--line); }
.adm-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.adm-flag { margin: 8px 0 0; padding: 8px 12px; border-left: 4px solid var(--yellow); background: var(--panel); }
.adm-flag.bad { border-left-color: var(--red); }
.adm-flag span, .adm-yt { display: block; color: var(--muted); font-size: .88rem; }

/* ---------- swag ---------- */
.swag-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.swag-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 58%; }
.swag-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,16,17,.94) 0%, rgba(15,16,17,.78) 34%, rgba(15,16,17,.2) 70%, rgba(15,16,17,.05) 100%), linear-gradient(0deg, var(--asphalt) 0%, rgba(15,16,17,0) 30%); }
.swag-top { position: relative; z-index: 1; padding-top: clamp(80px, 15vw, 210px); padding-bottom: clamp(48px, 8vw, 120px); }
.swag-top .page-sub { max-width: 34rem; color: var(--text); }
.swag-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.sw { background: var(--asphalt-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.sw-art { aspect-ratio: 1; overflow: hidden; background: var(--panel); border-bottom: 1px solid var(--line); }
.sw-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sw:hover .sw-art img { transform: scale(1.035); }
.swag-note { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.sw-b { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.sw-t { margin: 0; font: italic 900 1.6rem/1 var(--sans); font-stretch: 68%; text-transform: uppercase; }
.sw-d { margin: 8px 0 14px; color: var(--text-2); font-size: .98rem; }
.sw-buy { margin: auto 0 0; }
.sw-soon { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px dashed var(--line-2); color: var(--muted); font: 700 .8rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.sw-p { font-family: var(--mono); margin-left: 6px; }
.sw-sz { display: block; margin-top: 8px; color: var(--muted); font-size: .88rem; }
.adm-shop { margin-bottom: 14px; gap: 10px; }
.adm-shop p { margin: 0; }
.swag-list { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 1fr); gap: 40px 56px; align-items: center; }
.swag-proof { margin: 0; }
.proof-logo { display: block; width: 100%; height: auto; aspect-ratio: 5; }
.swag-proof figcaption { margin-top: 10px; color: var(--muted); font-size: .95rem; padding-left: 4px; }
.swag-form, .swag-in { max-width: 40rem; background: var(--asphalt-2); border: 1px solid var(--line); border-top: 4px solid var(--yellow); padding: 26px 28px 30px; }
.swag-form .sec-h, .swag-in .sec-h { margin-top: 0; }
.swag-form .page-sub { margin-top: -6px; }
.sw-want { border: 0; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.sw-want legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.sw-want legend .hint { display: block; font-weight: 400; }
.chk { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 8px; min-height: 40px; font-weight: 600; }
.chk input { flex-basis: auto !important; width: 20px; height: 20px; min-height: 0; accent-color: var(--yellow); margin: 0; }
@media (max-width: 1080px) { .swag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .swag-list { grid-template-columns: 1fr; } .swag-proof { order: -1; } }
@media (max-width: 520px) { .swag-grid { grid-template-columns: 1fr; } .swag-form, .swag-in { padding: 20px 18px 24px; } }

/* ---------- ad slots: labeled, space held so nothing jumps ---------- */
.ad { margin: 28px 0; padding-top: 10px; border-top: 1px solid var(--line); }
.ad-k { margin: 0 0 8px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ad-inline ins, .ad-inline .ad-box { min-height: 250px; }
.ad-side { margin-top: 24px; }
.ad-side ins, .ad-side .ad-box { min-height: 250px; }
.ad-box { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, var(--asphalt-2) 0 12px, var(--panel) 12px 24px); color: var(--muted); font-weight: 700; border: 1px dashed var(--line-2); }
.foot-btn { background: none; border: 0; padding: 0; text-align: left; color: var(--text-2); min-height: 40px; font: inherit; }
.foot-btn:hover { color: var(--yellow); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: #000; margin-top: 40px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 56px; padding-top: 40px; padding-bottom: 40px; }
.foot-brand { margin: 0 0 14px; display: flex; flex-direction: column; text-transform: uppercase; line-height: .9; }
.foot-brand .b2 { display: block; width: 300px; max-width: 100%; height: auto; aspect-ratio: 5; }
.foot-note { margin: 0; color: var(--muted); max-width: 36em; }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
.foot-nav a { text-decoration: none; color: var(--text-2); min-height: 40px; display: flex; align-items: center; }

/* ---------- small screens ---------- */
@media (max-width: 1080px) {
  .feature, .clip, .top-wrap, .post { grid-template-columns: 1fr; }
  .clip-side, .top-wrap .tower { position: static; }
  .msearch { display: none; }
}
@media (max-width: 700px) {
  .mast { position: static; }
  .mast-in { flex-wrap: wrap; padding-top: 10px; padding-bottom: 4px; gap: 4px 16px; }
  .brand .b2 { width: 184px; }
  .post-cta { margin-left: auto; min-height: 44px; padding: 0 14px; }
  .nav { order: 3; flex-basis: 100%; gap: 0 18px; }
  .grid, .top-grid { grid-template-columns: 1fr; gap: 22px; }
  .card-t { font-size: 1.55rem; }
  .cat-index a { grid-template-columns: 1fr; gap: 4px; }
  .form-row { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm { grid-template-columns: 1fr; }
  .play { font-size: 1.3rem; min-height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  @view-transition { navigation: none; }
}
