/*
Theme Name: 極速車庫（賽道碳纖）
Theme URI: https://auto.111.org.tw/
Template: nvbase
Description: 極速車庫 Velocity Garage 專用子主題：碳纖維暗紋＋賽車黃＋白、速度線、斜體粗標題、轉速錶油價儀表、規格表式油耗排行（能源署）、行車安全看板（警政署 A1）。
Version: 1.0.0
Author: terry ops
Text Domain: og-auto
*/

:root {
	--cf: #0d0e10;
	--cf2: #15171a;
	--panel: #1b1e22;
	--panel2: #22262b;
	--line: #2e3238;
	--y: #ffd400;
	--y2: #ffe352;
	--w: #f4f4f2;
	--mut: #9ba2ab;
	--red: #ff3b2f;
	--paper: #f2f1ec;
	--paper2: #e7e5dd;
	--ink: #131416;
	--ink2: #4a4f57;
	--wrap: 1240px;
	--lat: 'Chakra Petch', 'Arial Narrow', sans-serif;
	--zh: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
	--carbon:
		linear-gradient(27deg, #121316 5px, transparent 5px) 0 5px / 20px 20px,
		linear-gradient(207deg, #121316 5px, transparent 5px) 10px 0 / 20px 20px,
		linear-gradient(27deg, #1a1c20 5px, transparent 5px) 0 10px / 20px 20px,
		linear-gradient(207deg, #1a1c20 5px, transparent 5px) 10px 5px / 20px 20px,
		linear-gradient(90deg, #16171a 10px, transparent 10px) 0 0 / 20px 20px,
		linear-gradient(#17191c 25%, #141518 25%, #141518 50%, transparent 50%, transparent 75%, #1c1e22 75%, #1c1e22) 0 0 / 20px 20px,
		#131417;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.vg {
	margin: 0; color: var(--w); font: 400 16px/1.7 var(--zh);
	background: var(--carbon); background-attachment: fixed;
	overflow-x: hidden;
}
body.vg a { color: inherit; text-decoration: none; }
body.vg img { max-width: 100%; height: auto; }
.vg-wrap, .nv-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--lat); font-variant-numeric: tabular-nums; }
.vg-skip { position: absolute; left: -9999px; top: 0; }
.vg-skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--y); color: var(--ink); padding: 6px 12px; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 2px; }

/* ---------- header ---------- */
.vg-timing { background: #000; border-bottom: 1px solid #222; font-size: 13px; color: var(--mut); }
.vg-timing-in { display: flex; align-items: center; gap: 18px; min-height: 34px; flex-wrap: wrap; }
.vg-live { display: inline-flex; align-items: center; gap: 6px; font: italic 700 12px/1 var(--lat); letter-spacing: .14em; color: var(--ink); background: var(--y); padding: 4px 10px 4px 8px; transform: skewX(-12deg); }
.vg-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255,59,47,.7); animation: vgPulse 1.6s infinite; }
@keyframes vgPulse { 70% { box-shadow: 0 0 0 7px rgba(255,59,47,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,47,0); } }
.vg-date { color: #d6d9dd; }
.vg-tick { margin-left: auto; display: flex; align-items: baseline; gap: 14px; font-family: var(--lat); }
.vg-tick span { display: inline-flex; gap: 5px; align-items: baseline; }
.vg-tick em { font-style: normal; color: var(--mut); font-size: 12px; }
.vg-tick b { color: var(--y); font-size: 15px; font-weight: 700; }
.vg-tick small { color: #6c727a; font-size: 11px; }

.vg-mast {
	position: relative; overflow: hidden;
	background:
		linear-gradient(100deg, rgba(13,14,16,.2) 0%, rgba(13,14,16,0) 40%),
		repeating-linear-gradient(-62deg, transparent 0 46px, rgba(255,212,0,.035) 46px 48px),
		var(--carbon);
	border-bottom: 1px solid #000;
}
.vg-mast::after { /* 右側速度線 */
	content: ''; position: absolute; right: -40px; top: 0; bottom: 0; width: 46%;
	background: repeating-linear-gradient(180deg, transparent 0 9px, rgba(255,212,0,.16) 9px 11px, transparent 11px 22px, rgba(255,255,255,.06) 22px 23px);
	-webkit-mask: linear-gradient(90deg, transparent, #000 70%); mask: linear-gradient(90deg, transparent, #000 70%);
	transform: skewX(-24deg); pointer-events: none;
}
.vg-mast-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.vg-brand { display: inline-flex; align-items: center; gap: 14px; }
.vg-mark { width: 66px; height: 66px; flex: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
.vg-brand:hover .vg-needle { transform: rotate(14deg); }
.vg-needle { transform-origin: 32px 34px; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.vg-brand-txt { display: flex; flex-direction: column; line-height: 1; }
.vg-name { font: italic 900 40px/1 var(--zh); letter-spacing: .06em; color: #fff; text-shadow: 3px 3px 0 rgba(0,0,0,.45); }
.vg-en { margin-top: 8px; font: italic 700 13px/1 var(--lat); letter-spacing: .42em; color: var(--y); display: flex; align-items: center; gap: 10px; }
.vg-en::before { content: ''; width: 26px; height: 3px; background: var(--y); transform: skewX(-30deg); }
.vg-mast-side { border-left: 3px solid var(--y); padding-left: 18px; transform: skewX(-10deg); }
.vg-mast-side > * { transform: skewX(10deg); }
.vg-slogan { margin: 0; font: 700 20px/1.2 var(--zh); color: #fff; letter-spacing: .12em; display: flex; gap: 8px; align-items: baseline; }
.vg-slogan i { color: var(--y); font: italic 700 22px/1 var(--lat); }
.vg-mast-sub { margin: 6px 0 0; font: 600 11px/1 var(--lat); letter-spacing: .22em; color: var(--mut); }
.vg-mast-sub b { color: #d7dbe0; letter-spacing: .08em; }
.vg-head-search { margin-left: auto; width: 280px; }

.nv-search { display: flex; background: rgba(0,0,0,.55); border: 1px solid #3a3f46; transform: skewX(-10deg); }
.nv-search input, .nv-search button { transform: skewX(10deg); }
.nv-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 10px 14px; font: 15px var(--zh); outline: none; }
.nv-search input::placeholder { color: #7e858e; }
.nv-search button { border: 0; background: var(--y); color: var(--ink); font: 700 14px var(--zh); padding: 0 18px; cursor: pointer; margin: -1px -1px -1px 0; }
.nv-search:focus-within { border-color: var(--y); }

.vg-nav { background: var(--y); position: sticky; top: 0; z-index: 30; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.vg-nav-in ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.vg-nav-in ul::-webkit-scrollbar { display: none; }
.vg-nav li a { display: block; padding: 12px 16px; color: var(--ink); font: italic 900 16px/1 var(--zh); letter-spacing: .06em; white-space: nowrap; position: relative; }
.vg-nav li a:hover, .vg-nav li.on a { background: var(--ink); color: var(--y); transform: skewX(-12deg); }
.vg-nav li a:hover, .vg-nav li.on a { box-shadow: inset 0 -3px 0 var(--y); }
.vg-nav li.vg-nav-data { margin-left: auto; }
.vg-nav li.vg-nav-data + .vg-nav-data { margin-left: 0; }
.vg-nav li.vg-nav-data a { color: var(--ink); border-left: 2px solid rgba(0,0,0,.18); }
.vg-nav li.vg-nav-data a::before { content: '◆ '; font-size: 10px; vertical-align: 2px; }
.vg-stripe { height: 6px; background: repeating-linear-gradient(90deg, #fff 0 18px, var(--ink) 18px 36px); opacity: .9; }

/* ---------- section header ---------- */
.vg-sec { padding: 56px 0; position: relative; }
.vg-sh { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; flex-wrap: wrap; }
.vg-sh::after { content: ''; flex: 1 1 60px; order: 3; height: 10px; min-width: 40px; background: repeating-linear-gradient(-60deg, var(--y) 0 4px, transparent 4px 10px); opacity: .85; }
.vg-sh-no { order: 1; display: inline-grid; place-items: center; min-width: 52px; height: 40px; padding: 0 8px; background: var(--y); color: var(--ink); font: italic 700 24px/1 var(--lat); transform: skewX(-14deg); }
.vg-sh-no.vg-red { background: var(--red); color: #fff; }
.vg-sh h2 { order: 2; margin: 0; font: italic 900 30px/1.1 var(--zh); letter-spacing: .04em; display: flex; flex-direction: column; }
.vg-sh h2 small { font: italic 700 12px/1 var(--lat); letter-spacing: .3em; color: var(--y); margin-top: 6px; }
.vg-sh-note { order: 4; margin: 0; font-size: 13px; color: var(--mut); }
.vg-more { order: 4; font: 700 14px var(--zh); color: var(--y); white-space: nowrap; }
.vg-more:hover { text-decoration: underline; }

.vg-tag { display: inline-block; background: var(--y); color: var(--ink) !important; font: 700 12px/1 var(--zh); padding: 5px 9px; transform: skewX(-12deg); letter-spacing: .06em; }
.vg-time { font: 600 12px/1 var(--lat); color: var(--mut); letter-spacing: .04em; }

/* placeholder（沒圖） */
.vg-ph {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px;
	background: linear-gradient(135deg, rgba(255,212,0,.16), transparent 50%), var(--carbon); overflow: hidden;
}
.vg-ph-lines { position: absolute; inset: 0; background: repeating-linear-gradient(-24deg, transparent 0 22px, rgba(255,255,255,.06) 22px 24px, transparent 24px 40px, rgba(255,212,0,.22) 40px 42px); }
.vg-ph b { position: relative; font: italic 900 22px/1.1 var(--zh); color: #fff; }
.vg-ph em { position: relative; font: italic 700 10px/1 var(--lat); letter-spacing: .3em; color: var(--y); margin-top: 6px; }

/* ---------- hero ---------- */
.vg-hero {
	position: relative; overflow: hidden; min-height: 600px; display: flex; align-items: flex-end;
	background:
		linear-gradient(90deg, rgba(8,8,10,.94) 0%, rgba(8,8,10,.78) 34%, rgba(8,8,10,.15) 62%, rgba(8,8,10,0) 80%),
		linear-gradient(0deg, rgba(8,8,10,.95) 0%, rgba(8,8,10,0) 42%),
		var(--hero) center 60% / cover no-repeat, #0b0b0d;
	border-bottom: 4px solid var(--y);
}
.vg-hero-lines { position: absolute; inset: 0; pointer-events: none; }
.vg-hero-lines i { position: absolute; left: -10%; height: 2px; width: 46%; background: linear-gradient(90deg, transparent, rgba(255,212,0,.85), transparent); transform: skewX(-30deg); animation: vgStreak 5s linear infinite; opacity: 0; }
.vg-hero-lines i:nth-child(1) { top: 18%; animation-delay: 0s; }
.vg-hero-lines i:nth-child(2) { top: 31%; animation-delay: 1.3s; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); }
.vg-hero-lines i:nth-child(3) { top: 47%; animation-delay: 2.4s; }
.vg-hero-lines i:nth-child(4) { top: 62%; animation-delay: 3.1s; width: 24%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); }
.vg-hero-lines i:nth-child(5) { top: 74%; animation-delay: 4.2s; width: 36%; }
@keyframes vgStreak { 0% { transform: translateX(0) skewX(-30deg); opacity: 0; } 10% { opacity: 1; } 60% { opacity: .6; } 100% { transform: translateX(280%) skewX(-30deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vg-hero-lines i, .vg-live i { animation: none; } }
.vg-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-top: 80px; padding-bottom: 48px; }
.vg-kicker { margin: 0 0 18px; display: flex; align-items: center; gap: 12px; font: 700 15px/1 var(--zh); letter-spacing: .1em; }
.vg-kicker span { background: var(--y); color: var(--ink); font: italic 700 26px/1 var(--lat); padding: 6px 14px; transform: skewX(-14deg); }
.vg-kicker em { font: italic 600 12px/1 var(--lat); letter-spacing: .32em; color: var(--y); }
.vg-pole-title { margin: 0; font: italic 900 clamp(28px, 3.6vw, 48px)/1.22 var(--zh); letter-spacing: .02em; text-shadow: 0 3px 24px rgba(0,0,0,.6); }
.vg-pole-title a { background: linear-gradient(var(--y), var(--y)) 0 100% / 0 4px no-repeat; transition: background-size .35s; }
.vg-pole-title a:hover { background-size: 100% 4px; }
.vg-pole-ex { margin: 18px 0 0; color: #cfd3d8; font-size: 16px; max-width: 40em; }
.vg-pole-meta { margin: 22px 0 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font: 600 14px var(--lat); color: #c8ccd1; }
.vg-go { margin-left: 4px; display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--y); color: var(--y); padding: 7px 16px; font: 700 14px var(--zh); transform: skewX(-12deg); transition: .2s; }
.vg-go b { font: italic 700 14px var(--lat); letter-spacing: -.1em; }
.vg-go:hover { background: var(--y); color: var(--ink); }
.vg-grid-list { list-style: none; margin: 0; padding: 18px 20px; background: rgba(10,11,13,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); border-top: 3px solid var(--y); }
.vg-grid-head { font: italic 900 16px/1 var(--zh); letter-spacing: .08em; padding-bottom: 12px; display: flex; gap: 10px; align-items: baseline; }
.vg-grid-head em { font: italic 700 11px var(--lat); letter-spacing: .3em; color: var(--y); }
.vg-grid-list li:not(.vg-grid-head) { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); }
.vg-gpos { grid-row: span 2; font: italic 700 24px/1 var(--lat); color: var(--y); padding-top: 2px; }
.vg-grid-list a { font-weight: 700; font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vg-grid-list a:hover { color: var(--y); }
.vg-grid-list time { font: 600 12px var(--lat); color: var(--mut); }

/* ---------- 01 油價儀表 ---------- */
.vg-dash { background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.1)); }
.vg-dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.vg-gauges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.vg-per100 { grid-column: 1 / -1; width: 100%; border-collapse: collapse; background: rgba(0,0,0,.35); border: 1px solid var(--line); font-size: 14px; }
.vg-per100 caption { caption-side: top; text-align: left; font: italic 900 16px/1 var(--zh); padding: 4px 0 12px; display: table-caption; }
.vg-per100 caption em { font: italic 700 10px var(--lat); letter-spacing: .26em; color: var(--y); margin-left: 8px; }
.vg-per100 th, .vg-per100 td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.vg-per100 thead th { font: 600 12px var(--lat); color: var(--mut); letter-spacing: .06em; }
.vg-per100 th:first-child { text-align: left; }
.vg-per100 tbody th { font-weight: 700; color: #e6e8eb; }
.vg-per100 td { font: italic 700 18px/1 var(--lat); color: #fff; }
.vg-per100 td small { font: 500 11px var(--zh); color: var(--mut); }
.vg-per100 tbody tr:hover td { color: var(--y); }
.vg-gcell { position: relative; background: radial-gradient(120% 90% at 50% 100%, #24282e, #121417 70%); border: 1px solid var(--line); border-radius: 14px 14px 4px 4px; padding: 20px 14px 16px; text-align: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(0,0,0,.35); }
.vg-gauge { width: 100%; max-width: 190px; display: block; margin: 0 auto; overflow: visible; }
.vg-gauge .trk { fill: none; stroke: #2c3036; stroke-width: 9; stroke-linecap: round; }
.vg-gauge .val { fill: none; stroke: var(--y); stroke-width: 9; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(255,212,0,.6)); }
.vg-gauge .tk line { stroke: #8d949c; stroke-width: 1.4; }
.vg-gauge .tk line.red { stroke: var(--red); }
.vg-gauge .ndl { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.vg-gauge .hub { fill: var(--ink); stroke: var(--y); stroke-width: 2.5; }
.vg-gread { margin-top: 4px; display: flex; justify-content: center; align-items: baseline; gap: 6px; }
.vg-gread b { font: italic 700 40px/1 var(--lat); color: #fff; }
.vg-gread small { font-size: 12px; color: var(--mut); }
.vg-glab { margin: 8px 0 0; font: 700 15px/1.2 var(--zh); display: flex; flex-direction: column; gap: 4px; }
.vg-glab em { font: italic 600 10px/1 var(--lat); letter-spacing: .26em; color: var(--y); }
.vg-calc { background: var(--y); color: var(--ink); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.vg-calc h3 { margin: 0; font: italic 900 20px/1 var(--zh); display: flex; gap: 10px; align-items: baseline; }
.vg-calc h3 em { font: italic 700 11px var(--lat); letter-spacing: .26em; }
.vg-calc label { display: flex; flex-direction: column; gap: 5px; font-weight: 700; font-size: 13px; }
.vg-calc output { font: italic 700 16px var(--lat); }
.vg-calc select, .vg-calc input[type=number] { font: 600 15px var(--zh); padding: 8px 10px; border: 2px solid var(--ink); background: #fff8cc; color: var(--ink); border-radius: 0; width: 100%; }
.vg-calc input[type=range] { width: 100%; accent-color: var(--ink); }
.vg-calc-out { display: flex; align-items: baseline; gap: 8px; background: var(--ink); color: var(--y); padding: 10px 14px; margin-top: 4px; }
.vg-calc-out span { color: #fff; font-size: 13px; font-weight: 700; }
.vg-calc-out b { font: italic 700 36px/1 var(--lat); margin-left: auto; }
.vg-calc-out small { color: #fff; }
.vg-calc-tip { margin: 0; font-size: 13px; }

/* ---------- 02 最新快訊（紙白維修區） ---------- */
.vg-pit { background: var(--paper); color: var(--ink); }
.vg-pit::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--y) 0 14px, var(--ink) 14px 28px); }
.vg-pit .vg-sh h2 small, .vg-fuel .vg-sh h2 small { color: #8a7300; }
.vg-pit .vg-sh::after { background: repeating-linear-gradient(-60deg, var(--ink) 0 4px, transparent 4px 10px); opacity: .25; }
.vg-pit .vg-more { color: var(--ink); border-bottom: 2px solid var(--y); }
.vg-laps { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; }
.vg-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.vg-card-fig { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #1a1b1e; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.vg-card-fig .vg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vg-card:hover .vg-img { transform: scale(1.05); }
.vg-card-body { padding-top: 12px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.vg-card-title { margin: 0; font: 700 17px/1.5 var(--zh); }
.vg-card-title a:hover { color: #9c7f00; }
.vg-card-ex { margin: 0; color: var(--ink2); font-size: 15px; }
.vg-pit .vg-time { color: #6d727a; }
.vg-card-lead .vg-card-fig { aspect-ratio: 16 / 9.4; }
.vg-card-lead .vg-card-title { font: italic 900 26px/1.35 var(--zh); }
.vg-laps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; align-content: start; }
.vg-card-s .vg-card-title { font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vg-card-s .vg-ph b { font-size: 16px; }
.vg-pos { position: absolute; left: 0; top: 0; background: var(--y); color: var(--ink); font: italic 700 15px/1 var(--lat); padding: 6px 10px; }

/* ---------- 03/04 汽車與出行、排位賽、側欄 ---------- */
.vg-tri { background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 60%); }
.vg-tri-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.vg-rounds-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.vg-tri .vg-sh h2 { font-size: 24px; }
.vg-tri .vg-sh-no { min-width: 44px; height: 34px; font-size: 20px; }
.vg-mob-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.vg-mob-list li { display: grid; grid-template-columns: 128px 1fr; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.vg-mob-fig { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #1a1b1e; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.vg-mob-fig .vg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vg-mob-fig .vg-ph { padding: 8px 14px; }
.vg-mob-fig .vg-ph b { font-size: 14px; }
.vg-mob-fig .vg-ph em { display: none; }
.vg-mob-t { font-weight: 700; font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vg-mob-t:hover { color: var(--y); }
.vg-mob-list time { display: block; margin-top: 6px; font: 600 12px var(--lat); color: var(--mut); }
.vg-rank { background: var(--panel); border: 1px solid var(--line); padding: 22px 20px 10px; position: relative; }
.vg-rank::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--y), var(--y) 60%, var(--red)); }
.vg-rank-list { list-style: none; margin: 0; padding: 0; }
.vg-rank-list li { display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: start; padding: 11px 0; border-top: 1px dashed #343941; }
.vg-rank-list li:first-child { border-top: 0; }
.vg-rpos { font: italic 700 20px/1.1 var(--lat); color: #8a9099; text-align: center; padding: 3px 0; border: 1px solid #3a3f46; transform: skewX(-12deg); }
.vg-rank-list li.podium .vg-rpos { background: var(--y); color: var(--ink); border-color: var(--y); }
.vg-rank-list a { font-size: 15px; font-weight: 500; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vg-rank-list li.podium a { font-weight: 700; }
.vg-rank-list a:hover { color: var(--y); }
.vg-empty { color: var(--mut); }

/* 側欄 */
.nv-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.nv-side > * { max-width: 100%; }
.nv-side .news-classified-ads-block, .nv-side .nod-box { color: var(--ink); }
.nv-side .news-classified-ads-block { background: var(--paper); padding: 14px; border-top: 4px solid var(--y); }
.nv-side .ncab-title { margin: 0 0 10px; font: italic 900 18px/1.2 var(--zh); color: var(--ink); }

/* ---------- 05 油耗排行 ---------- */
.vg-fuel { background: linear-gradient(180deg, transparent, rgba(255,212,0,.05)); }
.vg-fuel .vg-sh h2 small { color: var(--y); }
.vg-fuel-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: end; margin-bottom: 26px; }
.vg-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.vg-pod { text-align: center; display: flex; flex-direction: column; min-width: 0; }
.vg-pod-b { margin: 0; font: italic 700 13px/1.2 var(--lat); letter-spacing: .14em; color: var(--y); }
.vg-pod-m { margin: 4px 0 6px; font: 700 14px/1.35 var(--lat); color: #fff; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.vg-pod-k { margin: 0 0 10px; font: 600 12px var(--lat); color: var(--mut); }
.vg-pod-k b { font: italic 700 30px/1 var(--lat); color: #fff; }
.vg-pod-step { background: linear-gradient(180deg, #2b2f35, #1a1d21); border: 1px solid var(--line); border-top: 4px solid #c9ced4; display: grid; place-items: center; }
.vg-pod-step span { font: italic 700 34px/1 var(--lat); color: #c9ced4; }
.vg-pod-1 .vg-pod-step { height: 120px; border-top-color: var(--y); background: linear-gradient(180deg, rgba(255,212,0,.22), #1a1d21 70%); }
.vg-pod-1 .vg-pod-step span { color: var(--y); font-size: 48px; }
.vg-pod-2 .vg-pod-step { height: 86px; }
.vg-pod-3 .vg-pod-step { height: 64px; border-top-color: #c78a4a; }
.vg-pod-3 .vg-pod-step span { color: #d79a5a; }
.vg-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vg-stats div { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--y); padding: 12px 14px; }
.vg-stats div:last-child { grid-column: span 2; }
.vg-stats dt { font-size: 12px; color: var(--mut); font-weight: 700; }
.vg-stats dd { margin: 4px 0 0; font: italic 700 30px/1 var(--lat); color: #fff; }
.vg-stats dd small { font-size: 13px; color: var(--mut); margin-left: 4px; }

.vg-spec { background: var(--paper); color: var(--ink); padding: 22px 22px 18px; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.vg-spec::before { content: 'SPEC SHEET · 車型耗能'; position: absolute; right: 22px; top: -13px; background: var(--ink); color: var(--y); font: italic 700 11px/1 var(--lat); letter-spacing: .24em; padding: 7px 12px; }
.vg-filters { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: flex-end; padding-bottom: 16px; border-bottom: 3px solid var(--ink); }
.vg-filters label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ink2); }
.vg-filters select, .vg-filters input { font: 500 15px var(--zh); padding: 8px 10px; border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: 0; min-width: 0; }
.vg-f-brand select { width: 220px; }
.vg-f-q input { width: 220px; }
.vg-chips { display: inline-flex; border: 2px solid var(--ink); }
.vg-chips button { border: 0; background: #fff; color: var(--ink); font: 700 14px var(--zh); padding: 8px 12px; cursor: pointer; }
.vg-chips button + button { border-left: 1px solid #ccc; }
.vg-chips button.on { background: var(--ink); color: var(--y); }
.vg-f-sort { margin-left: auto; }
.vg-spec-count { margin: 12px 0 4px; font: 600 13px var(--zh); color: var(--ink2); }
.vg-table-wrap { overflow-x: auto; }
.vg-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.vg-table th { text-align: left; font: 700 12px var(--zh); color: var(--ink2); padding: 10px 8px; border-bottom: 2px solid var(--ink); white-space: nowrap; letter-spacing: .06em; }
.vg-table td { padding: 10px 8px; border-bottom: 1px solid #d6d3c9; vertical-align: middle; }
.vg-table tbody tr:nth-child(even) { background: rgba(0,0,0,.025); }
.vg-table tbody tr:hover { background: rgba(255,212,0,.18); }
.vg-table .c { text-align: center; }
.vg-table .r { text-align: right; white-space: nowrap; }
.vg-table th.bar { width: 30%; }
.vg-rk { display: inline-grid; place-items: center; width: 34px; height: 26px; font: italic 700 15px/1 var(--lat); background: #e2dfd5; transform: skewX(-12deg); }
.vg-rk.top { background: var(--ink); color: var(--y); }
.vg-cb { display: block; font: 700 12px/1.2 var(--lat); letter-spacing: .12em; color: #7a6600; }
.vg-cm { display: block; font: 700 15px/1.35 var(--lat); word-break: break-word; }
.vg-cmeta { display: block; font-size: 12px; color: #6b7078; margin-top: 2px; }
.vg-phev { font-style: normal; background: #0a7d5a; color: #fff; font: 700 10px/1 var(--lat); padding: 2px 5px; letter-spacing: .08em; }
.show-s { display: none; }
.vg-g { display: inline-grid; place-items: center; width: 26px; height: 26px; font: 700 14px/1 var(--lat); color: #fff; clip-path: polygon(0 0, 75% 0, 100% 50%, 75% 100%, 0 100%); padding-right: 4px; }
.vg-g.g1 { background: #10893e; } .vg-g.g2 { background: #63a83a; } .vg-g.g3 { background: #c9a800; } .vg-g.g4 { background: #e47a12; } .vg-g.g5 { background: #d62a1e; }
/* 轉速條：整條是黑→黃→紅，右側用灰色蓋掉未達部分 */
.vg-kcell { display: flex; align-items: center; gap: 10px; }
.vg-kbar { flex: 1; height: 12px; position: relative; overflow: hidden; transform: skewX(-20deg); min-width: 40px;
	background: linear-gradient(90deg, #1b1d20 0 58%, var(--y) 58% 84%, var(--red) 84%); }
.vg-kbar i { position: absolute; right: 0; top: 0; bottom: 0; background: #dcd9cf; border-left: 2px solid var(--paper); }
td.bar b { font: italic 700 20px/1 var(--lat); min-width: 44px; text-align: right; }
.vg-loading { text-align: center; color: var(--ink2); padding: 30px 0 !important; }
.vg-btn { display: block; margin: 16px auto 4px; background: var(--ink); color: var(--y); border: 0; font: italic 900 15px var(--zh); padding: 12px 28px; cursor: pointer; transform: skewX(-12deg); letter-spacing: .08em; }
.vg-btn:hover { background: var(--y); color: var(--ink); }
.vg-btn[hidden] { display: none; }
.vg-spec-note { margin: 12px 0 0; font-size: 13px; color: var(--ink2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vg-spec-note .vg-g { width: 22px; height: 20px; font-size: 12px; }

/* ---------- 06 行車安全 ---------- */
.vg-safety { background: linear-gradient(180deg, rgba(120,10,6,.18), rgba(0,0,0,.2)); border-top: 1px solid #3a1210; }
.vg-safety .vg-sh::after { background: repeating-linear-gradient(-60deg, var(--red) 0 4px, transparent 4px 10px); }
.vg-safety .vg-sh h2 small { color: #ff7a70; }
.vg-saf-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.2fr); gap: 22px; align-items: start; }
.vg-saf-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vg-kpi { background: var(--panel); border: 1px solid var(--line); padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.vg-kpi span { font-size: 12px; color: var(--mut); font-weight: 700; }
.vg-kpi b { font: italic 700 32px/1 var(--lat); color: #fff; }
.vg-kpi small { font-size: 12px; color: var(--mut); }
.vg-kpi.red { background: var(--red); border-color: var(--red); }
.vg-kpi.red span, .vg-kpi.red small { color: #ffe1de; }
.vg-kpi-p { grid-column: 1 / -1; margin: 0; font: 600 12px var(--lat); color: var(--mut); }
.vg-months { grid-column: 1 / -1; display: flex; gap: 5px; align-items: flex-end; height: 210px; padding: 12px 10px 0; background: var(--panel); border: 1px solid var(--line); }
.vg-months span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; }
.vg-months i { width: 100%; background: linear-gradient(180deg, var(--red), #7a1a14); min-height: 4px; }
.vg-months em { font: 600 10px/1 var(--lat); color: var(--mut); font-style: normal; padding-bottom: 6px; white-space: nowrap; }
.vg-saf-cause h3, .vg-saf-head h3 { margin: 0 0 12px; font: italic 900 18px/1 var(--zh); display: flex; gap: 10px; align-items: baseline; }
.vg-saf-cause h3 em, .vg-saf-head h3 em { font: italic 700 10px var(--lat); letter-spacing: .26em; color: #ff7a70; }
.vg-saf-cause ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vg-saf-cause li { display: grid; grid-template-columns: 1fr 46px; gap: 4px 10px; align-items: center; }
.vg-saf-cause .t { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.4; color: #dfe2e6; }
.vg-saf-cause .bar { height: 8px; background: #2a2e34; transform: skewX(-20deg); }
.vg-saf-cause .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--y), var(--red)); }
.vg-saf-cause b { font: italic 700 16px/1 var(--lat); text-align: right; }
.vg-cities { display: flex; flex-wrap: wrap; gap: 6px; }
.vg-cities span { background: var(--panel); border: 1px solid var(--line); padding: 5px 10px; font: 600 13px var(--lat); color: #fff; }
.vg-cities b { font: 500 13px var(--zh); color: var(--mut); margin-right: 6px; }
.vg-saf-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.vg-saf-head h3 { margin: 0; }
.vg-saf-head select { font: 500 14px var(--zh); background: var(--panel); color: #fff; border: 1px solid #4a4f57; padding: 6px 8px; }
.vg-acc-list { display: flex; flex-direction: column; gap: 10px; }
.vg-acc { background: var(--paper); color: var(--ink); padding: 12px 14px 12px 18px; position: relative; border-left: 6px solid var(--red); }
.vg-acc::after { content: '!'; position: absolute; right: 12px; top: 10px; width: 22px; height: 20px; display: grid; place-items: center; background: var(--y); color: var(--ink); font: 900 13px/1 var(--lat); clip-path: polygon(50% 0, 100% 100%, 0 100%); padding-top: 5px; }
.vg-acc p { margin: 0; }
.vg-acc-when { font: 600 13px var(--lat); color: var(--ink2); display: flex; gap: 6px; align-items: baseline; padding-right: 30px; }
.vg-acc-when b { font: italic 700 18px/1 var(--lat); color: var(--ink); }
.vg-acc-when span { font: 700 12px var(--zh); background: var(--ink); color: var(--y); padding: 2px 7px; margin-left: 4px; }
.vg-acc-place { font-weight: 700; font-size: 14.5px; line-height: 1.45; margin-top: 4px !important; word-break: break-all; }
.vg-acc-cause { font-size: 13.5px; margin-top: 4px !important; color: #2b2e33; }
.vg-acc-cause i { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--red); padding: 1px 6px; margin-right: 6px; }
.vg-acc-meta { font-size: 12px; color: #6b7078; margin-top: 4px !important; }
.vg-acc-meta .d { color: var(--red); font-weight: 700; margin-left: 8px; }
.vg-saf-tip { margin: 22px 0 0; background: var(--y); color: var(--ink); padding: 12px 18px; font-size: 15px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.vg-saf-tip b { font: italic 900 15px var(--zh); background: var(--ink); color: var(--y); padding: 3px 10px; transform: skewX(-12deg); }

/* ---------- 07 分站 ---------- */
.vg-rounds-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.vg-rounds .vg-laps-grid .vg-card-title a:hover { color: var(--y); }
.vg-round { background: var(--panel); border: 1px solid var(--line); padding: 16px 16px 10px; display: flex; flex-direction: column; min-width: 0; }
.vg-round-h { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font: italic 900 20px/1 var(--zh); }
.vg-round-h span { font: italic 700 14px/1 var(--lat); background: var(--y); color: var(--ink); padding: 5px 8px; transform: skewX(-12deg); }
.vg-round-h .vg-more { margin-left: auto; font: 700 13px var(--zh); }
.vg-card-r .vg-card-fig { aspect-ratio: 16 / 9; }
.vg-card-r .vg-card-title { font-size: 16px; }
.vg-card-r .vg-card-title a:hover { color: var(--y); }
.vg-round ul { list-style: none; margin: 12px 0 0; padding: 0; }
.vg-round li { display: flex; gap: 10px; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.vg-round li a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vg-round li a:hover { color: var(--y); }
.vg-round li time { font: 600 12px var(--lat); color: var(--mut); flex: none; padding-top: 3px; }

/* 資料來源 */
.nv-govcredit { margin: 16px 0 0; font-size: 12.5px; color: var(--mut); }
.nv-govcredit a { color: var(--y) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.vg-pit .nv-govcredit, .vg-spec .nv-govcredit { color: var(--ink2); }

/* ---------- footer ---------- */
.vg-foot { background: #070708; border-top: 4px solid var(--y); margin-top: 0; }
.vg-checker { height: 24px; background: conic-gradient(#fff 25%, #0b0b0c 0 50%, #fff 0 75%, #0b0b0c 0) 0 0 / 24px 24px; opacity: .9; }
.vg-foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-top: 44px; padding-bottom: 36px; }
.vg-foot .vg-mark { width: 54px; height: 54px; }
.vg-foot .vg-name { font-size: 30px; }
.vg-foot-brand p { color: #a7adb5; font-size: 14px; margin: 16px 0 0; max-width: 32em; }
.vg-foot h2 { margin: 0 0 14px; font: italic 900 17px/1 var(--zh); display: flex; gap: 10px; align-items: baseline; }
.vg-foot h2 small { font: italic 700 10px var(--lat); letter-spacing: .3em; color: var(--y); }
.vg-foot-nav div { display: flex; flex-wrap: wrap; gap: 8px; }
.vg-foot-nav a { border: 1px solid #2f3339; padding: 5px 10px; font-size: 14px; color: #dfe2e6; }
.vg-foot-nav a span { font: 600 11px var(--lat); color: var(--y); margin-left: 6px; }
.vg-foot-nav a:hover { border-color: var(--y); }
.vg-foot-data ul { margin: 0; padding: 0 0 0 18px; color: #dfe2e6; font-size: 14px; }
.vg-foot-data li { margin-bottom: 6px; }
.vg-foot-data li::marker { color: var(--y); }
.vg-foot-data a:hover { color: var(--y); }
.vg-foot-data p { color: #7d838b; font-size: 12.5px; margin: 10px 0 0; }
.vg-copy { margin: 0; text-align: center; padding: 16px 20px 22px; border-top: 1px solid #1d1f23; color: #6d737b; font: 600 12px var(--lat); letter-spacing: .08em; }

/* ---------- 內頁（nvbase 標記） ---------- */
.nv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; padding-top: 34px; padding-bottom: 56px; align-items: start; }
.nv-main { min-width: 0; background: var(--paper); color: var(--ink); padding: 30px 36px 36px; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.nv-main::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--y) 0 12px, var(--ink) 12px 24px); }
.nv-crumb { font-size: 13px; color: #6b7078; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 6px 0 18px; }
.nv-crumb a { color: var(--ink2); }
.nv-crumb a:hover { color: #9c7f00; }
.nv-crumb .sep { color: #a8a395; }
.nv-crumb span:last-child { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
.nv-article-cat { display: inline-block; background: var(--ink); color: var(--y) !important; font: italic 700 13px/1 var(--zh); padding: 6px 12px; transform: skewX(-12deg); letter-spacing: .08em; }
.nv-article-title { margin: 14px 0 0; font: italic 900 clamp(26px, 3vw, 38px)/1.3 var(--zh); letter-spacing: .01em; color: var(--ink); }
.nv-article-meta { margin-top: 14px; padding: 10px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid #d6d3c9; display: flex; gap: 18px; flex-wrap: wrap; font: 600 13px var(--lat); color: var(--ink2); }
.nv-article-meta .nv-site { color: #8a7300; font-family: var(--zh); font-weight: 700; }
.nv-article-meta .nv-site::before { content: '◆ '; color: var(--y); }
.nv-article-body { margin-top: 24px; font-size: 17.5px; line-height: 1.95; color: #1d1f22; overflow-wrap: anywhere; }
.nv-article-body p { margin: 0 0 1.3em; }
.nv-article-body a { color: #8a6a00; text-decoration: underline; text-underline-offset: 3px; }
.nv-article-body h2, .nv-article-body h3 { font: italic 900 22px/1.4 var(--zh); margin: 1.8em 0 .8em; padding-left: 14px; border-left: 6px solid var(--y); }
.nv-article-body img { display: block; margin: 0 auto; height: auto; }
.nv-article-body figure { margin: 1.4em 0; max-width: 100%; }
.nv-article-body figcaption, .nv-article-body .wp-caption-text { font-size: 13px; color: #6b7078; text-align: center; margin-top: 6px; }
.nv-article-body blockquote { margin: 1.5em 0; padding: 14px 20px; background: #fff; border-left: 6px solid var(--ink); font-style: italic; }
.nv-article-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 15px; }
.nv-article-body td, .nv-article-body th { border: 1px solid #d6d3c9; padding: 6px 10px; }
.nv-article-body iframe, .nv-article-body video { max-width: 100%; }
.nv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.nv-tags a { background: #fff; border: 1px solid #cfccc2; padding: 4px 12px; font-size: 13px; color: var(--ink2); }
.nv-tags a:hover { border-color: var(--ink); background: var(--y); color: var(--ink); }
.nv-sec-title { margin: 34px 0 18px; font: italic 900 22px/1 var(--zh); display: flex; align-items: center; gap: 12px; }
.nv-sec-title::before { content: ''; width: 28px; height: 22px; background: var(--y); transform: skewX(-14deg); }
.nv-sec-title::after { content: ''; flex: 1; height: 8px; background: repeating-linear-gradient(-60deg, var(--ink) 0 3px, transparent 3px 8px); opacity: .2; }
.nv-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.nv-card { display: flex; flex-direction: column; min-width: 0; }
.nv-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #1a1b1e; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.nv-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.nv-card:hover .nv-card-img { transform: scale(1.05); }
.nv-card-body { padding-top: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.nv-card-cat { background: var(--y); color: var(--ink); font: 700 12px/1 var(--zh); padding: 4px 8px; transform: skewX(-12deg); }
.nv-card-title { margin: 0; font: 700 15.5px/1.5 var(--zh); }
.nv-card-title a:hover { color: #9c7f00; }
.nv-card-excerpt { margin: 0; color: var(--ink2); font-size: 14.5px; }
.nv-card-time { font: 600 12px var(--lat); color: #6d727a; }
.nv-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.nv-prevnext > div { background: var(--ink); padding: 14px 16px; font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.nv-prevnext a { color: #fff; }
.nv-prevnext a:hover { color: var(--y); }
.nv-prevnext .next { text-align: right; grid-column: 2; }

.nv-page-head { padding-bottom: 14px; border-bottom: 3px solid var(--ink); margin-bottom: 22px; }
.nv-page-title { margin: 0; font: italic 900 clamp(28px, 3vw, 40px)/1.2 var(--zh); display: flex; align-items: center; gap: 14px; color: var(--ink); }
.nv-page-title::before { content: 'SECTION'; font: italic 700 12px/1 var(--lat); letter-spacing: .26em; background: var(--y); color: var(--ink); padding: 8px 12px; transform: skewX(-12deg); }
.nv-search-results .nv-page-title::before, .search .nv-page-title::before { content: 'SEARCH'; }
.nv-page-desc { color: var(--ink2); margin-top: 8px; }
.nv-list { display: flex; flex-direction: column; }
.nv-list-item { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid #d6d3c9; }
.nv-list-item:not(:has(.nv-card-media)) { grid-template-columns: 1fr; }
.nv-list-item .nv-card-media { aspect-ratio: 16 / 10; }
.nv-list-item .nv-card-body { padding-top: 0; }
.nv-list-item .nv-card-title { font-size: 19px; }
.nv-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; justify-content: center; }
.nv-pagination .page-numbers { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 12px; border: 2px solid var(--ink); font: italic 700 15px var(--lat); color: var(--ink); transform: skewX(-12deg); }
.nv-pagination .page-numbers.current, .nv-pagination a.page-numbers:hover { background: var(--ink); color: var(--y); }
.nv-pagination .dots { border: 0; }
.nv-empty { font-size: 16px; color: var(--ink2); }
.nv-main .nv-search, .nv-404 .nv-search { background: #fff; border-color: var(--ink); max-width: 520px; margin: 14px 0; }
.nv-main .nv-search input, .nv-404 .nv-search input { color: var(--ink); }
.nv-404 { padding-top: 60px; padding-bottom: 60px; }
.nv-404 .nv-page-title { color: #fff; }
.nv-404 .nv-page-title::before { content: '404 · OFF TRACK'; background: var(--red); color: #fff; }
.nv-404 > p { color: #cfd3d8; }
.nv-404 .nv-search { background: rgba(0,0,0,.5); border-color: #3a3f46; }
.nv-404 .nv-search input { color: #fff; }
.nv-404 .nv-sec-title::after { background: repeating-linear-gradient(-60deg, var(--y) 0 3px, transparent 3px 8px); opacity: .6; }
.nv-404 .nv-card-title a { color: #fff; }
.nv-404 .nv-card-title a:hover { color: var(--y); }
.nv-404 .nv-card-time { color: var(--mut); }
.nv-layout > .nv-side { position: sticky; top: 64px; }
.nv-widget { background: var(--panel); padding: 16px; color: var(--w); }
.nv-widget-title { margin: 0 0 10px; font: italic 900 17px var(--zh); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.vg-rounds-in { grid-template-columns: 1fr; }
	.vg-rounds-in > .nv-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
	.vg-saf-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.vg-saf-cards { grid-column: 1 / -1; }
	.vg-acc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vg-dash-grid { grid-template-columns: 1fr; }
	.vg-gauges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.vg-head-search { display: none; }
}
@media (max-width: 900px) {
	.vg-hero-in { grid-template-columns: 1fr; gap: 26px; padding-top: 60px; }
	.vg-hero { min-height: 0; background-position: 0 0, 0 0, 70% 50%, 0 0; }
	.vg-hero { background: linear-gradient(0deg, rgba(8,8,10,.97) 0%, rgba(8,8,10,.86) 50%, rgba(8,8,10,.2) 100%), var(--hero) 72% 40% / cover no-repeat, #0b0b0d; }
	.vg-laps { grid-template-columns: 1fr; }
	.vg-fuel-top { grid-template-columns: 1fr; }
	.vg-rounds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nv-layout { grid-template-columns: 1fr; }
	.nv-layout > .nv-side { position: static; }
	.nv-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vg-foot-in { grid-template-columns: 1fr 1fr; }
	.vg-foot-brand { grid-column: 1 / -1; }
	.vg-mast-side { display: none; }
	.vg-f-sort { margin-left: 0; }
}
@media (max-width: 680px) {
	body.vg { font-size: 15.5px; background-attachment: scroll; }
	.vg-wrap, .nv-wrap { padding: 0 16px; }
	.vg-timing-in { gap: 10px; min-height: 30px; padding-top: 6px; padding-bottom: 6px; }
	.vg-date { font-size: 12px; }
	.vg-tick { margin-left: 0; width: 100%; gap: 12px; }
	.vg-mast-in { padding-top: 16px; padding-bottom: 16px; }
	.vg-mark { width: 52px; height: 52px; }
	.vg-name { font-size: 30px; }
	.vg-en { font-size: 11px; letter-spacing: .3em; }
	.vg-nav li a { padding: 11px 12px; font-size: 15px; }
	.vg-nav li.vg-nav-data { margin-left: 0; }
	.vg-sec { padding: 40px 0; }
	.vg-sh h2 { font-size: 24px; }
	.vg-sh-no { min-width: 42px; height: 34px; font-size: 20px; }
	.vg-hero-in { padding-top: 120px; padding-bottom: 30px; }
	.vg-hero { background: linear-gradient(0deg, rgba(8,8,10,.98) 0%, rgba(8,8,10,.9) 55%, rgba(8,8,10,.1) 100%), var(--hero) 75% 0 / auto 330px no-repeat, #0b0b0d; }
	.vg-pole-title { font-size: 26px; }
	.vg-pole-ex { font-size: 15px; }
	.vg-grid-list { padding: 14px 16px; }
	.vg-gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.vg-gread b { font-size: 32px; }
	.vg-per100 { font-size: 12.5px; }
	.vg-per100 th, .vg-per100 td { padding: 8px 5px; }
	.vg-per100 td { font-size: 14.5px; }
	.vg-per100 td small { display: none; }
	.vg-laps-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
	.vg-card-lead .vg-card-title { font-size: 21px; }
	.vg-card-s .vg-card-title { font-size: 14.5px; }
	.vg-tri-in { grid-template-columns: 1fr; }
	.vg-mob-list li { grid-template-columns: 108px 1fr; }
	.vg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vg-stats div:last-child { grid-column: span 2; }
	.vg-pod-m { font-size: 12px; }
	.vg-pod-k b { font-size: 22px; }
	.vg-spec { padding: 18px 12px 14px; margin: 0 -4px; }
	.vg-spec::before { right: 12px; }
	.vg-filters label, .vg-f-brand select, .vg-f-q input { width: 100%; }
	.vg-chips { width: 100%; }
	.vg-chips button { flex: 1; padding: 8px 6px; font-size: 13px; }
	.hide-s { display: none; }
	.show-s { display: inline; }
	.vg-table { font-size: 13.5px; }
	.vg-table td, .vg-table th { padding: 9px 4px; }
	.vg-table th.bar { width: 34%; }
	.vg-kcell { flex-direction: column-reverse; align-items: stretch; gap: 4px; }
	td.bar b { font-size: 17px; text-align: left; }
	.vg-kbar { height: 8px; min-width: 0; flex: none; width: 100%; }
	.vg-rk { width: 28px; }
	.vg-saf-grid { grid-template-columns: 1fr; }
	.vg-acc-list { grid-template-columns: 1fr; }
	.vg-kpi b { font-size: 26px; }
	.vg-rounds-grid { grid-template-columns: 1fr; }
	.vg-foot-in { grid-template-columns: 1fr; gap: 28px; }
	.nv-layout { padding-top: 18px; gap: 22px; }
	.nv-main { padding: 22px 16px 26px; margin: 0 -4px; }
	.nv-article-body { font-size: 16.5px; }
	.nv-list-item { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
	.nv-list-item .nv-card-title { font-size: 16px; }
	.nv-list-item .nv-card-excerpt { display: none; }
	.nv-related-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.nv-prevnext { grid-template-columns: 1fr; }
	.nv-prevnext .next { grid-column: 1; }
	.nv-page-title::before { font-size: 10px; padding: 6px 8px; }
}
