/* 梯子游戏 / visual system: ink, jade, champagne and warm paper. */
@layer reset, base, components, pages, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
  img, canvas { display: block; max-width: 100%; }
  button, input, textarea { font: inherit; }
  button { cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  ul, ol { margin: 0; padding: 0; }
}

@layer base {
  :root {
    --ink: #071c18;
    --ink-2: #10332b;
    --ink-3: #1a493b;
    --jade: #26765c;
    --jade-deep: #15583f;
    --jade-light: #cae8d5;
    --gold: #d6b47b;
    --gold-light: #f0ddaf;
    --paper: #f5f3ec;
    --paper-2: #ebe9df;
    --white: #fffdf7;
    --text: #172924;
    --muted: #55665e;
    --line: #cfd8cf;
    --line-dark: rgba(232, 226, 204, .19);
    --shadow: 0 24px 64px rgba(7, 28, 24, .12);
    --container: 1216px;
    --radius: 18px;
  }
  body {
    min-width: 320px;
    background: var(--paper);
    color: var(--text);
    font: 400 16px/1.7 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  ::selection { background: var(--jade); color: #fff; }
  :focus-visible { outline: 3px solid #d7a95e; outline-offset: 4px; }
  .container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
  .skip-link { position: fixed; z-index: 1000; top: -80px; left: 16px; padding: 12px 18px; background: var(--white); color: var(--ink); border-radius: 8px; opacity: 0; pointer-events: none; }
  .skip-link:focus { top: 12px; opacity: 1; pointer-events: auto; }
  .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--jade-deep); font: 700 12px/1.2 system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
  .eyebrow::before { content: ""; width: 23px; height: 1px; background: currentColor; }
  .eyebrow--light { color: var(--gold-light); }
  h1, h2, h3 { font-weight: 700; letter-spacing: -.035em; line-height: 1.25; }
  h1 { font-size: clamp(2.5rem, 5.1vw, 5.3rem); }
  h2 { font-size: clamp(2rem, 3.25vw, 3.3rem); }
  h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
  p { line-height: 1.85; }
  .lead { font-size: clamp(1rem, 1.35vw, 1.18rem); color: var(--muted); }
  .muted { color: var(--muted); }
  .text-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--jade-deep); }
  .text-link::after { content: "↗"; font-size: 1.25em; font-weight: 400; transition: transform .2s ease; }
  .text-link:hover::after { transform: translate(3px, -3px); }
  .button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 13px 22px; border: 1px solid transparent; border-radius: 7px; font-weight: 700; line-height: 1.3; transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease; touch-action: manipulation; }
  .button:hover { transform: translateY(-2px); }
  .button:active { transform: translateY(0); }
  .button--gold { color: #102820; background: linear-gradient(130deg, #f0dcab, #cba86c 72%, #e4cc95); box-shadow: inset 0 1px rgba(255,255,255,.55), 0 10px 30px rgba(5,18,13,.2); }
  .button--gold:hover { background: linear-gradient(130deg, #fae8bb, #d9b476); }
  .button--outline { color: var(--white); border-color: rgba(245,243,236,.4); background: rgba(255,255,255,.035); }
  .button--outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
  .button--jade { color: #fff; background: var(--jade-deep); }
  .button--jade:hover { background: var(--ink-3); }
  .button--line { border-color: var(--line); background: transparent; color: var(--ink); }
  .button--line:hover { background: var(--white); border-color: var(--jade); }
  .section { padding-block: clamp(72px, 9vw, 128px); }
  .section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
  .section-head h2 { margin-top: 15px; }
  .section-head p { max-width: 480px; margin-top: 14px; color: var(--muted); }
  .section-head--stack { display: block; max-width: 720px; }
  .rule { border: 0; height: 1px; background: var(--line); }
}

@layer components {
  .site-header { position: relative; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--line-dark); color: #f5f3e9; }
  .header-inner { min-height: 84px; display: flex; align-items: center; gap: 38px; }
  .brand { display: inline-flex; align-items: center; flex: none; min-width: 0; }
  .brand img { width: auto; height: 50px; }
  .brand--footer img { height: 55px; }
  .main-nav { display: flex; align-items: center; gap: clamp(12px, 1.65vw, 27px); margin-left: auto; }
  .main-nav a { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; color: #d9e3db; font-size: 14px; transition: color .2s; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold-light); }
  .header-cta { flex: none; margin-left: 4px; min-height: 43px; padding: 10px 17px; font-size: 13px; }
  .menu-toggle { display: none; min-width: 44px; min-height: 44px; margin-left: auto; padding: 10px; border: 1px solid var(--line-dark); border-radius: 7px; background: transparent; color: #fff; }
  .menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; padding-block: 20px; font-size: 13px; color: var(--muted); }
  .breadcrumb a { color: var(--jade-deep); }
  .breadcrumb a:hover { text-decoration: underline; }
  .breadcrumb .sep { color: #93a198; }
  .site-footer { color: #d6dfd4; background: #061712; }
  .footer-main { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.3fr; gap: 64px; padding-block: 80px 64px; }
  .footer-about p { max-width: 330px; margin-top: 20px; font-size: 14px; color: #b6c8be; }
  .footer-title { margin-bottom: 21px; color: var(--gold-light); font-size: 13px; font-weight: 700; }
  .footer-links { display: grid; gap: 12px; list-style: none; }
  .footer-links a { font-size: 14px; color: #d5e0d5; }
  .footer-links a:hover { color: #fff; text-decoration: underline; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 30px; border-top: 1px solid var(--line-dark); color: #aebdb0; font-size: 12px; }
  .footer-bottom a:hover { color: #fff; }
  .tag-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
  .tag-list a { min-height: 36px; display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--jade-deep); font-size: 13px; transition: background .2s, color .2s; }
  .tag-list a:hover { background: var(--jade-deep); color: #fff; }
  .site-footer .tag-list a { border-color: #3c5c4d; color: #e3e4cf; }
  .site-footer .tag-list a:hover { background: #305b45; }
  .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
  .article-meta span + span::before { content: "·"; margin-right: 12px; color: #97a69b; }
  .article-card { min-width: 0; color: var(--text); background: var(--white); border: 1px solid #e0e3d9; border-radius: 12px; overflow: hidden; transition: transform .22s, box-shadow .22s; }
  .article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .article-card__image { display: block; aspect-ratio: 1.6; overflow: hidden; background: var(--ink-2); }
  .article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
  .article-card:hover img { transform: scale(1.035); }
  .article-card__body { padding: 23px; }
  .article-card__kicker { color: var(--jade-deep); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
  .article-card h3 { margin-top: 10px; font-size: 20px; line-height: 1.45; }
  .article-card h3 a:hover { color: var(--jade-deep); }
  .article-card p { margin: 12px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.75; }
  .article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .number-list { list-style: none; counter-reset: steps; }
  .number-list li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); counter-increment: steps; }
  .number-list li::before { content: counter(steps, decimal-leading-zero); color: var(--jade-deep); font: 600 22px/1.3 Georgia, serif; }
  .number-list h3 { margin-bottom: 7px; }
  .number-list p { color: var(--muted); }
  .faq-list { border-top: 1px solid var(--line); }
  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-item summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 72px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: "+"; flex: none; width: 30px; color: var(--jade-deep); text-align: center; font: 300 30px/1 sans-serif; }
  .faq-item[open] summary::after { content: "−"; }
  .faq-item p { max-width: 790px; padding: 0 40px 24px 0; color: var(--muted); }
}

@layer pages {
  .hero { position: relative; overflow: hidden; background: radial-gradient(circle at 68% 34%, #174937 0, #0b2b23 38%, #061b17 76%); color: #f7f5e9; }
  .hero::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(223,236,215,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(223,236,215,.045) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
  .hero-inner { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(40px, 6vw, 88px); min-height: 676px; padding-block: 70px 88px; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-copy h1 { max-width: 710px; margin: 24px 0; font-size: clamp(3rem, 5.1vw, 5.45rem); }
  .hero-copy h1 em { display: block; color: var(--gold-light); font-style: normal; }
  .hero-copy .lead { max-width: 550px; color: #c6d9ca; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
  .hero-points { display: flex; gap: 27px; flex-wrap: wrap; margin-top: 56px; color: #becfc0; font-size: 12px; }
  .hero-points span { display: inline-flex; gap: 10px; align-items: center; }
  .hero-points span::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
  .hero-visual { position: relative; min-width: 0; }
  .hero-visual::before { content: ""; position: absolute; width: 56%; aspect-ratio: 1; right: -9%; top: 5%; border-radius: 50%; background: #d2ab62; filter: blur(100px); opacity: .13; }
  .hero-art { position: relative; width: 100%; height: auto; max-height: 560px; object-fit: cover; aspect-ratio: 1.06; border: 1px solid rgba(244,236,208,.31); border-radius: 16px; box-shadow: 0 30px 85px rgba(0,0,0,.27), inset 0 1px rgba(255,255,255,.2); }
  .visual-note { position: absolute; right: -16px; bottom: 27px; display: grid; gap: 4px; width: 218px; padding: 17px 19px; background: rgba(241,237,215,.95); color: var(--ink); border-radius: 6px; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
  .visual-note strong { font-size: 13px; }
  .visual-note small { color: var(--muted); font-size: 11px; }
  .hero-index { position: absolute; left: 28px; bottom: 29px; color: rgba(230,225,194,.6); font: 12px/1.2 Georgia, serif; letter-spacing: .22em; }
  .intro-band { background: #e9eee6; border-bottom: 1px solid var(--line); }
  .intro-band__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 75px; align-items: center; padding-block: 28px; }
  .intro-band strong { font-size: 15px; }
  .intro-band p { font-size: 14px; color: var(--muted); }
  .portal-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
  .portal { position: relative; min-height: 290px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; overflow: hidden; border-radius: 10px; background: #e8e8dd; transition: transform .2s, box-shadow .2s; }
  .portal:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .portal--main { grid-row: span 2; min-height: 598px; background: radial-gradient(circle at 70% 85%, #277358, #103729 48%, #09251d); color: #fff; }
  .portal--gold { background: #e6dcc7; }
  .portal--sage { background: #dce8dc; }
  .portal--paper { background: #efeee6; }
  .portal--mint { background: #d1e5d7; }
  .portal .portal-id { font: 500 12px/1.2 Georgia, serif; letter-spacing: .13em; opacity: .75; }
  .portal h3 { margin: 0 0 12px; font-size: clamp(24px, 2.5vw, 33px); }
  .portal p { max-width: 270px; color: inherit; opacity: .75; font-size: 14px; }
  .portal .text-link { margin-top: 27px; }
  .portal--main .text-link { color: var(--gold-light); }
  .portal-orbit { position: absolute; width: 410px; height: 410px; left: 12%; top: 13%; border: 1px solid rgba(222,210,157,.26); border-radius: 50%; box-shadow: 0 0 0 40px rgba(223,208,147,.035), 0 0 0 94px rgba(223,208,147,.025), inset 0 0 65px rgba(104,191,133,.1); pointer-events: none; }
  .portal-orbit::before, .portal-orbit::after { content: ""; position: absolute; width: 85px; height: 85px; border-radius: 50%; background: #b9d7b0; filter: blur(36px); opacity: .3; }
  .portal-orbit::before { top: -15px; left: 12px; }
  .portal-orbit::after { bottom: -25px; right: 40px; }
  .portal--main > *:not(.portal-orbit) { position: relative; }
  .portal-graphic { align-self: end; width: 190px; height: 160px; margin-right: -15px; opacity: .8; background: repeating-linear-gradient(90deg, transparent 0 23px, rgba(248,238,198,.54) 24px 25px, transparent 26px 47px), linear-gradient(30deg, transparent 25%, rgba(243,211,142,.55) 26%, transparent 28% 51%, rgba(243,211,142,.7) 52%, transparent 54%); mask-image: linear-gradient(#000,transparent); }
  .dark-panel { background: var(--ink); color: #f7f6ed; }
  .dark-panel .section-head p { color: #b5c9b9; }
  .dark-panel .eyebrow { color: var(--gold-light); }
  .feature-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
  .feature-layout h2 { margin: 17px 0 20px; }
  .feature-layout p { color: #c0d0c1; }
  .feature-rows { border-top: 1px solid var(--line-dark); }
  .feature-row { display: grid; grid-template-columns: 62px 1fr 20px; gap: 20px; align-items: start; padding: 29px 0; border-bottom: 1px solid var(--line-dark); }
  .feature-row .num { color: var(--gold); font: 18px/1.4 Georgia, serif; }
  .feature-row h3 { font-size: 22px; margin-bottom: 8px; }
  .feature-row p { max-width: 600px; font-size: 14px; }
  .feature-row .arrow { color: var(--gold); font-size: 23px; }
  .feature-row:hover h3 { color: var(--gold-light); }
  .story-split { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; }
  .story-visual { position: relative; min-height: 440px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 70% 30%, #2a6953, #0b2a21 70%); border-radius: 12px; }
  .story-visual::after { content: "PATH / 01"; position: absolute; bottom: 25px; left: 27px; color: var(--gold-light); letter-spacing: .2em; font: 11px Georgia, serif; }
  .story-visual img { width: 75%; height: auto; filter: drop-shadow(0 20px 28px rgba(0,0,0,.25)); }
  .story-copy h2 { margin: 16px 0 25px; }
  .story-copy p + p { margin-top: 15px; }
  .story-copy .text-link { margin-top: 28px; }
  .topic-strip { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
  .topic-tile { position: relative; min-height: 315px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; background: #123a2d; color: #fff; border-radius: 10px; overflow: hidden; }
  .topic-tile:nth-child(2) { background: #d9ddcd; color: var(--ink); }
  .topic-tile::after { content: ""; position: absolute; right: -60px; top: -70px; width: 270px; height: 270px; border: 1px solid currentColor; border-radius: 50%; opacity: .18; box-shadow: 0 0 0 35px rgba(212,200,153,.08), 0 0 0 80px rgba(212,200,153,.07); }
  .topic-tile h3 { font-size: clamp(28px, 3vw, 40px); }
  .topic-tile p { max-width: 400px; margin-top: 12px; opacity: .77; font-size: 14px; }
  .topic-tile .text-link { color: inherit; }
  .home-faq { display: grid; grid-template-columns: .55fr 1fr; gap: 90px; }
  .home-faq h2 { margin: 18px 0; }
  .home-faq .text-link { margin-top: 20px; }
  .end-cta { background: linear-gradient(115deg, #123b2c, #0a251d); color: #fff; }
  .end-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 65px; }
  .end-cta h2 { margin: 10px 0; font-size: clamp(30px, 3vw, 47px); }
  .end-cta p { color: #bfd0be; }
  .page-hero { background: radial-gradient(circle at 78% 20%, #23553e, #0c2d23 50%, #071d18); color: #f7f4e8; }
  .page-hero .breadcrumb { color: #b7cbbc; }
  .page-hero .breadcrumb a { color: var(--gold-light); }
  .page-hero__inner { display: grid; grid-template-columns: 1fr .38fr; align-items: end; gap: 50px; min-height: 305px; padding-block: 35px 65px; }
  .page-hero h1 { max-width: 850px; margin: 18px 0 22px; font-size: clamp(2.5rem, 4.3vw, 4.5rem); }
  .page-hero p { max-width: 760px; color: #c7d9c8; font-size: 17px; }
  .page-hero__index { justify-self: end; color: rgba(218,203,156,.36); font: 400 clamp(82px, 11vw, 160px)/.8 Georgia, serif; }
  .page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 76px; padding-block: 76px 110px; }
  .page-layout__main { min-width: 0; }
  .prose { max-width: 780px; }
  .prose p { margin: 0 0 21px; color: #35473e; font-size: 16px; line-height: 2.05; }
  .prose h2 { margin: 44px 0 20px; font-size: clamp(25px, 2.4vw, 32px); }
  .prose h3 { margin: 30px 0 15px; font-size: 20px; }
  .prose ul, .prose ol { margin: 0 0 25px 23px; color: #35473e; }
  .prose li { padding-left: 5px; margin: 7px 0; line-height: 1.9; }
  .prose a { color: var(--jade-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  .prose a:hover { color: var(--ink); }
  .callout { margin: 35px 0; padding: 26px 29px; border-left: 3px solid var(--gold); background: #e6e9dd; }
  .callout strong { display: block; margin-bottom: 8px; color: var(--ink); }
  .callout p { margin: 0; font-size: 15px; }
  .sidebar { align-self: start; position: sticky; top: 28px; }
  .sidebar-block { margin-bottom: 30px; padding: 25px; border: 1px solid var(--line); background: #f0f0e8; border-radius: 8px; }
  .sidebar-block h2 { margin-bottom: 17px; font-size: 17px; }
  .sidebar-links { list-style: none; }
  .sidebar-links li { border-top: 1px solid var(--line); }
  .sidebar-links a { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; font-size: 14px; line-height: 1.5; }
  .sidebar-links a:hover { color: var(--jade-deep); }
  .sidebar-links a::before { content: "↗"; color: var(--jade-deep); }
  .sidebar-block--dark { background: var(--ink-2); color: #fff; border-color: var(--ink-2); }
  .sidebar-block--dark p { margin: 0 0 20px; color: #c0d5c5; font-size: 14px; }
  .content-section { padding-top: 45px; margin-top: 42px; border-top: 1px solid var(--line); }
  .content-section > h2 { margin-bottom: 22px; font-size: 27px; }
  .link-list { list-style: none; border-top: 1px solid var(--line); }
  .link-list li { border-bottom: 1px solid var(--line); }
  .link-list a { display: grid; grid-template-columns: 50px 1fr auto; gap: 16px; align-items: center; padding: 22px 4px; }
  .link-list a:hover strong { color: var(--jade-deep); }
  .link-list .idx { color: var(--jade-deep); font: 16px Georgia, serif; }
  .link-list strong { display: block; font-size: 18px; }
  .link-list small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
  .link-list .arr { color: var(--jade-deep); font-size: 22px; }
  .article-header { padding: 40px 0 44px; border-bottom: 1px solid var(--line); }
  .article-header h1 { max-width: 920px; margin: 18px 0 20px; font-size: clamp(2.4rem, 4.3vw, 4.3rem); }
  .article-summary { margin-top: 27px; padding: 20px 24px; background: #e7ede4; border-left: 3px solid var(--jade); color: #335146; font-size: 17px; }
  .article-cover { margin: 34px 0 0; }
  .article-cover img { width: 100%; height: auto; max-height: 440px; object-fit: cover; object-position: 50% 70%; border-radius: 9px; }
  .article-cover figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
  .article-layout { padding-top: 50px; }
  .article-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 44px; }
  .article-nav a { padding: 19px 22px; border: 1px solid var(--line); background: var(--white); border-radius: 6px; }
  .article-nav a:hover { border-color: var(--jade); }
  .article-nav span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
  .article-nav strong { font-size: 14px; }
  .article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 35px 0; }
  .article-tags > strong { font-size: 14px; }
  .article-related { padding-top: 30px; border-top: 1px solid var(--line); }
  .article-related h2 { margin-bottom: 20px; font-size: 26px; }
  .article-related .article-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .article-related .article-card:nth-child(3) { display: none; }
  .topic-intro { display: grid; grid-template-columns: 1fr .9fr; gap: 48px; align-items: center; margin-bottom: 44px; }
  .topic-intro p { color: var(--muted); }
  .topic-metric { padding: 30px; background: #dce8dc; border-radius: 8px; color: var(--ink); }
  .topic-metric span { display: block; font: 500 53px/1 Georgia, serif; color: var(--jade-deep); }
  .topic-metric small { display: block; margin-top: 8px; }
  .faq-page .faq-list { margin-top: 30px; }
  .faq-group { margin-bottom: 52px; }
  .faq-group h2 { margin-bottom: 14px; font-size: 28px; }
  .faq-group .faq-item p a { color: var(--jade-deep); text-decoration: underline; }
  .play-shell { margin: 28px 0 42px; background: #fbfaf4; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .play-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 25px; background: var(--ink-2); color: #fff; }
  .play-top h2 { font-size: 22px; }
  .play-top span { font: 12px Georgia, serif; color: var(--gold-light); letter-spacing: .14em; }
  .play-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 25px 25px 15px; }
  .field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
  .field small { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
  .field textarea { display: block; width: 100%; min-height: 110px; padding: 11px 12px; resize: vertical; border: 1px solid #b7c9bc; border-radius: 6px; background: #fff; color: var(--text); line-height: 1.6; }
  .play-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 25px 24px; }
  .play-error { min-height: 0; margin: 0 25px; color: #a22f28; font-weight: 700; font-size: 13px; }
  .play-board { padding: 20px 20px 10px; background: #e8eee6; border-top: 1px solid var(--line); }
  .play-board canvas { width: 100%; height: auto; aspect-ratio: 1.38; border-radius: 6px; background: #f8f8ef; }
  .play-status { padding: 12px 24px 20px; color: var(--muted); font-size: 13px; }
  .play-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; padding: 0 24px 24px; }
  .play-results button { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); text-align: left; }
  .play-results button:hover, .play-results button[aria-pressed="true"] { border-color: var(--jade); background: #e3f0e7; }
  .play-results strong { color: var(--jade-deep); font-size: 14px; }
  .play-results small { font-size: 12px; color: var(--muted); }
}

@layer responsive {
  @media (max-width: 1080px) {
    .header-inner { gap: 17px; }
    .brand img { height: 43px; }
    .main-nav { gap: 12px; }
    .main-nav a { font-size: 12px; }
    .header-cta { display: none; }
    .hero-inner { min-height: 620px; }
    .feature-layout, .page-layout { gap: 42px; }
    .footer-main { gap: 28px; }
  }
  @media (max-width: 820px) {
    .container { width: min(calc(100% - 40px), var(--container)); }
    .header-inner { min-height: 72px; }
    .menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 12px 20px 24px; background: var(--ink); border-top: 1px solid var(--line-dark); box-shadow: 0 25px 45px rgba(0,0,0,.25); }
    .main-nav[data-open="true"] { display: grid; grid-template-columns: repeat(2,1fr); gap: 5px 18px; }
    .main-nav a { min-height: 48px; padding: 8px; font-size: 15px; }
    .hero-inner { grid-template-columns: 1fr; gap: 46px; padding-block: 70px 80px; }
    .hero-copy h1 { font-size: clamp(3rem, 8vw, 5rem); }
    .hero-visual { width: min(100%, 600px); }
    .hero-art { max-height: 460px; }
    .intro-band__inner { gap: 25px; }
    .portal-grid { grid-template-columns: repeat(2, 1fr); }
    .portal--main { grid-row: span 2; min-height: 580px; }
    .portal { min-height: 280px; }
    .feature-layout, .story-split, .home-faq { grid-template-columns: 1fr; gap: 40px; }
    .story-visual { min-height: 350px; }
    .page-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .sidebar-block { margin: 0; }
    .footer-main { grid-template-columns: repeat(2, 1fr); row-gap: 45px; }
  }
  @media (max-width: 620px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    .brand img { height: 39px; }
    .section { padding-block: 68px; }
    .section-head { display: block; }
    .section-head > .text-link { margin-top: 22px; }
    .hero-inner { padding-block: 62px 75px; gap: 52px; }
    .hero-copy h1 { font-size: clamp(2.8rem, 11vw, 4.3rem); }
    .hero-actions .button { flex: 1 1 165px; padding-inline: 16px; white-space: nowrap; }
    .hero-points { gap: 12px 20px; margin-top: 35px; }
    .hero-art { aspect-ratio: 1.13; }
    .visual-note { right: -7px; bottom: -21px; width: 175px; padding: 12px; }
    .hero-index { bottom: 19px; left: 18px; }
    .intro-band__inner { grid-template-columns: 1fr; gap: 4px; padding-block: 20px; }
    .portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .portal, .portal--main { min-height: 245px; grid-row: auto; padding: 19px; }
    .portal--main { grid-column: 1 / -1; min-height: 340px; }
    .portal h3 { font-size: 23px; }
    .portal p { font-size: 13px; }
    .portal .text-link { margin-top: 14px; font-size: 13px; }
    .portal-orbit { left: 45%; top: 0; }
    .portal-graphic { width: 90px; height: 70px; }
    .article-grid { grid-template-columns: 1fr; gap: 16px; }
    .article-card__image { aspect-ratio: 1.8; }
    .topic-strip { grid-template-columns: 1fr; }
    .topic-tile { min-height: 250px; }
    .feature-row { grid-template-columns: 42px 1fr 18px; gap: 12px; }
    .feature-row h3 { font-size: 19px; }
    .home-faq { gap: 23px; }
    .faq-item summary { min-height: 66px; font-size: 16px; }
    .end-cta__inner { display: block; }
    .end-cta .button { margin-top: 25px; }
    .page-hero__inner { grid-template-columns: 1fr; min-height: 265px; padding-bottom: 50px; }
    .page-hero__index { display: none; }
    .page-hero p { font-size: 16px; }
    .page-layout { padding-block: 52px 80px; }
    .sidebar { grid-template-columns: 1fr; }
    .article-layout { padding-top: 30px; }
    .article-header { padding-top: 24px; }
    .article-header h1 { font-size: 2.45rem; }
    .article-nav, .topic-intro { grid-template-columns: 1fr; }
    .article-related .article-grid { grid-template-columns: 1fr; }
    .article-related .article-card:nth-child(3) { display: block; }
    .link-list a { grid-template-columns: 32px 1fr 18px; gap: 8px; }
    .link-list strong { font-size: 16px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 18px; padding-block: 60px 50px; }
    .footer-about { grid-column: 1 / -1; }
    .footer-bottom { display: block; }
    .footer-bottom p + p { margin-top: 8px; }
    .play-form, .play-results { grid-template-columns: 1fr; }
    .play-board { padding: 12px 10px 6px; }
    .play-board canvas { aspect-ratio: .98; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  }
}
