:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --ink: #141822;
  --sub: #646b76;
  --line: #dedfdc;
  --line-soft: #ecece8;
  --blue: #3157d5;
  --blue-dark: #2445b3;
  --blue-soft: #eef2ff;
  --green: #187c5a;
  --red: #b84a52;
  --lime: #d8ff61;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  background: rgba(247, 247, 244, .93);
  border-bottom: 1px solid rgba(222, 223, 220, .9);
  backdrop-filter: blur(12px);
}
.header-inner { height: 100%; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 760; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--ink); }
.brand-mark i { width: 13px; height: 16px; border: 1.5px solid white; border-radius: 4px; transform: rotate(5deg); }
.brand em { padding: 1px 5px; color: var(--blue); background: var(--blue-soft); border-radius: 5px; font-size: 10px; font-style: normal; letter-spacing: 0; }
.desktop-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; font-size: 13px; font-weight: 650; color: #4b515b; }
.desktop-nav a:hover { color: var(--blue); }
.header-cta { margin-left: 28px; padding: 9px 14px; color: white; background: var(--ink); border-radius: 9px; font-size: 13px; font-weight: 700; }
.header-cta:hover { background: var(--blue); }

.hero { padding: 70px 0 76px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: 74px; align-items: center; }
.kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: #4e5662; font-size: 13px; font-weight: 700; }
.kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-soft); }
h1 { max-width: 650px; margin: 0; font-size: clamp(45px, 5.2vw, 68px); line-height: 1.13; letter-spacing: -.065em; font-weight: 760; }
.hero-copy { max-width: 590px; margin: 24px 0 0; color: #555d68; font-size: 16px; line-height: 1.9; }
.search {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  max-width: 650px;
  min-height: 62px;
  margin-top: 31px;
  padding: 7px 7px 7px 18px;
  background: var(--surface);
  border: 1px solid #d7d8d5;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(20, 24, 34, .06);
}
.search:focus-within { border-color: #a8b6eb; box-shadow: 0 0 0 4px var(--blue-soft); }
.search-icon { width: 17px; height: 17px; border: 2px solid #737b85; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; width: 7px; height: 2px; background: #737b85; position: absolute; right: -5px; bottom: -3px; transform: rotate(45deg); border-radius: 2px; }
.search input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.search input::placeholder { color: #989da4; }
.search button { min-width: 76px; min-height: 46px; border: 0; border-radius: 8px; color: white; background: var(--blue); font-weight: 750; }
.search button:hover { background: var(--blue-dark); }
.popular-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-height: 25px; margin-top: 13px; color: #7b818a; font-size: 12px; }
.popular-searches button { padding: 2px 8px; color: #555c66; background: transparent; border: 1px solid #d9dad7; border-radius: 99px; font-size: 11px; }
.popular-searches button:hover { color: var(--blue); border-color: #aebceb; background: white; }
.search-message { display: none; max-width: 650px; margin: 11px 0 0; padding: 9px 11px; color: var(--blue-dark); background: var(--blue-soft); border-radius: 8px; font-size: 12px; font-weight: 650; }

.weekly-focus { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.focus-head { display: flex; align-items: center; gap: 8px; color: #545b65; font-size: 12px; }
.focus-head time { margin-left: auto; color: #8b9097; }
.source-label { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 7px; color: #41568e; background: #eef2fb; border-radius: 5px; font-size: 10px; font-weight: 750; }
.focus-title-row { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.abstract-thumb { flex: 0 0 auto; width: 48px; height: 61px; border-radius: 7px; border: 2px solid white; box-shadow: 0 2px 7px rgba(21, 25, 34, .14); overflow: hidden; position: relative; }
.abstract-thumb::before, .abstract-thumb::after, .abstract-thumb i { content: ""; position: absolute; border-radius: 50%; }
.abstract-thumb::before { width: 48px; height: 48px; top: 5px; left: -12px; background: rgba(255,255,255,.45); }
.abstract-thumb::after { width: 34px; height: 34px; right: -9px; bottom: -4px; background: rgba(65,53,120,.4); }
.abstract-thumb i { width: 38px; height: 8px; left: 5px; bottom: 10px; background: rgba(255,255,255,.57); transform: rotate(-14deg); }
.abstract-thumb.rose { background: linear-gradient(145deg, #f0b3d2, #dbc5ff 55%, #96d7d0); }
.focus-title-row h2 { margin: 0; font-size: 18px; line-height: 1.35; letter-spacing: -.025em; }
.focus-title-row p { margin: 2px 0 0; color: var(--sub); font-size: 12px; }
.focus-values { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin: 0; }
.focus-values div { padding: 16px 0 13px; }
.focus-values div:nth-child(odd) { padding-right: 12px; border-right: 1px solid var(--line-soft); }
.focus-values div:nth-child(even) { padding-left: 16px; }
.focus-values div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
.focus-values dt { color: var(--sub); font-size: 11px; }
.focus-values dd { margin: 2px 0 0; font-size: 19px; font-variant-numeric: tabular-nums; font-weight: 730; letter-spacing: -.025em; }
.focus-values dd span { margin-left: 2px; font-size: 11px; font-weight: 600; }
.up { color: var(--green); }
.focus-pop { margin-top: 5px; padding: 13px; background: #f4f5f7; border-radius: 9px; }
.focus-pop > div:first-child { display: flex; justify-content: space-between; gap: 12px; color: #6a717a; font-size: 10px; }
.focus-pop strong { color: #424953; }
.pop-track { height: 5px; margin-top: 9px; background: #dfe3e8; border-radius: 99px; overflow: hidden; }
.pop-track i { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.weekly-focus > a { display: flex; justify-content: space-between; margin-top: 16px; color: var(--blue); font-size: 12px; font-weight: 720; }

.section { padding: 78px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.section-label { margin: 0 0 7px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.section-heading h2, .turnaround-intro h2 { margin: 0; font-size: clamp(28px, 3.3vw, 40px); line-height: 1.3; letter-spacing: -.045em; font-weight: 730; }
.section-heading p:not(.section-label), .turnaround-intro > p:not(.section-label) { margin: 8px 0 0; color: var(--sub); font-size: 13px; }
.update-note { display: flex; align-items: center; gap: 7px; color: #777e87; font-size: 11px; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.rank-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; width: min(700px, 100%); padding: 4px; background: #ecece8; border-radius: 10px; }
.rank-tab { min-height: 40px; padding: 7px 12px; color: #626871; background: transparent; border: 0; border-radius: 7px; font-size: 12px; font-weight: 700; }
.rank-tab.active { color: var(--ink); background: white; box-shadow: 0 1px 3px rgba(20, 24, 34, .08); }
.price-band-filter { display: flex; align-items: center; gap: 12px; margin-top: 13px; }
.price-band-filter[hidden] { display: none; }
.price-band-filter > span { color: #7c828a; font-size: 10px; font-weight: 720; white-space: nowrap; }
.price-band-options { display: grid; grid-template-columns: repeat(4, minmax(88px,1fr)); gap: 4px; padding: 3px; background: #f1f1ee; border: 1px solid #e3e3df; border-radius: 8px; }
.price-band-options button { min-height: 32px; padding: 5px 10px; color: #6f757d; background: transparent; border: 0; border-radius: 6px; font-size: 10px; font-weight: 700; }
.price-band-options button.active { color: white; background: var(--ink); }
.rank-table { margin-top: 18px; border-top: 1px solid #cfd1ce; }
.rank-head, .rank-row { display: grid; grid-template-columns: minmax(300px, 1.5fr) minmax(130px,.55fr) minmax(130px,.55fr) minmax(130px,.55fr); align-items: center; }
.rank-head { min-height: 38px; color: #8a8f96; border-bottom: 1px solid var(--line-soft); font-size: 10px; }
.rank-head span:not(:first-child) { text-align: right; }
.rank-row { min-height: 82px; border-bottom: 1px solid var(--line-soft); }
.rank-card { display: grid; grid-template-columns: 30px 42px minmax(0,1fr); gap: 11px; align-items: center; }
.rank-number { color: #a0a4aa; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rank-name { min-width: 0; }
.rank-name strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; letter-spacing: -.015em; }
.rank-name span { display: block; margin-top: 1px; color: #8a8f95; font-size: 10px; }
.rank-value { text-align: right; }
.rank-value b { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }
.rank-value span { display: block; margin-top: 1px; color: #858a91; font-size: 10px; }
.rank-value.metric b { color: var(--green); font-size: 15px; }
.rank-value.metric.down b { color: var(--red); }
.rank-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 15px; }
.rank-footer p { margin: 0; color: #7b8189; font-size: 10px; }
.rank-footer a, .new-checks-head a { color: var(--blue); font-size: 11px; font-weight: 720; white-space: nowrap; }
.rank-footer-copy { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 10px; }
.rank-fee-note { padding: 4px 7px; color: #245446; background: #e4f3ed; border-radius: 5px; font-size: 9px; font-weight: 760; white-space: nowrap; }

.community { background: #f2f3f5; }
.outline-button { flex: 0 0 auto; padding: 10px 14px; color: var(--ink); background: transparent; border: 1px solid #cdd0d4; border-radius: 9px; font-size: 12px; font-weight: 720; }
.outline-button:hover { border-color: var(--blue); color: var(--blue); background: white; }
.featured-check { display: grid; grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr); background: white; border: 1px solid #d9dbde; border-radius: var(--radius); overflow: hidden; }
.check-photo { min-height: 470px; position: relative; overflow: hidden; background: #282d35; }
.check-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-badge { position: absolute; top: 14px; left: 14px; padding: 5px 8px; color: white; background: rgba(18,22,30,.74); border-radius: 6px; font-size: 10px; backdrop-filter: blur(6px); }
.corner-note { position: absolute; right: 16px; top: 16px; width: 80px; height: 80px; padding: 0; color: transparent; background: transparent; border: 1.5px solid rgba(216,255,97,.9); border-left: 0; border-bottom: 0; }
.corner-note::before { content: ""; position: absolute; right: -1px; top: -1px; width: 8px; height: 8px; background: var(--lime); border-radius: 50%; }
.corner-note i { position: absolute; right: 11px; top: 11px; width: 22px; height: 1px; background: var(--lime); transform: rotate(-45deg); transform-origin: right; }
.check-content { padding: 33px 38px; }
.check-meta { display: flex; align-items: center; justify-content: space-between; color: #8a9098; font-size: 10px; }
.check-meta span { padding: 4px 7px; color: #215e4a; background: #e4f5ee; border-radius: 5px; font-weight: 760; }
.check-content h3 { margin: 17px 0 0; font-size: 24px; letter-spacing: -.035em; line-height: 1.35; }
.card-code { margin: 2px 0 0; color: #81868e; font-size: 11px; }
.check-question { max-width: 570px; margin: 21px 0 0; color: #505761; font-size: 13px; line-height: 1.85; }
.photo-quality { display: flex; align-items: center; gap: 6px; margin-top: 17px; color: #858a91; font-size: 10px; }
.photo-quality strong { margin-right: 5px; color: #535a64; font-size: 10px; }
.photo-quality i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.vote-box { margin-top: 25px; padding: 19px; background: #f5f6f8; border-radius: 10px; }
.vote-box > p { margin: 0 0 12px; font-size: 12px; font-weight: 680; }
.vote-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.vote-actions button { min-height: 44px; color: #343a43; background: white; border: 1px solid #d8dadd; border-radius: 8px; font-size: 12px; font-weight: 720; }
.vote-actions button:hover { color: white; background: var(--blue); border-color: var(--blue); }
.vote-box small { display: block; margin-top: 9px; color: #8a9098; font-size: 9px; }
.vote-result { margin-top: 25px; padding: 18px; background: #f5f6f8; border-radius: 10px; }
.result-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.result-top strong { font-size: 20px; }
.result-top span, .result-legend { color: #81868e; font-size: 9px; }
.result-bar { display: flex; height: 7px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: #d9dce1; }
.result-bar i:nth-child(1) { background: var(--blue); }
.result-bar i:nth-child(2) { background: #8291c6; }
.result-bar i:nth-child(3) { background: #c7cad0; }
.result-legend { display: flex; gap: 11px; margin-top: 7px; }
.issue-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.issue-tags span { padding: 4px 7px; color: #59606a; background: white; border: 1px solid #dddfe2; border-radius: 5px; font-size: 9px; }
.new-checks-head { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; }
.new-checks-head h3 { margin: 0; font-size: 16px; }
.new-checks { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.mini-check { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 12px; align-items: stretch; min-height: 124px; padding: 11px; background: white; border: 1px solid #dcdee1; border-radius: 11px; }
.mini-photo { display: flex; align-items: flex-end; justify-content: center; min-height: 100px; padding: 6px; border-radius: 7px; position: relative; overflow: hidden; }
.mini-photo::before, .mini-photo::after { content: ""; position: absolute; border-radius: 50%; }
.mini-photo::before { width: 74px; height: 74px; left: -18px; top: -18px; background: rgba(255,255,255,.35); }
.mini-photo::after { width: 52px; height: 52px; right: -17px; bottom: 10px; background: rgba(22,34,63,.28); }
.mini-photo.lavender { background: linear-gradient(145deg, #aebdf3, #7b6eaa); }
.mini-photo.blue { background: linear-gradient(145deg, #82bfd5, #596eaa); }
.mini-photo.graphite { background: linear-gradient(145deg, #8c929c, #343943); }
.mini-photo span { position: relative; z-index: 1; color: white; font-size: 8px; font-weight: 700; }

/* Real catalog images shared by search, rankings and community */
.focus-card-image {
  display: block;
  flex: 0 0 54px;
  width: 54px;
  height: 74px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 7px;
  background: rgba(255,255,255,.09);
  box-shadow: 0 12px 24px rgba(0,0,0,.22);
}
.focus-card-image img { display: block; width: 100%; height: 100%; border-radius: 4px; object-fit: cover; }
.focus-card-image:focus-visible,
.hero-search-results a:focus-visible,
.rank-row:focus-visible,
.mini-check:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.hero-search-results { display: grid; gap: 6px; width: min(100%, 650px); margin-top: 10px; }
.hero-search-results:empty { display: none; }
.hero-search-results a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 7px 10px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 8px;
  background: rgba(9,18,31,.72);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.hero-search-results a:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.46); background: rgba(17,30,49,.94); }
.hero-search-results img { display: block; width: 38px; height: 50px; border-radius: 3px; object-fit: cover; }
.hero-search-results span { min-width: 0; }
.hero-search-results strong,
.hero-search-results small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-search-results strong { font-size: 12px; }
.hero-search-results small { margin-top: 2px; color: rgba(255,255,255,.65); font-size: 9px; }
.hero-search-results b { color: #fff; font-size: 10px; white-space: nowrap; }

.rank-thumb {
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 56px;
  padding: 2px;
  overflow: hidden;
  border: 1px solid #d7dce3;
  border-radius: 5px;
  background: #edf0f3;
}
.rank-thumb img { display: block; width: 100%; height: 100%; border-radius: 3px; object-fit: cover; }
.rank-empty { margin: 0; padding: 30px 16px; color: #6e7580; text-align: center; border-top: 1px solid #e2e5e9; }

.check-photo {
  display: grid;
  place-items: center;
  padding: 28px;
  background: radial-gradient(circle at 50% 40%, #5f6670 0, #303640 38%, #171c24 100%);
}
.check-photo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 9px;
  filter: drop-shadow(0 24px 26px rgba(0,0,0,.45));
}
.card-code a { color: inherit; text-decoration-color: #aeb3ba; text-underline-offset: 3px; }
.card-code a:hover { color: #151922; }

.mini-check { color: inherit; text-decoration: none; }
.mini-photo.real-card { align-items: center; min-height: 116px; padding: 8px; background: linear-gradient(145deg, #f1f3f6, #d9dee5); }
.mini-photo.real-card::before,
.mini-photo.real-card::after { display: none; }
.mini-photo.real-card img { display: block; width: 100%; height: 100px; object-fit: contain; filter: drop-shadow(0 5px 7px rgba(20,28,40,.18)); }
.mini-photo.real-card span {
  position: absolute;
  right: 5px;
  bottom: 5px;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(20,27,38,.76);
  font-size: 7px;
  letter-spacing: .04em;
}
.mini-status { display: inline-flex; padding: 3px 6px; color: #35579e; background: #ebf0ff; border-radius: 4px; font-size: 8px; font-weight: 700; }
.mini-status.split { color: #865d19; background: #faf0d6; }
.mini-status.result { color: #24624d; background: #e1f3ec; }
.mini-check h4 { margin: 8px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.mini-check p { margin: 4px 0 0; color: #666d77; font-size: 9px; line-height: 1.55; }
.mini-check small { display: block; margin-top: 7px; color: #9a9ea4; font-size: 8px; }

.turnaround { background: var(--ink); border: 0; }
.turnaround-box { display: grid; grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr); gap: 65px; align-items: center; color: white; }
.turnaround-intro .section-label { color: #b9c7ff; }
.turnaround-intro > p:not(.section-label) { color: #b9bec8; line-height: 1.8; }
.turnaround-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.turnaround-meta span { padding: 4px 7px; color: #cbd0d9; border: 1px solid #404652; border-radius: 5px; font-size: 9px; }
.timeline { display: grid; grid-template-columns: repeat(4,1fr); position: relative; }
.timeline-line { position: absolute; left: 11%; right: 11%; top: 15px; height: 1px; background: #4b5260; }
.timeline-line i { display: block; width: 73%; height: 2px; background: var(--lime); }
.timeline-step { position: relative; text-align: center; }
.timeline-step > span { position: relative; z-index: 1; display: grid; place-items: center; width: 31px; height: 31px; margin: 0 auto 15px; color: var(--ink); background: var(--lime); border: 4px solid var(--ink); border-radius: 50%; font-size: 9px; font-weight: 800; }
.timeline-step:last-child > span { color: #969ca6; background: #363c47; }
.timeline-step b { display: block; color: #d8dce2; font-size: 10px; font-weight: 650; }
.timeline-step strong { display: block; margin-top: 4px; font-size: 23px; font-variant-numeric: tabular-nums; }
.timeline-step small { display: block; color: #7f8793; font-size: 8px; }
.timeline-link { grid-column: 2; justify-self: end; color: #d8ff61; font-size: 10px; font-weight: 700; }

.source-section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.source-grid > div { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.source-grid p { margin: 0; color: #747a83; font-size: 9px; line-height: 1.65; }
.market-label { color: #636a72; background: #eceeeb; }
.community-label { color: #765b21; background: #f7efd9; }

.site-footer { padding: 42px 0 105px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.footer-brand { font-size: 14px; }
.footer-brand .brand-mark { width: 24px; height: 24px; }
.footer-inner > div > p { margin: 7px 0 0; color: #868b92; font-size: 9px; }
.disclaimer { max-width: 470px; margin: 0; color: #8b9096; font-size: 9px; text-align: right; }
.mobile-nav { display: none; }

@media (max-width: 880px) {
  .container { width: min(100% - 32px, 660px); }
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; padding: 8px 10px; font-size: 11px; }
  .hero { padding: 47px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 34px; }
  h1 { font-size: clamp(38px, 10.5vw, 52px); line-height: 1.2; letter-spacing: -.055em; }
  .hero-copy { margin-top: 19px; font-size: 14px; line-height: 1.85; }
  .search { min-height: 58px; margin-top: 24px; padding-left: 15px; }
  .search input { font-size: 14px; }
  .weekly-focus { padding: 18px; }
  .section { padding: 58px 0; }
  .section-heading { align-items: flex-start; margin-bottom: 23px; }
  .section-heading h2, .turnaround-intro h2 { font-size: 30px; line-height: 1.4; }
  .rank-head { display: none; }
  .rank-table { border-top: 1px solid var(--line); }
  .rank-row { grid-template-columns: minmax(0,1fr) auto; min-height: 92px; gap: 12px; }
  .rank-row .rank-value:nth-child(2), .rank-row .rank-value:nth-child(3) { display: none; }
  #rank-list.price-mode .rank-row { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 9px; padding: 14px 0; }
  #rank-list.price-mode .rank-card { grid-column: 1 / -1; }
  #rank-list.price-mode .rank-value:nth-child(2) { display: block; text-align: left; }
  #rank-list.price-mode .rank-value.metric { text-align: right; }
  #rank-list.gap-mode .rank-row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px 9px; padding: 15px 0; }
  #rank-list.gap-mode .rank-card { grid-column: 1 / -1; }
  #rank-list.gap-mode .rank-value:nth-child(2), #rank-list.gap-mode .rank-value:nth-child(3) { display: block; text-align: left; }
  #rank-list.gap-mode .rank-value.metric { text-align: right; }
  #rank-list.gap-mode .rank-value b { font-size: 13px; }
  #rank-list.gap-mode .rank-value span { line-height: 1.35; }
  .rank-card { grid-template-columns: 24px 42px minmax(0,1fr); gap: 9px; }
  .rank-value.metric b { font-size: 15px; }
  .featured-check { grid-template-columns: minmax(0,1fr); }
  .check-photo { min-height: 440px; max-height: 560px; }
  .check-content { padding: 27px 24px; }
  .new-checks { grid-template-columns: minmax(0,1fr); }
  .mini-check { grid-template-columns: 90px minmax(0,1fr); }
  .turnaround-box { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .timeline-link { grid-column: 1; }
  .source-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
}

@media (max-width: 520px) {
  .site-header { height: 60px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 25px; height: 25px; }
  .header-cta { display: none; }
  .hero { padding-top: 38px; }
  .kicker { margin-bottom: 14px; font-size: 11px; }
  h1 { font-size: 37px; }
  .hero-copy { font-size: 13px; }
  .search { grid-template-columns: 20px minmax(0,1fr) auto; gap: 7px; padding: 5px 5px 5px 14px; }
  .search button { min-width: 61px; min-height: 44px; font-size: 13px; }
  .popular-searches { gap: 5px; }
  .popular-searches span { flex-basis: 100%; }
  .focus-title-row { margin-top: 15px; }
  .section-heading { display: block; }
  .update-note { margin-top: 12px; }
  .community-heading .outline-button { display: inline-flex; margin-top: 17px; }
  .rank-tabs { grid-template-columns: repeat(2, 1fr); }
  .rank-tab[data-rank="gradeGap"] { grid-column: 1 / -1; }
  .price-band-filter { display: block; margin-top: 12px; }
  .price-band-filter > span { display: block; margin-bottom: 6px; }
  .price-band-options { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .price-band-options button { min-height: 40px; font-size: 11px; }
  .rank-tab { min-height: 44px; }
  .rank-footer { align-items: flex-start; }
  .rank-footer p { max-width: 220px; }
  .check-photo { min-height: 390px; }
  .check-content { padding: 24px 18px; }
  .check-content h3 { font-size: 21px; }
  .check-question { font-size: 12px; }
  .vote-box { padding: 15px; }
  .vote-actions { gap: 5px; }
  .vote-actions button { min-height: 46px; }
  .timeline { grid-template-columns: minmax(0,1fr); gap: 0; padding-left: 5px; }
  .timeline-line { left: 16px; right: auto; top: 16px; bottom: 39px; width: 1px; height: auto; }
  .timeline-line i { width: 2px; height: 72%; }
  .timeline-step { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 14px; text-align: left; padding-bottom: 24px; }
  .timeline-step > span { margin: 0; }
  .timeline-step > div { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; }
  .timeline-step b { font-size: 11px; }
  .timeline-step strong { grid-row: 1 / 3; grid-column: 2; margin: 0; font-size: 21px; }
  .timeline-step small { grid-column: 1; }
  .timeline-link { justify-self: start; }
  .footer-inner { display: block; }
  .disclaimer { margin-top: 18px; text-align: left; }
  .mobile-nav {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    min-height: 66px;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }
  .mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #737983; font-size: 9px; }
  .mobile-nav a:last-child { color: var(--blue); font-weight: 700; }
  .mobile-nav i { width: 17px; height: 17px; position: relative; }
  .nav-home { border: 1.5px solid currentColor; border-radius: 4px; }
  .nav-search { border: 1.5px solid currentColor; border-radius: 50%; }
  .nav-search::after { content: ""; width: 6px; height: 1.5px; background: currentColor; position: absolute; right: -4px; bottom: -1px; transform: rotate(45deg); }
  .nav-rank::before, .nav-rank::after, .nav-rank { border-bottom: 1.5px solid currentColor; }
  .nav-rank::before, .nav-rank::after { content: ""; position: absolute; left: 0; right: 0; }
  .nav-rank::before { top: 2px; }
  .nav-rank::after { top: 8px; }
  .nav-post { border: 1.5px solid currentColor; border-radius: 50%; }
  .nav-post::before, .nav-post::after { content: ""; position: absolute; background: currentColor; left: 50%; top: 50%; transform: translate(-50%,-50%); }
  .nav-post::before { width: 8px; height: 1.5px; }
  .nav-post::after { width: 1.5px; height: 8px; }
}

/* Data coverage and methodology */
.coverage-inline {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: min(100%, 650px);
  margin-top: 16px;
  padding: 11px 13px;
  color: rgba(255,255,255,.78);
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
  font-size: 10px;
}
.coverage-inline strong { color: white; font-size: 11px; }
.coverage-inline b { color: white; font-size: 9px; white-space: nowrap; }
.coverage-inline:hover b { text-decoration: underline; text-underline-offset: 3px; }
.hero .search-message strong,.hero .search-message span,.hero .search-message a { display: block; }
.hero .search-message span { margin-top: 3px; color: rgba(255,255,255,.72); font-weight: 500; }
.hero .search-message a { margin-top: 5px; color: white; text-decoration: underline; text-underline-offset: 3px; }
.box-tools { grid-template-columns: minmax(0,1fr) 230px 160px; }
.set-toolbar { grid-template-columns: minmax(230px,1fr) 145px 155px 230px; }
.set-stat .data-state { margin-top: 5px; font-size: 7px; font-weight: 800; letter-spacing: .05em; }
.set-stat .data-state.ready { color: #14724f; }
.set-stat .data-state.stale { color: #8b6b10; }
.set-stat .data-state.waiting { color: #8b6b10; }
.footer-inner .disclaimer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.data-guide-page { background: #f4f5f7; }
.guide-hero { padding: 74px 0 68px; color: white; background: #062e65; border-bottom: 7px solid #ee0403; }
.guide-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.82fr); gap: 72px; align-items: end; }
.guide-hero .kicker { color: #a9c5ef; }
.guide-hero .kicker span { background: #ee0403; box-shadow: 0 0 0 5px rgba(238,4,3,.18); }
.guide-hero h1 { font-size: clamp(42px,5vw,64px); }
.guide-hero h1 + p { max-width: 550px; margin: 24px 0 0; color: #bfd0e8; }
.guide-live-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; border-top: 1px solid rgba(255,255,255,.35); border-left: 1px solid rgba(255,255,255,.22); }
.guide-live-stats div { min-height: 105px; padding: 19px 21px; border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.guide-live-stats dt { color: #9ab4d6; font-size: 9px; font-weight: 750; letter-spacing: .08em; }
.guide-live-stats dd { margin: 15px 0 0; font-size: 24px; font-weight: 780; letter-spacing: -.04em; }
.guide-live-stats dd b { font-size: 30px; }
.guide-live-stats dd span { margin-left: 5px; color: #b8c9e1; font-size: 9px; letter-spacing: 0; }
.guide-section { padding: 82px 0; background: white; }
.guide-section + .guide-section { border-top: 1px solid #d9dde3; }
.guide-split { display: grid; grid-template-columns: minmax(250px,.68fr) minmax(0,1.32fr); gap: 92px; align-items: start; }
.guide-section-title h2 { margin: 7px 0 0; font-size: 38px; line-height: 1.35; letter-spacing: -.05em; }
.guide-section-title > p:last-child { margin: 18px 0 0; color: #646d78; font-size: 13px; }
.coverage-status-list { border-top: 2px solid #121c2c; }
.coverage-status-list article { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 24px; align-items: start; padding: 22px 0; border-bottom: 1px solid #d8dce2; }
.coverage-code { display: inline-flex; justify-content: center; padding: 4px 7px; border: 1px solid; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.coverage-code.included { color: #08714d; background: #e8f6f0; border-color: #98cdb8; }
.coverage-code.outside { color: #a4262c; background: #fff0f0; border-color: #e5b0b2; }
.coverage-code.waiting { color: #765900; background: #fff8d9; border-color: #decf85; }
.coverage-code.zero { color: #555e69; background: #eef0f3; border-color: #c8cdd4; }
.coverage-status-list h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.coverage-status-list p { margin: 5px 0 0; color: #6d747e; font-size: 11px; }
.guide-blue { color: white; background: #082b59; }
.guide-section-title.horizontal { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.guide-section-title.horizontal > p { max-width: 390px; color: #b8cae3; }
.guide-blue .section-label { color: #ff4c4b; }
.source-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr) auto); align-items: center; margin-top: 43px; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.source-flow div { min-height: 155px; padding: 27px 24px; }
.source-flow div:first-child { padding-left: 0; }
.source-flow span { display: block; color: #ff4c4b; font-size: 9px; font-weight: 850; }
.source-flow strong { display: block; margin-top: 12px; font-size: 20px; }
.source-flow p { margin: 8px 0 0; color: #b6c8e0; font-size: 10px; }
.source-flow > i { color: #6b88ac; font-style: normal; }
.price-coverage-line { display: grid; grid-template-columns: 135px minmax(0,1fr) auto; align-items: center; gap: 25px; padding: 21px 0; }
.price-coverage-line > span { color: #a7bdd9; font-size: 10px; }
.price-coverage-line strong { font-size: 15px; }
.price-coverage-line strong b { color: #ff6261; font-size: 26px; }
.price-coverage-line em { color: #9fb4d0; font-size: 9px; font-style: normal; }
.calculator-layout { display: grid; grid-template-columns: minmax(270px,.7fr) minmax(0,1.3fr); gap: 80px; align-items: start; }
.formula-note { margin-top: 32px; padding: 17px 0; border-top: 1px solid #cbd0d7; border-bottom: 1px solid #cbd0d7; }
.formula-note span { display: block; color: #ee0403; font-size: 8px; font-weight: 800; }
.formula-note code { display: block; margin-top: 7px; font-size: 11px; white-space: normal; }
.grade-calculator { padding: 30px; background: #f5f6f8; border-top: 4px solid #0b376e; }
.calculator-inputs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.calculator-inputs label > span:first-child { display: block; margin-bottom: 6px; color: #555f6b; font-size: 9px; font-weight: 700; }
.input-yen,.input-suffix { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; height: 44px; background: white; border: 1px solid #cfd4db; }
.input-suffix { grid-template-columns: minmax(0,1fr) auto; }
.input-yen i,.input-suffix i { padding: 0 10px; color: #6e7680; font-size: 11px; font-style: normal; }
.calculator-inputs input { min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; color: #0e1b2e; background: transparent; font-size: 16px; font-weight: 760; }
.input-yen:focus-within,.input-suffix:focus-within { border-color: #3157d5; box-shadow: 0 0 0 3px rgba(49,87,213,.12); }
.calculator-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 25px; border-top: 1px solid #cbd0d7; border-bottom: 1px solid #cbd0d7; }
.calculator-results div { padding: 22px 20px 22px 0; }
.calculator-results div + div { padding-left: 22px; border-left: 1px solid #cbd0d7; }
.calculator-results span,.calculator-results small { display: block; color: #69727d; font-size: 9px; }
.calculator-results strong { display: block; margin: 5px 0 2px; color: #067151; font-size: 27px; line-height: 1.25; letter-spacing: -.04em; }
.calculator-results strong.negative { color: #c52d33; }
.calculator-caution { margin: 17px 0 0; color: #777f88; font-size: 8px; }
.guide-next { padding: 54px 0; color: white; background: #111a29; border-top: 1px solid #344156; }
.guide-next .container { display: grid; grid-template-columns: 190px minmax(0,1fr) auto; gap: 45px; align-items: center; }
.guide-next h2 { margin: 4px 0 0; font-size: 26px; }
.guide-next ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.guide-next li { min-height: 65px; padding: 0 22px; border-left: 1px solid #3a4557; }
.guide-next li b,.guide-next li span { display: block; }
.guide-next li b { color: #ff4c4b; font-size: 9px; }
.guide-next li span { margin-top: 8px; color: #c2ccda; font-size: 10px; }
.guide-next a { color: white; font-size: 10px; font-weight: 750; white-space: nowrap; }

@media (max-width: 980px) {
  .box-tools { grid-template-columns: minmax(0,1fr) 200px 145px; }
  .set-toolbar { grid-template-columns: minmax(0,1fr) 1fr; }
  .guide-hero-grid { grid-template-columns: minmax(0,1fr); gap: 45px; }
  .guide-split,.calculator-layout { grid-template-columns: minmax(0,1fr); gap: 45px; }
  .guide-next .container { grid-template-columns: 150px minmax(0,1fr); }
  .guide-next a { grid-column: 2; }
}

@media (max-width: 760px) {
  .coverage-inline { grid-template-columns: auto minmax(0,1fr); }
  .coverage-inline > span:nth-of-type(2),.coverage-inline b { grid-column: 2; }
  .box-tools,.set-toolbar { grid-template-columns: minmax(0,1fr); }
  .guide-hero { padding: 52px 0 48px; }
  .guide-live-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-section { padding: 55px 0; }
  .guide-section-title h2 { font-size: 31px; }
  .guide-section-title.horizontal { display: block; }
  .source-flow { grid-template-columns: minmax(0,1fr); }
  .source-flow div,.source-flow div:first-child { min-height: 0; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .source-flow > i { display: none; }
  .price-coverage-line { grid-template-columns: minmax(0,1fr); gap: 5px; }
  .calculator-inputs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-next .container { grid-template-columns: minmax(0,1fr); }
  .guide-next ol { grid-template-columns: minmax(0,1fr); }
  .guide-next li { min-height: 0; padding: 15px 0; border-top: 1px solid #3a4557; border-left: 0; }
  .guide-next a { grid-column: auto; }
}

@media (max-width: 520px) {
  .coverage-inline { font-size: 9px; }
  .coverage-inline strong { font-size: 10px; }
  .guide-hero-grid { gap: 34px; }
  .guide-hero h1 { font-size: 39px; line-height: 1.25; }
  .guide-live-stats div { min-height: 90px; padding: 15px; }
  .guide-live-stats dd,.guide-live-stats dd b { font-size: 21px; }
  .guide-split { gap: 32px; }
  .coverage-status-list article { grid-template-columns: 66px minmax(0,1fr); gap: 14px; }
  .grade-calculator { padding: 21px 16px; }
  .calculator-inputs { grid-template-columns: minmax(0,1fr); }
  .calculator-results { grid-template-columns: minmax(0,1fr); }
  .calculator-results div + div { padding-left: 0; border-top: 1px solid #cbd0d7; border-left: 0; }
}

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

/* Sealed BOX market */
.desktop-nav a.current { color: var(--blue); }
.box-preview { background: #eef0eb; }
.box-preview-heading { margin-bottom: 27px; }
.box-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.box-preview-card { min-width: 0; overflow: hidden; background: white; border: 1px solid #d7dad3; border-radius: var(--radius); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.box-preview-card:hover { transform: translateY(-2px); border-color: #b6c2a6; box-shadow: 0 12px 26px rgba(20,24,34,.07); }
.box-preview-image { display: grid; place-items: center; height: 157px; padding: 17px 22px; background: linear-gradient(145deg,#f9faf7,#eef1eb); border-bottom: 1px solid #e4e7e0; }
.box-preview-image img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(31,37,43,.12)); }
.box-preview-body { padding: 18px 19px 17px; }
.box-kind { color: #62705a; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.box-preview-body h3 { min-height: 49px; margin: 6px 0 0; font-size: 15px; line-height: 1.55; letter-spacing: -.02em; }
.box-preview-price { display: flex; align-items: baseline; gap: 8px; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }
.box-preview-price small { color: #858b83; font-size: 9px; }
.box-preview-price strong { margin-right: auto; font-size: 21px; line-height: 1; }
.box-preview-price em { color: var(--green); font-size: 10px; font-style: normal; font-weight: 760; }
.box-preview-price em.down { color: var(--red); }
.box-preview-price em.flat { color: #777d76; }
.box-preview-body > p { margin: 10px 0 0; color: #878c85; font-size: 9px; }
.box-preview-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; color: #70776e; font-size: 10px; }
.box-preview-foot p { display: flex; align-items: center; gap: 7px; margin: 0; }
.box-preview-foot a { color: var(--blue); font-weight: 750; white-space: nowrap; }

.box-page-hero { padding: 65px 0 57px; background: #eef0eb; border-bottom: 1px solid #dadcd6; }
.box-page-hero-grid { display: grid; grid-template-columns: minmax(0,1.13fr) minmax(330px,.87fr); gap: 78px; align-items: end; }
.box-page-hero h1 { max-width: 720px; font-size: clamp(42px,5vw,64px); }
.box-page-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; background: rgba(255,255,255,.78); border: 1px solid #d5d9d0; border-radius: var(--radius); }
.box-page-stats div { min-width: 0; padding: 18px 20px; }
.box-page-stats div:first-child { border-right: 1px solid #e0e3dc; border-bottom: 1px solid #e0e3dc; }
.box-page-stats div:nth-child(2) { border-bottom: 1px solid #e0e3dc; }
.box-page-stats div:last-child { grid-column: 1 / -1; }
.box-page-stats dt { color: #727970; font-size: 9px; }
.box-page-stats dd { margin: 3px 0 0; font-size: 25px; font-weight: 760; line-height: 1.2; font-variant-numeric: tabular-nums; }
.box-page-stats dd span { margin-left: 4px; color: #697168; font-size: 9px; font-weight: 650; }
.box-page-stats .date-value { font-size: 18px; letter-spacing: .04em; }

.box-catalog { padding-top: 46px; }
.box-tools { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 12px; padding: 13px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.box-search-control { display: grid; grid-template-columns: 24px minmax(0,1fr); align-items: center; gap: 8px; min-height: 49px; padding: 0 15px; background: #f6f7f4; border: 1px solid #e0e2dd; border-radius: 8px; }
.box-search-control:focus-within { border-color: #a8b6eb; box-shadow: 0 0 0 3px var(--blue-soft); }
.box-search-control input { min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.box-sort-control { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 10px; min-height: 49px; padding: 0 12px; border: 1px solid #dfe1dd; border-radius: 8px; }
.box-sort-control span { color: #818780; font-size: 9px; }
.box-sort-control select { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #31363e; font-size: 12px; font-weight: 650; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 42px; }
.catalog-heading h2 { margin: 5px 0 0; font-size: 31px; letter-spacing: -.04em; }
.catalog-heading > p { margin: 0; color: #7e847d; font-size: 10px; }
.box-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-top: 22px; }
.box-product-card { display: grid; grid-template-columns: 196px minmax(0,1fr); min-height: 316px; overflow: hidden; background: white; border: 1px solid #dcded9; border-radius: 12px; }
.box-product-image { display: grid; place-items: center; min-width: 0; padding: 24px 18px; position: relative; background: linear-gradient(150deg,#f8faf5,#ecefe8); border-right: 1px solid #e4e6e1; }
.box-product-image img { display: block; width: 100%; max-height: 190px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(27,32,39,.13)); transition: transform .18s ease; }
.box-product-card:hover .box-product-image img { transform: scale(1.025); }
.box-product-image > span { position: absolute; top: 12px; left: 12px; padding: 3px 6px; color: #596450; background: rgba(255,255,255,.88); border: 1px solid #d8ddd2; border-radius: 5px; font-size: 8px; font-weight: 800; }
.box-product-content { min-width: 0; display: flex; flex-direction: column; padding: 20px; }
.box-release { margin: 0; color: #80867e; font-size: 9px; }
.box-product-content h3 { min-height: 48px; margin: 7px 0 0; font-size: 15px; line-height: 1.55; letter-spacing: -.02em; }
.box-product-price { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: end; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.box-product-price small { display: block; color: #858b84; font-size: 8px; }
.box-product-price strong { display: block; margin-top: 2px; font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.box-change { text-align: right; }
.box-change strong { color: #777d77; font-size: 14px; }
.box-change.up strong { color: var(--green); }
.box-change.down strong { color: var(--red); }
.box-change span { display: block; color: #959a94; font-size: 8px; }
.box-history-state { display: flex; align-items: center; gap: 7px; margin-top: 13px; padding: 8px 9px; color: #7c827b; background: #f5f6f3; border-radius: 6px; font-size: 8px; }
.box-history-state i { width: 29px; height: 10px; position: relative; border-bottom: 1px solid #a8aea6; }
.box-history-state i::before { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 7px; border-top: 1.5px solid #7e8f71; transform: skewY(-12deg); }
.box-product-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 15px; color: #929791; font-size: 8px; }
.box-product-actions a { color: var(--blue); font-size: 9px; font-weight: 720; white-space: nowrap; }
.empty-box-result { margin: 28px 0 0; padding: 28px; color: #717870; background: white; border: 1px dashed #cfd3cb; border-radius: 11px; text-align: center; font-size: 12px; }
.box-data-note { display: grid; grid-template-columns: 245px minmax(0,1fr) auto; gap: 26px; align-items: center; margin-top: 42px; padding: 25px 27px; background: var(--ink); border-radius: 13px; color: white; }
.box-data-note h2 { margin: 8px 0 0; font-size: 17px; }
.box-data-note p { margin: 0; color: #b8bdc6; font-size: 10px; line-height: 1.8; }
.box-data-note > a { color: var(--lime); font-size: 10px; font-weight: 750; white-space: nowrap; }

@media (max-width: 980px) {
  .box-page-hero-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .box-page-stats { max-width: 560px; }
  .box-grid { grid-template-columns: minmax(0,1fr); }
  .box-product-card { grid-template-columns: 220px minmax(0,1fr); }
  .box-data-note { grid-template-columns: minmax(0,1fr) auto; }
  .box-data-note > p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 700px) {
  .box-preview-grid { grid-template-columns: minmax(0,1fr); }
  .box-preview-card { display: grid; grid-template-columns: 42% minmax(0,1fr); }
  .box-preview-image { height: auto; min-height: 190px; border-right: 1px solid #e4e7e0; border-bottom: 0; }
  .box-preview-body h3 { min-height: auto; }
  .box-page-hero { padding: 43px 0 46px; }
  .box-page-hero h1 { font-size: 39px; }
  .box-tools { grid-template-columns: minmax(0,1fr); }
  .catalog-heading { margin-top: 34px; }
  .box-product-card { grid-template-columns: minmax(0,1fr); }
  .box-product-image { min-height: 235px; border-right: 0; border-bottom: 1px solid #e4e6e1; }
  .box-product-image img { max-height: 205px; }
  .box-product-content h3 { min-height: auto; }
  .box-product-actions { margin-top: 18px; }
}

@media (max-width: 520px) {
  .box-preview-card { grid-template-columns: minmax(0,1fr); }
  .box-preview-image { min-height: 170px; border-right: 0; border-bottom: 1px solid #e4e7e0; }
  .box-preview-foot { align-items: flex-start; }
  .box-preview-foot p { max-width: 220px; }
  .box-page-hero h1 { font-size: 36px; line-height: 1.23; }
  .box-page-stats div { padding: 15px; }
  .box-page-stats dd { font-size: 21px; }
  .box-catalog { padding-top: 31px; }
  .box-tools { padding: 9px; }
  .catalog-heading h2 { font-size: 27px; }
  .box-product-image { min-height: 215px; }
  .box-product-content { padding: 18px; }
  .box-product-price { grid-template-columns: minmax(0,1fr) auto; }
  .box-data-note { grid-template-columns: minmax(0,1fr); gap: 15px; padding: 22px; }
  .box-data-note > p { grid-column: auto; grid-row: auto; }
  .mobile-nav a.active { color: var(--blue); font-weight: 700; }
  .nav-box { border: 1.5px solid currentColor; border-radius: 3px; }
  .nav-box::before { content: ""; position: absolute; left: 3px; right: 3px; top: 4px; height: 2px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
}

/* 2026 premium grading identity */
:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #09162d;
  --sub: #5c6878;
  --line: #d5dbe4;
  --line-soft: #e7ebf1;
  --blue: #174bb6;
  --blue-dark: #0d347f;
  --blue-soft: #eaf0ff;
  --red: #d72832;
  --lime: #ef3340;
  --radius: 10px;
}

body { background: var(--bg); }
.site-header { background: rgba(5, 17, 39, .96); border-bottom-color: rgba(126,151,194,.2); box-shadow: 0 9px 28px rgba(2,9,22,.18); }
.site-header .brand { color: white; }
.brand-mark { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.72); border-radius: 6px; background: linear-gradient(180deg,#d92835 0 42%,#e6eaf1 42% 56%,#174bb6 56% 100%); box-shadow: inset 0 0 0 2px rgba(4,13,30,.25); }
.brand-mark i { width: 13px; height: 17px; border-color: rgba(255,255,255,.92); border-radius: 2px; transform: none; box-shadow: 0 0 10px rgba(255,255,255,.35); }
.brand em { color: #ffdce0; background: rgba(215,40,50,.16); border: 1px solid rgba(255,111,119,.35); border-radius: 3px; font-size: 8px; letter-spacing: .06em; }
.desktop-nav { color: #c7d1e3; }
.desktop-nav a:hover, .desktop-nav a.current { color: white; }
.header-cta { background: var(--red); border-radius: 6px; box-shadow: 0 6px 18px rgba(215,40,50,.22); }
.header-cta:hover { background: #f03b45; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 650px; padding: 82px 0 86px; color: white; background: #061329 url("./assets/grading-slab-hero.png") center / cover no-repeat; border-bottom: 3px solid var(--red); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(3,12,29,.98) 0%,rgba(4,15,35,.94) 42%,rgba(5,15,34,.42) 72%,rgba(3,10,25,.36) 100%), linear-gradient(180deg,rgba(19,64,146,.16),rgba(0,0,0,.22)); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg,var(--red),#f07b83 23%,transparent 58%); }
.hero-grid { grid-template-columns: minmax(0,1.03fr) minmax(390px,.78fr); gap: 58px; }
.hero-main { position: relative; }
.kicker { color: #dce6f7; font-size: 11px; letter-spacing: .05em; }
.kicker span { background: var(--red); box-shadow: 0 0 0 5px rgba(215,40,50,.18),0 0 18px rgba(215,40,50,.55); }
.hero h1 { max-width: 700px; color: white; text-shadow: 0 12px 42px rgba(0,0,0,.34); }
.hero-copy { max-width: 650px; color: #c4d0e2; font-size: 15px; }
.hero-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 650px; margin-top: 25px; border-top: 1px solid rgba(164,184,218,.25); border-bottom: 1px solid rgba(164,184,218,.25); }
.hero-features span { min-width: 0; padding: 10px 10px 10px 0; color: #dfe7f4; font-size: 10px; font-weight: 700; white-space: nowrap; }
.hero-features span + span { padding-left: 13px; border-left: 1px solid rgba(164,184,218,.22); }
.hero-features b { margin-right: 7px; color: #ff6570; font-size: 9px; letter-spacing: .08em; }
.hero .search { max-width: 650px; margin-top: 25px; border: 1px solid rgba(189,205,232,.48); border-radius: 7px; box-shadow: 0 20px 46px rgba(0,0,0,.27),0 0 0 1px rgba(255,255,255,.08); }
.hero .search:focus-within { border-color: #7da2ef; box-shadow: 0 0 0 4px rgba(70,119,220,.25),0 20px 46px rgba(0,0,0,.27); }
.hero .search button { background: linear-gradient(135deg,#1e59cb,#133f9b); border-radius: 5px; }
.hero .popular-searches { color: #9cabc2; }
.hero .popular-searches button { color: #dbe4f2; border-color: rgba(183,199,225,.32); }
.hero .popular-searches button:hover { color: white; border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.08); }
.hero .search-message { color: #e8efff; background: rgba(23,75,182,.4); border: 1px solid rgba(107,148,231,.35); }

.weekly-focus { position: relative; overflow: hidden; padding: 24px; color: white; background: linear-gradient(145deg,rgba(6,20,47,.9),rgba(12,36,76,.77)); border: 1px solid rgba(160,184,224,.36); border-radius: 9px; box-shadow: 0 30px 70px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.09); backdrop-filter: blur(14px); }
.weekly-focus::before { content: ""; position: absolute; top: 0; left: 0; width: 38%; height: 3px; background: var(--red); }
.focus-head { color: #d1daea; }
.focus-head time { color: #92a1b8; }
.weekly-focus .source-label { color: #ffdce0; background: rgba(215,40,50,.16); border: 1px solid rgba(255,112,121,.26); }
.weekly-focus .focus-title-row { border-color: rgba(177,195,224,.18); }
.weekly-focus .focus-title-row p, .weekly-focus .focus-values dt { color: #9eacc1; }
.weekly-focus .focus-values div:nth-child(odd), .weekly-focus .focus-values div:nth-child(-n+2) { border-color: rgba(177,195,224,.16); }
.weekly-focus .focus-values dd { color: white; }
.weekly-focus .focus-values dd.up { color: #6fdfb2; }
.weekly-focus .focus-pop { background: rgba(0,7,20,.36); border: 1px solid rgba(154,176,213,.15); }
.weekly-focus .focus-pop > div:first-child { color: #aab6c9; }
.weekly-focus .focus-pop strong { color: white; }
.weekly-focus .pop-track { background: rgba(255,255,255,.12); }
.weekly-focus .pop-track i { background: linear-gradient(90deg,#1e58c8,#ef3340); }
.weekly-focus > a { color: #9bbcff; }

.section { border-top-color: var(--line); }
.section-label { display: flex; align-items: center; gap: 8px; color: var(--red); }
.section-label::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.market { background: white; }
.rank-tabs { background: #e9edf3; border: 1px solid #d9dfe8; border-radius: 7px; }
.rank-tab { border-radius: 4px; }
.rank-tab.active { color: white; background: linear-gradient(135deg,#122b57,#0a1b39); box-shadow: inset 0 -2px 0 var(--red),0 3px 8px rgba(7,23,51,.16); }
.price-band-options { background: #edf0f5; border-color: #dbe0e8; border-radius: 6px; }
.price-band-options button { border-radius: 4px; }
.price-band-options button.active { background: var(--red); }
.rank-table { border-top-color: #c6cfdd; }
.rank-row { transition: background .15s ease,transform .15s ease; }
.rank-row:hover { background: #f6f8fc; transform: translateX(3px); }
.rank-number { color: #78869b; }
.abstract-thumb { border: 3px solid #e9edf5; border-radius: 4px; box-shadow: 0 3px 10px rgba(7,19,43,.22),inset 0 0 0 1px rgba(255,255,255,.8); }
.rank-value.metric.down b { color: var(--red); }
.rank-footer a,.new-checks-head a { color: var(--blue); }

.box-preview { background: linear-gradient(180deg,#edf1f7,#e8edf5); }
.box-preview-card { border-radius: 8px; border-color: #cad3e1; box-shadow: 0 12px 30px rgba(8,26,60,.06); }
.box-preview-card:hover { border-color: #7f99c2; box-shadow: 0 18px 36px rgba(8,26,60,.12); }
.box-preview-image { background: linear-gradient(145deg,#f8fbff,#e3eaf4); border-color: #d7deea; }
.box-kind { color: var(--blue); }

.community { color: white; background: radial-gradient(circle at 15% 0,rgba(31,77,164,.35),transparent 36%),linear-gradient(145deg,#07152d,#0a2044); border-top: 3px solid var(--red); }
.community .section-heading h2,.community .new-checks-head h3 { color: white; }
.community .section-heading p:not(.section-label) { color: #aebbd0; }
.community .outline-button { color: white; border-color: rgba(185,202,230,.42); }
.community .outline-button:hover { color: white; border-color: #ff7880; background: rgba(215,40,50,.16); }
.community .featured-check { color: var(--ink); border-color: rgba(155,178,216,.45); border-radius: 8px; box-shadow: 0 28px 66px rgba(0,0,0,.28); }
.community .new-checks-head a { color: #a9c2ff; }
.community .mini-check { color: var(--ink); border-radius: 7px; border-color: rgba(174,192,221,.4); }
.corner-note { border-color: rgba(255,74,84,.92); }
.corner-note::before,.corner-note i { background: var(--red); }
.vote-actions button:hover { background: var(--red); border-color: var(--red); }

.turnaround { background: radial-gradient(circle at 80% 0,rgba(23,75,182,.3),transparent 38%),#040b18; border-top: 1px solid #1d3156; }
.turnaround-intro .section-label { color: #ff7880; }
.timeline-line i,.timeline-step > span { background: var(--red); }
.timeline-step > span { color: white; border-color: #040b18; }
.timeline-link { color: #90b4ff; }

.source-section { background: white; }
.site-footer { color: white; background: #061126; }
.footer-inner > div > p,.disclaimer { color: #9daabd; }
.disclaimer strong { color: #ffd3d6; }
.site-footer .brand { color: white; }

@media (max-width: 880px) {
  .hero { min-height: auto; padding: 58px 0 62px; background-position: 66% center; }
  .hero::before { background: linear-gradient(90deg,rgba(3,12,29,.98),rgba(4,15,35,.88)),linear-gradient(180deg,rgba(19,64,146,.12),rgba(0,0,0,.3)); }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 38px; }
  .weekly-focus { max-width: 660px; }
}

@media (max-width: 520px) {
  .site-header { box-shadow: 0 6px 20px rgba(2,9,22,.22); }
  .hero { padding: 43px 0 52px; background-position: 72% center; }
  .hero h1 { font-size: 39px; line-height: 1.18; }
  .hero-copy { font-size: 13px; line-height: 1.8; }
  .hero-features { grid-template-columns: minmax(0,1fr); margin-top: 20px; }
  .hero-features span { padding: 7px 0; }
  .hero-features span + span { padding-left: 0; border-top: 1px solid rgba(164,184,218,.18); border-left: 0; }
  .hero .search { margin-top: 22px; }
  .weekly-focus { padding: 18px; }
  .rank-tab.active { box-shadow: inset 0 -2px 0 var(--red),0 3px 8px rgba(7,23,51,.13); }
  .mobile-nav { background: rgba(5,17,39,.97); border-top-color: rgba(126,151,194,.28); }
  .mobile-nav a { color: #9eabc0; }
  .mobile-nav a:last-child,.mobile-nav a.active { color: #ff6b74; }
}

/* Palette sampled from the current PSA Japan site: red / black / white / #f5f5f5 */
:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --ink: #111111;
  --sub: #48494a;
  --line: #d8d8d8;
  --line-soft: #eeeeee;
  --blue: #ee0403;
  --blue-dark: #c90000;
  --blue-soft: #fff0f0;
  --red: #ee0403;
  --lime: #ee0403;
}

.site-header { background: rgba(238,4,3,.98); border-bottom-color: rgba(0,0,0,.12); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.site-header .brand,.desktop-nav { color: white; }
.brand-mark { border-color: white; background: white; box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); }
.brand-mark::before { content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 3px; background: #ee0403; transform: translateY(-50%); }
.brand-mark i { position: relative; z-index: 1; border-color: #111; box-shadow: none; }
.brand em { color: white; background: rgba(17,17,17,.22); border-color: rgba(255,255,255,.4); }
.desktop-nav a:hover,.desktop-nav a.current { color: white; text-decoration: underline; text-underline-offset: 4px; }
.header-cta { color: #111; background: white; box-shadow: 0 5px 14px rgba(0,0,0,.18); }
.header-cta:hover { color: white; background: #111; }

.hero { background-color: #111; border-bottom-color: #ee0403; }
.hero::before { background: linear-gradient(90deg,rgba(8,8,8,.99) 0%,rgba(10,10,10,.96) 45%,rgba(10,10,10,.62) 72%,rgba(8,8,8,.46) 100%),linear-gradient(180deg,rgba(238,4,3,.08),rgba(0,0,0,.42)); }
.kicker span { background: #ee0403; box-shadow: 0 0 0 5px rgba(238,4,3,.18),0 0 18px rgba(238,4,3,.55); }
.hero-copy { color: #d1d1d1; }
.hero-features { border-color: rgba(255,255,255,.22); }
.hero-features span { color: #f1f1f1; }
.hero-features span + span { border-color: rgba(255,255,255,.18); }
.hero-features b { color: #ff4b4a; }
.hero .search button { background: #ee0403; }
.hero .search button:hover { background: #c90000; }
.hero .search:focus-within { border-color: #ee0403; box-shadow: 0 0 0 4px rgba(238,4,3,.22),0 20px 46px rgba(0,0,0,.28); }
.hero .search-message { color: white; background: rgba(238,4,3,.28); border-color: rgba(255,95,94,.45); }

.weekly-focus { background: linear-gradient(145deg,rgba(17,17,17,.94),rgba(34,34,34,.88)); border-color: rgba(255,255,255,.28); }
.weekly-focus::before { background: #ee0403; }
.weekly-focus .source-label { color: white; background: #ee0403; border-color: #ee0403; }
.weekly-focus .pop-track i { background: linear-gradient(90deg,#ee0403,#ff7776); }
.weekly-focus > a { color: #ff7776; }

.market { background: white; }
.section-label { color: #ee0403; }
.section-label::before { background: #ee0403; }
.rank-tabs { background: #f5f5f5; border-color: #dedede; }
.rank-tab.active { background: #ee0403; box-shadow: inset 0 -2px 0 #111,0 3px 8px rgba(0,0,0,.16); }
.price-band-options { background: #f5f5f5; border-color: #dedede; }
.price-band-options button.active { background: #111; }
.rank-row:hover { background: #fafafa; }
.rank-footer a,.new-checks-head a { color: #ee0403; }

.box-preview { background: #f5f5f5; }
.box-preview-card { border-color: #d6d6d6; box-shadow: 0 12px 30px rgba(0,0,0,.06); }
.box-preview-card:hover { border-color: #ee0403; box-shadow: 0 18px 36px rgba(0,0,0,.11); }
.box-preview-image { background: linear-gradient(145deg,#fff,#eeeeee); border-color: #dedede; }
.box-kind { color: #ee0403; }

.community { background: radial-gradient(circle at 15% 0,rgba(238,4,3,.18),transparent 34%),#111111; border-top-color: #ee0403; }
.community .outline-button:hover { border-color: #ee0403; background: rgba(238,4,3,.16); }
.community .new-checks-head a { color: #ff7776; }
.turnaround { background: radial-gradient(circle at 80% 0,rgba(238,4,3,.15),transparent 38%),#0f0f0f; border-top-color: #333; }
.turnaround-intro .section-label,.timeline-link { color: #ff7776; }
.timeline-line i,.timeline-step > span { background: #ee0403; }
.source-section { background: white; }
.site-footer { background: #111111; }

@media (max-width: 880px) {
  .hero::before { background: linear-gradient(90deg,rgba(8,8,8,.98),rgba(12,12,12,.88)),linear-gradient(180deg,rgba(238,4,3,.07),rgba(0,0,0,.36)); }
}

@media (max-width: 520px) {
  .site-header { box-shadow: 0 5px 16px rgba(0,0,0,.2); }
  .mobile-nav { background: rgba(17,17,17,.98); border-top-color: #3b3b3b; }
  .mobile-nav a { color: #bdbdbd; }
  .mobile-nav a:last-child,.mobile-nav a.active { color: #ff4b4a; }
}

/* BOX to graded-card discovery */
.box-page-hero { background: #f5f5f5; border-bottom-color: #d8d8d8; }
.box-page-hero .kicker,.box-page-hero .hero-copy { color: #48494a; }
.box-page-hero .kicker span { background: #ee0403; }
.box-card-purpose { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.box-card-purpose strong { color: #111; font-size: 12px; }
.box-card-purpose span { color: #ee0403; font-size: 9px; font-weight: 750; text-align: right; }
.box-product-actions { color: #8a8a8a; }
.box-product-actions .box-source-link { color: #777; font-size: 8px; font-weight: 650; }
.box-product-actions .set-card-link { padding: 7px 9px; color: #111; background: #f1f1f1; border-radius: 4px; font-size: 9px; font-weight: 760; }
.box-product-actions.ready .set-card-link { color: white; background: #ee0403; }
.box-page-stats dd b { font: inherit; }
.box-product-image.card-cover { background: radial-gradient(circle at 50% 35%,#fff 0,#f3f5f7 44%,#e8ebef 100%); }
.box-product-image.card-cover img { width: auto; max-width: 100%; max-height: 225px; }
.box-psa-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.box-psa-summary div { min-width: 0; }
.box-psa-summary small { display: block; min-height: 24px; color: #858b84; font-size: 8px; line-height: 1.4; }
.box-psa-summary strong { display: block; margin-top: 3px; font-size: 15px; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.box-psa-summary strong span { color: #7a7f87; font-size: 9px; font-weight: 680; }
.box-psa-summary em { margin-left: 2px; color: #777; font-size: 8px; font-style: normal; font-weight: 650; }

.set-hero { padding: 28px 0 54px; background: #f5f5f5; border-bottom: 1px solid #d8d8d8; }
.set-breadcrumb { display: flex; align-items: center; gap: 8px; color: #777; font-size: 10px; }
.set-breadcrumb a { color: #ee0403; font-weight: 720; }
.set-hero-grid { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 62px; align-items: center; margin-top: 27px; }
.set-hero-grid.no-image { grid-template-columns: minmax(0,1fr); }
.set-box-visual { display: grid; place-items: center; min-height: 225px; padding: 28px; background: white; border: 1px solid #d8d8d8; box-shadow: 0 18px 40px rgba(0,0,0,.07); }
.set-box-visual img { display: block; width: 100%; max-height: 180px; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0,0,0,.16)); }
.set-box-visual.card-cover { background: radial-gradient(circle at 50% 38%,#fff 0,#f4f5f7 52%,#e9ebee 100%); }
.set-box-visual.card-cover img { width: auto; max-width: 100%; max-height: 245px; }
.market-pair.pending strong,.market-pair.pending .raw-market { color: #9a9da2; }
.set-hero-copy h1 { max-width: 820px; margin: 6px 0 0; color: #111; font-size: clamp(34px,4.2vw,55px); line-height: 1.2; letter-spacing: -.05em; word-break: keep-all; overflow-wrap: break-word; }
.set-hero-copy > p:not(.section-label) { max-width: 760px; margin: 15px 0 0; color: #555; font-size: 13px; line-height: 1.8; }
.set-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); max-width: 820px; margin: 28px 0 0; border-top: 1px solid #d4d4d4; border-bottom: 1px solid #d4d4d4; }
.set-summary div { padding: 12px 18px 12px 0; }
.set-summary div + div { padding-left: 18px; border-left: 1px solid #d4d4d4; }
.set-summary dt { color: #777; font-size: 9px; }
.set-summary dd { margin: 2px 0 0; color: #111; font-size: 19px; font-weight: 760; font-variant-numeric: tabular-nums; }
.set-updated { margin: 8px 0 0 !important; color: #929292 !important; font-size: 8px !important; letter-spacing: .02em; }

.set-card-section { background: white; }
.set-toolbar { display: grid; grid-template-columns: minmax(260px,1fr) 180px 250px; gap: 10px; padding: 12px; background: #f5f5f5; border: 1px solid #d8d8d8; }
.set-search-control,.set-rarity-control,.set-sort-control { display: grid; align-items: center; min-height: 48px; background: white; border: 1px solid #d5d5d5; border-radius: 4px; }
.set-search-control { grid-template-columns: 23px minmax(0,1fr); gap: 8px; padding: 0 14px; }
.set-rarity-control,.set-sort-control { grid-template-columns: auto minmax(0,1fr); gap: 9px; padding: 0 11px; }
.set-search-control input,.set-rarity-control select,.set-sort-control select { min-width: 0; width: 100%; color: #222; background: transparent; border: 0; outline: 0; font-size: 11px; }
.set-rarity-control > span,.set-sort-control > span { color: #888; font-size: 8px; white-space: nowrap; }
.set-search-control:focus-within,.set-rarity-control:focus-within,.set-sort-control:focus-within { border-color: #ee0403; box-shadow: 0 0 0 3px rgba(238,4,3,.1); }
.set-list-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 42px; }
.set-list-heading h2 { margin: 5px 0 0; font-size: 31px; letter-spacing: -.04em; }
.set-list-heading > p { margin: 0; color: #777; font-size: 10px; }
.set-card-table { margin-top: 20px; border-top: 1px solid #c9c9c9; }
.set-card-head,.set-card-row { display: grid; grid-template-columns: minmax(290px,1.65fr) minmax(100px,.68fr) minmax(100px,.68fr) minmax(110px,.7fr) minmax(90px,.55fr) minmax(90px,.55fr) minmax(110px,.68fr); gap: 12px; align-items: center; }
.set-card-head { min-height: 39px; color: #868686; border-bottom: 1px solid #e4e4e4; font-size: 8px; }
.set-card-head span:not(:first-child) { text-align: right; }
.set-card-row { min-height: 116px; border-bottom: 1px solid #e7e7e7; transition: background .15s ease; }
.set-card-row:hover { background: #fafafa; }
.set-card-identity { display: grid; grid-template-columns: 27px 58px minmax(0,1fr); gap: 12px; align-items: center; min-width: 0; }
.set-rank { color: #999; font-size: 11px; font-weight: 720; }
.set-card-thumb { position: relative; overflow: hidden; width: 58px; height: 78px; background: #f1f1f1; border: 1px solid #dedede; border-radius: 4px; box-shadow: 0 5px 12px rgba(0,0,0,.18); }
.set-card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.set-card-thumb[href]:hover { border-color: #ee0403; transform: translateY(-1px); }
.set-card-thumb[href]:focus-visible,a.set-card-link:focus-visible,a.set-stat.weekly:focus-visible { outline: 2px solid #ee0403; outline-offset: 3px; }
.set-card-link { min-width: 0; color: inherit; text-decoration: none; }
a.set-card-link:hover strong { color: #ee0403; }
.set-card-identity strong { display: block; overflow: hidden; color: #111; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.set-card-identity small { display: block; margin-top: 2px; color: #888; font-size: 9px; }
.set-card-group { border-bottom: 1px solid #d8d8d8; background: #fbfbfb; }
.set-card-group .set-card-row { border-bottom-color: #e9e9e9; }
.set-card-group .set-card-row:last-child { border-bottom: 0; }
.set-group-head { padding: 15px 0 14px; background: linear-gradient(90deg,#f5f5f5,#fbfbfb); border-bottom: 1px solid #dedede; }
.set-group-head .set-card-identity { width: min(100%,540px); }
.set-group-copy { min-width: 0; }
.set-group-copy > small { display: block; margin-top: 2px; color: #777; font-size: 9px; }
.set-group-copy > em { display: block; margin-top: 6px; color: #a24b45; font-size: 8px; font-style: normal; }
.set-variant-count { display: inline-flex; align-items: center; min-height: 20px; margin-top: 7px; padding: 2px 7px; color: #333; background: white; border: 1px solid #d2d2d2; border-radius: 999px; font-size: 8px; font-weight: 760; }
.reference-image-label { position: absolute; z-index: 1; right: 3px; bottom: 3px; padding: 2px 4px; color: white; background: rgba(17,17,17,.78); border-radius: 2px; font-size: 6px; font-weight: 760; letter-spacing: .03em; }
.set-variant-row { min-height: 98px; background: white; }
.set-variant-identity { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: center; gap: 10px; min-width: 0; padding-left: 39px; }
.set-variant-identity strong { display: block; color: #171717; font-size: 12px; }
.set-variant-identity small { display: block; margin-top: 3px; overflow: hidden; color: #7f7f7f; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.set-variant-identity em { display: block; margin-top: 4px; color: #a24b45; font-size: 7px; font-style: normal; }
.variant-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 4px 7px; color: #444; background: #f1f1f1; border: 1px solid #d0d0d0; border-radius: 3px; font-size: 8px; font-weight: 800; white-space: nowrap; }
.variant-badge.error { color: #a40000; background: #fff0f0; border-color: #efb5b5; }
.variant-badge.special { color: #174c7c; background: #eef6ff; border-color: #b9d3ea; }
.variant-badge.corrected { color: #5b4b00; background: #fff9df; border-color: #e0d18a; }
.set-stat { min-width: 0; text-align: right; font-variant-numeric: tabular-nums; }
.set-stat small { display: block; color: #858585; font-size: 8px; }
.set-stat strong { display: block; margin-top: 1px; color: #222; font-size: 13px; }
.set-stat.primary strong { font-size: 15px; }
.set-stat .raw-market { display: flex; justify-content: flex-end; gap: 5px; margin-top: 5px; color: #555; font-size: 9px; font-weight: 720; }
.set-stat .raw-market b { color: #999; font-size: 8px; font-weight: 650; }
.set-stat.grade-count strong { color: #111; font-size: 14px; }
.set-stat em { display: block; margin-top: 1px; color: #999; font-size: 8px; font-style: normal; }
.set-stat.weekly strong { color: #187c5a; }
.set-stat.weekly { color: inherit; text-decoration: none; }
.set-stat.weekly.negative strong { color: #c0392b; }
.set-stat.gap strong { color: #ee0403; }
.set-empty { margin-top: 20px; padding: 48px 24px; background: #f5f5f5; border: 1px dashed #c8c8c8; text-align: center; }
.set-empty strong { font-size: 18px; }
.set-empty p { margin: 8px 0 0; color: #666; font-size: 11px; }
.set-empty a { display: inline-flex; margin-top: 18px; color: #ee0403; font-size: 11px; font-weight: 750; }
.set-data-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px 16px; color: #666; background: #f5f5f5; border-left: 3px solid #ee0403; }
.set-data-note > span { flex: 0 0 auto; padding: 2px 6px; color: white; background: #111; font-size: 8px; font-weight: 750; }
.set-data-note p { margin: 0; font-size: 9px; line-height: 1.7; }
.set-data-note a { color: #b40000; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 980px) {
  .set-hero-grid { grid-template-columns: 230px minmax(0,1fr); gap: 38px; }
  .set-toolbar { grid-template-columns: minmax(0,1fr) 160px; }
  .set-sort-control { grid-column: 1 / -1; }
  .set-card-head { display: none; }
  .set-card-table { border-top: 1px solid #d5d5d5; }
  .set-card-row { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px 10px; padding: 16px 0; }
  .set-card-identity { grid-column: 1 / -1; }
  .set-variant-identity { grid-column: 1 / -1; padding-left: 0; }
  .set-card-group .set-variant-row { padding-right: 14px; padding-left: 14px; }
  .set-stat { text-align: left; }
  .set-stat .raw-market { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .box-psa-summary { gap: 5px; }
  .box-psa-summary small { min-height: 22px; font-size: 7px; }
  .box-psa-summary strong { font-size: 13px; }
  .set-hero { padding: 20px 0 42px; }
  .set-hero-grid { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .set-box-visual { min-height: 190px; }
  .set-box-visual img { max-height: 145px; }
  .set-hero-copy h1 { font-size: 32px; }
  .set-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .set-summary div { border-bottom: 1px solid #d4d4d4; }
  .set-summary div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .set-summary div:nth-child(n+3) { border-bottom: 0; }
  .set-toolbar { grid-template-columns: minmax(0,1fr); padding: 9px; }
  .set-sort-control { grid-column: auto; }
}

@media (max-width: 520px) {
  .set-summary div { padding: 10px 12px 10px 0; }
  .set-summary div + div { padding-left: 12px; }
  .set-summary dt { min-height: 24px; line-height: 1.35; }
  .set-summary dd { font-size: 17px; }
  .set-list-heading { align-items: flex-start; }
  .set-list-heading h2 { font-size: 27px; }
  .set-card-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .set-card-identity { grid-column: 1 / -1; }
  .set-group-head { padding-right: 8px; padding-left: 8px; }
  .set-group-head .set-card-identity { grid-template-columns: 22px 52px minmax(0,1fr); gap: 9px; }
  .set-group-head .set-card-thumb { width: 52px; height: 70px; }
  .set-variant-row { min-height: 0; }
  .set-variant-identity { grid-template-columns: 58px minmax(0,1fr); gap: 8px; }
  .set-data-note { display: block; }
  .set-data-note p { margin-top: 8px; }
  .box-card-purpose { align-items: flex-start; }
}

/* Editorial market notes and future community utilities */
.desktop-nav a.active { color: #ee0403; }
.insight-preview { background: #fff; }
.insight-feature-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.75fr); gap: 18px; }
.insight-feature { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(230px,.75fr); min-height: 390px; color: white; background: #111; border: 1px solid #111; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.insight-feature:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(0,0,0,.16); }
.insight-feature-copy { display: flex; flex-direction: column; padding: 42px; }
.insight-category { display: inline-flex; width: fit-content; align-items: center; gap: 7px; color: #ee0403; font-size: 10px; font-weight: 820; letter-spacing: .08em; }
.insight-category::before { content: ""; width: 17px; height: 2px; background: currentColor; }
.insight-feature h3 { max-width: 580px; margin: 23px 0 0; font-size: clamp(29px,3.1vw,43px); line-height: 1.35; letter-spacing: -.05em; word-break: keep-all; overflow-wrap: break-word; }
.insight-feature-copy > p { max-width: 570px; margin: 20px 0 0; color: #bdbdbd; font-size: 13px; line-height: 1.9; }
.insight-meta { display: flex; gap: 16px; margin-top: auto; padding-top: 30px; color: #858585; font-size: 10px; }
.signal-board { display: grid; grid-template-rows: repeat(3,1fr); background: #ee0403; }
.signal-board div { display: flex; flex-direction: column; justify-content: center; padding: 24px 27px; border-bottom: 1px solid rgba(255,255,255,.28); }
.signal-board div:last-child { border-bottom: 0; }
.signal-board small { color: rgba(255,255,255,.7); font-size: 9px; font-weight: 760; }
.signal-board span { margin-top: 9px; color: rgba(255,255,255,.75); font-size: 10px; }
.signal-board strong { margin-top: 1px; font-size: 21px; letter-spacing: -.025em; }
.insight-side-list { display: grid; grid-template-rows: repeat(2,1fr); gap: 18px; }
.insight-side-list > a { display: flex; flex-direction: column; padding: 27px; background: #f5f5f5; border: 1px solid #d9d9d9; transition: border-color .15s ease, background .15s ease; }
.insight-side-list > a:hover { background: white; border-color: #ee0403; }
.insight-side-list h3 { margin: 17px 0 0; font-size: 21px; line-height: 1.48; letter-spacing: -.035em; word-break: keep-all; overflow-wrap: break-word; }
.insight-side-list p { margin: 10px 0 0; color: #666; font-size: 11px; line-height: 1.75; }
.read-link { display: flex; justify-content: space-between; margin-top: auto; padding-top: 18px; color: #555; font-size: 10px; font-weight: 760; }
.read-link b { color: #ee0403; font-size: 15px; }

.discovery-strip { padding: 46px 0; background: #ededed; }
.discovery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.discovery-card { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; min-height: 250px; padding: 34px; background: white; border-top: 3px solid #ee0403; }
.discovery-card > div:first-child { max-width: 520px; }
.service-kicker { color: #ee0403; font-size: 9px; font-weight: 820; letter-spacing: .13em; }
.discovery-card h2 { max-width: 480px; margin: 15px 0 0; font-size: 27px; line-height: 1.45; letter-spacing: -.04em; word-break: keep-all; overflow-wrap: break-word; }
.discovery-card p { margin: 12px 0 0; color: #666; font-size: 11px; line-height: 1.8; }
.discord-card { color: white; background: linear-gradient(135deg,#171717,#050505); border-top-color: #5865f2; }
.discord-card .service-kicker { color: #8d96ff; }
.discord-card p { color: #aaa; }
.service-status { flex: 0 0 112px; }
.service-status span { display: inline-flex; justify-content: center; width: 100%; padding: 9px 12px; color: #333; background: #f2f2f2; border: 1px solid #d6d6d6; font-size: 10px; font-weight: 780; }
.service-status small { display: block; margin-top: 8px; color: #888; font-size: 8px; line-height: 1.55; text-align: center; }
.service-status.inverse span { color: white; background: #5865f2; border-color: #6975ff; }
.service-status.inverse small { color: #8f8f8f; }

.article-index-hero { padding: 86px 0 76px; color: white; background: linear-gradient(135deg,#151515 0,#050505 65%,#2d0000 100%); border-bottom: 4px solid #ee0403; }
.article-index-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.75fr); gap: 80px; align-items: end; }
.article-index-hero .kicker { color: #aaa; }
.article-index-hero .kicker span { background: #ee0403; box-shadow: 0 0 0 5px rgba(238,4,3,.16); }
.article-index-hero h1 { font-size: clamp(45px,5.6vw,70px); word-break: keep-all; overflow-wrap: break-word; }
.article-index-intro { padding-bottom: 5px; }
.article-index-intro p { margin: 0; color: #d2d2d2; font-size: 15px; line-height: 1.9; }
.article-index-intro small { display: block; margin-top: 18px; padding-top: 18px; color: #878787; border-top: 1px solid #373737; font-size: 9px; line-height: 1.7; }
.article-index-section { background: white; }
.article-index-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.article-index-toolbar h2 { margin: 4px 0 0; font-size: 36px; letter-spacing: -.045em; }
.article-index-toolbar > p { margin: 0; color: #777; font-size: 10px; }
.article-index-toolbar > p span { color: #111; font-size: 19px; font-weight: 780; }
.article-list { border-top: 1px solid #cfcfcf; }
.article-list-item { display: grid; grid-template-columns: 46px minmax(0,1.25fr) minmax(230px,.55fr) 32px; gap: 24px; align-items: center; min-height: 210px; padding: 28px 0; border-bottom: 1px solid #dfdfdf; }
.article-list-item:hover .article-list-copy h3 { color: #ee0403; }
.article-sequence { color: #aaa; font-size: 11px; font-weight: 760; }
.article-list-meta { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; color: #888; font-size: 9px; }
.article-list-meta span { color: #ee0403; font-weight: 780; }
.article-list-copy h3 { max-width: 720px; margin: 12px 0 0; font-size: 25px; line-height: 1.45; letter-spacing: -.04em; word-break: keep-all; overflow-wrap: break-word; transition: color .15s ease; }
.article-list-copy p { max-width: 760px; margin: 11px 0 0; color: #666; font-size: 11px; line-height: 1.75; }
.article-keypoints { display: flex; flex-wrap: wrap; gap: 6px; }
.article-keypoints span { padding: 5px 8px; color: #555; background: #f2f2f2; border: 1px solid #dedede; font-size: 8px; }
.article-arrow { color: #ee0403; font-size: 22px; text-align: right; }
.editorial-policy { padding: 34px 0; background: #f1f1f1; border-top: 1px solid #d8d8d8; }
.policy-grid { display: grid; grid-template-columns: 120px minmax(0,1fr) auto; gap: 26px; align-items: center; }
.policy-grid strong { font-size: 12px; }
.policy-grid p { margin: 0; color: #666; font-size: 10px; line-height: 1.75; }
.policy-grid a { color: #ee0403; font-size: 10px; font-weight: 760; }

.article-loading,.article-missing { min-height: 55vh; padding-top: 100px; }
.article-hero { padding: 58px 0 64px; color: white; background: #111; border-bottom: 4px solid #ee0403; }
.article-hero-inner { max-width: 1000px; }
.article-back { color: #aaa; font-size: 10px; font-weight: 700; }
.article-title-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; color: #828282; font-size: 9px; }
.article-title-meta span { color: #ff5c5b; font-weight: 800; }
.article-hero h1 { max-width: 960px; margin: 20px 0 0; font-size: clamp(38px,5.2vw,63px); line-height: 1.32; word-break: keep-all; overflow-wrap: break-word; }
.article-hero-inner > p { max-width: 760px; margin: 25px 0 0; color: #bdbdbd; font-size: 14px; line-height: 1.9; }
.article-signal-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 760px; margin-top: 40px; border-top: 1px solid #3b3b3b; border-bottom: 1px solid #3b3b3b; }
.article-signal-strip div { padding: 16px 18px 16px 0; }
.article-signal-strip div + div { padding-left: 18px; border-left: 1px solid #3b3b3b; }
.article-signal-strip small { display: block; color: #ee0403; font-size: 8px; }
.article-signal-strip strong { display: block; margin-top: 4px; font-size: 13px; }
.article-body-grid { display: grid; grid-template-columns: 210px minmax(0,720px); gap: 70px; justify-content: center; padding-top: 70px; padding-bottom: 90px; }
.article-toc { align-self: start; position: sticky; top: 98px; padding-top: 13px; border-top: 2px solid #111; }
.article-toc > strong { font-size: 10px; }
.article-toc ol { margin: 15px 0 0; padding: 0; list-style: none; counter-reset: item; }
.article-toc li { counter-increment: item; padding: 9px 0; border-top: 1px solid #e2e2e2; }
.article-toc li::before { content: "0" counter(item); margin-right: 8px; color: #aaa; font-size: 8px; }
.article-toc a { color: #555; font-size: 9px; line-height: 1.55; }
.article-toc a:hover { color: #ee0403; }
.article-body { min-width: 0; }
.article-lead { margin: 0; padding-bottom: 42px; color: #333; border-bottom: 1px solid #d8d8d8; font-size: 17px; line-height: 2; font-weight: 560; }
.article-body > section { padding-top: 52px; scroll-margin-top: 88px; }
.article-section-number { color: #ee0403; font-size: 10px; font-weight: 800; }
.article-body h2 { margin: 10px 0 0; font-size: 29px; line-height: 1.5; letter-spacing: -.04em; word-break: keep-all; overflow-wrap: break-word; }
.article-body section p { margin: 22px 0 0; color: #444; font-size: 14px; line-height: 2.05; }
.article-body ul { margin: 25px 0 0; padding: 22px 25px 22px 44px; background: #f4f4f4; border-left: 3px solid #ee0403; }
.article-body li { padding: 4px 0; color: #333; font-size: 12px; line-height: 1.8; }
.article-caution { margin-top: 58px; padding: 24px; background: #fff8f8; border: 1px solid #ecd2d2; }
.article-caution strong { color: #a80c0c; font-size: 11px; }
.article-caution p { margin: 8px 0 0; color: #666; font-size: 10px; line-height: 1.75; }
.article-community-callout { padding: 42px 0; color: white; background: linear-gradient(120deg,#161616,#050505 70%,#181a52); border-top: 1px solid #333; }
.article-community-callout .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.article-community-callout span { color: #8d96ff; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.article-community-callout h2 { margin: 9px 0 0; font-size: 24px; letter-spacing: -.035em; }
.article-community-callout p { margin: 6px 0 0; color: #999; font-size: 10px; }
.article-community-callout .container > strong,.article-community-callout .container > a { flex: 0 0 auto; padding: 10px 16px; color: white; background: #5865f2; font-size: 10px; font-weight:800; text-decoration:none; }
.related-articles { background: white; }
.related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.related-grid a { padding: 27px; background: #f5f5f5; border: 1px solid #ddd; }
.related-grid a:hover { border-color: #ee0403; }
.related-grid span { color: #ee0403; font-size: 9px; font-weight: 780; }
.related-grid h3 { margin: 13px 0 0; font-size: 20px; line-height: 1.5; letter-spacing: -.03em; }
.related-grid p { margin: 10px 0 0; color: #666; font-size: 10px; line-height: 1.75; }
.related-grid small { display: block; margin-top: 20px; color: #ee0403; font-weight: 750; }

.insight-feature:focus-visible,.insight-side-list a:focus-visible,.article-list-item:focus-visible,.related-grid a:focus-visible { outline: 3px solid #ee0403; outline-offset: 3px; }

.insight-compact { padding: 48px 0; background: #f6f6f6; }
.compact-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.compact-section-head h2 { margin: 4px 0 0; font-size: 28px; line-height: 1.4; letter-spacing: -.04em; }
.compact-section-head > a { color: #ee0403; font-size: 10px; font-weight: 760; }
.insight-compact-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #cecece; border-bottom: 1px solid #cecece; }
.insight-compact-list > a { position: relative; min-width: 0; min-height: 178px; padding: 24px 32px 24px 0; }
.insight-compact-list > a + a { padding-left: 32px; border-left: 1px solid #d8d8d8; }
.insight-compact-list > a:hover h3 { color: #ee0403; }
.insight-compact-list span { color: #ee0403; font-size: 8px; font-weight: 800; }
.insight-compact-list h3 { margin: 10px 0 0; font-size: 17px; line-height: 1.6; letter-spacing: -.025em; word-break: keep-all; overflow-wrap: break-word; transition: color .15s ease; }
.insight-compact-list p { margin: 9px 0 0; color: #777; font-size: 9px; line-height: 1.65; }
.insight-compact-list small { position: absolute; right: 18px; bottom: 17px; color: #999; font-size: 8px; }
.insight-compact-list > a::after { content: "→"; position: absolute; left: 0; bottom: 15px; color: #ee0403; font-size: 13px; }
.insight-compact-list > a + a::after { left: 32px; }

@media (max-width: 980px) {
  .insight-feature-grid { grid-template-columns: minmax(0,1fr); }
  .insight-side-list { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; }
  .discovery-card { display: block; }
  .service-status { width: 150px; margin-top: 24px; }
  .article-list-item { grid-template-columns: 38px minmax(0,1fr) 28px; }
  .article-keypoints { grid-column: 2 / 3; }
  .article-body-grid { grid-template-columns: 170px minmax(0,1fr); gap: 45px; }
}

@media (max-width: 760px) {
  .insight-feature { grid-template-columns: minmax(0,1fr); }
  .signal-board { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto; }
  .signal-board div { min-width: 0; padding: 18px; border-right: 1px solid rgba(255,255,255,.28); border-bottom: 0; }
  .signal-board div:last-child { border-right: 0; }
  .signal-board strong { font-size: 16px; }
  .discovery-grid,.article-index-grid { grid-template-columns: minmax(0,1fr); }
  .article-index-grid { gap: 35px; }
  .article-body-grid { grid-template-columns: minmax(0,1fr); padding-top: 50px; }
  .article-toc { position: static; }
  .policy-grid { grid-template-columns: minmax(0,1fr); gap: 11px; }
  .insight-compact-list { grid-template-columns: minmax(0,1fr); }
  .insight-compact-list > a { min-height: 0; padding: 20px 34px 42px 0; }
  .insight-compact-list > a + a { padding-left: 0; border-top: 1px solid #d8d8d8; border-left: 0; }
  .insight-compact-list > a + a::after { left: 0; }
}

@media (max-width: 520px) {
  .insight-heading .outline-button { display: inline-flex; margin-top: 18px; }
  .insight-feature { min-height: 0; }
  .insight-feature-copy { min-height: 390px; padding: 27px 23px; }
  .insight-feature h3 { font-size: 28px; }
  .signal-board div { padding: 15px 10px; }
  .signal-board span { font-size: 8px; }
  .signal-board strong { font-size: 13px; }
  .insight-side-list { grid-template-columns: minmax(0,1fr); }
  .discovery-card { min-height: 0; padding: 26px 22px; }
  .discovery-card h2 { font-size: 24px; }
  .article-index-hero { padding: 57px 0 52px; }
  .article-index-hero h1 { font-size: 43px; }
  .article-index-intro p { font-size: 13px; }
  .article-index-toolbar { align-items: flex-start; }
  .article-index-toolbar h2 { font-size: 29px; }
  .article-list-item { grid-template-columns: 26px minmax(0,1fr) 20px; gap: 10px; padding: 25px 0; }
  .article-list-copy h3 { font-size: 20px; }
  .article-list-copy p { font-size: 10px; }
  .article-keypoints { grid-column: 2 / 4; }
  .article-hero { padding: 36px 0 47px; }
  .article-title-meta { margin-top: 28px; }
  .article-hero h1 { font-size: 34px; line-height: 1.4; }
  .article-hero-inner > p { font-size: 12px; }
  .article-signal-strip div { padding: 13px 8px 13px 0; }
  .article-signal-strip div + div { padding-left: 8px; }
  .article-signal-strip strong { font-size: 10px; }
  .article-body-grid { padding-bottom: 62px; }
  .article-lead { font-size: 15px; }
  .article-body h2 { font-size: 24px; }
  .article-body section p { font-size: 13px; }
  .article-community-callout .container { display: block; }
  .article-community-callout h2 { font-size: 21px; line-height: 1.5; }
  .article-community-callout .container > strong,.article-community-callout .container > a { display: inline-flex; margin-top: 22px; }
  .related-grid { grid-template-columns: minmax(0,1fr); }
  .insight-compact { padding: 38px 0; }
  .compact-section-head { display: block; }
  .compact-section-head > a { display: inline-flex; margin-top: 10px; }
}
/* Card detail and trust improvements */
.set-list-title h2 { word-break: keep-all; }
.set-list-title h2 span { display: inline-block; }
.set-list-title h2 span + span { margin-left: .18em; }
.gem-rate-note { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.set-card-link { color: inherit; text-decoration: none; }
.set-card-link em { display: block; margin-top: 7px; color: var(--blue); font-size: 10px; font-style: normal; font-weight: 750; }
.set-variant-identity a { color: inherit; text-decoration: none; }
.set-variant-identity a:hover { color: var(--blue); }
.inline-grade-gap { display: flex; align-items: baseline; gap: 7px; margin-top: 5px; color: var(--red); font-size: 11px; font-weight: 800; }
.inline-grade-gap b { color: var(--muted); font-size: 9px; font-weight: 650; }
.box-psa-summary > div > span { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.collection-progress { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; padding: 12px 14px; color: #4e5969; background: #f0f2f5; border-left: 3px solid #7e8795; font-size: 10px; }
.collection-progress strong { color: var(--ink); white-space: nowrap; }
.collection-progress.ready { background: #eef8f1; border-left-color: #198754; }
.article-live-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; margin: 26px 0 36px; padding: 16px; color: inherit; background: #f1f3f6; border-left: 3px solid var(--red); text-decoration: none; }
.article-live-card img { width: 64px; height: 86px; object-fit: contain; }
.article-live-card span,.article-live-card small { display: block; color: var(--muted); font-size: 9px; }
.article-live-card strong { display: block; margin: 5px 0; font-size: 15px; }
.article-live-card b { color: var(--blue); font-size: 10px; white-space: nowrap; }

.card-loading { min-height: 62vh; padding: 120px 0; color: var(--muted); text-align: center; }
.card-loading strong { display: inline-block; margin-bottom: 12px; color: var(--ink); font-size: 24px; }
.card-loading a { color: var(--blue); font-weight: 750; }
.card-detail-page { background: #f6f7f9; }
.card-detail-page .set-breadcrumb { padding-top: 30px; }
.card-detail-hero { padding: 40px 0 70px; background: linear-gradient(145deg,#061329 0%,#0b1e3f 64%,#101a30 100%); color: white; border-bottom: 3px solid var(--red); }
.card-detail-hero-grid { display: grid; grid-template-columns: 310px minmax(0,1fr); gap: 68px; align-items: center; }
.card-detail-image { display: grid; place-items: center; min-height: 430px; padding: 24px; background: radial-gradient(circle at 50% 30%,rgba(255,255,255,.14),transparent 58%); }
.card-detail-image img { display: block; width: min(100%,270px); max-height: 390px; object-fit: contain; filter: drop-shadow(0 22px 30px rgba(0,0,0,.42)); }
.card-detail-summary .section-label { color: #ff5b62; }
.card-detail-summary h1 { max-width: 760px; margin: 10px 0 8px; font-size: clamp(36px,5vw,66px); line-height: 1.08; letter-spacing: -.045em; word-break: keep-all; }
.card-detail-code { margin: 0; color: #cbd5e4; font-size: 14px; font-weight: 650; }
.card-detail-actions { display: flex; align-items: center; gap: 20px; margin: 26px 0; }
.favorite-button { min-height: 42px; padding: 0 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 5px; color: white; background: rgba(255,255,255,.07); font-weight: 750; }
.favorite-button[aria-pressed="true"] { color: #061329; background: white; }
.card-detail-actions a { color: white; font-size: 12px; font-weight: 750; }
.card-price-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 650px; margin: 0; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.card-price-pair > div { padding: 20px 22px 18px 0; }
.card-price-pair > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.22); }
.card-price-pair dt { color: #b7c1d1; font-size: 10px; }
.card-price-pair dd { margin: 5px 0 2px; font-size: clamp(28px,4vw,44px); font-weight: 850; letter-spacing: -.04em; }
.card-price-pair small { color: #b7c1d1; font-size: 10px; }
.card-gap-summary { display: flex; align-items: baseline; gap: 14px; max-width: 650px; margin-top: 20px; }
.card-gap-summary span { font-size: 11px; }
.card-gap-summary strong { color: #ff5b62; font-size: 24px; }
.card-gap-summary strong.negative,.card-calc-result strong.negative { color: #78a4ff; }
.card-gap-summary small { margin-left: auto; color: #9eabba; font-size: 9px; }
.card-updated { margin: 18px 0 0; color: #8f9bad; font-size: 9px; }
.card-detail-data { padding: 0 0 58px; }
.card-stat-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: -28px; background: white; border: 1px solid #dce1e8; box-shadow: 0 14px 35px rgba(7,22,48,.12); }
.card-stat-grid > div { min-height: 134px; padding: 25px 22px; border-right: 1px solid #e2e6ec; }
.card-stat-grid > div:last-child { border-right: 0; }
.card-stat-grid small,.card-stat-grid span { display: block; color: var(--muted); font-size: 9px; }
.card-stat-grid strong { display: block; margin: 8px 0 5px; color: var(--ink); font-size: 26px; letter-spacing: -.04em; }
.gem-rate-disclosure { margin: 14px 0 0; padding: 12px 14px; color: #4d5868; background: #eef1f5; border-left: 3px solid var(--red); font-size: 10px; line-height: 1.7; }
.card-history-section { padding: 70px 0 82px; background: white; border-top: 1px solid #e3e6eb; }
.history-range { display: flex; align-items: center; gap: 4px; padding: 4px; background: #eef1f5; }
.history-range button { min-height: 34px; padding: 0 13px; border: 0; color: #556071; background: transparent; font-size: 10px; font-weight: 750; }
.history-range button.active { color: white; background: #061329; }
.card-chart-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.data-chart-card { padding: 26px; border: 1px solid #dfe3e9; background: #fbfcfd; }
.data-chart-card > div:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.data-chart-card > div:first-child span { color: var(--muted); font-size: 10px; font-weight: 750; }
.data-chart-card > div:first-child strong { font-size: 20px; }
.data-chart { min-height: 245px; margin-top: 12px; }
.data-chart svg { display: block; width: 100%; height: 230px; overflow: visible; }
.chart-legend { display: flex; gap: 14px; margin-top: 4px; color: var(--muted); font-size: 9px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend i { width: 14px; height: 3px; }
.chart-empty { display: grid; place-items: center; height: 230px; color: var(--muted); background: repeating-linear-gradient(-45deg,#f3f5f8,#f3f5f8 7px,#fafbfc 7px,#fafbfc 14px); font-size: 11px; }
.data-chart-card > p { margin: 13px 0 0; color: var(--muted); font-size: 9px; }
.card-decision-section { padding: 78px 0; color: white; background: #061329; border-top: 3px solid var(--red); }
.card-decision-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.card-decision-grid h2,.card-alert-inner h2 { margin: 8px 0 14px; font-size: clamp(30px,4vw,48px); line-height: 1.15; letter-spacing: -.04em; }
.card-decision-grid > div > p:last-child { color: #b7c1d1; line-height: 1.9; }
.card-calculator { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.card-calculator label { display: grid; gap: 7px; color: #b7c1d1; font-size: 9px; }
.card-calculator input { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid #43516a; color: white; background: #0d213f; font-size: 16px; font-weight: 750; }
.card-calc-result { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 16px; margin-top: 8px; padding: 20px; background: white; color: #061329; }
.card-calc-result span { font-size: 11px; font-weight: 750; }
.card-calc-result strong { color: var(--red); font-size: 28px; }
.card-calc-result small { margin-left: auto; color: var(--muted); font-size: 9px; }
.card-alert-section { padding: 58px 0 74px; background: #f6f7f9; }
.card-alert-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.card-alert-inner form { display: grid; gap: 10px; padding: 24px; border: 1px solid #dce1e8; background: white; }
.card-alert-inner label { display: flex; align-items: center; gap: 10px; min-height: 38px; font-size: 12px; }
.card-alert-inner button { min-height: 46px; margin-top: 6px; border: 0; color: white; background: var(--red); font-weight: 800; }
.card-alert-inner form p { min-height: 1.5em; margin: 0; color: var(--blue); font-size: 10px; }

@media (max-width: 760px) {
  .article-live-card { grid-template-columns: 52px 1fr; }
  .article-live-card img { width: 52px; height: 70px; }
  .article-live-card b { grid-column: 2; }
  .set-list-title h2 { display: flex; flex-wrap: wrap; column-gap: .18em; font-size: 27px; line-height: 1.15; }
  .set-list-title h2 span + span { margin-left: 0; }
  .card-detail-page .set-breadcrumb { padding-top: 18px; }
  .card-detail-hero { padding: 24px 0 52px; }
  .card-detail-hero-grid { grid-template-columns: 96px minmax(0,1fr); gap: 18px; align-items: start; }
  .card-detail-summary { min-width: 0; }
  .card-detail-image { min-height: 150px; padding: 0; }
  .card-detail-image img { max-height: 150px; }
  .card-detail-summary h1 { margin-top: 6px; font-size: 31px; word-break: normal; overflow-wrap: anywhere; }
  .card-detail-code { font-size: 10px; }
  .card-detail-actions { grid-column: 1 / -1; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
  .card-price-pair { grid-column: 1 / -1; }
  .card-price-pair > div { padding: 16px 10px 14px 0; }
  .card-price-pair > div + div { padding-left: 14px; }
  .card-price-pair dd { font-size: 25px; }
  .card-gap-summary { grid-column: 1 / -1; flex-wrap: wrap; gap: 7px 12px; }
  .card-gap-summary small { width: 100%; margin-left: 0; }
  .card-updated { grid-column: 1 / -1; }
  .card-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: -20px; }
  .card-stat-grid > div { min-height: 112px; padding: 20px 16px; border-bottom: 1px solid #e2e6ec; }
  .card-stat-grid > div:nth-child(2n) { border-right: 0; }
  .card-stat-grid > div:last-child { grid-column: 1 / -1; }
  .card-chart-grid,.card-decision-grid,.card-alert-inner { grid-template-columns: 1fr; gap: 24px; }
  .card-history-section,.card-decision-section { padding: 54px 0; }
  .card-history-section .section-head { align-items: flex-start; }
  .history-range { width: 100%; overflow-x: auto; }
  .history-range button { flex: 1 0 auto; }
  .data-chart-card { padding: 18px 14px; }
  .data-chart { min-height: 200px; }
  .data-chart svg,.chart-empty { height: 190px; }
  .card-calculator { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card-calc-result { flex-wrap: wrap; }
  .card-calc-result small { width: 100%; margin-left: 0; }
}
/* Shared community and submission utilities */
.primary-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 20px; color:#fff; background:var(--red); border:1px solid var(--red); border-radius:3px; font-size:12px; font-weight:800; text-decoration:none; cursor:pointer; }
.primary-button:hover { color:#fff; background:#c90000; border-color:#c90000; }
.text-button { padding:8px 0; color:var(--ink); background:transparent; border:0; border-bottom:1px solid currentColor; font:inherit; font-size:10px; font-weight:700; cursor:pointer; }
.utility-hero { padding:88px 0 76px; color:#fff; background:radial-gradient(circle at 82% 20%,rgba(238,4,3,.25),transparent 26%),linear-gradient(128deg,#061329,#081c3a 66%,#111); border-bottom:3px solid var(--red); }
.utility-hero-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr); align-items:center; gap:80px; }
.utility-hero h1 { max-width:760px; margin:12px 0 20px; font-size:clamp(42px,5vw,72px); line-height:1.12; letter-spacing:-.055em; }
.utility-hero p:not(.section-label) { max-width:650px; margin:0 0 28px; color:#c6d1e3; font-size:14px; line-height:2; }
.utility-hero .section-label { color:#ff6969; }
.footer-legal { display:flex; justify-content:flex-end; gap:18px; padding-top:20px; padding-bottom:6px; border-top:1px solid rgba(255,255,255,.12); }
.footer-legal a { color:#aab5c7; font-size:9px; text-decoration:none; }
.footer-legal a:hover { color:#fff; }

/* PSA日本語検索・独立ランキング */
.search-page-intro { max-width: 1120px; }
.search-utility-hero { padding-bottom: 68px; }
.search-utility-hero .kicker { margin-bottom: 14px !important; color: #ffb5b5 !important; }
.search-utility-hero h1 { margin-top: 0; }
.search-page-form { width: min(760px, 100%); margin-top: 30px; }
.search-page-form input { min-width: 0; }
.search-utility-hero .popular-searches { margin-top: 12px; }
.search-results-section { min-height: 430px; }
.search-results-heading { align-items: end; }
.search-results-heading #search-message { max-width: 760px; margin-top: 8px; }
.search-results-heading #search-message strong { color: var(--ink); }
.search-page-results { display: grid; border-top: 1px solid #d9dfe8; }
.search-data-row { display: grid; grid-template-columns: 52px minmax(220px, 1.8fr) repeat(4, minmax(100px, .65fr)) 18px; align-items: center; gap: 18px; min-height: 104px; padding: 14px 10px; border-bottom: 1px solid #d9dfe8; color: var(--ink); transition: background .18s ease, transform .18s ease; }
.search-data-row:hover { background: #f4f7fb; transform: translateX(2px); }
.search-data-image { width: 52px; height: 72px; border-radius: 4px; overflow: hidden; background: #e8ebef; box-shadow: 0 4px 12px rgba(4,13,30,.12); }
.search-data-image img { width: 100%; height: 100%; object-fit: cover; }
.search-data-name { display: block; min-width: 0; }
.search-data-name strong, .search-data-name small, .search-data-row > span > small, .search-data-row > span > b { display: block; }
.search-data-name strong { font-size: 15px; }
.search-data-name small { margin-top: 5px; overflow: hidden; color: #738096; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.search-data-row > span > small { color: #7d8798; font-size: 9px; }
.search-data-row > span > b { margin-top: 4px; font-size: 14px; }
.search-data-row > i { color: var(--red); font-style: normal; font-weight: 800; }
.search-empty-guide { display: inline-flex; margin-top: 20px; color: var(--blue); font-weight: 750; }
.ranking-page-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; }
.ranking-page-section .rank-table { margin-top: 22px; }
.rankings-hero .box-page-stats dd span { font-size: 12px; font-weight: 750; }

@media (max-width: 900px) {
  .search-data-row { grid-template-columns: 52px minmax(180px, 1.5fr) repeat(2, minmax(90px, .6fr)) 14px; }
  .search-data-row > span:nth-of-type(4), .search-data-row > span:nth-of-type(5) { display: none; }
  .ranking-page-tabs { display: flex; width: 100%; overflow-x: auto; scrollbar-width: thin; }
  .ranking-page-tabs .rank-tab { flex: 0 0 auto; min-width: 132px; }
}

@media (max-width: 560px) {
  .search-utility-hero { padding-top: 40px; }
  .search-page-form { display: grid; grid-template-columns: 1fr auto; }
  .search-page-form .search-icon { display: none; }
  .search-page-form input { padding-left: 14px; font-size: 16px; }
  .search-results-section { padding-top: 48px; }
  .search-results-heading { align-items: start; }
  .search-data-row { grid-template-columns: 54px minmax(0,1fr) auto; gap: 10px; min-height: 94px; padding: 11px 2px; }
  .search-data-image { float: none; width: 48px; height: 66px; margin: 0; }
  .search-data-name strong { padding-top: 0; font-size: 13px; }
  .search-data-row > span:nth-of-type(n+3) { display: none; }
  .search-data-row > i { display: block; }
}
.community-principles { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16); }
.community-principles div { display:grid; grid-template-columns:42px 1fr; gap:3px 16px; padding:20px 22px; border-bottom:1px solid rgba(255,255,255,.12); }
.community-principles div:last-child { border-bottom:0; }
.community-principles strong { grid-row:1 / 3; color:#ff6060; font:700 11px/1.5 ui-monospace,monospace; }
.community-principles span { font-size:13px; font-weight:800; }
.community-principles small { color:#8ea1bf; font-size:10px; }
.community-feed-section,.submission-stats-section { padding:76px 0; background:#f4f5f7; }
.community-feed { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.community-post-card { overflow:hidden; background:#fff; border:1px solid #dfe3e9; box-shadow:0 16px 40px rgba(6,19,41,.06); }
.community-post-images { display:grid; grid-auto-flow:column; grid-auto-columns:1fr; height:250px; background:#e7eaf0; }
.community-post-images img { width:100%; height:100%; object-fit:cover; }
.community-post-images img:first-child:last-child { object-fit:contain; padding:16px; background:linear-gradient(140deg,#e9edf3,#fff); }
.community-post-body { padding:20px; }
.community-post-body h3 { margin:10px 0 2px; font-size:17px; }
.community-post-body h3 a { color:var(--ink); text-decoration:none; }
.community-post-body .check-question { min-height:66px; margin:14px 0; color:#465267; font-size:11px; line-height:1.8; }
.community-votes { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid #dce1e8; }
.community-votes button { display:flex; flex-direction:column; gap:4px; padding:10px 4px; color:#26364e; background:#fff; border:0; border-right:1px solid #dce1e8; font-size:9px; cursor:pointer; }
.community-votes button:last-child { border-right:0; }
.community-votes button:hover { color:#fff; background:#061b3c; }
.community-votes button.selected { color:#fff; background:#0b326b; box-shadow:inset 0 -3px 0 var(--red); }
.community-votes b { font-size:13px; }
.vote-caption { margin:8px 0 0; color:#7d8796; font-size:8px; }
.post-action-message { color:var(--red); font-weight:700; }
.inline-comment-form,.result-editor { display:flex; gap:7px; margin-top:12px; }
.inline-comment-form input,.result-editor select { min-width:0; flex:1; padding:9px 10px; border:1px solid #d4d9e1; font-size:10px; }
.inline-comment-form button,.result-editor button { padding:0 11px; color:#fff; background:#0a234a; border:0; font-size:9px; font-weight:700; cursor:pointer; }
.post-comments { display:grid; gap:6px; margin:12px 0 0; padding:0; list-style:none; }
.post-comments li { padding:8px 10px; color:#4a5668; background:#f4f6f8; font-size:9px; line-height:1.65; }
.post-comments time { display:block; margin-top:2px; color:#929aa7; font-size:7px; }
.post-report { margin-top:10px; color:#7c8593; font-size:8px; }
.post-report summary { cursor:pointer; }
.report-form { display:grid; grid-template-columns:100px 1fr auto; gap:6px; margin-top:8px; }
.report-form select,.report-form input { min-width:0; padding:8px; border:1px solid #d4d9e1; font-size:9px; }
.report-form button { padding:0 10px; color:#fff; background:#5c2630; border:0; font-size:8px; cursor:pointer; }
.result-editor label { display:flex; min-width:0; flex:1; align-items:center; gap:8px; color:#687489; font-size:9px; }
.empty-state { grid-column:1 / -1; padding:48px 30px; text-align:center; background:#fff; border:1px dashed #bbc3ce; }
.empty-state strong { display:block; margin-bottom:8px; font-size:16px; }
.empty-state p { color:#687489; font-size:11px; }
.empty-state a { color:var(--red); font-size:10px; font-weight:800; }
.consultation-form-section,.submission-report-section { padding:86px 0; }
.consultation-layout { display:grid; grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr); gap:76px; align-items:start; }
.consultation-intro h2 { margin:8px 0 17px; font-size:34px; letter-spacing:-.045em; }
.consultation-intro > p:not(.section-label) { color:#5f6978; font-size:12px; line-height:1.9; }
.consultation-intro ol { margin:28px 0; padding:0; list-style:none; counter-reset:steps; }
.consultation-intro li { position:relative; padding:13px 0 13px 42px; border-bottom:1px solid #e1e4e9; color:#26354c; font-size:11px; counter-increment:steps; }
.consultation-intro li::before { position:absolute; left:0; top:11px; width:26px; height:26px; color:#fff; background:#071b3b; border-radius:50%; content:counter(steps); text-align:center; font:700 9px/26px ui-monospace,monospace; }
.publish-boundary { margin-top:28px; padding:18px; background:#f2f4f7; border-left:3px solid var(--red); }
.publish-boundary strong { font-size:10px; }
.publish-boundary p { margin:5px 0 0; color:#657084; font-size:9px; line-height:1.8; }
.consultation-form,.submission-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; padding:30px; background:#fff; border:1px solid #dfe3e8; box-shadow:0 24px 64px rgba(6,19,41,.08); }
.consultation-form label,.submission-form label { position:relative; display:flex; flex-direction:column; gap:8px; min-width:0; }
.consultation-form label > span,.submission-form label > span,.upload-field legend { color:#24344b; font-size:10px; font-weight:800; }
.consultation-form input[type="search"],.consultation-form select,.consultation-form textarea,.submission-form select,.submission-form input[type="date"] { width:100%; min-height:45px; padding:11px 12px; color:#111c2e; background:#fff; border:1px solid #cfd5de; border-radius:0; font:inherit; font-size:11px; }
.consultation-form textarea { resize:vertical; }
.consultation-form label > small { color:#7b8492; font-size:8px; }
.field-wide { grid-column:1 / -1; }
.card-picker-results { position:absolute; z-index:12; top:67px; left:0; right:0; max-height:360px; overflow:auto; background:#fff; border:1px solid #bfc7d2; box-shadow:0 16px 36px rgba(6,19,41,.2); }
.card-picker-results button { display:grid; grid-template-columns:38px 1fr auto; align-items:center; gap:11px; width:100%; padding:8px 10px; text-align:left; background:#fff; border:0; border-bottom:1px solid #e7e9ed; cursor:pointer; }
.card-picker-results button:hover { background:#f1f4f8; }
.card-picker-results img { width:34px; height:47px; object-fit:contain; }
.card-picker-results span { display:flex; flex-direction:column; gap:2px; min-width:0; }
.card-picker-results strong { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.card-picker-results small,.card-picker-results b { color:#788395; font-size:8px; }
.selected-community-card { grid-column:1 / -1; display:grid; grid-template-columns:58px 1fr 32px; align-items:center; gap:14px; padding:11px 14px; background:#f1f4f8; border-left:3px solid #0c3978; }
.selected-community-card[hidden] { display:none; }
.selected-community-card img { width:54px; height:73px; object-fit:contain; }
.selected-community-card div { display:flex; flex-direction:column; gap:4px; }
.selected-community-card strong { font-size:12px; }
.selected-community-card span { color:#677389; font-size:9px; }
.selected-community-card button { color:#6d7786; background:transparent; border:0; font-size:22px; cursor:pointer; }
.upload-field { margin:0; padding:0; border:0; }
.upload-field legend { margin-bottom:8px; }
.upload-drop { align-items:center; justify-content:center; min-height:105px; padding:20px; text-align:center; background:#f5f7fa; border:1px dashed #9ba7b8; cursor:pointer; }
.upload-drop input { position:absolute; width:1px; height:1px; opacity:0; }
.upload-drop strong { color:#08224b; font-size:12px; }
.upload-drop span { color:#778294; font-size:8px; }
.image-preview-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:12px; }
.image-preview-grid figure { margin:0; padding:7px; background:#f0f2f5; }
.image-preview-grid img { width:100%; height:150px; object-fit:contain; }
.image-preview-grid figcaption { padding-top:6px; color:#647084; font-size:8px; text-align:center; }
.consent-check { flex-direction:row !important; align-items:flex-start; gap:9px !important; }
.consent-check input { margin-top:2px; }
.consent-check span { color:#5c687a !important; font-weight:500 !important; line-height:1.6; }
.form-submit-row { display:flex; align-items:center; gap:15px; }
.form-submit-row p { margin:0; color:#a21920; font-size:9px; line-height:1.6; }
.local-drafts-section { padding:58px 0 100px; background:#f5f6f8; border-top:1px solid #e0e4e9; }
.draft-list { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.draft-list article { display:flex; flex-direction:column; gap:6px; padding:18px; background:#fff; border:1px solid #dfe3e8; }
.draft-list article > span { align-self:flex-start; padding:3px 6px; color:#904708; background:#fff0d8; font-size:7px; font-weight:800; }
.draft-list strong { font-size:12px; }
.draft-list small { color:#778294; font-size:8px; }
.draft-list p,.no-drafts { margin:4px 0 0; color:#586579; font-size:9px; line-height:1.7; }
.delete-draft { align-self:flex-start; margin-top:6px; padding:4px 0; color:#777f8b; background:transparent; border:0; border-bottom:1px solid currentColor; font-size:8px; cursor:pointer; }
.draft-actions { display:flex; gap:12px; align-items:center; }
.retry-draft { margin-top:6px; padding:5px 9px; color:#fff; background:#0b326b; border:0; font-size:8px; font-weight:700; cursor:pointer; }
.secondary-form-button { min-height:44px; padding:0 16px; color:#24344b; background:#fff; border:1px solid #bfc7d2; font-size:10px; font-weight:750; cursor:pointer; }
.my-submissions-section { padding:70px 0; background:#fff; border-bottom:1px solid #e0e4e9; }
.my-submissions-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.my-submissions-list article { position:relative; padding:20px; border:1px solid #dfe3e8; background:#f8f9fb; }
.my-submissions-list article > div { display:flex; justify-content:space-between; gap:10px; margin-bottom:12px; }
.my-submissions-list article > div span { color:#fff; background:#0b326b; padding:4px 7px; font-size:8px; font-weight:800; }
.my-submissions-list article > div small { color:#7c8797; font-size:8px; }
.my-submissions-list strong { display:block; font-size:13px; }
.my-submissions-list p { margin:6px 0 16px; color:#687489; font-size:9px; }
.edit-submission { padding:7px 0; color:#a21920; background:transparent; border:0; border-bottom:1px solid currentColor; font-size:9px; font-weight:750; cursor:pointer; }
.submission-stage-visual { display:flex; align-items:center; gap:10px; padding:32px 24px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15); }
.submission-stage-visual span { display:flex; align-items:center; justify-content:center; width:58px; height:58px; color:#fff; background:#0e326a; border:1px solid rgba(255,255,255,.24); border-radius:50%; font-size:9px; font-weight:800; }
.submission-stage-visual i { width:18px; height:1px; background:#e3333b; }
.submission-stats-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.submission-stats-grid > article { padding:22px; background:#fff; border:1px solid #dfe3e8; }
.submission-stats-grid article > div { display:flex; justify-content:space-between; gap:12px; margin-bottom:20px; }
.submission-stats-grid article > div span { font-size:13px; font-weight:800; }
.submission-stats-grid article > div small { color:#748095; font-size:8px; }
.submission-stats-grid dl { display:grid; grid-template-columns:repeat(3,1fr); margin:0; }
.submission-stats-grid dl div { padding:0 13px; border-right:1px solid #e2e5e9; }
.submission-stats-grid dl div:first-child { padding-left:0; }
.submission-stats-grid dl div:last-child { padding-right:0; border-right:0; }
.submission-stats-grid dt { color:#788395; font-size:8px; }
.submission-stats-grid dd { margin:5px 0 0; font-size:24px; font-weight:800; }
.submission-stats-grid dd small { margin-left:2px; font-size:8px; }
.submission-stats-note { margin:14px 0 0; color:#788395; font-size:8px; }
.submission-date-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; padding:18px; background:#f4f6f8; }
.policy-page { padding:84px 0 110px; background:#f6f7f9; }
.policy-layout { display:grid; grid-template-columns:minmax(240px,.62fr) minmax(0,1.38fr); gap:80px; align-items:start; }
.policy-layout aside { position:sticky; top:100px; }
.policy-layout aside h1 { margin:8px 0 18px; font-size:42px; letter-spacing:-.05em; }
.policy-layout aside p:not(.section-label) { color:#697487; font-size:11px; line-height:1.9; }
.policy-layout article { padding:16px 44px 36px; background:#fff; border:1px solid #dfe3e8; }
.policy-layout article section { padding:30px 0; border-bottom:1px solid #e4e7eb; }
.policy-layout article section:last-child { border-bottom:0; }
.policy-layout article h2 { margin:0 0 12px; font-size:18px; }
.policy-layout article p { margin:0; color:#4f5b6d; font-size:11px; line-height:2; }
.error-page { display:grid; min-height:100vh; place-items:center; color:#fff; background:#061329; }
.error-page main { max-width:620px; padding:30px; text-align:center; }
.error-page main > p { margin:22px 0 0; color:#ff6565; font:800 13px/1 ui-monospace,monospace; }
.error-page h1 { margin:12px 0 28px; font-size:32px; }
.admin-hero { padding:58px 0; }
.admin-hero h1 { font-size:48px; }
.admin-console { min-height:520px; padding:56px 0 100px; background:#f4f5f7; }
.admin-login { display:grid; grid-template-columns:minmax(240px,520px) auto 1fr; gap:12px; align-items:end; margin-bottom:32px; }
.admin-login label { display:grid; gap:7px; color:#26354c; font-size:10px; font-weight:800; }
.admin-login input { min-height:44px; padding:10px 12px; border:1px solid #bcc5d1; }
.admin-login p { margin:0 0 10px; color:#a21920; font-size:9px; }
.moderation-list { display:grid; gap:14px; }
.moderation-list > article { padding:24px; background:#fff; border:1px solid #dce1e7; }
.moderation-list header { display:flex; justify-content:space-between; gap:12px; }
.moderation-list header span { padding:4px 8px; color:#fff; background:#7a2630; font-size:8px; font-weight:800; }
.moderation-list header b { font-size:10px; }
.moderation-list h2 { margin:15px 0 8px; font-size:18px; }
.moderation-list h2 small { color:#758094; font-size:9px; }
.moderation-list > article > p,.moderation-list dd { color:#515e70; font-size:10px; line-height:1.7; }
.moderation-list dl { display:grid; grid-template-columns:60px 1fr; gap:5px 12px; }
.moderation-list dt { color:#7a8595; font-size:9px; }
.moderation-list dd { margin:0; }
.moderation-list label { display:grid; gap:6px; margin:15px 0; color:#586477; font-size:9px; }
.moderation-list input { min-height:39px; padding:8px 10px; border:1px solid #cfd5de; }
.moderation-list article > div { display:flex; flex-wrap:wrap; gap:8px; }
.moderation-list button { min-height:36px; padding:0 12px; color:#fff; background:#0b326b; border:0; font-size:9px; font-weight:750; cursor:pointer; }
.moderation-list button.danger { background:#8a1f29; }
.moderation-message { color:#a21920 !important; }

@media (max-width:900px) {
  .utility-hero { padding:56px 0; }
  .utility-hero-grid,.consultation-layout { grid-template-columns:1fr; gap:38px; }
  .community-feed { grid-template-columns:1fr 1fr; }
  .community-post-card:first-child { grid-column:1 / -1; }
  .community-post-images { height:220px; }
  .submission-stage-visual { justify-content:center; }
  .submission-date-grid { grid-template-columns:repeat(2,1fr); }
  .policy-layout { grid-template-columns:1fr; gap:30px; }
  .policy-layout aside { position:static; }
}
@media (max-width:600px) {
  .utility-hero { padding:42px 0 52px; }
  .utility-hero h1 { font-size:38px; }
  .utility-hero p:not(.section-label) { font-size:12px; line-height:1.85; }
  .community-feed-section,.submission-stats-section,.consultation-form-section,.submission-report-section { padding:54px 0; }
  .community-feed,.draft-list,.submission-stats-grid,.my-submissions-list { grid-template-columns:1fr; }
  .community-post-card:first-child { grid-column:auto; }
  .consultation-form,.submission-form { grid-template-columns:1fr; padding:20px 16px; }
  .consultation-form > *,.submission-form > * { grid-column:1; }
  .consultation-intro h2 { font-size:28px; }
  .image-preview-grid { grid-template-columns:repeat(3,1fr); gap:5px; }
  .image-preview-grid img { height:105px; }
  .card-picker-results button { grid-template-columns:34px 1fr; }
  .card-picker-results button > b { display:none; }
  .form-submit-row { align-items:stretch; flex-direction:column; }
  .submission-stage-visual { flex-wrap:wrap; padding:22px 12px; }
  .submission-stage-visual span { width:49px; height:49px; }
  .submission-stage-visual i { width:9px; }
  .submission-date-grid { grid-template-columns:1fr 1fr; padding:13px; }
  .submission-stats-grid dl { grid-template-columns:1fr; gap:10px; }
  .submission-stats-grid dl div { padding:0 0 10px; border-right:0; border-bottom:1px solid #e2e5e9; }
  .submission-stats-grid dl div:last-child { border-bottom:0; }
  .report-form { grid-template-columns:1fr; }
  .report-form button { min-height:34px; }
  .policy-page { padding:50px 0 80px; }
  .policy-layout aside h1 { font-size:34px; }
  .policy-layout article { padding:8px 20px 24px; }
  .admin-login { grid-template-columns:1fr; align-items:stretch; }
}
