:root {
  color-scheme: light;
  --ink: #302f29;
  --muted: #77776c;
  --sage: #587044;
  --line: #e4e6dd;
  --paper: #fff;
  --soft: #f4f6ef;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: #fafbf7;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { overflow-wrap: anywhere; }
a { color: var(--sage); text-underline-offset: .22em; }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #819768; outline-offset: 3px; }
[id] { scroll-margin-top: 5.2rem; }
.line-icon { display: block; width: 20px; height: 20px; flex: 0 0 20px; color: var(--sage); }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 30; padding: .7rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px max(20px, calc((100vw - 1040px) / 2)); border-bottom: 1px solid var(--line); background: #fafbf7f7; backdrop-filter: blur(12px); }
.brand { display: flex; min-width: 0; align-items: center; gap: 8px; color: var(--ink); font-size: .88rem; font-weight: 750; line-height: 1.35; text-decoration: none; }
.brand img { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; }
.brand > span { min-width: 0; overflow-wrap: anywhere; }
.brand-divider { margin: 0 12px; color: #c3c7b9; font-weight: 400; }
.brand small { color: var(--muted); font-size: .72rem; font-weight: 400; }
.back-link { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; max-width: 45%; color: var(--muted); font-size: .75rem; line-height: 1.35; text-decoration: none; }
.back-link .line-icon { width: 14px; height: 14px; flex-basis: 14px; color: currentColor; }
main { max-width: 1080px; margin: auto; padding: 0 20px; }
.hero { padding: 28px 0 22px; }
h1 { margin: 0; font-size: clamp(1.65rem, 4.5vw, 2.1rem); font-weight: 800; line-height: 1.3; letter-spacing: -.035em; }
.section-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; }
.section-nav a { display: inline-flex; align-items: center; min-height: 36px; color: #646e56; font-size: .78rem; font-weight: 650; text-decoration: none; }
.section-nav a:hover { color: var(--sage); text-decoration: underline; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
h2 { margin: 0; font-size: 1.1rem; font-weight: 750; line-height: 1.35; letter-spacing: -.015em; }
.section-title > span { color: var(--muted); font-size: .69rem; line-height: 1.4; }
.table-gesture-hint { margin: 0 0 6px; color: var(--muted); font-size: .69rem; line-height: 1.4; text-align: right; }
.table-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; min-height: 40px; margin-bottom: 8px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 13px; margin: 0; padding: 0; list-style: none; font-size: .7rem; line-height: 1.3; }
.legend li { display: flex; align-items: center; gap: 4px; }
.legend li > span { font-size: 1rem; font-weight: 650; line-height: 1; }
.legend-yes { color: var(--sage); }
.legend-conditional { color: #987636; }
.legend-no { color: #aaa99f; }
.legend .legend-preview { color: #8c7954; font-size: .64rem; }
.table-controls { display: flex; gap: 4px; }
.table-controls[hidden] { display: none; }
.table-controls button { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--sage); font-size: .9rem; line-height: 1; cursor: pointer; }
.table-controls button:disabled { opacity: .35; cursor: default; }
.table-scroll { position: relative; width: 100%; max-height: min(70vh, 650px); overflow: auto; border: 1px solid #dce2d3; border-radius: 16px; background: var(--paper); isolation: isolate; overscroll-behavior-x: contain; scrollbar-color: #bec9b2 #f1f4ec; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 860px; border-spacing: 0; table-layout: fixed; font-size: .76rem; line-height: 1.35; }
th, td { height: 52px; padding: 8px 6px; border-right: 1px solid #eff0ea; border-bottom: 1px solid #ebeee4; text-align: center; vertical-align: middle; }
td { position: relative; background: white; }
thead th { position: sticky; top: 0; z-index: 3; height: 88px; padding: 10px 4px; background: #f0f4e8; color: #536047; font-weight: 650; }
.feature-icon { display: block; width: 21px; height: 21px; margin: 0 auto 7px; color: #778d60; }
thead th > span { display: block; font-size: .72rem; line-height: 1.35; }
thead small { display: block; margin-top: 2px; color: #7d8670; font-size: .61rem; font-weight: 400; line-height: 1.25; }
th:first-child { position: sticky; left: 0; z-index: 2; width: 148px; padding: 7px 12px; text-align: left; background: white; border-right: 1px solid #dce2d3; box-shadow: 2px 0 4px #53604704; }
thead th:first-child { z-index: 5; background: #f0f4e8; font-size: .72rem; }
tbody th a { display: flex; align-items: center; gap: 9px; min-height: 36px; color: var(--ink); font-size: .76rem; font-weight: 650; line-height: 1.3; text-decoration: none; }
tbody th a:hover .source-label { text-decoration: underline; text-underline-offset: 3px; }
.source-icon { display: block; width: 23px; height: 23px; flex: 0 0 23px; color: #71845d; object-fit: contain; border-radius: 4px; }
.source-label { min-width: 0; overflow-wrap: anywhere; }
.source-note-mark { display: inline-grid; width: 12px; height: 12px; margin-left: 4px; place-items: center; border: 1px solid #a9b49c; border-radius: 50%; color: #7c8f69; font-size: 8px; font-weight: 600; line-height: 1; vertical-align: 1px; }
.supported-sites-note { margin: 10px 2px 0; color: #7a806f; font-size: .7rem; line-height: 1.55; }
.supported-sites-note strong { font-weight: 600; }
.supported-sites-note a { display: inline-block; margin-left: 5px; font-weight: 600; white-space: nowrap; }
.supported-sites-catalog { margin-top: 4px; padding: 12px 0 2px; }
.supported-sites-catalog .supported-sites-heading { margin: 0 0 9px; color: #59684c; font-size: .76rem; font-weight: 650; line-height: 1.4; }
.supported-sites-catalog ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.supported-sites-catalog li { max-width: 100%; padding: 5px 8px; border-radius: 6px; background: #f2f5ec; color: #637254; font-size: .72rem; line-height: 1.4; overflow-wrap: anywhere; }
.supported-sites-catalog .supported-sites-condition { margin: 10px 0 0; color: #818575; font-size: .72rem; line-height: 1.55; }
.source-label small { display: block; margin-top: 3px; color: var(--muted); font-size: .58rem; font-weight: 400; line-height: 1.2; }
th:last-child, td:last-child { border-right: 0; }
tbody tr:last-child > * { border-bottom: 0; }
.capability { display: inline-block; min-width: 24px; font-size: 1.35rem; font-weight: 550; line-height: 1; }
.capability-yes { color: #63804a; }
.capability-conditional { color: #9a793a; }
.capability-no { color: #b4b4a9; }
.pre-release-mark { position: absolute; top: 10px; left: calc(50% + 11px); color: #9a7c48; font-size: 9px; line-height: 1; }
.explanation { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.explanation > summary { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 13px; line-height: 1.35; }
.explanation > summary > strong { flex: 1; min-width: 0; font-size: .75rem; font-weight: 600; overflow-wrap: anywhere; }
.explanation > summary > span { color: var(--muted); font-size: .63rem; }
.details-chevron { display: block; width: 16px; height: 16px; flex: 0 0 16px; color: #929a85; }
details[open] > summary > .details-chevron { transform: rotate(180deg); }
.explanation-body { padding: 0 16px 15px; color: #696d60; font-size: .8rem; line-height: 1.65; }
.explanation-body p { margin: 10px 0 0; }
.explanation-body ul { display: grid; gap: 8px; margin: 12px 0; padding-left: 18px; }
.explanation-body .availability-note { margin-top: 12px; padding: 11px 13px; border-radius: 10px; background: #f8f4e9; color: #81714e; }
.availability-note strong { display: block; margin-bottom: 4px; }
.video-panel { margin-top: 20px; padding: 18px 20px; border: 1px solid #e0e6d7; border-radius: 16px; background: #f2f5ec; }
.compact-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.compact-heading h2 { font-size: .9rem; }
.tip-label { padding: 3px 7px; border-radius: 6px; background: #e6eddb; color: #738360; font-size: .6rem; line-height: 1.3; }
.video-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.video-route { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 48px; padding: 10px; border-radius: 10px; background: white; font-size: .76rem; line-height: 1.35; }
.route-number { margin-right: 2px; color: #82906e; font-size: .8rem; }
.route-brand { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.route-brand .source-icon { width: 19px; height: 19px; flex-basis: 19px; }
.route-brand strong { font-weight: 650; }
.route-arrow { margin: 0 1px; color: #a2ad93; }
.route-action { color: var(--muted); font-size: .65rem; }
.video-panel > p { margin: 10px 0 0; color: #7a816e; font-size: .68rem; line-height: 1.5; }
.section { margin-top: 32px; }
.section-title > span { text-align: right; }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.method-grid > a { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 74px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #f4f6ef; text-decoration: none; }
.method-grid > a:hover { border-color: #a9b99b; }
.method-grid > a > span { min-width: 0; }
.method-grid strong, .method-grid small { display: block; }
.method-grid strong { font-size: .77rem; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.method-grid small { margin-top: 4px; color: #8a9080; font-size: .64rem; line-height: 1.35; }
.method-chevron { display: block; width: 12px; height: 12px; flex: 0 0 12px; margin-left: auto; color: #9aa78a; }
.platform-guides { border: 1px solid var(--line); border-radius: 15px; background: white; }
.platform-guides details { min-width: 0; border-bottom: 1px solid var(--line); }
.platform-guides details:last-child { border-bottom: 0; }
.platform-guides summary { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 16px; align-items: center; gap: 11px; min-height: 58px; padding: 12px 17px; line-height: 1.35; }
.platform-guides summary > strong { min-width: 0; font-size: .85rem; font-weight: 650; overflow-wrap: anywhere; }
.platform-mode { color: #8f9586; font-size: .64rem; }
.platform-body { padding: 0 20px 18px 52px; color: #656c5b; font-size: .82rem; line-height: 1.65; }
.platform-body p { margin: 11px 0 0; }
.platform-body ol { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 19px; }
.platform-body li::marker { color: #7c9267; font-weight: 650; }
.platform-body a { font-weight: 600; }
.platform-body .text-link { display: inline-block; margin-top: 11px; }
.saved-guide { background: transparent; }
.recovery-lead { margin: -2px 0 13px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.recovery-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.recovery-options details { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: white; }
.recovery-options summary { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 13px; line-height: 1.35; }
.recovery-options summary strong { flex: 1; min-width: 0; font-size: .8rem; font-weight: 600; overflow-wrap: anywhere; }
.recovery-options details > div { padding: 0 14px 15px; color: #68705d; font-size: .8rem; line-height: 1.65; }
.recovery-options p { margin: 8px 0 0; }
.recovery-options a { display: inline-block; margin-top: 11px; font-size: .77rem; font-weight: 650; }
.page-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; padding: 20px 0 28px; border-top: 1px solid var(--line); }
.page-footer a { display: inline-flex; align-items: center; min-height: 40px; font-size: .74rem; text-decoration: none; }
.page-footer small { margin-left: auto; color: #a0a395; font-size: .65rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 680px) {
  .site-header { min-height: 58px; padding: 9px 16px; gap: 12px; }
  .brand-divider, .brand small { display: none; }
  main { padding: 0 16px; }
  .hero { padding: 24px 0 18px; }
  .section-nav { gap: 4px 24px; margin-top: 8px; }
  .section-nav a { font-size: .73rem; }
  h2 { font-size: 1.02rem; }
  .table-gesture-hint { font-size: .66rem; }
  .table-toolbar { gap: 4px; }
  .legend { gap: 5px 9px; font-size: .65rem; }
  .legend .legend-preview { font-size: .58rem; }
  .legend li > span { font-size: .95rem; }
  .table-controls { gap: 2px; }
  .table-controls button { width: 32px; height: 36px; }
  .table-scroll { max-height: 68vh; border-radius: 13px; }
  th:first-child { width: 132px; padding: 7px 9px; }
  tbody th a { gap: 7px; font-size: .72rem; }
  tbody .source-icon { width: 20px; height: 20px; flex-basis: 20px; }
  .explanation > summary { padding: 10px 12px; gap: 8px; }
  .explanation > summary > span { display: none; }
  .explanation > summary > strong { font-size: .72rem; }
  .video-panel { margin-top: 16px; padding: 15px; }
  .video-routes { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 12px; }
  .video-route { font-size: .74rem; }
  .section { margin-top: 27px; }
  .section-title { gap: 8px; }
  .section-title > span { font-size: .62rem; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-grid > a { padding: 11px 10px; gap: 8px; }
  .method-grid .line-icon { width: 19px; height: 19px; flex-basis: 19px; }
  .method-grid strong { font-size: .72rem; }
  .method-grid small { font-size: .61rem; }
  .method-chevron { display: none; }
  .platform-guides summary { gap: 9px; padding: 12px 13px; }
  .platform-guides summary > strong { font-size: .8rem; }
  .platform-mode { font-size: .59rem; }
  .platform-body { padding: 0 15px 16px; font-size: .8rem; }
  .recovery-options { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .page-footer { gap: 8px 18px; margin-top: 26px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print {
  :root { background: white; }
  .site-header { position: static; }
  .section-nav, .table-controls, .back-link { display: none !important; }
  .table-scroll { max-height: none; overflow: visible; }
  table { min-width: 0; font-size: 8pt; }
  th:first-child { width: 100px; }
  th, td { padding: 4px; }
  th, thead th, th:first-child { position: static; }
  .platform-body, .explanation-body, .recovery-options details > div { display: block; }
}
