/* PornXHat — light theme (white / blue)
   Fonts: Bricolage Grotesque (headings), Plus Jakarta Sans (text) */

:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #f7f9fd;
  --ink: #0b1a33;
  --ink-2: #33415c;
  --mute: #66748e;
  --line: #e2e8f2;
  --line-2: #cfd9ea;
  --blue: #1f6bff;
  --blue-deep: #1450d6;
  --blue-soft: #eaf1ff;
  --sky: #38bdf8;
  --amber: #f5a524;
  --amber-soft: #fff4dd;
  --green: #12a15a;
  --green-soft: #e7f7ee;
  --red: #e5484d;
  --red-soft: #fdecec;
  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --text: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 16px;
  --r-sm: 10px;
  --sh-1: 0 1px 2px rgba(16, 38, 84, .06);
  --sh-2: 0 1px 2px rgba(16, 38, 84, .05), 0 10px 28px -14px rgba(16, 38, 84, .22);
  --sh-3: 0 2px 6px rgba(16, 38, 84, .06), 0 24px 48px -20px rgba(16, 38, 84, .3);
  --hdr-h: 72px;
  --tone: var(--blue);
  --tone-deep: var(--blue-deep);
  --tone-on: #fff;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); margin: 0; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(31, 107, 255, .45); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.shell { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.jump { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); }
.jump:focus { left: 12px; color: #fff; }

/* ---------- Buttons & small parts ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -8px rgba(31, 107, 255, .7); }
.btn-blue:hover { background: var(--blue-deep); color: #fff; transform: translateY(-1px); }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { height: 50px; padding: 0 26px; font-size: 16px; }
.btn-full { width: 100%; }

.score-pill { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font: 700 13px/1 var(--text); flex: none; }
.ico-img { width: 16px; height: 16px; border-radius: 4px; object-fit: contain; }
.ico-txt { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: var(--blue-soft); color: var(--blue-deep); font: 800 10px/1 var(--text); }
.rate-stars { display: inline-flex; gap: 2px; }
.st { width: 15px; height: 15px; background: #d7deea; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center/contain no-repeat; }
.st-on { background: var(--amber); }
.st-half { background: linear-gradient(90deg, var(--amber) 50%, #d7deea 50%); }

.trail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--mute); padding: 22px 0 0; }
.trail a { color: var(--ink-2); font-weight: 600; }
.trail a:hover { color: var(--blue); }
.page-top { padding: 18px 0 26px; max-width: 760px; }
.page-top h1 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 10px; }
.page-top p { color: var(--ink-2); font-size: 16.5px; margin: 0; }
.page-top b { color: var(--blue-deep); }
.nothing, .empty { margin: 30px auto; padding: 22px; text-align: center; color: var(--mute); background: var(--surface); border: 1.5px dashed var(--line-2); border-radius: var(--r); }
.is-off { display: none !important; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); --logo-h: 64px; }
.hdr-row { display: flex; align-items: center; gap: 22px; min-height: var(--hdr-h); padding-top: 10px; padding-bottom: 10px; transition: padding .2s; }
.logo { display: inline-flex; align-items: center; flex: none; color: var(--ink); }
.brandmark { height: 40px; width: auto; overflow: visible; transition: height .2s; }
.brandmark text { font-family: var(--head); font-weight: 800; font-size: 84px; letter-spacing: -.02em; }
.bm-tx { fill: var(--ink); }
.bm-hi { fill: var(--blue); }
.logo-img { display: block; height: var(--logo-h); width: auto; max-width: min(360px, 48vw); object-fit: contain; transition: height .2s; }
.hdr-small .hdr-row { padding-top: 6px; padding-bottom: 6px; }
.hdr-small .brandmark { height: 34px; }
.hdr-small .logo-img { height: min(var(--logo-h), 46px); }

.finder { flex: 1; max-width: 480px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .15s, box-shadow .15s, background .15s; }
.finder:focus-within { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 107, 255, .12); }
.finder svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--mute); stroke-width: 2.2; stroke-linecap: round; }
.finder input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; outline: 0; font-size: 15px; color: var(--ink); }
.finder input::placeholder { color: #8a97ad; }
.finder input::-webkit-search-cancel-button { cursor: pointer; }
.finder kbd { font: 600 12px/1 var(--text); color: var(--mute); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 7px; background: #fff; }

.mainmenu { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.mainmenu a { color: var(--ink-2); font-weight: 600; font-size: 15px; padding: 9px 12px; border-radius: 999px; }
.mainmenu a:hover { color: var(--blue); background: var(--blue-soft); }
.mainmenu .menu-cta { background: var(--blue); color: #fff; padding: 10px 18px; margin-left: 6px; }
.mainmenu .menu-cta:hover { background: var(--blue-deep); color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; flex: none; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle span:nth-child(1) { top: 14px; } .menu-toggle span:nth-child(2) { top: 20px; } .menu-toggle span:nth-child(3) { top: 26px; }
.hdr-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr-open .menu-toggle span:nth-child(2) { opacity: 0; }
.hdr-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Home: intro ---------- */
.intro { position: relative; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%); border-bottom: 1px solid var(--line); }
.intro::before, .intro::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.intro::before { width: 520px; height: 520px; right: -140px; top: -220px; background: rgba(56, 189, 248, .28); }
.intro::after { width: 420px; height: 420px; left: -180px; bottom: -260px; background: rgba(31, 107, 255, .16); }
.intro-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; padding-top: 52px; padding-bottom: 52px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 6px 14px 6px 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--sh-1); }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18, 161, 90, .5); animation: live 2.2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(18, 161, 90, .45); } 70% { box-shadow: 0 0 0 9px rgba(18, 161, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 161, 90, 0); } }
.intro h1 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.06; max-width: 15ch; }
.intro-lead { margin-top: 18px; color: var(--ink-2); font-size: 16.5px; max-width: 62ch; }
.intro-lead p:last-child { margin-bottom: 0; }
.intro-lead a { font-weight: 600; }
.stat-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; }
.stat-pills li { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink-2); box-shadow: var(--sh-1); }
.stat-pills b { color: var(--blue-deep); font-size: 15.5px; }
.stat-pills svg { width: 17px; height: 17px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.intro-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.intro-art { margin: 0; justify-self: center; }
.intro-art img { width: 100%; max-width: 520px; border-radius: 24px; box-shadow: var(--sh-3); }

.podium { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--sh-3); }
.podium h2 { font: 700 12.5px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.podium ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.podium li { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 12px; transition: background .15s; }
.podium li:hover { background: var(--surface-2); }
.pod-no { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--tone) 14%, #fff); color: var(--tone-deep); font: 800 14px/1 var(--head); }
.podium li:first-child .pod-no { background: var(--tone); color: var(--tone-on); }
.pod-name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pod-name a { color: var(--ink); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-name a:hover { color: var(--blue); }
.pod-name small { color: var(--mute); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Home: category bar ---------- */
.catbar { position: sticky; top: calc(var(--hdr-real, 73px) - 1px); z-index: 40; background: rgba(244, 247, 252, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.catbar-track { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.catbar a, .pills a { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 36px; padding: 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.catbar a i, .pills a i { width: 9px; height: 9px; border-radius: 50%; background: var(--tone); }
.catbar a:hover, .pills a:hover { background: color-mix(in srgb, var(--tone) 10%, #fff); border-color: color-mix(in srgb, var(--tone) 45%, #fff); color: var(--tone-deep); }

/* ---------- Home: category boxes ---------- */
.boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: start; padding-top: 26px; padding-bottom: 56px; }
.boxes-col { display: grid; gap: 20px; min-width: 0; align-content: start; }
.col-title { display: flex; align-items: center; gap: 10px; margin: 6px 2px -4px; font: 700 13px/1.2 var(--text); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.col-title span { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--sky), var(--blue)); color: #fff; font-size: 12px; letter-spacing: 0; }
.col-title::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.is-searching .col-title { display: none; }
.box { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); overflow: hidden; scroll-margin-top: 140px; }
.box::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--tone), color-mix(in srgb, var(--tone) 55%, #fff)); }
.box-top { display: flex; align-items: center; gap: 12px; padding: 18px 18px 12px; }
.box-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; object-fit: contain; background: color-mix(in srgb, var(--tone) 12%, #fff); padding: 5px; }
.box-ico-txt { display: grid; place-items: center; padding: 0; color: var(--tone-deep); font: 800 18px/1 var(--head); }
.box-title { min-width: 0; }
.box-title h2 { font-size: 18.5px; line-height: 1.2; }
.box-title h2 a { color: var(--ink); }
.box-title h2 a:hover { color: var(--tone-deep); }
.box-n { font-size: 12.5px; color: var(--mute); font-weight: 600; }
.box-note { margin: -2px 18px 10px; color: var(--mute); font-size: 13.5px; line-height: 1.45; }
.rows { list-style: none; margin: 0; padding: 0 8px 8px; }
.row { position: relative; display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 6px 10px; border-radius: 10px; transition: background .12s; }
.row:hover { background: var(--surface-2); }
.row + .row { box-shadow: inset 0 1px 0 #eef2f8; }
.row:hover, .row:hover + .row { box-shadow: none; }
.row-no { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 7px; background: color-mix(in srgb, var(--tone) 11%, #fff); color: var(--tone-deep); font: 700 11.5px/1 var(--text); }
.row:nth-child(-n+3) .row-no { background: var(--tone); color: var(--tone-on); }
.row-ico { display: grid; place-items: center; width: 18px; flex: none; }
.row-link { flex: 1; min-width: 0; color: var(--ink); font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-link:hover { color: var(--blue); }
.row-link:visited { color: #4b3fa8; }
.row-pick svg { width: 15px; height: 15px; fill: var(--amber); }
.row-rate { font: 700 12px/1 var(--text); color: var(--blue-deep); background: var(--blue-soft); padding: 5px 7px; border-radius: 999px; flex: none; }
.row-rv { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 7px; border-radius: 999px; color: var(--blue-deep); background: transparent; border: 1px solid var(--line); flex: none; font-size: 12.5px; font-weight: 700; transition: background .15s, color .15s, border-color .15s; }
.row-rv svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.row-rv span { display: none; }
.row:hover .row-rv, .row-rv:focus-visible { background: var(--blue); border-color: var(--blue); color: #fff; padding: 0 10px; }
.row:hover .row-rv span, .row-rv:focus-visible span { display: inline; }
@media (hover: none) { .row-rv { background: var(--blue-soft); border-color: transparent; } }
.row-more { display: none; }
.is-searching .row-more:not(.is-off) { display: flex; }
.is-searching .box-all { display: none; }
.box-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 8px 10px; padding: 11px; border-radius: 10px; background: color-mix(in srgb, var(--tone) 8%, #fff); color: var(--tone-deep); font-weight: 700; font-size: 14px; }
.box-all:hover { background: color-mix(in srgb, var(--tone) 15%, #fff); color: var(--tone-deep); }

/* ---------- Hover card ---------- */
.hovercard { position: fixed; z-index: 80; width: 296px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-3); overflow: hidden; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .16s, transform .16s; }
.hovercard.is-on { opacity: 1; transform: none; }
.hc-img { aspect-ratio: 16 / 10; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.hc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hc-body { padding: 13px 15px 15px; }
.hc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hc-head b { font-size: 15.5px; }
.hc-body p { margin: 7px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.hc-meta { margin-top: 9px; color: var(--mute); font-size: 12.5px; }

/* ---------- Site tiles (category + A–Z) ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); transition: box-shadow .18s, transform .18s, border-color .18s; }
.tile:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: var(--line-2); }
.tile-pick { border-color: #f6d28b; box-shadow: 0 0 0 3px var(--amber-soft), var(--sh-1); }
.tile-head { display: flex; align-items: center; gap: 12px; }
.tile-no { position: absolute; top: -10px; left: -8px; min-width: 28px; height: 28px; padding: 0 6px; display: grid; place-items: center; border-radius: 9px; background: var(--tone); color: var(--tone-on); font: 800 13px/1 var(--head); box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--tone) 70%, transparent); }
.tile-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); }
.tile-ico .ico-img { width: 30px; height: 30px; border-radius: 7px; }
.tile-ico .ico-txt { width: 30px; height: 30px; border-radius: 9px; font-size: 14px; background: color-mix(in srgb, var(--tone) 13%, #fff); color: var(--tone-deep); }
.tile-name { flex: 1; min-width: 0; }
.tile-name h3 { font-size: 17.5px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-name h3 a { color: var(--ink); }
.tile-name h3 a:hover { color: var(--blue); }
.tile-host { display: block; color: var(--mute); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pick, .tag-cat { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tag-pick { background: var(--amber-soft); color: #9a5b00; }
.tag-cat { background: color-mix(in srgb, var(--tone) 11%, #fff); color: var(--tone-deep); }
.tag-cat:hover { color: var(--tone-deep); background: color-mix(in srgb, var(--tone) 18%, #fff); }
.tile-text { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.tile-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 4px; }
.go-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; }
.go-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.go-btn:hover { background: var(--blue-deep); color: #fff; }
.txt-btn { font-weight: 700; font-size: 14px; color: var(--blue-deep); }
.txt-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Category page ---------- */
.band { background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 9%, #fff) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); margin-bottom: 30px; padding-bottom: 30px; }
.band-head { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.band-ico { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 18px; object-fit: contain; background: var(--tone); color: var(--tone-on); font: 800 28px/1 var(--head); box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--tone) 80%, transparent); }
img.band-ico { background: #fff; padding: 8px; border: 1px solid var(--line); }
.band h1 { font-size: clamp(28px, 3.6vw, 44px); }
.band-meta { margin: 4px 0 0; color: var(--ink-2); }
.band-meta b { color: var(--tone-deep); }
.band-desc { max-width: 780px; margin: 16px 0 0; color: var(--ink-2); font-size: 16px; }
.invite { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 40px 0 0; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--tone); border-radius: var(--r); box-shadow: var(--sh-1); }
.invite h2 { font-size: 22px; margin-bottom: 4px; }
.invite p { margin: 0; color: var(--ink-2); }
.more-cats { padding: 40px 0 60px; }
.more-cats h2 { font-size: 22px; margin-bottom: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- A–Z ---------- */
.az { position: sticky; top: calc(var(--hdr-real, 73px) - 1px); z-index: 30; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0; margin-bottom: 8px; background: rgba(244, 247, 252, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.az a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; font-size: 14px; }
.az a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.az-list { padding-bottom: 60px; }
.az-block { padding-top: 18px; scroll-margin-top: 140px; }
.az-letter { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.az-letter span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--sky), var(--blue)); color: #fff; font-size: 24px; }
.az-letter small { color: var(--mute); font: 600 14px/1 var(--text); }

/* ---------- Review page ---------- */
.draft-note { margin: 18px 0 0; padding: 12px 16px; border: 1.5px dashed #f0b44c; border-radius: var(--r-sm); background: var(--amber-soft); color: #6d4300; font-size: 14px; }
.rv-top { background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--tone) 7%, var(--bg)) 100%); border-bottom: 1px solid var(--line); padding-bottom: 40px; }
.rv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; margin-top: 22px; }
.rv-noshot { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.rv-id { display: flex; align-items: center; gap: 16px; }
.rv-ico { width: 68px; height: 68px; flex: none; display: grid; place-items: center; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.rv-ico .ico-img { width: 44px; height: 44px; border-radius: 10px; }
.rv-ico .ico-txt { width: 44px; height: 44px; border-radius: 13px; font-size: 20px; background: color-mix(in srgb, var(--tone) 13%, #fff); color: var(--tone-deep); }
.rv h1 { font-size: clamp(28px, 3.8vw, 46px); }
.rv-host { color: var(--mute); font-size: 14px; font-weight: 600; }
.rv-lead { margin: 20px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.verdict { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); max-width: 460px; }
.verdict-num { display: flex; align-items: baseline; gap: 2px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(135deg, var(--sky), var(--blue)); color: #fff; }
.verdict-num b { font: 800 34px/1 var(--head); }
.verdict-num span { font-weight: 700; opacity: .85; }
.verdict-txt { flex: 1; display: grid; gap: 7px; }
.verdict-txt strong { font-family: var(--head); font-size: 19px; }
.meter { display: block; height: 7px; border-radius: 99px; background: #e6ecf6; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--blue)); }
.rv-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.browser { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-3); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4dceb; }
.browser-bar i:nth-child(1) { background: #ff8a80; } .browser-bar i:nth-child(2) { background: #ffd166; } .browser-bar i:nth-child(3) { background: #7bd88f; }
.browser-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--mute); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.browser .zoom img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 26px; }
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .15s, box-shadow .15s; }
.shot:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.rv-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-top: 36px; }
.rv-body { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 34px; box-shadow: var(--sh-1); }
.rv-body h2 { font-size: 26px; margin-bottom: 14px; }
.text { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.text h2, .text h3 { margin: 1.4em 0 .5em; color: var(--ink); }
.text h2 { font-size: 22px; } .text h3 { font-size: 19px; }
.text a { text-decoration: underline; text-underline-offset: 3px; }
.text ul, .text ol { padding-left: 1.3em; }
.text li { margin: .3em 0; }
.text blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--blue); background: var(--blue-soft); border-radius: 0 10px 10px 0; color: var(--ink); }
.plusminus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.pm { padding: 18px 20px; border-radius: 14px; }
.pm h3 { font-size: 17px; margin-bottom: 10px; }
.pm ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pm li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink-2); }
.pm li::before { position: absolute; left: 0; top: 1px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; font: 800 12px/1 var(--text); color: #fff; }
.pm-plus { background: var(--green-soft); } .pm-plus h3 { color: #0b7a43; } .pm-plus li::before { content: "+"; background: var(--green); }
.pm-minus { background: var(--red-soft); } .pm-minus h3 { color: #b4262b; } .pm-minus li::before { content: "–"; background: var(--red); }
.rv-aside { display: grid; gap: 16px; position: sticky; top: 90px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--sh-1); }
.panel h2 { font-size: 18px; margin-bottom: 14px; }
.scores { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.scores li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 14px; }
.sc-name { color: var(--ink-2); font-weight: 600; }
.sc-val { font-weight: 800; color: var(--blue-deep); }
.scores .meter { grid-column: 1 / -1; height: 6px; }
.facts { margin: 0 0 16px; display: grid; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--mute); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.similar { padding: 44px 0 60px; }
.similar h2 { font-size: 24px; margin-bottom: 16px; }
.similar-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.similar-grid a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; transition: border-color .15s, box-shadow .15s; }
.similar-grid a:hover { border-color: var(--blue); box-shadow: var(--sh-1); color: var(--blue); }
.sim-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 60px 70px; background: rgba(8, 20, 42, .9); }
.viewer img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.vw-x, .vw-prev, .vw-next { position: absolute; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.vw-x:hover, .vw-prev:hover, .vw-next:hover { background: var(--blue); }
.vw-x { top: 16px; right: 16px; }
.vw-prev { left: 14px; top: 50%; translate: 0 -50%; }
.vw-next { right: 14px; top: 50%; translate: 0 -50%; }

/* ---------- Add your site ---------- */
.steps-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; }
.steps-row li { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px 0 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.steps-row b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); }
.add-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 26px; align-items: start; padding-bottom: 60px; }
.formcard, .linkcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--sh-2); }
.formcard h2, .linkcard h2 { font-size: 23px; margin-bottom: 16px; }
.linkcard { position: sticky; top: 90px; }
.linkcard > p { color: var(--ink-2); font-size: 14.5px; }
.errbox { margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; background: var(--red-soft); color: #93191e; font-size: 14px; }
.errbox ul { margin: 6px 0 0; padding-left: 1.2em; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.fld { display: block; margin: 0 0 16px; font-weight: 700; font-size: 14px; color: var(--ink); min-width: 0; }
.fld small { font-weight: 500; color: var(--mute); margin-left: 4px; }
.fld small.is-bad { color: var(--red); }
.fld input, .fld select, .fld textarea { display: block; width: 100%; margin-top: 7px; padding: 12px 14px; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 12px; font-weight: 400; font-size: 15px; color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 107, 255, .12); }
.fld textarea { resize: vertical; min-height: 120px; }
fieldset.fld { border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 14px 16px 2px; }
fieldset.fld legend { padding: 0 6px; }
.upload { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; font-size: 14px; cursor: pointer; }
.fld .upload input { display: inline-block; width: auto; max-width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 13px; }
.tick { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.tick input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.fine { margin: 12px 0 0; color: var(--mute); font-size: 13px; text-align: center; }
.snippet { padding: 14px 0; border-top: 1px solid var(--line); }
.snippet-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.copy { height: 32px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--blue-deep); font-weight: 700; font-size: 13px; cursor: pointer; }
.copy:hover { border-color: var(--blue); }
.copy.is-done { background: var(--green); border-color: var(--green); color: #fff; }
.snippet-demo { display: flex; align-items: center; min-height: 40px; margin-bottom: 10px; padding: 10px 12px; background: var(--surface-2); border-radius: 10px; overflow: hidden; }
.snippet textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink-2); resize: none; }
.notice { max-width: 680px; margin: 30px 0 70px; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-2); }
.notice h1 { font-size: 30px; margin-bottom: 12px; }
.notice p { color: var(--ink-2); }
.notice-ok { border-top: 5px solid var(--green); }

/* ---------- 404 ---------- */
.lost { text-align: center; padding-top: 80px; padding-bottom: 100px; max-width: 640px; }
.lost-code { margin: 0 0 6px; font: 800 96px/1 var(--head); background: linear-gradient(135deg, var(--sky), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.lost p { color: var(--ink-2); }
.lost .btn { margin: 6px 4px 0; }

/* ---------- Footer ---------- */
.ftr { background: #0c1f45; color: #b9c7e3; margin-top: 20px; }
.ftr a { color: #e3ebfb; }
.ftr a:hover { color: #fff; }
.ftr-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, .8fr); gap: 40px; padding-top: 52px; padding-bottom: 36px; }
.ftr .logo-sm .brandmark { height: 34px; }
.ftr .bm-tx { fill: #fff; }
.ftr .bm-hi { fill: #7cc4ff; }
.ftr h2 { color: #fff; font-size: 16px; margin: 0 0 14px; letter-spacing: 0; }
.ftr-about h2 { margin-top: 18px; }
.ftr-text { margin-top: 14px; font-size: 14.5px; line-height: 1.65; }
.ftr-text p { margin: 0 0 .8em; }
.ftr-links ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.ftr-short ul { columns: 1; }
.ftr-links li { margin: 0 0 9px; break-inside: avoid; font-size: 14.5px; }
.ftr-base { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: 26px; font-size: 13px; }
.ftr-base::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: rgba(255, 255, 255, .1); }
.ftr-base p { margin: 0; }
.ftr-code { width: 100%; }
.age-tag { display: inline-grid; place-items: center; height: 22px; padding: 0 7px; margin-right: 6px; border-radius: 6px; background: #e5484d; color: #fff; font-weight: 800; font-size: 11.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .podium, .intro-art { max-width: 620px; width: 100%; justify-self: start; }
  .rv-cols { grid-template-columns: minmax(0, 1fr); }
  .rv-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .add-grid { grid-template-columns: minmax(0, 1fr); }
  .linkcard { position: static; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 64px; }
  .hdr-row { flex-wrap: wrap; gap: 10px 14px; }
  .menu-toggle { display: block; }
  .mainmenu { display: none; width: 100%; order: 5; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 8px 0 6px; border-top: 1px solid var(--line); }
  .hdr-open .mainmenu { display: flex; }
  .mainmenu a { padding: 12px 10px; border-radius: 10px; }
  .mainmenu .menu-cta { margin: 6px 0 0; text-align: center; }
  .finder { order: 4; flex-basis: 100%; max-width: none; height: 44px; }
  .hdr-small .finder { display: none; }
  .rv-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .browser { order: -1; }
  .ftr-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .shell { padding: 0 16px; }
  .ftr-base::before { left: 16px; right: 16px; }
  .brandmark { height: 32px; }
  .logo-img { height: min(var(--logo-h), 52px); max-width: 60vw; }
  .hdr-small .brandmark { height: 28px; }
  .finder kbd { display: none; }
  .intro-grid { padding-top: 32px; padding-bottom: 36px; }
  .intro-btns .btn { flex: 1; }
  .boxes { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .invite { flex-direction: column; align-items: flex-start; padding: 22px; }
  .rv-body { padding: 22px 18px; }
  .plusminus, .two { grid-template-columns: minmax(0, 1fr); gap: 0 14px; }
  .plusminus { gap: 12px; }
  .formcard, .linkcard { padding: 20px 16px; }
  .verdict { gap: 14px; }
  .verdict-num b { font-size: 28px; }
  .viewer { padding: 60px 10px 90px; }
  .vw-prev, .vw-next { top: auto; bottom: 20px; translate: none; }
  .ftr-links ul { columns: 1; }
  .lost-code { font-size: 72px; }
}
