:root {
  --ink: #071a2b;
  --ink-2: #0b253a;
  --blue: #176bff;
  --blue-2: #0d55db;
  --cyan: #3dd8d0;
  --lime: #c7f43d;
  --ice: #f2f7f8;
  --paper: #ffffff;
  --line: #cbd7dd;
  --muted: #61717c;
  --danger: #e34b4b;
  --shadow: 0 18px 45px rgba(7, 26, 43, .12);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 126px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; word-break: keep-all; }
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
button { color: inherit; }
.site-container { width: min(calc(100% - 40px), var(--max)); 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; }
.skip-link { position: fixed; z-index: 10000; top: 8px; left: 8px; padding: 11px 16px; color: var(--ink); background: var(--lime); transform: translateY(-180%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: sticky; z-index: 300; top: 0; color: #fff; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.15); }
.header-main { height: 74px; display: flex; align-items: center; gap: 28px; }
.brand-logo { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-logo img { width: 46px; height: 46px; }
.brand-logo > span { display: grid; line-height: 1; }
.brand-logo strong { font-size: 25px; letter-spacing: -.07em; }
.brand-logo small { margin-top: 6px; color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.primary-nav { align-self: stretch; display: flex; align-items: stretch; margin-left: auto; }
.primary-nav a { position: relative; display: grid; place-items: center; padding: 0 16px; color: #b8c7cf; font-size: 14px; font-weight: 700; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; right: 16px; bottom: 0; left: 16px; height: 3px; background: var(--lime); }
.header-search { width: 190px; height: 38px; display: flex; border: 1px solid #3c5262; background: rgba(255,255,255,.04); }
.header-search:focus-within { border-color: var(--cyan); }
.header-search input { min-width: 0; flex: 1; padding: 0 4px 0 12px; border: 0; outline: 0; color: #fff; background: transparent; font-size: 13px; }
.header-search input::placeholder { color: #8496a1; }
.header-search button { width: 39px; border: 0; color: var(--lime); background: transparent; font-size: 22px; cursor: pointer; }
.mobile-menu-button, .mobile-search-button { display: none; }
.mobile-search-panel { display: none; }
.system-rail { height: 41px; color: #b7c5cd; background: #04131f; border-top: 1px solid rgba(255,255,255,.07); }
.system-rail > div { height: 100%; display: flex; align-items: center; gap: 16px; }
.system-live { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; color: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.system-live i, .board-heading strong i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(199,244,61,.7); }
.system-rail nav { min-width: 0; flex: 1; height: 100%; display: flex; overflow-x: auto; scrollbar-width: none; }
.system-rail nav::-webkit-scrollbar { display: none; }
.system-rail nav a { flex: 0 0 auto; height: 100%; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-left: 1px solid rgba(255,255,255,.08); font-size: 11px; white-space: nowrap; }
.system-rail nav a:hover, .system-rail nav a.is-active { color: var(--ink); background: var(--lime); }
.system-rail nav b { color: var(--cyan); font-size: 9px; }
.system-rail nav a:hover b, .system-rail nav a.is-active b { color: var(--blue); }
.live-datetime { flex: 0 0 auto; font-variant-numeric: tabular-nums; font-size: 10px; letter-spacing: .04em; }

/* Drawer */
.mobile-drawer { position: fixed; z-index: 1000; inset: 0; pointer-events: none; visibility: hidden; }
.mobile-drawer.is-open { pointer-events: auto; visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(3,14,23,.75); opacity: 0; transition: opacity .2s; }
.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(390px, 90vw); padding: 22px; overflow-y: auto; color: #fff; background: var(--ink); border-right: 1px solid #3d5565; transform: translateX(-100%); transition: transform .24s ease; }
.is-open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #314858; }
.drawer-brand { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.drawer-head button { width: 42px; height: 42px; border: 1px solid #456070; color: #fff; background: transparent; font-size: 27px; cursor: pointer; }
.drawer-pages { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0 28px; border-top: 1px solid #314858; border-left: 1px solid #314858; }
.drawer-pages a { padding: 13px; border-right: 1px solid #314858; border-bottom: 1px solid #314858; font-size: 14px; font-weight: 700; }
.drawer-section-title { display: block; margin-bottom: 10px; color: var(--lime); font-size: 11px; letter-spacing: .08em; }
.drawer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #314858; border: 1px solid #314858; }
.drawer-grid a { min-height: 60px; display: flex; align-items: center; gap: 9px; padding: 10px; background: #0b2335; font-size: 12px; }
.drawer-grid span { width: 28px; color: var(--cyan); text-align: center; font-weight: 900; }

/* Hero */
.king-hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.king-hero::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(61,216,208,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(61,216,208,.18) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.king-hero-grid { position: relative; min-height: 548px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 42px; padding-block: 62px 52px; }
.signal-label { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .17em; }
.signal-label i { width: 30px; height: 2px; background: var(--lime); }
.king-hero-copy h1 { margin: 0; font-size: clamp(54px, 6vw, 86px); line-height: .97; letter-spacing: -.065em; }
.king-hero-copy h1 em { color: var(--lime); font-style: normal; }
.king-hero-copy > p { max-width: 520px; margin: 28px 0; color: #becbd3; font-size: 17px; }
.king-hero-copy > p strong { color: #fff; }
.king-search { width: min(100%, 530px); height: 58px; display: flex; align-items: center; border: 1px solid #507083; background: #0d2739; box-shadow: 7px 7px 0 var(--blue); }
.king-search:focus-within { border-color: var(--cyan); }
.king-search > span { padding-left: 16px; color: var(--cyan); font-size: 25px; }
.king-search input { min-width: 0; flex: 1; height: 100%; padding: 0 14px; border: 0; outline: 0; color: #fff; background: transparent; }
.king-search input::placeholder { color: #889aa5; }
.king-search button { align-self: stretch; padding: 0 22px; border: 0; color: var(--ink); background: var(--lime); font-weight: 900; cursor: pointer; }
.hero-shortcuts { display: flex; gap: 28px; margin-top: 27px; }
.hero-shortcuts a { display: flex; align-items: center; gap: 10px; color: #d3dde2; font-size: 13px; font-weight: 700; }
.hero-shortcuts a span { color: var(--lime); }
.king-hero-art { position: relative; margin: 0; }
.king-hero-art::before, .king-hero-art::after { content: ""; position: absolute; z-index: 2; pointer-events: none; }
.king-hero-art::before { inset: -10px 10px 10px -10px; border-top: 1px solid var(--cyan); border-left: 1px solid var(--cyan); }
.king-hero-art::after { right: -11px; bottom: -11px; width: 80px; height: 80px; border-right: 4px solid var(--lime); border-bottom: 4px solid var(--lime); }
.king-hero-art img { display: block; width: 100%; aspect-ratio: 1.91/1; object-fit: cover; border: 1px solid #436174; box-shadow: var(--shadow); }
.king-hero-art figcaption { position: absolute; z-index: 3; right: 0; bottom: 0; display: grid; padding: 12px 17px; color: var(--ink); background: var(--lime); line-height: 1.25; }
.king-hero-art figcaption span { font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.king-hero-art figcaption b { font-size: 12px; }
.hero-metrics { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #345063; border-right: 1px solid #345063; }
.hero-metrics div { min-height: 84px; display: flex; align-items: center; gap: 13px; padding: 12px 20px; border-left: 1px solid #345063; }
.hero-metrics b { color: var(--lime); font-size: 25px; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.hero-metrics span { color: #a8bac5; font-size: 11px; }

/* Shared board heading */
.board-heading { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 28px; align-items: end; margin-bottom: 30px; }
.board-heading > span { align-self: start; padding-top: 8px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.board-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 49px); line-height: 1.1; letter-spacing: -.055em; }
.board-heading p { max-width: 620px; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.board-heading > small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }

/* Switchboard */
.switchboard { padding: 84px 0; background: var(--ice); border-bottom: 1px solid var(--line); }
.category-switches { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--ink); gap: 1px; border: 1px solid var(--ink); }
.category-switches a { min-height: 94px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 17px; background: #fff; transition: background .16s, color .16s; }
.category-switches a:hover { color: #fff; background: var(--blue); }
.category-switches span { align-self: start; color: var(--blue); font-size: 9px; font-weight: 900; }
.category-switches a:hover span { color: var(--lime); }
.category-switches b { font-size: 14px; }
.category-switches i { color: var(--cyan); font-style: normal; font-size: 20px; font-weight: 900; }
.category-switches a:hover i { color: #fff; }

/* Ranking lanes */
.ranking-board { padding: 90px 0 100px; background: #fff; }
.ranking-lanes { border-top: 2px solid var(--ink); }
.ranking-lane { display: grid; grid-template-columns: 270px minmax(0, 1fr); border-bottom: 1px solid var(--ink); }
.lane-heading { position: relative; min-height: 160px; display: grid; grid-template-columns: 36px 42px 1fr; align-content: center; gap: 7px 10px; padding: 24px 22px 24px 0; border-right: 1px solid var(--ink); }
.lane-index { align-self: start; color: var(--blue); font-size: 10px; font-weight: 900; }
.lane-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); background: var(--lime); font-size: 13px; font-weight: 900; }
.lane-heading > div { min-width: 0; }
.lane-heading h3 { margin: 0 0 5px; font-size: 20px; letter-spacing: -.04em; }
.lane-heading p { margin: 0; display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 11px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lane-heading > a { grid-column: 2 / 4; margin-top: 6px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.lane-heading > a span { padding-left: 4px; }
.lane-links { min-width: 0; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.lane-links li { min-width: 0; border-right: 1px solid var(--line); }
.lane-links li:last-child { border-right: 0; }
.lane-links a, .lane-empty > span { position: relative; height: 100%; min-height: 160px; display: grid; grid-template-columns: 24px 42px minmax(0, 1fr) 16px; align-items: center; gap: 9px; padding: 20px 14px; transition: background .15s; }
.lane-links a:hover { color: #fff; background: var(--blue); }
.lane-links a > b, .lane-empty b { align-self: start; color: var(--blue); font-size: 10px; font-variant-numeric: tabular-nums; }
.lane-links a:hover > b { color: var(--lime); }
.lane-logo { width: 42px; height: 42px; object-fit: contain; padding: 4px; background: #fff; border: 1px solid var(--line); }
.logo-fallback { display: grid; place-items: center; color: #fff; background: var(--blue); font-weight: 900; }
.lane-links a > span { min-width: 0; display: grid; gap: 5px; }
.lane-links strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.lane-links small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.lane-links a:hover small { color: #d5e2ff; }
.lane-links a > i { color: var(--cyan); font-style: normal; }
.lane-links a:hover > i { color: var(--lime); }
.lane-empty { background: repeating-linear-gradient(-45deg,#fafcfc,#fafcfc 7px,#f3f7f8 7px,#f3f7f8 14px); }
.lane-empty > span > i { width: 34px; height: 34px; border: 1px dashed #aebbc1; }
.lane-empty strong { color: #8a989f; }
.lane-empty small { white-space: normal; }

/* Mirror */
.mirror-board { padding: 90px 0; color: #fff; background: var(--ink); }
.board-heading-dark > span { color: var(--cyan); }
.board-heading-dark p { color: #aebdc6; }
.board-heading > strong { display: flex; align-items: center; gap: 8px; color: var(--lime); font-size: 10px; letter-spacing: .1em; }
.board-heading > strong.is-offline { color: #ffb2a8; }
.board-heading > strong.is-offline i { background: #ff7565; box-shadow: 0 0 10px rgba(255,117,101,.5); }
.mirror-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #3c5363; border: 1px solid #3c5363; }
.mirror-grid a { min-height: 108px; display: grid; grid-template-columns: 28px 42px 1fr 18px; align-items: center; gap: 10px; padding: 18px; background: #0d2739; transition: background .16s; }
.mirror-grid a:hover { background: var(--blue); }
.mirror-grid a > span { align-self: start; color: var(--cyan); font-size: 9px; font-weight: 900; }
.mirror-grid a > i { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); background: var(--cyan); font-style: normal; font-weight: 900; }
.mirror-grid a > div { min-width: 0; display: grid; }
.mirror-grid b { font-size: 15px; }
.mirror-grid small { margin-top: 4px; color: #9eb0bb; font-size: 10px; }
.mirror-grid a:hover small { color: #d8e3ff; }
.mirror-grid em { color: var(--lime); font-style: normal; }
.mirror-notice { margin: 17px 0 0; color: #8195a2; font-size: 11px; }

/* Scan flow */
.scan-flow { padding: 94px 0; background: var(--lime); }
.scan-flow header { display: grid; grid-template-columns: 170px 1fr; margin-bottom: 34px; }
.scan-flow header > span { padding-top: 8px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.scan-flow h2 { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.03; letter-spacing: -.06em; }
.flow-steps { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr; align-items: stretch; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.flow-steps article { position: relative; min-height: 190px; padding: 26px 24px; border-left: 1px solid var(--ink); }
.flow-steps article:last-child { border-right: 1px solid var(--ink); }
.flow-steps article > b { color: var(--blue); font-size: 11px; letter-spacing: .16em; }
.flow-steps article > span { position: absolute; top: 19px; right: 22px; color: rgba(7,26,43,.25); font-size: 35px; font-weight: 900; }
.flow-steps h3 { margin: 34px 0 8px; font-size: 20px; letter-spacing: -.04em; }
.flow-steps p { margin: 0; font-size: 13px; }
.flow-steps > i { display: grid; place-items: center; font-style: normal; font-size: 22px; }
.flow-link { width: max-content; display: flex; gap: 28px; margin: 28px 0 0 auto; padding-bottom: 5px; border-bottom: 2px solid var(--ink); font-size: 13px; font-weight: 900; }

/* FAQ */
.king-faq { padding: 90px 0; background: var(--ice); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list summary { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; cursor: pointer; font-size: 15px; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue); font-size: 24px; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 70px 24px 20px; color: var(--muted); font-size: 14px; }

/* Category */
.category-page { background: var(--ice); }
.category-hero { color: #fff; background: var(--ink); border-bottom: 5px solid var(--lime); }
.category-hero > div { padding-block: 48px 54px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; color: #8194a0; font-size: 11px; }
.breadcrumb strong { color: inherit; }
.category-hero .breadcrumb strong { color: #d1dce2; }
.category-title { display: grid; grid-template-columns: 92px 1fr; gap: 28px; align-items: start; }
.category-big-icon { width: 86px; height: 86px; display: grid; place-items: center; color: var(--ink); background: var(--lime); font-size: 26px; font-weight: 900; }
.eyebrow { display: block; margin-bottom: 12px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.category-hero .eyebrow { color: var(--cyan); }
.category-title h1 { max-width: 820px; margin: 0; font-size: clamp(34px,5vw,56px); line-height: 1.08; letter-spacing: -.055em; }
.category-title p { max-width: 780px; margin: 16px 0 0; color: #aebdc6; font-size: 15px; }
.category-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; padding-block: 54px 90px; }
.rank-list { min-width: 0; background: #fff; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.rank-list-head { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--ink); }
.rank-list-head h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.rank-list-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.mirror-label, .ad-badge { padding: 5px 8px; color: var(--ink); background: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .05em; }
.rank-row { min-height: 104px; display: grid; grid-template-columns: 58px minmax(0, 1fr) 170px; align-items: stretch; border-bottom: 1px solid var(--line); }
.rank-row:last-child { border-bottom: 0; }
.rank-number { display: grid; place-items: center; color: var(--blue); font-size: 13px; font-weight: 900; font-variant-numeric: tabular-nums; border-right: 1px solid var(--line); }
.rank-main { min-width: 0; display: flex; align-items: center; gap: 15px; padding: 16px 20px; }
a.rank-main:hover { background: #f1f6ff; }
.rank-logo { flex: 0 0 auto; width: 52px; height: 52px; object-fit: contain; padding: 5px; border: 1px solid var(--line); background: #fff; }
.rank-main > span:last-child { min-width: 0; display: grid; gap: 4px; }
.rank-main strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.rank-main small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rank-meta { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 8px; padding: 14px 18px; border-left: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.rank-meta a { color: var(--blue); font-size: 11px; font-weight: 900; }
.rank-row.is-pending { color: #8b989e; background: repeating-linear-gradient(-45deg,#fff,#fff 7px,#f7f9fa 7px,#f7f9fa 14px); }
.category-aside { display: grid; align-content: start; gap: 18px; }
.category-aside > div { padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); }
.category-aside h2 { margin: 0 0 15px; font-size: 21px; }
.category-aside ul { margin: 0; padding: 0 0 0 18px; color: var(--muted); font-size: 12px; }
.category-aside li + li { margin-top: 9px; }
.category-aside a { display: inline-block; margin-top: 19px; color: var(--blue); font-size: 11px; font-weight: 900; }
.category-disclaimer { border-top-color: var(--lime)!important; }
.category-disclaimer p { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.empty-state { padding: 56px 24px; color: var(--muted); background: #fff; text-align: center; border: 1px dashed var(--line); }
.empty-state strong { display: block; margin-bottom: 6px; color: var(--ink); }
.empty-state p { margin: 0; }

/* Search */
.search-page { min-height: 65vh; padding: 58px 0 90px; background: var(--ice); }
.search-heading { margin-bottom: 38px; }
.search-heading h1 { margin: 0 0 20px; font-size: clamp(36px,5vw,60px); letter-spacing: -.055em; }
.search-large { width: min(100%, 720px); height: 62px; display: flex; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--blue); background: #fff; }
.search-large input { min-width: 0; flex: 1; padding: 0 18px; border: 0; outline: 0; }
.search-large button { width: 100px; border: 0; color: var(--ink); background: var(--lime); font-weight: 900; cursor: pointer; }
.search-heading > p { margin: 22px 0 0; color: var(--muted); }
.search-results { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); border-left: 1px solid var(--line); }
.search-results article { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.search-results a { min-height: 118px; display: grid; grid-template-columns: 54px 1fr 20px; align-items: center; gap: 14px; padding: 18px; }
.search-results a:hover { background: #eef4ff; }
.search-logo { width: 52px; height: 52px; object-fit: contain; padding: 5px; border: 1px solid var(--line); }
.search-results a > span { min-width: 0; }
.search-results small { color: var(--blue); font-size: 9px; font-weight: 900; }
.search-results strong { display: block; margin-top: 2px; }
.search-results p { overflow: hidden; margin: 4px 0 0; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.search-results i { color: var(--blue); font-style: normal; }

/* Editorial / policy pages */
.prose-shell { padding: 48px 0 100px; background: var(--ice); }
.prose-shell > article { width: min(calc(100% - 40px), 900px); margin: auto; background: #fff; border-top: 4px solid var(--blue); box-shadow: 0 12px 40px rgba(7,26,43,.07); }
.article-hero { padding: 58px 64px 52px; border-bottom: 1px solid var(--line); }
.article-hero h1 { margin: 0; font-size: clamp(38px,6vw,62px); line-height: 1.08; letter-spacing: -.06em; }
.article-hero > p { max-width: 690px; margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.article-hero > img { width: 100%; margin-top: 32px; border: 1px solid var(--line); }
.article-hero-dark { color: #fff; background: var(--ink); }
.article-hero-dark > p { color: #b4c2ca; }
.article-date { font-size: 10px!important; }
.prose-shell article > section { padding: 48px 64px; border-bottom: 1px solid var(--line); }
.prose-shell section h2 { margin: 0 0 18px; font-size: 29px; line-height: 1.2; letter-spacing: -.045em; }
.prose-shell section h3 { margin: 26px 0 8px; }
.prose-shell section p { color: #465864; font-size: 15px; }
.principle-list { display: grid; gap: 1px; padding: 0!important; background: var(--ink); }
.principle-list article { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 30px 40px; background: #fff; }
.principle-list b { color: var(--blue); font-size: 28px; }
.principle-list h2 { margin-bottom: 7px!important; font-size: 23px!important; }
.principle-list p { margin: 0; }
.article-note { margin: 28px 0 0; padding: 22px; background: var(--ice); border-left: 4px solid var(--lime); }
.article-note p { margin: 7px 0 0; font-size: 13px!important; }
.guide-step-list { border-top: 2px solid var(--ink); }
.guide-step-list article { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.guide-step-list article > b { color: var(--blue); font-size: 18px; }
.guide-step-list h2 { margin: 0 0 8px!important; font-size: 21px!important; }
.guide-step-list p { margin: 0; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.safety-grid article { min-height: 118px; padding: 22px; background: #fff; }
.safety-grid b { color: var(--danger); }
.safety-grid p { margin: 20px 0 0; }
.response-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; }
.response-section p:first-child { margin-top: 0; }
.updates-list { padding: 0!important; }
.updates-list > article { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 28px 46px; border-bottom: 1px solid var(--line); }
.updates-list time { color: var(--blue); font-size: 12px; font-weight: 900; }
.updates-list span { color: var(--muted); font-size: 9px; font-weight: 900; }
.updates-list h2 { margin: 5px 0!important; font-size: 20px!important; }
.updates-list p { margin: 0; font-size: 13px!important; }
.policy-content h2 { margin-top: 34px!important; font-size: 23px!important; }
.not-found { min-height: 65vh; display: grid; place-items: center; padding: 50px 20px; text-align: center; background: var(--ice); }
.not-found span { color: var(--blue); font-size: 80px; font-weight: 900; }
.not-found h1 { margin: 0; font-size: 34px; }
.not-found p { color: var(--muted); }
.not-found a { display: inline-block; margin-top: 15px; padding: 12px 20px; color: var(--ink); background: var(--lime); font-weight: 900; }

/* Footer */
.site-footer { color: #c7d3d9; background: #04131f; }
.footer-signal { color: var(--ink); background: var(--lime); }
.footer-signal > div { min-height: 44px; display: flex; align-items: center; gap: 14px; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.footer-signal i { width: 30px; height: 1px; background: var(--ink); }
.footer-signal b { margin-left: auto; }
.footer-main { display: grid; grid-template-columns: 1fr 180px 200px; gap: 60px; padding-block: 55px; }
.footer-identity > a { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 25px; }
.footer-identity p { color: #8599a5; font-size: 13px; }
.footer-main nav { display: grid; align-content: start; gap: 8px; }
.footer-main nav strong { margin-bottom: 7px; color: var(--cyan); font-size: 10px; letter-spacing: .1em; }
.footer-main nav a { color: #9db0ba; font-size: 12px; }
.footer-main nav a:hover { color: var(--lime); }
.footer-bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid #2d4351; color: #718590; font-size: 10px; }
.footer-bottom p { margin: 0; }
.scroll-button { position: fixed; z-index: 90; right: 18px; width: 42px; height: 42px; border: 1px solid #476070; color: #fff; background: var(--ink); opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s; cursor: pointer; }
.scroll-top { bottom: 66px; }
.scroll-bottom { bottom: 18px; }
.scroll-button.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 1100px) {
  .primary-nav a { padding-inline: 10px; font-size: 12px; }
  .header-search { width: 150px; }
  .king-hero-grid { grid-template-columns: 1fr 1fr; }
  .ranking-lane { grid-template-columns: 230px minmax(0,1fr); }
  .lane-links { grid-template-columns: 1fr 1fr; }
  .lane-links li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .lane-links a, .lane-empty > span { min-height: 110px; }
  .category-switches { grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 72px; }
  .site-container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { position: sticky; }
  .header-main { height: 64px; gap: 12px; }
  .brand-logo { margin-right: auto; }
  .brand-logo img { width: 40px; height: 40px; }
  .brand-logo strong { font-size: 21px; }
  .primary-nav, .header-search, .system-rail { display: none; }
  .mobile-menu-button { width: 40px; height: 40px; display: grid; align-content: center; gap: 5px; padding: 9px; border: 1px solid #405968; background: transparent; }
  .mobile-menu-button span { display: block; height: 2px; background: #fff; }
  .mobile-search-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #405968; color: var(--lime); background: transparent; font-size: 22px; }
  .mobile-search-panel { padding: 0 14px 14px; }
  .mobile-search-panel.is-open { display: block; }
  .mobile-search-panel form { height: 46px; display: flex; border: 1px solid #496273; }
  .mobile-search-panel input { min-width: 0; flex: 1; padding: 0 13px; border: 0; outline: 0; color: #fff; background: #0d2739; }
  .mobile-search-panel button { width: 70px; border: 0; color: var(--ink); background: var(--lime); font-weight: 900; }
  .king-hero-grid { grid-template-columns: 1fr; padding-block: 45px 42px; }
  .king-hero-copy h1 { font-size: clamp(49px,13vw,72px); }
  .king-hero-art { width: min(100%,680px); }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .hero-metrics div:nth-child(-n+2) { border-bottom: 1px solid #345063; }
  .board-heading { grid-template-columns: 120px 1fr; }
  .board-heading > small, .board-heading > strong { grid-column: 2; justify-self: start; }
  .category-switches { grid-template-columns: repeat(3,1fr); }
  .ranking-lane { grid-template-columns: 1fr; }
  .lane-heading { min-height: 120px; grid-template-columns: 36px 42px 1fr; padding: 18px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .mirror-grid { grid-template-columns: 1fr 1fr; }
  .scan-flow header { grid-template-columns: 120px 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-steps > i { height: 32px; transform: rotate(90deg); }
  .flow-steps article { min-height: 155px; border-right: 1px solid var(--ink); }
  .category-layout { grid-template-columns: 1fr; }
  .category-aside { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 150px 180px; gap: 30px; }
}

@media (max-width: 620px) {
  .site-container { width: min(calc(100% - 20px), var(--max)); }
  .brand-logo small { display: none; }
  .king-hero-grid { gap: 34px; padding-top: 38px; }
  .king-hero-copy > p { font-size: 15px; }
  .king-search { height: auto; display: grid; grid-template-columns: 42px 1fr; box-shadow: 4px 4px 0 var(--blue); }
  .king-search input { height: 54px; padding-left: 2px; }
  .king-search button { grid-column: 1/3; height: 44px; }
  .hero-shortcuts { gap: 18px; flex-wrap: wrap; }
  .hero-metrics div { min-height: 72px; padding: 10px; }
  .hero-metrics b { font-size: 21px; }
  .hero-metrics span { font-size: 9px; }
  .switchboard, .ranking-board, .mirror-board, .scan-flow, .king-faq { padding-block: 62px; }
  .board-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 23px; }
  .board-heading > small, .board-heading > strong { grid-column: 1; }
  .board-heading h2 { font-size: 35px; }
  .category-switches { grid-template-columns: 1fr 1fr; }
  .category-switches a { min-height: 80px; padding: 13px; }
  .ranking-lanes { margin-inline: -10px; }
  .lane-heading { grid-template-columns: 32px 38px 1fr; padding-inline: 14px; }
  .lane-links { grid-template-columns: 1fr; }
  .lane-links li { border-right: 0; border-bottom: 1px solid var(--line)!important; }
  .lane-links li:last-child { border-bottom: 0!important; }
  .lane-links a, .lane-empty > span { min-height: 82px; grid-template-columns: 24px 38px 1fr 15px; padding: 12px 14px; }
  .mirror-grid { grid-template-columns: 1fr; }
  .mirror-grid a { min-height: 88px; }
  .scan-flow header { grid-template-columns: 1fr; gap: 10px; }
  .flow-steps article { padding: 22px 18px; }
  .category-hero > div { padding-block: 34px 40px; }
  .category-title { grid-template-columns: 1fr; gap: 18px; }
  .category-big-icon { width: 64px; height: 64px; }
  .category-layout { padding-block: 30px 62px; }
  .rank-list { margin-inline: -10px; }
  .rank-list-head { padding-inline: 14px; }
  .rank-row { grid-template-columns: 42px minmax(0,1fr); }
  .rank-main { padding: 12px; }
  .rank-logo { width: 44px; height: 44px; }
  .rank-meta { grid-column: 1/3; min-height: 42px; flex-direction: row; align-items: center; justify-content: flex-end; padding: 8px 12px; border-top: 1px solid var(--line); border-left: 0; }
  .category-aside { grid-template-columns: 1fr; }
  .search-results { grid-template-columns: 1fr; }
  .prose-shell { padding-top: 18px; }
  .prose-shell > article { width: calc(100% - 20px); }
  .article-hero, .prose-shell article > section { padding: 34px 22px; }
  .article-hero h1 { font-size: 39px; }
  .principle-list article { grid-template-columns: 44px 1fr; padding: 24px 20px; }
  .safety-grid { grid-template-columns: 1fr; }
  .response-section { grid-template-columns: 1fr; }
  .updates-list > article { grid-template-columns: 1fr; gap: 8px; padding: 24px 22px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-block: 42px; }
  .footer-identity { grid-column: 1/3; }
  .footer-bottom { display: block; padding-block: 18px; }
  .footer-bottom p { margin-top: 6px; }
  .footer-signal i { width: 12px; }
  .footer-signal b { display: none; }
}

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