/* Darktok — painel privado. Design system próprio (inspiração visual Hype/Tokfy, sem runtime externo). */

:root {
  --bg: #07080a;
  --bg-2: #0a0c0f;
  --surface: #0f1115;
  --surface-2: #14171c;
  --surface-3: #1a1e25;
  --line: rgba(255, 255, 255, 0.065);
  --line-2: rgba(255, 255, 255, 0.11);
  --line-3: rgba(255, 255, 255, 0.18);
  --text: #eef1f5;
  --text-2: #c2c8d2;
  --muted: #8a93a2;
  --faint: #5b6371;
  --cyan: #21d8ff;
  --magenta: #ff2edb;
  --green: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --violet: #a78bfa;
  --cyan-soft: rgba(33, 216, 255, 0.12);
  --green-soft: rgba(52, 211, 153, 0.12);
  --amber-soft: rgba(251, 191, 36, 0.12);
  --rose-soft: rgba(251, 113, 133, 0.12);
  --violet-soft: rgba(167, 139, 250, 0.13);
  --gray-soft: rgba(255, 255, 255, 0.06);
  --grad: linear-gradient(135deg, #21d8ff 0%, #8b5cf6 55%, #ff2edb 100%);
  --radius: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --topbar-h: 60px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

/* Estado oculto: atributo e classe. Corrige o bloqueador em que .hidden não existia. */
[hidden],
.hidden {
  display: none !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(139, 92, 246, 0.07), transparent 60%),
    radial-gradient(900px 500px at -10% -20%, rgba(33, 216, 255, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: rgba(33, 216, 255, 0.28);
}

.i {
  flex: none;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.muted {
  color: var(--muted);
}

.strong {
  color: var(--text);
  font-weight: 600;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grow {
  flex: 1 1 auto;
}

/* ---------- Boot ---------- */
.boot {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  z-index: 50;
}

.boot .brand-mark {
  width: 40px;
  height: 40px;
  animation: pulse 1.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}

/* ---------- Marca ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 15px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--grad);
  position: relative;
  flex: none;
  box-shadow: 0 6px 22px rgba(139, 92, 246, 0.35);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px 8px 7px 9px;
  border-radius: 3px 8px 8px 3px;
  background: #07080a;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 560;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.12s var(--ease);
}

.btn:hover:not(:disabled) {
  background: var(--surface-3);
  border-color: var(--line-3);
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn.sm {
  height: 32px;
  padding: 0 11px;
  font-size: 12.5px;
}

.btn.primary {
  background: var(--text);
  color: #0a0b0d;
  border-color: transparent;
}

.btn.primary:hover:not(:disabled) {
  background: #ffffff;
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
}

.btn.ghost:hover:not(:disabled) {
  background: var(--surface-2);
}

.btn.danger {
  background: var(--rose-soft);
  color: #fecdd3;
  border-color: rgba(251, 113, 133, 0.3);
}

.btn.danger:hover:not(:disabled) {
  background: rgba(251, 113, 133, 0.2);
}

.btn.block {
  width: 100%;
  height: 42px;
}

.btn.is-busy {
  position: relative;
  color: transparent !important;
}

.btn.is-busy::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-color: rgba(127, 127, 127, 0.5) rgba(127, 127, 127, 0.5) rgba(127, 127, 127, 0.5) transparent;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
  flex: none;
}

.icon-btn:hover:not(:disabled) {
  background: var(--gray-soft);
  color: var(--text);
}

.icon-btn.xs {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.icon-btn.is-on {
  color: var(--cyan);
}

.link-btn {
  color: var(--cyan);
  font-weight: 560;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Campos ---------- */
.field {
  display: grid;
  gap: 6px;
}

.field > span,
.field-label {
  font-size: 12px;
  font-weight: 560;
  color: var(--muted);
}

.input,
.select,
.textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--text);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.textarea {
  height: auto;
  min-height: 84px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.5;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--faint);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: rgba(33, 216, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(33, 216, 255, 0.12);
}

.select,
.fselect {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a93a2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.select option,
.fselect option {
  background: #14171c;
  color: var(--text);
}

.fselect {
  height: 34px;
  padding: 0 28px 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background-color: transparent;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 540;
  max-width: 200px;
  cursor: pointer;
}

.fselect:hover {
  border-color: var(--line-3);
}

.fselect.is-active {
  color: var(--text);
  border-color: rgba(33, 216, 255, 0.45);
  background-color: var(--cyan-soft);
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group .input {
  padding-right: 42px;
}

.input-group .icon-btn {
  position: absolute;
  right: 4px;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-error {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--rose-soft);
  border: 1px solid rgba(251, 113, 133, 0.25);
  color: #fecdd3;
  font-size: 13px;
}

/* Busca */
.search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.search .i {
  position: absolute;
  left: 12px;
  color: var(--muted);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 36px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.search input::placeholder {
  color: var(--faint);
}

.search input:focus {
  outline: none;
  border-color: rgba(33, 216, 255, 0.5);
  background: var(--bg-2);
}

.search input::-webkit-search-cancel-button {
  filter: grayscale(1) brightness(1.6);
}

/* Segmentado */
.seg {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  flex: none;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.seg::-webkit-scrollbar {
  display: none;
}

.seg button {
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 560;
  font-size: 13px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}

.seg button:hover {
  color: var(--text);
}

.seg button[aria-pressed="true"],
.seg button[aria-selected="true"],
.seg button[aria-checked="true"] {
  background: var(--surface-3);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.seg.sm button {
  height: 26px;
  padding: 0 11px;
  font-size: 12.5px;
}

.seg .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.seg button[aria-pressed="true"] .n {
  color: var(--muted);
}

.chip-toggle {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 540;
  white-space: nowrap;
}

.chip-toggle:hover {
  border-color: var(--line-3);
}

.chip-toggle[aria-pressed="true"] {
  color: var(--text);
  border-color: rgba(33, 216, 255, 0.45);
  background: var(--cyan-soft);
}

/* Badges / pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--gray-soft);
  color: var(--text-2);
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}

.pill.no-dot::before {
  display: none;
}

.pill.gray { color: #c2c8d2; background: var(--gray-soft); }
.pill.cyan { color: #7ee8ff; background: var(--cyan-soft); }
.pill.green { color: #6ee7b7; background: var(--green-soft); }
.pill.amber { color: #fcd34d; background: var(--amber-soft); }
.pill.rose { color: #fda4af; background: var(--rose-soft); }
.pill.violet { color: #c4b5fd; background: var(--violet-soft); }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}

.dot.green { background: var(--green); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15); }
.dot.amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.14); }
.dot.rose { background: var(--rose); box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.14); }
.dot.cyan { background: var(--cyan); box-shadow: 0 0 0 3px rgba(33, 216, 255, 0.14); }

/* ---------- Auth ---------- */
.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.auth-card {
  width: min(380px, 100%);
  padding: 32px 28px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 23, 28, 0.92), rgba(15, 17, 21, 0.92));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  display: grid;
  gap: 22px;
}

.auth-card .brand {
  justify-content: center;
  font-size: 17px;
}

.auth-card .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.auth-card .brand-mark::after {
  inset: 9px 10px 9px 11px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-step-title {
  text-align: center;
  font-size: 15px;
  font-weight: 650;
  margin: 0;
}

.auth-sub {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: -6px 0 0;
}

.otp-input {
  height: 52px;
  text-align: center;
  font-family: var(--mono);
  font-size: 24px;
  letter-spacing: 0.32em;
  padding-left: calc(12px + 0.32em);
}

.auth-alt {
  display: flex;
  justify-content: center;
}

.enroll-qr {
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: #ffffff;
  width: 196px;
  height: 196px;
  margin: 0 auto;
}

.enroll-qr img {
  width: 168px;
  height: 168px;
  image-rendering: pixelated;
}

.secret-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px dashed var(--line-3);
}

.secret-box code {
  flex: 1;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  word-break: break-all;
}

.recovery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 13px;
}

/* ---------- Shell ---------- */
.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  background: rgba(7, 8, 10, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.topbar .brand {
  flex: 1 1 0;
  min-width: 0;
}

.mainnav {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.mainnav a {
  height: 32px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}

.mainnav a:hover {
  color: var(--text);
}

.mainnav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.topbar-actions {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.btn-codex {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-weight: 600;
  font-size: 13px;
  position: relative;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.btn-codex::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.18s var(--ease);
}

.btn-codex:hover::before {
  opacity: 1;
}

.btn-codex:hover {
  background: var(--surface-2);
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-2);
}

.avatar:hover {
  border-color: var(--line-3);
  color: var(--text);
}

.usermenu {
  position: relative;
}

/* Menu flutuante */
.menu {
  position: absolute;
  z-index: 40;
  min-width: 200px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(20, 23, 28, 0.98);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1px;
}

.usermenu .menu {
  top: calc(100% + 8px);
  right: 0;
}

.menu-head {
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  display: grid;
  gap: 2px;
}

.menu-head strong {
  font-size: 13px;
}

.menu-head span {
  font-size: 12px;
  color: var(--muted);
}

.menu button,
.menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 13px;
  text-align: left;
}

.menu button:hover:not(:disabled),
.menu a:hover {
  background: var(--gray-soft);
  color: var(--text);
}

.menu button.danger {
  color: #fda4af;
}

.menu hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}

.floating-menu {
  position: fixed;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 22px 24px 96px;
  min-width: 0;
}

.view {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

/* Itens de grid não podem alargar a trilha pelo conteúdo (corrige scrollWidth > viewport no mobile). */
.view > *,
.gpanel > *,
.dlg-body > * {
  min-width: 0;
  max-width: 100%;
}

/* ---------- Mural ---------- */
.mural-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.mural-head .search {
  flex: 1 1 220px;
  max-width: 340px;
}

.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.mural-head .btn-niches {
  margin-left: auto;
}

.status-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-height: 24px;
  font-size: 12.5px;
  color: var(--text-2);
}

.status-line .sep {
  color: var(--faint);
}

.status-line .count {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.vgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 16px;
}

.vcard {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.vcard:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.vcard.is-selected {
  border-color: rgba(33, 216, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(33, 216, 255, 0.35), var(--shadow-sm);
}

.vmedia {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #0b0d10;
  overflow: hidden;
}

.vmedia iframe,
.vmedia video,
.vmedia img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.vmedia-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 70% at 50% 0%, hsla(var(--h, 200), 70%, 55%, 0.16), transparent 70%),
    linear-gradient(180deg, #0e1014, #0a0b0e);
}

.vmedia-initial {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: hsla(var(--h, 200), 60%, 75%, 0.18);
  text-transform: uppercase;
  user-select: none;
}

.vplay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.vplay:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(255, 255, 255, 0.18);
}

.vplay svg {
  margin-left: 3px;
}

.vmedia-note {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 38px);
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  pointer-events: none;
}

.vover {
  position: absolute;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.vover.top {
  top: 10px;
}

.vover.bottom {
  bottom: 10px;
}

.vchip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 650;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.vchip.rank {
  font-family: var(--mono);
}

.vchip.long {
  color: var(--muted);
}

.vchip.views {
  font-size: 12.5px;
  height: 26px;
  padding: 0 10px;
}

.vmedia.is-playing .vover.bottom {
  display: none;
}

.vbody {
  display: grid;
  gap: 8px;
  padding: 12px 12px 10px;
  min-width: 0;
}

.vauthor {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-weight: 650;
  font-size: 13px;
}

.vauthor span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.vcap {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.vcap.empty {
  color: var(--faint);
}

.vtags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 0;
}

.vtags:empty {
  display: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: var(--gray-soft);
  color: var(--text-2);
  white-space: nowrap;
}

.tag.ai {
  background: var(--violet-soft);
  color: #c4b5fd;
}

.tag.raw {
  background: transparent;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.tag.hash {
  color: var(--muted);
  font-weight: 540;
}

.vmeta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.vmeta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vmeta .date {
  margin-left: auto;
}

.vactions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px -4px 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.vactions .icon-btn {
  width: 34px;
  height: 32px;
}

/* Skeleton */
.skel {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.skel::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  animation: shimmer 1.3s infinite;
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

.skel-line {
  height: 10px;
  border-radius: 6px;
  background: var(--surface-3);
}

.vcard.skeleton .vmedia {
  background: var(--surface-2);
}

/* Estados */
.state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 64px 16px;
  text-align: center;
  color: var(--muted);
}

.state .i {
  color: var(--faint);
}

.state strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 620;
}

.state p {
  margin: 0;
  font-size: 13px;
  max-width: 360px;
}

.more-row {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

/* Barra de seleção */
.selbar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: rgba(20, 23, 28, 0.96);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  max-width: calc(100vw - 24px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.selbar strong {
  font-size: 13px;
  white-space: nowrap;
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}

.selbar .btn {
  border-radius: 999px;
}

/* ---------- Dialogs ---------- */
dialog {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  max-width: none;
  max-height: none;
}

dialog::backdrop {
  background: rgba(3, 4, 6, 0.66);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

dialog.modal[open] {
  display: flex;
  flex-direction: column;
  width: min(520px, calc(100vw - 24px));
  max-height: min(88vh, 860px);
  margin: auto;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  animation: pop 0.2s var(--ease);
}

dialog.modal.sm[open] {
  width: min(420px, calc(100vw - 24px));
}

dialog.drawer[open] {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(480px, 100vw);
  height: 100%;
  max-height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  animation: slide 0.24s var(--ease);
}

dialog.drawer.wide[open] {
  width: min(720px, 100vw);
}

@keyframes pop {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@keyframes slide {
  from { transform: translateX(24px); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}

.dlg-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 14px 20px;
  border-bottom: 1px solid var(--line);
  flex: none;
}

.dlg-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.005em;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dlg-body {
  padding: 18px 20px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-content: start;
  flex: 1 1 auto;
  min-height: 0;
}

.dlg-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  flex: none;
}

.dlg-foot .grow {
  flex: 1;
}

.dlg-tabs {
  display: flex;
  padding: 0 20px;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  flex: none;
}

.dlg-tabs button {
  height: 42px;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.dlg-tabs button[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* Codex */
.codex-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.step {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--surface-3);
  color: var(--text-2);
  flex: none;
}

.step-head strong {
  font-size: 13.5px;
  font-weight: 620;
  flex: 1;
}

.step-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.copy-area {
  width: 100%;
  min-height: 110px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-2);
  background: #08090b;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-2);
  resize: vertical;
}

.token-row {
  display: flex;
  gap: 8px;
}

.token-row .input {
  font-family: var(--mono);
  font-size: 12.5px;
}

.hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* Detalhe de vídeo */
.vd-media {
  position: relative;
  width: min(100%, 300px);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  max-height: 56vh;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b0d10;
  border: 1px solid var(--line);
}

.vd-media iframe,
.vd-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
}

.stat {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  gap: 2px;
}

.stat span {
  font-size: 11px;
  color: var(--muted);
}

.stat strong {
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.kv {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px 14px;
  margin: 0;
  font-size: 13px;
}

.kv dt {
  color: var(--muted);
}

.kv dd {
  margin: 0;
  color: var(--text-2);
  min-width: 0;
  overflow-wrap: anywhere;
}

.kv dd small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.caption-full {
  margin: 0;
  font-size: 13.5px;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.transcript-text {
  margin: 0;
  padding: 14px;
  max-height: 50vh;
  overflow: auto;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--line);
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.6;
}

/* Nichos */
.cov-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-2);
}

.cov-group {
  display: grid;
  gap: 4px;
}

.cov-niche {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 4px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cov-row {
  display: grid;
  grid-template-columns: 1fr auto 44px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 13px;
  transition: background 0.15s var(--ease);
}

.cov-row:hover {
  background: var(--gray-soft);
}

.cov-row .tagname {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cov-row .mono {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
}

.idea {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.idea-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
}

.idea-head > div {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
}

.idea-head strong {
  font-size: 13.5px;
  font-weight: 620;
}

.idea-head small {
  color: var(--muted);
  font-size: 12px;
}

.idea-body {
  padding: 0 14px 14px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
}

.idea-body p {
  margin: 0;
  white-space: pre-wrap;
}

/* ---------- Gestão ---------- */
.gtabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.gtabs::-webkit-scrollbar {
  display: none;
}

.gtabs button {
  height: 40px;
  padding: 0 12px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.16s var(--ease);
}

.gtabs button:hover {
  color: var(--text);
}

.gtabs button[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--text);
}

.gtabs .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.gpanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.gbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.gbar .seg {
  flex: 0 1 auto;
  min-width: 0;
}

.gbar .search {
  flex: 1 1 200px;
  max-width: 280px;
}

.gbar .meta {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
  white-space: nowrap;
}

.sheet {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: auto;
  max-height: calc(100vh - 230px);
  min-height: 180px;
  overscroll-behavior: contain;
}

.tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.tbl th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface);
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding: 0 12px;
  height: 38px;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}

.tbl th.num,
.tbl td.num {
  text-align: right;
}

.tbl th .sort {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.tbl th .sort:hover,
.tbl th .sort.is-active {
  color: var(--text);
}

.tbl td {
  padding: 0 12px;
  height: 46px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  color: var(--text-2);
  vertical-align: middle;
}

.tbl tbody tr {
  transition: background 0.12s var(--ease);
}

.tbl tbody tr:hover {
  background: rgba(255, 255, 255, 0.022);
}

.tbl tbody tr:last-child td {
  border-bottom: 0;
}

.tbl td.strong,
.tbl .handle {
  color: var(--text);
  font-weight: 600;
}

.tbl .handle:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tbl td.actions {
  width: 1%;
  text-align: right;
  padding-right: 8px;
}

.tbl .empty-cell {
  color: var(--faint);
}

.cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 260px;
  min-width: 0;
}

.cell > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.cell .icon-btn {
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}

tr:hover .cell .icon-btn,
.cell .icon-btn:focus-visible,
.cell .icon-btn.always {
  opacity: 1;
}

.mask {
  font-family: var(--mono);
  letter-spacing: 0.12em;
  color: var(--muted);
}

.slot {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-2);
}

.slot b {
  color: var(--text);
  font-weight: 650;
}

.slot i {
  font-style: normal;
  color: var(--muted);
}

.fol {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: flex-end;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-weight: 600;
}

.fol .check {
  color: var(--green);
}

.fol .warn {
  color: var(--amber);
}

.tagcell {
  display: inline-flex;
  gap: 4px;
  max-width: 220px;
  overflow: hidden;
}

.delta-up { color: var(--green); }
.delta-down { color: var(--rose); }

/* Select de status como badge */
.status-select {
  appearance: none;
  -webkit-appearance: none;
  height: 24px;
  padding: 0 22px 0 10px;
  border-radius: 999px;
  border: 0;
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: right 7px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23c2c8d2' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.status-select option {
  background: #14171c;
  color: var(--text);
}

.st-criar { background-color: var(--gray-soft); color: #c2c8d2; }
.st-aquecendo { background-color: var(--amber-soft); color: #fcd34d; }
.st-postando { background-color: var(--cyan-soft); color: #7ee8ff; }
.st-monetizada { background-color: var(--green-soft); color: #6ee7b7; }
.st-pronta { background-color: var(--cyan-soft); color: #7ee8ff; }
.st-entregue { background-color: var(--green-soft); color: #6ee7b7; }
.st-atencao { background-color: var(--rose-soft); color: #fda4af; }

.rate {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  justify-content: flex-end;
}

.rate strong {
  color: var(--text);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.rate small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
}

.rate-bar {
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--surface-3);
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}

.rate-bar i {
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: inherit;
}

.rank-n {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 12px;
}

.worker-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
}

/* Status picker em formulário */
.status-pick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.status-pick.three {
  grid-template-columns: repeat(3, 1fr);
}

.status-pick button {
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.status-pick button[aria-checked="true"] {
  color: var(--text);
  border-color: transparent;
}

.status-pick button[aria-checked="true"].st-criar { box-shadow: inset 0 0 0 1px rgba(194, 200, 210, 0.35); }
.status-pick button[aria-checked="true"].st-aquecendo { box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.4); }
.status-pick button[aria-checked="true"].st-postando { box-shadow: inset 0 0 0 1px rgba(33, 216, 255, 0.4); }
.status-pick button[aria-checked="true"].st-monetizada { box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.4); }
.status-pick button[aria-checked="true"].st-pronta { box-shadow: inset 0 0 0 1px rgba(33, 216, 255, 0.4); }
.status-pick button[aria-checked="true"].st-entregue { box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.4); }
.status-pick button[aria-checked="true"].st-atencao { box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.4); }

.status-pick button:not([aria-checked="true"]) {
  background: transparent;
}

details.more {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

details.more summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

details.more summary::-webkit-details-marker {
  display: none;
}

details.more[open] summary {
  margin-bottom: 12px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.check-line input {
  accent-color: var(--cyan);
  width: 16px;
  height: 16px;
}

/* Revelação privada */
.secret-reveal {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 6px 0;
}

.secret-value {
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  word-break: break-all;
  width: 100%;
  user-select: all;
}

.otp-big {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.ring {
  width: 44px;
  height: 44px;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 3;
}

.ring .bg {
  stroke: var(--surface-3);
}

.ring .fg {
  stroke: var(--cyan);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.95s linear;
}

.link-list {
  display: grid;
  gap: 6px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 12.5px;
}

.link-item > div {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.link-item small {
  color: var(--muted);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  top: 74px;
  transform: translateX(-50%);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 24px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(20, 23, 28, 0.98);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 560;
  animation: pop 0.2s var(--ease);
}

.toast.err {
  border-color: rgba(251, 113, 133, 0.4);
  color: #fecdd3;
}

.toast .i {
  color: var(--green);
}

.toast.err .i {
  color: var(--rose);
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .topbar {
    padding: 0 14px;
    gap: 10px;
  }

  .topbar .brand-name {
    display: none;
  }

  .topbar .brand {
    flex: 0 0 auto;
  }

  .mainnav {
    margin-right: auto;
  }

  main {
    padding: 16px 14px 96px;
  }

  .sheet {
    max-height: calc(100vh - 210px);
  }
}

@media (max-width: 640px) {
  .btn-codex .label {
    display: none;
  }

  .btn-codex {
    padding: 0 11px;
  }

  .mainnav a {
    padding: 0 14px;
  }

  .mural-head .seg {
    order: 0;
    width: 100%;
  }

  .mural-head .seg button {
    flex: 1;
    justify-content: center;
  }

  .mural-head .search {
    order: 1;
    flex: 1 1 auto;
    max-width: none;
  }

  .mural-head .btn-niches {
    order: 2;
    margin-left: 0;
  }

  .filters {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filters .fselect {
    flex: none;
    max-width: 160px;
  }

  .vgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .vbody {
    padding: 10px 10px 8px;
    gap: 6px;
  }

  .vactions .icon-btn {
    width: 28px;
    height: 30px;
  }

  .vmeta {
    gap: 8px;
    font-size: 11.5px;
  }

  .vmeta .cm {
    display: none;
  }

  .vchip.views {
    font-size: 11.5px;
  }

  .gbar .search {
    max-width: none;
    flex-basis: 100%;
  }

  .gbar .seg {
    flex: 1 1 100%;
  }

  .row-2 {
    grid-template-columns: 1fr;
  }

  .kv {
    grid-template-columns: 96px 1fr;
  }

  .selbar {
    bottom: 12px;
    padding-left: 12px;
  }

  .selbar .btn .label {
    display: none;
  }

  dialog.modal[open] {
    margin: auto auto 0;
    width: 100vw;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }

  .status-pick {
    grid-template-columns: repeat(2, 1fr);
  }

  .status-pick.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
