/* ============================================================
   RADAR — design system / styles
   Mono ink+paper, gold for top signals. Mobile-first, GPU-only animation.
   ============================================================ */

/* ---------- tokens ---------- */
:root{
  --bg:#f3f4f7; --surface:#ffffff; --surface-2:#fbfbfd;
  --tile:#eef0f3; --tile-2:#e6e9ef;
  --ink:#14161b; --ink-soft:#33373f; --dim:#6b7280; --faint:#a4a9b4;
  --line:#e8eaef; --line-strong:#d9dce3;
  --brand:#14161b; --on-brand:#ffffff;
  --ink-panel:#15171c; --on-ink:#f5f6f8;
  --gold:#1f8a5b; --gold-bright:#23a06a; --gold-soft:#e3f4ec;
  --ok:#179a73; --off:#db5040; --info:#3461c9;
  --header-bg:rgba(248,249,251,.82);

  --sans:"Onest",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"JetBrains Mono",ui-monospace,"SFMono-Regular",monospace;

  --r:20px; --r-lg:26px; --r-sm:13px; --r-pill:999px;
  --ease:cubic-bezier(.22,1,.36,1); --ease2:cubic-bezier(.16,1,.3,1);
  --shadow-sm:0 1px 2px rgba(16,24,40,.05);
  --shadow:0 1px 2px rgba(16,24,40,.04),0 14px 30px -18px rgba(16,24,40,.22);
  --shadow-lg:0 30px 70px -28px rgba(16,24,40,.32);
  --tap:48px;
  --safe-b:env(safe-area-inset-bottom,0px);
}
[data-theme="dark"]{
  --bg:#0c0d11; --surface:#16181e; --surface-2:#1b1e25;
  --tile:#1d2027; --tile-2:#262a33;
  --ink:#f0f1f4; --ink-soft:#cfd2d9; --dim:#969ba6; --faint:#595e6a;
  --line:#262a32; --line-strong:#343a45;
  --brand:#f0f1f4; --on-brand:#0c0d11;
  --ink-panel:#191c22; --on-ink:#f5f6f8;
  --gold:#35ba81; --gold-bright:#49cb92; --gold-soft:#11241b;
  --ok:#2bbd8f; --off:#e8675a; --info:#5a86ee;
  --header-bg:rgba(12,13,17,.78);
  --shadow-sm:0 1px 2px rgba(0,0,0,.4);
  --shadow:0 1px 2px rgba(0,0,0,.4),0 16px 36px -20px rgba(0,0,0,.7);
  --shadow-lg:0 36px 80px -30px rgba(0,0,0,.8);
}

*{box-sizing:border-box}
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--sans); font-size:15px; line-height:1.5;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  padding-bottom:calc(28px + var(--safe-b));
  overflow-x:hidden;
}
body.gated{ overflow:hidden; height:100vh; }
a{ color:inherit; text-decoration:none; cursor:pointer; -webkit-tap-highlight-color:transparent; }
button{ font-family:inherit; -webkit-tap-highlight-color:transparent; }
img{ max-width:100%; display:block; }
::selection{ background:var(--ink); color:var(--bg); }
input,textarea,select{ font-family:inherit; }

/* scrollbars */
*{ scrollbar-width:thin; scrollbar-color:var(--line-strong) transparent; }
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-thumb{ background:var(--line-strong); border-radius:99px; border:3px solid var(--bg); }

.wrap{ max-width:1240px; margin:0 auto; padding:0 24px; }
.mono{ font-family:var(--mono); letter-spacing:-.01em; font-feature-settings:"ss01"; }
.eyebrow{ font-family:var(--mono); font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--dim); font-weight:500; }
.dim{ color:var(--dim); }
.gold{ color:var(--gold); }
.nowrap{ white-space:nowrap; }
.muted-rule{ height:1px; background:var(--line); border:0; margin:0; }

/* ---------- icons ---------- */
.ic{ width:20px; height:20px; flex:none; stroke:currentColor; stroke-width:1.75; fill:none; stroke-linecap:round; stroke-linejoin:round; display:inline-block; vertical-align:middle; }
/* icon wrapper spans (data-ic is stripped after JS fills them) sit inline; keep them centered on the text */
.qn span:not(.cc), .cat-btn span, .dd-ic, .si, .tab-i span, .cr-title span, .cr-item span{ display:inline-flex; align-items:center; }
.ic.sm{ width:16px; height:16px; }
.ic.lg{ width:24px; height:24px; }
.ic-fill{ fill:currentColor; stroke:none; }

/* ---------- buttons ---------- */
.btn{
  height:46px; padding:0 17px; border:1px solid var(--line-strong); border-radius:var(--r-sm);
  background:var(--surface); color:var(--ink); font-size:14px; font-weight:600;
  display:inline-flex; align-items:center; justify-content:center; gap:8px; cursor:pointer; white-space:nowrap;
  transition:border-color .2s, transform .12s var(--ease), background .2s, color .2s, box-shadow .2s;
}
.btn:active{ transform:scale(.97); }
.btn.primary{ background:var(--brand); color:var(--on-brand); border-color:var(--brand); }
.btn.ghost{ background:transparent; border-color:transparent; }
.btn.ghost:hover{ background:var(--tile); }
.btn.sm{ height:38px; padding:0 13px; font-size:13px; }
.btn.block{ width:100%; height:50px; }
.btn .ic{ width:17px; height:17px; }
@media (hover:hover){
  .btn:hover{ border-color:var(--faint); }
  .btn.primary:hover{ box-shadow:0 8px 22px -8px color-mix(in oklab,var(--brand) 55%, transparent); }
}
.icon-btn{
  width:46px; height:46px; border-radius:var(--r-sm); border:1px solid var(--line-strong);
  background:var(--surface); display:grid; place-items:center; color:var(--dim); cursor:pointer;
  transition:border-color .2s, color .2s, transform .12s var(--ease), background .2s;
}
.icon-btn:active{ transform:scale(.94); }
@media (hover:hover){ .icon-btn:hover{ color:var(--ink); border-color:var(--faint); } }

/* ---------- radar mark / logo ---------- */
.logo{ display:inline-flex; align-items:center; gap:11px; cursor:pointer; user-select:none; }
.wm{ display:inline-flex; align-items:center; font-weight:800; font-size:18px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink); line-height:1; padding-left:.04em; }
.wm b{ color:inherit; font-weight:800; }
.wm::after{ content:""; width:5px; height:5px; border-radius:50%; background:var(--gold); margin-left:.18em; flex:none; }
.mark{ position:relative; width:32px; height:32px; flex:none; color:var(--ink); }
.mark .mark-svg{ width:100%; height:100%; display:block; }
.m-cut{ stroke:var(--surface); }
.m-cut-f{ fill:var(--surface); }
.mark.lg{ width:40px; height:40px; }
@keyframes sweep{ to{ transform:rotate(360deg); } }

/* ---------- header (desktop) ---------- */
header{
  position:sticky; top:0; z-index:40; background:var(--header-bg);
  -webkit-backdrop-filter:saturate(1.6) blur(14px); backdrop-filter:saturate(1.6) blur(14px);
  border-bottom:1px solid var(--line);
}
.bar{ display:flex; align-items:center; gap:12px; height:70px; }
.cat-btn{
  height:46px; border-radius:var(--r-sm); background:var(--brand); color:var(--on-brand); font-weight:600;
  border:0; padding:0 16px; display:inline-flex; align-items:center; gap:9px; cursor:pointer; font-size:14px; white-space:nowrap;
  transition:transform .12s var(--ease), box-shadow .2s;
}
.cat-btn:active{ transform:scale(.97); }
.search{ position:relative; flex:1; min-width:120px; }
.search input{
  width:100%; height:46px; border:1px solid var(--line-strong); border-radius:var(--r-sm);
  background:var(--surface); color:var(--ink); padding:0 16px 0 44px; font-size:14.5px; outline:none;
  transition:border-color .2s, box-shadow .2s;
}
.search input::placeholder{ color:var(--faint); }
.search input:focus{ border-color:var(--ink); box-shadow:0 0 0 4px color-mix(in oklab,var(--ink) 8%, transparent); }
.search .si{ position:absolute; left:15px; top:50%; transform:translateY(-50%); color:var(--faint); display:grid; place-items:center; }
.ac{
  position:absolute; top:54px; left:0; right:0; background:var(--surface); border:1px solid var(--line);
  border-radius:16px; overflow:hidden; z-index:5; box-shadow:var(--shadow-lg);
  opacity:0; transform:translateY(-6px) scale(.99); transform-origin:top; pointer-events:none;
  transition:opacity .18s var(--ease), transform .18s var(--ease);
}
.search.open .ac{ opacity:1; transform:none; pointer-events:auto; }
.ac a{ display:flex; align-items:center; gap:12px; padding:12px 15px; font-size:14px; border-bottom:1px solid var(--line); }
.ac a:last-child{ border-bottom:0; }
.ac .t{ color:var(--dim); font-size:12px; margin-left:auto; font-family:var(--mono); }
@media (hover:hover){ .ac a:hover{ background:var(--tile); } }

.quicknav{ display:flex; gap:24px; padding:2px 0 14px; overflow:auto; scrollbar-width:none; }
.quicknav::-webkit-scrollbar{ display:none; }
.qn{ font-size:14px; color:var(--dim); font-weight:500; white-space:nowrap; display:inline-flex; align-items:center; gap:7px; transition:color .2s; }
.qn .ic{ width:16px; height:16px; opacity:.7; }
@media (hover:hover){ .qn:hover{ color:var(--ink); } }

/* category dropdown */
.dd{ position:relative; }
.dd-panel{
  position:absolute; top:54px; left:0; width:360px; background:var(--surface); border:1px solid var(--line);
  border-radius:18px; padding:8px; display:grid; grid-template-columns:1fr 1fr; gap:4px; z-index:20; box-shadow:var(--shadow-lg);
  opacity:0; transform:translateY(-8px) scale(.98); transform-origin:top left; pointer-events:none;
  transition:opacity .2s var(--ease), transform .2s var(--ease);
}
.dd.open .dd-panel{ opacity:1; transform:none; pointer-events:auto; }
.dd-panel a{ display:flex; align-items:center; gap:11px; padding:11px 12px; border-radius:11px; font-size:14px; font-weight:500; }
.dd-ic{ width:32px; height:32px; border-radius:10px; background:var(--tile); display:grid; place-items:center; color:var(--ink-soft); }
.dd-ic .ic{ width:17px; height:17px; }
.dd-panel a .cc{ margin-left:auto; font-family:var(--mono); font-size:12px; color:var(--faint); }
@media (hover:hover){ .dd-panel a:hover{ background:var(--tile); } }

/* ---------- mobile top bar + bottom tabs ---------- */
.mtop{ display:none; }
.tabbar{ display:none; }
@media (max-width:899px){
  header{ display:none; }
  .mtop{
    display:flex; align-items:center; gap:10px; position:sticky; top:0; z-index:40; height:60px; padding:0 16px;
    background:var(--header-bg); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); border-bottom:1px solid var(--line);
  }
  .mtop .logo{ font-size:19px; }
  .mtop .spacer{ flex:1; }
  .tabbar{
    display:grid; grid-auto-flow:column; grid-auto-columns:1fr; position:fixed; left:0; right:0; bottom:0; z-index:45;
    background:var(--header-bg); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px);
    border-top:1px solid var(--line); padding:6px 6px calc(6px + var(--safe-b));
  }
  .tab-i{
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:6px 0;
    color:var(--faint); font-size:9.5px; font-weight:600; letter-spacing:.005em; border-radius:14px; position:relative;
    transition:color .2s; min-height:var(--tap);
  }
  .tab-i .ic{ width:22px; height:22px; transition:transform .2s var(--ease); }
  .tab-i.active{ color:var(--ink); }
  .tab-i.active .ic{ transform:translateY(-1px); }
  .tab-i.active::before{ content:""; position:absolute; top:2px; width:30px; height:3px; border-radius:99px; background:var(--gold); }
  body{ padding-bottom:calc(74px + var(--safe-b)); }
}

/* ---------- sections / heads ---------- */
section{ margin-top:54px; }
section:first-child{ margin-top:30px; }
.head{ display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:22px; }
.head h2{ font-size:29px; font-weight:800; letter-spacing:-.03em; margin:0; line-height:1.05; }
.head .sub{ color:var(--dim); font-size:14px; }
.cnt{ display:inline-flex; align-items:center; gap:8px; font-size:14px; color:var(--dim); font-weight:500; }
.live-dot{ width:8px; height:8px; border-radius:50%; background:var(--ok); position:relative; }
.live-dot::after{ content:""; position:absolute; inset:-4px; border-radius:50%; border:1.5px solid var(--ok); opacity:.5; animation:pulse 2s var(--ease) infinite; }
@keyframes pulse{ 0%{ transform:scale(.6); opacity:.6; } 100%{ transform:scale(1.5); opacity:0; } }

/* view switching + reveal
   base = always visible; entrance animation only under no-preference, replays when a view activates */
.view{ display:none; }
.view.active{ display:block; }
@keyframes revealIn{ from{ transform:translateY(20px); } to{ transform:none; } }
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; }
  .mark::before{ display:none; }
}
@media (prefers-reduced-motion:no-preference){
  .view.active [data-reveal]{ animation:revealIn .6s var(--ease) backwards; }
  [data-reveal]:nth-child(2){ animation-delay:.05s; }
  [data-reveal]:nth-child(3){ animation-delay:.1s; }
  [data-reveal]:nth-child(4){ animation-delay:.15s; }
  [data-reveal]:nth-child(5){ animation-delay:.2s; }
  [data-reveal]:nth-child(6){ animation-delay:.25s; }
  [data-reveal]:nth-child(n+7){ animation-delay:.3s; }
}

/* ---------- hero ---------- */
.hero{ position:relative; margin-top:26px; border-radius:var(--r-lg); overflow:hidden; background:var(--ink-panel); color:var(--on-ink); padding:24px 30px; box-shadow:var(--shadow-lg); }
.hero .grid-bg{ position:absolute; inset:0; opacity:.5;
  background:
    radial-gradient(120% 120% at 85% -10%, color-mix(in oklab,var(--gold) 22%, transparent), transparent 55%),
    repeating-radial-gradient(circle at 88% 8%, transparent 0 34px, rgba(255,255,255,.045) 34px 35px); }
.hero-in{ position:relative; max-width:680px; display:flex; flex-direction:column; gap:16px; }
.hero .kicker{ display:inline-flex; align-items:center; gap:9px; font-family:var(--mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.7); padding:7px 13px; border:1px solid rgba(255,255,255,.16); border-radius:99px; }
.hero h1{ font-size:27px; line-height:1.08; letter-spacing:-.025em; font-weight:800; margin:0; max-width:560px; text-wrap:balance; }
.hero h1 em{ font-style:normal; color:var(--gold-bright); }
.hero p{ font-size:16px; color:rgba(255,255,255,.78); margin:0 0 26px; max-width:480px; line-height:1.55; }
.hero-stats{ display:flex; gap:28px; flex-wrap:wrap; }
.hstat .n{ font-size:21px; font-weight:800; letter-spacing:-.02em; font-family:var(--mono); }
.hstat .l{ font-size:12.5px; color:rgba(255,255,255,.6); margin-top:2px; }
.hero-search{ margin-top:28px; display:flex; gap:10px; max-width:520px; }
.hero-search input{ flex:1; height:52px; border-radius:14px; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.06); color:#fff; padding:0 18px; font-size:15px; outline:none; transition:border-color .2s, background .2s; }
.hero-search input::placeholder{ color:rgba(255,255,255,.5); }
.hero-search input:focus{ border-color:rgba(255,255,255,.4); background:rgba(255,255,255,.1); }
.hero-search .btn{ background:var(--gold); border-color:var(--gold); color:#1a1408; height:52px; padding:0 22px; }
.hero-dish{ position:absolute; right:-40px; top:50%; transform:translateY(-50%); width:190px; height:190px; border-radius:50%; pointer-events:none;
  background:repeating-radial-gradient(circle at center, transparent 0 26px, rgba(255,255,255,.06) 26px 27px); }
.hero-dish::before{ content:""; position:absolute; inset:0; border-radius:50%; background:conic-gradient(from 0deg, color-mix(in oklab,var(--gold) 40%, transparent), transparent 30%); animation:sweep 5s linear infinite; animation-play-state:var(--sweep-play,running); }
.hero-dish::after{ content:""; position:absolute; inset:0; border-radius:50%; box-shadow:inset 0 0 0 1px rgba(255,255,255,.1); }
@media (max-width:899px){ .hero{ padding:22px 20px; } .hero h1{ font-size:23px; }
  /* keep the radar sweep on mobile, smaller and tucked into the top-right corner */
  .hero-dish{ display:block; right:-46px; top:-36px; transform:none; width:150px; height:150px; opacity:.85; }
}

/* trust strip */
.trust{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:18px; }
.trust .ti{ display:flex; align-items:center; gap:12px; padding:16px 18px; border:1px solid var(--line); border-radius:var(--r); background:var(--surface); box-shadow:var(--shadow-sm); }
.trust .ti .ic{ color:var(--ink); width:22px; height:22px; }
.trust .ti b{ display:block; font-size:14.5px; font-weight:700; }
.trust .ti span{ font-size:12.5px; color:var(--dim); }
@media (max-width:899px){ .trust{ grid-template-columns:1fr 1fr; } }

/* ---------- banners ---------- */
.bgrid{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.bn{ aspect-ratio:345/150; border-radius:var(--r); background:
    repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in oklab,var(--ink) 3%, transparent) 11px 22px), var(--tile);
  border:1px dashed var(--line-strong); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  color:var(--faint); cursor:pointer; transition:transform .18s var(--ease), background .2s, border-color .2s; }
.bn .bl{ font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; }
.bn .bd{ font-size:12px; color:var(--faint); }
@media (hover:hover){ .bn:hover{ transform:translateY(-3px); border-color:var(--faint); } }
@media (max-width:1100px){ .bgrid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:680px){ .bgrid{ grid-template-columns:1fr 1fr; gap:12px; } }

/* ---------- categories (Avito-style, compact uniform tiles + real renders) ---------- */
.cats{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:80px; grid-auto-flow:dense; gap:9px; }
.cat{ position:relative; border-radius:14px; background:#f3f3f4; border:1px solid #e4e5e9; padding:12px 14px; cursor:pointer; overflow:hidden; color:#16181d; transition:transform .18s var(--ease), box-shadow .2s, border-color .2s; }
/* size variants: tall = 1×2, big = 2×2 (featured). never wider than half. */
.cat.tall{ grid-row:span 2; }
.cat.big{ grid-column:span 2; grid-row:span 2; }
.cat-head{ position:relative; z-index:2; max-width:54%; }
.cat .nm{ font-size:14.5px; font-weight:700; letter-spacing:-.01em; line-height:1.15; text-wrap:balance; color:#16181d; }
.cat .cc{ font-family:var(--mono); font-size:11px; color:#6b7280; margin-top:4px; }
.cat.tall .nm, .cat.big .nm{ font-size:16.5px; }
.cat.tall .cat-head, .cat.big .cat-head{ max-width:80%; }
/* render: short tiles → right; tall/big tiles → large, anchored bottom */
.cat-art{ position:absolute; right:0; top:0; bottom:0; width:48%; z-index:1; }
.cat-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center right; opacity:0; transition:opacity .3s, transform .25s var(--ease); }
.cat.tall .cat-art, .cat.big .cat-art{ top:auto; left:0; right:0; width:100%; height:62%; bottom:0; }
.cat.tall .cat-photo, .cat.big .cat-photo{ object-position:bottom center; }
.cat.big .cat-art{ height:66%; left:auto; right:0; width:78%; }
.cat.big .cat-photo{ object-position:bottom right; }
.cat-photo.on{ opacity:1; }
.cat-photo.on + .cat-fallback{ display:none; }
.cat-fallback{ position:absolute; right:6px; bottom:5px; width:54px; height:54px; }
.cat.tall .cat-fallback{ right:50%; transform:translateX(50%); bottom:14px; width:84px; height:84px; }
.cat.big .cat-fallback{ width:104px; height:104px; right:16px; bottom:14px; }
.cat-fallback svg{ width:100%; height:100%; display:block; }
.cat.all{ background:var(--ink-panel); border-color:var(--ink-panel); color:var(--on-ink); }
.cat.all .nm{ color:var(--on-ink); } .cat.all .cc{ color:rgba(255,255,255,.6); }
@media (hover:hover){ .cat:hover{ transform:translateY(-3px); box-shadow:var(--shadow); border-color:#d3d5db; }
  .cat.all:hover{ border-color:var(--ink-panel); }
  .cat:hover .cat-photo{ transform:scale(1.05); }
  .cat.tall:hover .cat-fallback{ transform:translateX(50%) scale(1.05); } }
@media (max-width:980px){ .cat.big .cat-head, .cat.tall .cat-head{ max-width:74%; } }
@media (max-width:680px){ .cats{ grid-template-columns:1fr 1fr; grid-auto-rows:84px; gap:8px; }
  .cat{ padding:11px 12px; }
  .cat .nm{ font-size:13.5px; } .cat .cc{ font-size:10px; margin-top:3px; }
  /* shrink corner art on small tiles so it never reaches the text */
  .cat-head{ max-width:60%; }
  .cat-art{ width:38%; }
  .cat-fallback{ width:42px; height:42px; right:5px; bottom:5px; }
  .cat.all .cat-fallback{ width:38px; height:38px; }
  /* big → wide short banner */
  .cat.big{ grid-column:span 2; grid-row:span 1; }
  .cat.big .nm{ font-size:15px; } .cat.big .cat-head{ max-width:58%; }
  .cat.big .cat-art{ top:0; height:100%; width:40%; }
  .cat.big .cat-photo{ object-position:center right; }
  .cat.big .cat-fallback{ width:58px; height:58px; right:12px; bottom:8px; transform:none; }
  /* tall: text on top, image fills lower half */
  .cat.tall{ grid-row:span 2; }
  .cat.tall .nm{ font-size:15px; } .cat.tall .cat-head{ max-width:82%; }
  .cat.tall .cat-art{ left:0; right:0; top:auto; width:100%; height:56%; bottom:0; }
  .cat.tall .cat-fallback{ right:50%; transform:translateX(50%); width:68px; height:68px; bottom:12px; } }

/* announce */
.announce{ margin-top:18px; border-radius:var(--r-lg); background:var(--ink-panel); color:var(--on-ink); padding:32px 36px; display:flex; align-items:center; justify-content:space-between; gap:24px; overflow:hidden; position:relative; box-shadow:var(--shadow); }
.announce .grid-bg{ position:absolute; inset:0; opacity:.45; background:repeating-radial-gradient(circle at 12% 50%, transparent 0 30px, rgba(255,255,255,.05) 30px 31px); }
.announce h3{ margin:0 0 6px; font-size:25px; font-weight:800; letter-spacing:-.02em; position:relative; }
.announce p{ margin:0; font-size:14.5px; opacity:.82; position:relative; }
.announce-cd{ position:relative; display:inline-flex; align-items:center; gap:9px; margin-top:16px; padding:8px 14px; border-radius:999px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); font-size:13px; color:rgba(255,255,255,.8); }
.announce-cd b{ font-family:var(--mono); font-weight:700; font-size:14px; letter-spacing:.04em; color:var(--gold-bright); }
.ac-dot{ width:8px; height:8px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 0 color-mix(in oklab,var(--gold) 70%, transparent); animation:acPulse 1.8s var(--ease) infinite; }
@keyframes acPulse{ 0%{ box-shadow:0 0 0 0 color-mix(in oklab,var(--gold) 55%, transparent); } 70%{ box-shadow:0 0 0 7px transparent; } 100%{ box-shadow:0 0 0 0 transparent; } }
.announce .btn{ position:relative; background:var(--gold); border-color:var(--gold); color:#1a1408; height:48px; padding:0 22px; flex:none; }
@media (max-width:680px){ .announce{ flex-direction:column; align-items:flex-start; padding:26px 22px; } .announce .btn{ width:100%; } }

/* ---------- subnav / chips / filter bar ---------- */
.catbar{ display:flex; flex-wrap:wrap; gap:11px; align-items:center; margin-bottom:16px; }
.catbar .search2{ flex:1; min-width:200px; position:relative; }
.catbar .search2 .si{ position:absolute; left:14px; top:50%; transform:translateY(-50%); color:var(--faint); display:grid; place-items:center; }
.catbar .search2 input{ width:100%; height:46px; border:1px solid var(--line-strong); border-radius:var(--r-sm); background:var(--surface); color:var(--ink); padding:0 15px 0 42px; font-size:14.5px; outline:none; transition:border-color .2s; }
.catbar .search2 input:focus{ border-color:var(--ink); }
.subs{ display:flex; gap:9px; overflow:auto; scrollbar-width:none; margin-bottom:20px; padding-bottom:2px; }
.subs::-webkit-scrollbar{ display:none; }
.chip{ font-size:13.5px; color:var(--ink); padding:9px 16px; border:1px solid var(--line-strong); border-radius:var(--r-pill); background:var(--surface); white-space:nowrap; cursor:pointer; transition:.2s; font-weight:600; }
.chip.active{ background:var(--ink); color:var(--on-brand); border-color:var(--ink); }
@media (hover:hover){ .chip:hover{ border-color:var(--faint); } .chip.active:hover{ border-color:var(--ink); } }

/* category page: horizontal category selector strip */
.cat-select{ display:flex; flex-wrap:wrap; gap:9px; margin:26px 0 4px; }
.cat-pill{ flex:none; display:inline-flex; align-items:center; gap:8px; font:inherit; font-size:13.5px; font-weight:600; color:var(--ink); background:var(--surface); border:1px solid var(--line-strong); border-radius:var(--r-pill); padding:9px 15px 9px 11px; white-space:nowrap; cursor:pointer; transition:border-color .2s, background .2s, color .2s; }
.cat-pill .cp-ic{ display:inline-flex; color:var(--dim); transition:color .2s; }
.cat-pill .cp-ic .ic{ width:17px; height:17px; }
.cat-pill.on{ background:var(--ink); border-color:var(--ink); color:var(--on-brand); }
.cat-pill.on .cp-ic{ color:var(--on-brand); }
.cat-hint{ margin-top:7px; font-size:11.5px; line-height:1.35; letter-spacing:.02em; color:var(--dim); text-transform:uppercase; }
.cat-copy{ margin:-4px 0 15px; max-width:980px; font-size:14px; line-height:1.6; color:var(--ink-soft); }
@media (hover:hover){ .cat-pill:hover{ border-color:var(--faint); } .cat-pill.on:hover{ border-color:var(--ink); } }

/* category page: filter bar */
.cat-filters{ display:flex; flex-wrap:wrap; gap:9px; margin:0 0 16px; }
.cat-filters[hidden]{ display:none; }
.fpill{ display:inline-flex; align-items:center; gap:7px; font:inherit; font-size:13px; font-weight:600; color:var(--ink); background:var(--surface); border:1px solid var(--line-strong); border-radius:var(--r-pill); padding:8px 14px; cursor:pointer; transition:all .18s; }
.fpill .ic{ width:15px; height:15px; color:var(--dim); }
.fpill.on{ background:var(--gold-soft); border-color:color-mix(in oklab,var(--gold) 55%, var(--line-strong)); color:var(--gold-bright); }
.fpill.on .ic{ color:var(--gold-bright); }
#catFilters.on{ border-color:var(--faint); background:var(--tile); }
@media (hover:hover){ .fpill:hover{ border-color:var(--faint); } }
@media (max-width:680px){
  .cat-select{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin:18px 0 2px; gap:7px; padding-bottom:4px; }
  .cat-select::-webkit-scrollbar{ display:none; }
  .cat-pill{ font-size:12.5px; padding:8px 13px 8px 10px; }
  .cat-pill .cp-ic .ic{ width:15px; height:15px; }
  #view-catalog .head{ margin-top:10px !important; }
  .catbar{ gap:9px; margin-bottom:13px; }
  .catbar .search2{ min-width:0; flex:1 1 100%; }
  .catbar .search2 input{ height:44px; }
  .catbar > .btn{ flex:none; }
  .cat-filters{ gap:7px; margin-bottom:13px; }
  .fpill{ font-size:12px; padding:7px 12px; }
  .subs{ margin-bottom:16px; }
}

/* ---------- shop cards (wide) ---------- */
.shoplist{ display:flex; flex-direction:column; gap:16px; }
.shopcard{ position:relative; border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); padding:22px 22px 22px 60px; box-shadow:var(--shadow-sm); display:grid; grid-template-columns:1.45fr .95fr .95fr .95fr; gap:22px; cursor:pointer; transition:transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.shopcard.top1{ box-shadow:0 0 0 1.5px #e3b53a, var(--shadow); border-color:transparent; }
.shopcard.top2{ box-shadow:0 0 0 1.5px #aab4c2, var(--shadow-sm); border-color:transparent; }
.shopcard.top3{ box-shadow:0 0 0 1.5px #cf935c, var(--shadow-sm); border-color:transparent; }
@media (hover:hover){ .shopcard:hover{ transform:translateY(-3px); box-shadow:var(--shadow); } .shopcard.top1:hover{ box-shadow:0 0 0 1.5px #e3b53a, var(--shadow-lg); } .shopcard.top2:hover{ box-shadow:0 0 0 1.5px #aab4c2, var(--shadow-lg); } .shopcard.top3:hover{ box-shadow:0 0 0 1.5px #cf935c, var(--shadow-lg); } }
.sc-rank{ position:absolute; top:22px; left:16px; display:flex; flex-direction:column; align-items:center; gap:2px; font-family:var(--mono); font-weight:700; font-size:13px; color:var(--faint); }
.sc-rank .ic{ width:22px; height:18px; }
/* gold / silver / bronze medal badges */
.sc-rank.medal-badge{ top:18px; left:14px; width:38px; height:46px; border-radius:12px; gap:0; color:#fff; box-shadow:var(--shadow-sm); overflow:hidden; font-size:13.5px; }
.sc-rank.medal-badge .ic{ width:18px; height:15px; margin-bottom:1px; }
.sc-rank.medal-badge.c1{ background:linear-gradient(158deg,#f8db7b 8%,#e3b53a 52%,#caa017 100%); color:#4a3a06; }
.sc-rank.medal-badge.c2{ background:linear-gradient(158deg,#f1f4f8 8%,#c3ccd7 52%,#9aa7b6 100%); color:#363f4c; }
.sc-rank.medal-badge.c3{ background:linear-gradient(158deg,#eeb682 8%,#cf935c 52%,#a9602e 100%); color:#fff; }
.sc-rank.medal-badge::after{ content:""; position:absolute; inset:0; background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.6) 50%,transparent 68%); transform:translateX(-130%); pointer-events:none; }
@media (hover:hover){ .shopcard:hover .sc-rank.medal-badge::after{ transition:transform .65s var(--ease); transform:translateX(130%); } }
@media (prefers-reduced-motion:reduce){ .sc-rank.medal-badge::after{ display:none; } }
.sc-main{ display:flex; gap:15px; min-width:0; }
.sc-logo{ width:62px; height:62px; border-radius:18px; background:var(--ink); color:var(--on-brand); display:grid; place-items:center; font-size:24px; font-weight:800; flex:none; letter-spacing:-.02em; }
.sc-name{ font-size:19px; font-weight:800; letter-spacing:-.02em; display:flex; align-items:center; gap:7px; }
.ver{ color:var(--gold); display:inline-flex; }
.ver .ic{ width:17px; height:17px; }
.sc-rate{ display:flex; align-items:center; gap:8px; margin-top:5px; font-size:13.5px; color:var(--dim); }
.stars{ --fill:100%; position:relative; display:inline-block; font-size:13px; line-height:1; letter-spacing:1px; color:var(--line-strong); font-family:var(--sans); }
.stars::before{ content:"★★★★★"; }
.stars i{ position:absolute; left:0; top:0; width:var(--fill); overflow:hidden; color:var(--gold); white-space:nowrap; }
.stars i::before{ content:"★★★★★"; }
.sc-chips{ display:flex; flex-wrap:wrap; gap:7px; margin-top:11px; }
.sc-chips .ch{ font-size:12px; color:var(--ink-soft); background:var(--tile); border-radius:8px; padding:5px 10px; font-weight:600; display:inline-flex; align-items:center; gap:5px; }
.sc-chips .ch .ic{ width:13px; height:13px; color:var(--dim); }
.sc-desc{ font-size:13.5px; color:var(--dim); line-height:1.5; margin:12px 0 0; }
.sc-bottom{ display:flex; align-items:center; gap:14px; margin-top:15px; flex-wrap:wrap; }
.sc-bottom .pv{ font-size:12.5px; color:var(--dim); display:inline-flex; align-items:center; gap:6px; font-family:var(--mono); }
.sc-bottom .pv .ic{ width:14px; height:14px; }
.sc-go{ height:44px; padding:0 18px; border:0; border-radius:var(--r-sm); background:var(--ink); color:var(--on-brand); font-weight:700; font-size:13.5px; cursor:pointer; display:inline-flex; align-items:center; gap:7px; margin-left:auto; transition:transform .12s var(--ease); }
.sc-go:active{ transform:scale(.96); }

/* mirrors column inside shop card */
.mir-col{ border-left:1px solid var(--line); padding-left:22px; }
.mir-col h5{ margin:0 0 10px; font-size:12px; font-weight:700; display:flex; align-items:center; gap:7px; color:var(--ink); }
.mir-col h5 .ic{ width:15px; height:15px; color:var(--dim); }
.mir-col h5 .c{ margin-left:auto; font-family:var(--mono); font-size:11px; color:var(--faint); font-weight:500; }
.mir-link{ display:flex; align-items:center; gap:9px; font-family:var(--mono); font-size:12.5px; color:var(--ink-soft); padding:5px 0; }
.mir-link.off{ color:var(--faint); }
.sig{ display:inline-flex; align-items:flex-end; gap:1.5px; height:11px; }
.sig i{ width:2.5px; border-radius:1px; background:var(--ok); }
.sig i:nth-child(1){ height:4px; } .sig i:nth-child(2){ height:7px; } .sig i:nth-child(3){ height:11px; }
.sig.off i{ background:var(--faint); } .sig.off i:nth-child(2),.sig.off i:nth-child(3){ background:var(--line-strong); }
.mir-all{ display:block; width:100%; text-align:center; font-size:12px; color:var(--dim); padding:8px; border:1px solid var(--line); border-radius:10px; margin-top:8px; cursor:pointer; background:var(--surface); transition:.2s; font-weight:600; }
@media (hover:hover){ .mir-all:hover{ border-color:var(--faint); color:var(--ink); } }
.shop-foot{ display:flex; align-items:center; justify-content:center; gap:8px; font-size:12.5px; color:var(--dim); margin-top:18px; }
.shop-foot .ic{ width:15px; height:15px; color:var(--ok); }
@media (max-width:980px){ .shopcard{ grid-template-columns:1fr 1fr; padding-left:22px; } .sc-rank{ position:static; flex-direction:row; margin-bottom:6px; }
  .sc-rank.medal-badge{ width:auto; height:auto; flex-direction:row; gap:6px; padding:5px 11px 5px 9px; border-radius:10px; align-self:flex-start; }
  .sc-rank.medal-badge .ic{ margin-bottom:0; }
  .sc-main{ grid-column:1/-1; } }
@media (max-width:680px){ .shopcard{ grid-template-columns:1fr; gap:16px; } .mir-col{ border-left:0; border-top:1px solid var(--line); padding-left:0; padding-top:16px; } .sc-go{ margin-left:0; } }

/* ---------- panels / reviews ---------- */
.panel{ border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); padding:22px; box-shadow:var(--shadow-sm); }
.review{ border-bottom:1px solid var(--line); padding:16px 0; }
.review:first-child{ padding-top:4px; } .review:last-child{ border-bottom:0; padding-bottom:4px; }
.r-top{ display:flex; align-items:center; gap:10px; }
.av{ width:36px; height:36px; border-radius:50%; background:var(--tile); display:grid; place-items:center; font-size:14px; font-weight:700; color:var(--ink-soft); flex:none; }
.r-who{ font-weight:700; font-size:14px; }
.r-date{ font-family:var(--mono); font-size:11.5px; color:var(--faint); margin-left:auto; }
.rev-shop{ font-size:12px; color:var(--ink); background:var(--tile); border-radius:8px; padding:4px 10px; font-weight:700; display:inline-flex; align-items:center; gap:6px; transition:background .2s; }
.rev-shop .ic{ width:13px; height:13px; }
@media (hover:hover){ .rev-shop:hover{ background:var(--tile-2); } }
.badge-role{ font-size:11px; color:var(--dim); background:var(--tile); border-radius:7px; padding:3px 9px; font-weight:600; }
.review p{ margin:9px 0 0; font-size:14px; color:var(--ink-soft); line-height:1.55; }
.helpful{ display:flex; gap:9px; margin-top:11px; }
.helpful .btn{ height:34px; font-size:12.5px; padding:0 12px; }

/* ---------- gate / captcha ---------- */
.gate{ position:fixed; inset:0; z-index:90; background:var(--bg); display:flex; flex-direction:column; align-items:center; justify-content:center; padding:24px; gap:22px; overflow:auto; }
.gate.hidden{ opacity:0; transform:scale(1.02); pointer-events:none; transition:opacity .5s var(--ease), transform .5s var(--ease); }
.gate .grid-bg{ position:fixed; inset:0; pointer-events:none; opacity:.6;
  background:radial-gradient(60% 60% at 50% 38%, color-mix(in oklab,var(--gold) 9%, transparent), transparent 70%),
  repeating-radial-gradient(circle at 50% 38%, transparent 0 44px, color-mix(in oklab,var(--ink) 4%, transparent) 44px 45px); }
.gcard{ width:100%; max-width:420px; border:1px solid var(--line); border-radius:26px; background:var(--surface); box-shadow:var(--shadow-lg); padding:32px 28px; text-align:center; position:relative; z-index:1; }
.gate .glogo{ display:flex; align-items:center; gap:11px; position:relative; z-index:1; }
.gate .glogo .mark{ width:36px; height:36px; }
.gate .glogo .wm{ font-size:20px; }
.gate h1{ font-size:24px; font-weight:800; letter-spacing:-.025em; margin:14px 0 6px; }
.gate .sub{ color:var(--dim); font-size:14px; margin:0 0 6px; }

/* radar-scan "I'm not a robot" check */
.rcheck{ display:flex; align-items:center; gap:14px; margin:22px auto 6px; max-width:360px; padding:15px 18px; border:1.5px solid var(--line-strong); border-radius:16px; background:var(--surface); cursor:pointer; transition:border-color .2s, box-shadow .2s; text-align:left; }
@media (hover:hover){ .rcheck:hover{ border-color:var(--faint); } }
.rcheck.scanning{ cursor:default; }
.rcheck.done{ border-color:color-mix(in oklab,var(--ok) 60%, transparent); box-shadow:0 0 0 4px color-mix(in oklab,var(--ok) 12%, transparent); cursor:default; }
.rbox{ position:relative; width:32px; height:32px; border-radius:9px; border:2px solid var(--line-strong); flex:none; display:grid; place-items:center; overflow:hidden; transition:border-color .25s, background .25s; }
.rcheck.done .rbox{ border-color:var(--ok); background:var(--ok); }
.rbox .scan{ position:absolute; inset:-30%; border-radius:50%; opacity:0; background:conic-gradient(from 0deg, color-mix(in oklab,var(--gold-bright) 85%, transparent), transparent 42%); }
.rcheck.scanning .rbox .scan{ opacity:1; animation:sweep .75s linear infinite; }
.rbox .tick{ width:18px; height:18px; stroke:#fff; stroke-width:2.6; fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:26; stroke-dashoffset:26; }
.rcheck.done .rbox .tick{ stroke-dashoffset:0; transition:stroke-dashoffset .4s var(--ease) .05s; }
.rcheck .rlabel{ font-weight:700; font-size:15px; line-height:1.2; }
.rcheck .rsub{ font-size:12px; color:var(--dim); font-weight:400; margin-top:3px; }
.rcheck .rlogo{ margin-left:auto; display:flex; flex-direction:column; align-items:center; gap:3px; color:var(--faint); flex:none; }
.rcheck .rlogo .mark{ width:24px; height:24px; }
.rcheck .rlogo small{ font-family:var(--mono); font-size:7px; letter-spacing:.18em; }
.gate-status{ font-family:var(--mono); font-size:12px; color:var(--dim); margin-top:14px; min-height:18px; letter-spacing:.02em; display:flex; align-items:center; justify-content:center; gap:7px; }
.gate-status .ic{ width:15px; height:15px; }
.gate-status.ok{ color:var(--ok); }
.gbanners{ width:100%; max-width:480px; display:flex; flex-direction:column; gap:10px; position:relative; z-index:1; }
.gbn{ height:84px; border-radius:14px; background:
  repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in oklab,var(--ink) 3%, transparent) 9px 18px), var(--tile);
  border:1px dashed var(--line-strong); display:flex; flex-direction:row; align-items:center; justify-content:center; gap:8px;
  color:var(--faint); font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-align:center; cursor:pointer; transition:border-color .2s; }
.gbn .ic{ width:18px; height:18px; opacity:.5; }
@media (hover:hover){ .gbn:hover{ border-color:var(--faint); } }

/* ---------- modals ---------- */
.modal{ position:fixed; inset:0; background:color-mix(in oklab,var(--ink) 42%, transparent); -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px); z-index:80; display:flex; align-items:center; justify-content:center; padding:20px; opacity:0; pointer-events:none; transition:opacity .25s var(--ease); }
.modal.open{ opacity:1; pointer-events:auto; }
.sheet{ width:100%; max-width:440px; background:var(--surface); border-radius:24px; padding:26px; box-shadow:var(--shadow-lg); transform:translateY(16px) scale(.98); transition:transform .3s var(--ease); max-height:90vh; overflow:auto; }
.modal.open .sheet{ transform:none; }
.sheet h3{ margin:8px 0 4px; font-size:20px; font-weight:800; letter-spacing:-.02em; }
.sheet .x{ position:absolute; top:18px; right:18px; }
.mirror{ display:flex; align-items:center; gap:11px; padding:13px 15px; border:1px solid var(--line); border-radius:13px; margin-bottom:9px; font-family:var(--mono); font-size:13px; }
.mirror .ping{ margin-left:auto; color:var(--dim); font-size:12px; }
.mirror .ping.ok{ color:var(--ok); }
.auth-tabs{ display:flex; gap:8px; margin:14px 0 16px; }
.auth-tabs .t{ flex:1; text-align:center; font-size:14px; font-weight:700; color:var(--dim); padding:12px; border:1px solid var(--line-strong); border-radius:12px; cursor:pointer; transition:.2s; }
.auth-tabs .t.active{ background:var(--ink); color:var(--on-brand); border-color:var(--ink); }
.field{ margin-bottom:13px; }
.field label{ display:block; font-size:12.5px; color:var(--dim); margin-bottom:7px; font-weight:600; }
.field input{ width:100%; height:48px; border:1px solid var(--line-strong); border-radius:13px; background:var(--surface); color:var(--ink); padding:0 15px; font-size:15px; outline:none; transition:border-color .2s; }
.field input:focus{ border-color:var(--ink); }
.lock{ font-family:var(--mono); font-size:11.5px; color:var(--faint); text-align:center; margin-top:12px; line-height:1.5; }
.field-wrap{ position:relative; }
.field-wrap .fic{ position:absolute; left:14px; top:50%; transform:translateY(-50%); color:var(--faint); display:grid; place-items:center; }
.field-wrap input{ padding-left:42px; }
.field-wrap .eye{ position:absolute; right:8px; top:50%; transform:translateY(-50%); color:var(--faint); cursor:pointer; display:grid; place-items:center; width:32px; height:32px; border-radius:8px; background:transparent; border:0; }
@media (hover:hover){ .field-wrap .eye:hover{ color:var(--ink); } }
.auth-head{ display:flex; align-items:center; gap:10px; margin-bottom:4px; }
.auth-div{ display:flex; align-items:center; gap:12px; color:var(--faint); font-size:11px; margin:18px 0; font-family:var(--mono); letter-spacing:.12em; text-transform:uppercase; }
.auth-div::before,.auth-div::after{ content:""; height:1px; background:var(--line); flex:1; }
.btn.tg{ background:#2aabee; border-color:#2aabee; color:#fff; }
@media (hover:hover){ .btn.tg:hover{ box-shadow:0 8px 22px -8px rgba(42,171,238,.5); } }
.auth-foot{ text-align:center; font-size:13px; color:var(--dim); margin-top:16px; }
.auth-foot a{ color:var(--ink); font-weight:700; }
.forgot{ display:block; text-align:right; font-size:12.5px; color:var(--dim); margin:-4px 0 14px; }
@media (hover:hover){ .forgot:hover{ color:var(--ink); } }

/* settings sheet */
.set-row{ display:flex; align-items:center; justify-content:space-between; gap:13px; padding:14px 0; border-bottom:1px solid var(--line); }
.set-row:last-child{ border-bottom:0; }
.set-ic{ width:38px; height:38px; flex:none; border-radius:11px; background:var(--tile); color:var(--ink); display:grid; place-items:center; }
.set-ic .ic{ width:19px; height:19px; }
.set-row .k{ font-weight:600; font-size:14.5px; flex:1; min-width:0; }
.set-link{ text-decoration:none; color:inherit; cursor:pointer; }
.set-link .btn{ pointer-events:none; }
.set-row .k small{ display:block; color:var(--dim); font-size:12.5px; font-weight:400; margin-top:2px; }
.seg{ display:inline-flex; background:var(--tile); border-radius:11px; padding:3px; gap:2px; }
.seg button{ border:0; background:transparent; color:var(--dim); font-weight:600; font-size:13px; padding:8px 12px; border-radius:9px; cursor:pointer; transition:.2s; }
.seg button.on{ background:var(--surface); color:var(--ink); box-shadow:var(--shadow-sm); }

/* ---------- detail page ---------- */
.crumb{ font-size:13px; color:var(--dim); margin-top:24px; display:flex; gap:7px; align-items:center; flex-wrap:wrap; }
.crumb .ic{ width:14px; height:14px; color:var(--faint); }
@media (hover:hover){ .crumb a:hover{ color:var(--ink); } }
.shop-hero{ position:relative; border-radius:var(--r-lg); overflow:hidden; background:var(--ink-panel); color:var(--on-ink); padding:30px 34px; display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:150px; margin-top:14px; box-shadow:var(--shadow); }
.shop-hero .grid-bg{ position:absolute; inset:0; opacity:.5; background:repeating-radial-gradient(circle at 90% 30%, transparent 0 30px, rgba(255,255,255,.05) 30px 31px); }
.shop-hero .ttl{ font-size:34px; font-weight:800; letter-spacing:.04em; position:relative; }
.shop-hero .feats{ display:grid; grid-template-columns:1fr 1fr; gap:9px 22px; position:relative; }
.shop-hero .feats div{ display:flex; align-items:center; gap:9px; font-size:13.5px; opacity:.92; }
.shop-hero .feats .ic{ width:16px; height:16px; color:var(--gold-bright); }
.detail-grid{ display:grid; grid-template-columns:1fr 340px; gap:24px; margin-top:20px; align-items:start; }
.d-head{ display:flex; gap:16px; align-items:flex-start; }
.d-logo{ width:72px; height:72px; border-radius:20px; background:var(--ink); color:var(--on-brand); display:grid; place-items:center; font-size:30px; font-weight:800; flex:none; }
.d-name{ font-size:26px; font-weight:800; letter-spacing:-.025em; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.rank-badge{ display:inline-flex; align-items:center; gap:6px; font-family:var(--mono); font-size:12px; font-weight:700; padding:5px 11px; border-radius:99px; color:#3a2d06; background:linear-gradient(158deg,#f8db7b 8%,#e3b53a 60%,#caa017 100%); }
.rank-badge .ic{ width:14px; height:14px; }
.tabs{ display:flex; gap:26px; margin:26px 0 18px; border-bottom:1px solid var(--line); }
.tab{ font-size:14.5px; color:var(--dim); padding:12px 0; border-bottom:2px solid transparent; cursor:pointer; transition:.2s; font-weight:600; margin-bottom:-1px; }
.tab.active{ color:var(--ink); border-color:var(--gold); }
.checklist{ list-style:none; padding:0; margin:0; }
.checklist li{ display:flex; gap:10px; padding:9px 0; font-size:14.5px; color:var(--ink-soft); align-items:flex-start; }
.checklist li .ic{ width:18px; height:18px; color:var(--ok); flex:none; margin-top:1px; }
.info-list{ border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.info-row{ display:flex; justify-content:space-between; gap:16px; padding:14px 16px; border-bottom:1px solid var(--line); font-size:14px; }
.info-row:last-child{ border-bottom:0; }
.info-row .k{ color:var(--dim); } .info-row .v{ font-weight:700; text-align:right; }
.aside{ position:sticky; top:90px; }
.mtype{ font-family:var(--mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--faint); margin:18px 0 9px; }
.m-row{ display:flex; align-items:center; gap:10px; padding:12px 14px; border:1px solid var(--line); border-radius:13px; margin-bottom:8px; font-family:var(--mono); font-size:12.5px; }
.m-row .ping{ margin-left:auto; color:var(--dim); font-size:11px; } .m-row .ping.ok{ color:var(--ok); }
.m-row .cp{ color:var(--faint); cursor:pointer; display:grid; place-items:center; } .m-row .cp .ic{ width:15px; height:15px; }
@media (hover:hover){ .m-row .cp:hover{ color:var(--ink); } }
.rev-summary{ display:flex; align-items:center; gap:24px; margin-bottom:18px; }
.rev-big{ font-size:46px; font-weight:800; letter-spacing:-.02em; line-height:1; }
.rev-bars{ flex:1; }
.rev-bar{ display:flex; align-items:center; gap:10px; font-family:var(--mono); font-size:11.5px; color:var(--dim); margin:5px 0; }
.rev-bar .b{ flex:1; height:6px; border-radius:4px; background:var(--tile); overflow:hidden; }
.rev-bar .b i{ display:block; height:100%; background:var(--gold); border-radius:4px; }
.rate-pick{ display:flex; gap:6px; font-size:28px; color:var(--line-strong); cursor:pointer; }
.rate-pick span{ transition:color .15s, transform .15s var(--ease); }
.rate-pick span.on{ color:var(--gold); }
@media (hover:hover){ .rate-pick span:hover{ transform:scale(1.15); } }
.liked{ display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.liked .lk{ font-size:12.5px; color:var(--dim); border:1px solid var(--line-strong); border-radius:var(--r-pill); padding:7px 13px; cursor:pointer; transition:.2s; font-weight:600; }
.liked .lk.on{ background:var(--ink); color:var(--on-brand); border-color:var(--ink); }
textarea{ width:100%; border:1px solid var(--line-strong); border-radius:13px; background:var(--surface); color:var(--ink); padding:13px 15px; font-size:14.5px; outline:none; resize:vertical; min-height:96px; transition:border-color .2s; }
textarea:focus{ border-color:var(--ink); }
@media (max-width:980px){ .detail-grid{ grid-template-columns:1fr; } .aside{ position:static; } .shop-hero{ flex-direction:column; align-items:flex-start; } .shop-hero .ttl{ font-size:27px; } }

/* ---------- news ---------- */
.news-item{ border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); overflow:hidden; margin-bottom:16px; cursor:pointer; transition:transform .18s var(--ease), box-shadow .2s; box-shadow:var(--shadow-sm); }
@media (hover:hover){ .news-item:hover{ transform:translateY(-2px); box-shadow:var(--shadow); } }
.news-item .nb{ aspect-ratio:1200/280; background:repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in oklab,var(--ink) 3%, transparent) 12px 24px), var(--tile); display:flex; align-items:center; justify-content:center; color:var(--faint); font-family:var(--mono); font-size:11px; letter-spacing:.14em; }
.news-body{ padding:18px 22px; }
.news-body .date{ font-family:var(--mono); font-size:11.5px; color:var(--faint); display:inline-flex; align-items:center; gap:7px; }
.news-body .tagn{ font-size:11px; font-weight:700; color:var(--gold); background:var(--gold-soft); padding:3px 9px; border-radius:7px; margin-left:8px; }
.news-body h3{ margin:9px 0 6px; font-size:19px; font-weight:800; letter-spacing:-.02em; }
.news-body p{ margin:0; font-size:14.5px; color:var(--dim); line-height:1.55; }
.news-full{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease); }
.news-item.open .news-full{ max-height:320px; }
.news-full p{ margin-top:12px; }

/* ---------- roulette ---------- */
.roul{ border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); padding:24px; box-shadow:var(--shadow-sm); }
.countdown{ display:flex; gap:10px; margin:16px 0; }
.cd-u{ font-family:var(--mono); font-size:26px; font-weight:700; background:var(--ink-panel); color:var(--on-ink); border-radius:14px; padding:12px 16px; min-width:64px; text-align:center; }
.cd-u small{ display:block; font-size:9px; letter-spacing:.12em; color:rgba(255,255,255,.5); font-weight:500; margin-top:4px; }
.prizes{ display:flex; flex-wrap:wrap; gap:10px; margin:14px 0; }
.prize{ background:var(--tile); border-radius:13px; padding:12px 16px; font-size:14px; display:flex; align-items:center; gap:9px; }
.prize .pn{ width:26px; height:26px; border-radius:8px; display:grid; place-items:center; font-family:var(--mono); font-weight:700; font-size:12px; color:#1a1408; }
.prize.p1 .pn{ background:linear-gradient(158deg,#f8db7b 8%,#e3b53a 60%,#caa017 100%); color:#3a2d06; } .prize.p2 .pn{ background:#cdd3dc; } .prize.p3 .pn{ background:#dba878; }
.prize b{ font-weight:700; }
.parts{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.part{ display:flex; align-items:center; gap:8px; background:var(--tile); border-radius:var(--r-pill); padding:5px 13px 5px 5px; font-size:13px; font-weight:500; }
.part .av{ width:24px; height:24px; font-size:11px; background:var(--surface); }
.agree{ display:flex; gap:10px; align-items:center; margin:16px 0; font-size:14px; color:var(--dim); }
.agree input{ width:18px; height:18px; accent-color:var(--ink); }
.winner{ display:flex; align-items:center; gap:11px; padding:12px 0; border-bottom:1px solid var(--line); font-size:14px; font-weight:600; }
.winner:last-child{ border-bottom:0; }
.winner .medal{ display:inline-flex; align-items:center; gap:5px; font-family:var(--mono); font-weight:700; font-size:12px; }
.winner .medal.c1{ color:#cf9f2c; } .winner .medal.c2{ color:#8b94a3; } .winner .medal.c3{ color:#b06a36; }
.winner .medal .ic{ width:18px; height:15px; }
.winner .pz{ margin-left:auto; color:var(--dim); font-family:var(--mono); font-size:12.5px; font-weight:500; }

/* ---------- chat ---------- */
.chat-page{ display:flex; flex-direction:column; border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); overflow:hidden; box-shadow:var(--shadow-sm); max-width:860px; }
.chat-window{ height:min(58vh,540px); overflow:auto; padding:18px; display:flex; flex-direction:column; gap:14px; }
.msg{ display:flex; gap:10px; align-items:flex-start; }
.msg > div{ min-width:0; display:flex; flex-direction:column; align-items:flex-start; max-width:min(460px,78%); }
.msg.mine > div{ align-items:flex-end; }
.msg .bubble{ background:var(--tile); border-radius:14px; border-top-left-radius:5px; padding:9px 14px; font-size:14px; line-height:1.45; width:fit-content; max-width:100%; word-break:break-word; }
.msg .who{ font-size:11.5px; color:var(--dim); margin-bottom:3px; font-weight:600; }
.chat-foot{ display:flex; gap:9px; padding:13px 16px; border-top:1px solid var(--line); }
.chat-foot input{ flex:1; height:46px; border:1px solid var(--line-strong); border-radius:12px; background:var(--surface); color:var(--ink); padding:0 14px; outline:none; }
.chat-note{ font-family:var(--mono); font-size:11px; color:var(--faint); text-align:center; padding:0 0 14px; }
.msg.mine{ flex-direction:row-reverse; }
.msg.mine .who{ text-align:right; }
.msg.mine .bubble{ background:var(--ink); color:var(--on-brand); border-radius:14px; border-top-right-radius:5px; border-top-left-radius:14px; }
.msg.mine .av{ background:var(--gold); color:#1a1408; }

/* chat: two-column on desktop (chat + ad banner of equal height) */
.chat-layout{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:18px; align-items:stretch; }
.chat-layout .chat-page{ max-width:none; }
.chat-bn.chat-bn-side{ aspect-ratio:auto; }
.chat-bn{ aspect-ratio:300/470; border-radius:var(--r-lg); background:
    repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in oklab,var(--ink) 3%, transparent) 11px 22px), var(--tile);
  border:1px dashed var(--line-strong); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
  color:var(--faint); cursor:pointer; transition:border-color .2s; text-decoration:none; }
.chat-bn .bl{ font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; }
.chat-bn .bd{ font-size:12px; color:var(--faint); }
@media (hover:hover){ .chat-bn:hover{ border-color:var(--faint); } }
.chat-side-panel{ padding:18px; }
.csp-head{ display:flex; align-items:center; gap:9px; font-weight:700; font-size:14.5px; }
.csp-head b{ margin-left:auto; color:var(--dim); font-weight:600; }
.csp-title{ font-weight:700; font-size:14.5px; margin-bottom:4px; }
.online-list{ display:flex; flex-direction:column; gap:3px; margin-top:14px; }
.online-user{ display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:500; padding:5px 0; }
.online-user .av{ width:30px; height:30px; font-size:12px; }
.online-user .od{ width:8px; height:8px; border-radius:50%; background:var(--ok); margin-left:auto; flex:none; }
.checklist.rules li{ font-size:13px; padding:7px 0; }
@media (max-width:900px){
  .chat-layout{ grid-template-columns:1fr; }
  .chat-aside{ position:static; flex-direction:column; }
  .chat-bn{ aspect-ratio:728/120; }
  .chat-bn.chat-bn-side{ aspect-ratio:728/120; }
}

/* chat rules — full-width bar under chat + banner */
.chat-rules{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 22px; margin-top:16px; padding:14px 20px; border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); box-shadow:var(--shadow-sm); }
.cr-title{ display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:14px; }
.cr-title [data-ic],.cr-title .ic{ color:var(--gold); }
.cr-item{ display:inline-flex; align-items:center; gap:8px; font-size:13px; color:var(--dim); }
.cr-item .ic{ color:var(--ok); flex:none; }

/* news — full-width editorial grid (featured + 2-col) */
.news-banner{ position:relative; border-radius:var(--r-lg); overflow:hidden; background:var(--ink-panel); color:var(--on-ink); padding:24px 26px; margin-bottom:20px; display:flex; align-items:center; justify-content:space-between; gap:20px; cursor:pointer; background-size:cover; background-position:center; box-shadow:var(--shadow); transition:transform .18s var(--ease), box-shadow .2s; }
@media (hover:hover){ .news-banner:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lg); } }
.nb-eyebrow{ display:inline-flex; align-items:center; gap:7px; font-family:var(--mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-bright); }
.nb-eyebrow .ic{ width:14px; height:14px; }
.nb-title{ font-size:21px; font-weight:800; letter-spacing:-.02em; margin:9px 0 5px; }
.nb-text{ font-size:13.5px; color:rgba(255,255,255,.72); line-height:1.5; max-width:60ch; }
.nb-cta{ flex:none; display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:700; color:var(--ink); background:var(--gold); padding:11px 18px; border-radius:var(--r-pill); white-space:nowrap; }
.nb-cta .ic{ width:15px; height:15px; }
.news-banner.static{ cursor:default; }
@media (max-width:680px){ .news-banner{ flex-direction:column; align-items:flex-start; padding:18px 18px 20px; gap:14px; } .nb-title{ font-size:18px; } .nb-cta{ width:100%; justify-content:center; } }
.news-feed #newsList{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start; }
.news-feed #newsList .tg-post{ max-width:none; margin-bottom:0; }
.news-feed #newsList .tg-post:first-child{ grid-column:1 / -1; }
.news-feed #newsList .tg-post:first-child .tg-cover{ aspect-ratio:1200/260; }
@media (max-width:860px){ .news-feed #newsList{ grid-template-columns:1fr; } }

/* ---------- exchange ---------- */
.ex-filters{ display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; margin-bottom:18px; }
.ex-fld{ display:flex; flex-direction:column; gap:6px; }
.ex-fld label{ font-size:12px; color:var(--dim); font-weight:600; }
.ex-fld select,.ex-fld input{ height:46px; border:1px solid var(--line-strong); border-radius:12px; background:var(--surface); color:var(--ink); padding:0 13px; font-size:14px; outline:none; min-width:170px; }
.ex-sort{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--dim); height:46px; font-weight:600; }
.ex-sort input{ width:18px; height:18px; accent-color:var(--ink); }
.ex-row{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr auto; gap:18px; align-items:center; border:1px solid var(--line); border-radius:18px; background:var(--surface); padding:16px 18px; margin-bottom:12px; box-shadow:var(--shadow-sm); transition:transform .18s var(--ease), box-shadow .2s; }
@media (hover:hover){ .ex-row:hover{ transform:translateY(-2px); box-shadow:var(--shadow); } }
.ex-name{ display:flex; align-items:center; gap:13px; }
.ex-name .lg{ width:46px; height:46px; border-radius:13px; background:var(--ink); color:var(--on-brand); display:grid; place-items:center; font-weight:800; font-size:15px; font-family:var(--mono); flex:none; }
.ex-nm{ font-weight:700; font-size:15px; display:flex; align-items:center; gap:6px; }
.ex-meta{ font-size:12px; color:var(--dim); display:flex; align-items:center; gap:6px; margin-top:3px; }
.ex-col .k{ font-size:11px; color:var(--dim); margin-bottom:3px; }
.ex-col .v{ font-weight:700; font-size:14px; font-family:var(--mono); }
.ex-col .cur{ font-size:11px; color:var(--dim); margin-top:3px; }
.ex-disc{ font-size:12.5px; color:var(--dim); background:var(--tile); border-radius:14px; padding:15px 16px; margin-top:14px; line-height:1.55; display:flex; gap:10px; }
.ex-disc .ic{ width:18px; height:18px; color:var(--gold); flex:none; }
@media (max-width:760px){ .ex-row{ grid-template-columns:1fr 1fr; gap:12px; } .ex-row .ex-name{ grid-column:1/-1; } .ex-row .btn{ grid-column:1/-1; } }

/* ---------- footer ---------- */
footer{ margin-top:60px; border-top:1px solid var(--line); padding:28px 0; display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; }
footer .links{ display:flex; gap:22px; flex-wrap:wrap; font-size:14px; color:var(--dim); }
@media (hover:hover){ footer .links a:hover{ color:var(--ink); } }
@media (max-width:899px){ footer{ display:none; } }

/* ---------- toast ---------- */
.toast{ position:fixed; left:50%; bottom:calc(28px + var(--safe-b)); transform:translateX(-50%) translateY(20px); background:var(--ink); color:var(--bg); padding:13px 20px; border-radius:13px; font-size:14px; font-weight:600; box-shadow:var(--shadow-lg); opacity:0; transition:transform .3s var(--ease), opacity .3s; z-index:95; pointer-events:none; display:flex; align-items:center; gap:9px; max-width:90vw; }
.toast .ic{ width:17px; height:17px; color:var(--gold-bright); }
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
@media (max-width:899px){ .toast{ bottom:calc(86px + var(--safe-b)); } }

/* ---------- install hint ---------- */
.install-bar{ position:fixed; left:16px; right:16px; bottom:calc(86px + var(--safe-b)); z-index:60; background:var(--ink-panel); color:var(--on-ink); border-radius:16px; padding:14px 16px; display:flex; align-items:center; gap:12px; box-shadow:var(--shadow-lg); transform:translateY(140%); transition:transform .4s var(--ease); }
.install-bar.show{ transform:none; }
.install-bar .mark{ width:36px; height:36px; color:var(--on-ink); }
.install-bar .it{ flex:1; min-width:0; }
.install-bar .it b{ font-size:14px; } .install-bar .it span{ font-size:12px; opacity:.7; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.install-bar .btn{ height:38px; padding:0 14px; background:var(--gold); color:#1a1408; border:0; }
.install-bar .x{ background:transparent; border:0; color:rgba(255,255,255,.6); }
@media (min-width:900px){ .install-bar{ left:auto; right:24px; bottom:24px; width:340px; } }
@media (max-width:899px){
  .install-bar{ left:10px; right:10px; bottom:auto; top:calc(env(safe-area-inset-top,0px) + var(--sa-top,0px) + 62px); transform:translateY(-180%); padding:11px 12px; border-radius:14px; z-index:38; }
  .install-bar.show{ transform:none; }
  .install-bar .it b{ font-size:13.5px; } .install-bar .it span{ font-size:11.5px; }
}

/* utility: hide on mobile / desktop */
@media (max-width:899px){ .hide-m{ display:none !important; } }
@media (min-width:900px){ .hide-d{ display:none !important; } }
@media (max-width:1180px){ .hide-sm-d{ display:none !important; } }

/* ============================================================
   MOBILE REFINEMENTS
   ============================================================ */
@media (max-width:899px){
  /* top bar respects the notch / status bar (safe-area), with a preview fallback var */
  .mtop{ height:auto; min-height:58px; padding:calc(env(safe-area-inset-top, 0px) + var(--sa-top, 0px) + 10px) 16px 10px; }
  .mtop .logo{ font-size:18px; }
}
@media (max-width:680px){
  .wrap{ padding:0 16px; }
  section{ margin-top:38px; }
  section:first-child{ margin-top:18px; }
  .head h2{ font-size:23px; }

  /* hero: tighter, calmer on phones */
  .hero{ padding:20px 18px; border-radius:18px; }
  .hero h1{ font-size:21px; margin:0; }
  .hero-stats{ gap:18px; }
  .hstat .n{ font-size:18px; }

  /* banners: swipeable carousel that bleeds to the edges */
  .banner-strip .bgrid{ display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; margin:0 -16px; padding:0 16px 4px; }
  .banner-strip .bgrid::-webkit-scrollbar{ display:none; }
  .banner-strip .bn{ flex:0 0 82%; scroll-snap-align:center; aspect-ratio:345/118; }

  /* shop cards: compact — mirrors live on the detail page */
  .shopcard{ padding:18px; border-radius:20px; }
  .shopcard .mir-col{ display:none; }
  .sc-logo{ width:54px; height:54px; border-radius:15px; font-size:21px; }
  .sc-name{ font-size:17px; }
  .sc-go{ margin-left:0; }
  .sc-bottom{ gap:10px; }

  /* trust strip + announce + countdown breathe a bit less */
  .trust{ gap:10px; }
  .trust .ti{ padding:13px 14px; }
  .announce{ padding:22px 20px; }
  .countdown{ gap:7px; width:100%; }
  .cd-u{ min-width:0; flex:1; font-size:18px; font-weight:700; padding:9px 4px; border-radius:12px; }
  .cd-u small{ font-size:8px; margin-top:3px; }
  .roul{ padding:18px 15px; }
  .part-search{ max-width:none; }
  .dg-rows{ grid-template-columns:1fr 1fr; }

  /* gate: comfortable on small screens */
  .gcard{ padding:26px 20px; }
  .gate h1{ font-size:21px; }
  .rcheck{ padding:14px; gap:12px; }
}

/* ---------- roulette: raffle + draw ---------- */
.rfl-banner{ margin:2px 0 18px; aspect-ratio:1200/260; border-radius:var(--r); overflow:hidden; background-size:cover; background-position:center; background-repeat:no-repeat; background-color:var(--tile); border:1px dashed var(--line-strong); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:border-color .2s; }
.rfl-banner.has-img{ border-style:solid; border-color:var(--line); }
.rfl-banner-ph{ display:inline-flex; align-items:center; gap:9px; color:var(--faint); font-family:var(--mono); font-size:12px; letter-spacing:.12em; }
.rfl-banner-ph .ic{ width:18px; height:18px; }
@media (hover:hover){ .rfl-banner:hover{ border-color:var(--faint); } }
.rfl-top{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.rfl-name{ font-size:22px; font-weight:800; letter-spacing:-.02em; margin:3px 0 0; }
.rfl-timer{ display:flex; flex-direction:column; align-items:flex-end; gap:7px; }
.rt-cap{ display:inline-flex; align-items:center; gap:6px; font-family:var(--mono); font-size:10.5px; letter-spacing:.13em; text-transform:uppercase; color:var(--faint); }
.rt-cap .ic{ width:13px; height:13px; }
.rfl-sec{ font-family:var(--mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--faint); margin:20px 0 11px; }
.rfl-how{ display:flex; flex-direction:column; gap:12px; margin:0 0 16px; }
.how-step{ display:flex; gap:13px; align-items:flex-start; }
.how-step .how-n{ width:26px; height:26px; flex:none; border-radius:9px; background:var(--gold-soft); color:var(--gold-bright); font-family:var(--mono); font-weight:700; font-size:13px; display:grid; place-items:center; margin-top:1px; }
.how-step b{ display:block; font-size:14px; font-weight:700; margin-bottom:2px; }
.how-step span{ font-size:13px; color:var(--dim); line-height:1.5; }
.how-step a{ color:var(--gold-bright); font-weight:600; cursor:pointer; }
#drawResult{ margin-top:8px; }
.draw-row{ display:flex; align-items:center; gap:12px; padding:13px 4px; border-bottom:1px solid var(--line); font-size:14px; border-radius:8px; }
.draw-row:last-child{ border-bottom:0; }
.draw-row .medal{ display:inline-flex; align-items:center; gap:5px; font-family:var(--mono); font-weight:700; font-size:12px; }
.draw-row .medal.c1{ color:#cf9f2c; } .draw-row .medal.c2{ color:#8b94a3; } .draw-row .medal.c3{ color:#b06a36; }
.draw-row .medal .ic{ width:18px; height:15px; }
.dr-prize{ color:var(--dim); }
.dr-name{ margin-left:auto; font-family:var(--mono); font-weight:700; font-size:14px; }
.dr-name.shuffling{ color:var(--faint); }
.draw-row.won .dr-name{ color:var(--ink); }
.draw-row.won{ animation:wonPulse .6s var(--ease); }
@keyframes wonPulse{ from{ background:color-mix(in oklab,var(--gold) 16%, transparent); } to{ background:transparent; } }
#drawBtn[disabled]{ opacity:.65; cursor:default; }

/* prize quantity + multi-winner draw groups */
.prize .pq{ font-family:var(--mono); font-size:11px; font-weight:700; color:#8a6d1f; background:color-mix(in oklab,var(--gold) 22%, transparent); border-radius:7px; padding:2px 7px; }
.prize.p2 .pq{ color:#56606e; background:rgba(150,160,175,.22); }
.prize.p3 .pq{ color:#7a4a25; background:rgba(180,120,80,.2); }
.draw-group{ border:1px solid var(--line); border-radius:14px; padding:12px 14px; margin-bottom:12px; background:var(--surface); }
.dg-head{ display:flex; align-items:center; gap:10px; padding-bottom:9px; border-bottom:1px solid var(--line); margin-bottom:7px; }
.dg-head .medal{ display:inline-flex; align-items:center; gap:5px; font-family:var(--mono); font-weight:700; font-size:12px; }
.dg-head .medal.c1{ color:#cf9f2c; } .dg-head .medal.c2{ color:#8b94a3; } .dg-head .medal.c3{ color:#b06a36; }
.dg-head .medal .ic{ width:18px; height:15px; }
.dg-head .dr-prize{ color:var(--ink); font-weight:700; }
.dg-count{ margin-left:auto; font-family:var(--mono); font-size:11.5px; color:var(--dim); white-space:nowrap; }
.dg-rows{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:0 16px; }
.dg-rows .draw-row{ padding:7px 2px; border-bottom:0; gap:8px; }
.dg-rows .draw-row::before{ content:"•"; color:var(--faint); }
.dg-rows .draw-row .dr-name{ margin-left:0; font-size:13.5px; }
.dg-rows .draw-row.won .dr-name{ color:var(--ink); }

/* participant search */
.part-search{ position:relative; margin-top:14px; max-width:340px; }
.part-search .si{ position:absolute; left:12px; top:50%; transform:translateY(-50%); color:var(--dim); display:inline-flex; }
.part-search input{ width:100%; height:42px; border:1px solid var(--line-strong); border-radius:var(--r-sm); background:var(--surface); color:var(--ink); padding:0 14px 0 38px; font-size:14px; outline:none; transition:border-color .2s; }
.part-search input:focus{ border-color:var(--faint); }
.part.hit{ background:color-mix(in oklab,var(--gold) 18%, var(--tile)); }
.part mark{ background:transparent; color:var(--ink); font-weight:800; }
.part-empty{ margin-top:12px; font-size:13.5px; color:var(--dim); }

/* profile — my winnings */
.pf-wins{ padding:6px 20px; }
.win-row{ display:flex; align-items:center; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.win-row:last-of-type{ border-bottom:0; }
.win-medal{ width:42px; height:42px; border-radius:12px; flex:none; display:grid; place-items:center; background:color-mix(in oklab,var(--gold) 16%, var(--tile)); color:var(--gold-bright); }
.win-medal .ic{ width:22px; height:22px; }
.win-info{ min-width:140px; }
.win-info b{ font-weight:700; font-size:15px; display:block; }
.win-info span{ font-size:12.5px; color:var(--dim); }
.win-code{ display:flex; align-items:center; gap:8px; margin-left:auto; flex-wrap:wrap; }
.win-code .wc{ font-family:var(--mono); font-size:13.5px; font-weight:700; background:var(--tile); border:1px solid var(--line); border-radius:9px; padding:8px 12px; letter-spacing:.04em; color:var(--ink); }
.win-code .wc.masked{ color:var(--faint); letter-spacing:.18em; }
.win-note{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--dim); margin-top:14px; }
.win-note .ic{ color:var(--ok); flex:none; }
@media (max-width:680px){ .win-code{ margin-left:0; width:100%; } .win-code .wc{ flex:1; } }

/* roulette mobile — placed after the base .rfl-* rules so it actually wins the cascade */
@media (max-width:680px){
  .roul{ padding:16px 14px; }
  /* banner = hero, full-width with a clear gold frame */
  .rfl-banner{ aspect-ratio:16/7; margin:0 0 16px; border-radius:14px; }
  .rfl-banner:not(.has-img){ border:1.5px solid color-mix(in oklab,var(--gold) 45%, var(--line-strong));
    background:repeating-linear-gradient(135deg, transparent 0 13px, color-mix(in oklab,var(--gold) 8%, transparent) 13px 26px), color-mix(in oklab,var(--gold) 9%, var(--tile)); }
  .rfl-banner-ph{ color:color-mix(in oklab,var(--gold) 60%, var(--ink)); font-size:10.5px; }
  /* name + timer stack; timer is a compact full-width strip */
  .rfl-top{ flex-direction:column; align-items:stretch; gap:13px; }
  .rfl-name{ font-size:19px; }
  .rfl-timer{ align-items:stretch; gap:8px; }
  .rt-cap{ justify-content:flex-start; }
  .countdown{ gap:7px; width:100%; margin:0; }
  .cd-u{ flex:1; min-width:0; font-size:17px; font-weight:700; padding:9px 4px; border-radius:11px; }
  .cd-u small{ font-size:8px; margin-top:3px; letter-spacing:.1em; }
  /* steps a touch tighter */
  .how-step .how-n{ width:24px; height:24px; font-size:12px; }
  .how-step b{ font-size:13.5px; }
}
/* carousel dots (mobile banners) */
.bn-dots{ display:none; }
@media (max-width:680px){
  .bn-dots{ display:flex; gap:6px; justify-content:center; margin-top:10px; }
  .bn-dots i{ width:6px; height:6px; border-radius:50%; background:var(--line-strong); transition:background .25s, width .25s; }
  .bn-dots i.on{ background:var(--ink); width:18px; border-radius:3px; }
}

/* ---------- news: Telegram-channel posts ---------- */
.tg-post{ border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); box-shadow:var(--shadow-sm); margin-bottom:16px; overflow:hidden; cursor:pointer; transition:box-shadow .2s, transform .18s var(--ease); max-width:680px; }
@media (hover:hover){ .tg-post:hover{ box-shadow:var(--shadow); } }
.tg-head{ display:flex; align-items:center; gap:11px; padding:15px 18px 12px; }
.tg-av{ width:40px; height:40px; border-radius:50%; background:var(--tile); display:grid; place-items:center; flex:none; }
.tg-av .mark{ width:24px; height:24px; }
.tg-id{ flex:1; min-width:0; }
.tg-name{ font-weight:800; font-size:14.5px; display:flex; align-items:center; gap:6px; letter-spacing:-.01em; }
.tg-name .ic{ width:14px; height:14px; color:var(--gold); }
.tg-meta{ font-size:12px; color:var(--dim); }
.tg-tag{ font-size:11px; font-weight:700; color:var(--gold); background:var(--gold-soft); padding:4px 10px; border-radius:8px; flex:none; }
.tg-cover{ aspect-ratio:1200/300; background:linear-gradient(135deg, var(--ink-panel), color-mix(in oklab,var(--ink-panel) 65%, #000)); color:var(--on-ink); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; position:relative; overflow:hidden; }
.tg-cover::after{ content:""; position:absolute; inset:0; background:repeating-radial-gradient(circle at 82% 26%, transparent 0 26px, rgba(255,255,255,.05) 26px 27px); }
.tg-cover .ic{ width:30px; height:30px; opacity:.9; position:relative; }
.tg-cover span{ font-size:15px; font-weight:700; max-width:78%; text-align:center; position:relative; letter-spacing:-.01em; line-height:1.3; }
.tg-text{ padding:14px 18px 2px; font-size:14.5px; line-height:1.55; color:var(--ink-soft); }
.tg-text b{ color:var(--ink); font-weight:700; }
.tg-full{ display:none; color:var(--dim); }
.tg-more{ color:var(--dim); font-weight:600; }
.tg-post.open .tg-full{ display:inline; }
.tg-post.open .tg-more{ display:none; }
.tg-foot{ display:flex; align-items:center; gap:10px; padding:11px 18px 16px; }
.tg-views{ font-size:12.5px; color:var(--dim); display:inline-flex; align-items:center; gap:6px; font-family:var(--mono); }
.tg-views .ic{ width:14px; height:14px; }
.tg-reacts{ display:flex; gap:7px; margin-left:auto; flex-wrap:wrap; }
.tg-react{ font-size:12.5px; font-weight:600; color:var(--ink-soft); background:var(--tile); border-radius:999px; padding:5px 11px; }

/* news: two-column (feed + channel sidebar) */
.news-layout{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:18px; align-items:start; }
.news-layout .tg-post{ max-width:none; }
.news-aside{ display:flex; flex-direction:column; gap:16px; position:sticky; top:90px; }
.ch-card{ padding:22px 20px; text-align:center; display:flex; flex-direction:column; align-items:center; }
.ch-av{ width:64px; height:64px; border-radius:50%; background:var(--tile); display:grid; place-items:center; margin-bottom:12px; }
.ch-av .mark{ width:38px; height:38px; }
.ch-name{ font-weight:800; font-size:18px; letter-spacing:-.02em; display:flex; align-items:center; gap:6px; }
.ch-name [data-ic]{ color:var(--gold); display:inline-flex; }
.ch-sub{ font-size:12.5px; color:var(--dim); margin-top:2px; }
.ch-stat{ font-size:13px; color:var(--dim); margin:14px 0 16px; }
.ch-stat b{ color:var(--ink); font-weight:800; font-family:var(--mono); }
.ch-join{ width:100%; }
.ch-about{ font-size:12.5px; color:var(--dim); line-height:1.55; margin:16px 0 0; text-align:left; }
@media (max-width:900px){
  .news-layout{ grid-template-columns:1fr; }
  .news-aside{ position:static; order:-1; }
}

/* ---------- account chip + menu (header) ---------- */
.acct{ position:relative; }
.acct-chip{ display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 10px 0 7px; border:1px solid var(--line-strong); border-radius:999px; background:var(--surface); color:var(--ink); cursor:pointer; font-weight:600; font-size:14px; transition:border-color .15s, background .15s; }
@media (hover:hover){ .acct-chip:hover{ border-color:var(--faint); } }
.acct-chip .ic{ width:15px; height:15px; color:var(--dim); transition:transform .2s; }
.acct.open .acct-chip .ic{ transform:rotate(180deg); }
.acct-av{ width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-weight:800; font-size:13px; color:#fff; background:var(--ink); flex:none; line-height:1; overflow:hidden; }
.acct-nm{ max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.acct-menu{ position:absolute; top:50px; right:0; min-width:230px; background:var(--surface); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow-lg); padding:7px; opacity:0; transform:translateY(-6px); pointer-events:none; transition:opacity .16s var(--ease), transform .16s var(--ease); z-index:40; }
.acct.open .acct-menu{ opacity:1; transform:none; pointer-events:auto; }
.acct-menu a{ display:flex; align-items:center; gap:11px; padding:11px 13px; border-radius:9px; font-size:14px; font-weight:500; cursor:pointer; color:var(--ink); }
.acct-menu a .ic{ width:17px; height:17px; color:var(--dim); }
@media (hover:hover){ .acct-menu a:hover{ background:var(--tile); } }
#acctLogout{ color:var(--bad,#d8503a); } #acctLogout .ic{ color:var(--bad,#d8503a); }
.acct-badge{ margin-left:auto; font-family:var(--mono); font-size:12px; font-weight:700; color:var(--gold); background:var(--gold-soft); border-radius:999px; padding:2px 9px; }
.acct-badge:empty{ display:none; }
.mtop-av{ width:34px; height:34px; border-radius:50%; border:0; padding:0; display:grid; place-items:center; font-weight:800; font-size:14px; color:#fff; background:var(--ink); cursor:pointer; flex:none; }

/* ---------- profile view ---------- */
.pf-card{ position:relative; overflow:hidden; border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); box-shadow:var(--shadow-sm); margin-top:28px; }
.pf-cover{ height:120px; background:linear-gradient(120deg, var(--ink-panel), color-mix(in oklab,var(--ink-panel) 60%, #000)); position:relative; overflow:hidden; }
.pf-cover .grid-bg{ position:absolute; inset:0; opacity:.5; }
.pf-body{ padding:0 26px 24px; display:flex; align-items:flex-end; gap:18px; margin-top:-44px; position:relative; flex-wrap:wrap; }
.pf-av{ width:96px; height:96px; border-radius:26px; display:grid; place-items:center; font-weight:800; font-size:40px; color:#fff; background:var(--ink); border:4px solid var(--surface); flex:none; line-height:1; overflow:hidden; box-shadow:var(--shadow); }
.pf-id{ flex:1; min-width:200px; padding-bottom:4px; }
.pf-name{ font-size:24px; font-weight:800; letter-spacing:-.02em; display:flex; align-items:center; gap:9px; }
.pf-handle{ font-family:var(--mono); font-size:13px; color:var(--dim); margin-top:3px; }
.pf-verified{ display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700; color:var(--gold); background:var(--gold-soft); border-radius:999px; padding:4px 11px; }
.pf-verified .ic{ width:14px; height:14px; }
.pf-actions{ display:flex; gap:10px; padding-bottom:4px; flex-wrap:wrap; }
.pf-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:20px; }
.pf-stat{ border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); padding:16px 18px; box-shadow:var(--shadow-sm); }
.pf-stat .n{ font-size:24px; font-weight:800; font-family:var(--mono); letter-spacing:-.02em; }
.pf-stat .l{ font-size:12.5px; color:var(--dim); margin-top:3px; }
.pf-grid{ display:grid; grid-template-columns:1.4fr 1fr; gap:18px; align-items:start; margin-top:18px; }
.pf-sec-title{ font-weight:800; font-size:17px; letter-spacing:-.01em; margin:0 0 14px; display:flex; align-items:center; gap:9px; }
.pf-sec-title .cnt{ margin-left:auto; }
.priv-list{ display:flex; flex-direction:column; gap:11px; }
.priv{ display:flex; align-items:flex-start; gap:12px; font-size:14px; }
.priv .pc{ width:30px; height:30px; border-radius:9px; background:var(--gold-soft); color:var(--gold); display:grid; place-items:center; flex:none; }
.priv .pc .ic{ width:16px; height:16px; }
.priv b{ font-weight:700; } .priv span{ color:var(--dim); display:block; font-size:12.5px; margin-top:1px; }
.av-pick{ display:flex; flex-wrap:wrap; gap:9px; margin-top:6px; }
.av-sw{ width:34px; height:34px; border-radius:50%; cursor:pointer; border:2px solid transparent; transition:transform .12s; }
@media (hover:hover){ .av-sw:hover{ transform:scale(1.08); } }
.av-sw.on{ border-color:var(--ink); box-shadow:0 0 0 2px var(--surface) inset; }
.av-emoji{ display:flex; flex-wrap:wrap; gap:9px; margin-top:12px; }
.av-em{ width:38px; height:38px; border-radius:11px; border:1px solid var(--line-strong); background:var(--surface); display:grid; place-items:center; font-size:19px; cursor:pointer; transition:border-color .12s, transform .12s; }
@media (hover:hover){ .av-em:hover{ transform:scale(1.06); } }
.av-em.on{ border-color:var(--ink); background:var(--tile); }
.pf-empty{ text-align:center; color:var(--dim); padding:30px 16px; }
.pf-empty .ic{ width:30px; height:30px; color:var(--faint); margin-bottom:8px; }
@media (max-width:820px){ .pf-grid{ grid-template-columns:1fr; } .pf-stats{ grid-template-columns:1fr; } }

/* ---------- favorite heart on shop cards ---------- */
.sc-fav{ position:absolute; top:14px; right:14px; width:36px; height:36px; border-radius:10px; border:1px solid var(--line-strong); background:var(--surface); display:grid; place-items:center; cursor:pointer; z-index:3; transition:border-color .15s, background .15s; }
.sc-fav .ic{ width:18px; height:18px; color:var(--dim); transition:color .15s; }
@media (hover:hover){ .sc-fav:hover{ border-color:var(--faint); } }
.sc-fav.on{ background:var(--gold-soft); border-color:transparent; }
.sc-fav.on .ic{ color:var(--gold); }
.shopcard{ position:relative; }

/* ---------- avatar with uploaded photo ---------- */
.acct-av.has-photo, .mtop-av.has-photo, .pf-av.has-photo{ color:transparent; background-size:cover; background-position:center; }
.av-upload{ display:flex; flex-wrap:wrap; gap:9px; }

/* ---------- news reactions (interactive) ---------- */
.tg-react{ border:0; cursor:pointer; font-family:inherit; display:inline-flex; align-items:center; gap:5px; transition:background .15s, color .15s, transform .1s; }
@media (hover:hover){ .tg-react:hover{ transform:translateY(-1px); } }
.tg-react:active{ transform:scale(.94); }
.tg-react .rc{ font-weight:700; }
.tg-react.on{ background:var(--gold-soft); color:var(--gold); }
.tg-react.add{ color:var(--dim); padding:6px 11px; }
.tg-react.add .ic{ width:15px; height:15px; }
.react-add-wrap{ position:relative; display:inline-flex; }
.react-pop{ position:absolute; bottom:40px; right:0; display:none; gap:3px; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:6px; box-shadow:var(--shadow-lg); z-index:8; }
.react-pop.open{ display:flex; animation:reactPop .16s var(--ease); }
@keyframes reactPop{ from{ opacity:0; transform:translateY(5px); } to{ opacity:1; transform:none; } }
.react-pop span{ cursor:pointer; font-size:20px; line-height:1; padding:5px 6px; border-radius:9px; transition:background .12s, transform .12s; }
@media (hover:hover){ .react-pop span:hover{ background:var(--tile); transform:scale(1.14); } }

/* ---------- exchange select / input polish (fixes square hover) ---------- */
.ex-fld select{ -webkit-appearance:none; -moz-appearance:none; appearance:none; padding-right:40px; cursor:pointer; transition:border-color .15s, box-shadow .15s;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238a90a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat; background-position:right 13px center; }
.ex-fld input{ transition:border-color .15s, box-shadow .15s; }
@media (hover:hover){ .ex-fld select:hover, .ex-fld input:hover{ border-color:var(--faint); } }
.ex-fld select:focus, .ex-fld input:focus{ border-color:var(--ink); box-shadow:0 0 0 3px color-mix(in oklab, var(--ink) 8%, transparent); outline:none; }


/* === TZ production additions === */
.tz-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-top:12px}
.tz-fld{display:flex;flex-direction:column;gap:6px}.tz-fld label{font-size:12px;color:var(--dim);font-weight:650}.tz-fld select,.tz-fld input{height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);padding:0 12px;font-family:var(--sans);outline:none}.tz-fld select:focus,.tz-fld input:focus{border-color:var(--ink)}
.joblist,.special-list{display:flex;flex-direction:column;gap:16px}.jobcard,.service-special{border:1px solid var(--line);background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);padding:22px;display:grid;grid-template-columns:1.4fr 1fr auto;gap:22px;align-items:center;transition:transform .2s var(--ease),box-shadow .2s}.jobcard:hover,.service-special:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.job-title,.special-title{font-size:22px;font-weight:800;letter-spacing:-.03em}.job-company,.special-sub{color:var(--dim);font-size:14px;margin-top:5px}.job-meta,.special-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.job-meta span,.special-meta span{border:1px solid var(--line);border-radius:999px;padding:6px 10px;font-size:12.5px;color:var(--ink);background:var(--tile)}.job-salary,.special-main{font-size:22px;font-weight:850}.job-salary small,.special-main small{display:block;font-size:12px;color:var(--dim);font-weight:600;margin-top:5px}.work-note{font-size:12px;color:var(--dim);margin-top:8px;line-height:1.45}.admin-hint,.prod-hint{border:1px dashed var(--line);border-radius:16px;background:var(--tile);padding:14px 16px;color:var(--dim);font-size:13.5px;line-height:1.45;margin:12px 0}.admin-hint b,.prod-hint b{color:var(--ink)}
@media (max-width:980px){.shopcard{grid-template-columns:1fr 1fr}.shopcard .mir-col:nth-of-type(3){display:none}.tz-filter-grid{grid-template-columns:1fr 1fr}.jobcard,.service-special{grid-template-columns:1fr}}
@media (max-width:680px){.tz-filter-grid{grid-template-columns:1fr}.job-title,.special-title{font-size:19px}.job-salary,.special-main{font-size:18px}.shopcard .mir-col{display:none!important}}

/* production hardening: text wrapping and overflow safety */
.sc-name,.sc-desc,.mir-link,.m-row,.review p,.job-title,.job-company,.special-title,.special-meta span,.cat-copy,.cat-hint,.bubble,.bn .bl,.bn .bd,.acct-nm,.r-who,.rev-shop,.mtype{ overflow-wrap:anywhere; word-break:break-word; }
.shopcard,.sc-main,.mir-col,.panel,.jobcard,.service-special,.chat-layout,.chat-page,.aside,.detail-grid,.r-top{ min-width:0; }
.mir-link,.m-row{ align-items:flex-start; }
.cat-head > div{ min-width:0; }
@media (max-width:680px){ .cat-copy{ font-size:13px; margin:-2px 0 13px; } .cat-hint{ font-size:11px; } }

/* ===== RADAR clean production polish ===== */

/* keep original design, only prevent category text/image collisions */
.cats .cat,
#catsGrid .cat {
  isolation: isolate;
}

.cats .cat .cat-head,
#catsGrid .cat .cat-head {
  max-width: 58%;
}

.cats .cat.big .cat-head,
#catsGrid .cat.big .cat-head {
  max-width: 56%;
}

.cats .cat.tall .cat-head,
#catsGrid .cat.tall .cat-head {
  max-width: 72%;
}

.cats .cat .cat-hint,
#catsGrid .cat .cat-hint {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cats .cat .cat-photo,
#catsGrid .cat .cat-photo {
  object-fit: contain;
  object-position: center right;
}

.cats .cat.big .cat-art,
#catsGrid .cat.big .cat-art {
  width: 64%;
  height: 66%;
}

.cats .cat:not(.big):not(.tall) .cat-art,
#catsGrid .cat:not(.big):not(.tall) .cat-art {
  width: 42%;
}

@media (max-width: 680px) {
  .cats .cat .cat-head,
  #catsGrid .cat .cat-head {
    max-width: 60%;
  }

  .cats .cat.big .cat-head,
  #catsGrid .cat.big .cat-head {
    max-width: 58%;
  }

  .cats .cat:not(.big):not(.tall) .cat-art,
  #catsGrid .cat:not(.big):not(.tall) .cat-art {
    width: 38%;
  }
}

/* demo badge is intentionally disabled for clean production preview */
.radar-demo-badge {
  display: none !important;
}

/* do not let accidental overlay modals override native project modals */
.radar-modal-backdrop,
.radar-toast {
  display: none !important;
}
