/* GTA6 Wikis，方向 A「钉住的海报」（taste-skill pinned-poster，种子 717677137）。
   金黄底（GTA VI 主视觉的日落天色）+ 近黑墨色，胭脂红只用在主按钮；一种字体 Archivo，大标题用最窄的宽度。
   方角；工具内部按「账本式」：外框不用颜色，进度条和已找到用珊瑚红。按钮、链接不用蓝紫色。 */
:root {
  --bg: #f0b23a;
  --ink: #140b08;
  --muted: #4a2e12;
  --accent: #c8102e;
  --accent-dark: #a80c26;
  --night: #140b08;
  --on-night: #f3f3f1;
  --night-muted: #d8d2c8;
  --gold: #f0b23a;
  --paper: #f4f3f1;
  --card: #ffffff;
  --line: #e6ddcd;
  --text-2: #5b4a3a;
  --ok: #1a6b36;
  --ok-bg: #e6f1e8;
  --warn: #8a2a16;
  --warn-bg: #f7e9e4;
  --r-app: 8px;
  --r-ctl: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* 五档字号 */
  --s-small: 15px;
  --s-body: clamp(17px, 16px + .25vw, 19px);
  --s-lead: clamp(22px, 18px + .8vw, 30px);
  --s-head: clamp(44px, 28px + 4vw, 88px);
  --s-disp: clamp(88px, 13vw, 212px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--s-body); line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 12px; }
p { margin: 0 0 16px; }
figure { margin: 0; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.ic { width: 20px; height: 20px; flex: none; }
.disp { font-family: var(--font); font-weight: 800; font-stretch: 62%; font-variation-settings: "wdth" 62; text-transform: uppercase; letter-spacing: -.01em; line-height: .86; }
.source, .credit { font-size: var(--s-small); color: var(--muted); }
.credit { margin: 12px 0 0; }

/* 页头：金黄底上一行，站名 + 三个链接 */
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 32px; height: 32px; }
.logo__t { font-weight: 800; font-stretch: 62%; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: var(--s-lead); line-height: 1; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 12px; transition: background .2s var(--ease); }
.nav a:hover { background: var(--ink); color: var(--gold); }
.nav a .ic { transition: transform .25s var(--ease); }
.nav a:hover .ic { transform: translateY(-2px) rotate(-6deg); }

/* 按钮：方角，一种填色 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s var(--ease), background .2s var(--ease); }
.btn--main { background: var(--accent); color: #fff; }
.btn--main:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn:active { transform: scale(.97); }

/* 首屏：大标题 + 右边一句话和按钮，下面一条官方主视觉，三张工具卡压在图的下沿 */
.hero__top { display: grid; grid-template-columns: 1fr minmax(300px, 400px); gap: 32px; align-items: end; padding-top: 8px; padding-bottom: 32px; }
.hero__h { font-size: var(--s-disp); margin: 0; }
.hero__lead { font-size: max(18px, var(--s-body)); margin: 0 0 16px; }
.hero__note { font-size: var(--s-small); color: var(--muted); margin: 16px 0 0; }
.hero__band { height: clamp(320px, 46vh, 520px); overflow: hidden; }
.hero__band img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; animation: drift 22s ease-in-out infinite alternate; }
.hero__cards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-top: -96px; position: relative; }
.tcard { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--night); color: var(--on-night); text-decoration: none; transition: transform .25s var(--ease); }
.tcard:hover { transform: translateY(-6px); color: var(--on-night); }
.tcard__name { display: flex; align-items: center; gap: 10px; font-size: var(--s-lead); margin: 0; color: var(--on-night); }
.tcard__name .ic { width: 28px; height: 28px; color: var(--gold); }
.tcard__desc { font-size: 16px; color: var(--night-muted); }
.tcard__cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; background: var(--accent); color: #fff; font-weight: 600; font-size: 16px; }
.tcard__cta .ic { transition: transform .25s var(--ease); }
.tcard:hover .tcard__cta .ic { transform: translateX(4px); }

/* 查车：整幅街景，数字压在左下角；下面是能用的搜车框 */
.look { margin-top: 160px; }
.look__photo { position: relative; height: 88svh; min-height: 480px; max-height: 820px; overflow: hidden; }
.look__photo img { width: 100%; height: 100%; object-fit: cover; }
.look__over { position: absolute; inset: 0; isolation: isolate; display: grid; grid-template-columns: 1fr minmax(240px, 26ch); grid-template-rows: auto 1fr auto; padding: 24px 32px; color: var(--on-night); }
.look__over::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0, 0, 0, .55) 0, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .7) 100%); }
.look__h { grid-column: 1 / -1; grid-row: 1; font-size: var(--s-lead); font-weight: 700; color: var(--on-night); margin: 0; }
.look__fig { grid-column: 1; grid-row: 3; font-size: var(--s-disp); line-height: .8; color: var(--on-night); }
.look__text { grid-column: 2; grid-row: 3; align-self: end; text-align: right; font-size: var(--s-body); padding-bottom: 8px; }
.look__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; margin-top: 40px; }
.look .credit { margin-top: 8px; }
.look__form label { display: block; font-weight: 600; margin-bottom: 8px; }
.look__row { display: flex; gap: 8px; }
.look__row input { flex: 1; min-width: 0; font: inherit; font-size: 18px; min-height: 52px; padding: 0 16px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); border-radius: 0; }
.look__results { list-style: none; margin: 12px 0 0; padding: 0; }
.look__results li { animation: rise .3s var(--ease) both; }
.look__results a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 16px; margin-bottom: 4px; background: var(--card); color: var(--ink); text-decoration: none; transition: transform .15s var(--ease); }
.look__results a:hover { transform: translateX(4px); color: var(--ink); }
.look__results b { font-weight: 600; }
.look__results span { color: var(--text-2); font-size: 16px; }
.look__results em { font-style: normal; font-weight: 700; text-align: right; }
.look__figs p { display: flex; gap: 16px; align-items: baseline; margin: 0 0 24px; }
.look__n { font-size: var(--s-head); min-width: 2.6em; }

/* 钉住的一段：左边文字不动，右边四张竖图交错滑过 */
.pin { margin-top: 160px; }
.pin__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.pin__hold { position: sticky; top: 14vh; align-self: start; }
.pin__h { font-size: var(--s-head); margin: 0 0 24px; }
.pin__text { max-width: 40ch; }
.pin__run { display: flex; flex-direction: column; }
.pin__panel { width: 44%; }
.pin__panel:nth-child(even) { align-self: flex-end; }
.pin__panel + .pin__panel { margin-top: -30%; }
.pin__panel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pin__panel figcaption { display: grid; gap: 8px; padding-top: 16px; }
.pin__fig { font-size: var(--s-head); }
.pin__link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.pin__link .ic { transition: transform .25s var(--ease); }
.pin__link:hover .ic { transform: translateX(4px); }
.pin__cap { font-size: var(--s-small); color: var(--muted); }

/* 各家数字：深色整块，同一字号的一张表 */
.lineup { margin-top: 160px; padding: 120px 0; background: var(--night); color: var(--on-night); }
.lineup__h { font-size: var(--s-head); color: var(--on-night); margin: 0; }
.lineup__g { font-size: var(--s-lead); font-weight: 500; color: var(--gold); margin: 72px 0 16px; }
.lineup__t { width: 100%; border-collapse: collapse; font-size: var(--s-lead); }
.lineup__t th, .lineup__t td { text-align: left; vertical-align: baseline; padding: 0; line-height: 1.5; font-weight: 400; }
.lineup__t th { width: 34%; }
.lineup__t td { color: var(--night-muted); }
.lineup__t .lineup__c { color: var(--on-night); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lineup a { color: var(--on-night); }
.lineup a:hover { color: var(--gold); }
.lineup .source { color: var(--night-muted); margin-top: 48px; }

/* 正文 + 两张图 */
.split { margin-top: 160px; }
.split__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; }
.split__grid > *, .look__grid > *, .pin__grid > *, .faqx__grid > *, .phead__grid--img > * { min-width: 0; }
.split__pics { display: grid; gap: 32px; align-content: start; }
.split__pics img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split__pics figcaption, .phead__fig figcaption, .prose figcaption { font-size: var(--s-small); color: var(--muted); margin-top: 8px; }
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--s-lead); font-weight: 700; margin: 48px 0 12px; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 16px; }
.prose li { margin: 4px 0; }
.prose figure { margin: 24px 0; }
.prose table { display: block; overflow-x: auto; max-width: 100%; width: 100%; border-collapse: collapse; font-size: 16px; margin: 0 0 8px; background: var(--card); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose thead th { font-size: var(--s-small); font-weight: 600; color: var(--text-2); }

/* 常见问题：左边问题列表，右边一个答案（电脑上），手机上点开就在下面 */
.faqx { margin-top: 160px; padding-bottom: 120px; }
.faqx__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.faqx__h { font-size: var(--s-head); margin: 0 0 24px; }
.faqx__item summary { list-style: none; cursor: pointer; position: relative; padding: 9px 0 9px 22px; font-size: 18px; color: var(--muted); transition: color .15s var(--ease); }
.faqx__item summary::-webkit-details-marker { display: none; }
.faqx__item summary::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); transition: background .15s var(--ease), transform .2s var(--ease); }
.faqx__item[open] summary, .faqx__item.is-sel summary, .faqx__item summary:hover { color: var(--ink); }
.faqx__item[open] summary::before, .faqx__item.is-sel summary::before { background: var(--accent); transform: scale(1.4); }
.faqx__a { margin: 0 0 12px 22px; }
.faqx__pane { display: none; }
@media (min-width: 900px) {
  .faqx--js .faqx__a { display: none; }
  .faqx--js .faqx__pane { display: block; position: sticky; top: 120px; align-self: start; font-size: var(--s-lead); line-height: 1.3; max-width: 30ch; transition: opacity .15s var(--ease); }
  .faqx--js .faqx__pane.fade { opacity: 0; }
}

/* 内页：金黄底的页头（标题 + 右边截图），下面纸色底放工具和正文 */
.phead { padding: 16px 0 64px; }
.phead__grid--img { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
.crumbs { font-size: var(--s-small); color: var(--muted); margin: 8px 0 16px; }
.crumbs a { color: var(--muted); }
.page__h { font-size: var(--s-head); margin: 0 0 16px; }
.page__lead { max-width: 60ch; margin: 0 0 8px; }
.phead__fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }
.phead__fig { overflow: hidden; }
.paper { background: var(--paper); padding: 48px 0 96px; }
.paper--tool .prose, .paper--tool .split__grid--page { margin-top: 64px; }
.split__grid--page .prose { max-width: none; }
.phead__cta { margin-top: 16px; }
.k-tool .faqx, .k-page:not(.k-home) .faqx { margin-top: 0; padding-top: 96px; }
.nf__list { font-size: 18px; }

/* 页脚：原创日落插画一条，下面深色底，站名开头 */
.foot-band { height: clamp(140px, 22vw, 300px); background: var(--night) url(https://img.gta6wikis.com/s_2j1l0d0k5b5d5z/sunset-banner.8f05d72b6c.webp) center 45% / cover no-repeat; }
.site-foot { background: var(--night); color: var(--on-night); padding: 48px 0 32px; }
.site-foot a { color: var(--on-night); }
.site-foot a:hover { color: var(--gold); }
.foot__name { font-size: var(--s-disp); color: var(--gold); margin: 0; white-space: nowrap; }
.foot__row { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; margin-top: 72px; }
.foot__places { list-style: none; margin: 0; padding: 0; }
.foot__places li { margin: 0 0 8px; }
.foot__places a { font-size: var(--s-lead); color: var(--gold); text-decoration: none; }
.foot__places a:hover { text-decoration: underline; }
.foot__links { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 24px; font-size: 16px; }
.foot__links ul { list-style: none; margin: 0; padding: 0; }
.foot__links li { margin: 0 0 10px; }
.foot__about { color: var(--night-muted); margin: 0; }
.foot__legal { display: flex; justify-content: space-between; gap: 24px; margin-top: 96px; font-size: var(--s-small); color: var(--night-muted); }
.foot__legal p { margin: 0; max-width: 80ch; }

/* 进场：脚本给要动的元素加 .rv，进入视口加 .in；没脚本时什么都不藏 */
.js-rv .rv { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-rv .rv.in { opacity: 1; transform: none; }
.bump { animation: bump .35s var(--ease); }
@keyframes drift { from { transform: scale(1.06) translateX(-1.2%); } to { transform: scale(1.06) translateX(1.2%); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .hero__top { grid-template-columns: 1fr; gap: 16px; }
  .hero__cards { grid-template-columns: 1fr; margin-top: -48px; }
  .look__grid, .pin__grid, .split__grid, .faqx__grid, .phead__grid--img, .foot__row { grid-template-columns: 1fr; gap: 32px; }
  .pin__hold { position: static; }
  .pin__panel, .pin__panel:nth-child(even) { width: 100%; align-self: auto; }
  .pin__panel + .pin__panel { margin-top: 48px; }
  .pin__panel img { aspect-ratio: 4 / 3; }
  .phead__fig { order: -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .site-head__in { gap: 4px; padding-top: 8px; padding-bottom: 4px; }
  /* 手机上导航四格平分：图标在上、字在下，一行放得下 */
  .nav { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
  .nav a { flex-direction: column; justify-content: center; text-align: center; padding: 6px 2px; font-size: 14px; gap: 2px; }
  .sm-hide { display: none; }
  .hero__h { font-size: 23vw; }
  .hero__side .btn { width: 100%; }
  .hero__band { height: 44vh; }
  .look, .pin, .split, .faqx { margin-top: 96px; }
  .look__photo { height: 80svh; }
  .look__over { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; padding: 16px; }
  .look__text { grid-column: 1; grid-row: 3; text-align: left; padding: 0 0 8px; }
  .look__fig { grid-row: 4; font-size: 30vw; }
  .lineup { padding: 72px 0; margin-top: 96px; }
  .lineup__t, .lineup__t tbody, .lineup__t tr, .lineup__t th, .lineup__t td { display: block; width: 100%; }
  .lineup__t tr { display: grid; grid-template-columns: 1fr auto; margin-bottom: 16px; }
  .lineup__t th { font-size: 22px; grid-column: 1; }
  .lineup__t .lineup__c { grid-column: 2; grid-row: 1; font-size: 22px; }
  .lineup__t td:not(.lineup__c) { grid-column: 1 / -1; font-size: 15px; }
  .foot__name { font-size: 21vw; }
  .foot__links { grid-template-columns: 1fr 1fr; }
  .foot__about { grid-column: 1 / -1; }
  .foot__legal { flex-direction: column; margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-rv .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
