@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --text-strong: #082f49;
  --text-body: #2c4a60;
  --text-muted: #4e6d84;
  --text-inverse: #fff;
  --blue-100: #d6ecff;
  --blue-500: #148aff;
  --blue-600: #0b74e0;
  --blue-700: #0a5db8;
  --aqua-100: #ddf5f8;
  --aqua-500: #18afc4;
  --indigo-600: #3f48ba;
  --buoy-100: #ffebdc;
  --buoy-500: #ff7a1a;
  --line: #c9e3f3;
  --line-subtle: #e1f0fa;
  --surface: #fff;
  --surface-sky: #eaf6ff;
  --surface-tile: #f5faff;
  --surface-deep: #082f49;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 999px;
  --shadow-md: 0 12px 32px -4px #082f4914, 0 2px 6px #082f490d;
  --shadow-shot: drop-shadow(0 20px 20px rgba(11, 58, 140, .18));
  --tile: 32px;
  --gutter: 16px;
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

@media (min-width: 768px) {
  :root { --tile: 48px; --gutter: 32px; }
}

/* ── Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text-body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -.2px;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--text-strong); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon.solid { fill: currentColor; stroke: none; }
.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; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 10px 16px; border-radius: var(--r-md); background: var(--surface-deep); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.shell { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.text-blue { color: var(--blue-500); }

/* ── Type ───────────────────────────────────────────── */
.display { font-size: 36px; font-weight: 800; line-height: 1.28; letter-spacing: -2px; }
.h2 { font-size: 28px; font-weight: 700; line-height: 1.38; letter-spacing: -1px; }
.h3 { font-size: 20px; font-weight: 700; line-height: 1.42; letter-spacing: -.5px; }
.body-l { font-size: 17px; line-height: 1.7; letter-spacing: -.3px; }
.caption { font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--text-muted); }
.label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-600); font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: .5px;
}
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--buoy-500); }
@media (min-width: 1080px) {
  .display { font-size: 64px; line-height: 1.2; letter-spacing: -2.5px; }
  .h2 { font-size: 44px; line-height: 1.3; letter-spacing: -1.5px; }
  .h3 { font-size: 24px; line-height: 1.4; }
  .body-l { font-size: 19px; }
}

/* ── Motifs ─────────────────────────────────────────── */
.tile-bg {
  background-color: var(--surface-sky);
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: var(--tile) var(--tile);
}
.lane-rope {
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='8'%3E%3Crect width='20' height='8' rx='4' fill='%23ff7a1a'/%3E%3Crect x='24' width='20' height='8' rx='4' fill='%23fff'/%3E%3Crect x='48' width='20' height='8' rx='4' fill='%23148aff'/%3E%3Crect x='72' width='20' height='8' rx='4' fill='%23fff'/%3E%3C/svg%3E") repeat-x left center / 96px 8px;
}
@media (min-width: 768px) {
  .lane-rope {
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='10'%3E%3Crect width='32' height='10' rx='5' fill='%23ff7a1a'/%3E%3Crect x='36' width='32' height='10' rx='5' fill='%23fff'/%3E%3Crect x='72' width='32' height='10' rx='5' fill='%23148aff'/%3E%3Crect x='108' width='32' height='10' rx='5' fill='%23fff'/%3E%3C/svg%3E");
    background-size: 144px 10px;
  }
}

/* Screenshot frame — never cropped */
.shot { filter: var(--shadow-shot); }
.shot picture { display: block; }
.shot img {
  width: 100%; height: auto; aspect-ratio: 1242 / 2688;
  object-fit: contain; border-radius: var(--r-xl); background: #fff;
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 22px; border-radius: var(--r-lg);
  font-size: 17px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-s { min-height: 40px; padding: 0 16px; border-radius: var(--r-md); font-size: 15px; font-weight: 600; }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-secondary { background: #fff; color: var(--text-strong); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--blue-500); }
.btn-dark { background: var(--surface-deep); color: #fff; padding-left: 18px; }
.btn-dark:hover { background: #0c3d5e; }
.btn-light { background: #fff; color: var(--text-strong); padding-left: 18px; }
.btn-light:hover { background: var(--surface-tile); }
.btn .icon { width: 22px; height: 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue-600); font-size: 17px; font-weight: 700; text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 18px; height: 18px; }
@media (max-width: 479px) {
  .store-row .btn { flex: 1 1 100%; }
}

.partner-note { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 14px; font-weight: 500; }
.partner-note .icon { width: 18px; height: 18px; color: var(--aqua-500); }
.partner-note.inverse { color: rgba(255, 255, 255, .86); }
.partner-note.inverse .icon { color: #fff; }

/* ── Header ─────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line-subtle); backdrop-filter: saturate(1.4) blur(10px); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-strong); font-size: 20px; font-weight: 700; letter-spacing: -.5px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-md); background: var(--blue-500); color: #fff; }
.brand-mark .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.brand b { color: var(--blue-500); font-weight: inherit; }
.nav-links { display: flex; align-items: center; gap: 20px; order: 3; width: 100%; padding-bottom: 2px; }
.nav-links a { color: var(--text-body); font-size: 15px; font-weight: 600; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue-600); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
@media (min-width: 768px) {
  .site-nav { flex-wrap: nowrap; min-height: 72px; padding-top: 0; padding-bottom: 0; }
  .nav-links { order: 0; width: auto; gap: 36px; margin-left: auto; padding: 0; }
}

/* ── Sections ───────────────────────────────────────── */
.section { padding: 72px 0; }
.section.tile { background: var(--surface-tile); }
.section-head { display: grid; gap: 12px; max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head p { color: var(--text-body); }
@media (min-width: 1080px) {
  .section { padding: 120px 0; }
  .section-head { gap: 16px; margin-bottom: 56px; }
}

/* ── Hero ───────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
.hero-copy { display: grid; gap: 20px; align-content: center; justify-items: start; max-width: 560px; }
.hero-copy .seo-line { display: block; margin-bottom: 10px; color: var(--blue-600); font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.hero-copy .body-l { max-width: 520px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text-muted); font-size: 14px; font-weight: 500; }
.hero-meta span + span::before { content: "·"; margin-right: 14px; color: var(--line); }
.hero-shots { position: relative; width: min(100%, 380px); height: 420px; margin: 0 auto; }
.hero-shots .shot { position: absolute; }
.hero-shots .s1 { width: 44%; left: 0; top: 40px; }
.hero-shots .s2 { width: 44%; right: 0; top: 40px; }
.hero-shots .s3 { width: 50%; left: 25%; top: 0; z-index: 2; }
.hero-shots.pair .s1 { width: 50%; left: 2%; top: 56px; }
.hero-shots.pair .s2 { width: 56%; left: auto; right: 2%; top: 0; z-index: 2; }
.hero .lane-rope { position: absolute; left: 0; right: 0; bottom: 0; }
@media (min-width: 1080px) {
  .hero-grid { grid-template-columns: 560px 1fr; gap: 48px; padding-top: 96px; padding-bottom: 120px; min-height: 680px; }
  .hero-shots { width: 560px; height: 620px; margin: 0 0 0 auto; }
  .hero-shots .s1 { width: 236px; left: 0; top: 96px; }
  .hero-shots .s2 { width: 236px; left: auto; right: 0; top: 96px; }
  .hero-shots .s3 { width: 264px; left: 148px; top: 20px; }
  .hero-shots.pair .s1 { width: 236px; left: 40px; top: 96px; }
  .hero-shots.pair .s2 { width: 264px; left: 272px; right: auto; top: 20px; }
}

/* ── Jump bar ───────────────────────────────────────── */
.jump-bar { border-bottom: 1px solid var(--line-subtle); background: #fff; }
.jump-inner { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.jump-inner::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; flex: none; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff;
  color: var(--text-body); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
a.chip:hover { border-color: var(--blue-500); color: var(--blue-600); }

/* ── Home: flow cards ───────────────────────────────── */
.flow-grid { display: grid; gap: 20px; }
.flow-card { display: grid; gap: 20px; }
.flow-card .shot-wrap { display: grid; place-items: center; padding: 32px 0; border-radius: var(--r-2xl); background: var(--surface-sky); }
.flow-card .shot { width: 200px; }
.flow-card .meta { display: flex; align-items: center; gap: 10px; }
.num { color: var(--blue-600); font-size: 14px; font-weight: 700; letter-spacing: .5px; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--r-sm); background: var(--blue-100); color: var(--blue-700); font-size: 14px; font-weight: 500; line-height: 1.5; }
.flow-card p { margin-top: 8px; }
@media (min-width: 768px) {
  .flow-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1080px) {
  .flow-card .shot-wrap { padding: 40px 0; }
  .flow-card .shot { width: 252px; }
}

/* ── Feature cards ──────────────────────────────────── */
.card-grid { display: grid; gap: 12px; }
.card {
  display: grid; gap: 14px; align-content: start; padding: 28px 24px;
  border: 1px solid var(--line-subtle); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-md);
}
.icon-buoy { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--buoy-100); color: var(--buoy-500); }
.icon-buoy.blue { background: var(--blue-100); color: var(--blue-600); }
.icon-buoy.aqua { background: var(--aqua-100); color: #0f8798; }
.icon-buoy .icon { width: 24px; height: 24px; }
.card p { color: var(--text-body); }
.section-foot { margin-top: 32px; }
@media (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .card { padding: 36px 32px; }
}
@media (min-width: 1080px) {
  .card-grid.four { grid-template-columns: repeat(4, 1fr); }
}

/* ── Home: community ────────────────────────────────── */
.talk { display: grid; gap: 36px; align-items: center; }
.talk-copy { display: grid; gap: 16px; justify-items: start; }
.talk-copy .btn { margin-top: 8px; }
.topic-board { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-2xl); background: var(--surface-sky); }
.topic-board > .caption { padding: 0 4px; }
.topic-list { display: grid; gap: 12px; }
.topic-card { display: grid; gap: 8px; padding: 20px 22px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-md); }
.topic-card strong { color: var(--text-strong); font-size: 17px; font-weight: 700; line-height: 1.5; }
.topic-card .tag { justify-self: start; }
@media (min-width: 768px) {
  .topic-board { padding: 32px; gap: 18px; }
  .topic-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 1080px) {
  .talk { grid-template-columns: 480px 1fr; gap: 96px; }
}

/* ── Home: steps ────────────────────────────────────── */
.steps { display: grid; gap: 12px; counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--line-subtle); border-radius: var(--r-xl); background: var(--surface-tile); counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-deep); color: #fff; font-size: 17px; font-weight: 700;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { padding: 32px 28px; } }

/* ── FAQ ────────────────────────────────────────────── */
.faq { display: grid; gap: 32px; }
.faq-list { border-top: 1.5px solid var(--text-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; gap: 14px; padding: 22px 0; cursor: pointer; list-style: none;
  color: var(--text-strong); font-size: 17px; font-weight: 700; line-height: 1.5;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; flex: none; color: var(--blue-500); font-size: 18px; font-weight: 800; }
.faq-list summary .icon { margin-left: auto; color: var(--text-muted); transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(180deg); color: var(--blue-600); }
.faq-list details p { padding: 0 0 24px 30px; color: var(--text-body); }
@media (min-width: 1080px) {
  .faq { grid-template-columns: 380px minmax(0, 720px); justify-content: space-between; gap: 48px; }
  .faq-list summary { padding: 26px 0; font-size: 18px; }
}

/* ── CTA panel ──────────────────────────────────────── */
.cta-section { padding: 0 0 72px; }
.cta-panel {
  position: relative; overflow: hidden; display: grid; gap: 18px; justify-items: center; text-align: center;
  padding: 56px 20px 64px; border-radius: var(--r-2xl); color: #fff;
  background-color: var(--blue-600);
  background-image:
    linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: var(--tile) var(--tile);
}
.cta-panel .label { color: #fff; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255, 255, 255, .9); }
.cta-panel .btn-row { justify-content: center; margin-top: 8px; }
.cta-panel .lane-rope { position: absolute; left: 0; right: 0; bottom: 0; }
@media (min-width: 1080px) {
  .cta-section { padding-bottom: 120px; }
  .cta-panel { padding: 88px 80px 104px; gap: 20px; }
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-tile); }
.footer-inner { display: grid; gap: 20px; padding-top: 40px; padding-bottom: 48px; }
.footer-inner .caption { margin-top: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { color: var(--text-strong); font-size: 15px; font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--blue-600); }
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
}

/* ── App intro: feature rows ────────────────────────── */
.rows { display: grid; gap: 72px; }
.row { display: grid; gap: 28px; align-items: center; }
.row-shot { display: grid; place-items: center; padding: 36px 0; border-radius: var(--r-2xl); background: var(--surface-sky); }
.row-shot.aqua { background: var(--aqua-100); }
.row-shot .shot { width: 220px; }
.row-copy { display: grid; gap: 16px; justify-items: start; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff;
  color: var(--text-body); font-size: 15px; font-weight: 600; line-height: 1.4;
}
.pill .icon { width: 16px; height: 16px; color: var(--blue-500); }
@media (min-width: 1080px) {
  .rows { gap: 120px; }
  .row { grid-template-columns: 560px 520px; justify-content: space-between; gap: 48px; }
  .row.reverse .row-shot { order: 2; }
  .row-shot { padding: 56px 0; }
  .row-shot .shot { width: 290px; }
  .row-copy { gap: 20px; }
}

/* Update note */
.update-note {
  display: grid; gap: 10px 16px; align-items: center; margin-top: 24px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
}
.update-badge { justify-self: start; padding: 4px 10px; border-radius: var(--r-sm); background: var(--buoy-100); color: var(--text-strong); font-size: 14px; font-weight: 700; }
.update-note strong { color: var(--text-strong); font-size: 16px; font-weight: 600; }
.update-note p { color: var(--text-body); font-size: 15px; line-height: 1.6; }
.update-note a { color: var(--blue-600); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.update-note a:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .update-note { grid-template-columns: auto 1fr auto; padding: 18px 24px; }
}

/* Gallery */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px;
  margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin;
}
.gallery figure { display: grid; gap: 16px; scroll-snap-align: center; }
.gallery figcaption { color: var(--text-body); font-size: 15px; font-weight: 600; text-align: center; }
@media (min-width: 1080px) {
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(3, 300px); justify-content: center; gap: 32px; overflow: visible; padding: 0; margin: 0; }
}

/* ── Community list ─────────────────────────────────── */
.c-intro { position: relative; padding: 56px 0 72px; text-align: center; }
.c-intro .shell { display: grid; gap: 18px; justify-items: center; }
.c-intro p.body-l { max-width: 680px; }
.c-intro .lane-rope { position: absolute; left: 0; right: 0; bottom: 0; }
.count-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--surface-deep); color: #fff; font-size: 15px; font-weight: 600;
}
.count-badge strong { color: var(--buoy-500); font-weight: 800; }
.count-badge .icon { width: 18px; height: 18px; }
.notice {
  display: inline-flex; align-items: flex-start; gap: 8px; max-width: 100%; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  color: var(--text-muted); font-size: 14px; font-weight: 500; line-height: 1.5; text-align: left;
}
.notice .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--blue-500); }
@media (min-width: 768px) { .notice { border-radius: var(--r-pill); } }
@media (min-width: 1080px) { .c-intro { padding: 96px 0 120px; } }

.c-list { padding: 40px 0 72px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 24px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.post-grid { display: grid; gap: 12px; }
.post-card {
  display: grid; gap: 12px; align-content: start; padding: 24px; border: 1px solid var(--line-subtle);
  border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-md); color: inherit; text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.post-card:hover { border-color: var(--blue-500); transform: translateY(-2px); }
.post-card .tag { justify-self: start; }
.post-card h2 { font-size: 20px; font-weight: 700; line-height: 1.42; letter-spacing: -.5px; }
.post-card p { color: var(--text-body); font-size: 15px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-top: 12px; border-top: 1px solid var(--line-subtle); color: var(--text-muted); font-size: 14px; font-weight: 500; }
.post-meta span { display: inline-flex; align-items: center; gap: 4px; }
.post-meta .icon { width: 16px; height: 16px; }
.empty-state { padding: 48px 24px; border-radius: var(--r-xl); background: var(--surface-tile); color: var(--text-muted); text-align: center; }
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a, .pager > span {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  color: var(--text-strong); font-size: 15px; font-weight: 600; text-decoration: none;
}
.pager a:hover { border-color: var(--blue-500); color: var(--blue-600); }
.pager > span[aria-hidden="true"] { color: var(--line); }
.pager .current { border-color: transparent; background: transparent; min-width: 64px; }
.pager .icon { width: 18px; height: 18px; }
@media (min-width: 768px) {
  .chips { flex-wrap: wrap; overflow: visible; margin: 0 0 32px; padding: 0; }
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .post-card { padding: 28px; }
}
@media (min-width: 1080px) {
  .c-list { padding: 56px 0 120px; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Community detail ───────────────────────────────── */
.detail { padding: 32px 0 72px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 28px; color: var(--text-muted); font-size: 14px; font-weight: 500; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue-600); text-decoration: underline; }
.crumbs .icon { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--text-strong); }
.detail-grid { display: grid; gap: 40px; align-items: start; }
.article { display: grid; gap: 24px; min-width: 0; max-width: 720px; }
.article .tag { justify-self: start; }
.article h1 { font-size: 28px; font-weight: 700; line-height: 1.38; letter-spacing: -1px; }
.byline { display: flex; align-items: center; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--text-muted); font-size: 14px; font-weight: 500; }
.article-body { display: grid; gap: 20px; color: var(--text-body); font-size: 17px; line-height: 1.85; }
.article-body a { color: var(--blue-600); word-break: break-all; }
.reactions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface-tile); }
.reactions > span { display: inline-flex; align-items: center; gap: 6px; color: var(--text-strong); font-size: 16px; font-weight: 600; }
.reactions .icon { width: 18px; height: 18px; color: var(--blue-500); }
.reactions .note { display: none; margin-left: auto; color: var(--text-muted); font-size: 14px; font-weight: 400; }
.aside { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-xl); background: var(--surface-sky); }
.aside h2 { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.5px; }
.aside .btn { width: 100%; }
.aside .partner-note { justify-content: center; }
@media (min-width: 768px) {
  .reactions .note { display: inline; }
}
@media (min-width: 1080px) {
  .detail { padding: 48px 0 128px; }
  .detail-grid { grid-template-columns: minmax(0, 720px) 384px; justify-content: space-between; gap: 96px; }
  .article { gap: 28px; }
  .article h1 { font-size: 44px; line-height: 1.3; letter-spacing: -1.5px; }
  .article-body { font-size: 18px; }
  .aside { position: sticky; top: 104px; padding: 32px; gap: 18px; }
  .aside h2 { font-size: 28px; line-height: 1.38; letter-spacing: -1px; }
}

/* ── Error ──────────────────────────────────────────── */
.error-hero { position: relative; display: grid; place-items: center; min-height: 520px; padding: 64px 0 88px; text-align: center; }
.error-hero .shell { display: grid; gap: 18px; justify-items: center; }
.error-mark { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--buoy-500); color: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .7); }
.error-mark .icon { width: 38px; height: 38px; }
.error-hero .btn-row { justify-content: center; margin-top: 8px; }
.error-hero .lane-rope { position: absolute; left: 0; right: 0; bottom: 0; }
@media (max-width: 479px) { .error-hero .btn-row .btn { flex: 1 1 100%; } }
@media (min-width: 1080px) {
  .error-hero { min-height: 640px; }
  .error-mark { width: 112px; height: 112px; }
  .error-mark .icon { width: 44px; height: 44px; }
}
