/* Rider Therapy Jaipur - Main Stylesheet */
:root {
  --bg: #0B0B0F;
  --card: #15151C;
  --card2: #1D1D28;
  --line: #2B2B3A;
  --text: #F4F4F8;
  --mute: #A9A9BC;
  --p: #8B2BFF;
  --m: #D000FF;
  --plt: #B98AFF;
  --ok: #35D07F;
  --warn: #FFB020;
  --bad: #FF6B7A;
  --f-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --f-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --grad: linear-gradient(135deg, #8B2BFF, #D000FF);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: #0B0B0F;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--plt); outline-offset: 2px; }
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .01em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  width: 100%;
}
.metal {
  background: linear-gradient(180deg, #fff 0%, #cfcfdc 52%, #8c8ca2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--plt);
}
.muted { color: var(--mute); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* notification bar / badges */
.demobar { background: #1a0f2b; border-bottom: 1px solid #3a2262; font-size: 13px; color: #d9c3ff; }
.demobar .wrap { display: flex; gap: 10px; align-items: center; justify-content: center; padding-top: 7px; padding-bottom: 7px; text-align: center; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid #5b34a0; border-radius: 4px; padding: 2px 7px; color: #e5d4ff; }

/* header */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(11, 11, 15, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hrow { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; padding: 0; text-align: left; }
.logoimg { height: 46px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.logoph { display: flex; align-items: center; gap: 10px; }
.logomark { width: 44px; height: 44px; border-radius: 6px; border: 1.5px dashed #6b3fc0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 22px; color: #fff; background: radial-gradient(circle at 30% 20%, #3a1670, #120a22); }
.logotext { font-family: var(--f-display); font-weight: 900; font-size: 21px; line-height: .9; text-transform: uppercase; letter-spacing: .03em; }
.logotext small { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 9px; letter-spacing: .14em; color: var(--plt); margin-top: 3px; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a, .nav button, .mnav a, .mnav button { background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 12px; border-radius: 6px; color: var(--mute); display: inline-flex; align-items: center; }
.nav a:hover, .nav button:hover, .mnav a:hover, .mnav button:hover { color: #fff; background: var(--card); }
.nav a[aria-current="page"], .mnav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--m); }
.hsearch { display: none; margin-left: auto; position: relative; }
.hsearch input { width: 240px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px 9px 38px; color: #fff; }
.hsearch .ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.hactions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.iconbtn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: var(--card); border: 1px solid var(--line); cursor: pointer; color: #fff; }
.iconbtn:hover { border-color: var(--p); }
.mpanel { border-top: 1px solid var(--line); padding-bottom: 14px; }
.mnav { display: flex; flex-direction: column; padding-top: 8px; }
.mnav a, .mnav button { text-align: left; padding: 12px 4px; font-size: 17px; }
.mpanel form { position: relative; margin-top: 6px; }
.mpanel input { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px 11px 38px; color: #fff; }
.mpanel .ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--mute); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .hsearch { display: block; }
  .hactions { margin-left: 0; }
  .menubtn { display: none; }
  .mobsearch { display: none; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s, border-color .2s, background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 0 0 rgba(139,43,255,0); border: 0; }
.btn-primary:hover { box-shadow: 0 0 22px rgba(179,60,255,.55); }
.btn-ghost { background: transparent; border-color: #4a3a73; color: #fff; }
.btn-ghost:hover { border-color: var(--m); background: rgba(208,0,255,.08); }
.btn-wa { background: #18c964; color: #04170c; font-weight: 700; border: 0; }
.btn-wa:hover { box-shadow: 0 0 22px rgba(24,201,100,.4); }
.btn-sm { padding: 8px 12px; font-size: 13px; }
.btn[disabled], .btn[aria-disabled="true"], a.btn.disabled { opacity: .45; cursor: not-allowed; box-shadow: none; pointer-events: none; }
.btn-danger { background: transparent; border-color: #6b2a35; color: var(--bad); }
.btn-danger:hover { background: rgba(255,107,122,.1); }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 420px at 85% 20%, rgba(139,43,255,.28), transparent 60%), radial-gradient(600px 300px at 10% 100%, rgba(208,0,255,.12), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,255,255,.025) 46px 47px);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
  padding-top: 44px;
  padding-bottom: 52px;
  align-items: center;
}
.hero h1 { font-weight: 900; font-size: clamp(46px, 9vw, 108px); }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { max-width: 52ch; color: var(--mute); font-size: 18px; margin-top: 18px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .proof { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: var(--mute); }
.hero .proof span { display: inline-flex; align-items: center; gap: 7px; }
.heroart {
  justify-self: center;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(circle, #1b0f33 0%, #0d0818 70%);
  box-shadow: 0 0 0 1px #3a2262, 0 0 80px rgba(139,43,255,.45), inset 0 0 60px rgba(139,43,255,.25);
  overflow: hidden;
}
.heroart img { max-width: 70%; max-height: 70%; object-fit: contain; }
.heroart .ph { text-align: center; padding: 24px; }
.heroart .ph b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 58px; line-height: .9; text-transform: uppercase; }
.heroart .ph span { display: block; margin-top: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--plt); border: 1px dashed #6b3fc0; border-radius: 6px; padding: 6px 10px; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.25fr .75fr; padding-top: 64px; padding-bottom: 72px; }
}

/* sections */
.section { padding-top: 56px; }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.shead h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; }
.shead .eyebrow { margin-bottom: 8px; display: block; }
.link { background: none; border: 0; cursor: pointer; color: var(--plt); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; font-size: 14px; letter-spacing: .05em; padding: 6px 0; }
.link:hover { color: #fff; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 400px) { .grid { grid-template-columns: minmax(0, 1fr); } }

/* product card */
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .25s, transform .2s; min-width: 0; }
.pcard:hover { border-color: #5b34a0; box-shadow: 0 0 28px rgba(139,43,255,.22); transform: translateY(-2px); }
.pimg { position: relative; display: block; width: 100%; aspect-ratio: 1; background: #0f0f16; border: 0; padding: 0; cursor: pointer; overflow: hidden; }
.pimg svg, .pimg img { width: 100%; height: 100%; display: block; object-fit: cover; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; background: var(--grad); color: #fff; }
.badge.out { background: #2a1218; color: var(--bad); border: 1px solid #6b2a35; }
.badge.feat { background: #0B0B0F; border: 1px solid var(--plt); color: var(--plt); }
.pbody { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.pcat { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--plt); }
.pname { font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1.25; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; text-transform: none; letter-spacing: 0; color: #fff; }
.pname:hover { color: var(--plt); }
.rate { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-family: var(--f-mono); font-size: 19px; font-weight: 500; }
.price s { color: var(--mute); font-size: 14px; font-family: var(--f-mono); }
.price .off { color: var(--ok); font-size: 13px; font-weight: 600; }
.stock { font-size: 13px; display: flex; align-items: center; gap: 6px; }
.stock i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 6px; }
.pact .btn { padding: 9px 8px; font-size: 13px; }
.stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; }
.sfill { position: absolute; top: 0; bottom: 0; left: 0; overflow: hidden; white-space: nowrap; }
.srow { display: inline-flex; gap: 2px; white-space: nowrap; }

/* categories */
.cats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0; overflow: hidden; cursor: pointer; text-align: left; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.cat:hover { border-color: var(--m); box-shadow: 0 0 24px rgba(208,0,255,.18); }
.cat .cart { aspect-ratio: 16/9; background: #0f0f16; overflow: hidden; }
.cat .cart svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.cat .catb { padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cat h3 { font-size: 24px; font-weight: 800; color: #fff; }
.cat small { font-family: var(--f-mono); font-size: 12px; color: var(--mute); }

/* promo */
.promo { border-radius: 16px; border: 1px solid #4a2a85; overflow: hidden; position: relative; padding: 32px 26px; background: linear-gradient(120deg, #1a0b36 0%, #2a0c4a 45%, #4a0a62 100%); }
.promo::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(208,0,255,.55), transparent 70%); }
.promo > * { position: relative; z-index: 1; }
.promo h2 { font-size: clamp(34px, 6vw, 64px); font-weight: 900; max-width: 16ch; }
.promo p { max-width: 48ch; margin-top: 12px; color: #e0d0ff; }
.promo .btn { margin-top: 20px; }

.why { display: grid; gap: 14px; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 620px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .why { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.whyi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.whyi .wi { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(139,43,255,.15); border: 1px solid #4a2a85; color: var(--plt); margin-bottom: 14px; }
.whyi h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.whyi p { color: var(--mute); font-size: 15px; }

.wacta { border: 1px solid #1d6b3f; background: linear-gradient(120deg, #0c1f15, #0f1a1f); border-radius: 16px; padding: 28px 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.wacta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; }
.wacta p { color: var(--mute); margin-top: 6px; max-width: 52ch; }

/* footer */
.footer { margin-top: 72px; border-top: 1px solid var(--line); background: #08080b; }
.fgrid { display: grid; gap: 30px; padding-top: 44px; padding-bottom: 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .fgrid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--plt); margin: 0 0 12px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer li button, .footer li a { background: none; border: 0; padding: 0; cursor: pointer; color: var(--mute); text-decoration: none; font-size: 15px; text-align: left; }
.footer li button:hover, .footer li a:hover { color: #fff; }
.fbottom { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 26px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--mute); }
.unset { color: #8a7aa8; font-style: italic; }

/* shop */
.pagehead { padding-top: 40px; padding-bottom: 6px; }
.pagehead h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 900; }
.shoplay { display: grid; gap: 22px; padding-top: 22px; }
.fwrap { display: none; margin-top: 12px; }
.fwrap.open { display: block; }
@media (min-width: 960px) {
  .shoplay { grid-template-columns: 270px minmax(0, 1fr); align-items: start; }
  .filtbtn { display: none; }
  .fwrap { display: block; margin-top: 0; position: sticky; top: 90px; }
}
.filters { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 18px; }
.filters h3 { font-size: 22px; font-weight: 800; }
.fl { display: grid; gap: 8px; }
.fl label, .fl legend { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.fl fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.input, .select, .textarea { width: 100%; background: #0f0f16; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: #fff; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--p); outline: none; box-shadow: 0 0 0 3px rgba(139,43,255,.25); }
.textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chk { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 15px; color: var(--text); padding: 3px 0; }
.chk input { accent-color: var(--p); width: 17px; height: 17px; }
.toolbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(139,43,255,.14); border: 1px solid #5b34a0; color: #e5d4ff; border-radius: 999px; padding: 4px 10px; font-size: 13px; cursor: pointer; }
.chip:hover { border-color: var(--m); }
.pager { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager button, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 14px; color: #fff; padding: 0 10px; text-decoration: none; cursor: pointer; user-select: none; transition: border-color .15s, background .15s, color .15s; }
.pager a:hover, .pager button:hover:not(:disabled) { border-color: var(--m); background: var(--card2); color: #fff; }
.pager a[aria-current="page"], .pager button[aria-current="page"], .pager span[aria-current="page"], .pager .active { background: var(--grad); border-color: transparent; color: #fff; font-weight: 700; cursor: default; pointer-events: none; box-shadow: 0 0 16px rgba(139,43,255,.35); }
.pager .disabled, .pager button:disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.empty { border: 1px dashed #4a3a73; border-radius: 14px; padding: 44px 20px; text-align: center; background: var(--card); }
.empty h3 { font-size: 34px; font-weight: 900; margin-bottom: 8px; }
.empty p { color: var(--mute); margin-bottom: 18px; }

/* product page */
.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--mute); padding-top: 24px; }
.crumbs a, .crumbs button { background: none; border: 0; cursor: pointer; color: var(--mute); padding: 0; }
.crumbs a:hover, .crumbs button:hover { color: #fff; }
.pdp { display: grid; gap: 28px; padding-top: 18px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.gallery .main { aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0f0f16; }
.gallery .main svg, .gallery .main img { width: 100%; height: 100%; display: block; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button, .thumbs a { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; border: 2px solid var(--line); padding: 0; cursor: pointer; background: #0f0f16; display: block; }
.thumbs button[aria-current="true"], .thumbs button.active { border-color: var(--m); box-shadow: 0 0 14px rgba(208,0,255,.4); }
.thumbs svg, .thumbs img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pinfo h1 { font-size: clamp(36px, 5.5vw, 62px); font-weight: 900; margin: 8px 0 12px; }
.pinfo .price b { font-size: 30px; }
.pinfo .short { color: var(--mute); margin: 14px 0; }
.qtyrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 20px 0 14px; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); }
.qty button { width: 44px; height: 46px; background: none; border: 0; cursor: pointer; font-size: 20px; color: #fff; display: grid; place-items: center; }
.qty button:hover:not(:disabled) { background: var(--card2); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty input { width: 64px; text-align: center; background: #0f0f16; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-family: var(--f-mono); font-size: 17px; color: #fff; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.total { font-family: var(--f-mono); font-size: 15px; color: var(--mute); }
.total b { color: #fff; font-size: 20px; font-weight: 500; }
.notice { border: 1px solid #5b34a0; background: rgba(139,43,255,.08); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: #e0d0ff; margin-bottom: 12px; }
.notice.warn { border-color: #7a5a12; background: rgba(255,176,32,.08); color: #ffd88a; }
.notice.ok { border-color: #1d6b3f; background: rgba(53,208,127,.08); color: #a8f0c7; }
.notice.bad { border-color: #6b2a35; background: rgba(255,107,122,.08); color: #ffb3bc; }
.specs { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 15px; }
.specs td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.specs td:first-child { color: var(--mute); width: 42%; }
.msgprev { white-space: pre-wrap; font-family: var(--f-mono); font-size: 13px; line-height: 1.55; background: #0f0f16; border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin: 10px 0 0; overflow-wrap: anywhere; color: #cfcfdc; }
details summary { cursor: pointer; color: var(--plt); font-size: 14px; margin-top: 12px; font-weight: 600; }
.revgrid { display: grid; gap: 28px; }
@media (min-width: 900px) { .revgrid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; } }
.rev { border-bottom: 1px solid var(--line); padding: 16px 0; }
.rev header { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.rev b { font-weight: 600; }
.rev time { color: var(--mute); font-size: 13px; font-family: var(--f-mono); }
.rev p { color: #d8d8e4; overflow-wrap: anywhere; }
.revform { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 14px; }
.starpick { display: flex; gap: 4px; }
.starpick button, .starpick label { background: none; border: 0; cursor: pointer; padding: 3px; color: #3a3a4a; line-height: 0; border-radius: 6px; display: inline-flex; align-items: center; }
.starpick button[aria-checked="true"], .starpick button.on, .starpick input:checked ~ svg { color: var(--warn); }
.starpick input[type="radio"] { display: none; }
.err { color: var(--bad); font-size: 13px; }
.dist { display: grid; gap: 6px; margin: 14px 0 6px; max-width: 360px; }
.dist div { display: grid; grid-template-columns: 34px 1fr 26px; gap: 8px; align-items: center; font-size: 13px; color: var(--mute); }
.dist i { height: 7px; border-radius: 4px; background: #252533; display: block; overflow: hidden; }
.dist i span { display: block; height: 100%; background: var(--grad); }

/* about/contact */
.prose { max-width: 68ch; color: #d0d0de; font-size: 17px; display: grid; gap: 16px; }
.split { display: grid; gap: 28px; padding-top: 24px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.dl { display: grid; gap: 16px; }
.dl div { display: grid; gap: 3px; }
.dl dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--plt); }
.dl dd { margin: 0; overflow-wrap: anywhere; }

/* admin */
.adm { display: grid; gap: 18px; padding-top: 20px; }
@media (min-width: 960px) { .adm { grid-template-columns: 210px minmax(0, 1fr); align-items: start; } }
.atabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
@media (min-width: 960px) { .atabs { flex-direction: column; position: sticky; top: 90px; } }
.atabs a, .atabs button { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; cursor: pointer; white-space: nowrap; font-weight: 600; color: var(--mute); text-decoration: none; }
.atabs a:hover, .atabs button:hover { color: #fff; }
.atabs a[aria-current="page"], .atabs a.active { color: #fff; border-color: var(--m); box-shadow: 0 0 16px rgba(208,0,255,.22); }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stat b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 46px; line-height: 1; }
.stat span { color: var(--mute); font-size: 14px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 820px; font-size: 14px; }
.tbl th { font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); text-align: left; padding: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .thumb { width: 46px; height: 46px; border-radius: 6px; overflow: hidden; background: #0f0f16; }
.tbl .thumb svg, .tbl .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pill { display: inline-block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); }
.pill.ok { color: var(--ok); border-color: #1d6b3f; background: rgba(53,208,127,.08); }
.pill.warn { color: var(--warn); border-color: #7a5a12; background: rgba(255,176,32,.08); }
.pill.bad { color: var(--bad); border-color: #6b2a35; background: rgba(255,107,122,.08); }
.pill.off { color: var(--mute); }
.acts { display: flex; gap: 6px; flex-wrap: wrap; }
.stk { width: 70px; padding: 6px 8px; text-align: center; font-family: var(--f-mono); }
.fgrid2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .fgrid2.two { grid-template-columns: 1fr 1fr; } }
.imglist { display: grid; gap: 8px; }
.imgrow { display: flex; gap: 10px; align-items: center; background: #0f0f16; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.imgrow img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.imgrow span { flex: 1; font-size: 13px; color: var(--mute); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 90; background: #1a0f2b; border: 1px solid var(--p); color: #fff; padding: 11px 18px; border-radius: 10px; box-shadow: 0 0 30px rgba(139,43,255,.4); max-width: calc(100% - 32px); font-size: 15px; animation: toastIn .3s ease-out; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 15px); } to { opacity: 1; transform: translate(-50%, 0); } }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { accent-color: var(--p); width: 18px; height: 18px; }
.spacer { height: 14px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
