:root {
  color-scheme: light;
  --ink: #24192a;
  --paper: #f9f6f9;
  --plum: #26192e;
  --muted: #625768;
  --line: #ded6df;
  --gold: #f6c888;
  font: 16px/1.6 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: #663977; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #a256bd; outline-offset: 4px; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
p, h1, h2, h3 { margin: 0 0 .65em; }
h1, h2, h3 { line-height: 1.23; }
h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
h3 { font-size: 1.08rem; }
section[id], details[id] { scroll-margin-top: 18px; }
.ga-skip { position: absolute; left: 1rem; top: -4rem; z-index: 2; background: #fff; padding: .6rem; }
.ga-skip:focus { top: .5rem; }
.wrap, .opening-inner, .ga-header, .ga-footer { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.ga-header, .ga-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.ga-header { min-height: 74px; }
.ga-brand { color: var(--ink); text-decoration: none; font-size: 1.35rem; font-weight: 800; line-height: 1.15; }
.ga-brand span { display: block; font-size: .73rem; color: var(--muted); font-weight: 500; margin-top: .25rem; }
.ga-header nav, .ga-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.ga-header nav > *, .ga-footer nav a { color: var(--ink); font-size: .88rem; text-decoration: none; }
.ga-header nav span { text-decoration: underline; }
.opening { background: var(--plum); color: #fff7fa; }
.opening-inner { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 42px; padding-block: 48px; }
.opening-text > p:not(.kicker) { color: #ece0ee; margin-bottom: 1.45rem; }
.kicker { color: #815b30; font-size: .72rem; font-weight: 780; letter-spacing: .11em; }
.opening .kicker { color: var(--gold); }
.hero { width: 100%; aspect-ratio: 3/2; height: auto; object-fit: cover; border-radius: 14px; }
.device-choices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.device-choices a { display: block; padding: 11px 13px; border: 1px solid #ad8ba8; border-radius: 8px; text-decoration: none; color: #fff3fa; line-height: 1.35; }
.device-choices a:first-child { background: var(--gold); border-color: var(--gold); color: var(--plum); }
.device-choices a:hover { box-shadow: 0 0 0 2px var(--gold); }
.device-choices span, .device-choices strong { display: block; }
.device-choices span { font-size: .72rem; }
.device-choices strong { margin-top: 4px; font-size: .93rem; }
.handoff, .repair { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; padding-block: 38px; border-bottom: 1px solid var(--line); }
.handoff > div > p:last-child, .repair > div > p:last-child { max-width: 29ch; color: var(--muted); }
.address-list, .device-workspace, .ga-guides { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.address, .device-workspace section, .ga-guide-card { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.address code { display: block; font-size: clamp(.85rem, 2vw, 1.12rem); overflow-wrap: anywhere; color: #532a64; }
.address p { font-size: .88rem; margin-block: 6px 9px; color: var(--muted); }
.address button { padding: .36em .65em; border: 1px solid var(--line); background: #f3edf5; color: var(--ink); border-radius: 6px; }
.address [role=status] { display: block; color: #5d3670; font-size: .8rem; }
.issue-list details { border: 1px solid var(--line); border-radius: 9px; background: #fff; margin-bottom: 8px; }
.issue-list summary { cursor: pointer; padding: 12px 16px; }
.issue-list summary span { display: inline-block; margin-inline-start: .6rem; color: var(--muted); font-size: .89rem; }
.issue-list details p { padding: 0 16px 13px; margin: 0; max-width: 72ch; }
.reading { padding-block: 34px 50px; }
.ga-guide-card h3 { margin: 6px 0 0; }
.ga-footer { border-top: 1px solid var(--line); min-height: 155px; }
.ga-footer p { margin: .65em 0; color: var(--muted); }
.inner { padding-block: 40px 52px; min-height: 55vh; max-width: 920px; }
.page-head { padding-block: 14px 22px; max-width: 780px; }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.page-head p:not(.kicker) { color: var(--muted); max-width: 64ch; }
.device-workspace, .followup, .source, .ga-index-card { margin-block: 20px; }
.device-workspace section:target { border: 2px solid #89549d; }
.source { background: #eee6f1; padding: 16px; border-radius: 8px; }
.source p { margin: .25rem 0 0; }
.source a { margin-inline-start: .5em; }
.breadcrumb { font-size: .85rem; display: flex; gap: 18px; }
.ga-article time { color: var(--muted); font-size: .83rem; }
.ga-prose { margin-top: 18px; }
.ga-prose section { display: grid; grid-template-columns: 42px 1fr; gap: 16px; border-top: 1px solid var(--line); padding-block: 22px 12px; }
.ga-prose section h2 { font-size: 1.25rem; }
.step { font: 700 .85rem/2 system-ui,sans-serif; color: #815b30; }
.ga-index-card { border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 740px) {
  .wrap, .opening-inner, .ga-header, .ga-footer { width: calc(100% - 36px); }
  .ga-header nav, .ga-footer nav { gap: 10px; }
  .ga-header nav > *, .ga-footer nav a { font-size: .76rem; }
  .ga-brand { font-size: 1.12rem; }
  .opening-inner { grid-template-columns: 1fr; gap: 16px; padding-block: 27px 20px; }
  .hero { aspect-ratio: 2.1/1; height: auto; object-position: 50% 43%; }
  .handoff, .repair { grid-template-columns: 1fr; gap: 12px; padding-block: 26px; }
  .handoff > div > p:last-child { max-width: 38ch; }
  .address { padding: 12px; }
  .address h3 { font-size: .92rem; }
  .device-workspace, .ga-guides { grid-template-columns: 1fr; }
  .ga-footer { flex-direction: column; align-items: start; padding-block: 25px; gap: 14px; }
  .inner { padding-block: 24px 34px; }
  .ga-prose section { grid-template-columns: 26px 1fr; gap: 10px; }
}
