.pa-page { background: #f5f5f7; color: #1d1d1f; }
.pa-page [hidden] { display: none !important; }
.pa-page [data-change="1"] { color: #b91c1c; }
.pa-page [data-change="-1"] { color: #1d4ed8; }
.pa-container { max-width: 1180px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.pa-hero { background: #000; color: #fff; padding: 90px 0 76px; }
.pa-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .02em; margin: 0 0 20px; color: #686870; }
.pa-hero .pa-eyebrow { color: #a1a1a6; }
.pa-hero h1 { font-family: var(--ck-font-display); font-size: clamp(36px, 4.8vw, 60px); line-height: 1.12; font-weight: 600; letter-spacing: -1.7px; margin: 0; max-width: 940px; text-wrap: balance; }
.pa-hero__description { color: #a1a1a6; font-size: 20px; line-height: 1.65; max-width: 640px; margin: 27px 0 28px; word-break: keep-all; text-wrap: pretty; }
.pa-hero__link { color: #2997ff; display: inline-flex; align-items: center; gap: 18px; font-size: 15px; padding: 7px 0; }
.pa-section { padding-top: 68px; padding-bottom: 64px; scroll-margin-top: 68px; }
.pa-section__header { margin-bottom: 32px; }
.pa-section h2 { font-family: var(--ck-font-display); font-size: clamp(28px, 3vw, 38px); line-height: 1.2; font-weight: 600; margin: 0 0 16px; letter-spacing: -1px; text-wrap: balance; }
.pa-section__header .pa-eyebrow { margin-bottom: 14px; }
.pa-description { max-width: 780px; color: #6e6e73; font-size: 15px; line-height: 1.7; word-break: keep-all; margin: 0; }
.pa-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin: 0 0 30px; }
.pa-controls label { display: flex; flex-direction: column; gap: 8px; min-width: 130px; }
.pa-controls label > span { font-size: 12px; font-weight: 600; color: #6e6e73; }
.pa-page select { min-height: 44px; padding: 10px 34px 10px 14px; border-radius: 8px; border: 1px solid #d2d2d7; background-color: #fff; color: #1d1d1f; font: inherit; font-size: 14px; max-width: 100%; }
.pa-page select:focus-visible, .pa-page input:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; }
.pa-region-control { flex: 1; max-width: 320px; }
.pa-controls__arrow { color: #86868b; padding-bottom: 12px; }
.pa-button { background: #0071e3; border-radius: 980px; padding: 12px 20px; min-height: 44px; color: white; font-size: 14px; cursor: pointer; }
.pa-play { margin-left: auto; white-space: nowrap; }
.pa-summary { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 0 0 32px; }
.pa-summary > div > span { color: #6e6e73; font-size: 13px; }
.pa-summary strong { display: block; font-weight: 500; font-size: 32px; letter-spacing: -1px; line-height: 1.3; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pa-summary small { font-size: 13px; color: #86868b; font-weight: 400; margin-left: 6px; letter-spacing: 0; }
.pa-explorer { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.pa-map-panel { background: #fff; border-radius: 12px; padding: 23px 22px 18px; min-width: 0; position: relative; }
.pa-map-panel__heading { display: flex; justify-content: space-between; gap: 14px; font-size: 12px; color: #86868b; margin: 0; line-height: 1.6; }
.pa-map-panel__heading > :first-child { color: #1d1d1f; font-weight: 600; }
.pa-map { height: 595px; width: 100%; }
.pa-map-status { position: absolute; z-index: 2; top: 80px; left: 30px; right: 30px; font-size: 14px; color: #6e6e73; background: #f5f5f7; padding: 14px; border-radius: 8px; }
.pa-map-key { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 370px; margin: 18px auto 0; font-size: 13px; font-weight: 600; }
.pa-map-key > :nth-child(2) { color: #6e6e73; font-size: 11px; font-weight: 400; }
.pa-legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; max-width: 370px; margin: 0 auto; padding: 6px 0 20px; }
.pa-legend span { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; color: #6e6e73; white-space: nowrap; }
.pa-legend i { display: block; height: 12px; width: 100%; border-radius: 2px; }
.pa-timeline { display: flex; align-items: center; gap: 14px; color: #86868b; font-size: 11px; }
.pa-timeline input { width: 100%; height: 24px; accent-color: #0071e3; cursor: pointer; }
.pa-micro { color: #86868b; font-size: 11px; line-height: 1.6; margin: 10px 0 0; }
.pa-region-panel { background: #fff; padding: 32px 26px; border-radius: 12px; min-width: 0; }
.pa-region-panel .pa-eyebrow { margin-bottom: 12px; }
.pa-region-panel h3 { font-size: 24px; font-weight: 600; line-height: 1.4; margin: 0; text-wrap: balance; }
.pa-region-change { font-size: 54px; font-weight: 500; letter-spacing: -2px; display: block; margin-top: 26px; line-height: 1.25; }
.pa-region-delta { font-size: 17px; color: #6e6e73; margin: 5px 0 32px; }
.pa-region-values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.pa-region-values dt { font-size: 12px; color: #86868b; margin-bottom: 6px; }
.pa-region-values dd { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; margin: 0; }
.pa-trend { height: 230px; width: 100%; margin-top: 28px; }
.pa-ranking-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 42px; }
.pa-ranking-header h3 { font-size: 22px; font-weight: 600; margin: 0; }
.pa-ranking-header p { font-size: 13px; color: #86868b; margin: 8px 0 0; }
.pa-rankings { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 25px; }
.pa-rankings h4 { font-size: 12px; color: #6e6e73; font-weight: 600; margin: 0 0 12px; }
.pa-rankings ol, .pa-routes { list-style: none; padding: 0; margin: 0; }
.pa-rankings li + li { border-top: 1px solid #e7e7eb; }
.pa-rankings button { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; padding: 14px 0; cursor: pointer; text-align: left; font-size: 14px; }
.pa-rankings button:hover { color: #0071e3; }
.pa-rankings button strong { white-space: nowrap; font-weight: 500; font-variant-numeric: tabular-nums; }
.pa-data { margin-top: 30px; border-top: 1px solid #d2d2d7; }
.pa-data summary { cursor: pointer; padding: 22px 0; font-size: 14px; color: #0066cc; }
.pa-table-scroll { overflow-x: auto; }
.pa-page table { border-collapse: collapse; width: 100%; text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
.pa-page th, .pa-page td { padding: 13px 12px; border-bottom: 1px solid #dedee3; white-space: nowrap; }
.pa-page th:first-child { text-align: left; }
.pa-page thead th { color: #6e6e73; font-weight: 600; background: #ededf0; }
.pa-page tbody th { font-weight: 400; }
.pa-page table a { color: #0066cc; }
.pa-interlude { background: #000; color: #fff; padding: 65px 0; }
.pa-interlude h2 { font-size: clamp(27px, 3.4vw, 42px); font-weight: 600; margin: 0 0 18px; max-width: 860px; word-break: keep-all; text-wrap: balance; line-height: 1.25; letter-spacing: -.8px; }
.pa-interlude p { max-width: 720px; color: #a1a1a6; font-size: 16px; line-height: 1.7; margin: 0; }
.pa-note { font-size: 12px; line-height: 1.7; color: #6e6e73; }
.pa-migration-summary { display: grid; grid-template-columns: repeat(3, 1fr); padding: 15px 0 26px; gap: 20px; }
.pa-migration-summary span { color: #6e6e73; font-size: 12px; display: block; }
.pa-migration-summary strong { font-size: 28px; font-weight: 500; margin-top: 8px; display: block; font-variant-numeric: tabular-nums; }
.pa-map--flow { height: 525px; }
.pa-route-panel { padding: 24px; background: #fff; border-radius: 12px; min-width: 0; }
.pa-route-panel h3 { font-size: 20px; font-weight: 600; margin: 0 0 20px; }
.pa-segmented { display: flex; padding: 4px; background: #f5f5f7; border-radius: 8px; margin-bottom: 17px; }
.pa-segmented button { flex: 1; padding: 10px 8px; font-size: 13px; cursor: pointer; border-radius: 5px; }
.pa-segmented button[aria-pressed="true"] { color: #fff; background: #1d1d1f; }
.pa-routes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f2; font-size: 13px; }
.pa-routes li strong { font-size: 14px; font-weight: 500; white-space: nowrap; }
.pa-routes li span { line-height: 1.5; }
.pa-boundary { margin-top: 26px; font-size: 12px; line-height: 1.75; color: #6e6e73; }
.pa-methods { background: #ededf0; padding: 46px 0; }
.pa-methods h2 { font-size: 20px; font-weight: 600; margin: 0 0 15px; }
.pa-methods p { font-size: 13px; color: #6e6e73; line-height: 1.8; max-width: 960px; }
.pa-methods h3 { font-size: 13px; font-weight: 600; margin: 24px 0 10px; }
.pa-source-links { display: flex; flex-wrap: wrap; gap: 14px 24px; font-size: 13px; color: #0066cc; }
.pa-empty { color: #6e6e73; padding-top: 30px; padding-bottom: 30px; line-height: 1.8; }
.pa-page:lang(ja) .pa-hero__description, .pa-page:lang(ja) .pa-description, .pa-page:lang(ja) .pa-interlude h2 { word-break: normal; }
@media (max-width: 760px) {
  .pa-container { padding-left: 20px; padding-right: 20px; }
  .pa-hero { padding: 58px 0 50px; }
  .pa-hero h1 { letter-spacing: -1px; }
  .pa-hero__description { font-size: 16px; }
  .pa-section { padding-top: 46px; padding-bottom: 40px; }
  .pa-explorer { grid-template-columns: 1fr; gap: 14px; }
  .pa-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pa-controls label { min-width: 0; }
  .pa-controls select { width: 100%; }
  .pa-controls__arrow { display: none; }
  .pa-controls .pa-region-control { grid-column: 1 / -1; max-width: none; }
  .pa-play { margin-left: 0; justify-self: start; }
  .pa-summary { gap: 12px; grid-template-columns: 1.4fr 1fr 1fr; }
  .pa-summary strong { font-size: 23px; letter-spacing: -.8px; }
  .pa-summary small { display: block; font-size: 10px; margin: 3px 0 0; }
  .pa-summary > div > span { font-size: 11px; }
  .pa-map-panel { padding: 18px 12px; }
  .pa-map-panel__heading { font-size: 10px; gap: 10px; }
  .pa-map { height: 440px; }
  .pa-map--flow { height: 420px; }
  .pa-map-key { font-size: 12px; }
  .pa-legend span { font-size: 10px; }
  .pa-region-panel { padding: 26px 22px; }
  .pa-region-change { font-size: 44px; margin-top: 16px; }
  .pa-region-delta { margin-bottom: 22px; }
  .pa-trend { height: 190px; margin-top: 16px; }
  .pa-ranking-header { align-items: flex-start; }
  .pa-ranking-header h3 { font-size: 20px; }
  .pa-ranking-header p { font-size: 12px; }
  .pa-ranking-header select { font-size: 12px; }
  .pa-rankings { gap: 26px; grid-template-columns: 1fr; }
  .pa-interlude { padding: 44px 0; }
  .pa-interlude p { font-size: 14px; }
  .pa-migration-summary { gap: 12px; }
  .pa-migration-summary strong { font-size: 20px; }
  .pa-migration-summary span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .pa-page * { scroll-behavior: auto !important; } }
