:root {
  --bg: #12151b;
  --bg-soft: #171d26;
  --card: rgba(23, 28, 37, .86);
  --card-hover: rgba(31, 39, 52, .94);
  --border: rgba(128, 154, 190, .2);
  --line: rgba(255, 255, 255, .08);
  --text: #f4f6fb;
  --muted: #a7b1c1;
  --accent: #4ea1ff;
  --accent-2: #7bc0ff;
  --hot: #ff7a2f;
  --hot-2: #ff9456;
  --green: #21d58b;
  --danger: #ff5470;
  --radius: 8px;
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 18px 42px rgba(0, 0, 0, .18);
  --shell-w: min(440px, 100%);
  --shell-wide: min(560px, 100%);
  --shell-report: min(560px, 100%);
  --pad-x: 18px;
  --pad-y: 28px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

html.waimer-guard-lock,
html.waimer-guard-lock body {
  overflow: hidden !important;
}
html.waimer-guard-lock body > :not(#waimerGuardLock) {
  pointer-events: none !important;
  user-select: none !important;
  filter: blur(10px) saturate(.25) !important;
  opacity: .08 !important;
}
#waimerGuardLock {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 106, 43, .16), transparent 34%),
    rgba(5, 6, 9, .98);
  color: #e7e8ec;
  user-select: none;
}
#waimerGuardLock .guard-card {
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 106, 43, .36);
  border-radius: 14px;
  background: rgba(20, 21, 25, .94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .58);
  text-align: center;
}
#waimerGuardLock .guard-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 106, 43, .42);
  border-radius: 999px;
  background: rgba(255, 106, 43, .12);
  color: #ff9456;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}
#waimerGuardLock h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
}
#waimerGuardLock p {
  margin: 0;
  color: #888d99;
  font-weight: 700;
}
@media print {
  body > :not(#waimerGuardLock) {
    display: none !important;
  }
  body::before {
    content: "WAIMER: печать и копирование страницы ограничены.";
    display: block;
    position: static;
    inset: auto;
    padding: 40px;
    color: #111;
    font: 700 18px Arial, sans-serif;
    background: none;
    mask-image: none;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
input, textarea, select, [contenteditable="true"], [data-allow-copy], .allow-copy {
  -webkit-user-select: text;
  user-select: text;
}
img, svg, video, canvas {
  -webkit-user-drag: none;
  user-drag: none;
}
body:not(.is-admin) .admin-only { display: none !important; }
button, .back, .rev-filter-btn, .lang-btn, .scan-card, .card-cta, .login-cta, .judge-btn {
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 70, 85, .5) rgba(8, 14, 23, .9);
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 70, 85, .45) rgba(255, 255, 255, .04);
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track {
  background: rgba(8, 14, 23, .85);
  border-left: 1px solid rgba(113, 137, 163, .12);
}
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 70, 85, .55), rgba(255, 122, 47, .28));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  min-height: 40px;
}
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 122, 47, .75), rgba(255, 70, 85, .45));
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, rgba(255, 70, 85, .9), rgba(255, 122, 47, .55));
  background-clip: padding-box;
}
*::-webkit-scrollbar-corner { background: transparent; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body {
  min-height: 100%;
  min-height: 100dvh;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-user-select: none;
  user-select: none;
  background: radial-gradient(1200px 600px at 70% -10%, #1a1410 0%, #0c0d10 55%);
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: normal;
}
.report-view,
.tip-card,
.confirm-card,
.warn,
.cleanbox,
.verdict-copy,
.verdict-lead,
.judge-title,
.judge-sub,
.judge-btn-hint,
.verdict-warn-title,
.verdict-warn-sub,
.hl-sub,
.hl-name,
.hl-detail,
.hl-empty,
.pill .name,
.pill .sub,
.tip-list li,
.tip-color-desc,
.help-tg-text,
.help-sec-title,
.card-sub,
.admin-sec-s,
.confirm-sub,
.confirm-title,
.ok-sub,
.err {
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
  hyphens: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .014) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .65), transparent 78%);
}

.app {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.brand {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.brand span { color: var(--accent); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(78, 161, 255, .28);
  background: rgba(78, 161, 255, .1);
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}
.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(33, 213, 139, .7);
}
.lang {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 800 11px/1 Inter, sans-serif;
  letter-spacing: .06em;
  padding: 7px 9px;
  min-width: 34px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: rgba(78, 161, 255, .16);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(78, 161, 255, .28);
}

.page-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.page-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 16px;
  color: var(--accent);
  border: 1px solid rgba(78, 161, 255, .32);
  background: rgba(78, 161, 255, .12);
}
.page-icon .bi { font-size: 22px; }
.eyebrow {
  color: #73b4ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.page-head h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.05;
}
.page-sub {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .016)),
    rgba(8, 14, 23, .82);
  border: 1px solid rgba(113, 137, 163, .16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 36px 18px;
  cursor: pointer;
  margin-bottom: 4px;
  text-align: center;
  border: 1.5px dashed rgba(78, 161, 255, .28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 20%, rgba(78, 161, 255, .12), transparent 60%),
    rgba(255, 255, 255, .025);
  color: inherit;
  font: inherit;
}
.drop:hover, .drop.drag {
  border-color: rgba(78, 161, 255, .55);
  background:
    radial-gradient(circle at 50% 20%, rgba(78, 161, 255, .18), transparent 60%),
    rgba(78, 161, 255, .05);
}
.drop.is-locked {
  cursor: not-allowed;
  opacity: .55;
  pointer-events: none;
}
.drop.is-locked:hover, .drop.is-locked.drag {
  border-color: rgba(78, 161, 255, .28);
  background:
    radial-gradient(circle at 50% 20%, rgba(78, 161, 255, .12), transparent 60%),
    rgba(255, 255, 255, .025);
}
.drop-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: radial-gradient(circle at 50% 45%, rgba(78, 161, 255, .28), rgba(78, 161, 255, .08));
  font-size: 24px;
}
.drop-title { font-size: 15px; font-weight: 900; color: var(--text); }
.drop-hint { margin-top: 8px; font-size: 12px; color: var(--muted); font-weight: 700; }
.drop-formats {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(78, 161, 255, .25);
  background: rgba(78, 161, 255, .08);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}
.drop-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 7px;
  border: 1px solid rgba(113, 137, 163, .22);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font: 800 13px/1 Inter, sans-serif;
  cursor: pointer;
  transition: .15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  background: var(--card-hover);
  border-color: rgba(78, 161, 255, .35);
}
.btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041018;
  box-shadow: 0 10px 24px rgba(78, 161, 255, .25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 28px rgba(78, 161, 255, .38);
}

.folder-list { display: grid; gap: 10px; margin: 0 0 18px; }
.folder-item {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 7px;
  border: 1px solid rgba(113, 137, 163, .16);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  transition: .15s ease;
}
.folder-item:hover {
  border-color: rgba(78, 161, 255, .4);
  background: rgba(78, 161, 255, .07);
  transform: translateY(-1px);
}
.folder-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.folder-main b { font-size: 15px; font-weight: 800; }
.folder-verdict {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  padding: 4px 9px;
  border-radius: 999px;
}
.folder-verdict.wo { color: var(--danger); background: rgba(255, 84, 112, .12); }
.folder-verdict.warn { color: var(--hot); background: rgba(255, 122, 47, .12); }
.folder-verdict.ok { color: var(--green); background: rgba(33, 213, 139, .12); }
.folder-meta {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.progress { display: none; margin: 18px 0; }
.prog-label { font-size: 13px; font-weight: 800; color: var(--accent-2); }
.bar {
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
}
.fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .3s;
}

.xfer {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin: 8px 0 6px;
  padding: 28px 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(78, 161, 255, .22);
  background:
    radial-gradient(circle at 50% 0%, rgba(78, 161, 255, .16), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(8, 14, 23, .55));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
  overflow: hidden;
  position: relative;
}
.xfer.is-on { display: flex; animation: report-in .35s ease both; }
.xfer-ring {
  position: relative;
  width: 86px;
  height: 86px;
  margin-bottom: 6px;
  color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(78, 161, 255, .18);
}
.xfer-spin {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(
    from var(--rim, 0deg),
    rgba(78, 161, 255, .12) 0deg,
    var(--accent) 55deg,
    #fff 80deg,
    rgba(78, 161, 255, .12) 140deg,
    transparent 210deg,
    rgba(78, 161, 255, .12) 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  animation: rim-turn 2.2s linear infinite;
  pointer-events: none;
}
.xfer-core {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(78, 161, 255, .28), rgba(78, 161, 255, .06));
  border: 1px solid rgba(78, 161, 255, .28);
  color: var(--accent-2);
  z-index: 1;
}
.xfer-core .bi { font-size: 26px; }
.xfer-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.xfer-title {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.xfer-file {
  max-width: 100%;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.4;
}
.xfer-track {
  width: min(100%, 280px);
  height: 7px;
  margin-top: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(78, 161, 255, .12);
}
.xfer-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #7c6bff, var(--accent-2));
  background-size: 180% 100%;
  animation: xfer-sheen 1.4s linear infinite;
  box-shadow: 0 0 12px rgba(78, 161, 255, .45);
  transition: width .22s ease;
}
@keyframes xfer-sheen {
  to { background-position: 180% 0; }
}
.xfer-pct {
  font-size: 12px;
  font-weight: 900;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}
.xfer-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.xfer-step {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.xfer-step.is-on {
  color: #041018;
  border-color: rgba(78, 161, 255, .4);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 16px rgba(78, 161, 255, .28);
}
.xfer-step.is-done {
  color: var(--green);
  border-color: rgba(33, 213, 139, .3);
  background: rgba(33, 213, 139, .1);
}
.xfer-open { color: #c084fc; }
.xfer-open .xfer-ring {
  color: #c084fc;
  box-shadow: 0 0 0 2px rgba(192, 132, 252, .2);
}
.xfer-open .xfer-spin {
  background: conic-gradient(
    from var(--rim, 0deg),
    rgba(192, 132, 252, .14) 0deg,
    #c084fc 55deg,
    #fff 80deg,
    rgba(192, 132, 252, .14) 140deg,
    transparent 210deg,
    rgba(192, 132, 252, .14) 360deg
  );
}
.xfer-open .xfer-core {
  background: radial-gradient(circle at 50% 40%, rgba(192, 132, 252, .35), rgba(192, 132, 252, .08));
  border-color: rgba(192, 132, 252, .3);
  color: #e9d5ff;
}
.xfer-open .xfer-kicker { color: #d8b4fe; }
.xfer-open .xfer-fill {
  background: linear-gradient(90deg, #c084fc, #7c6bff, #60a5fa);
  box-shadow: 0 0 12px rgba(192, 132, 252, .4);
}
.xfer-open .xfer-step.is-on {
  background: linear-gradient(135deg, #c084fc, #7c6bff);
  border-color: rgba(192, 132, 252, .4);
  box-shadow: 0 6px 16px rgba(192, 132, 252, .28);
}

.err {
  display: none;
  align-items: flex-start;
  gap: 10px;
  color: #ff9aa8;
  background: rgba(255, 84, 112, .08);
  border: 1px solid rgba(255, 84, 112, .28);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  margin: 12px 0;
  white-space: pre-line;
}
.err.show { display: flex; }
#results { display: none; padding-bottom: 72px; }
.report-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.report-layout[hidden] { display: none !important; }
.report-layout.no-judge {
  display: flex;
  flex-direction: column;
}
.report-layout.no-judge .judge-rail { display: none !important; }
.judge-rail {
  position: sticky;
  top: max(8px, var(--safe-top));
  z-index: 4;
  min-width: 0;
}
.judge-open {
  display: none;
  flex-shrink: 0;
  margin: 0;
  min-height: 34px;
  height: 34px;
  padding: 0 10px;
  white-space: nowrap;
}
.judge-open.is-soft {
  border-color: rgba(255, 84, 112, .45) !important;
  color: #ff9aa8 !important;
}
.judge-open.is-clean {
  border-color: rgba(33, 213, 139, .45) !important;
  color: #7dffc4 !important;
}
.judge-close {
  display: none;
}
@media (max-width: 1179px) {
  .judge-open:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .judge-close:not([hidden]) {
    display: grid;
    place-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(8, 14, 23, .72);
    color: var(--text);
    cursor: pointer;
  }
  .report-layout:not(.no-judge) .judge-rail {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(12px, var(--safe-top)) max(12px, var(--safe-right)) max(12px, var(--safe-bottom)) max(12px, var(--safe-left));
    background: rgba(4, 7, 12, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
  }
  .report-layout:not(.no-judge) .judge-rail.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .report-layout:not(.no-judge) .judge-card {
    position: relative;
    width: min(520px, 100%);
    max-height: min(88dvh, 640px);
    overflow: auto;
    flex-shrink: 0;
  }
}
@media (max-width: 480px) {
  .topbar { gap: 8px; }
  .judge-open span { max-width: 7.5em; overflow: hidden; text-overflow: ellipsis; }
  .judge-card { padding: 14px 44px 12px 12px; border-radius: 14px; }
  .judge-sub { display: none; }
  .judge-title { font-size: 15px; margin-top: 2px; }
  .judge-nick { margin-top: 4px; font-size: 14px; }
  .judge-scan { margin-top: 6px; font-size: 11px; }
  .judge-actions { margin-top: 8px; gap: 8px; }
  .judge-btn { min-height: 48px; }
  .judge-btn-hint { display: none; }
}
.judge-card {
  --judge: #c084fc;
  --judge-glow: 192, 132, 252;
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(var(--judge-glow), .38);
  background:
    linear-gradient(180deg, rgba(var(--judge-glow), .16), rgba(var(--judge-glow), .03) 42%, rgba(8, 14, 23, .92)),
    rgba(8, 14, 23, .88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 14px 32px rgba(0, 0, 0, .22),
    0 0 44px rgba(var(--judge-glow), .18);
  transition: border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.judge-glow {
  position: absolute;
  top: -88px;
  left: 50%;
  width: 260px;
  height: 180px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(var(--judge-glow), .4), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.judge-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--rim, 0deg),
    transparent 0 200deg,
    var(--judge) 250deg,
    #fff 270deg,
    var(--judge) 290deg,
    transparent 340deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: rim-turn 4.2s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.judge-card.is-soft {
  --judge: var(--danger);
  --judge-glow: 255, 84, 112;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 16px 36px rgba(0, 0, 0, .24),
    0 0 52px rgba(255, 84, 112, .22);
}
.judge-card.is-clean {
  --judge: var(--green);
  --judge-glow: 33, 213, 139;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 16px 36px rgba(0, 0, 0, .24),
    0 0 52px rgba(33, 213, 139, .2);
}
.judge-card.is-busy {
  pointer-events: none;
  opacity: .72;
}
.judge-kicker {
  position: relative;
  z-index: 2;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #d8b4fe;
}
.judge-card.is-soft .judge-kicker { color: #ff9aa8; }
.judge-card.is-clean .judge-kicker { color: #7dffc4; }
.judge-nick {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  color: var(--accent-2);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.02em;
  word-break: break-word;
}
.judge-nick[hidden] { display: none !important; }
.judge-title {
  position: relative;
  z-index: 2;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.judge-sub {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.judge-scan {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}
.judge-actions {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.judge-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: .16s ease;
}
.judge-btn:hover {
  transform: translateY(-1px);
}
.judge-btn:disabled { cursor: wait; }
.judge-btn-ico {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.judge-btn-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.judge-btn-lab {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .06em;
}
.judge-btn-hint {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.3;
}
.judge-soft .judge-btn-ico {
  color: var(--danger);
  background: rgba(255, 84, 112, .12);
}
.judge-soft:hover,
.judge-soft[aria-pressed="true"] {
  border-color: rgba(255, 84, 112, .5);
  background: rgba(255, 84, 112, .12);
  box-shadow: 0 8px 18px rgba(255, 84, 112, .16);
}
.judge-soft[aria-pressed="true"] .judge-btn-lab { color: #ff9aa8; }
.judge-clean .judge-btn-ico {
  color: var(--green);
  background: rgba(33, 213, 139, .12);
}
.judge-clean:hover,
.judge-clean[aria-pressed="true"] {
  border-color: rgba(33, 213, 139, .48);
  background: rgba(33, 213, 139, .12);
  box-shadow: 0 8px 18px rgba(33, 213, 139, .16);
}
.judge-clean[aria-pressed="true"] .judge-btn-lab { color: #7dffc4; }
.judge-meta {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}
.judge-meta[hidden] { display: none !important; }

.verdict {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin: 8px 0 14px;
  background: rgba(255, 255, 255, .03);
}
.verdict.wo {
  border-color: rgba(255, 84, 112, .38);
  background: linear-gradient(135deg, rgba(255, 84, 112, .12), rgba(255, 84, 112, .04));
}
.verdict.ok {
  border-color: rgba(33, 213, 139, .32);
  background: linear-gradient(135deg, rgba(33, 213, 139, .1), rgba(33, 213, 139, .03));
}
.verdict-lead { font-size: 15px; font-weight: 800; }
.verdict-file { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 700; overflow-wrap: anywhere; word-break: normal; }
.badge {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.verdict.wo .badge { color: #2a0610; background: var(--danger); }
.verdict.ok .badge { color: #03140d; background: var(--green); }

.verdict-card {
  border: 1px solid rgba(255, 84, 112, .35);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 14px;
  background: rgba(255, 84, 112, .07);
}
.verdict-card-combo { box-shadow: 0 0 28px rgba(255, 84, 112, .12); }
.verdict-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vtag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 84, 112, .28);
  background: rgba(255, 84, 112, .08);
  color: #ffb3be;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.vtag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
}
.verdict-warn-card {
  border: 1px solid rgba(255, 122, 47, .38);
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 14px;
  background: linear-gradient(135deg, rgba(255, 122, 47, .1), rgba(255, 122, 47, .03));
}
.verdict-warn-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 122, 47, .16);
}
.verdict-warn-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 10px rgba(255, 122, 47, .55);
  flex-shrink: 0;
}
.verdict-warn-title {
  font-size: 13px;
  font-weight: 900;
  color: var(--hot-2);
  letter-spacing: .02em;
}
.verdict-warn-sub {
  margin-top: 3px;
  font-size: 12px;
  color: rgba(255, 176, 122, .78);
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: break-word;
  text-wrap: pretty;
  hyphens: none;
}
.verdict-warn-badge {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 122, 47, .4);
  background: rgba(255, 122, 47, .12);
  color: var(--hot-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}
.vtag-amber {
  border-color: rgba(255, 122, 47, .3) !important;
  background: rgba(255, 122, 47, .08) !important;
  color: #ffc089 !important;
}
.vtag-dot-amber { background: var(--hot) !important; }
.verdict-info-card {
  border-color: rgba(78, 161, 255, .38);
  background: linear-gradient(135deg, rgba(78, 161, 255, .1), rgba(78, 161, 255, .03));
}
.verdict-info-card .verdict-warn-header {
  border-bottom-color: rgba(78, 161, 255, .16);
}
.verdict-info-dot {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(78, 161, 255, .55);
}
.verdict-info-card .verdict-warn-title { color: #9cc7ff; }
.verdict-info-card .verdict-warn-sub { color: rgba(156, 199, 255, .78); }
.verdict-info-card .verdict-warn-badge {
  border-color: rgba(78, 161, 255, .4);
  background: rgba(78, 161, 255, .12);
  color: #9cc7ff;
}
.vtag-info {
  border-color: rgba(78, 161, 255, .3) !important;
  background: rgba(78, 161, 255, .08) !important;
  color: #9cc7ff !important;
}
.vtag-dot-info { background: var(--accent) !important; }

.row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 8px;
  border: 1px solid rgba(113, 137, 163, .16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .016)),
    rgba(8, 14, 23, .82);
  box-shadow: var(--shadow);
}
.stat:hover { border-color: rgba(78, 161, 255, .32); transform: translateY(-2px); }
.stat .ic {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  flex: 0 0 48px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.stat .n { font-size: 28px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}
.ic.cyan {
  color: var(--accent);
  background: radial-gradient(circle at 50% 45%, rgba(78, 161, 255, .3), rgba(78, 161, 255, .08));
  border: 0;
}
.ic.red {
  color: var(--danger);
  background: radial-gradient(circle at 50% 45%, rgba(255, 84, 112, .28), rgba(255, 84, 112, .08));
  border: 0;
}
.ic.amber {
  color: var(--accent);
  background: radial-gradient(circle at 50% 45%, rgba(78, 161, 255, .28), rgba(78, 161, 255, .08));
  border: 0;
}
.ic.cert {
  color: #c084fc;
  background: radial-gradient(circle at 50% 45%, rgba(192, 132, 252, .3), rgba(192, 132, 252, .08));
  border: 0;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.sec {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 12px;
}
.sec .t {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.25;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.sec .b {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
}
.sec.cyan .t { color: var(--text); }
.sec.cyan .b { color: var(--accent-2); border-color: rgba(78, 161, 255, .28); background: rgba(78, 161, 255, .1); }
.sec.red .t { color: var(--text); }
.sec.red .b { color: var(--danger); border-color: rgba(255, 84, 112, .28); background: rgba(255, 84, 112, .1); }
.sec.amber .t { color: var(--text); }
.sec.amber .b { color: var(--hot); border-color: rgba(255, 122, 47, .28); background: rgba(255, 122, 47, .1); }
.sec.cert .t { color: var(--text); }
.sec.cert .b { color: #c084fc; border-color: rgba(192, 132, 252, .32); background: rgba(192, 132, 252, .1); }

.dvc {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  margin-bottom: 14px;
}
.dvc-h {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.dvc-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78, 161, 255, .24);
  background: rgba(78, 161, 255, .1);
  color: var(--accent);
  font-size: 22px;
}
.dvc-id { flex: 1; min-width: 0; }
.dvc-name { font-size: 17px; font-weight: 900; letter-spacing: -.03em; overflow-wrap: anywhere; }
.dvc-sub {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.dvc-ios {
  margin-left: auto;
  text-align: center;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid rgba(78, 161, 255, .24);
  background: rgba(78, 161, 255, .08);
}
.dvc-ios .n { font-size: 18px; font-weight: 900; color: var(--accent); }
.dvc-ios .l { font-size: 10px; font-weight: 800; color: var(--muted); letter-spacing: .08em; }
.dvc-ser {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.dvc-ser .lbl {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--accent-2);
}
.dvc-ser .val {
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .04em;
  overflow-wrap: anywhere;
  text-align: right;
}
.ok {
  font-size: 11px;
  font-weight: 900;
  color: var(--green);
  border: 1px solid rgba(33, 213, 139, .28);
  background: rgba(33, 213, 139, .1);
  padding: 4px 8px;
  border-radius: 8px;
}
.dvc-g { display: grid; grid-template-columns: 1fr 1fr; }
.dvc-c {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.dvc-c:nth-child(even) { border-right: 0; }
.dvc-c .lbl {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 4px;
}
.dvc-c .val { font-size: 13px; font-weight: 700; overflow-wrap: anywhere; word-break: normal; }
.dvc-c .val.g { color: var(--green); }
.dvc-f {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.dvc-f .cn { color: var(--green); font-size: 14px; font-weight: 800; }
.dvc-f .cc { font-size: 11px; font-weight: 800; color: var(--muted); }

.pill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.pill .name { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; word-break: normal; line-height: 1.45; }
.pill .sub {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: break-word;
  text-wrap: pretty;
  hyphens: none;
}
.pill .when, .hl-item .when {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 10px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: rgba(167, 177, 193, .85);
}
.when-k { min-width: 0; overflow-wrap: break-word; }
.when-ts, .evt .evt-ts {
  display: block;
  width: max-content;
  max-width: 100%;
  min-width: max-content;
  flex: 0 0 auto;
  white-space: nowrap;
  text-wrap: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  font-variant-numeric: tabular-nums;
}
.when-ts { margin-left: auto; }
.pill .when.installed, .hl-item .when.installed { color: #ff8a9a; }
.pill .when.removed, .hl-item .when.removed { color: #ffb06a; }
.pill .when.seen, .hl-item .when.seen { color: #9bb4ff; }
.evt-list {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-width: 0;
  container-type: inline-size;
  container-name: install-evts;
}
.evt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  column-gap: 12px;
  row-gap: 2px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}
.evt-body { min-width: 0; }
.evt-label {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
.evt.panel,
.evt.rename {
  background: rgba(255, 181, 32, .06);
  border-left: 2px solid rgba(255, 181, 32, .5);
  color: rgba(255, 200, 80, .95);
}
.evt.original {
  background: rgba(255, 255, 255, .03);
  border-left: 2px solid rgba(255, 255, 255, .12);
  color: rgba(190, 190, 190, .8);
}
.evt.removed {
  color: rgba(170, 170, 170, .62);
  font-style: italic;
  font-weight: 700;
}
.evt .evt-ts {
  justify-self: end;
  align-self: start;
  margin: 0;
  padding-top: 1px;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0;
  opacity: 1;
  text-align: right;
}
.evt .hist-id {
  display: block;
  margin-top: 2px;
  font-style: normal;
  overflow-wrap: anywhere;
}
@container install-evts (max-width: 250px) {
  .evt { grid-template-columns: minmax(0, 1fr); }
  .evt .evt-ts {
    justify-self: end;
    margin-top: 3px;
    padding-top: 0;
  }
}
@container install-evts (min-width: 560px) {
  .evt {
    column-gap: 20px;
    padding: 7px 10px;
    font-size: 13px;
  }
  .evt .evt-ts { font-size: 12px; }
}
.hist-id {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.hist-card {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border-color: rgba(78, 161, 255, .22);
  background: rgba(78, 161, 255, .04);
}
.hist-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.hist-top .name { flex: 1; min-width: 0; }
.hist-top .tag { margin-left: auto; }
.hist-card .evt-list { margin-top: 10px; }
.hist-role {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.45;
}

.tag {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .03em;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid;
}
.tag.red { color: var(--danger); border-color: rgba(255, 84, 112, .35); background: rgba(255, 84, 112, .1); }
.tag.amber { color: var(--hot); border-color: rgba(255, 122, 47, .35); background: rgba(255, 122, 47, .1); }
.tag.green { color: var(--green); border-color: rgba(33, 213, 139, .3); background: rgba(33, 213, 139, .1); }
.tag.hist { color: #b7c3ff; border-color: rgba(183, 195, 255, .28); background: rgba(183, 195, 255, .08); }
.tag.cyan { color: var(--accent-2); border-color: rgba(78, 161, 255, .3); background: rgba(78, 161, 255, .1); }
.tag.cert { color: #c084fc; border-color: rgba(192, 132, 252, .35); background: rgba(192, 132, 252, .1); }

.warn {
  border: 1px solid rgba(255, 122, 47, .32);
  background: rgba(255, 122, 47, .07);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 14px 0;
}
.warn h3 { color: var(--hot); font-size: 13px; font-weight: 900; margin-bottom: 8px; overflow-wrap: break-word; text-wrap: pretty; }
.warn p, .warn li { font-size: 13px; font-weight: 700; color: rgba(255, 210, 170, .88); line-height: 1.55; overflow-wrap: break-word; text-wrap: pretty; }
.warn ol { padding-left: 18px; margin-top: 8px; }
.warn-end { margin-top: 10px; color: var(--danger) !important; }
.how-verify { margin-top: 8px; }

.cleanbox {
  border: 1px solid rgba(33, 213, 139, .28);
  background: rgba(33, 213, 139, .07);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.muted-label, .hist-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 8px;
}
.hist-label { margin: 14px 0 8px; }

.foot {
  margin-top: 36px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.app.narrow { width: 100%; }
.wide-btn { width: 100%; }
.login-cta {
  width: 100%;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(33, 213, 139, .28);
}
.login-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.login-head {
  text-align: center;
  margin: 4px 0 18px;
}
.login-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.login-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.admin-limit-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 12px;
}
.admin-limit-row .field {
  flex: 1;
  margin-bottom: 0;
}
.admin-limit-row .back {
  margin: 0;
  flex-shrink: 0;
  min-height: 46px;
  height: auto;
  padding: 0 14px;
}
.quota-bar {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 122, 47, .28);
  background: rgba(255, 122, 47, .08);
}
.quota-bar[hidden] { display: none !important; }
.quota-title { font-size: 13px; font-weight: 900; }
.quota-sub { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.quota-bar.is-ok {
  border-color: rgba(33, 213, 139, .28);
  background: rgba(33, 213, 139, .08);
}
.quota-bar.is-ok .quota-title { color: var(--green); }
.quota-bar.is-wait,
.quota-bar.is-none {
  border-color: rgba(255, 84, 112, .28);
  background: rgba(255, 84, 112, .08);
}
.quota-bar.is-wait .quota-title,
.quota-bar.is-none .quota-title { color: #ff9aa8; }
#scanner.is-auto .assignee-box { display: none; }
#scanner.is-auto .field {
  font-size: 16px;
  min-height: 48px;
}
#scanner.is-auto .drop {
  min-height: 168px;
  padding: 28px 16px;
}
#scanner.is-auto .quota-title {
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
#scanner.is-auto .quota-sub {
  font-size: 12px;
  line-height: 1.4;
}
.report-layout.no-judge #results { padding-bottom: 28px; }
#admin-ttl-custom { margin-top: 8px; }
.admin-sec {
  margin: 0 0 22px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(113, 137, 163, .16);
  background: rgba(255, 255, 255, .03);
}
.admin-sec .list {
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
  margin-top: 12px;
}
#admin .list {
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
}
.admin-sent { margin: 0 0 14px; }
.admin-sent .list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.admin-sent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(113, 137, 163, .18);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.admin-sent-row:hover {
  border-color: rgba(78, 161, 255, .45);
  background: rgba(78, 161, 255, .08);
}
.admin-sent-nick {
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.admin-sent-meta { color: var(--accent-2); }
.admin-sent-row b,
.admin-launch-count,
.admin-rep-group-h b {
  flex: 0 0 auto;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: var(--accent);
}
.admin-launchers { display: grid; gap: 10px; }
.admin-launch {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(113, 137, 163, .2);
  background:
    radial-gradient(circle at 12% 0%, rgba(78, 161, 255, .16), transparent 42%),
    rgba(255, 255, 255, .03);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.admin-launch:hover,
.admin-launch.is-open { border-color: rgba(78, 161, 255, .5); }
.admin-launch-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--accent-2);
  border: 1px solid rgba(78, 161, 255, .35);
  background: rgba(78, 161, 255, .1);
  font-size: 18px;
}
.admin-launch-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}
.admin-launch-copy b {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}
.admin-launch-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.admin-launch > .bi-chevron-right {
  color: var(--muted);
  font-size: 16px;
}
.admin-tray {
  position: fixed;
  inset: 0;
  z-index: 70;
}
.admin-tray[hidden] { display: none !important; }
.admin-tray-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, .45);
  opacity: 0;
  transition: opacity .32s ease;
}
.admin-tray.is-open .admin-tray-overlay { opacity: 1; }
.admin-tray-panel {
  position: absolute;
  top: max(8px, env(safe-area-inset-top, 0px));
  right: auto;
  bottom: max(8px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1080px, calc(100% - 16px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  height: auto;
  max-height: none;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(78, 161, 255, .28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(78, 161, 255, .16), transparent 34%),
    linear-gradient(180deg, rgba(18, 24, 34, .98), rgba(9, 12, 18, .98));
  box-shadow: 0 22px 50px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translate3d(calc(-50% - 48px), 10px, 0) scale(.96);
  transform-origin: top center;
  transition:
    opacity .4s cubic-bezier(.22, 1, .36, 1),
    transform .4s cubic-bezier(.22, 1, .36, 1);
}
.admin-tray.is-open .admin-tray-panel {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}
.admin-tray-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin: 0;
  padding: 14px 16px 10px;
}
.admin-tray-bar .tab {
  min-width: 0;
  overflow-wrap: anywhere;
}
.admin-tray-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px 16px 22px;
  scrollbar-width: thin;
}
.admin-tray-body .admin-sec {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
#admin .admin-tray-body .list {
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
}
.admin-tray-body .admin-row {
  align-items: flex-start;
  flex-wrap: wrap;
}
.admin-tray-body .item-body {
  flex: 1 1 220px;
  min-width: 0;
}
.admin-tray-body .item-status {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  max-width: 100%;
  line-height: 1.3;
  margin-left: auto;
}
.admin-tray-body .admin-key-ttl .back {
  flex: 1 1 132px;
}
.admin-tray-body .item:last-child { scroll-margin-bottom: 12px; }
body:has(.admin-tray.is-open) { overflow: hidden; }
.admin-rep-group + .admin-rep-group { margin-top: 14px; }
.admin-rep-group-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 900;
}
.admin-rep-group-h span {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) {
  .admin-tray-overlay,
  .admin-tray-panel { transition: none; }
}
@media (max-width: 720px) {
  .admin-tray-panel {
    left: max(8px, env(safe-area-inset-left, 0px));
    right: max(8px, env(safe-area-inset-right, 0px));
    width: auto;
    transform: translate3d(0, 14px, 0);
  }
  .admin-tray.is-open .admin-tray-panel { transform: none; }
  .admin-tray-bar,
  .admin-tray-body { padding-left: 12px; padding-right: 12px; }
  .admin-tray-body .admin-key-ttl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .admin-tray-body .admin-key-ttl .ttl-select,
  .admin-tray-body .admin-key-ttl .ttl-days {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }
  .admin-tray-body .item-status { margin-left: 56px; }
}
@media (max-width: 420px) {
  .admin-tray-panel {
    top: max(6px, env(safe-area-inset-top, 0px));
    bottom: max(6px, env(safe-area-inset-bottom, 0px));
    border-radius: 14px;
  }
  .admin-tray-body .admin-key-ttl { grid-template-columns: 1fr; }
  .admin-tray-body .admin-row .danger-btn,
  .admin-tray-body .admin-key-ttl .back {
    width: 100%;
    justify-content: center;
  }
  .admin-sent-row { align-items: flex-start; }
}
@media (min-width: 1100px) {
  #admin-users.list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
  }
}
@media (max-height: 560px) {
  .admin-tray-panel {
    top: max(4px, env(safe-area-inset-top, 0px));
    bottom: max(4px, env(safe-area-inset-bottom, 0px));
  }
  .admin-tray-bar { padding-top: 8px; padding-bottom: 6px; }
  .admin-tray-body { padding-bottom: 12px; }
  .admin-tray-body .item { padding: 12px; }
}
.key-made {
  display: none;
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(33, 213, 139, .35);
  background: rgba(33, 213, 139, .1);
}
.key-made.show { display: block; }
.key-made-t { font-size: 12px; font-weight: 800; color: #8fd9b8; margin-bottom: 8px; }
.key-made-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.key-made-k {
  flex: 1 1 160px;
  min-width: 0;
  font: 800 15px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--text);
  word-break: break-all;
  user-select: text;
  -webkit-user-select: text;
}
.key-made-row .back { margin: 0; flex-shrink: 0; }
.item-key-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  max-width: 100%;
  min-width: 0;
}
.item-key {
  min-width: 0;
  font: 800 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #8ec5ff;
  word-break: break-all;
  user-select: text;
  -webkit-user-select: text;
}
.item-key.is-missing {
  margin-top: 4px;
  cursor: default;
  color: var(--muted);
  font-family: inherit;
  font-weight: 700;
}
.key-copy-btn {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  padding: 0;
  margin: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(78, 161, 255, .35);
  border-radius: 6px;
  color: #8ec5ff;
  background: rgba(78, 161, 255, .1);
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
}
.key-copy-btn .bi { font-size: 11px; }
.key-copy-btn:hover {
  border-color: rgba(78, 161, 255, .6);
  background: rgba(78, 161, 255, .2);
}
.key-copy-btn.is-copied {
  border-color: rgba(33, 213, 139, .5);
  color: #7dffc4;
  background: rgba(33, 213, 139, .14);
}
.admin-sec-h { margin-bottom: 12px; }
.admin-sec-t { font-size: 15px; font-weight: 900; }
.admin-sec-s { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.admin-row { cursor: default; }
.admin-row:hover { transform: none; }
#admin-auto-reports .admin-row { cursor: pointer; }
#admin-auto-reports .admin-row:hover { border-color: rgba(255, 122, 47, .35); }
.file-dl-btn {
  border-color: rgba(78, 161, 255, .4) !important;
  color: #8ec5ff !important;
  background: rgba(78, 161, 255, .1) !important;
  flex-shrink: 0;
}
.file-dl-btn:hover {
  border-color: rgba(78, 161, 255, .6) !important;
  background: rgba(78, 161, 255, .18) !important;
}
.file-dl-btn:disabled {
  opacity: .42;
  cursor: not-allowed;
  transform: none !important;
}
.file-dl-btn.is-busy { cursor: wait; }
.danger-btn {
  border-color: rgba(255, 84, 112, .35) !important;
  color: #ff9aa8 !important;
  background: rgba(255, 84, 112, .1) !important;
  flex-shrink: 0;
}
.danger-btn:hover {
  border-color: rgba(255, 84, 112, .55) !important;
  background: rgba(255, 84, 112, .18) !important;
}
.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px max(16px, var(--safe-left)) 22px max(16px, var(--safe-right));
  background: rgba(4, 7, 12, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.confirm-overlay[hidden] { display: none !important; }
.confirm-overlay.is-on {
  animation: confirm-fade .18s ease;
}
.confirm-card {
  position: relative;
  width: min(400px, 100%);
  overflow: hidden;
  padding: 28px 22px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 84, 112, .32);
  background:
    linear-gradient(180deg, rgba(255, 84, 112, .1), rgba(255, 84, 112, .02) 38%, rgba(8, 14, 23, .96)),
    #0c1118;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, .55),
    0 0 40px rgba(255, 84, 112, .12),
    inset 0 1px 0 rgba(255, 255, 255, .05);
  text-align: center;
  animation: confirm-pop .22s cubic-bezier(.2, .9, .2, 1);
}
.confirm-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 220px;
  height: 160px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 84, 112, .28), transparent 70%);
  pointer-events: none;
}
.confirm-ico {
  position: relative;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ff8a9b;
  font-size: 22px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 84, 112, .28), rgba(255, 84, 112, .08));
  border: 1px solid rgba(255, 84, 112, .35);
  box-shadow: 0 0 0 6px rgba(255, 84, 112, .08);
}
.confirm-title {
  position: relative;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .01em;
  color: #fff;
}
.confirm-sub {
  position: relative;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.confirm-meta {
  position: relative;
  margin: 16px 0 0;
  padding: 12px 14px;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(255, 84, 112, .16);
  background: rgba(255, 255, 255, .03);
}
.confirm-meta[hidden] { display: none !important; }
.confirm-nick {
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
}
.confirm-file {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: normal;
}
.confirm-verdict {
  display: inline-flex;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 84, 112, .35);
  background: rgba(255, 84, 112, .12);
  color: #ff9aa8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.confirm-note {
  position: relative;
  margin-top: 12px;
  color: rgba(255, 154, 168, .75);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.confirm-actions {
  position: relative;
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.confirm-actions .back,
.confirm-actions .danger-btn {
  flex: 1;
  justify-content: center;
  min-height: 44px;
}
.confirm-ok {
  background: linear-gradient(180deg, rgba(255, 84, 112, .95), #d63b56) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(255, 84, 112, .28);
}
.confirm-ok:hover {
  filter: brightness(1.06);
  background: linear-gradient(180deg, #ff6b82, #c92f4b) !important;
}
.tip-overlay {
  align-items: center;
  align-items: safe center;
  justify-content: center;
  justify-content: safe center;
  padding:
    max(16px, var(--safe-top))
    max(16px, var(--safe-right))
    max(16px, var(--safe-bottom))
    max(16px, var(--safe-left));
}
.tip-card {
  --tip-lock: 8s;
  width: min(440px, 100%);
  max-width: 100%;
  max-height: min(86dvh, calc(100dvh - max(16px, var(--safe-top)) - max(16px, var(--safe-bottom)) - 12px));
  margin: 0 auto;
  border-color: rgba(78, 161, 255, .32);
  background:
    linear-gradient(180deg, rgba(78, 161, 255, .12), rgba(78, 161, 255, .02) 38%, rgba(8, 14, 23, .96)),
    #0c1118;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, .55),
    0 0 40px rgba(78, 161, 255, .12),
    inset 0 1px 0 rgba(255, 255, 255, .05);
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tip-head { flex-shrink: 0; }
.tip-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin-top: 12px;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.tip-glow {
  background: radial-gradient(circle, rgba(78, 161, 255, .28), transparent 70%);
}
.tip-ico {
  color: var(--accent-2);
  background: radial-gradient(circle at 50% 40%, rgba(78, 161, 255, .28), rgba(78, 161, 255, .08));
  border-color: rgba(78, 161, 255, .35);
  box-shadow: 0 0 0 6px rgba(78, 161, 255, .08);
  margin-left: auto;
  margin-right: auto;
}
.tip-card .confirm-title,
.tip-card .confirm-sub { text-align: center; }
.tip-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.tip-list li {
  position: relative;
  padding: 10px 12px 10px 36px;
  border-radius: 10px;
  border: 1px solid rgba(78, 161, 255, .14);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
  hyphens: none;
}
.tip-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(78, 161, 255, .55);
}
.tip-colors {
  position: relative;
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(78, 161, 255, .14);
  background: rgba(255, 255, 255, .03);
  display: grid;
  gap: 8px;
}
.tip-colors-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(156, 199, 255, .85);
  margin-bottom: 2px;
}
.tip-color-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.tip-swatch {
  display: block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
}
.tip-color-name {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
}
.tip-color-desc {
  margin-top: 1px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--muted);
}
.tip-actions {
  flex-shrink: 0;
  margin-top: 14px;
}
.tip-ok {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #5aa8ff, #2f7fe0) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(78, 161, 255, .28);
}
.tip-ok-fill {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .32));
  pointer-events: none;
}
.tip-ok-label {
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}
.tip-ok.is-locking {
  pointer-events: none;
  filter: saturate(.75);
  box-shadow: 0 8px 16px rgba(78, 161, 255, .16);
}
.tip-ok.is-locking .tip-ok-fill {
  animation: tip-ok-fill var(--tip-lock, 8s) linear forwards;
}
.tip-ok.is-ready {
  animation: tip-ok-ready .45s cubic-bezier(.2, .9, .2, 1);
}
.tip-ok.is-ready .tip-ok-fill {
  transform: scaleX(1);
  opacity: .22;
}
.tip-ok:disabled { cursor: wait; }
.tip-ok:not(:disabled):hover {
  filter: brightness(1.06);
  background: linear-gradient(180deg, #6bb4ff, #2a74d0) !important;
}
@keyframes tip-ok-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes tip-ok-ready {
  0% { transform: scale(.98); filter: brightness(.95); }
  55% { transform: scale(1.04); filter: brightness(1.12); }
  100% { transform: scale(1); filter: none; }
}
.help-fab {
  position: fixed;
  z-index: 40;
  right: max(16px, var(--safe-right));
  bottom: max(18px, calc(var(--safe-bottom) + 12px));
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(78, 161, 255, .45);
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 50% 38%, rgba(122, 186, 255, .55), rgba(47, 127, 224, .95) 62%);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .4),
    0 0 0 6px rgba(78, 161, 255, .12),
    0 0 22px rgba(78, 161, 255, .35);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.help-fab[hidden] { display: none !important; }
.help-fab:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.06);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, .45),
    0 0 0 7px rgba(78, 161, 255, .16),
    0 0 28px rgba(78, 161, 255, .45);
}
.help-fab:focus-visible {
  outline: 2px solid rgba(156, 199, 255, .9);
  outline-offset: 3px;
}
.help-fab-q {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}
.help-sec-title {
  margin: 14px 0 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.help-sec-title.yes { color: rgba(255, 154, 168, .95); }
.help-sec-title.no { color: rgba(255, 186, 122, .95); }
.help-sec-title:first-child { margin-top: 0; }
.help-list.yes li { border-color: rgba(255, 84, 112, .18); }
.help-list.yes li::before {
  background: var(--danger);
  box-shadow: 0 0 10px rgba(255, 84, 112, .55);
}
.help-list.no li { border-color: rgba(255, 122, 47, .2); }
.help-list.no li::before {
  background: var(--hot);
  box-shadow: 0 0 10px rgba(255, 122, 47, .5);
}
.help-tg {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(78, 161, 255, .28);
  background: rgba(78, 161, 255, .08);
  color: #d7e9ff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
.help-tg i {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6ab3ff;
  font-size: 18px;
  line-height: 1;
}
.help-tg-text {
  flex: 1;
  min-width: 0;
  text-align: left;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.help-tg-nick {
  display: inline;
  white-space: nowrap;
  margin-left: .35em;
}
.help-tg:hover {
  border-color: rgba(78, 161, 255, .5);
  background: rgba(78, 161, 255, .14);
}
#help-guide { z-index: 90; }
#reviewer .list { padding-bottom: 64px; }
@media (max-width: 480px) {
  .help-fab {
    width: 48px;
    height: 48px;
    right: max(12px, var(--safe-right));
    bottom: max(14px, calc(var(--safe-bottom) + 10px));
  }
  .help-fab-q { font-size: 24px; }
}
@media (max-width: 360px) {
  .tip-overlay {
    padding:
      max(10px, var(--safe-top))
      max(8px, var(--safe-right))
      max(10px, var(--safe-bottom))
      max(8px, var(--safe-left));
  }
  .tip-card {
    width: 100%;
    padding: 18px 12px 12px;
    border-radius: 14px;
  }
  .tip-ico { width: 44px; height: 44px; font-size: 18px; margin-bottom: 8px; }
  .tip-card .confirm-title { font-size: 16px; }
  .tip-card .confirm-sub { font-size: 12px; margin-top: 6px; }
  .tip-list { gap: 6px; }
  .tip-list li { font-size: 12px; padding: 8px 10px 8px 30px; }
  .tip-list li::before { left: 12px; top: 14px; width: 7px; height: 7px; }
  .tip-colors { padding: 10px; gap: 6px; }
  .tip-color-name { font-size: 10px; }
  .tip-color-desc { font-size: 11px; }
}
@media (min-width: 361px) and (max-width: 480px) {
  .tip-overlay {
    padding:
      max(12px, var(--safe-top))
      max(10px, var(--safe-right))
      max(12px, var(--safe-bottom))
      max(10px, var(--safe-left));
  }
  .tip-card {
    width: 100%;
    padding: 22px 16px 14px;
    max-height: min(88dvh, calc(100dvh - max(12px, var(--safe-top)) - max(12px, var(--safe-bottom)) - 8px));
  }
}
@media (min-width: 481px) and (max-width: 767px) {
  .tip-card {
    width: min(480px, 100%);
    padding: 26px 20px 16px;
  }
}
@media (min-width: 768px) {
  .tip-card {
    width: min(520px, 92vw);
    max-height: min(84dvh, 760px);
    padding: 30px 26px 20px;
  }
  .tip-colors {
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }
  .tip-colors-title { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .tip-card {
    width: min(560px, 42vw);
  }
  .tip-card .confirm-title { font-size: 20px; }
  .tip-list li { font-size: 14px; }
}
@media (max-height: 640px) {
  .tip-card { max-height: min(90dvh, calc(100dvh - 20px)); }
  .tip-ico { width: 46px; height: 46px; font-size: 18px; margin-bottom: 8px; }
  .tip-body { margin-top: 8px; }
  .tip-actions { margin-top: 10px; }
}
@media (max-height: 520px) {
  .tip-card {
    max-height: min(94dvh, calc(100dvh - 12px));
    padding: 14px 16px 10px;
  }
  .tip-ico { width: 36px; height: 36px; font-size: 15px; margin-bottom: 6px; box-shadow: 0 0 0 4px rgba(78, 161, 255, .08); }
  .tip-card .confirm-title { font-size: 15px; }
  .tip-card .confirm-sub { font-size: 12px; margin-top: 4px; }
  .tip-list { gap: 5px; }
  .tip-list li { padding: 7px 10px 7px 28px; font-size: 12px; }
  .tip-colors { margin-top: 8px; padding: 8px; gap: 5px; }
  .tip-colors-title { margin-bottom: 0; }
}
@media (max-height: 520px) and (min-width: 700px) and (orientation: landscape) {
  .tip-card {
    width: min(720px, 94vw);
  }
  .tip-colors { grid-template-columns: 1fr 1fr; }
  .tip-colors-title { grid-column: 1 / -1; }
}
body.confirm-open { overflow: hidden; }
@keyframes confirm-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes confirm-pop {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.screen {
  display: none;
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  align-items: safe center;
  justify-content: center;
  justify-content: safe center;
  overflow-x: hidden;
  overflow-y: auto;
  padding:
    max(16px, calc(var(--pad-y) * .6 + var(--safe-top)))
    max(12px, calc(var(--pad-x) + var(--safe-right)))
    max(16px, calc(var(--pad-y) * .6 + var(--safe-bottom)))
    max(12px, calc(var(--pad-x) + var(--safe-left)));
  width: 100%;
}
.screen.active { display: flex; }
#home.screen.active,
#scanner.screen.active,
#rev-login.screen.active {
  align-items: center;
  align-items: safe center;
  justify-content: center;
  justify-content: safe center;
}
#reviewer.screen.active,
#report.screen.active,
#admin.screen.active,
#files.screen.active {
  align-items: flex-start;
  justify-content: center;
}
#report.screen.active {
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
}
.shell {
  width: var(--shell-w);
  max-width: 100%;
  border: 1px solid rgba(113, 137, 163, .18);
  border-radius: 16px;
  padding: clamp(16px, 3.5vw, 28px) clamp(14px, 3vw, 22px) clamp(14px, 3vw, 22px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)),
    rgba(8, 14, 23, .88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 22px 50px rgba(0, 0, 0, .35),
    0 0 40px rgba(78, 161, 255, .06);
}
.shell.home-shell {
  width: var(--shell-w);
  display: flex;
  flex-direction: column;
}
.shell.shell-wide,
.shell.report-shell { width: var(--shell-wide); }
.title {
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  color: var(--muted);
  margin: 4px 0 16px;
  text-transform: uppercase;
}
.cards-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scan-card {
  width: 100%;
  border: 1px solid rgba(113, 137, 163, .18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(78, 161, 255, .16), transparent 55%),
    rgba(255, 255, 255, .03);
  padding: 26px 14px 22px;
  text-align: center;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  transition: .16s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.scan-card.reviewer {
  background:
    radial-gradient(circle at 50% 0%, rgba(33, 213, 139, .12), transparent 55%),
    rgba(255, 255, 255, .03);
}
.scan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(78, 161, 255, .42);
}
.scan-card.reviewer:hover { border-color: rgba(33, 213, 139, .4); }
.scan-card.auto {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px 10px;
  padding: 8px 12px;
  text-align: left;
  background:
    radial-gradient(circle at 0% 50%, rgba(255, 122, 47, .14), transparent 55%),
    rgba(255, 255, 255, .03);
}
.scan-card.auto:hover { border-color: rgba(255, 122, 47, .42); }
.scan-card.auto .ic-round {
  width: 28px;
  height: 28px;
  margin: 0;
  flex-shrink: 0;
}
.scan-card.auto .ic-round .bi { font-size: 14px; }
.scan-card.auto .card-name {
  font-size: 13px;
  margin: 0;
  flex: 1;
  min-width: 0;
}
.scan-card.auto .card-sub { display: none; }
.scan-card.auto .card-cta {
  margin: 0 0 0 auto;
  padding: 6px 10px;
  font-size: 11px;
  min-height: 28px;
  gap: 5px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(255, 122, 47, .18);
}
.scan-card.auto .card-cta .bi { font-size: 12px; }
.auto-home {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.auto-home-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 122, 47, .22);
  background: rgba(255, 122, 47, .07);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}
.auto-home-meta.is-ok {
  border-color: rgba(33, 213, 139, .28);
  background: rgba(33, 213, 139, .08);
}
.auto-home-meta.is-wait,
.auto-home-meta.is-none {
  border-color: rgba(255, 84, 112, .28);
  background: rgba(255, 84, 112, .08);
}
.auto-home-left { min-width: 0; }
.auto-home-left b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.auto-home-left b.au-zero { color: var(--danger); }
.admin-key-ttl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
}
.admin-key-ttl .ttl-select,
.admin-key-ttl .ttl-days {
  margin: 0;
  min-height: 34px;
  padding: 6px 10px;
  flex: 1 1 120px;
}
.admin-key-ttl .ttl-days { flex: 0 1 88px; max-width: 110px; }
.admin-key-ttl .back { margin: 0; min-height: 34px; height: 34px; }
.auto-home-clock {
  flex-shrink: 0;
  color: var(--hot);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.auto-home-meta.is-ok .auto-home-clock { color: var(--green); }
.auto-home-meta.is-wait .auto-home-clock,
.auto-home-meta.is-none .auto-home-clock { color: #ff9aa8; }
.ic-round {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: radial-gradient(circle at 50% 45%, rgba(78, 161, 255, .3), rgba(78, 161, 255, .08));
}
.ic-round .bi { font-size: 26px; }
.ic-round.green {
  color: var(--green);
  background: radial-gradient(circle at 50% 45%, rgba(33, 213, 139, .28), rgba(33, 213, 139, .08));
}
.ic-round.hot {
  color: var(--hot);
  background: radial-gradient(circle at 50% 45%, rgba(255, 122, 47, .3), rgba(255, 122, 47, .08));
}
.card-name { font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.card-sub {
  margin-top: 7px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
  white-space: pre-line;
}
.card-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #3b82f6);
  color: #041018;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(78, 161, 255, .25);
}
.card-cta.green {
  background: linear-gradient(135deg, #21d58b, #17b37a);
  color: #03140d;
  box-shadow: 0 10px 24px rgba(33, 213, 139, .22);
}
.card-cta.hot {
  background: linear-gradient(135deg, #ff7a2f, #f05912);
  color: #1a0a02;
  box-shadow: 0 10px 24px rgba(255, 122, 47, .25);
}
.contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(113, 137, 163, .18);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: .15s ease;
}
.contact-link:hover {
  color: var(--accent-2);
  border-color: rgba(78, 161, 255, .4);
  background: rgba(78, 161, 255, .1);
}
.contact-link .bi { font-size: 15px; }
.counter {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(113, 137, 163, .16);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.counter b {
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.queue-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 16px;
}
.queue-left,
.queue-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.queue-left { justify-self: start; }
.queue-right {
  justify-self: end;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.queue-bar .pending-badge { margin: 0; justify-self: center; }
.queue-bar .back {
  margin: 0;
  min-height: 34px;
  height: 34px;
  padding: 0 12px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.pending-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 122, 47, .15);
  color: var(--hot);
  border: 1px solid rgba(255, 122, 47, .35);
  font-size: 11px;
  font-weight: 900;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  min-width: 0;
}
.topbar .tab { flex: 1; min-width: 0; }
.topbar .back { flex-shrink: 0; }
.back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(113, 137, 163, .18);
  border-radius: 10px;
  color: var(--muted);
  font: 800 12px/1 Inter, sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
  padding: 0 12px;
}
.back:hover { color: var(--text); border-color: rgba(78, 161, 255, .35); }
.back.wide { width: 100%; margin-top: 14px; }
.tab {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
  padding: 8px 2px;
  border-bottom: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tab .bi { color: var(--accent); }
.counter .bi { color: var(--accent); font-size: 16px; }
.btn .bi, .back .bi, .card-cta .bi { font-size: 15px; }
.field {
  width: 100%;
  background: rgba(7, 12, 20, .86);
  border: 1px solid rgba(113, 137, 163, .18);
  border-radius: 8px;
  color: var(--text);
  font: 700 13px/1.3 Inter, sans-serif;
  padding: 14px 15px;
  margin-bottom: 12px;
  outline: none;
}
.field::placeholder { color: rgba(167, 177, 193, .55); font-weight: 600; }
.field:focus {
  border-color: rgba(78, 161, 255, .5);
  box-shadow: 0 0 0 3px rgba(78, 161, 255, .12);
}
.ok-toast {
  display: none;
  margin-top: 14px;
  padding: 16px 14px;
  border: 1px solid rgba(33, 213, 139, .35);
  background: rgba(33, 213, 139, .1);
  border-radius: 12px;
  color: var(--green);
}
.ok-toast.show { display: flex; align-items: flex-start; gap: 10px; }
.ok-toast .bi { font-size: 20px; flex-shrink: 0; }
.ok-title { font-size: 14px; font-weight: 900; margin-bottom: 4px; }
.ok-sub { color: #8fd9b8; font-weight: 700; font-size: 12px; }
.rev-filters { display: flex; flex-direction: column; gap: 10px; margin: 2px 0 14px; }
.rev-search-wrap { position: relative; }
.rev-search-wrap > .bi-search {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}
.rev-search-wrap .field { margin-bottom: 0; padding-left: 40px; padding-right: 42px; }
.rev-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 800 16px/1 Inter, sans-serif;
}
.rev-search-clear:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 55vh;
  overflow: auto;
  overflow-x: hidden;
  padding: 4px 8px 8px 2px;
  margin-right: -2px;
  border-radius: 12px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 70, 85, .45) rgba(255, 255, 255, .04);
}
.list::-webkit-scrollbar { width: 8px; }
.list::-webkit-scrollbar-track {
  margin: 4px 0;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(113, 137, 163, .12);
  border-radius: 999px;
}
.list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(123, 192, 255, .55), rgba(78, 161, 255, .35));
  border: 1px solid rgba(78, 161, 255, .35);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(78, 161, 255, .18);
}
.list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(123, 192, 255, .75), rgba(78, 161, 255, .55));
  border-color: rgba(78, 161, 255, .55);
  box-shadow: 0 0 16px rgba(78, 161, 255, .28);
}
.list::-webkit-scrollbar-thumb:active { background: rgba(78, 161, 255, .7); }
.list::-webkit-scrollbar-corner { background: transparent; }
.list-empty {
  text-align: center;
  padding: 28px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  border: 1px dashed rgba(113, 137, 163, .22);
  border-radius: 12px;
}
.list-empty .bi {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
  opacity: .5;
}
.item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  border: 1px solid rgba(113, 137, 163, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  transition: .15s;
}
.item:hover {
  border-color: rgba(78, 161, 255, .35);
  background: rgba(78, 161, 255, .06);
  transform: translateY(-1px);
}
.item-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--hot);
  background: radial-gradient(circle at 50% 45%, rgba(255, 122, 47, .25), rgba(255, 122, 47, .08));
  font-size: 18px;
}
.item-ico.done {
  color: var(--green);
  background: radial-gradient(circle at 50% 45%, rgba(33, 213, 139, .25), rgba(33, 213, 139, .08));
}
.item-body { flex: 1; min-width: 0; }
.item-nick {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.02em;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.item-file {
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item-meta {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(167, 177, 193, .7);
  font-weight: 700;
  line-height: 1.35;
}
.item-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  padding: 0 9px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.item-status.pending {
  color: var(--hot);
  background: rgba(255, 122, 47, .12);
  border: 1px solid rgba(255, 122, 47, .3);
}
.item-status.reviewed {
  color: #7dffc4;
  background: rgba(33, 213, 139, .12);
  border: 1px solid rgba(33, 213, 139, .38);
}
.item-status.soft {
  color: #ff9aa8;
  background: rgba(255, 84, 112, .12);
  border: 1px solid rgba(255, 84, 112, .38);
}
.item-status.clean {
  color: #7dffc4;
  background: rgba(33, 213, 139, .12);
  border: 1px solid rgba(33, 213, 139, .38);
}
.item-status.auto {
  color: #ffb27a;
  background: rgba(255, 122, 47, .12);
  border: 1px solid rgba(255, 122, 47, .38);
}
.item-status.expired {
  color: #ff9aa8;
  background: rgba(255, 84, 112, .12);
  border: 1px solid rgba(255, 84, 112, .38);
}
.item-status.paused {
  color: #ffd27a;
  background: rgba(255, 184, 77, .12);
  border: 1px solid rgba(255, 184, 77, .4);
}
.item-ico.hot {
  color: var(--hot);
  background: radial-gradient(circle at 50% 45%, rgba(255, 122, 47, .28), rgba(255, 122, 47, .08));
}
.item-ico.soft {
  color: var(--danger);
  background: radial-gradient(circle at 50% 45%, rgba(255, 84, 112, .28), rgba(255, 84, 112, .08));
}
.assignee-box { margin: 0 0 12px; }
.assignee-empty {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 2px;
}
.assignee-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.rev-status-filters { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.rev-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  height: 32px;
  border: 1px solid rgba(113, 137, 163, .2);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font: 900 11px/1 Inter, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0 12px;
  border-radius: 999px;
  cursor: pointer;
  flex: 0 0 auto;
}
.rev-filter-btn.active {
  color: var(--accent-2);
  border-color: rgba(78, 161, 255, .55);
  background: rgba(78, 161, 255, .14);
}
.rev-filter-btn[data-status="pending"].active {
  color: var(--hot);
  border-color: rgba(255, 122, 47, .5);
  background: rgba(255, 122, 47, .12);
}
.rev-filter-btn[data-status="reviewed"].active {
  color: var(--green);
  border-color: rgba(33, 213, 139, .45);
  background: rgba(33, 213, 139, .12);
}
.verdict-nick {
  margin-top: 4px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 900;
}

@property --rim {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes rim-turn {
  to { --rim: 360deg; }
}

.stat .ic {
  box-shadow: 0 0 0 2px rgba(78, 161, 255, .28);
}
.stat .ic::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from var(--rim),
    rgba(78, 161, 255, .08) 0deg,
    currentColor 55deg,
    #fff 82deg,
    rgba(78, 161, 255, .08) 130deg,
    transparent 200deg,
    rgba(78, 161, 255, .08) 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  animation: rim-turn 3s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.stat .ic > * { position: relative; z-index: 1; }
.ic.red { box-shadow: 0 0 0 2px rgba(255, 84, 112, .32); }
.ic.red::before {
  background: conic-gradient(
    from var(--rim),
    rgba(255, 84, 112, .1) 0deg,
    var(--danger) 55deg,
    #fff 82deg,
    rgba(255, 84, 112, .1) 130deg,
    transparent 200deg,
    rgba(255, 84, 112, .1) 360deg
  );
}
.ic.cert { box-shadow: 0 0 0 2px rgba(192, 132, 252, .32); }
.ic.cert::before {
  background: conic-gradient(
    from var(--rim),
    rgba(192, 132, 252, .1) 0deg,
    #c084fc 55deg,
    #fff 82deg,
    rgba(192, 132, 252, .1) 130deg,
    transparent 200deg,
    rgba(192, 132, 252, .1) 360deg
  );
}

.ic-round,
.drop-ico,
.dvc-ico,
.dvc-flag,
.hl-count {
  position: relative;
  isolation: isolate;
  box-shadow: 0 0 0 1px rgba(78, 161, 255, .18);
}
.ic-round::before,
.drop-ico::before,
.dvc-ico::before,
.dvc-flag::before,
.hl-count::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from var(--rim),
    rgba(78, 161, 255, .1) 0deg,
    currentColor 60deg,
    #fff 88deg,
    rgba(78, 161, 255, .1) 140deg,
    transparent 200deg,
    rgba(78, 161, 255, .1) 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: rim-turn 3s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.ic-round > *,
.drop-ico > *,
.dvc-ico > * {
  position: relative;
  z-index: 1;
}
.ic-round.green,
.ic.green { box-shadow: 0 0 0 1px rgba(33, 213, 139, .22); }
.ic-round.green::before,
.dvc-flag::before {
  background: conic-gradient(
    from var(--rim),
    rgba(33, 213, 139, .1) 0deg,
    var(--green) 60deg,
    #fff 88deg,
    rgba(33, 213, 139, .1) 140deg,
    transparent 200deg,
    rgba(33, 213, 139, .1) 360deg
  );
}
.hl-count::before {
  background: conic-gradient(
    from var(--rim),
    rgba(78, 161, 255, .1) 0deg,
    var(--accent) 60deg,
    #fff 88deg,
    rgba(78, 161, 255, .1) 140deg,
    transparent 200deg,
    rgba(78, 161, 255, .1) 360deg
  );
}
.ic.amber { color: var(--accent); }
.ic-round.green { color: var(--green); }
.dvc-flag { color: var(--green); box-shadow: 0 0 0 1px rgba(33, 213, 139, .22); }
.hl-count { box-shadow: 0 0 0 1px rgba(78, 161, 255, .22); }

.live i {
  position: relative;
  color: var(--green);
  box-shadow: 0 0 0 3px rgba(33, 213, 139, .22);
}
.live i::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from var(--rim), transparent 0 220deg, var(--green) 280deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - .5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - .5px));
  animation: rim-turn 2.6s linear infinite;
}

.pill .dot,
.vtag-dot,
.verdict-warn-dot,
.legend i {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .12);
}

.report-view {
  animation: report-in .45s ease both;
  container-type: inline-size;
  container-name: report;
}
@keyframes report-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.report-view .verdict {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 16px;
  padding: 18px 18px 18px 20px;
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.report-view .verdict::before,
.report-view .verdict-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--rim),
    transparent 0 200deg,
    currentColor 250deg,
    #fff 270deg,
    currentColor 290deg,
    transparent 340deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: rim-turn 4.2s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.verdict-orb { display: none; }
.verdict.wo { color: var(--danger); }
.verdict.ok { color: var(--green); }
.verdict-copy { position: relative; z-index: 1; min-width: 0; flex: 1; }
.report-view .verdict .badge {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}
.report-view .verdict.wo {
  box-shadow: inset 0 0 0 1px rgba(255, 84, 112, .45);
}
.report-view .verdict.ok {
  box-shadow: inset 0 0 0 1px rgba(33, 213, 139, .4);
}
.report-view .verdict-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 14px 16px;
  background:
    linear-gradient(180deg, rgba(255, 84, 112, .12), rgba(255, 84, 112, .04));
  box-shadow: inset 0 0 0 1px rgba(255, 84, 112, .35), 0 16px 40px rgba(255, 84, 112, .08);
}

.report-view .stat {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 16px 14px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.report-view .stat .ic {
  border-radius: 50%;
}

.report-view .legend {
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
}

.report-view .sec {
  margin: 26px 0 12px;
  position: relative;
}
.report-view .sec .t {
  font-size: 16px;
}
.report-view .sec::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .12), transparent);
}

.dvc {
  position: relative;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)),
    rgba(8, 14, 23, .78);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}
.dvc::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent), #7c6bff, transparent);
  opacity: .7;
}
.dvc-ico {
  border-radius: 50%;
  width: 46px;
  height: 46px;
  color: var(--accent);
}
.dvc-ios {
  position: relative;
  overflow: hidden;
}
.dvc-flag {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  line-height: 1;
  font-size: 12px;
  background: rgba(33, 213, 139, .1);
  border: 1px solid rgba(33, 213, 139, .22);
  flex: 0 0 40px;
}
.dvc-flag::before { inset: 0; }
.dvc-flag > * {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--green);
}
.dvc-f {
  background: linear-gradient(90deg, rgba(33, 213, 139, .06), transparent);
}

.pill-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.report-view .pill {
  margin-bottom: 0;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  transition: transform .16s ease, border-color .16s ease;
}
.report-view .pill:hover {
  transform: translateX(3px);
  border-color: rgba(78, 161, 255, .28);
}
.report-view .pill-hot {
  background: linear-gradient(180deg, rgba(255, 84, 112, .1), rgba(255, 84, 112, .04));
}

.hl {
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(78, 161, 255, .16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(8, 14, 23, .7));
  box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
}
.hl-count {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #041018;
}
.hl-item {
  border-radius: 12px;
  transition: transform .15s ease, border-color .15s ease;
}
.hl-item:hover { transform: translateY(-1px); }

.report-view .cleanbox {
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(33, 213, 139, .14), transparent 50%),
    rgba(33, 213, 139, .06);
}
.report-view .warn {
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 122, 47, .16), transparent 46%),
    rgba(255, 122, 47, .06);
}
.hl {
  margin: 0 0 16px;
  border: 1px solid rgba(78, 161, 255, .22);
  border-radius: 12px;
  background:
    radial-gradient(circle at 8% 0%, rgba(78, 161, 255, .12), transparent 36%),
    rgba(8, 14, 23, .55);
  overflow: hidden;
}
.hl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.hl-title { font-size: 16px; font-weight: 900; letter-spacing: -.03em; }
.hl-sub { margin-top: 3px; font-size: 12px; font-weight: 700; color: var(--muted); }
.hl-count {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  line-height: 1;
  font-weight: 900;
  color: #041018;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.hl-count::before { inset: 0; }
.hl-count > * {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1;
  font-size: 13px;
  font-weight: 900;
}
.hl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.hl-col { padding: 12px; }
.hl-col:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .06); }
.hl-col:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .06); }
.hl-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hl-label.crit { color: var(--danger); }
.hl-label.cert { color: #c084fc; }
.hl-label.warn { color: var(--hot); }
.hl-label.check { color: #f0c14b; }
.hl-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 0;
}
.hl-item {
  padding: 10px 11px;
  margin-bottom: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .03);
}
.hl-item.crit {
  border-color: rgba(255, 84, 112, .35);
  background: rgba(255, 84, 112, .08);
}
.hl-item.warn {
  border-color: rgba(255, 122, 47, .32);
  background: rgba(255, 122, 47, .07);
}
.hl-item.cert {
  border-color: rgba(192, 132, 252, .38);
  background: rgba(192, 132, 252, .08);
}
.hl-item.check {
  border-color: rgba(240, 193, 75, .4);
  background: rgba(240, 193, 75, .08);
}
.hl-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.hl-group {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.hl-name { font-size: 13px; font-weight: 800; overflow-wrap: anywhere; word-break: normal; line-height: 1.4; }
.hl-detail { margin-top: 3px; font-size: 11px; font-weight: 700; color: var(--muted); line-height: 1.4; overflow-wrap: break-word; text-wrap: pretty; }
.pill-hot {
  border-color: rgba(255, 84, 112, .4) !important;
  box-shadow: inset 3px 0 0 var(--danger);
}

@media (max-width: 720px) {
  .cards-col { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr 1fr; }
  .drop-main, .page-head { flex-direction: column; }
  .dvc-g { grid-template-columns: 1fr; }
  .dvc-c { border-right: 0; }
  .hl-grid { grid-template-columns: 1fr; }
  .hl-col:nth-child(even) { border-left: 0; }
  .hl-col + .hl-col { border-top: 1px solid rgba(255, 255, 255, .06); }
}

@media (max-width: 360px) {
  .lang-btn { padding: 6px 6px; font-size: 10px; min-width: 30px; }
  .live { display: none; }
  .brand { font-size: 15px; }
  .card-name { font-size: 15px; }
  .card-sub { font-size: 11px; }
  .card-cta { width: 100%; justify-content: center; font-size: 12px; padding: 11px 12px; }
  .ic-round { width: 48px; height: 48px; }
  .scan-card { padding: 20px 14px 18px; }
  .scan-card.auto { padding: 7px 10px; }
  .scan-card.auto .ic-round { width: 24px; height: 24px; }
  .scan-card.auto .card-cta {
    width: auto;
    margin: 0 0 0 auto;
    padding: 5px 9px;
    font-size: 11px;
  }
  .drop { padding: 24px 12px; }
  .drop-ico { width: 48px; height: 48px; font-size: 20px; }
  .item { flex-wrap: wrap; }
  .item-status { margin-left: 54px; }
  .tab { font-size: 12px; }
  .row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 10px 8px; gap: 8px; }
  .stat .ic { width: 30px; height: 30px; min-width: 30px; min-height: 30px; flex-basis: 30px; font-size: 14px; }
  .stat .n { font-size: 18px; }
  .stat .l { font-size: 10px; line-height: 1.25; overflow-wrap: break-word; }
  .queue-bar .back { padding: 0 10px; font-size: 11px; }
}

@media (max-width: 580px) {
  .queue-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .queue-left { flex: 1 1 auto; }
  .queue-bar .pending-badge { flex: 0 0 auto; }
  .queue-right { margin-left: auto; }
  body.is-admin .queue-right {
    flex: 1 1 100%;
    justify-content: stretch;
    margin-left: 0;
  }
  body.is-admin .queue-right .back { flex: 1 1 0; }
  #reviewer .shell,
  #reviewer .list,
  #reviewer .item {
    min-width: 0;
    max-width: 100%;
  }
  #reviewer .list { width: 100%; }
  .admin-row { flex-wrap: wrap; }
  .admin-row .danger-btn,
  .admin-row .file-dl-btn { width: 100%; justify-content: center; }
  .item-file { max-width: 100%; }
  #reviewer .item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px;
    overflow: hidden;
  }
  #reviewer .item-ico {
    width: 42px;
    height: 42px;
    font-size: 18px;
    flex-shrink: 0;
  }
  #reviewer .item-body {
    display: block;
    flex: 1;
    min-width: 0;
  }
  #reviewer .item-nick {
    display: block;
    min-height: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  #reviewer .item-file {
    display: block;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #reviewer .item-meta {
    display: block;
    margin-top: 6px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  #reviewer .item-status {
    position: static;
    flex-shrink: 0;
    align-self: center;
    margin: 0;
    height: auto;
    min-height: 26px;
    padding: 0 9px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  #home.screen.active,
  #scanner.screen.active,
  #rev-login.screen.active {
    align-items: center;
    align-items: safe center;
    padding:
      max(16px, var(--safe-top))
      max(12px, var(--safe-right))
      max(16px, var(--safe-bottom))
      max(12px, var(--safe-left));
  }
  #reviewer.screen.active,
  #report.screen.active,
  #admin.screen.active,
  #files.screen.active {
    align-items: flex-start;
    padding-top: max(12px, var(--safe-top));
  }
  .shell { border-radius: 12px; }
  .home-shell { margin-block: auto; }
  .cards-col { gap: 10px; }
  .scan-card { padding: 22px 14px 18px; }
  .scan-card.auto { padding: 8px 10px; }
  .card-cta {
    width: min(100%, 240px);
    justify-content: center;
    align-self: center;
  }
  .scan-card.auto .card-cta {
    width: auto;
    margin: 0 0 0 auto;
  }
  .login-cta { width: 100%; }
  .scan-card:hover, .item:hover { transform: none; }
  .list { max-height: min(62dvh, 520px); }
  .field, #rev-pass, #nickname, #admin-label, #admin-pass, #admin-ttl-custom, #admin-auto-limit { font-size: 16px; }
  .topbar { gap: 8px; margin-bottom: 14px; }
  .tab { font-size: 13px; }
}

@media (min-width: 481px) and (max-width: 767px) {
  :root {
    --shell-w: min(480px, 100%);
    --shell-wide: min(600px, 100%);
  }
  .screen {
    padding:
      max(24px, var(--safe-top))
      max(20px, var(--safe-right))
      max(24px, var(--safe-bottom))
      max(20px, var(--safe-left));
  }
  #home.screen.active,
  #scanner.screen.active,
  #rev-login.screen.active {
    align-items: center;
    align-items: safe center;
  }
  .scan-card { align-items: center; }
  .card-cta { align-self: center; }
  .list { max-height: min(60dvh, 560px); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --shell-w: min(640px, 92vw);
    --shell-wide: min(720px, 92vw);
    --pad-x: 24px;
    --pad-y: 36px;
  }
  #home.screen.active,
  #scanner.screen.active,
  #rev-login.screen.active {
    align-items: center;
    align-items: safe center;
  }
  .cards-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .cards-col .auto-home,
  .cards-col .scan-card.auto {
    grid-column: 1 / -1;
    height: auto;
  }
  .cards-col .scan-card.auto {
    flex-direction: row;
    justify-content: flex-start;
    padding: 8px 12px;
  }
  .scan-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .card-cta { align-self: center; }
  .list { max-height: min(58dvh, 640px); }
  .brand { font-size: 20px; }
  .card-name { font-size: 18px; }
}

@media (min-width: 1024px) {
  :root {
    --shell-w: min(480px, 100%);
    --shell-wide: min(760px, 100%);
  }
  .screen { padding: 40px 24px; }
  .cards-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .cards-col .auto-home,
  .cards-col .scan-card.auto {
    grid-column: 1 / -1;
    height: auto;
  }
  .cards-col .scan-card.auto {
    flex-direction: row;
    justify-content: flex-start;
    padding: 8px 12px;
  }
  .scan-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .shell.shell-wide,
  .shell.report-shell { width: min(800px, 90vw); }
  .list { max-height: min(56vh, 680px); }
}

@media (min-width: 640px) and (max-width: 1179px) {
  .judge-actions { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1180px) {
  .shell.report-shell { width: min(1120px, 94vw); }
  .report-layout {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
  }
  .report-layout.no-judge {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
  }
  .judge-rail {
    position: relative;
    top: auto;
    align-self: stretch;
  }
  .judge-card {
    position: sticky;
    top: max(12px, var(--safe-top));
    z-index: 4;
  }
  #results { min-width: 0; }
}

@media (min-width: 1440px) {
  :root {
    --shell-w: 500px;
    --shell-wide: 860px;
  }
  .brand { font-size: 20px; }
  .title { font-size: 14px; letter-spacing: .18em; }
}

@media (max-height: 500px) and (orientation: landscape) {
  #home.screen.active,
  #scanner.screen.active,
  #rev-login.screen.active { align-items: safe center; }
  #reviewer.screen.active,
  #report.screen.active,
  #admin.screen.active,
  #files.screen.active { align-items: flex-start; }
  .screen { padding: max(10px, var(--safe-top)) 16px max(10px, var(--safe-bottom)); }
  .shell { padding: 14px 16px; }
  .ic-round { width: 40px; height: 40px; margin-bottom: 8px; }
  .scan-card { padding: 14px 12px; }
  .scan-card.auto { padding: 6px 10px; }
  .scan-card.auto .ic-round { width: 24px; height: 24px; margin: 0; }
  .card-cta { margin-top: 8px; padding: 8px 12px; align-self: center; }
  .scan-card.auto .card-cta { margin: 0 0 0 auto; padding: 5px 9px; }
  .title { margin-bottom: 10px; }
  .top { margin-bottom: 12px; }
  .list { max-height: 48dvh; }
  .drop { padding: 16px 12px; }
  .drop-ico { width: 40px; height: 40px; margin-bottom: 8px; }
  .judge-sub { display: none; }
  .judge-card { padding: 12px; }
  .judge-actions { grid-template-columns: 1fr 1fr; margin-top: 10px; }
  .judge-btn { min-height: 44px; }
}

@media (min-width: 900px) and (orientation: landscape) {
  .shell.shell-wide { width: min(820px, 88vw); }
}
@media (min-width: 900px) and (max-width: 1179px) and (orientation: landscape) {
  .shell.report-shell { width: min(820px, 88vw); }
}

@media (max-width: 420px) {
  .confirm-card { padding: 24px 16px 16px; }
  .confirm-actions { flex-direction: column-reverse; }
}

@media (max-width: 480px) {
  .auto-home-meta {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 8px 10px;
    font-size: 12px;
    gap: 4px 10px;
  }
  .auto-home-clock {
    font-size: 15px;
    letter-spacing: .02em;
  }
  .scan-card.auto .card-name { font-size: 14px; }
  .scan-card.auto .card-cta {
    width: 100%;
    margin-left: 0;
    min-height: 40px;
    justify-content: center;
  }
  #scanner.is-auto .shell {
    padding: 14px 12px 20px;
    border-radius: 12px;
  }
  #scanner.is-auto .topbar { margin-bottom: 12px; }
  #scanner.is-auto .tab { font-size: 12px; }
  #scanner.is-auto .drop { min-height: 150px; padding: 22px 12px; }
  body.is-auto-player .report-shell {
    padding: 12px 10px 18px;
    border-radius: 12px;
  }
  body.is-auto-player .topbar .tab { font-size: 13px; }
  body.is-auto-player .report-view { font-size: 13px; }
  .err { font-size: 12px; padding: 10px 12px; }
}

@media (max-width: 360px) {
  .auto-home-meta { font-size: 11px; }
  .auto-home-clock { font-size: 14px; }
  .scan-card.auto { padding: 8px; }
}

@media (min-width: 768px) {
  #scanner.is-auto .shell { width: min(560px, 100%); }
  body.is-auto-player .report-shell { width: min(760px, 94vw); }
}

@media (min-width: 1180px) {
  #scanner.is-auto .shell { width: min(600px, 92vw); }
  body.is-auto-player .report-shell { width: min(960px, 94vw); }
}

@media (hover: none) and (pointer: coarse) {
  .back, .card-cta, .item, .scan-card, .drop, .rev-filter-btn, .judge-btn {
    min-height: 44px;
  }
  .judge-btn { min-height: 56px; }
  .judge-btn:hover { transform: none; }
  .rev-filter-btn { height: auto; }
  .queue-bar .back { min-height: 40px; height: 40px; }
  .field { min-height: 48px; }
  .scan-card:hover, .item:hover { transform: none; box-shadow: none; }
  .scan-card:active { transform: scale(.985); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .xfer-fill,
  .xfer-spin,
  .ic-round::before,
  .drop-ico::before,
  .stat .ic::before,
  .dvc-ico::before,
  .dvc-flag::before,
  .hl-count::before,
  .live i::after,
  .report-view .verdict::before,
  .report-view .verdict-card::before,
  .judge-card::before {
    animation: none !important;
  }
}

@media (max-width: 480px) {
  #report.screen.active {
    padding-left: max(8px, var(--safe-left));
    padding-right: max(8px, var(--safe-right));
  }
  #report .report-shell { padding: 12px 10px 16px; }
}
@media (max-width: 360px) {
  #report .report-shell { padding: 10px 8px 14px; }
  .hist-card { padding: 10px 8px; }
  .hist-top { gap: 8px; }
  .evt { column-gap: 8px; padding: 5px 6px; }
}

@container report (max-width: 680px) {
  .row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 12px 10px; gap: 8px; }
  .stat .ic { width: 36px; height: 36px; min-width: 36px; min-height: 36px; flex-basis: 36px; font-size: 16px; }
  .stat .n { font-size: 22px; }
  .stat .l { font-size: 11px; line-height: 1.25; overflow-wrap: break-word; }
  .dvc-h { gap: 10px; padding: 12px; }
  .dvc-name { font-size: 16px; }
  .dvc-ios .n { font-size: 16px; }
}
@container report (max-width: 380px) {
  .stat { padding: 10px 8px; }
  .stat .ic { width: 30px; height: 30px; min-width: 30px; min-height: 30px; flex-basis: 30px; font-size: 14px; }
  .stat .n { font-size: 18px; }
  .stat .l { font-size: 10px; }
  .verdict { padding: 12px; gap: 10px; }
  .verdict-lead { font-size: 14px; }
  .hl-col { padding: 10px; }
  .sec .t { font-size: 15px; }
  .dvc-ios { padding: 4px 8px; }
}
@container report (min-width: 860px) {
  .row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .hl-grid { grid-template-columns: 1fr 1fr; }
  .hl-col:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .06); }
  .dvc-g { grid-template-columns: 1fr 1fr; }
  .dvc-c:nth-child(even) { border-right: 0; }
  .dvc-c:nth-child(odd) { border-right: 1px solid var(--line); }
}
.oferta[hidden] { display: none !important; }
.oferta {
  --oferta-w: 1040px;
  --oferta-h: 760px;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: safe center;
  padding:
    max(10px, env(safe-area-inset-top, 0px))
    max(10px, env(safe-area-inset-right, 0px))
    max(10px, env(safe-area-inset-bottom, 0px))
    max(10px, env(safe-area-inset-left, 0px));
  overflow: auto;
  background: rgba(3, 6, 14, .82);
}
.oferta-slot {
  width: min(var(--oferta-w), calc(100dvw - 28px));
}
@supports (zoom: 1) {
  .oferta-slot {
    width: var(--oferta-w);
    zoom: min((100dvw - 28px) / var(--oferta-w), (100dvh - 28px) / var(--oferta-h), .86);
  }
}
.oferta-panel {
  position: relative;
  width: 100%;
  padding: 28px 22px 14px;
  border-radius: 28px;
  border: 1px solid rgba(90, 200, 255, .35);
  color: #eef3ff;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(70, 110, 220, .2), transparent 46%),
    linear-gradient(180deg, #121a33 0%, #0c1224 100%);
  box-shadow:
    0 0 0 1px rgba(80, 210, 255, .12),
    0 0 48px rgba(40, 150, 255, .22),
    0 30px 80px rgba(0, 0, 0, .55);
  opacity: 0;
  transition: opacity .28s ease;
}
.oferta-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #3cf0ff, #8b5cf6, transparent);
}
.oferta.is-in .oferta-panel { opacity: 1; }
.oferta.is-out { background: transparent; }
.oferta.is-out .oferta-panel { opacity: 0; }
.oferta-x {
  display: grid;
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  color: #d5deee;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}
.oferta-kicker {
  margin: 0 36px 18px;
  text-align: center;
  color: #9aabc8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.oferta-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.oferta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(148, 170, 214, .2);
  background: linear-gradient(180deg, rgba(18, 28, 54, .96), rgba(12, 18, 36, .96));
  transform: scale(1);
  transform-origin: center center;
  transition: transform .55s ease, border-color .55s ease;
}
.oferta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow:
    0 0 0 1px rgba(186, 226, 255, .95),
    0 0 12px 1px rgba(110, 190, 255, .85),
    0 0 26px 2px rgba(80, 150, 255, .4);
  transition: opacity .55s ease;
}
.oferta-card.is-hot {
  z-index: 1;
  transform: scale(1.05);
  border-color: rgba(130, 190, 255, .55);
  background: linear-gradient(180deg, rgba(22, 36, 72, .98), rgba(12, 20, 42, .98));
}
.oferta-grid:hover .oferta-card { transform: scale(.98); }
.oferta-grid:hover .oferta-card.is-hot { transform: scale(1.01); }
.oferta-grid:hover .oferta-card:hover {
  z-index: 3;
  transform: scale(1.04);
  border-color: rgba(170, 220, 255, .9);
}
.oferta-grid:hover .oferta-card.is-hot:hover { transform: scale(1.07); }
.oferta-card:hover::after { opacity: 1; }
.oferta-card h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.oferta-card.is-hot h3 { font-size: 34px; }
.oferta-term {
  margin: 2px 0 12px;
  color: #8ea0bf;
  font-size: 14px;
  font-weight: 600;
}
.oferta-was {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #8b98b0;
  font-size: 15px;
  font-weight: 700;
}
.oferta-was s { text-decoration-thickness: 2px; }
.oferta-off {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(180deg, #ff7a3c, #ff4d1a);
}
.oferta-price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 0;
  line-height: .9;
}
.oferta-price b {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.oferta-card.is-hot .oferta-price b {
  font-size: 78px;
  background: linear-gradient(180deg, #9ec5ff, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.oferta-price > span {
  margin-bottom: 8px;
  color: #d5deee;
  font-size: 28px;
  font-weight: 700;
}
.oferta-card.is-hot .oferta-price > span { color: #7eb0ff; }
.oferta-price em {
  margin: 0 0 10px 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(45, 180, 120, .55);
  color: #3dce8f;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  background: rgba(16, 70, 48, .45);
}
.oferta-day {
  margin: 10px 0 0;
  color: #5eead4;
  font-size: 14px;
  font-weight: 700;
}
.oferta-card ul {
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}
.oferta-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #d5deee;
  font-size: 14px;
  font-weight: 600;
}
.oferta-card li i {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.4 11.3 3.1 8l1.2-1.2 2.1 2.1 5.3-5.3 1.2 1.2z'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.oferta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  min-height: 48px;
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  background: #2a3348;
}
.oferta-btn.is-main {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  box-shadow: 0 10px 24px rgba(59, 130, 246, .35);
}
.oferta-foot {
  margin: 16px 0 4px;
  text-align: center;
  color: #8ea0bf;
  font-size: 14px;
  font-weight: 600;
}
.oferta-tg {
  color: #4ea1ff;
  font-weight: 800;
  text-decoration: none;
}
.oferta-tg:hover { text-decoration: underline; }
.oferta-count {
  margin: 4px 0 2px;
  text-align: center;
  color: #7f8da8;
  font-size: 12px;
  font-weight: 600;
}
.oferta-count[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .oferta-panel { transition: none; }
}
