:root { --bg: #0c0c0f; --bg-2: #121216; --card: #16161b; --card-2: #1c1c22; --line: #26262e; --line-2: #33333d; --ink: #eaeaef; --ink-2: #9494a1; --ink-3: #5b5b66; --red: #cf4a40; --red-2: #8f2f28; --radius: 12px; --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 16px 34px -22px #000; } * { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; } body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; } .sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } /* ── 顶栏 ───────────────────────────── */ .bar { position: sticky; top: 0; z-index: 50; background: rgba(12, 12, 15, .88); backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid var(--line); } .bar-top, .bar-main { max-width: 1200px; margin: 0 auto; padding-inline: 20px; } .bar-top { display: flex; align-items: baseline; gap: 14px; padding-top: 13px; flex-wrap: wrap; } .brand { font-size: 18px; font-weight: 780; letter-spacing: -.5px; color: var(--ink); text-decoration: none; white-space: nowrap; } .brand span { color: var(--red); } .warn { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; background: linear-gradient(100deg, #ef6353 0%, #ffb99c 30%, #ff7b6b 55%, #ffc9a8 80%, #ef6353 100%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: warn-flow 6s linear infinite, warn-pulse 3.2s ease-in-out infinite; } @keyframes warn-flow { to { background-position: 240% 0; } } @keyframes warn-pulse { 50% { opacity: .62; } } .bar-main { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; padding-top: 10px; } .search { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: 9px; transition: border-color .15s, background .15s; } .search:focus-within { border-color: var(--line-2); background: var(--card-2); } .search svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; } .search input { flex: 1; min-width: 0; padding: 9px 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; outline: none; } .search input::placeholder { color: var(--ink-3); } .search input::-webkit-search-cancel-button { -webkit-appearance: none; } .sortbox { flex: none; } .sortbox select { padding: 9px 30px 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--card) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%239494a1' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--ink); font: inherit; font-size: 13.5px; appearance: none; cursor: pointer; outline: none; } .sortbox select:focus { border-color: var(--line-2); } /* ── 投票 ───────────────────────────── */ .vote { max-width: 1200px; margin: 20px auto 0; padding: 20px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, var(--card-2) 0%, var(--card) 100%); box-shadow: var(--shadow); } .vote-head { margin-bottom: 14px; } .vote-title { display: flex; align-items: center; gap: 9px; } .dot-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(207, 74, 64, .16), 0 0 14px rgba(207, 74, 64, .55); } .vote h2 { margin: 0; font-size: 16px; font-weight: 720; letter-spacing: -.1px; } .vote-sub { margin: 5px 0 0 16px; font-size: 12.5px; color: var(--ink-3); } .vote-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .cand { position: relative; display: flex; align-items: center; gap: 11px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .014); cursor: pointer; transition: background .14s, border-color .14s; user-select: none; } .cand:hover { background: rgba(255, 255, 255, .04); border-color: var(--line-2); } .cand input { position: absolute; opacity: 0; pointer-events: none; } .dot { flex: none; width: 15px; height: 15px; border: 1.5px solid var(--line-2); border-radius: 50%; transition: border-color .14s, box-shadow .14s; } .cand input:checked ~ .dot { border-color: var(--red); box-shadow: inset 0 0 0 3.5px var(--card), inset 0 0 0 16px var(--red); } .cand:has(input:checked) { border-color: var(--red-2); background: rgba(207, 74, 64, .12); } .cand-name { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cand-en { font-size: 11px; font-weight: 400; color: var(--ink-3); } .pct { flex: none; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-2); min-width: 34px; text-align: right; } .bar-mini { position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .06); overflow: hidden; } .bar-mini i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--red); transition: width .5s cubic-bezier(.2, .8, .2, 1); } .vote-foot { display: flex; align-items: center; gap: 14px; margin-top: 14px; } .btn-vote { padding: 9px 24px; border: 1px solid var(--red-2); border-radius: 9px; background: linear-gradient(180deg, var(--red) 0%, #a8362e 100%); color: #fff; font: inherit; font-weight: 650; font-size: 14px; cursor: pointer; transition: filter .14s, opacity .14s; } .btn-vote:hover:not(:disabled) { filter: brightness(1.12); } .btn-vote:disabled { opacity: .38; cursor: default; } .vote-hint { font-size: 12.5px; color: var(--ink-3); } /* ── 卡片网格 ────────────────────────── */ .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1200px; margin: 18px auto 40px; padding: 0 20px; } .card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: border-color .18s, transform .18s; } .card:hover { border-color: var(--line-2); transform: translateY(-1px); } .card-head { display: flex; align-items: center; gap: 10px; padding: 13px 14px 11px; } .nameline { display: flex; align-items: baseline; gap: 7px; min-width: 0; flex: 1; } .name-en { font-size: 18px; font-weight: 760; letter-spacing: -.4px; white-space: nowrap; } .name-sep { color: var(--line-2); font-weight: 300; } .name-cn { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .head-meta { flex: none; display: flex; align-items: center; gap: 7px; } .ver-chip { padding: 2px 7px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--ink-2); font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: .02em; } .date { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; } .shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; background: var(--line); border-block: 1px solid var(--line); } .shots button { position: relative; display: block; width: 100%; padding: 0 0 133.3333% 0; border: 0; background-color: #14141a; background-size: cover; background-position: center top; background-repeat: no-repeat; overflow: hidden; cursor: zoom-in; transition: background-size .35s; } .shots button:hover { filter: brightness(1.08); } .shots .slot { position: absolute; left: 5px; bottom: 4px; padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, .62); color: rgba(255, 255, 255, .82); font-size: 9px; letter-spacing: .05em; opacity: 0; transition: opacity .2s; } .shots button:hover .slot { opacity: 1; } .card-foot { display: flex; align-items: center; gap: 8px; padding: 11px 14px 13px; } .base { flex: none; padding: 4px 8px; border: 1px solid rgba(207, 74, 64, .28); border-radius: 6px; background: rgba(207, 74, 64, .1); color: #e0736a; font-size: 10.5px; font-weight: 750; letter-spacing: .08em; } .ver { flex: none; padding: 6px 24px 6px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--card-2) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%239494a1' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 7px center; color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; appearance: none; cursor: pointer; outline: none; } .ver:focus { border-color: var(--line-2); } .ver.hide { display: none; } .dl { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 12px; border: 1px solid #3a3a45; border-radius: 7px; background: linear-gradient(180deg, #26262e 0%, #1d1d24 100%); color: var(--ink); font-size: 12.5px; font-weight: 600; text-decoration: none; transition: background .14s, border-color .14s; } .dl:hover { background: linear-gradient(180deg, #30303a 0%, #24242c 100%); border-color: #4a4a58; } .dl svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .8; } .dl small { font-size: 10.5px; font-weight: 400; color: var(--ink-3); font-variant-numeric: tabular-nums; } .empty { margin: 70px auto; text-align: center; color: var(--ink-3); font-size: 14px; } .card.ghost { display: grid; place-items: center; min-height: 320px; border: 1.5px dashed #2a2a33; background: transparent; box-shadow: none; color: var(--ink-3); font-size: 13px; } .card.ghost:hover { transform: none; border-color: #33333d; } /* ── 页脚 ───────────────────────────── */ .foot { max-width: 1200px; margin: 0 auto 40px; padding: 18px 20px 0; border-top: 1px solid var(--line); } .foot p { margin: 0; font-size: 11.5px; color: var(--ink-3); letter-spacing: .01em; } /* ── 灯箱 ───────────────────────────── */ .lb { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(6, 6, 8, .95); backdrop-filter: blur(8px); animation: fade .18s ease; } .lb[hidden] { display: none; } @keyframes fade { from { opacity: 0 } to { opacity: 1 } } .lb figure { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; max-width: 92vw; max-height: 92vh; } #lbImg { width: min(88vw, 1100px); height: 78vh; background-size: contain; background-position: center; background-repeat: no-repeat; border-radius: 4px; } .lb figcaption { color: var(--ink-2); font-size: 12.5px; letter-spacing: .02em; } .lb-btn { position: absolute; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--ink); cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .14s; } .lb-btn:hover { background: rgba(255, 255, 255, .14); } .lb-close { top: 20px; right: 20px; width: 38px; height: 38px; font-size: 20px; line-height: 1; } .lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 44px; height: 44px; font-size: 24px; line-height: 1; } .lb-prev { left: 18px; } .lb-next { right: 18px; } /* ── 响应式 ─────────────────────────── */ @media (max-width: 900px) { .grid { grid-template-columns: 1fr; } .vote { margin: 14px 12px 0; padding: 16px 16px 15px; } .grid { padding: 0 12px; } .foot { padding-inline: 12px; } } @media (max-width: 620px) { .bar-top { padding-top: 11px; padding-inline: 14px; gap: 8px; } .bar-main { padding-inline: 14px; padding-bottom: 10px; } .brand { font-size: 16px; } .warn { font-size: 10.5px; white-space: normal; line-height: 1.35; } .name-en { font-size: 16px; } .head-meta .date { display: none; } .lb-prev, .lb-next { width: 38px; height: 38px; font-size: 20px; } .lb-prev { left: 6px; } .lb-next { right: 6px; } } @media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } } /* ===== 训练配方公告栏 ===== */ .notice { border-bottom: 1px solid var(--line); padding: 22px 20px 24px; background: #0f0f13; } .notice-head { max-width: 1100px; margin: 0 auto 16px; } .notice-head h2 { display: inline-block; font-size: 15px; font-weight: 700; margin: 0 0 5px 0; letter-spacing: -.2px; } .notice-sub { font-size: 12px; color: var(--dim); margin: 0; } .notice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1100px; margin: 0 auto; } @media (max-width: 820px) { .notice-grid { grid-template-columns: 1fr; } } .notice-card { background: #15151a; border: 1px solid var(--line); border-radius: 10px; padding: 14px 15px 12px; } .notice-card h3 { font-size: 12.5px; font-weight: 700; color: #7fd6a2; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid #22222a; letter-spacing: .02em; } .notice-card dl { margin: 0; } .notice-card dt { font-size: 10.5px; color: #6b6b78; margin-top: 7px; letter-spacing: .03em; } .notice-card dt:first-child { margin-top: 0; } .notice-card dd { font-size: 12px; color: #d0d0da; margin: 1px 0 0; line-height: 1.5; } .notice-card code { background: #1e1e26; padding: 1px 5px; border-radius: 3px; font-size: 11px; color: #a8d8bf; } .notice-note { max-width: 1100px; margin: 13px auto 0; font-size: 11px; color: #5f5f6b; line-height: 1.6; padding-left: 1px; } /* ===== 页脚免责 ===== */ .foot-legal { font-size: 10.5px; color: #4d4d57; line-height: 1.7; margin: 8px 0 0; max-width: 720px; } .foot-main { font-size: 11.5px; color: var(--dim); margin: 0; }