:root {
  color-scheme: light;
  --ink: #10233f;
  --muted: #6a7788;
  --line: #dde4eb;
  --paper: #ffffff;
  --ground: #f2f5f8;
  --blue: #1459d9;
  --navy: #102c57;
  --mint: #2bc395;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--ground); font-size: 16px; }
body::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, var(--blue), #45a5ff 58%, var(--mint)); }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 64px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.identity { display: flex; gap: 14px; align-items: center; }
.mark { display: grid; place-items: center; width: 54px; height: 48px; border-radius: 14px; color: white; background: var(--navy); font-size: .82rem; letter-spacing: .08em; font-weight: 900; box-shadow: 0 8px 20px #102c5726; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 1.4rem; letter-spacing: -.035em; }
.identity p { color: var(--muted); margin-top: 3px; font-size: .9rem; }
button { border: 0; border-radius: 12px; padding: 12px 17px; background: var(--ink); color: white; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 7px 18px #10233f20; }
button:hover { background: var(--blue); transform: translateY(-1px); }
button:disabled { opacity: .65; cursor: wait; }
.status-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.status-card { min-height: 150px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 9px 28px #344b6810; }
.status-card.primary { color: white; border: 0; background: linear-gradient(145deg, #11305d, #1354bc); }
.eyebrow { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.primary .eyebrow { color: #c9ddff; }
.status-card strong { display: block; margin-top: 20px; font-size: 1.28rem; letter-spacing: -.03em; }
.status-card p { color: var(--muted); margin-top: 8px; font-size: .88rem; line-height: 1.55; }
.primary p { color: #d7e5ff; }
.pulse { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #58efb8; box-shadow: 0 0 0 6px #58efb81c; }
.feed { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 12px 34px #344b6810; }
.section-head { display: flex; justify-content: space-between; align-items: end; padding: 28px 30px 22px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin-top: 4px; font-size: 1.45rem; letter-spacing: -.04em; }
.kicker { color: var(--blue); font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
.section-head a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 700; }
.post { display: grid; grid-template-columns: 58px 1fr auto 24px; gap: 16px; align-items: center; min-height: 88px; padding: 17px 30px; color: inherit; text-decoration: none; border-bottom: 1px solid #e8edf2; transition: background .18s, transform .18s; }
.post:last-child { border: 0; }
.post:hover { background: #f6f9ff; }
.number { color: #9aa6b5; font-variant-numeric: tabular-nums; font-size: .87rem; }
.post-main h3 { font-size: 1rem; line-height: 1.5; letter-spacing: -.018em; }
.post-main p { color: var(--muted); margin-top: 6px; font-size: .84rem; }
.post-main p span { padding: 0 4px; color: #c3cbd4; }
.badge { padding: 5px 9px; border-radius: 999px; color: #087858; background: #e3f9f1; font-size: .74rem; font-weight: 800; }
.arrow { color: #95a2b1; font-size: 1rem; }
.empty { padding: 64px 30px; text-align: center; color: var(--muted); }
.empty strong { color: var(--ink); }
.empty p { margin-top: 8px; }
.error { margin: 0 0 18px; padding: 14px 18px; border: 1px solid #f5b5b5; border-radius: 12px; color: #8e2424; background: #fff2f2; font-size: .9rem; }
#toast { position: fixed; right: 24px; bottom: 24px; z-index: 10; padding: 13px 17px; border-radius: 12px; color: white; background: #12325e; box-shadow: 0 12px 36px #07172e52; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; }
#toast.show { opacity: 1; transform: translateY(0); }
#toast.bad { background: #9b2727; }
.spin { display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 800px) {
  .shell { width: min(100% - 24px, 680px); padding-top: 22px; }
  .status-grid { grid-template-columns: 1fr; }
  .status-card { min-height: auto; }
  .post { grid-template-columns: 1fr 22px; padding: 18px 20px; }
  .number, .badge { display: none; }
  .section-head { padding: 24px 20px 18px; }
}
@media (max-width: 520px) {
  .identity p { display: none; }
  h1 { font-size: 1.1rem; }
  .mark { width: 48px; height: 42px; }
  button { padding: 11px 13px; font-size: .9rem; }
  .section-head { align-items: center; }
  .section-head h2 { font-size: 1.25rem; }
  .section-head a { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; } }
