/* PotPlayer 资料站：暖米白、深铜棕、灰蓝与琥珀色的索引式界面。 */
:root {
  --brand: #884829;
  --brand-dark: #63351f;
  --blue: #4D6272;
  --ink: #24282C;
  --paper: #F8F5EE;
  --paper-deep: #EDE9DF;
  --text: #292723;
  --muted: #57554F;
  --amber: #E5B64B;
  --line: #d8d1c5;
  --line-dark: #b9b0a3;
  --white: #fffefa;
  --content: 1160px;
  --reading: 790px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif; font-size: 15px; line-height: 1.82; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--brand-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 50; padding: 8px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 10; background: rgba(248,245,238,.96); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: var(--content); min-height: 82px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: grid; line-height: 1.35; }
.brand strong { font-size: 18px; letter-spacing: -.4px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav a { padding: 10px 15px; color: var(--muted); text-decoration: none; border: 1px solid transparent; border-radius: 3px; font-size: 14px; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--brand); background: #f0e9de; border-color: #e2d6c7; }
.nav-toggle { display: none; border: 1px solid var(--line-dark); border-radius: 3px; padding: 7px 12px; background: transparent; color: var(--ink); font: inherit; }
.page-shell { width: min(100% - 56px, var(--content)); margin-inline: auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); align-items: center; gap: clamp(40px, 7vw, 90px); padding-top: 76px; padding-bottom: 78px; }
.eyebrow, .section-kicker { margin: 0 0 12px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow__line { width: 24px; height: 2px; background: var(--amber); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 20px; color: var(--ink); font-size: clamp(34px, 4.5vw, 54px); line-height: 1.22; letter-spacing: -.055em; font-weight: 700; }
.hero__lead { max-width: 630px; margin-bottom: 28px; color: #4f4b44; font-size: 17px; line-height: 1.95; }
.hero__links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 18px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-size: 13px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--brand); color: white; }
.button--primary:hover { background: var(--brand-dark); color: white; }
.button--dark { background: var(--ink); color: white; }
.button--dark:hover { background: #41474c; color: white; }
.text-link { font-size: 13px; font-weight: 700; }
.hero-index { padding: 22px 24px 18px; border: 1px solid var(--line-dark); background: rgba(255,254,250,.66); box-shadow: 8px 8px 0 rgba(136,72,41,.055); }
.hero-index__top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.status-mark { color: #89601c; }
.hero-index__brand { padding: 20px 0 13px; color: var(--brand); font-size: 29px; font-weight: 700; letter-spacing: -.04em; }
.hero-index__rule { display: flex; gap: 5px; height: 12px; align-items: end; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.hero-index__rule i { display: block; width: 1px; height: 5px; background: #9d9588; }
.hero-index__rule i:nth-child(3n) { height: 10px; background: var(--brand); }
.index-row { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid #e5dfd5; font-size: 12px; }
.index-row:last-child { border-bottom: 0; }
.index-row__label { color: var(--muted); }
.index-row__value { color: var(--ink); font-size: 12px; font-weight: 700; }
.index-row__note { grid-column: 2; color: #777168; font-size: 11px; line-height: 1.5; }
.page-layout { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: clamp(34px, 6vw, 82px); padding-top: 20px; padding-bottom: 90px; border-top: 1px solid var(--line); }
.contents-rail { position: sticky; top: 24px; align-self: start; display: grid; gap: 0; padding-top: 28px; }
.rail-title { margin-bottom: 13px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.contents-rail a { padding: 9px 0 9px 12px; border-left: 1px solid var(--line-dark); color: #625e56; text-decoration: none; font-size: 12px; }
.contents-rail a:hover { border-left: 2px solid var(--brand); color: var(--brand); }
.article-column { min-width: 0; }
.content-section { padding: 48px 0 50px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.section-number { flex: 0 0 36px; padding-top: 5px; color: var(--brand); font: 700 14px/1.2 Consolas, "Courier New", monospace; letter-spacing: .02em; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: clamp(23px, 2.5vw, 30px); line-height: 1.4; letter-spacing: -.035em; }
.section-kicker { margin-bottom: 5px; font-size: 10px; }
.prose { max-width: var(--reading); color: #45413b; }
.prose p { margin-bottom: 17px; }
.prose p:last-child { margin-bottom: 0; }
.prose--wide { max-width: 850px; }
.fact-strip { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 28px; border: 1px solid var(--line); background: #f2eee5; }
.fact-strip div { min-height: 78px; display: grid; align-content: center; gap: 3px; padding: 12px 16px; border-right: 1px solid var(--line); }
.fact-strip div:last-child { border-right: 0; }
.fact-strip span { color: var(--muted); font-size: 10px; }
.fact-strip strong { color: var(--ink); font-size: 12px; }
.text-amber { color: #89601c !important; }
.notice-panel { display: flex; gap: 14px; margin-top: 25px; padding: 18px 20px; border: 1px solid #dfc991; background: #f7f0dd; }
.notice-panel__mark { flex: 0 0 25px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 800; }
.notice-panel strong { display: block; margin-bottom: 4px; color: #5f4618; font-size: 13px; }
.notice-panel p { margin: 0; color: #665a43; font-size: 12px; }
.selection-list { margin-top: 30px; border-top: 1px solid var(--line-dark); }
.selection-step { display: grid; grid-template-columns: 55px minmax(0,1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step-number { color: var(--blue); font: 700 17px/1.5 Consolas, "Courier New", monospace; }
.selection-step h3, .resource-row h3, .skin-row h3 { margin: 0 0 7px; color: var(--ink); font-size: 16px; }
.selection-step p, .resource-row p, .skin-row p { margin: 0; color: #555149; font-size: 13px; line-height: 1.85; }
.section-end-link { margin: 24px 0 0; padding: 14px 16px; border-left: 3px solid var(--amber); background: #f0ece3; color: #514c43; font-size: 13px; }
.resource-rows { margin-top: 26px; border-top: 1px solid var(--line-dark); }
.resource-row { display: grid; grid-template-columns: 95px minmax(0,1fr); gap: 18px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.resource-index { padding-top: 3px; color: var(--blue); font-size: 11px; font-weight: 700; }
.resource-detail { margin-top: 9px !important; padding-top: 9px; border-top: 1px dashed var(--line); color: #6a655c !important; }
.resource-detail b, .skin-row b { color: var(--blue); }
.skin-table { margin-top: 26px; border-top: 1px solid var(--line-dark); }
.skin-row { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.skin-row__number { color: var(--brand); font: 700 14px/1.5 Consolas, "Courier New", monospace; }
.skin-row p + p { margin-top: 8px; }
.closing-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 50px; padding: 28px; background: var(--paper-deep); border: 1px solid var(--line); }
.closing-panel h2 { max-width: 520px; margin: 0 0 8px; color: var(--ink); font-size: 21px; line-height: 1.45; }
.closing-panel p:last-child { max-width: 550px; margin: 0; color: var(--muted); font-size: 12px; }
.site-footer { background: var(--ink); color: #e7e2d9; }
.site-footer__inner { width: min(100% - 56px, var(--content)); margin: auto; padding: 34px 0 26px; display: grid; grid-template-columns: 1fr auto; gap: 12px 30px; }
.footer-brand { color: white; font-weight: 700; text-decoration: none; }
.site-footer p { margin: 5px 0 0; color: #c0bbb2; font-size: 11px; }
.footer-links { display: flex; align-items: flex-start; gap: 20px; }
.footer-links a { color: #e4cba7; font-size: 11px; }
.copyright { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid #4c5052; }
/* 下载页保持同一套索引语言，但将版本信息与核对流程作为主阅读对象。 */
.download-page { padding-top: 28px; padding-bottom: 90px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 36px; padding: 0; list-style: none; color: #817b70; font-size: 11px; }
.breadcrumb li + li::before { content: "/"; margin-right: 9px; color: #aaa294; }
.breadcrumb a { color: #6b665d; text-decoration: none; }
.download-intro { max-width: 850px; padding: 16px 0 34px; border-bottom: 1px solid var(--line-dark); }
.download-intro h1 { max-width: 760px; font-size: clamp(34px,4vw,48px); }
.intro-lead { max-width: 760px; margin-bottom: 25px; color: #4e4a43; font-size: 16px; }
.intro-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--blue); font-size: 11px; }
.intro-meta a { font-weight: 700; }
.download-section { max-width: 900px; padding: 43px 0; border-bottom: 1px solid var(--line); }
.availability-box { display: flex; gap: 18px; padding: 22px; border: 1px solid #dfc991; background: #f7f0dd; }
.availability-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--amber); color: var(--ink); font: 700 24px/1 Consolas, monospace; }
.availability-box strong { color: #5f4618; }
.availability-box p { margin: 5px 0 0; color: #655b48; font-size: 13px; }
.supporting-copy { margin: 18px 0 0; color: #5b564e; font-size: 13px; }
.package-index { margin: 4px 0 26px; padding: 4px 20px; border: 1px solid var(--line); background: rgba(255,254,250,.55); }
.package-index .index-row { grid-template-columns: 100px minmax(0,1fr); padding: 14px 0; }
.package-index .index-row__value { font-size: 13px; }
.package-index .index-row__note { grid-column: 2; }
.field-explanations { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; }
.field-explanations article { padding: 17px 0; border-top: 1px solid var(--line); }
.field-explanations h3 { margin-bottom: 7px; color: var(--ink); font-size: 14px; }
.field-explanations p { margin: 0; color: #59544c; font-size: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line); }
.choice-grid article { min-height: 165px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.choice-grid article > span { color: var(--blue); font: 700 10px/1.4 Consolas, monospace; }
.choice-grid h3 { margin: 8px 0 6px; color: var(--ink); font-size: 16px; }
.choice-grid p { margin: 0; color: #59544c; font-size: 12px; }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq-item { padding: 19px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { display: flex; gap: 13px; margin: 0 0 8px; color: var(--ink); font-size: 15px; }
.faq-item h3 span { flex: 0 0 42px; color: var(--brand); font-size: 10px; line-height: 2.2; }
.faq-item p { margin: 0 0 0 55px; color: #57534b; font-size: 13px; }
.download-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 900px; padding: 25px 0; }
.download-bottom p { margin: 0; color: var(--muted); font-size: 12px; }
.download-bottom a { font-size: 12px; font-weight: 700; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0,1fr) minmax(280px,.9fr); gap: 34px; }
  .page-layout { grid-template-columns: 135px minmax(0,1fr); gap: 32px; }
  .contents-rail a { font-size: 11px; }
}
@media (max-width: 700px) {
  body { font-size: 14px; }
  .site-header__inner { min-height: 70px; padding: 0 20px; }
  .nav-toggle { display: inline-block; }
  .primary-nav { position: absolute; top: 69px; left: 0; right: 0; display: none; padding: 10px 20px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 11px 12px; }
  .page-shell { width: min(100% - 40px, var(--content)); }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; padding-bottom: 46px; }
  h1 { font-size: 36px; }
  .hero__lead { font-size: 15px; }
  .hero-index { max-width: 520px; }
  .page-layout { display: block; padding-top: 0; padding-bottom: 55px; }
  .contents-rail { position: static; display: flex; overflow-x: auto; gap: 0; padding: 13px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
  .rail-title { display: none; }
  .contents-rail a { flex: 0 0 auto; padding: 5px 12px; border-left: 0; border-bottom: 1px solid transparent; }
  .contents-rail a:hover { border-left: 0; border-bottom-color: var(--brand); }
  .content-section { padding: 36px 0; }
  .section-heading { gap: 11px; }
  .section-number { flex-basis: 27px; }
  .section-heading h2 { font-size: 23px; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip div { min-height: 58px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact-strip div:last-child { border-bottom: 0; }
  .closing-panel { align-items: flex-start; flex-direction: column; padding: 22px; }
  .site-footer__inner { width: min(100% - 40px, var(--content)); grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
  .download-page { padding-top: 22px; }
  .download-intro { padding-top: 8px; }
  .intro-meta { display: grid; }
  .download-section { padding: 34px 0; }
  .field-explanations, .choice-grid { grid-template-columns: 1fr; }
  .choice-grid { border-left: 0; }
  .choice-grid article { min-height: auto; padding: 17px 0; border-right: 0; }
  .download-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
  .page-shell { width: min(100% - 32px, var(--content)); }
  .site-header__inner { padding-inline: 16px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 10px; }
  h1 { font-size: 32px; }
  .hero__links { align-items: flex-start; flex-direction: column; gap: 15px; }
  .selection-step { grid-template-columns: 39px minmax(0,1fr); gap: 8px; }
  .resource-row { grid-template-columns: 1fr; gap: 7px; }
  .skin-row { grid-template-columns: 34px minmax(0,1fr); gap: 8px; }
  .availability-box { padding: 16px; gap: 12px; }
  .faq-item p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* 下载资料长文区域：让每项核验依据保持独立、连续且易于扫读。 */
.verification-list { border-top: 1px solid var(--line-dark); }
.verification-item { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 15px; padding: 20px 0 21px; border-bottom: 1px solid var(--line); }
.verification-number { padding-top: 2px; color: var(--blue); font: 700 13px/1.5 Consolas, "Courier New", monospace; }
.verification-item h3 { margin: 0 0 7px; color: var(--ink); font-size: 15px; line-height: 1.55; }
.verification-item p { max-width: 780px; margin: 0; color: #57534b; font-size: 13px; line-height: 1.95; }
.term-list { margin: 0; border-top: 1px solid var(--line-dark); }
.term-list > div { display: grid; grid-template-columns: 125px minmax(0,1fr); gap: 20px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.term-list dt { color: var(--brand); font-size: 13px; font-weight: 700; }
.term-list dd { margin: 0; color: #57534b; font-size: 12px; }
@media (max-width: 700px) {
  .verification-item { grid-template-columns: 32px minmax(0,1fr); gap: 9px; }
  .verification-item p { font-size: 12px; }
  .term-list > div { grid-template-columns: 90px minmax(0,1fr); gap: 12px; }
}
@media print {
  :root { --paper: #fff; --text: #111; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .site-header, .site-footer, .contents-rail, .nav-toggle, .button, .hero__links { display: none !important; }
  .page-shell { width: 100%; }
  .hero { display: block; padding: 0 0 20px; }
  .hero-index { margin-top: 20px; box-shadow: none; }
  .page-layout { display: block; border: 0; }
  .content-section, .download-section { break-inside: avoid; }
  a { color: #111; text-decoration: none; }
}
.troubleshooting-list .verification-item { padding-block: 22px; }
.troubleshooting-list .verification-item p { line-height: 2; }
/* 长期维护资料的版式细节。 */
.verification-item + .verification-item { background-image: linear-gradient(to right, transparent 0, transparent 42px, rgba(237,233,223,.25) 42px); }
.verification-item h3::selection, .verification-item p::selection { background: rgba(229,182,75,.38); }
.term-list dt, .term-list dd, .verification-item h3, .verification-item p { overflow-wrap: anywhere; }
