/* AbuElectric — elektriklar katalogi. Mobil-birinchi. */
:root {
  --ink: #0b1526;
  --ink-2: #13223b;
  --ink-3: #1d3150;
  --volt: #ffc21a;
  --volt-2: #ffd659;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #111a2b;
  --muted: #5d6779;
  --border: #e2e5ea;
  --green: #11a05b;
  --green-soft: #e3f6ec;
  --blue-soft: #e7efff;
  --blue: #2457c5;
  --amber-soft: #fff4d1;
  --red: #c62f2f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 21, 38, .06), 0 10px 28px -14px rgba(11, 21, 38, .22);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a111e; --surface: #111b2c; --text: #e8edf5; --muted: #98a3b6; --border: #23324a;
    --green-soft: #12301f; --blue-soft: #16264a; --blue: #8fb0ff; --amber-soft: #3a3010;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; border-radius: 8px; }

.demo-banner { background: var(--volt); color: #1a1400; font-size: 14px; font-weight: 700; text-align: center; padding: 8px 12px; }

/* ---------- Header ---------- */
.top { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 20px; margin-right: auto; letter-spacing: -.01em; }
.logo i { width: 34px; height: 34px; border-radius: 10px; background: var(--volt); color: var(--ink); display: grid; place-items: center; font-style: normal; font-size: 19px; }
.logo b { font-weight: 800; }
.logo span { color: var(--volt); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: rgba(255, 255, 255, .8); font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav a.cta { background: var(--volt); color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .2); background: none; color: #fff; border-radius: 12px; font-size: 20px; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: grid; place-items: center; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; background: var(--ink-2); padding: 8px 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 17px; }
}

/* ---------- Tugmalar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px; border-radius: 14px; border: 0;
  font: 800 17px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, filter .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-volt { background: var(--volt); color: var(--ink); }
.btn-volt:hover { filter: brightness(1.05); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.btn-call { background: var(--green); color: #fff; flex: 1; }
.btn-tg { background: #229ed9; color: #fff; flex: 1; }
.btn-block { width: 100%; }

/* ---------- Hero va qidiruv ---------- */
.hero { background: radial-gradient(700px 360px at 85% 0%, #1f3a63, transparent 70%), var(--ink); color: #fff; padding: 34px 0 96px; }
.hero h1 { font-size: clamp(30px, 6.4vw, 52px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--volt); }
.hero p { color: rgba(255, 255, 255, .72); margin-top: 12px; font-size: 18px; max-width: 560px; }

.search-card { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; margin-top: -72px; position: relative; z-index: 2; border: 1px solid var(--border); }
.search-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.field label { display: block; font-size: 14px; font-weight: 800; color: var(--muted); margin: 0 0 6px 4px; }
.field select, .field input {
  width: 100%; min-height: 54px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--border);
  background: var(--bg); color: var(--text); font: 600 17px var(--font); appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d6779' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select:disabled { opacity: .55; }
.search-grid .btn { min-height: 54px; padding: 0 28px; }
.toggle { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-weight: 800; cursor: pointer; user-select: none; width: fit-content; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .sw { width: 52px; height: 30px; border-radius: 99px; background: var(--border); position: relative; transition: background .2s; flex: none; }
.toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.toggle input:checked + .sw { background: var(--green); }
.toggle input:checked + .sw::after { transform: translateX(22px); }
.toggle input:focus-visible + .sw { outline: 3px solid var(--volt); outline-offset: 2px; }
@media (max-width: 860px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-grid .field:first-child { grid-column: 1 / -1; }
  .search-grid .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .search-grid { grid-template-columns: 1fr; } }

/* ---------- Bo'limlar ---------- */
.section { padding: 40px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(22px, 4vw, 30px); font-weight: 800; }
.section-head a { font-weight: 800; color: var(--blue); text-decoration: none; white-space: nowrap; }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.svc { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; text-decoration: none; font-weight: 800; font-size: 15px; line-height: 1.25; min-height: 64px; }
.svc span { font-size: 24px; flex: none; }
.svc:hover { border-color: var(--volt); }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr 1fr; } }

.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.regions a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; font-weight: 700; }
.regions a::after { content: "›"; color: var(--muted); font-size: 22px; line-height: 1; }
.regions a:hover { border-color: var(--volt); }
@media (max-width: 760px) { .regions { grid-template-columns: 1fr; } }

.join { margin-top: 40px; background: var(--ink); color: #fff; border-radius: 24px; padding: 28px 22px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.join h2 { font-size: clamp(22px, 4vw, 30px); }
.join h2 em { font-style: normal; color: var(--volt); }
.join p { color: rgba(255, 255, 255, .7); margin-top: 8px; max-width: 520px; }
.join ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: rgba(255, 255, 255, .85); font-weight: 700; }
@media (max-width: 520px) { .join .btn { width: 100%; } }

/* ---------- Kartochka ---------- */
.list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .list { grid-template-columns: 1fr; } }
.ecard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(11, 21, 38, .04); display: flex; flex-direction: column; overflow: hidden; }
.ecard.is-free { border-color: color-mix(in srgb, var(--green) 45%, var(--border)); }
.ecard-main { display: flex; gap: 14px; padding: 16px 16px 12px; text-decoration: none; flex: 1; }
.avatar { position: relative; width: 64px; height: 64px; border-radius: 18px; background: var(--ink-3); color: var(--volt); display: grid; place-items: center; font-weight: 800; font-size: 22px; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.avatar .dot { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); border: 3px solid var(--surface); }
.ecard-info { min-width: 0; flex: 1; }
.ecard h3 { font-size: 18px; font-weight: 800; }
.badge-ok { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; vertical-align: 2px; margin-left: 2px; }
.place { color: var(--muted); font-size: 15px; margin-top: 3px; }
.flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.flags:empty { display: none; }
.flag { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 99px; }
.flag-free { background: var(--green-soft); color: var(--green); }
.flag-trip { background: var(--blue-soft); color: var(--blue); }
.flag-pending { background: var(--bg); color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; font-size: 15px; }
.stars { color: #d99a00; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--amber-soft); }
.chip-more { background: var(--bg); color: var(--muted); }
.ecard-actions { display: flex; gap: 8px; padding: 0 16px 16px; }

/* Skeleton */
.sk { background: linear-gradient(90deg, var(--border) 0%, var(--bg) 50%, var(--border) 100%); background-size: 200% 100%; animation: sk 1.2s ease-in-out infinite; border-radius: 10px; }
.avatar.sk { border-radius: 18px; }
.sk-line { height: 14px; margin: 6px 0 10px; }
.w40 { width: 40%; } .w60 { width: 60%; } .w80 { width: 80%; }
.sk-btn { height: 52px; flex: 1; border-radius: 14px; }
@keyframes sk { to { background-position: -200% 0; } }

/* Holat xabarlari */
.state { grid-column: 1 / -1; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); padding: 28px 20px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.state b { font-size: 18px; }
.state p { color: var(--muted); max-width: 440px; }
.state-error { border-color: color-mix(in srgb, var(--red) 40%, var(--border)); }
.state-error b { color: var(--red); }

/* Natijalar sahifasi */
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 22px 0 14px; }
.results-head h1 { font-size: clamp(22px, 4.5vw, 30px); font-weight: 800; }
.search-compact { margin-top: 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }

/* Footer */
.foot { margin-top: 56px; padding: 28px 0 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { text-decoration: none; font-weight: 700; }
.foot a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { .sk { animation: none; } .btn { transition: none; } }

/* ---------- Usta profili ---------- */
.back { display: inline-block; margin: 16px 0 10px; font-weight: 800; color: var(--blue); text-decoration: none; }
.pf-head { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 18px; }
.pf-head.is-free { border-color: color-mix(in srgb, var(--green) 45%, var(--border)); }
.pf-avatar { position: relative; width: 96px; height: 96px; flex: none; border-radius: 26px; background: var(--ink-3); color: var(--volt); display: grid; place-items: center; font-weight: 800; font-size: 34px; }
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.pf-avatar .dot { position: absolute; right: -4px; bottom: -4px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); border: 4px solid var(--surface); }
.pf-avatar.sk { border-radius: 26px; }
.pf-info { min-width: 0; flex: 1; }
.pf-info h1 { font-size: clamp(22px, 5vw, 30px); font-weight: 800; }
.flag-ok { background: var(--blue-soft); color: var(--blue); }

.actionbar { display: flex; gap: 10px; margin: 14px 0 0; }
.actionbar .btn { min-height: 56px; font-size: 18px; }
@media (max-width: 760px) {
  body.has-actionbar { padding-bottom: 88px; }
  .actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -12px rgba(11, 21, 38, .25); }
}

.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; align-items: start; }
.pf-col { display: grid; gap: 14px; }
@media (max-width: 760px) { .pf-grid { grid-template-columns: 1fr; } }
.pf-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px; }
.pf-card h2 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.pf-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.pf-card-head h2 { margin: 0; }
.btn-sm { min-height: 42px; padding: 0 14px; font-size: 15px; border-radius: 12px; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc-list li { display: flex; gap: 10px; align-items: center; font-weight: 700; padding: 10px 12px; border-radius: 12px; background: var(--amber-soft); }
.svc-list span { font-size: 20px; }
.price { margin-top: 12px; font-size: 16px; }
.about { white-space: pre-line; color: var(--text); }
.trip-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.trip-list li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px; border-radius: 12px; background: var(--blue-soft); }
.trip-list span { color: var(--blue); font-weight: 800; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.work { padding: 0; border: 0; background: var(--bg); border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.work img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(5, 10, 20, .88); }
.lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 12px; }
.lb-close { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 20px; cursor: pointer; }

.rating-sum { display: flex; gap: 18px; align-items: center; padding: 12px; border-radius: 14px; background: var(--bg); margin-bottom: 12px; }
.rating-sum .big { font-size: 40px; font-weight: 800; line-height: 1; display: grid; gap: 4px; text-align: center; min-width: 90px; }
.rating-sum .big small { font-size: 15px; color: #d99a00; letter-spacing: 1px; }
.rating-sum .big span { font-size: 13px; font-weight: 700; }
.bars { flex: 1; display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.bars div { display: grid; grid-template-columns: 12px 1fr 22px; gap: 8px; align-items: center; }
.bars i { height: 8px; border-radius: 9px; background: linear-gradient(90deg, var(--volt) var(--w), var(--border) var(--w)); }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reviews li { padding: 12px 0; border-top: 1px solid var(--border); }
.reviews li:first-child { border-top: 0; padding-top: 0; }
.r-top { display: flex; justify-content: space-between; gap: 10px; }
.reviews p { margin-top: 6px; }
.r-date { font-size: 13px; }
.report { font-size: 15px; color: var(--muted); text-align: center; }
.report a, .linkbtn { color: var(--muted); font: inherit; font-weight: 700; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.report a:hover, .linkbtn:hover { color: var(--text); }
.phone-line { margin-top: 4px; font-weight: 800; font-size: 17px; }
.phone-line a { text-decoration: none; color: var(--green); }
.actionbar .btn { min-width: 0; flex: 1; }

/* ---------- Formalar: kirish, kabinet ---------- */
.auth-card { max-width: 480px; margin: 28px auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 24px 20px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.auth-card.wide { max-width: 680px; }
.auth-card h1 { font-size: clamp(24px, 5vw, 30px); font-weight: 800; }
.auth-card form, .pform, .trip-form { display: grid; gap: 14px; }
.center { text-align: center; }
.phone-input { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 14px; background: var(--bg); overflow: hidden; }
.phone-input span { padding: 0 6px 0 14px; font-weight: 800; font-size: 19px; }
.phone-input input { border: 0 !important; background: transparent !important; font-size: 20px !important; letter-spacing: .04em; padding-left: 4px !important; flex: 1; min-width: 0; }
.phone-input:focus-within { border-color: var(--volt); }
.code-input { text-align: center; font-size: 28px !important; letter-spacing: .5em; font-weight: 800 !important; }
.field textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--bg); color: var(--text); font: 600 17px/1.45 var(--font); resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--volt); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { font-size: 14px; font-weight: 800; color: var(--muted); margin: 0 0 8px 4px; padding: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 520px) { .picks { grid-template-columns: 1fr; } }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--bg); font-weight: 700; }
.pick input:checked + span { border-color: var(--volt); background: var(--amber-soft); }
.pick input:checked + span::after { content: "✓"; margin-left: auto; font-weight: 800; color: #b07c00; }
.pick input:focus-visible + span { outline: 3px solid var(--volt); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--amber-soft); font-weight: 700; cursor: pointer; }
.consent input { width: 24px; height: 24px; flex: none; accent-color: #e0a800; margin: 0; }
.photo-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.photo-pick .pf-avatar { width: 80px; height: 80px; font-size: 28px; }
.photo-pick .hint { flex-basis: 100%; font-size: 14px; }
.form-error { background: #fdecec; color: var(--red); font-weight: 700; padding: 12px 14px; border-radius: 12px; }
@media (prefers-color-scheme: dark) { .form-error { background: #3a1616; } }

/* Kabinet */
.cab-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 22px 0 14px; }
.cab-head h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 800; }
#cabinet, #admin { display: grid; gap: 14px; align-content: start; }
#cabinet > .cab-head, #admin > .cab-head { margin-bottom: 0; }
.notice { padding: 14px 16px; border-radius: 16px; background: var(--amber-soft); }
.notice.ok { background: var(--green-soft); }
.notice.bad { background: #fdecec; }
.free-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.free-card.on { border-color: var(--green); background: var(--green-soft); }
.free-card > div { flex: 1 1 260px; }
.free-card h2 { margin-bottom: 6px; }
.big-toggle { min-height: 60px; font-size: 19px; flex: 1 1 220px; }
.trip-list .empty { background: var(--bg); }
.linkbtn.danger, .btn.danger { color: var(--red); }
.work { position: relative; }
.work-del { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; font-size: 14px; }
.work-add { display: grid; place-items: center; text-align: center; border: 2px dashed var(--border); background: var(--bg); color: var(--muted); font-weight: 800; cursor: pointer; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary h2 { margin: 0; display: flex; justify-content: space-between; }
details summary h2::after { content: "▾"; color: var(--muted); }
details[open] summary { margin-bottom: 14px; }
.cab-foot { text-align: center; font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; font-weight: 700; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.toast.bad { background: var(--red); }

/* Sharh/shikoyat oynasi */
.sheet { border: 0; border-radius: 24px; padding: 22px 18px 18px; width: min(480px, calc(100vw - 24px)); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.sheet::backdrop { background: rgba(5, 10, 20, .6); }
.sheet h2 { font-size: 21px; margin: 0 36px 10px 0; }
.sheet form { display: grid; gap: 12px; margin-top: 10px; }
.sheet-close { position: absolute; top: 12px; right: 12px; margin: 0 !important; }
.sheet-close button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); color: var(--text); font-size: 16px; cursor: pointer; }
.star-pick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-pick label { cursor: pointer; }
.star-pick input { position: absolute; opacity: 0; }
.star-pick span { font-size: 40px; line-height: 1; color: var(--border); transition: color .1s; }
.star-pick label:hover span, .star-pick label:hover ~ label span, .star-pick label:has(input:checked) span, .star-pick label:has(input:checked) ~ label span { color: #f5b301; }
.r-report { font-size: 13px; padding: 0; margin-left: 8px; }

/* ---------- Admin ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; }
.tabs button { flex: none; min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: 800 15px var(--font); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cnt { display: inline-block; min-width: 22px; padding: 1px 6px; border-radius: 99px; background: var(--bg); color: var(--muted); font-size: 12px; margin-left: 4px; }
.cnt.hot { background: var(--red); color: #fff; }
.admin-filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
.admin-filters input, .admin-filters select { min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: 600 15px var(--font); }
@media (max-width: 760px) { .admin-filters { grid-template-columns: 1fr; } }
.admin-list { display: grid; gap: 8px; }
.arow { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--volt); border-radius: 14px; padding: 12px 14px; }
.arow.st-verified { border-left-color: var(--green); }
.arow.st-blocked { border-left-color: var(--red); opacity: .8; }
.arow-main { flex: 1 1 320px; min-width: 0; }
.arow-main a { color: inherit; }
.arow-act { display: flex; flex-wrap: wrap; gap: 6px; }
.small { font-size: 13px; }
.pill { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 99px; margin-left: 6px; background: var(--amber-soft); }
.pill-verified { background: var(--green-soft); color: var(--green); }
.pill-blocked { background: #fdecec; color: var(--red); }
.stat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 760px) { .stat-tiles { grid-template-columns: repeat(2, 1fr); } }
.stat-tiles div { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
.stat-tiles b { display: block; font-size: 28px; font-weight: 800; }
.stat-tiles span { color: var(--muted); font-size: 14px; font-weight: 700; }
.daybars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; height: 160px; align-items: end; }
.daybars div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; font-size: 11px; }
.daybars i { width: 100%; min-height: 2px; background: var(--volt); border-radius: 6px 6px 2px 2px; }
.daybars small { color: var(--muted); }
.hbars { display: grid; gap: 6px; }
.hbars div { display: grid; grid-template-columns: 140px 1fr 36px; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; }
.hbars i { height: 14px; border-radius: 8px; background: linear-gradient(90deg, var(--ink-3) var(--w), var(--bg) var(--w)); }
@media (prefers-color-scheme: dark) { .hbars i { background: linear-gradient(90deg, var(--volt) var(--w), var(--bg) var(--w)); } }
.reftable { width: 100%; border-collapse: collapse; font-size: 15px; }
.reftable th, .reftable td { text-align: left; padding: 8px; border-bottom: 1px solid var(--border); }
code, .uid { font-family: ui-monospace, Consolas, monospace; background: var(--bg); padding: 2px 6px; border-radius: 6px; font-size: 14px; }
.uid { display: block; padding: 10px; word-break: break-all; user-select: all; }
.cab-links { display: flex; flex-wrap: wrap; gap: 8px; }
