/* ============================================================
   UFA-CARBON v2 — Racing Circuit / Carbon Fiber + Neon Cyan
   ============================================================ */
:root {
    --cb-bg: #10151c;
    --cb-panel: #171e27;
    --cb-panel2: #1d2632;
    --cb-line: #26303c;
    --cb-text: #d6dde5;
    --cb-dim: #8a96a3;
    --cb-cyan: #00e5ff;
    --cb-red: #ff3d68;
    --cb-font: 'Kanit', sans-serif;
    --cb-race: 'Rajdhani', 'Kanit', sans-serif;
    --cb-cut: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--cb-font);
    font-weight: 400;
    color: var(--cb-text);
    background:
        repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 6px),
        var(--cb-bg);
}
a { color: inherit; text-decoration: none; transition: .2s; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }

/* ==================== Header ==================== */
.ucb-header { position: sticky; top: 0; z-index: 1000; background: rgba(13,17,23,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--cb-line); }
.ucb-header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.ucb-plate { display: flex; align-items: stretch; flex-shrink: 0; clip-path: var(--cb-cut); background: var(--cb-panel2); border: 1px solid var(--cb-line); overflow: hidden; }
.ucb-plate-num { background: var(--cb-cyan); color: #06121a; font-family: var(--cb-race); font-weight: 700; font-size: 15px; display: flex; align-items: center; padding: 0 10px; }
.ucb-plate-name { color: #fff; font-weight: 700; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; padding: 8px 16px; font-style: italic; }
.ucb-nav-wrap { flex: 1; overflow-x: auto; scrollbar-width: none; }
.ucb-nav-wrap::-webkit-scrollbar { display: none; }
.ucb-nav { display: flex; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.ucb-nav li a { display: block; padding: 20px 12px; font-size: 14px; color: var(--cb-dim); position: relative; font-weight: 500; }
.ucb-nav li a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 2px; background: var(--cb-cyan); transform: scaleX(0); transform-origin: left; transition: .25s; box-shadow: 0 0 8px var(--cb-cyan); }
.ucb-nav li a:hover, .ucb-nav li.active a { color: #fff; }
.ucb-nav li a:hover::after, .ucb-nav li.active a::after { transform: scaleX(1); }
.ucb-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ucb-btn-neon { display: inline-block; clip-path: var(--cb-cut); background: var(--cb-cyan); color: #06121a; font-weight: 700; font-size: 14px; padding: 9px 20px; border: none; }
.ucb-btn-neon:hover { background: #6bf0ff; color: #06121a; box-shadow: 0 0 18px rgba(0,229,255,.5); }
.ucb-btn-outline { display: inline-block; clip-path: var(--cb-cut); border: 1px solid var(--cb-cyan); color: var(--cb-cyan); font-weight: 600; font-size: 14px; padding: 9px 20px; background: rgba(0,229,255,.05); }
.ucb-btn-outline:hover { background: rgba(0,229,255,.15); color: #fff; }
.ucb-btn-lg { padding: 14px 30px; font-size: 16px; }
.ucb-btn-block { display: block; text-align: center; }
.ucb-btn-sm { padding: 4px 12px; font-size: 12px; }
.ucb-pit-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--cb-line); color: var(--cb-text); font-family: var(--cb-race); font-weight: 700; font-size: 13px; letter-spacing: 2px; padding: 8px 14px; cursor: pointer; clip-path: var(--cb-cut); }
.ucb-pit-btn:hover { border-color: var(--cb-red); color: var(--cb-red); }
.ucb-pit-flag { width: 14px; height: 14px; background: conic-gradient(#fff 0 25%, #0d1117 0 50%, #fff 0 75%, #0d1117 0); background-size: 7px 7px; display: inline-block; }
.ucb-toggle { background: none; border: 1px solid var(--cb-line); padding: 8px; cursor: pointer; display: inline-flex; flex-direction: column; gap: 4px; }
.ucb-toggle span { width: 20px; height: 2px; background: var(--cb-cyan); display: block; }

/* Pit drawer */
.ucb-pit-overlay { position: fixed; inset: 0; background: rgba(6,10,15,.7); opacity: 0; visibility: hidden; transition: .3s; z-index: 1001; }
.ucb-pit-overlay.show { opacity: 1; visibility: visible; }
.ucb-pit-panel { position: fixed; top: 0; right: -360px; width: 340px; max-width: 92vw; height: 100vh; background: var(--cb-panel); border-left: 2px solid var(--cb-cyan); z-index: 1002; transition: right .3s; display: flex; flex-direction: column; }
.ucb-pit-panel.show { right: 0; }
.ucb-pit-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--cb-line); font-family: var(--cb-race); font-weight: 700; letter-spacing: 2px; font-size: 13px; color: var(--cb-cyan); }
.ucb-pit-close { background: none; border: 1px solid var(--cb-line); color: var(--cb-dim); font-size: 14px; width: 32px; height: 32px; cursor: pointer; }
.ucb-pit-close:hover { color: var(--cb-red); border-color: var(--cb-red); }
.ucb-pit-body { flex: 1; overflow-y: auto; padding: 14px 20px; }
.ucb-pit-group { border-bottom: 1px dashed var(--cb-line); padding: 10px 0; }
.ucb-pit-cat { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; color: var(--cb-text); }
.ucb-pit-cat em { font-style: normal; font-size: 10px; color: var(--cb-cyan); }
.ucb-pit-cat:hover { color: var(--cb-cyan); }
.ucb-pit-sub { padding: 8px 0 2px 14px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--cb-line); margin-top: 6px; }
.ucb-pit-sub a { font-size: 13px; color: var(--cb-dim); }
.ucb-pit-sub a:hover { color: var(--cb-cyan); }
.ucb-pit-foot { padding: 16px 20px; border-top: 1px solid var(--cb-line); }

/* ==================== Hero HUD ==================== */
.ucb-hero { position: relative; padding: 70px 0 76px; overflow: hidden; }
.ucb-hero-bg { position: absolute; inset: 0; background:
    linear-gradient(rgba(0,229,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.04) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 0%, rgba(0,229,255,.12), transparent 55%);
    background-size: 44px 44px, 44px 44px, auto; }
.ucb-hud { position: relative; display: grid; grid-template-columns: 220px 1fr 250px; gap: 34px; align-items: center; }
.ucb-hud-left { display: flex; flex-direction: column; gap: 20px; }
.ucb-dial { background: var(--cb-panel); border: 1px solid var(--cb-line); clip-path: var(--cb-cut); text-align: center; padding: 16px 12px 14px; position: relative; }
.ucb-dial svg { width: 90px; margin: 0 auto; display: block; }
.ucb-dial b { display: block; font-family: var(--cb-race); font-size: 30px; font-weight: 700; color: #fff; margin-top: -34px; }
.ucb-dial b i { font-style: normal; font-size: 14px; color: var(--cb-cyan); }
.ucb-dial span { font-size: 12px; color: var(--cb-dim); }
.ucb-hud-center { text-align: center; }
.ucb-hud-badge { display: inline-block; font-family: var(--cb-race); letter-spacing: 4px; font-weight: 700; font-size: 12px; color: var(--cb-red); margin-bottom: 14px; }
.ucb-hero-h1 { font-size: clamp(30px, 4.2vw, 56px); font-weight: 800; font-style: italic; color: #fff; text-transform: uppercase; }
.ucb-hero-word { display: block; font-family: var(--cb-race); font-size: clamp(15px, 1.6vw, 22px); letter-spacing: 8px; color: var(--cb-cyan); text-shadow: 0 0 16px rgba(0,229,255,.6); margin-top: 8px; font-style: normal; }
.ucb-hero-desc { color: var(--cb-dim); font-size: 15px; line-height: 1.9; max-width: 620px; margin: 18px auto 26px; }
.ucb-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ucb-lapboard { background: var(--cb-panel); border: 1px solid var(--cb-line); clip-path: var(--cb-cut); padding: 16px 18px; }
.ucb-lap-head { font-family: var(--cb-race); font-weight: 700; letter-spacing: 3px; font-size: 12px; color: var(--cb-red); border-bottom: 1px solid var(--cb-line); padding-bottom: 10px; margin-bottom: 10px; }
.ucb-lap-row { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; font-size: 13px; color: var(--cb-dim); border-bottom: 1px dashed rgba(38,48,60,.6); }
.ucb-lap-row b { font-family: var(--cb-race); font-size: 17px; color: #fff; }
.ucb-lap-row:last-child { border-bottom: none; }
.ucb-lap-hot b { color: var(--cb-cyan); animation: ucbBlink 1.6s infinite; }
@keyframes ucbBlink { 50% { opacity: .45; } }

/* ==================== Sections ==================== */
.ucb-section { padding: 70px 0; }
.ucb-section-carbon { background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 3px, transparent 3px 9px),
    var(--cb-panel); border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); }
.ucb-section-title { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 42px; text-align: center; }
.ucb-title-decor { order: -1; }
.ucb-mark { color: var(--cb-cyan); font-size: 18px; text-shadow: 0 0 10px rgba(0,229,255,.7); }
.ucb-section-title h2 { font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; font-style: italic; color: #fff; }
.ucb-title-left { justify-content: flex-start; text-align: left; }
.ucb-decor-left { order: -1; }

/* S1 โหมดแข่ง 斜切三卡 */
.ucb-mode-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ucb-mode-card { clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px); background: var(--cb-panel); border: 1px solid var(--cb-line); padding: 32px 28px; position: relative; transition: .25s; }
.ucb-mode-card:hover { transform: translateY(-6px); background: var(--cb-panel2); }
.ucb-mode-hot { border-color: var(--cb-red); background: linear-gradient(160deg, rgba(255,61,104,.1), var(--cb-panel)); }
.ucb-mode-gear { font-family: var(--cb-race); font-weight: 700; font-size: 44px; color: transparent; -webkit-text-stroke: 1.5px var(--cb-cyan); display: block; margin-bottom: 10px; }
.ucb-mode-hot .ucb-mode-gear { -webkit-text-stroke-color: var(--cb-red); }
.ucb-mode-card h3 { font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.ucb-mode-card p { color: var(--cb-dim); font-size: 14px; line-height: 1.85; margin: 0 0 16px; }
.ucb-mode-card em { font-style: normal; font-family: var(--cb-race); font-weight: 700; font-size: 13px; letter-spacing: 2px; color: var(--cb-cyan); }
.ucb-mode-hot em { color: var(--cb-red); }

/* S2 crashgame 倍数卡 */
.ucb-crash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ucb-crash-card { position: relative; background: var(--cb-bg); border: 1px solid var(--cb-line); overflow: hidden; transition: .25s; }
.ucb-crash-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; opacity: .85; transition: .3s; }
.ucb-crash-card:hover { border-color: var(--cb-red); box-shadow: 0 0 22px rgba(255,61,104,.3); }
.ucb-crash-card:hover img { opacity: 1; transform: scale(1.05); }
.ucb-crash-x { position: absolute; top: 10px; right: -34px; z-index: 2; background: var(--cb-red); color: #fff; font-family: var(--cb-race); font-weight: 700; font-size: 14px; padding: 4px 40px; transform: rotate(35deg); box-shadow: 0 0 12px rgba(255,61,104,.6); }
.ucb-crash-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 14px 10px; background: linear-gradient(transparent, rgba(13,17,23,.95)); font-weight: 600; font-size: 15px; color: #fff; }

/* S3 livecasino 维修站车库门 */
.ucb-pitlane { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ucb-garage-door { background: var(--cb-panel); border: 1px solid var(--cb-line); border-top: 4px solid var(--cb-cyan); position: relative; overflow: hidden; padding-top: 26px; transition: .25s; }
.ucb-garage-door::before { content: ''; position: absolute; top: 4px; left: 0; right: 0; height: 22px; background: repeating-linear-gradient(180deg, var(--cb-panel2) 0 4px, var(--cb-panel) 4px 8px); }
.ucb-door-no { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); z-index: 2; font-family: var(--cb-race); font-weight: 700; font-size: 11px; letter-spacing: 2px; color: var(--cb-cyan); background: var(--cb-bg); padding: 0 10px; }
.ucb-garage-door img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: .35s; }
.ucb-garage-door:hover { border-color: var(--cb-cyan); box-shadow: 0 0 20px rgba(0,229,255,.25); }
.ucb-garage-door:hover img { transform: translateY(-6px); }
.ucb-door-name { text-align: center; font-size: 13px; font-weight: 600; color: var(--cb-text); padding: 10px 6px; border-top: 1px dashed var(--cb-line); }

/* S4 遥测 */
.ucb-tele-panel { border: 1px solid var(--cb-line); clip-path: var(--cb-cut); background: var(--cb-bg); padding: 30px 34px; display: grid; gap: 20px; }
.ucb-tele-item { display: grid; grid-template-columns: 190px 130px 1fr; align-items: center; gap: 20px; }
.ucb-tele-label { font-family: var(--cb-race); font-weight: 700; letter-spacing: 2px; font-size: 12px; color: var(--cb-dim); }
.ucb-tele-val { font-family: var(--cb-race); font-weight: 700; font-size: 28px; color: #fff; }
.ucb-tele-val i { font-style: normal; font-size: 14px; color: var(--cb-cyan); }
.ucb-tele-track { height: 8px; background: var(--cb-line); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); position: relative; overflow: hidden; }
.ucb-tele-track i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--cb-cyan), var(--cb-red)); box-shadow: 0 0 10px rgba(0,229,255,.5); }

/* S5 virtual 全息卡 */
.ucb-holo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ucb-holo-card { position: relative; border: 1px solid var(--cb-line); background: var(--cb-panel); padding: 10px; transition: .3s; transform: perspective(700px) rotateX(0); }
.ucb-holo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(0,229,255,.18) 48%, rgba(255,61,104,.14) 52%, transparent 70%); opacity: 0; transition: .3s; pointer-events: none; }
.ucb-holo-card:hover { transform: perspective(700px) rotateX(5deg) translateY(-4px); border-color: var(--cb-cyan); }
.ucb-holo-card:hover::after { opacity: 1; }
.ucb-holo-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.ucb-holo-card span { display: block; text-align: center; font-size: 13px; font-weight: 600; padding: 10px 2px 4px; color: var(--cb-text); }

/* S6 slots 斜切车贴 */
.ucb-decal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ucb-decal { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); background: var(--cb-bg); border: 1px solid var(--cb-line); position: relative; transform: skewX(-3deg); transition: .25s; overflow: hidden; }
.ucb-decal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transform: skewX(3deg) scale(1.08); transition: .3s; }
.ucb-decal b { display: block; transform: skewX(3deg); font-size: 13px; font-weight: 600; color: #fff; padding: 10px 14px; border-top: 2px solid var(--cb-cyan); }
.ucb-decal:hover { border-color: var(--cb-cyan); transform: skewX(-3deg) translateY(-5px); }
.ucb-decal:hover img { transform: skewX(3deg) scale(1.14); }

/* ==================== 文章 / 侧栏 ==================== */
.ucb-list-item { display: flex; gap: 20px; background: var(--cb-panel); border: 1px solid var(--cb-line); border-left: 3px solid var(--cb-cyan); padding: 14px; margin-bottom: 16px; transition: .2s; }
.ucb-list-item:hover { background: var(--cb-panel2); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.ucb-list-item .list-img { flex: 0 0 215px; overflow: hidden; }
.ucb-list-item .list-img img { width: 100%; height: 145px; object-fit: cover; transition: .3s; }
.ucb-list-item:hover .list-img img { transform: scale(1.05); }
.ucb-list-item .list-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ucb-list-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.ucb-list-item h3 a { color: #fff; }
.ucb-list-item h3 a:hover { color: var(--cb-cyan); }
.list-desc { color: var(--cb-dim); font-size: 13.5px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 auto; }
.list-meta { display: flex; gap: 14px; color: #5f6b78; font-size: 12px; margin-top: 10px; font-family: var(--cb-race); font-weight: 600; letter-spacing: 1px; }

.ucb-sidebar { position: sticky; top: 84px; }
.ucb-sidebar-card { background: var(--cb-panel); border: 1px solid var(--cb-line); clip-path: var(--cb-cut); padding: 18px 20px; margin-bottom: 20px; }
.ucb-sidebar-title { color: var(--cb-cyan); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.ucb-sidebar-list { list-style: none; margin: 0; padding: 0; }
.ucb-sidebar-list li { border-bottom: 1px dashed var(--cb-line); padding: 8px 0; }
.ucb-sidebar-list li:last-child { border-bottom: none; }
.ucb-sidebar-list li a { font-size: 13.5px; color: var(--cb-text); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ucb-sidebar-list li a::before { content: '» '; color: var(--cb-red); }
.ucb-sidebar-list li a:hover { color: var(--cb-cyan); }
.ucb-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.ucb-tag-cloud a { border: 1px solid var(--cb-line); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); font-size: 12px; padding: 4px 14px; color: var(--cb-dim); }
.ucb-tag-cloud a:hover { color: var(--cb-cyan); border-color: var(--cb-cyan); }

/* ==================== FAQ ==================== */
.ucb-faq { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.ucb-faq-item { background: var(--cb-bg); border: 1px solid var(--cb-line); clip-path: var(--cb-cut); }
.ucb-faq-btn { width: 100%; text-align: left; background: none; border: none; font-family: var(--cb-font); font-size: 15.5px; font-weight: 600; color: #fff; padding: 17px 46px 17px 18px; cursor: pointer; display: flex; align-items: center; gap: 14px; position: relative; }
.ucb-faq-ch { font-family: var(--cb-race); font-weight: 700; font-size: 12px; letter-spacing: 1px; color: var(--cb-red); border: 1px solid rgba(255,61,104,.4); padding: 2px 8px; flex-shrink: 0; }
.ucb-faq-btn::after { content: '▾'; position: absolute; right: 18px; color: var(--cb-cyan); transition: .25s; }
.ucb-faq-item.open .ucb-faq-btn::after { transform: rotate(180deg); }
.ucb-faq-item.open { border-color: var(--cb-cyan); box-shadow: 0 0 16px rgba(0,229,255,.15); }
.ucb-faq-answer { display: none; padding: 0 18px 18px 76px; }
.ucb-faq-item.open .ucb-faq-answer { display: block; }
.ucb-faq-answer p { color: var(--cb-dim); font-size: 14px; line-height: 1.95; margin: 0; }

/* ==================== 详情页 / 骨架页 ==================== */
.ucb-breadcrumb { padding: 18px 0 4px; font-size: 12.5px; color: var(--cb-dim); }
.ucb-breadcrumb a { color: var(--cb-dim); }
.ucb-breadcrumb a:hover { color: var(--cb-cyan); }
.ucb-breadcrumb .separator, .ucb-breadcrumb span { margin: 0 4px; }
.ucb-breadcrumb ul { list-style: none; display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.ucb-breadcrumb ul li::after { content: '›'; margin: 0 6px; color: var(--cb-line); }
.ucb-breadcrumb ul li:last-child::after { content: ''; }

.ucb-detail { background: var(--cb-panel); border: 1px solid var(--cb-line); border-top: 3px solid var(--cb-cyan); padding: 32px; }
.ucb-detail-narrow { max-width: 880px; margin: 0 auto; }
.ucb-detail-title { font-size: clamp(21px, 2.5vw, 32px); font-weight: 700; color: #fff; margin-bottom: 12px; }
.ucb-detail-meta { display: flex; flex-wrap: wrap; gap: 16px; color: #5f6b78; font-size: 12px; font-family: var(--cb-race); font-weight: 600; letter-spacing: 1px; padding-bottom: 14px; border-bottom: 1px solid var(--cb-line); }
.ucb-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.ucb-detail-body { font-size: 15px; line-height: 2; color: var(--cb-text); padding: 8px 0; }
.ucb-detail-body img { margin: 14px auto; }
.ucb-detail-body h2, .ucb-detail-body h3 { color: #fff; margin: 20px 0 12px; border-left: 4px solid var(--cb-cyan); padding-left: 12px; }
.ucb-page-code { margin-top: 18px; }
.ucb-detail-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--cb-line); padding-top: 16px; margin-top: 22px; }
.ucb-detail-nav .nav-item { min-width: 0; }
.ucb-detail-nav .nav-next { text-align: right; }
.ucb-detail-nav .nav-label { font-family: var(--cb-race); font-size: 11px; letter-spacing: 2px; color: var(--cb-red); font-weight: 700; margin-bottom: 4px; }
.ucb-detail-nav a { font-weight: 600; font-size: 14px; color: var(--cb-text); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ucb-detail-nav a:hover { color: var(--cb-cyan); }
.ucb-related { margin-top: 32px; }
.ucb-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ucb-news-card { background: var(--cb-bg); border: 1px solid var(--cb-line); transition: .2s; }
.ucb-news-card:hover { border-color: var(--cb-cyan); transform: translateY(-4px); }
.ucb-news-card .news-img { overflow: hidden; }
.ucb-news-card .news-img img { width: 100%; height: 128px; object-fit: cover; transition: .3s; }
.ucb-news-card:hover .news-img img { transform: scale(1.06); }
.ucb-news-card .news-body { padding: 12px 14px; }
.ucb-news-card h4 { font-size: 14px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.ucb-news-card h4 a { color: #fff; }
.ucb-news-card h4 a:hover { color: var(--cb-cyan); }
.ucb-news-card .news-meta { color: #5f6b78; font-size: 11px; font-family: var(--cb-race); font-weight: 600; }

/* 搜索 / 空数据 / 分页 */
.ucb-search-form { display: flex; margin: 14px 0 26px; clip-path: var(--cb-cut); border: 1px solid var(--cb-line); background: var(--cb-panel); }
.ucb-search-form input { flex: 1; border: none; outline: none; padding: 13px 16px; font-family: var(--cb-font); font-size: 14px; background: transparent; color: var(--cb-text); }
.ucb-search-form button { border: none; background: var(--cb-cyan); color: #06121a; font-family: var(--cb-font); font-weight: 700; font-size: 14px; padding: 0 28px; cursor: pointer; }
.ucb-search-form button:hover { background: #6bf0ff; }
.ucb-no-data { text-align: center; padding: 70px 0; color: var(--cb-dim); }
.ucb-no-data .no-icon { font-size: 38px; color: var(--cb-cyan); margin-bottom: 10px; }
.ucb-pagination { display: flex; justify-content: center; margin: 28px 0; }
.ucb-pagination ul, .ucb-pagination .pagination { display: flex; list-style: none; gap: 8px; margin: 0; padding: 0; }
.ucb-pagination li a, .ucb-pagination li span { display: inline-block; min-width: 38px; text-align: center; padding: 8px 10px; border: 1px solid var(--cb-line); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); font-size: 13px; font-weight: 600; color: var(--cb-text); background: var(--cb-panel); }
.ucb-pagination li a:hover { border-color: var(--cb-cyan); color: var(--cb-cyan); }
.ucb-pagination li.active span, .ucb-pagination li.active a { background: var(--cb-cyan); color: #06121a; border-color: var(--cb-cyan); }
.ucb-pagination li.disabled span { color: #4a5460; }

/* 分享 */
.ucb-share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 1px dashed var(--cb-line); padding: 12px 16px; margin: 20px 0; }
.share-label { font-weight: 700; font-size: 13px; color: var(--cb-cyan); }
.ucb-share-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--cb-line); background: var(--cb-bg); font-family: var(--cb-font); font-size: 12px; padding: 5px 12px; cursor: pointer; color: var(--cb-text); clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.ucb-share-btn:hover { border-color: var(--cb-cyan); color: var(--cb-cyan); }
.share-icon { width: 15px; height: 15px; filter: invert(.8); }
.ucb-share-float { position: fixed; left: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 900; }
.ucb-share-float .ucb-share-btn { padding: 8px; }
.ucb-share-fixed { position: fixed; right: 14px; bottom: 60px; display: flex; flex-direction: column; gap: 6px; z-index: 900; align-items: center; }
.ucb-share-fixed .share-label { writing-mode: vertical-rl; font-size: 11px; }
.ucb-share-fixed .ucb-share-btn { padding: 8px; }

/* ==================== Footer ==================== */
.ucb-footer { margin-top: 60px; }
.ucb-finish-line { height: 18px; background: conic-gradient(#e8e8e8 0 25%, #0d1117 0 50%, #e8e8e8 0 75%, #0d1117 0); background-size: 18px 18px; }
.ucb-footer-garage { background: var(--cb-panel); border-bottom: 1px solid var(--cb-line); padding: 50px 0 44px; }
.ucb-garage-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.ucb-garage-tag { font-family: var(--cb-race); font-weight: 700; font-size: 12px; letter-spacing: 3px; color: #06121a; background: var(--cb-cyan); padding: 3px 12px; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.ucb-garage-name { font-size: clamp(24px, 3vw, 38px); font-weight: 800; font-style: italic; color: #fff; text-transform: uppercase; }
.ucb-garage-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.ucb-garage-label { font-weight: 700; font-size: 14px; color: var(--cb-cyan); margin-bottom: 14px; }
.ucb-garage-about p { color: var(--cb-dim); font-size: 14px; line-height: 1.95; margin: 0 0 18px; }
.ucb-garage-links { list-style: none; margin: 0; padding: 0; }
.ucb-garage-links li a { display: block; padding: 5px 0; font-size: 14px; color: var(--cb-dim); }
.ucb-garage-links li a::before { content: '– '; color: var(--cb-red); }
.ucb-garage-links li a:hover { color: var(--cb-cyan); padding-left: 4px; }
.ucb-garage-radio { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ucb-garage-radio li { border: 1px solid var(--cb-line); clip-path: var(--cb-cut); padding: 10px 14px; background: var(--cb-bg); }
.ucb-garage-radio b { display: block; font-family: var(--cb-race); font-size: 13px; letter-spacing: 2px; color: #fff; }
.ucb-garage-radio span { font-size: 12px; color: var(--cb-dim); }
.ucb-sponsors { background: var(--cb-bg); padding: 20px 0; border-bottom: 1px solid var(--cb-line); }
.ucb-sponsor-row { display: flex; align-items: flex-start; gap: 16px; padding: 6px 0; }
.ucb-sponsor-label { font-family: var(--cb-race); font-weight: 700; font-size: 11px; letter-spacing: 3px; color: var(--cb-red); flex-shrink: 0; padding-top: 3px; }
.ucb-sponsor-items { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ucb-sponsor-item { font-size: 13px; color: var(--cb-dim); }
.ucb-sponsor-item:hover { color: var(--cb-cyan); }
.ucb-footer-lap { background: #0b0f14; padding: 14px 0; }
.ucb-footer-lap .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #5f6b78; font-family: var(--cb-race); font-weight: 600; letter-spacing: 1px; }
.ucb-footer-lap a { color: #7e8b99; }
.ucb-footer-lap a:hover { color: var(--cb-cyan); }

/* ==================== 响应式 ==================== */
@media (max-width: 1199.98px) {
    .ucb-hud { grid-template-columns: 1fr; gap: 28px; }
    .ucb-hud-left { flex-direction: row; justify-content: center; }
    .ucb-hud-right { max-width: 420px; margin: 0 auto; width: 100%; }
    .ucb-pitlane { grid-template-columns: repeat(3, 1fr); }
    .ucb-garage-grid { grid-template-columns: 1fr 1fr; }
    .ucb-holo-grid, .ucb-decal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
    .ucb-nav-wrap { position: fixed; top: 64px; left: 0; right: 0; background: #0d1117; border-bottom: 2px solid var(--cb-cyan); display: none; padding: 8px 16px 14px; z-index: 999; }
    .ucb-nav-wrap.open { display: block; }
    .ucb-nav { flex-direction: column; }
    .ucb-nav li a { padding: 12px 4px; border-bottom: 1px solid var(--cb-line); }
    .ucb-nav li a::after { display: none; }
    .ucb-mode-row, .ucb-crash-grid { grid-template-columns: 1fr 1fr; }
    .ucb-tele-item { grid-template-columns: 150px 110px 1fr; gap: 12px; }
    .ucb-sidebar { position: static; margin-top: 24px; }
    .ucb-related-grid { grid-template-columns: 1fr 1fr; }
    .ucb-share-float { display: none; }
}
@media (max-width: 575.98px) {
    .ucb-plate-name { font-size: 14px; padding: 8px 10px; }
    .ucb-hud-left { flex-direction: column; }
    .ucb-mode-row, .ucb-crash-grid, .ucb-holo-grid { grid-template-columns: 1fr; }
    .ucb-decal-grid { grid-template-columns: 1fr 1fr; }
    .ucb-pitlane { grid-template-columns: repeat(2, 1fr); }
    .ucb-tele-panel { padding: 20px 16px; }
    .ucb-tele-item { grid-template-columns: 1fr; gap: 6px; }
    .ucb-garage-grid { grid-template-columns: 1fr; gap: 26px; }
    .ucb-list-item { flex-direction: column; }
    .ucb-list-item .list-img { flex: none; }
    .ucb-list-item .list-img img { height: 180px; }
    .ucb-detail { padding: 20px 16px; }
    .ucb-detail-nav { grid-template-columns: 1fr; }
    .ucb-detail-nav .nav-next { text-align: left; }
    .ucb-related-grid { grid-template-columns: 1fr; }
    .ucb-faq-answer { padding-left: 18px; }
    .ucb-share-fixed { display: none; }
}
