/* ==========================================================================
   VICE LAYER — qbcore_vi_farm
   GTA VI night plates, cream titles, pill controls, GTA Art Deco type.
   Loaded after the compiled bundle; most of the app uses inline styles,
   so overrides use !important and match on the theme colours it emits.
   ========================================================================== */
html, body, #root { font-family: var(--v-font); letter-spacing: var(--v-track); }
#root * { -webkit-font-smoothing: antialiased; }

/* ---------- main shell: night plate + sunset strip ------------------------ */
.w-\[1224px\].h-\[780px\] {
  position: relative;
  border: 0 !important;
  border-radius: var(--v-r-feature) !important;
  background: var(--v-glow-top), var(--v-grad-night) !important;
  box-shadow: var(--v-shadow) !important;
  overflow: hidden;
  animation: v-rise .45s var(--v-ease) both;
}
.w-\[1224px\].h-\[780px\]::before {
  content: ""; position: absolute; left: 40px; top: 0; width: 64px; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--v-sunset-line); z-index: 2;
}
/* decorative light beam + noisy glow layers from the original */
.w-\[1224px\].h-\[780px\] > div[style*="rotate(88deg)"] { display: none !important; }

/* ---------- header -------------------------------------------------------- */
.h-\[73px\] .text-\[30px\] {
  color: var(--v-cream) !important;
  font-size: 40px !important; line-height: .92 !important; font-weight: 500 !important;
  text-transform: uppercase; letter-spacing: 0 !important;
}
.h-\[73px\] .text-\[14px\].font-\[400\] { font-size: 14px !important; line-height: 1.45 !important; margin-top: 4px; }
.h-\[73px\] .text-\[14px\].font-\[400\] span { color: var(--v-lilac) !important; opacity: .82; }
.h-\[73px\] .text-\[14px\].font-\[400\] span:nth-child(2) { color: var(--v-pink) !important; opacity: 1; }
.h-\[73px\] > .absolute.h-\[1px\] { background: var(--v-line) !important; }

/* close: ghost pill + round pink icon */
.h-\[73px\] .w-\[68px\].h-\[30px\] {
  width: auto !important; height: 34px !important; padding: 0 16px;
  border-radius: var(--v-r-pill) !important;
  background: transparent !important; border: 0 !important;
  box-shadow: inset 0 0 0 1px var(--v-ghost) !important;
  color: var(--v-lilac) !important;
  transition: background var(--v-med) var(--v-ease);
}
.h-\[73px\] .w-\[68px\].h-\[30px\]:hover { background: var(--v-s2) !important; }
.h-\[73px\] .w-\[68px\].h-\[30px\] * { color: inherit !important; font-family: var(--v-font) !important; }
.h-\[73px\] .w-\[30px\].h-\[30px\] {
  width: 34px !important; height: 34px !important; border-radius: 50% !important;
  background: var(--v-cta) !important; border: 0 !important; box-shadow: none !important;
}
.h-\[73px\] .w-\[30px\].h-\[30px\] svg * { stroke: var(--v-cta-ink) !important; }

/* ---------- section titles (Arame cut) ------------------------------------ */
div[style*="Arame"].text-\[14px\] {
  color: var(--v-peach) !important;
  font-size: 11px !important; letter-spacing: var(--v-track-wide) !important;
  text-transform: uppercase; font-weight: 500 !important;
}
.vice-sub {
  display: block; margin-top: 7px;
  font: 400 12.5px/1.35 var(--v-font); letter-spacing: var(--v-track);
  text-transform: none; color: var(--v-lilac-soft); opacity: .85;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  animation: v-fade .4s var(--v-ease) both;
}

/* ---------- sidebar: rail with cream active pill ------------------------- */
.w-\[245px\].h-full { padding: 18px 14px 0; border-radius: var(--v-r-md); background: var(--v-s1); }
.w-\[245px\].h-full > div[style*="Arame"] { padding-left: 6px; }
.w-\[245px\].h-\[34px\], .sidebar-icon {
  width: 100% !important; height: 38px !important;
  border-radius: var(--v-r-pill) !important;
}
.sidebar-icon { background: transparent !important; border: 0 !important; box-shadow: none !important; padding-left: 16px !important; transition: background var(--v-med) var(--v-ease); }
.w-\[245px\].h-\[34px\]:hover .sidebar-icon { background: var(--v-s2) !important; }
.sidebar-icon .text-\[14px\] { font-size: 13.5px !important; letter-spacing: var(--v-track) !important; color: var(--v-lilac) !important; }
.w-\[245px\].h-\[34px\] .sidebar-icon.icon-selected, .sidebar-icon.icon-selected { background: var(--v-cream) !important; }
.w-\[245px\].h-\[34px\] .sidebar-icon.icon-selected *, .sidebar-icon.icon-selected * { color: var(--v-chip-ink) !important; opacity: 1 !important; }
.sidebar-icon.icon-selected svg * { fill: var(--v-chip-ink) !important; }
.w-\[245px\] .gap-2.flex.flex-col { gap: 4px !important; }
/* profile card */
.w-\[245px\].h-\[68px\] {
  width: 100% !important; border-radius: var(--v-r-media) !important; border: 0 !important;
  background: rgba(12, 13, 27, .55) !important; box-shadow: none !important; margin-bottom: 14px;
}
.w-\[245px\].h-\[68px\] .text-\[13px\] { color: var(--v-peach) !important; font-size: 10px !important; letter-spacing: var(--v-track-wide) !important; text-transform: uppercase; }
.w-\[245px\].h-\[68px\] .truncate { color: var(--v-cream) !important; text-transform: uppercase; }

/* ---------- generic surfaces --------------------------------------------- */
.rounded-md { border-radius: var(--v-r-media) !important; }
.text-\[\#DDDDDD\] { color: var(--v-lilac) !important; }
.text-\[\#FFFFFF\] { color: #fff; }
/* stat tiles */
.w-\[276px\].h-\[88px\] {
  background: var(--v-s1) !important; border: 0 !important; box-shadow: none !important;
}
.w-\[276px\].h-\[88px\] .text-\[26px\] { color: var(--v-cream) !important; font-weight: 500 !important; letter-spacing: -0.01em; }
.w-\[276px\].h-\[88px\] .text-\[14px\] { color: var(--v-lilac-soft) !important; font-size: 12.5px !important; }
/* list rows */
.w-\[859px\].h-\[88px\] { background: var(--v-s1) !important; box-shadow: none !important; }
.w-\[859px\].h-\[88px\] > .absolute.inset-0 { display: none; }
.w-\[859px\].h-\[88px\] img { border-radius: var(--v-r-media) !important; background: var(--v-grad-v1); }
/* icon squares -> round ghost buttons */
.w-\[34px\].h-\[34px\].cursor-pointer { border-radius: 50% !important; background: transparent !important; box-shadow: inset 0 0 0 1px var(--v-ghost) !important; }
.w-\[34px\].h-\[34px\].cursor-pointer > .absolute { display: none; }

/* ---------- buttons: theme primary fill => CTA pill ----------------------- */
[style*="background: rgb(255, 178, 198)"].cursor-pointer,
[style*="background: rgb(255, 178, 198)"][class*="h-[34px]"],
[style*="background: linear-gradient(135deg, rgb(255, 178, 198)"] {
  background: var(--v-cta) !important;
  border: 0 !important;
  border-radius: var(--v-r-pill) !important;
  box-shadow: var(--v-glow-cta-sm) !important;
  transition: box-shadow var(--v-med) var(--v-ease), background var(--v-med) var(--v-ease);
}
[style*="background: rgb(255, 178, 198)"].cursor-pointer:hover,
[style*="background: linear-gradient(135deg, rgb(255, 178, 198)"]:hover { background: #ffe1ea !important; box-shadow: var(--v-glow-cta) !important; }
[style*="background: rgb(255, 178, 198)"].cursor-pointer *,
[style*="background: linear-gradient(135deg, rgb(255, 178, 198)"] > span { color: var(--v-cta-ink) !important; font-family: var(--v-font) !important; }
[style*="background: rgb(255, 178, 198)"].cursor-pointer svg *,
[style*="background: linear-gradient(135deg, rgb(255, 178, 198)"] svg * { fill: var(--v-cta-ink) !important; }
[style*="background: linear-gradient(135deg, rgb(255, 178, 198)"] > span { letter-spacing: .08em !important; font-size: 11px !important; }
[style*="background: linear-gradient(135deg, rgb(255, 178, 198)"] > div { background: rgba(96, 58, 85, .14) !important; border-radius: var(--v-r-pill) !important; color: var(--v-cta-ink) !important; }

/* inputs */
input { font-family: var(--v-font) !important; }
input::placeholder { color: var(--v-faint) !important; }

/* scrollbars */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: rgba(229, 221, 255, .16); border-radius: var(--v-r-pill); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- session lobby + dialogs ------------------------------------- */
.w-\[317px\].h-\[65px\] .text-\[30px\] { color: var(--v-cream) !important; text-transform: uppercase; letter-spacing: 0 !important; }
.w-\[317px\].h-\[65px\] .text-\[16px\] { color: var(--v-pink) !important; font-size: 12px !important; letter-spacing: var(--v-track-wide) !important; }
[style*="linear-gradient(152.92deg, rgb(255, 178, 198)"],
[style*="linear-gradient(152.92deg, rgba(255, 178, 198, 0.3)"] {
  background: var(--v-cta) !important; border-radius: var(--v-r-pill) !important;
  box-shadow: var(--v-glow-cta-sm) !important;
}
[style*="linear-gradient(152.92deg, rgba(255, 178, 198, 0.3)"] { opacity: .45; box-shadow: none !important; }
[style*="linear-gradient(152.92deg, rgb(255, 178, 198)"]:hover { background: #ffe1ea !important; box-shadow: var(--v-glow-cta) !important; }
.text-\[\#1C1C1C\] { color: var(--v-cta-ink) !important; font-weight: 500 !important; }
.text-\[\#DDDDDD99\] { color: var(--v-lilac-soft) !important; }
.w-\[68px\].h-\[30px\] {
  border-radius: var(--v-r-pill) !important; background: transparent !important;
  box-shadow: inset 0 0 0 1px var(--v-ghost) !important; color: var(--v-lilac) !important;
}
.w-\[30px\].h-\[30px\].bg-\[\#F22933\] { background: var(--v-cta) !important; border-radius: 50% !important; border: 0 !important; box-shadow: none !important; }
.w-\[30px\].h-\[30px\].bg-\[\#F22933\] svg * { stroke: var(--v-cta-ink) !important; }

/* ---------- resolution scale --------------------------------------------
   The app is laid out in fixed 1080p pixels. The whole UI is scaled as one
   piece so every resolution keeps 1080p proportions:
   720p/768p ×0.72 · 1080p (incl. 2560×1080 ultrawide) ×1 · 1440p ×1.333 · 4K ×2.
   Screen-height boxes use 100% instead of 100vh so they are not scaled twice. */
html, body, #root { height: 100%; }
#root .h-screen { height: 100% !important; }
#root .w-screen { width: 100% !important; }
@media (max-width: 1500px), (max-height: 860px) { #root { zoom: 0.72; } }
@media (min-width: 1501px) and (min-height: 861px) and (max-height: 1000px) { #root { zoom: 0.86; } }
@media (min-width: 2300px) and (min-height: 1300px) { #root { zoom: 1.3333; } }
@media (min-width: 3400px) and (min-height: 1900px) { #root { zoom: 2; } }

/* rail height: keep the inner column inside the plate (no row scroll) */
.w-\[245px\].h-full { overflow: hidden; }
.w-\[245px\].h-full > .flex.flex-col.justify-between.h-full { height: calc(100% - 44px) !important; padding-bottom: 0 !important; margin-top: 16px !important; }
.w-\[245px\].h-\[68px\] { padding: 10px 12px !important; }
.w-\[245px\].h-full { flex-shrink: 0; }
.w-\[245px\].h-full ~ .w-full.h-full { min-width: 0; }

/* perf: no backdrop blur on transparent NUI pages */
[class*="backdrop-blur"] { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* small labels: taller line box so glyph tops are never clipped by overflow:hidden rows */
div[style*="Arame"].text-\[14px\] { line-height: 1.35 !important; }
