/* StreetKings Italia / V54 — identità condivisa, giallo originale del logo. */
.site-v54 { --yellow: #DFFA03; --white: #f5f6f4; --muted: #aeb2b8; background: #080a0d; color: var(--white); }
.site-v54 :is(a, button, summary):focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
.site-v54 button { font: inherit; }
.site-v54 [id] { scroll-margin-top: 100px; }
.race-skip { position: fixed; left: 20px; top: -100px; z-index: 200; padding: 16px; background: var(--yellow); color: #080a0d; }
.race-skip:focus { top: 16px; }
.site-v54 .topbar { background: rgba(8,10,13,.94); backdrop-filter: blur(12px); border-bottom: 1px solid #ffffff18; padding-inline: max(28px, calc((100vw - 1360px) / 2)); }
.site-v54 .topbar .brand img { width: 172px; }
.site-v54 .topbar .nav { font-size: .875rem; gap: 28px; }
.site-v54 .topbar .nav > a { color: #e2e4e6; letter-spacing: .035em; }
.site-v54 .topbar .nav > a:hover { color: var(--yellow); }
.site-v54 .topbar .search-trigger { color: #e2e4e6; font-size: .875rem; }
.site-v54 .topbar .search-trigger kbd { color: #aeb2b8; }
.race-hero { position: relative; isolation: isolate; min-height: min(980px, 100svh); padding: 152px max(28px, calc((100vw - 1360px) / 2)) 94px; display: flex; align-items: center; background: #11151b; }
.race-cover, .race-cover img { position: absolute; inset: 0; width: 100%; height: 100%; }
.race-cover { z-index: -3; overflow: hidden; }
.race-cover img { object-fit: cover; object-position: 65% 58%; }
.race-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,8,12,.94) 0%, rgba(5,8,12,.76) 28%, rgba(5,8,12,.25) 60%, rgba(5,8,12,.08)), linear-gradient(0deg, #080a0d 0%, transparent 32%); }
.race-hero::after { content: ''; position: absolute; top: 135px; bottom: 110px; right: 5%; width: 1px; background: linear-gradient(transparent, #ffffff55, transparent); transform: skewX(-13deg); z-index: -1; }
.race-hero-inner { width: 100%; max-width: 1360px; margin-inline: auto; }
.race-eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .14em; line-height: 1.5; color: var(--yellow); }
.race-eyebrow > span { display: inline-block; width: 24px; height: 8px; margin-right: 9px; background: var(--yellow); transform: skewX(-25deg); }
.race-hero h1 { font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(6rem, 10.7vw, 10.8rem); font-weight: 400; letter-spacing: -.015em; line-height: .88; margin: 28px 0 24px; }
.race-hero h1 em { color: var(--yellow); font-style: italic; }
.race-intro { font-size: 1.125rem; line-height: 1.65; color: #e0e2e6; max-width: 440px; }
.race-launch { margin-top: 30px; max-width: 620px; }
.race-launch-heading { display: flex; gap: 9px; align-items: center; font-size: .875rem; letter-spacing: .1em; }
.race-signal { width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; }
.race-launch > p { font-size: .8125rem; color: #c3c8cf; margin-top: 8px; line-height: 1.6; letter-spacing: .04em; }
.race-countdown { display: flex; align-items: flex-start; gap: 16px; width: fit-content; margin: 16px 0 22px; }
.race-countdown > div { text-align: center; min-width: 44px; }
.race-countdown strong { font: 400 2.65rem/1 'Bebas Neue', Impact, sans-serif; font-variant-numeric: tabular-nums; }
.race-countdown span { display: block; font-size: .75rem; letter-spacing: .06em; margin-top: 4px; color: #c3c8cf; }
.race-countdown > b { color: #9da1a7; line-height: 1.5; font-size: 1.5rem; font-weight: 400; }
.race-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.site-v54 .race-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; height: auto; max-width: 100%; padding: 17px 28px; background: var(--yellow); color: #10120a; font-size: .875rem; font-weight: 800; letter-spacing: .025em; border: 0; border-radius: 0; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); box-shadow: none; transition: background .2s, transform .2s; }
.site-v54 .race-primary:hover { background: #E8FF3A; transform: translateY(-2px); }
.site-v54 .race-primary:focus-visible { clip-path: none; }
.race-text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
.race-text-link:hover { color: var(--yellow); }
.race-launch.is-live .race-countdown { display: none; }
.race-launch.is-live .race-actions { margin-top: 24px; }
.race-launch .launch-secondary-cta { display: none; } /* Discord remains in the navigation. */
.race-hero-bottom { position: absolute; inset: auto max(28px, calc((100vw - 1360px) / 2)) 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 20px; border-top: 1px solid #ffffff30; font-size: .75rem; letter-spacing: .1em; line-height: 1.6; color: #c3c8cf; }
.race-hero-bottom i { color: var(--yellow); padding-inline: 8px; }
.race-hero-bottom a { color: var(--white); padding-block: 10px; }
.race-wrap { max-width: 1416px; padding-inline: 28px; margin-inline: auto; }
.race-world { padding-top: 88px; padding-bottom: 0; }
.race-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 34px; }
.race-section-head h2 { font: 400 clamp(3.3rem, 5.2vw, 5rem)/.98 'Bebas Neue', Impact, sans-serif; letter-spacing: .005em; margin-top: 18px; }
.race-section-head h2 span { color: #a3a9b2; }
.race-section-head > p, .race-start-copy > p { max-width: 340px; color: #b9bec6; line-height: 1.75; font-size: 1rem; }
.race-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.race-tile { position: relative; isolation: isolate; min-height: 365px; padding: 24px; background: #171b22; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; border-top: 2px solid #626970; }
.race-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.race-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #06090cb8, #06090c18 32%, #06090cea 85%); z-index: -1; }
.race-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; }
.race-tile-top b { font-size: 1.5rem; font-weight: 400; }
.race-tile p { font-size: .75rem; letter-spacing: .08em; color: var(--yellow); font-weight: 700; line-height: 1.5; }
.race-tile h3 { margin-top: 10px; font: 400 clamp(2rem, 2.8vw, 2.85rem)/1.1 'Bebas Neue', Impact, sans-serif; }
.race-tile div > span { display: block; font-size: 1rem; line-height: 1.6; color: #c4c9cf; margin-top: 10px; }
.race-tile:hover { border-color: var(--yellow); }
.race-tile:hover img { transform: scale(1.035); }
.race-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding-block: 22px; border-bottom: 1px solid #ffffff25; }
.race-links > span { font-size: .75rem; letter-spacing: .07em; color: #b0b5bc; margin-right: auto; }
.race-links a { font-size: .875rem; padding-block: 12px; }
.race-links a:hover { color: var(--yellow); }
.race-start { padding-block: 82px 72px; }
.race-start-copy .race-primary { margin-top: 20px; }
.race-quicklinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid #ffffff25; }
.race-quicklinks a { display: flex; align-items: center; gap: 16px; padding: 25px 20px; border-right: 1px solid #ffffff25; font-size: 1rem; font-weight: 600; }
.race-quicklinks a:first-child { padding-left: 0; }
.race-quicklinks a:last-child { border-right: 0; }
.race-quicklinks small { color: var(--yellow); font-size: .8125rem; font-weight: 400; }
.race-quicklinks span { margin-left: auto; }
.race-quicklinks a:hover { color: var(--yellow); }
.race-checklist { border-bottom: 1px solid #ffffff25; padding-block: 8px; }
.race-checklist summary { cursor: pointer; padding: 20px 0; font-size: 1rem; line-height: 1.6; }
.race-checklist summary > span { float: right; color: #aeb4bd; font-size: .875rem; }
.race-checklist > p { color: #b9bec6; font-size: 1rem; line-height: 1.65; margin: 10px 0 18px; }
.race-check-row { display: flex; align-items: center; gap: 14px; padding-block: 9px; }
.race-check-row button { flex: 0 0 44px; width: 44px; height: 44px; background: #141920; color: #aeb4bd; border: 1px solid #5e6772; cursor: pointer; }
.race-check-row button.done { background: var(--yellow); color: #080a0d; border-color: var(--yellow); }
.race-check-row a { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex: 1; min-height: 44px; font-size: 1rem; }
.race-check-row a:hover { color: var(--yellow); }
.race-reset { padding: 15px 0; margin-block: 10px; background: none; border: 0; color: #b9bec6; cursor: pointer; text-decoration: underline; }
.site-v54 .race-footer { max-width: none; width: auto; margin: 0; padding: 28px max(28px, calc((100vw - 1360px) / 2)); background: #0e1116; border-top: 1px solid #ffffff18; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-v54 .race-footer img { width: 135px; height: auto; border-radius: 0; }
.site-v54 .race-footer p { margin: 0; text-align: left; color: #aeb4bd; font-size: .8125rem; line-height: 1.5; }
.race-version { margin-left: 9px; padding: 4px 6px; border: 1px solid #ffffff30; font-size: .75rem; }
.race-footer nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: .875rem; }
.race-footer nav a { padding-block: 12px; }
.race-footer nav a:hover { color: var(--yellow); }
@media (min-width: 1700px) { .race-cover img { object-position: 65% 63%; } }
@media (max-width: 1050px) {
  .site-v54 .topbar .nav { gap: 0; max-height: calc(100svh - 82px); overflow-y: auto; }
  .race-hero { min-height: 880px; }
  .race-tile { padding: 20px; min-height: 330px; }
  .race-links > span { width: 100%; }
  .site-v54 .race-footer { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .race-hero { padding-top: 130px; padding-bottom: 110px; min-height: 850px; }
  .race-cover img { object-position: 65% center; }
  .race-hero::before { background: linear-gradient(90deg, #05080ce8, #05080c70 80%), linear-gradient(0deg, #080a0d, transparent 40%); }
  .race-hero h1 { font-size: clamp(5.75rem, 17vw, 8rem); }
  .race-hero-bottom > span { display: none; }
  .race-hero-bottom { justify-content: flex-end; }
  .race-section-head { align-items: flex-start; flex-direction: column; gap: 22px; }
  .race-section-head > p, .race-start-copy > p { max-width: 100%; }
  .race-tiles { grid-template-columns: 1fr; gap: 14px; }
  .race-tile { min-height: 295px; }
  .race-tile h3 { font-size: 2.75rem; }
  .race-tile img { object-position: center 55%; }
  .race-world { padding-top: 56px; }
  .race-start { padding-block: 56px; }
  .race-quicklinks { grid-template-columns: 1fr; }
  .race-quicklinks a { padding: 22px 0; border-right: 0; border-bottom: 1px solid #ffffff18; }
  .race-quicklinks a:last-child { border-bottom: 0; }
  .site-v54 .race-footer { align-items: flex-start; gap: 18px; }
  .race-footer nav { width: 100%; }
}
@media (max-width: 450px) {
  .race-wrap { padding-inline: 20px; }
  .race-hero { padding-inline: 20px; min-height: 840px; }
  .race-hero h1 { font-size: clamp(4.75rem, 20vw, 6rem); }
  .race-eyebrow { font-size: .75rem; letter-spacing: .08em; }
  .race-intro { font-size: 1rem; }
  .race-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .race-countdown { gap: 13px; }
  .race-checklist summary > span { float: none; display: block; margin-left: 18px; }
  .site-v54 .race-footer { flex-direction: column; padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-v54 *, .site-v54 *::before, .site-v54 *::after { animation: none !important; transition: none !important; }
}
/* Guide, regolamento, FAQ, VIP e pagina 404: stessa identità della homepage. */
.site-v54 {
  --bg: #080a0d;
  --bg-soft: #0e1116;
  --panel: #12171e;
  --panel-hover: #191f28;
  --yellow-soft: #E8FF3A;
  --line: rgba(223,250,3,.24);
  --max: 1320px;
}
.site-v54 .guide-page { background: var(--bg); }
.site-v54 .guide-hero { min-height: 340px; background: #10151c; border-bottom: 1px solid #ffffff20; isolation: isolate; }
.site-v54 .guide-hero::before { opacity: 1; transform: none; background: linear-gradient(90deg, #080a0df5 12%, #080a0dd9 48%, #080a0d66), linear-gradient(0deg, #080a0d, transparent 60%), url('/assets/media/hero-incrocio.webp') center 55% / cover no-repeat; }
.site-v54 .guide-hero::after { content: ''; position: absolute; right: 12%; top: 44px; bottom: 44px; width: 3px; background: linear-gradient(transparent, var(--yellow), transparent); opacity: .6; transform: skewX(-15deg); pointer-events: none; }
.site-v54 .guide-hero-inner { width: min(var(--max), calc(100% - 56px)); padding-block: 44px 48px; }
.site-v54 .guide-breadcrumb { color: #b4bac3; font-size: .8125rem; letter-spacing: .08em; margin-bottom: 24px; }
.site-v54 .guide-breadcrumb span { color: #d5d9df; }
.site-v54 .guide-hero h1 { font-size: clamp(3.6rem, 6.3vw, 6.5rem); line-height: .97; letter-spacing: .005em; max-width: 1100px; overflow-wrap: break-word; }
.site-v54 .guide-hero h1 span { color: var(--yellow); }
.site-v54 .guide-hero p { color: #c1c7d0; font-size: 1rem; max-width: 760px; line-height: 1.75; }
.site-v54 :is(.section-kicker, .guide-section-kicker) { font-size: .8125rem; line-height: 1.6; color: var(--yellow); letter-spacing: .12em; }
.site-v54 .guide-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 58px; padding-block: 52px 72px; }
.site-v54 .guide-sidebar { top: 106px; max-height: calc(100svh - 130px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #505863 transparent; padding-right: 8px; }
.site-v54 .guide-sidebar-label { font-size: .75rem; color: #b4bac3; letter-spacing: .12em; padding-bottom: 8px; }
.site-v54 .guide-sidebar nav { border-top: 1px solid #ffffff20; }
.site-v54 .guide-sidebar a { color: #b7bec8; font-size: .875rem; padding: 12px 13px; line-height: 1.4; border-left: 2px solid transparent; }
.site-v54 .guide-sidebar a:is(:hover, .active) { color: var(--yellow); border-left-color: var(--yellow); padding-left: 13px; background: #DFFA030c; }
.site-v54 .guide-section { margin-bottom: 52px; }
.site-v54 .guide-section h2 { font-size: clamp(2.4rem, 3.7vw, 3.6rem); line-height: 1.05; letter-spacing: .01em; }
.site-v54 .guide-section h3 { line-height: 1.4; }
.site-v54 .guide-section p { color: #bcc3cc; font-size: 1rem; line-height: 1.8; }
.site-v54 .guide-section strong { color: #f5f6f4; }
.site-v54 .guide-section p a:not(.term) { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.site-v54 .guide-section :is(ul, ol) { color: #bcc3cc; font-size: 1rem; line-height: 1.8; }
.site-v54 :is(.info-card, .guide-index-card, .problem-card, .related-guide-card, .vip-perk-card, .vip-note-card, .used-sale-card, .delivery-block) { background: var(--panel); border: 1px solid #ffffff20; border-top: 2px solid #646e7b; border-radius: 0; box-shadow: none; }
.site-v54 :is(.info-card.yellow, .vip-perk-card, .used-sale-card.immediate) { border-top-color: var(--yellow); background: linear-gradient(135deg, #DFFA0309, transparent 65%), var(--panel); }
.site-v54 :is(.info-card, .problem-card, .vip-perk-card, .vip-note-card, .used-sale-card) { padding: 26px; }
.site-v54 :is(.info-card, .problem-card, .vip-perk-card, .vip-note-card, .used-sale-card) small { font-size: .8125rem; color: var(--yellow); line-height: 1.5; letter-spacing: .08em; }
.site-v54 :is(.info-card, .problem-card, .used-sale-card) h3 { font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; font-size: 2rem; line-height: 1.1; }
.site-v54 .guide-index-grid { gap: 16px; }
.site-v54 .guide-index-card { min-height: 210px; padding: 28px 28px 46px; }
.site-v54 .guide-index-card small { font-size: .8125rem; letter-spacing: .1em; }
.site-v54 .guide-index-card h2 { font-size: 2.5rem; margin-block: 15px 10px; line-height: 1.05; }
.site-v54 .guide-index-card p { color: #b7bec8; font-size: 1rem; line-height: 1.65; }
.site-v54 .guide-index-card b { font-size: 1.35rem; }
.site-v54 :is(.guide-index-card, .related-guide-card):hover { border-color: var(--yellow); background: var(--panel-hover); transform: translateY(-3px); }
.site-v54 :is(.spoiler-note, .tip) { background: #DFFA0309; color: #bcc3cc; border: 0; border-left: 3px solid var(--yellow); font-size: 1rem; padding: 20px 24px; line-height: 1.75; }
.site-v54 :is(.spoiler-note, .tip) strong { color: var(--yellow); }
.site-v54 .page-toc { background: #10151c; border: 1px solid #ffffff20; border-left: 3px solid var(--yellow); margin-bottom: 42px; padding: 24px; }
.site-v54 .page-toc-head { flex-wrap: wrap; gap: 10px; }
.site-v54 .page-toc-head small { font-size: .8125rem; }
.site-v54 .page-toc-head span { color: #b4bac3; font-size: .875rem; }
.site-v54 .page-toc-links { gap: 8px; }
.site-v54 .page-toc-links a { font-size: .875rem; min-height: 44px; padding: 10px 14px; line-height: 1.45; color: #c5cbd3; border-color: #ffffff24; background: #ffffff04; }
.site-v54 .page-toc-links a:is(:hover, .active) { background: var(--yellow); color: #10120a; border-color: var(--yellow); }
.site-v54 .step { background: var(--panel); border: 1px solid #ffffff20; gap: 20px; padding: 24px; }
.site-v54 .step::before { border: 0; background: var(--yellow); color: #080a0d; transform: skewX(-7deg); }
.site-v54 .step p { font-size: 1rem; }
.site-v54 :is(.faq-item, .troubleshoot-item) { background: #10151c; border: 1px solid #ffffff20; border-radius: 0; }
.site-v54 :is(.faq-item, .troubleshoot-item)[open] { border-color: #DFFA0366; background: #141a22; }
.site-v54 :is(.faq-item, .troubleshoot-item) summary { font-size: 1rem; line-height: 1.6; padding: 22px 52px 22px 24px; color: #f5f6f4; }
.site-v54 :is(.faq-item, .troubleshoot-item) summary::after { color: var(--yellow); }
.site-v54 .troubleshoot-body { padding: 0 24px 24px; }
.site-v54 .trouble-steps span { color: #bcc3cc; font-size: 1rem; }
.site-v54 .trouble-link { font-size: .875rem; min-height: 44px; padding: 13px 18px; border-color: #DFFA0370; }
.site-v54 .control-device-filter { background: #10151c; padding: 8px; gap: 8px; flex-wrap: wrap; }
.site-v54 .control-device-filter button { min-height: 44px; font-size: .875rem; color: #c5cbd3; padding: 10px 16px; }
.site-v54 .control-device-filter button.active { background: var(--yellow); color: #080a0d; }
.site-v54 .control-matrix { background: #10151c; border-color: #ffffff25; }
.site-v54 .control-head { background: #191f28; }
.site-v54 .control-head > div { font-size: .8125rem; color: var(--yellow); }
.site-v54 .control-row { border-color: #ffffff18; }
.site-v54 .control-row > div { font-size: .875rem; line-height: 1.6; }
.site-v54 .control-row .control-action { color: #f5f6f4; }
.site-v54 .control-row small { color: #b4bac3; font-size: .8125rem; }
.site-v54 .key-row span:last-child { color: #bcc3cc; font-size: 1rem; }
.site-v54 :is(.key, .pad-key) { font-size: .875rem; }
.site-v54 .controller-nav article { background: var(--panel); border-color: #ffffff25; }
.site-v54 .controller-nav :is(small, span) { font-size: .875rem; line-height: 1.6; }
.site-v54 .controller-nav span { color: #b7bec8; }
.site-v54 .guide-media { border: 1px solid #ffffff25; border-radius: 0; background: #10151c; }
.site-v54 .guide-media::after { display: none; }
.site-v54 .guide-media img { transform: none; }
.site-v54 .guide-media:hover img { transform: none; }
.site-v54 .guide-media figcaption { color: #b7bec8; font-size: .875rem; line-height: 1.6; padding: 16px 20px; border-top: 1px solid #ffffff18; }
.site-v54 .mode-visual-card { border-radius: 0; border-top: 2px solid var(--yellow); }
.site-v54 .mode-visual-card small { font-size: .8125rem; }
.site-v54 .mode-visual-card p { color: #e1e4e8; line-height: 1.6; }
.site-v54 .related-guides { padding-top: 30px; border-top: 1px solid #ffffff25; }
.site-v54 .related-guides-head small { font-size: .8125rem; }
.site-v54 .related-guide-card { padding: 24px 40px 36px 24px; }
.site-v54 .related-guide-card small { font-size: .75rem; color: #b4bac3; }
.site-v54 .related-guide-card strong { font-size: 1.8rem; }
.site-v54 .related-guide-card span { font-size: .875rem; line-height: 1.7; color: #b7bec8; }
.site-v54 .next-guide { margin-top: 40px; flex-wrap: wrap; align-items: center; border-color: #ffffff25; }
.site-v54 .next-guide a { font-size: .875rem; padding-block: 12px; color: #c5cbd3; }
.site-v54 .next-guide a:hover { color: var(--yellow); }
.site-v54 .discord-strip { width: auto; max-width: none; margin: 0; padding: 40px max(28px, calc((100vw - var(--max)) / 2)); background: #12171e; border-block: 1px solid #ffffff20; display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.site-v54 .discord-strip small { font-size: .8125rem; color: var(--yellow); letter-spacing: .1em; }
.site-v54 .discord-strip h2 { font: 400 clamp(2.4rem, 4vw, 3.4rem)/1.1 'Bebas Neue', Impact, sans-serif; margin-top: 10px; }
.site-v54 .discord-strip p { color: #bcc3cc; font-size: 1rem; line-height: 1.7; margin-top: 10px; }
.site-v54 .btn { min-height: 54px; height: auto; padding: 16px 25px; max-width: 100%; border-radius: 0; font-size: .875rem; line-height: 1.5; text-align: center; }
.site-v54 .btn-primary { background: var(--yellow); color: #080a0d; border: 0; box-shadow: none; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.site-v54 .btn-primary:hover { background: var(--yellow-soft); }
.site-v54 .btn-primary:focus-visible { clip-path: none; }
.site-v54 .race-footer .site-updated { display: inline-block; margin-top: 8px; font-size: .75rem; color: #b4bac3; }
.site-v54 .race-footer .site-updated strong { color: #cbd1d9; }
.site-v54 .vip-shell { width: min(var(--max), calc(100% - 56px)); padding-block: 52px 72px; }
.site-v54 .vip-hero h1 { font-size: clamp(3.4rem, 5.5vw, 5.8rem); }
.site-v54 .vip-performance-banner { background: #080a0dcc; max-width: 850px; padding: 20px 24px; }
.site-v54 .vip-performance-banner small { font-size: .8125rem; }
.site-v54 .vip-performance-banner strong { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; }
.site-v54 .vip-performance-banner span { color: #c5cbd3; font-size: 1rem; line-height: 1.6; }
.site-v54 :is(.vip-fairplay, .vip-sound-feature, .vip-wheels-feature, .crew-champion-callout, .story-hours-callout) { background: #12171e; border-color: #DFFA0355; box-shadow: none; }
.site-v54 :is(.vip-fairplay, .vip-sound-copy, .vip-wheels-copy, .crew-champion-callout, .story-hours-callout) small { font-size: .8125rem; color: var(--yellow); }
.site-v54 :is(.vip-sound-note, .vip-wheels-note, .vip-compare-note, .story-hours-callout) span { color: #bcc3cc; font-size: .875rem; line-height: 1.7; }
.site-v54 .vip-compare { background: #12171e; border-color: #ffffff25; }
.site-v54 .vip-compare-head { background: #1b222c; }
.site-v54 .vip-compare-head :is(span, strong) { font-size: .875rem; }
.site-v54 .vip-compare-row :is(span, b) { font-size: 1rem; line-height: 1.6; color: #d5dae1; }
.site-v54 .vip-compare .vip-col { background: #DFFA030c; color: var(--yellow); }
.site-v54 :is(.delivery-times, .king-points-grid, .crew-discount-grid, .king-benefits-grid, .sponsor-rating-grid) { border-color: #ffffff25; }
.site-v54 :is(.crew-discount-grid, .king-benefits-grid, .sponsor-rating-grid) article { background: #12171e; border-color: #ffffff25; }
.site-v54 :is(.delivery-times, .king-points-grid, .crew-discount-grid, .king-benefits-grid, .sponsor-rating-grid) small { font-size: .8125rem; color: #c5cbd3; }
.site-v54 :is(.king-points-grid, .sponsor-rating-grid) span { font-size: .875rem; color: #bcc3cc; }
.site-v54 .delivery-note { color: #bcc3cc !important; font-size: .875rem !important; }
.site-v54 .search-panel { background: #10151c; border: 1px solid #ffffff25; border-top: 3px solid var(--yellow); border-radius: 0; }
.site-v54 .search-box input { font-size: 1rem; }
.site-v54 .search-result { background: #141a22; border-color: #ffffff20; }
.site-v54 .search-result strong { font-size: 1rem; }
.site-v54 .search-result :is(em, .search-answer) { font-size: .875rem; color: #bcc3cc; line-height: 1.6; }
.site-v54 .search-result small { font-size: .75rem; }
.site-v54 .search-suggestions button { font-size: .8125rem; min-height: 44px; }
.site-v54 .search-empty span { color: #bcc3cc; font-size: .875rem; line-height: 1.65; }
.site-v54 .term::after { font-size: .875rem; color: #d1d6df; background: #1b222c; }
.site-v54 .smart-404 { min-height: calc(100svh - 130px); padding: 150px 28px 64px; background: linear-gradient(90deg, #080a0df5, #080a0dbd), url('/assets/media/hero-incrocio.webp') center / cover; }
.site-v54 .smart-404-shell { border: 0; background: transparent; box-shadow: none; max-width: 1000px; padding: 0; }
.site-v54 .smart-404-logo { display: none; }
.site-v54 .smart-404 h1 { font-size: clamp(4.5rem, 10vw, 8rem); line-height: .95; }
.site-v54 .smart-404 p { color: #c5cbd3; font-size: 1rem; line-height: 1.75; }
.site-v54 .smart-404-search input { font-size: 1rem; background: #141a22; border-color: #DFFA0360; }
.site-v54 .smart-404-link { background: #12171e; border-color: #ffffff25; border-top: 2px solid var(--yellow); }
.site-v54 .smart-404-link small { font-size: .8125rem; color: #bcc3cc; }
.site-v54 .smart-404-link strong { font-size: 1.1rem; }
@media (max-width: 1100px) {
  .site-v54 .guide-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 32px; }
  .site-v54 .related-guides-grid { grid-template-columns: 1fr; }
  .site-v54 .related-guide-card { min-height: 0; }
}
@media (max-width: 900px) {
  .site-v54 .guide-hero-inner, .site-v54 .guide-layout, .site-v54 .vip-shell { width: calc(100% - 40px); }
  .site-v54 .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 26px; }
  .site-v54 .guide-sidebar { position: static; max-height: none; overflow-x: auto; padding: 0 0 10px; }
  .site-v54 .guide-sidebar nav { border-top: 0; }
  .site-v54 .guide-sidebar a { min-height: 44px; }
  .site-v54 .guide-hero { min-height: 310px; }
  .site-v54 .guide-hero-inner { padding-block: 36px; }
  .site-v54 .discord-strip { flex-direction: column; align-items: flex-start; padding: 32px 20px; }
  .site-v54 .vip-shell { padding-block: 36px 48px; }
}
@media (max-width: 620px) {
  .site-v54 .guide-hero h1 { font-size: clamp(3rem, 12vw, 4.4rem); }
  .site-v54 .guide-hero::after { right: 8%; opacity: .3; }
  .site-v54 .guide-breadcrumb { font-size: .75rem; letter-spacing: .035em; }
  .site-v54 .page-toc { padding: 20px 16px; }
  .site-v54 .guide-index-card { min-height: 0; padding: 24px 24px 46px; }
  .site-v54 .guide-section { margin-bottom: 40px; }
  .site-v54 .step { padding: 18px; gap: 14px; }
  .site-v54 .vip-compare-row > *, .site-v54 .vip-compare-head > * { min-width: 0; padding: 12px 8px; overflow-wrap: anywhere; }
  .site-v54 .vip-compare-row :is(span, b), .site-v54 .vip-compare-head :is(span, strong) { font-size: .875rem; }
  .site-v54 .smart-404 { padding: 120px 20px 48px; }
  .site-v54 .smart-404-links { grid-template-columns: 1fr; }
  .site-v54 .search-panel { max-height: calc(100svh - 32px); }
}

/* =====================================================================
   V51 — EDITORIAL GUIDE NAVIGATION
   ===================================================================== */

/* Sidebar: group the growing guide without making the list feel endless. */
.site-v54 .guide-sidebar nav {
  display: flex;
  flex-direction: column;
}

.site-v54 .guide-nav-group {
  margin: 18px 0 4px;
  padding: 0 13px;
  color: var(--yellow);
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  opacity: .95;
}

.site-v54 .guide-sidebar nav > a:first-child {
  margin-bottom: 4px;
  border-bottom: 1px solid #ffffff12;
}

/* Index intro */
.site-v54 .guide-index-content {
  max-width: none;
}

.site-v54 .guide-index-intro {
  margin-bottom: 58px;
}

.site-v54 .guide-index-intro > p {
  max-width: 880px;
}

/* 4 high-level category shortcuts */
.site-v54 .guide-category-jumps {
  margin: 30px 0 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.site-v54 .guide-category-jumps a {
  min-height: 116px;
  padding: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #ffffff20;
  border-top: 2px solid #59636f;
  background: #10151c;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.site-v54 .guide-category-jumps a:hover {
  transform: translateY(-3px);
  border-top-color: var(--yellow);
  border-color: #DFFA0355;
  background: #141a22;
}

.site-v54 .guide-category-jumps small {
  color: var(--yellow);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.site-v54 .guide-category-jumps strong {
  margin-top: 13px;
  color: #f5f6f4;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
}

.site-v54 .guide-category-jumps span {
  margin-top: 7px;
  color: #9098a2;
  font-size: .75rem;
  line-height: 1.45;
}

/* Editorial category sections */
.site-v54 .guide-category-section {
  margin: 0 0 64px;
  scroll-margin-top: 110px;
}

.site-v54 .guide-category-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 38px;
  align-items: end;
  border-bottom: 1px solid #ffffff20;
}

.site-v54 .guide-category-head h2 {
  margin-top: 6px;
  font: 400 clamp(2.5rem, 4vw, 3.8rem)/1 'Bebas Neue', Impact, sans-serif;
  letter-spacing: .01em;
}

.site-v54 .guide-category-head > p {
  margin: 0 0 4px;
  max-width: 620px;
  color: #aeb5bf;
  font-size: .9375rem;
  line-height: 1.65;
}

.site-v54 .guide-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.site-v54 .guide-category-grid .guide-index-card {
  min-height: 176px;
  padding: 24px 58px 24px 24px;
  position: relative;
}

.site-v54 .guide-category-grid .guide-index-card small {
  color: #8f98a3;
  font-size: .6875rem;
}

.site-v54 .guide-category-grid .guide-index-card h3 {
  margin: 13px 0 8px;
  color: #f5f6f4;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.85rem, 2.7vw, 2.45rem);
  font-weight: 400;
  line-height: 1.02;
}

.site-v54 .guide-category-grid .guide-index-card p {
  max-width: 500px;
  margin: 0;
  color: #aeb5bf;
  font-size: .875rem;
  line-height: 1.6;
}

.site-v54 .guide-category-grid .guide-index-card > b {
  position: absolute;
  right: 22px;
  bottom: 21px;
  color: var(--yellow);
  font-size: 1.25rem;
}

.site-v54 .guide-index-card--spotlight {
  border-top-color: var(--yellow) !important;
  background:
    linear-gradient(135deg, #DFFA030a, transparent 65%),
    #10151c !important;
}

.site-v54 .guide-index-badge {
  margin-left: 9px;
  padding: 4px 6px 3px;
  display: inline-flex;
  vertical-align: middle;
  transform: translateY(-3px);
  border: 1px solid #DFFA0359;
  color: var(--yellow);
  font-family: Inter, sans-serif;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .08em;
}

@media (max-width: 1040px) {
  .site-v54 .guide-category-jumps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-v54 .guide-category-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .site-v54 .guide-nav-group {
    display: none;
  }

  .site-v54 .guide-sidebar nav {
    display: flex;
    flex-direction: row;
  }

  .site-v54 .guide-sidebar nav > a:first-child {
    margin-bottom: 0;
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .site-v54 .guide-category-jumps,
  .site-v54 .guide-category-grid {
    grid-template-columns: 1fr;
  }

  .site-v54 .guide-category-jumps a {
    min-height: 96px;
  }

  .site-v54 .guide-category-section {
    margin-bottom: 48px;
  }

  .site-v54 .guide-category-grid .guide-index-card {
    min-height: 0;
  }
}
