@charset "UTF-8";

:root {
  --page: #f7f0f1;
  --surface: #fff;
  --surface-soft: #fff6f6;
  --ink: #2c2124;
  --muted: #6e6165;
  --line: #eadadd;
  --brand: #b91c30;
  --brand-2: #cc3141;
  --brand-soft: #ffeff1;
  --success: #147a54;
  --warning: #a85d0b;
  --danger: #bd3e54;
  --radius: 16px;
  --shadow: 0 9px 30px rgba(91, 24, 37, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 155px; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 15px/1.6 Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -.035em; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 32px), 1180px); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
:focus-visible { outline: 3px solid rgba(185, 28, 48, .75); outline-offset: 3px; }
.skip-link {
  position: fixed; z-index: 150; top: 8px; left: 8px; padding: 9px 15px;
  color: #fff; background: var(--brand); border-radius: 8px; transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.eyebrow { color: var(--brand); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: currentColor; }

/* Shared header */
.site-header {
  position: sticky; z-index: 50; top: 0;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 24px rgba(68, 24, 33, .06);
  backdrop-filter: blur(14px);
}
.header-meta { min-height: 34px; color: #74666b; background: #fff8f8; border-bottom: 1px solid #f1e2e5; font-size: 12px; }
.header-meta-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.live-datetime { white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-meta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px; font-weight: 700; }
.header-meta-actions a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.header-meta-actions .telegram-contact { color: var(--brand); }
.telegram-icon { width: 15px; height: 15px; flex: 0 0 15px; }
.header-meta-actions a:hover { color: var(--brand); }
.header-line { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.wordmark { display: inline-flex; flex: 0 0 188px; align-items: center; min-width: 0; }
.wordmark:hover { text-decoration: none; }
.wordmark img { width: 188px; height: auto; flex: 0 0 auto; object-fit: contain; }
.wordmark > span { color: var(--brand); font-size: 27px; font-weight: 950; letter-spacing: -.075em; line-height: 1; white-space: nowrap; }
.wordmark small { display: block; margin-top: 5px; color: #92767c; font-size: 9px; font-weight: 800; letter-spacing: .22em; }
.search-form {
  width: min(100%, 560px); height: 46px; display: flex; flex: 1 1 420px; align-items: stretch;
  min-width: 0; overflow: hidden; background: #fff; border: 2px solid var(--brand);
  border-radius: 13px; box-shadow: 0 5px 16px rgba(185, 28, 48, .08);
}
.search-form input { min-width: 0; width: 100%; flex: 1; padding: 0 15px; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 14px; }
.search-form input::placeholder { color: #9f9194; }
.search-form input:focus-visible { outline: 2px solid rgba(185, 28, 48, .4); outline-offset: -4px; }
.search-form button {
  min-width: 58px; padding: 0 15px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: 0; font-weight: 800; white-space: nowrap;
}
.search-form button:hover { filter: brightness(1.07); }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: 17px; margin-left: auto; color: #5b4b50; font-size: 13px; font-weight: 800; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--brand); }
.saved-count { display: inline-grid; min-width: 20px; height: 20px; place-items: center; margin-left: 3px; padding: 0 3px; color: var(--brand); background: var(--brand-soft); border-radius: 6px; font-size: 10px; }
.menu-toggle { display: none; }
.category-nav { border-top: 1px solid #f2e3e6; }
.category-nav-panel > .shell, .category-nav > .shell {
  min-height: 45px; display: flex; align-items: stretch; justify-content: space-between;
  overflow-x: auto; scrollbar-width: none;
}
.category-nav-panel > .shell::-webkit-scrollbar, .category-nav > .shell::-webkit-scrollbar { display: none; }
.category-nav a {
  position: relative; min-width: 0; display: inline-flex; flex: 1 0 auto; align-items: center; justify-content: center;
  padding: 10px 12px; color: #5b4b50; font-size: 12px; font-weight: 750; white-space: nowrap;
}
.category-nav a::after {
  content: ""; position: absolute; right: 14px; bottom: 0; left: 14px; height: 3px;
  background: var(--brand); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .18s;
}
.category-nav a:hover, .category-nav a[aria-current] { color: var(--brand); background: #fff7f7; }
.category-nav a:hover::after, .category-nav a[aria-current]::after { transform: scaleX(1); }
.category-nav a.secondary-category { display: none; }
.drawer-backdrop, .drawer-head { display: none; }

/* Home */
main.shell { padding-top: 24px; padding-bottom: 56px; }
.top10-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.top10-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 7px 24px rgba(91, 24, 37, .055); content-visibility: auto; contain-intrinsic-block-size: auto 420px; }
.top10-heading {
  min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 10px 13px; color: #61212c;
  background: linear-gradient(115deg, #ffeff1, #fff9f9);
  border-bottom: 1px solid #f0c6ce;
}
.top10-heading:hover { color: var(--brand); }
.top10-heading h2, .top10-heading h3 { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 14px; font-weight: 850; }
.top10-heading i { font-style: normal; }
.top10-heading b, .top10-heading small { color: var(--brand); font-size: 10px; font-weight: 900; letter-spacing: .05em; }
.top10-heading em, .top10-heading > span:last-child { font-size: 21px; font-style: normal; line-height: 1; opacity: .75; }
.top10-list { margin: 0; padding: 5px 10px 8px; list-style: none; }
.top10-list li { min-height: 39px; border-bottom: 1px solid #f1e8ea; }
.top10-list li:last-child { border-bottom: 0; }
.top10-list li > a, .top10-list li > .top10-row {
  min-height: 39px; display: grid; grid-template-columns: 26px 25px minmax(0, 1fr) auto;
  align-items: center; gap: 7px; padding: 3px 2px; border-radius: 8px; transition: background .15s, transform .15s;
}
.top10-list li > a:hover { background: var(--surface-soft); transform: translateX(2px); }
.top10-list .rank-token, .top10-list .rank-number { display: grid; min-width: 25px; height: 25px; place-items: center; color: #695a60; font-size: 11px; font-weight: 900; }
.top10-mini-logo, .rank-mini-logo { width: 24px; height: 24px; display: grid; place-items: center; overflow: hidden; color: var(--brand); background: #fff; border: 1px solid #eee0e3; border-radius: 7px; font-size: 10px; font-weight: 900; object-fit: contain; }
.top10-mini-logo img { width: 100%; height: 100%; object-fit: contain; }
.top10-list strong { min-width: 0; overflow: hidden; color: #4a393e; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.top10-list small { padding: 1px 4px; color: #8a5b00; background: #fff4ce; border: 1px solid #f2d98b; border-radius: 4px; font-size: 8px; font-weight: 900; }
.top10-list .link-avatar { width: 24px; height: 24px; border-radius: 7px; font-size: 10px; }
.top10-list .link-avatar img { width: 100%; height: 100%; object-fit: contain; }
.top10-list li.is-pending { background: #fffafa; }
.top10-list li.is-pending > .top10-row, .top10-list li.is-pending > span { color: #78696e; }
.top10-list li.is-pending .rank-token, .top10-list li.is-pending .rank-number { color: #8a7a7e; }
.top10-list li.is-pending strong { color: #78696e; font-weight: 650; }
.top10-more { min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--brand); background: #fff7f7; border-top: 1px solid #f1e8ea; font-size: 11px; font-weight: 800; }
.top10-more:hover { background: var(--brand-soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.other-directory-heading { margin-top: 31px; padding-top: 23px; border-top: 1px solid var(--line); }
.section-heading h2 { margin-top: 4px; font-size: 23px; }
.section-heading > p { max-width: 360px; color: var(--muted); font-size: 12px; }
.directory-section, .task-section, .browse-section, .faq, .home-copy, .reading-room { margin-top: 0; }
.directory-section, .task-section, .browse-section, .faq, .home-copy {
  padding: 25px 28px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: var(--radius);
}
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic-card { min-height: 140px; padding: 19px; background: #fff; border: 1px solid #eee0e3; border-radius: 13px; }
.topic-card:hover { background: #fff7f7; border-color: #dfb9c0; }
.topic-card-meta { display: flex; justify-content: space-between; gap: 6px; color: var(--brand); font-size: 11px; font-weight: 800; }
.topic-card h3 { margin-top: 15px; font-size: 17px; }
.topic-card p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.task-grid, .guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.task-card, .guide-grid article { padding: 18px; background: #fff; border: 1px solid #eee0e3; border-radius: 13px; }
.task-card h3, .guide-grid h3 { margin-bottom: 7px; font-size: 15px; }
.task-card p, .guide-grid p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.task-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; font-size: 11px; }
.task-steps a { padding: 4px 10px; color: var(--brand); background: var(--brand-soft); border-radius: 999px; font-weight: 700; }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.preview-section { min-width: 0; padding: 17px; background: #fff; border: 1px solid #eee0e3; border-radius: 13px; }
.list-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.list-heading h2, .list-heading h3 { font-size: 17px; }
.list-heading > a, .list-heading > span { color: var(--brand); font-size: 11px; font-weight: 800; white-space: nowrap; }
.reading-room { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 30px; padding: 28px 30px; color: #fff; background: linear-gradient(120deg, #681927, #b91c30); border-radius: var(--radius); }
.reading-room .eyebrow { color: #ffced6; }
.reading-room h2 { margin-top: 8px; font-size: 23px; }
.reading-room p { color: #ffe6ea; font-size: 13px; line-height: 1.8; }
.reading-room p + p { margin-top: 10px; }
.reading-room a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 14px; font-size: 12px; font-weight: 700; }
.faq h2, .home-copy h2 { margin-bottom: 15px; font-size: 21px; }
.faq details { background: #fff; border: 1px solid #eee0e3; border-radius: 11px; }
.faq details + details { margin-top: 8px; }
.faq summary { padding: 13px 16px; cursor: pointer; font-weight: 800; }
.faq details p { padding: 0 16px 15px; color: var(--muted); font-size: 13px; }
.home-copy p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.home-copy p + p { margin-top: 9px; }

/* Category */
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; color: #695a60; font-size: 12px; }
.breadcrumb a:hover { color: var(--brand); }
.category-hero, .page-hero, .text-hero {
  position: relative; overflow: hidden; padding: 25px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.category-hero { padding: 15px 20px; box-shadow: none; }
.category-hero::after { display: none; }
.category-hero::after, .page-hero::after {
  content: ""; position: absolute; right: -48px; bottom: -73px; width: 190px; height: 190px;
  border-radius: 50%; background: radial-gradient(circle, rgba(185, 28, 48, .16), rgba(185, 28, 48, 0) 68%); pointer-events: none;
}
.category-hero > *, .page-hero > * { position: relative; z-index: 1; }
.category-hero h1, .page-hero h1 { margin: 5px 0 8px; font-size: clamp(24px, 3vw, 34px); }
.category-hero h1 { margin: 0; font-size: clamp(20px, 2.5vw, 28px); }
.category-hero .hero-lead, .page-hero .hero-lead, .category-hero > p {
  max-width: 860px; color: #6d5b60; font-size: 14px; line-height: 1.8;
}
.category-hero .eyebrow, .page-hero .eyebrow { display: block; }
.category-notice { display: flex; align-items: center; gap: 12px; margin: 15px 0 19px; padding: 12px 17px; color: #67565c; background: #fff6f7; border: 1px solid #edcbd1; border-radius: 11px; font-size: 12px; }
.category-notice strong { flex: 0 0 auto; color: var(--brand); }
.category-notice p { line-height: 1.6; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.hero-facts span { padding: 4px 9px; color: #67565c; background: #fff6f7; border: 1px solid #f0dfe2; border-radius: 999px; font-size: 10px; font-weight: 750; }
.hero-facts b { color: var(--brand); }
.category-hero .text-link, .page-hero .text-link { display: inline-flex; margin-top: 13px; }
.rank-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.rank-card {
  position: relative; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 6px 18px rgba(91, 24, 37, .05); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.rank-card:hover { transform: translateY(-3px); border-color: #dfb9c0; box-shadow: 0 11px 28px rgba(91, 24, 37, .1); }
.rank-card-top { position: absolute; z-index: 2; top: 9px; right: 9px; left: 9px; display: flex; justify-content: space-between; align-items: start; pointer-events: none; }
.rank-number { min-width: 24px; height: 24px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 8px; box-shadow: 0 3px 9px rgba(185, 28, 48, .2); font-size: 10px; font-weight: 900; }
.rank-card-top .save-button { width: 27px; min-width: 27px; height: 27px; min-height: 27px; display: grid; place-items: center; padding: 0; pointer-events: auto; }
.rank-card-top .save-button > span:first-child { font-size: 17px; line-height: 1; }
.rank-card-top .save-label { display: none; }
.rank-card-link { min-height: 206px; display: flex; flex-direction: column; align-items: center; padding: 42px 12px 12px; text-align: center; }
.rank-logo-box { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 9px; overflow: hidden; background: #faf9fd; border: 1px solid #eee0e3; border-radius: 17px; }
.rank-logo { width: 100%; height: 100%; object-fit: contain; }
.rank-logo-box > span { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); font-size: 23px; font-weight: 900; }
.rank-card h2, .rank-card h3 { max-width: 100%; overflow: hidden; color: #403137; font-size: 14px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.rank-description, .rank-card p { min-height: 35px; margin-top: 5px; overflow: hidden; color: #695a60; font-size: 10px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rank-meta { width: 100%; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 9px; color: #695a60; font-size: 9px; }
.rank-meta span:not(.status-label) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-label { display: inline-block; padding: 2px 5px; color: var(--warning); background: #fff4db; border-radius: 5px; font-size: 9px; font-weight: 850; }
.rank-card.is-pending { background: #fffafa; border-style: dashed; border-color: #e7d5d9; box-shadow: none; }
.rank-card.is-pending:hover { transform: none; border-color: #e7d5d9; box-shadow: none; }
.rank-card.is-pending .rank-number { color: #73646a; background: #f2e7e9; box-shadow: none; }
.rank-card.is-pending .rank-logo-box { background: #f9f2f3; border-color: #eee1e4; }
.rank-card.is-pending .rank-logo-box > span { color: #8d7c81; background: transparent; }
.rank-card.is-pending h2, .rank-card.is-pending h3 { color: #77696d; }
.rank-card.is-pending p { color: #85797d; }
.category-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr); gap: 20px; margin-top: 20px; }
.full-list { min-width: 0; }
.category-hero + .full-list { margin-top: 18px; }
.full-list > .list-heading { margin-bottom: 12px; }
.field-note { align-self: start; padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.full-list + .field-note { margin-top: 20px; }
.field-note h2 { margin: 7px 0 11px; font-size: 20px; }
.field-note h3 { margin: 17px 0 7px; font-size: 16px; }
.field-note p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.field-note a { display: inline-block; margin-top: 13px; color: var(--brand); font-size: 12px; font-weight: 800; }
.rule { height: 1px; margin-top: 17px; background: var(--line); }
.list-footnote { margin-top: 15px; padding: 13px 17px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 11px; font-size: 11px; }
.list-footnote a { color: var(--brand); text-decoration: underline; }
.category-editorial { margin-top: 23px; padding: 25px 28px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: var(--radius); }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.editorial-grid section { padding: 17px; background: #fff; border: 1px solid #eee0e3; border-radius: 13px; }
.section-number { color: var(--brand); font-size: 11px; font-weight: 900; }
.editorial-grid h3 { margin: 7px 0; font-size: 15px; }
.editorial-grid p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.related-box { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 23px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.related-box h2 { margin-top: 3px; font-size: 19px; }
.related-links { display: flex; flex-wrap: wrap; gap: 8px; }
.related-links a { padding: 8px 11px; color: var(--brand); background: var(--brand-soft); border-radius: 8px; font-size: 11px; font-weight: 750; }

/* Link lists, search and saved links */
.link-row { min-width: 0; display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.link-row + .link-row { margin-top: 8px; }
.link-avatar { width: 38px; height: 38px; display: grid; flex: 0 0 38px; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-radius: 9px; font-weight: 900; }
.link-avatar img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.link-copy { min-width: 0; flex: 1; }
.link-copy h3 { font-size: 15px; }
.link-copy h3 a:hover { color: var(--brand); }
.external-arrow { color: var(--brand); font-size: 13px; font-weight: 400; }
.link-copy p { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.link-domain { display: inline-block; max-width: 100%; overflow: hidden; color: #78696e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.save-button { min-width: 43px; min-height: 43px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3px; color: #9b8d91; background: #faf9fd; border: 1px solid #eee0e3; border-radius: 8px; font-size: 9px; line-height: 1.15; }
.save-button > span:first-child { font-size: 18px; line-height: 1.1; }
.save-button[aria-pressed="true"] { color: #8a5b00; background: #fff7dc; border-color: #f0d783; }
.text-link { color: var(--brand); font-size: 12px; font-weight: 800; }
.text-link:hover { text-decoration: underline; }
.compact-page { min-height: 520px; }
.text-hero { text-align: center; }
.text-hero h1 { margin: 6px 0; font-size: clamp(24px, 3vw, 34px); }
.text-hero > p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.text-hero .button { margin-top: 15px; }
.search-results, .saved-list { max-width: 900px; margin: 16px auto 0; }
.search-category { margin: 17px 0 6px; color: var(--brand); font-size: 11px; font-weight: 800; }
.search-results .link-row, .saved-list .link-row { box-shadow: 0 5px 18px rgba(91, 24, 37, .04); }
.empty-state { max-width: 900px; margin: 16px auto 0; padding: 30px; background: #fff; border: 1px dashed #dfc8cc; border-radius: var(--radius); }
.empty-state h1, .empty-state h2, .empty-state h3 { font-size: 22px; }
.empty-state p { margin: 9px 0 14px; color: var(--muted); font-size: 13px; }
.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 16px; color: #fff; background: var(--brand); border: 1px solid var(--brand); border-radius: 9px; font-size: 13px; font-weight: 800; }
.button:hover { background: #941529; }
.button-secondary { color: var(--brand); background: #fff; }
.button-secondary:hover { background: var(--brand-soft); }

/* Editorial and contact pages */
.page-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr); align-items: center; gap: 25px; }
.page-hero .index-art { max-width: 300px; justify-self: end; }
.index-art { position: relative; min-height: 210px; overflow: hidden; padding: 19px; color: #fff; background: linear-gradient(135deg, #681927, var(--brand), var(--brand-2)); border-radius: 15px; box-shadow: 0 10px 24px rgba(91, 24, 37, .16); }
.art-top, .art-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #ffe6ea; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.art-top { padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .24); }
.art-top > span:last-child { font-size: 20px; }
.art-fold { position: absolute; top: 48px; right: -37px; width: 155px; height: 125px; border: 28px solid rgba(255, 255, 255, .1); border-radius: 50%; }
.art-number { position: relative; z-index: 1; display: flex; align-items: center; gap: 15px; padding: 12px 0; font-size: 60px; font-weight: 900; letter-spacing: -.08em; line-height: 1; }
.art-number span { font-size: 11px; font-weight: 700; letter-spacing: 0; line-height: 1.5; }
.art-tabs { position: relative; z-index: 1; display: flex; gap: 5px; }
.art-tabs span { padding: 3px 9px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px; font-size: 8px; font-weight: 800; }
.art-bottom { margin-top: 12px; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .24); }
.art-bottom svg { width: 27px; height: 27px; }
.prose-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; margin-top: 19px; }
.article-toc { position: sticky; top: 170px; align-self: start; display: flex; flex-direction: column; gap: 8px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.article-toc .eyebrow { margin-bottom: 4px; }
.article-toc a { padding: 7px 9px; color: #65575b; border-radius: 7px; font-size: 11px; }
.article-toc a:hover { color: var(--brand); background: var(--brand-soft); }
.prose-content { min-width: 0; padding: 23px 27px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.prose-content section + section { margin-top: 25px; padding-top: 25px; border-top: 1px solid var(--line); }
.prose-content h2 { margin-bottom: 9px; font-size: 21px; }
.prose-content p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.prose-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--brand); font-size: 12px; font-weight: 800; }
.updated { margin-top: 13px; color: var(--muted); font-size: 11px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr); gap: 18px; margin-top: 19px; }
.report-panel { min-width: 0; padding: 25px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.report-panel h2 { margin-bottom: 15px; font-size: 22px; }
.report-panel label { display: block; margin: 16px 0 7px; font-size: 12px; font-weight: 800; }
.report-panel label span { color: var(--muted); font-weight: 500; }
.report-panel input, .report-panel select, .report-panel textarea { display: block; width: 100%; padding: 11px 12px; color: var(--ink); background: #fff; border: 1px solid #dfc8cc; border-radius: 9px; font-size: 14px; }
.report-panel input:focus, .report-panel select:focus, .report-panel textarea:focus { border-color: var(--brand); outline: 2px solid rgba(185, 28, 48, .16); }
.report-panel textarea { resize: vertical; }
.form-note { margin: 15px 0 17px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.form-note a { color: var(--brand); text-decoration: underline; }
.notice { margin-bottom: 15px; padding: 13px 16px; color: var(--success); background: #e8f7f0; border: 1px solid #bde5d3; border-radius: 10px; font-size: 13px; }
.notice.error { color: var(--danger); background: #ffedf0; border-color: #f0c3cb; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.toast { position: fixed; z-index: 120; bottom: 20px; left: 50%; width: max-content; max-width: calc(100% - 28px); padding: 11px 16px; color: #fff; background: #2c2124; border-radius: 9px; box-shadow: 0 8px 26px rgba(43, 17, 24, .25); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Footer */
.site-footer { color: #cbbfc2; background: #24181c; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 30px; padding-top: 31px; padding-bottom: 27px; }
.footer-brand { color: #fff; font-size: 22px; font-weight: 950; letter-spacing: -.05em; }
.footer-brand span { display: block; margin-top: 3px; color: #bdabb0; font-size: 10px; font-weight: 500; letter-spacing: .08em; }
.footer-grid p { max-width: 400px; margin-top: 6px; font-size: 12px; line-height: 1.8; }
.footer-grid nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 15px; max-width: 340px; font-size: 11px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 14px; padding-bottom: 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 10px; }

@media (max-width: 1050px) {
  .header-line { gap: 20px; }
  .wordmark { flex-basis: 168px; }
  .wordmark img { width: 168px; }
  .top10-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 14px; }
  body { font-size: 14px; }
  .shell { width: min(calc(100% - 18px), 1180px); }
  .site-header { position: relative; backdrop-filter: none; }
  .header-meta, .header-meta-inner { min-height: 30px; }
  .header-meta-inner { gap: 8px; }
  .live-datetime { font-size: 10px; }
  .header-meta-actions { gap: 8px; font-size: 10px; }
  .header-meta-actions span { display: none; }
  .header-line {
    min-height: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto;
    grid-template-areas: "menu brand nav" "search search search"; align-items: center;
    gap: 6px 7px; padding: 9px 0 10px;
  }
  .menu-toggle { grid-area: menu; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; background: transparent; border: 0; font-size: 19px; }
  .wordmark { grid-area: brand; justify-self: center; flex: none; gap: 6px; }
  .wordmark img { width: min(154px, 100%); height: auto; border-radius: 0; }
  .wordmark > span { font-size: 22px; }
  .wordmark small { margin-top: 3px; font-size: 7px; }
  .primary-nav { grid-area: nav; margin-left: 0; gap: 5px; font-size: 11px; }
  .primary-nav a:first-child { display: none; }
  .primary-nav a:last-child { padding: 6px 2px; }
  .saved-count { min-width: 18px; height: 18px; font-size: 9px; }
  .search-form { grid-area: search; width: 100%; height: 41px; flex: none; }
  .search-form input { font-size: 12px; }
  .search-form button { min-width: 50px; padding-inline: 10px; font-size: 12px; }
  .category-nav { position: fixed; z-index: 100; inset: 0; visibility: hidden; border: 0; pointer-events: none; }
  .category-nav.is-open { visibility: visible; pointer-events: auto; }
  .drawer-backdrop { position: absolute; inset: 0; display: block; width: 100%; border: 0; background: rgba(27, 13, 18, .56); opacity: 0; transition: opacity .22s; }
  .category-nav.is-open .drawer-backdrop { opacity: 1; }
  .category-nav-panel {
    position: absolute; top: 0; bottom: 0; left: 0; width: min(84vw, 360px);
    overflow-y: auto; padding: 16px; background: #fff; box-shadow: 12px 0 38px rgba(43, 17, 24, .22);
    transform: translateX(-101%); transition: transform .22s;
  }
  .category-nav.is-open .category-nav-panel { transform: translateX(0); }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px 14px; border-bottom: 1px solid var(--line); }
  .drawer-head strong { font-size: 17px; }
  .drawer-close, .drawer-head button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; background: #f8ecee; border: 0; border-radius: 9px; font-size: 20px; }
  .category-nav-panel > .shell, .category-nav > .shell { width: 100%; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding-top: 12px; overflow: visible; }
  .category-nav a { min-width: 0; min-height: 43px; justify-content: flex-start; gap: 7px; padding: 9px; background: #fff6f7; border: 1px solid #f0dfe2; border-radius: 10px; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .category-nav a.secondary-category { display: inline-flex; }
  .category-nav a::after { display: none; }
  main.shell { padding-top: 12px; padding-bottom: 35px; }
  .top10-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .top10-card { border-radius: 11px; }
  .top10-heading { min-height: 42px; padding: 8px 9px; }
  .top10-heading h2, .top10-heading h3 { gap: 4px; font-size: 11px; }
  .top10-heading b, .top10-heading small { display: none; }
  .top10-heading em, .top10-heading > span:last-child { font-size: 17px; }
  .top10-list { padding: 4px 6px 6px; }
  .top10-list li { min-height: 35px; }
  .top10-list li > a, .top10-list li > .top10-row { min-height: 35px; grid-template-columns: 21px 21px minmax(0, 1fr) auto; gap: 4px; }
  .top10-list .rank-token, .top10-list .rank-number { min-width: 21px; width: 21px; height: 21px; font-size: 9px; }
  .top10-mini-logo, .rank-mini-logo, .top10-list .link-avatar { width: 20px; height: 20px; border-radius: 6px; }
  .top10-list strong { font-size: 10px; }
  .top10-list small { font-size: 7px; }
  .top10-more { min-height: 31px; font-size: 9px; }
  .directory-section, .task-section, .browse-section, .faq, .home-copy, .category-editorial { padding: 20px 17px; }
  .section-heading { margin-bottom: 12px; }
  .other-directory-heading { margin-top: 22px; padding-top: 17px; }
  .section-heading h2 { font-size: 18px; }
  .section-heading > p { display: none; }
  .topic-grid, .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .topic-card { min-height: 120px; padding: 12px; }
  .topic-card h3 { font-size: 14px; }
  .topic-card p { font-size: 10px; }
  .task-grid, .guide-grid { grid-template-columns: 1fr; gap: 8px; }
  .task-card, .guide-grid article { padding: 14px; }
  .preview-section { padding: 11px; }
  .reading-room { grid-template-columns: 1fr; gap: 10px; padding: 22px 18px; }
  .reading-room h2 { font-size: 19px; }
  .reading-room p { font-size: 11px; }
  .faq summary { padding: 12px; font-size: 12px; }
  .faq details p { padding: 0 12px 12px; font-size: 11px; }
  .breadcrumb { margin-bottom: 8px; font-size: 11px; }
  .category-hero, .page-hero, .text-hero { padding: 19px 17px; }
  .category-hero { padding: 13px 16px; }
  .category-hero h1, .page-hero h1, .text-hero h1 { font-size: 22px; }
  .category-hero h1 { font-size: 20px; }
  .category-hero .hero-lead, .page-hero .hero-lead, .category-hero > p { font-size: 12px; }
  .hero-facts { margin-top: 11px; }
  .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
  .category-notice { display: block; margin: 11px 0 14px; padding: 11px 13px; font-size: 11px; }
  .category-notice strong { display: block; margin-bottom: 3px; }
  .category-hero + .full-list { margin-top: 12px; }
  .rank-card { border-radius: 11px; }
  .rank-card-link { min-height: 168px; padding: 36px 8px 9px; }
  .rank-card-top { top: 7px; right: 7px; left: 7px; }
  .rank-number { min-width: 21px; height: 21px; }
  .rank-card-top .save-button { width: 24px; min-width: 24px; height: 24px; min-height: 24px; }
  .rank-logo-box { width: 46px; height: 46px; margin-bottom: 7px; border-radius: 13px; }
  .rank-card h2, .rank-card h3 { font-size: 12px; }
  .rank-description, .rank-card p { min-height: 31px; font-size: 9px; }
  .rank-meta { font-size: 8px; }
  .category-layout, .contact-layout { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .field-note { padding: 18px; }
  .full-list + .field-note { margin-top: 12px; }
  .field-note h2 { font-size: 18px; }
  .field-note p { font-size: 12px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 8px; }
  .editorial-grid section { padding: 14px; }
  .related-box { display: block; padding: 18px; }
  .related-links { margin-top: 10px; }
  .link-row { gap: 9px; padding: 11px; }
  .link-avatar { width: 32px; height: 32px; flex-basis: 32px; }
  .link-copy h3 { font-size: 13px; }
  .link-copy p { font-size: 11px; }
  .save-button { min-width: 36px; min-height: 37px; }
  .compact-page { min-height: 440px; }
  .empty-state { padding: 23px 17px; }
  .empty-state h1, .empty-state h2, .empty-state h3 { font-size: 19px; }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero .index-art { display: none; }
  .prose-layout { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .article-toc { position: static; gap: 3px; }
  .prose-content { padding: 19px 17px; }
  .prose-content h2 { font-size: 18px; }
  .prose-content p { font-size: 12px; }
  .report-panel { padding: 19px 17px; }
  .report-panel h2 { font-size: 19px; }
  .report-panel input, .report-panel select, .report-panel textarea { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; padding-top: 25px; padding-bottom: 20px; }
  .footer-grid nav { justify-content: flex-start; max-width: none; }
  .footer-bottom { display: block; padding-top: 13px; padding-bottom: 18px; font-size: 9px; }
  .footer-bottom span { display: block; }
  .footer-bottom span + span { margin-top: 4px; }
}

@media (max-width: 370px) {
  .shell { width: min(calc(100% - 12px), 1180px); }
  .header-meta-actions { gap: 5px; font-size: 9px; }
  .live-datetime { font-size: 9px; }
  .top10-grid { gap: 5px; }
  .top10-heading { padding-inline: 7px; }
  .top10-list { padding-inline: 4px; }
  .top10-list li > a, .top10-list li > .top10-row { grid-template-columns: 19px 19px minmax(0, 1fr) auto; gap: 3px; }
  .top10-mini-logo, .rank-mini-logo, .top10-list .link-avatar { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
