:root {
  --brand: #1478F2;
  --brand-bright: #2F8CFF;
  --brand-deep: #075DC9;
  --brand-dark: #084A9C;
  --brand-soft: #D9EAFE;
  --ink: #172033;
  --text: #3E4859;
  --muted: #6F7A89;
  --quiet: #98A1AF;
  --white: #FFFFFF;
  --subtle: #F7FAFF;
  --blue-wash: #EDF5FF;
  --gray: #F5F6F8;
  --border: rgba(20,120,242,0.12);
  --gray-border: rgba(30,50,70,0.08);
  --shadow: 0 14px 38px rgba(21,67,118,0.08);
  --blue-shadow: 0 16px 42px rgba(20,120,242,0.15);
  --button: linear-gradient(135deg,#3A96FF 0%,#1478F2 55%,#0863D3 100%);
  --footer: #0B1F38;
  --footer-text: #EAF3FF;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --max: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; line-height: 1.72; overflow-x: hidden; }
body.overlay-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(20,120,242,.28); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 5000; padding: 10px 15px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 10px; }
.topbar { position: sticky; top: 0; z-index: 1200; height: 74px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--gray-border); backdrop-filter: blur(14px); }
.topbar-inner { height: 100%; width: min(var(--max), calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; min-width: 250px; gap: 10px; }
.brand-logo { max-width: 132px; max-height: 44px; object-fit: contain; }
.brand-wordmark { color: var(--brand); font-weight: 900; font-size: 22px; letter-spacing: .02em; white-space: nowrap; }
.brand-tag { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 9px; border-radius: 999px; background: var(--blue-wash); color: var(--brand-dark); font-size: 12px; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 2px; min-width: 0; white-space: nowrap; }
.nav-link { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 11px; border-radius: 10px; color: var(--text); font-size: 15px; font-weight: 650; }
.nav-link:hover, .nav-link.is-active { color: var(--brand); background: var(--blue-wash); }
.desktop-actions { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.top-action, .icon-button, .mobile-discover { border: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 10px; background: transparent; color: var(--text); font-weight: 650; }
.top-action:hover, .top-action.is-active, .icon-button:hover, .mobile-discover:hover { background: var(--blue-wash); color: var(--brand); }
.mobile-leading, .mobile-discover { display: none; }
.site-main { min-height: 60vh; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 72px 0; }
.section.compact { padding: 48px 0; }
.section-blue { background: var(--subtle); }
.section-wash { background: var(--blue-wash); }
.section-gray { background: var(--gray); }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-heading > div { max-width: 800px; }
.eyebrow { display: inline-block; color: var(--brand); font-weight: 800; font-size: 13px; letter-spacing: .08em; margin-bottom: 8px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.28; }
h1 { font-size: clamp(34px, 5vw, 62px); letter-spacing: -.04em; }
h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.025em; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
p { margin: 0; }
.lede { font-size: 18px; color: var(--muted); max-width: 800px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand); font-weight: 800; }
.text-link::after { content: "→"; margin-left: 6px; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(3px); }
.primary-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 12px; background: var(--button); color: #fff; box-shadow: var(--blue-shadow); font-weight: 800; white-space: nowrap; }
.primary-button:hover { filter: brightness(.98); transform: translateY(-1px); }
.secondary-button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--border); color: var(--brand); background: #fff; font-weight: 800; }
.badge { display: inline-flex; min-height: 28px; align-items: center; padding: 2px 10px; border-radius: 999px; color: var(--brand-dark); background: var(--blue-wash); font-size: 13px; font-weight: 700; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.card { background: #fff; border: 1px solid var(--gray-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card p, .prose-card p { color: var(--text); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.card-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.content-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.content-card .text-link { margin-top: auto; }
.page-intro { padding: 58px 0 38px; background: linear-gradient(180deg, var(--subtle), #fff); border-bottom: 1px solid var(--gray-border); }
.page-intro-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); gap: 40px; align-items: end; }
.page-intro p { margin-top: 16px; max-width: 840px; font-size: 18px; color: var(--muted); }
.intro-aside { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.intro-aside strong { display:block; color: var(--brand); margin-bottom:8px; }
.prose-shell { width: min(980px, calc(100% - 32px)); margin: 0 auto; }
.prose-card { padding: 28px; border: 1px solid var(--gray-border); border-radius: var(--radius); background: #fff; }
.prose-card + .prose-card { margin-top: 18px; }
.prose-card h2, .prose-card h3 { margin-bottom: 12px; }
.prose-card p + p { margin-top: 12px; }
.inline-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.inline-list a { display: inline-flex; align-items:center; min-height:44px; padding: 0 13px; border-radius:999px; background: var(--blue-wash); color:var(--brand-dark); font-weight:700; }
.rule-list { display: grid; gap: 12px; padding: 0; margin: 16px 0 0; list-style: none; }
.rule-list li { position: relative; padding-left: 22px; }
.rule-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); position: absolute; left: 0; top: .72em; }

/* Homepage editorial desk */
.home-desk { padding: 40px 0 28px; background: var(--subtle); }
.editorial-desk { display: grid; grid-template-columns: .95fr 1.45fr .9fr; gap: 18px; align-items: stretch; }
.desk-panel { border: 1px solid var(--gray-border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.desk-copy { padding: 30px; display:flex; flex-direction:column; gap:18px; }
.desk-copy h1 { font-size: clamp(32px,4vw,50px); }
.desk-copy p { color: var(--muted); }
.desk-actions { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.hero-media { position:relative; min-height: 480px; display:flex; align-items:flex-end; background: radial-gradient(circle at 78% 22%, rgba(47,140,255,.32), transparent 25%), linear-gradient(145deg,#0C69D8,#1478F2 45%,#62A9FA); color:#fff; }
.hero-media img { width:100%; height:100%; position:absolute; inset:0; object-fit:contain; }
.hero-media-fallback { position:absolute; inset:0; display:grid; place-items:center; padding:36px; text-align:center; }
.hero-media-fallback::before { content:"海角社区"; font-size:clamp(40px,7vw,84px); font-weight:900; letter-spacing:.04em; color:rgba(255,255,255,.96); }
.hero-media-caption { position:relative; z-index:1; margin:24px; padding:14px 16px; border-radius:14px; background:rgba(5,48,98,.52); backdrop-filter:blur(8px); }
.desk-links { display:grid; grid-template-columns:1fr; }
.desk-mini { padding: 20px; border-bottom:1px solid var(--gray-border); }
.desk-mini:last-child { border-bottom:0; }
.desk-mini p { margin-top:7px; font-size:14px; color:var(--muted); }
.desk-mini a { color:var(--brand); font-weight:800; display:inline-block; margin-top:8px; }
.channel-strip { border-top:1px solid var(--gray-border); border-bottom:1px solid var(--gray-border); background:#fff; }
.channel-scroll { width:min(var(--max),calc(100% - 32px)); margin:0 auto; display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding:12px 0; }
.channel-scroll::-webkit-scrollbar { display:none; }
.channel-scroll a { flex:0 0 auto; min-height:44px; display:inline-flex; align-items:center; padding:0 12px; border-radius:999px; color:var(--text); font-weight:700; }
.channel-scroll a::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--brand); margin-right:8px; }
.channel-scroll a:hover { background:var(--blue-wash); color:var(--brand); }
.overview-grid { display:grid; grid-template-columns:1.3fr .9fr 1.1fr .8fr; gap:16px; }
.overview-item { padding:24px; border-radius:var(--radius); border:1px solid var(--border); background:#fff; }
.overview-item:nth-child(2), .overview-item:nth-child(4) { margin-top:26px; }
.overview-item p { margin-top:9px; color:var(--muted); }
.discussion-layout { display:grid; grid-template-columns:1.25fr .75fr; gap:20px; }
.main-discussion { padding:34px; background:linear-gradient(145deg,var(--brand-dark),var(--brand)); color:#fff; border-radius:var(--radius-lg); }
.main-discussion h2, .main-discussion h3 { color:#fff; }
.main-discussion p { margin-top:16px; color:rgba(255,255,255,.88); }
.main-discussion .text-link { color:#fff; margin-top:16px; }
.discussion-index { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.discussion-item { padding:18px; border-radius:14px; border:1px solid var(--gray-border); background:#fff; }
.discussion-item p { margin-top:6px; color:var(--muted); font-size:14px; }
.city-map { display:grid; grid-template-columns:repeat(12,1fr); gap:14px; }
.city-node { grid-column:span 4; padding:22px; border-radius:18px; background:#fff; border:1px solid var(--border); position:relative; }
.city-node:nth-child(2), .city-node:nth-child(5) { grid-column:span 5; }
.city-node:nth-child(3), .city-node:nth-child(6) { grid-column:span 3; }
.city-node::after { content:""; position:absolute; width:9px; height:9px; border-radius:50%; right:16px; top:16px; background:var(--brand); }
.city-node p { margin-top:8px; color:var(--muted); }
.life-mosaic { display:grid; grid-template-columns:repeat(12,1fr); gap:16px; }
.life-note { grid-column:span 4; padding:24px; border-radius:18px; background:#fff; border:1px solid var(--gray-border); }
.life-note:nth-child(1), .life-note:nth-child(5) { grid-column:span 5; }
.life-note:nth-child(2), .life-note:nth-child(6) { grid-column:span 3; }
.life-note p { margin:9px 0 13px; color:var(--muted); }
.route-notes { display:flex; gap:16px; overflow-x:auto; padding:4px 1px 14px; scroll-snap-type:x proximity; }
.route-card { flex:0 0 320px; scroll-snap-align:start; padding:24px; border-radius:18px; background:#fff; border:1px solid var(--gray-border); }
.route-step { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:var(--brand); color:#fff; font-weight:900; margin-bottom:14px; }
.route-card p { margin:9px 0; color:var(--muted); }
.interest-cloud { display:flex; flex-wrap:wrap; gap:12px; align-items:flex-start; }
.interest-pill { flex:1 1 220px; max-width:360px; min-height:150px; padding:20px; border-radius:18px; background:#fff; border:1px solid var(--border); }
.interest-pill:nth-child(3n+1) { min-height:190px; }
.interest-pill p { margin:8px 0; color:var(--muted); }
.qa-list { border-top:1px solid var(--gray-border); }
.qa-row { display:grid; grid-template-columns:minmax(210px,.65fr) minmax(0,1.35fr); gap:30px; padding:26px 0; border-bottom:1px solid var(--gray-border); }
.qa-row .q { color:var(--ink); font-size:19px; font-weight:850; }
.qa-row .a { color:var(--muted); }
.story-feature { display:grid; grid-template-columns:1.2fr .8fr; gap:22px; }
.story-main { padding:34px; border-radius:20px; background:var(--blue-wash); }
.story-main p { margin-top:14px; }
.story-stack { display:grid; gap:14px; }
.story-mini { padding:20px; border-radius:16px; border:1px solid var(--gray-border); background:#fff; }
.story-mini p { margin-top:7px; color:var(--muted); }
.discovery-wall { columns:3 280px; column-gap:16px; }
.discovery-piece { break-inside:avoid; margin:0 0 16px; padding:22px; border-radius:17px; border:1px solid var(--gray-border); background:#fff; }
.discovery-piece:nth-child(3n+1) { background:var(--subtle); }
.discovery-piece p { margin:8px 0; color:var(--muted); }
.guide-list { display:grid; gap:0; border-top:1px solid var(--gray-border); }
.guide-row { display:grid; grid-template-columns:70px minmax(0,1fr) auto; gap:20px; align-items:center; padding:24px 0; border-bottom:1px solid var(--gray-border); }
.guide-number { font-size:28px; font-weight:900; color:var(--brand-soft); }
.guide-row p { margin-top:5px; color:var(--muted); }
.principles { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; counter-reset:principle; }
.principle { padding:24px; border-radius:18px; border:1px solid var(--border); background:#fff; }
.principle::before { counter-increment:principle; content:"0" counter(principle); display:block; color:var(--brand); font-weight:900; margin-bottom:15px; }
.principle p { margin-top:9px; color:var(--muted); }
.app-showcase { display:grid; grid-template-columns:.9fr 1.1fr; gap:42px; align-items:center; }
.app-visual { min-height:480px; border-radius:28px; background:linear-gradient(150deg,#DCEEFF,#F7FAFF); border:1px solid var(--border); display:grid; place-items:center; padding:32px; overflow:hidden; }
.app-visual img { max-height:520px; object-fit:contain; }
.app-phone-fallback { width:min(270px,70%); aspect-ratio:9/18; border:10px solid var(--ink); border-radius:40px; background:linear-gradient(180deg,#fff,var(--blue-wash)); display:grid; place-items:center; color:var(--brand); font-weight:900; box-shadow:var(--shadow); text-align:center; padding:22px; }
.app-copy p { margin-top:14px; }
.service-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:22px 0; }
.service-item { padding:16px; border-radius:14px; background:var(--subtle); }
.safety-pair { display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:start; }
.safety-block { padding:32px; border-radius:22px; border:1px solid var(--border); }
.safety-block:first-child { background:var(--brand-dark); color:#fff; }
.safety-block:first-child h2, .safety-block:first-child h3 { color:#fff; }
.safety-block:nth-child(2) { background:var(--blue-wash); margin-top:42px; }
.safety-block p { margin-top:13px; }
.safety-block .inline-list a { background:rgba(255,255,255,.14); color:inherit; }
.safety-block:nth-child(2) .inline-list a { background:#fff; color:var(--brand-dark); }
.brand-manifesto { padding:54px; border-radius:24px; background:linear-gradient(140deg,var(--brand-dark),var(--brand)); color:#fff; }
.brand-manifesto h2 { color:#fff; font-size:clamp(30px,4vw,48px); }
.brand-manifesto p { margin-top:18px; max-width:1000px; color:rgba(255,255,255,.88); font-size:17px; }

/* Distinct inner page layouts */
.editorial-index { display:grid; grid-template-columns:1.25fr .75fr; gap:22px; }
.editorial-feed { display:grid; gap:14px; }
.editorial-row { padding:22px; border:1px solid var(--gray-border); border-radius:16px; background:#fff; }
.editorial-row p { margin-top:8px; color:var(--muted); }
.side-index { position:sticky; top:96px; align-self:start; padding:24px; border-radius:18px; background:var(--blue-wash); }
.side-index h2 { font-size:22px; }
.side-index a { display:block; padding:10px 0; color:var(--brand-dark); font-weight:700; border-bottom:1px solid rgba(20,120,242,.10); }
.horizontal-life { display:grid; gap:14px; }
.horizontal-life article { display:grid; grid-template-columns:190px 1fr; gap:24px; padding:22px 0; border-bottom:1px solid var(--gray-border); }
.horizontal-life .label { color:var(--brand); font-weight:900; }
.magazine-layout { display:grid; grid-template-columns:repeat(12,1fr); gap:16px; }
.magazine-layout article { grid-column:span 4; padding:24px; border-radius:18px; border:1px solid var(--gray-border); background:#fff; }
.magazine-layout article:nth-child(4n+1) { grid-column:span 7; background:var(--subtle); }
.magazine-layout article:nth-child(4n+2) { grid-column:span 5; }
.magazine-layout article p { margin-top:9px; color:var(--muted); }
.travel-journal { position:relative; display:grid; gap:22px; padding-left:44px; }
.travel-journal::before { content:""; position:absolute; left:15px; top:12px; bottom:12px; width:2px; background:var(--brand-soft); }
.travel-entry { position:relative; padding:24px; border-radius:18px; border:1px solid var(--gray-border); background:#fff; }
.travel-entry::before { content:""; position:absolute; left:-37px; top:28px; width:14px; height:14px; border:4px solid var(--brand); background:#fff; border-radius:50%; }
.travel-entry p { margin-top:9px; }
.interest-wall { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.interest-topic { padding:22px; border-radius:18px; border:1px solid var(--border); background:#fff; min-height:240px; display:flex; flex-direction:column; }
.interest-topic p { margin-top:8px; color:var(--muted); }
.interest-topic .text-link { margin-top:auto; }
.question-directory { display:grid; gap:12px; }
.question-item { padding:24px; border-radius:16px; border:1px solid var(--gray-border); background:#fff; }
.question-item header { display:flex; gap:14px; align-items:flex-start; }
.question-mark { flex:0 0 34px; width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:var(--blue-wash); color:var(--brand); font-weight:900; }
.question-item p { margin:10px 0 0 48px; color:var(--muted); }
.longreads { display:grid; gap:18px; }
.longread { display:grid; grid-template-columns:160px 1fr; gap:28px; padding:28px 0; border-bottom:1px solid var(--gray-border); }
.longread-kicker { color:var(--brand); font-weight:900; }
.longread p { margin-top:9px; color:var(--muted); }
.topic-stage { display:grid; gap:18px; }
.topic-entry { display:grid; grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr); gap:34px; padding:30px 0; border-bottom:1px solid var(--gray-border); }
.topic-entry h2 { font-size:28px; }
.topic-entry p { margin-bottom:12px; }
.notice-list { display:grid; gap:0; border-top:1px solid var(--gray-border); }
.notice-row { display:grid; grid-template-columns:160px minmax(0,1fr); gap:24px; padding:22px 0; border-bottom:1px solid var(--gray-border); }
.notice-row strong { color:var(--brand); }
.flow-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; counter-reset:flow; }
.flow-step { padding:22px; border-radius:16px; background:var(--subtle); }
.flow-step::before { counter-increment:flow; content:counter(flow); display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--brand); color:#fff; font-weight:900; margin-bottom:13px; }
.risk-grid, .privacy-grid, .rule-grid, .help-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.risk-card, .privacy-card, .rule-card, .help-card { padding:24px; border-radius:18px; border:1px solid var(--gray-border); background:#fff; }
.risk-card p, .privacy-card p, .rule-card p, .help-card p { margin-top:8px; color:var(--muted); }
.faq-list { display:grid; gap:12px; }
details.faq-item { border:1px solid var(--gray-border); border-radius:14px; background:#fff; overflow:hidden; }
details.faq-item summary { min-height:58px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:15px 20px; list-style:none; cursor:pointer; color:var(--ink); font-weight:800; }
details.faq-item summary::-webkit-details-marker { display:none; }
details.faq-item summary::after { content:"＋"; color:var(--brand); font-size:22px; }
details.faq-item[open] summary::after { content:"－"; }
details.faq-item p { padding:0 20px 20px; color:var(--muted); }
.contact-lanes { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.contact-lane { padding:24px; border-radius:18px; border:1px solid var(--border); background:#fff; }
.contact-lane p { margin-top:8px; color:var(--muted); }
.value-timeline { display:grid; gap:14px; }
.value-line { display:grid; grid-template-columns:180px 1fr; gap:28px; padding:22px 0; border-bottom:1px solid var(--gray-border); }
.value-line h2 { font-size:22px; color:var(--brand-dark); }

/* Panels and overlay */
.ui-mask { position:fixed; inset:0; z-index:1390; background:rgba(7,31,61,.40); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s ease, visibility .2s ease; }
.ui-mask.is-visible { opacity:1; visibility:visible; pointer-events:auto; }
.channel-menu, .search-panel { position:fixed; z-index:1400; left:0; right:0; top:74px; max-height:calc(100vh - 74px); overflow:auto; background:#fff; border-top:1px solid var(--gray-border); box-shadow:0 24px 60px rgba(9,42,78,.16); visibility:hidden; opacity:0; pointer-events:none; transform:translateY(-12px); transition:opacity .2s ease, transform .2s ease, visibility .2s ease; }
body.menu-open .channel-menu, body.search-open .search-panel { visibility:visible; opacity:1; pointer-events:auto; transform:none; }
.channel-menu-inner, .search-panel-inner { width:min(var(--max),calc(100% - 32px)); margin:0 auto; padding:28px 0 34px; }
.panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:22px; }
.panel-heading h2 { font-size:28px; }
.panel-close { min-width:56px; min-height:44px; border:1px solid var(--gray-border); border-radius:10px; background:#fff; color:var(--text); }
.panel-close:hover { color:var(--brand); border-color:var(--border); }
.menu-search { display:none; width:100%; min-height:46px; margin:0 0 18px; border:1px solid var(--border); border-radius:12px; background:var(--blue-wash); color:var(--brand-dark); font-weight:800; }
.channel-columns { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.channel-column h3 { margin-bottom:10px; color:var(--brand-dark); }
.channel-column a { display:block; padding:11px 0; border-bottom:1px solid var(--gray-border); }
.channel-column a strong { display:block; color:var(--ink); }
.channel-column a span { display:block; margin-top:2px; color:var(--muted); font-size:13px; line-height:1.55; }
.channel-column a:hover strong { color:var(--brand); }
.search-panel { min-height:460px; }
.search-box { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:12px; padding:10px 16px; border:1px solid var(--border); border-radius:14px; background:var(--subtle); }
.search-box span { color:var(--brand); font-weight:800; }
.search-box input { width:100%; min-height:44px; border:0; outline:0; background:transparent; color:var(--ink); }
.search-suggestions { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 22px; }
.search-suggestions button { min-height:44px; padding:0 12px; border:0; border-radius:999px; background:var(--blue-wash); color:var(--brand-dark); }
.search-links { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.search-links a { padding:15px 17px; border:1px solid var(--gray-border); border-radius:13px; }
.search-links a strong { display:block; color:var(--ink); }
.search-links a span { display:block; color:var(--muted); margin-top:2px; font-size:14px; }
.search-links a:hover { border-color:var(--border); background:var(--subtle); }
.search-empty { padding:20px; text-align:center; color:var(--muted); }

/* Footer */
.site-footer { background:var(--footer); color:var(--footer-text); padding:58px 0 30px; }
.footer-inner { width:min(var(--max),calc(100% - 32px)); margin:0 auto; }
.footer-brand { max-width:680px; }
.footer-logo { display:inline-flex; align-items:center; min-height:44px; color:#fff; font-weight:900; font-size:24px; }
.footer-logo img { max-width:150px; max-height:48px; object-fit:contain; }
.footer-en { margin:8px 0 12px; color:#8EC3FF; font-size:12px; letter-spacing:.16em; font-weight:800; }
.footer-brand > p:last-child { color:rgba(234,243,255,.72); }
.footer-groups { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; margin:40px 0; padding-top:34px; border-top:1px solid rgba(255,255,255,.10); }
.footer-groups nav { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.footer-groups h2 { font-size:15px; color:#fff; margin-bottom:5px; }
.footer-groups a { min-height:34px; display:inline-flex; align-items:center; color:rgba(234,243,255,.72); }
.footer-groups a:hover { color:#fff; }
.footer-note { padding:18px 20px; border-radius:14px; background:rgba(255,255,255,.06); color:rgba(234,243,255,.74); }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; padding-top:24px; margin-top:24px; border-top:1px solid rgba(255,255,255,.10); color:rgba(234,243,255,.60); font-size:13px; }
.footer-bottom a:hover { color:#fff; }
.mobile-bottom-nav { display:none; }

@media (max-width: 1120px) {
  .brand { min-width:190px; }
  .brand-tag { display:none; }
  .nav-link { padding:0 7px; font-size:14px; }
  .top-action { padding:0 7px; }
  .editorial-desk { grid-template-columns:1fr 1.2fr; }
  .desk-links { grid-column:1 / -1; grid-template-columns:repeat(4,1fr); }
  .desk-mini { border-bottom:0; border-right:1px solid var(--gray-border); }
  .desk-mini:last-child { border-right:0; }
  .overview-grid { grid-template-columns:repeat(2,1fr); }
  .overview-item:nth-child(2), .overview-item:nth-child(4) { margin-top:0; }
  .card-grid.four { grid-template-columns:repeat(2,1fr); }
  .interest-wall { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 980px) {
  html { scroll-behavior:auto; }
  .topbar { height:64px; }
  .topbar-inner { width:calc(100% - 24px); grid-template-columns:52px minmax(0,1fr) 52px; gap:6px; }
  .desktop-nav, .desktop-actions { display:none; }
  .mobile-leading { display:flex; }
  .mobile-discover { display:inline-flex; justify-self:end; padding:0 7px; }
  .brand { min-width:0; justify-content:center; overflow:hidden; }
  .brand-tag { display:none; }
  .brand-logo { max-width:128px; max-height:40px; }
  .brand-wordmark { font-size:21px; }
  .section { padding:54px 0; }
  .page-intro { padding:42px 0 30px; }
  .page-intro-grid, .discussion-layout, .story-feature, .app-showcase, .safety-pair, .editorial-index { grid-template-columns:1fr; }
  .card-grid, .card-grid.two, .card-grid.four { grid-template-columns:1fr 1fr; }
  .editorial-desk { grid-template-columns:1fr; }
  .desk-copy { order:1; }
  .hero-media { order:2; min-height:360px; }
  .desk-links { order:3; grid-column:auto; grid-template-columns:1fr 1fr; }
  .overview-grid { grid-template-columns:1fr 1fr; }
  .discussion-index { grid-template-columns:1fr 1fr; }
  .city-node, .city-node:nth-child(2), .city-node:nth-child(3), .city-node:nth-child(5), .city-node:nth-child(6) { grid-column:span 6; }
  .life-note, .life-note:nth-child(1), .life-note:nth-child(2), .life-note:nth-child(5), .life-note:nth-child(6) { grid-column:span 6; }
  .principles { grid-template-columns:1fr 1fr; }
  .safety-block:nth-child(2) { margin-top:0; }
  .magazine-layout article, .magazine-layout article:nth-child(4n+1), .magazine-layout article:nth-child(4n+2) { grid-column:span 6; }
  .topic-entry { grid-template-columns:1fr; gap:12px; }
  .flow-steps { grid-template-columns:1fr 1fr; }
  .channel-menu, .search-panel { top:0; bottom:0; max-height:none; border-top:0; }
  .channel-menu { left:auto; width:min(90vw,390px); transform:translateX(100%); }
  body.menu-open .channel-menu { transform:none; }
  .channel-menu-inner { width:auto; margin:0; padding:24px 20px 90px; }
  .menu-search { display:block; }
  .channel-columns { grid-template-columns:1fr; gap:20px; }
  .search-panel { width:100%; transform:none; }
  .search-panel-inner { width:calc(100% - 30px); padding:20px 0 100px; }
  .search-links { grid-template-columns:1fr; }
  .side-index { position:static; }
  .site-footer { padding-bottom:100px; }
  .mobile-bottom-nav { position:fixed; z-index:1100; left:0; right:0; bottom:0; display:grid; grid-template-columns:repeat(5,1fr); min-height:64px; padding-bottom:env(safe-area-inset-bottom); background:rgba(255,255,255,.98); border-top:1px solid var(--gray-border); box-shadow:0 -8px 28px rgba(10,40,70,.08); }
  .mobile-bottom-nav a { min-height:58px; display:flex; flex-direction:column; gap:2px; justify-content:center; align-items:center; color:var(--muted); font-size:11px; font-weight:700; }
  .mobile-bottom-nav a span { font-size:18px; line-height:1; }
  .mobile-bottom-nav a.is-active { color:var(--brand); }
}
@media (max-width: 620px) {
  .container, .footer-inner { width:calc(100% - 30px); }
  .section-heading { align-items:flex-start; flex-direction:column; }
  h1 { font-size:36px; }
  h2 { font-size:28px; }
  .lede { font-size:16px; }
  .card-grid, .card-grid.two, .card-grid.four, .overview-grid, .discussion-index, .principles, .risk-grid, .privacy-grid, .rule-grid, .help-grid, .contact-lanes, .service-grid, .flow-steps { grid-template-columns:1fr; }
  .desk-copy { padding:24px; }
  .desk-links { grid-template-columns:1fr; }
  .desk-mini { border-right:0; border-bottom:1px solid var(--gray-border); }
  .hero-media { min-height:300px; }
  .city-node, .city-node:nth-child(2), .city-node:nth-child(3), .city-node:nth-child(5), .city-node:nth-child(6), .life-note, .life-note:nth-child(1), .life-note:nth-child(2), .life-note:nth-child(5), .life-note:nth-child(6) { grid-column:span 12; }
  .route-card { flex-basis:86vw; }
  .qa-row, .horizontal-life article, .longread, .notice-row, .value-line, .guide-row { grid-template-columns:1fr; gap:9px; }
  .guide-row { align-items:start; }
  .magazine-layout article, .magazine-layout article:nth-child(4n+1), .magazine-layout article:nth-child(4n+2) { grid-column:span 12; }
  .travel-journal { padding-left:32px; }
  .travel-entry::before { left:-29px; }
  .interest-wall { grid-template-columns:1fr; }
  .question-item p { margin-left:0; }
  .app-visual { min-height:380px; }
  .brand-manifesto { padding:32px 24px; }
  .footer-groups { grid-template-columns:1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}
