/* Vice Docket — GTA VI design-system layer over the compiled Mantine UI.
   GTA Art Deco 400/500 only; night plates + sunset radial; cream titles;
   pink accent; the CTA pill is the only bloom. */
@font-face { font-family: "GTAArtDeco"; src: url("fonts/GTAArtDeco-Regular.ttf") format("truetype"); font-weight: 100 450; font-display: block; }
@font-face { font-family: "GTAArtDeco"; src: url("fonts/GTAArtDeco-Medium.ttf") format("truetype"); font-weight: 451 950; font-display: block; }

:root:root, :root:root[data-mantine-color-scheme] {
  --v-font: "GTAArtDeco", Arial, sans-serif;
  --v-cream: #fff9cb; --v-pink: #ffb2c6; --v-lilac: #e5ddff; --v-lilac-soft: #ccc2f5;
  --v-peach: #ffd4a8; --v-cta: #fed1df; --v-cta-ink: #603a55; --v-ink: #0f0c1a;
  --v-night: linear-gradient(189deg, #1f1f38 0.55%, #18182d 30.38%, #111222 65.19%, #0c0d1b 100%);
  --v-glow-top: radial-gradient(70% 220px at 50% 0%, rgba(255, 223, 128, 0.10), rgba(244, 113, 124, 0.06) 50%, transparent 100%);
  --v-sunset-line: linear-gradient(90deg, #ffdf80 0%, #f4717c 50%, #e963c7 100%);

  --mantine-font-family: var(--v-font);
  --mantine-font-family-headings: var(--v-font);
  --mantine-font-family-monospace: var(--v-font);
  --mantine-radius-xs: 4px; --mantine-radius-sm: 12px; --mantine-radius-md: 12px; --mantine-radius-lg: 24px; --mantine-radius-xl: 24px;
  --mantine-radius-default: 12px;

  /* night ramp */
  --mantine-color-dark-0: #e5ddff; --mantine-color-dark-1: #ccc2f5; --mantine-color-dark-2: #8f88b8; --mantine-color-dark-3: #5a5589;
  --mantine-color-dark-4: #38365d; --mantine-color-dark-5: #2f2e52; --mantine-color-dark-6: #252644; --mantine-color-dark-7: #1f1f38;
  --mantine-color-dark-8: #18182d; --mantine-color-dark-9: #0c0d1b;
  --mantine-color-body: #0c0d1b; --mantine-color-text: #ffffff; --mantine-color-dimmed: #ccc2f5;
  --mantine-color-default: #252644; --mantine-color-default-hover: #2f2e52; --mantine-color-default-color: #ffffff; --mantine-color-default-border: rgba(229, 221, 255, 0.12);
  --mantine-color-placeholder: rgba(229, 221, 255, 0.45);
  --mantine-color-anchor: #ffc6d4;

  /* primary ("blue") becomes Vice pink: filled = CTA pill */
  --mantine-primary-color-filled: #fed1df; --mantine-primary-color-filled-hover: #ffe1ea;
  --mantine-primary-color-light: rgba(255, 178, 198, 0.12); --mantine-primary-color-light-hover: rgba(255, 178, 198, 0.2); --mantine-primary-color-light-color: #ffc6d4;
  --mantine-color-blue-filled: #fed1df; --mantine-color-blue-filled-hover: #ffe1ea;
  --mantine-color-blue-light: rgba(255, 178, 198, 0.12); --mantine-color-blue-light-hover: rgba(255, 178, 198, 0.2); --mantine-color-blue-light-color: #ffc6d4;
  --mantine-color-blue-outline: #ffb2c6; --mantine-color-blue-text: #ffc6d4;
  --mantine-color-blue-5: #ffb2c6; --mantine-color-blue-6: #ffb2c6; --mantine-color-blue-7: #f99ab4; --mantine-color-blue-8: #e8809f;

  /* "yellow" (the app's highlight colour) becomes cream / peach */
  --mantine-color-yellow-0: #fffdf0; --mantine-color-yellow-1: #fffbdc; --mantine-color-yellow-2: #fff9cb; --mantine-color-yellow-3: #fff3b0;
  --mantine-color-yellow-4: #ffe9a8; --mantine-color-yellow-5: #ffdf80; --mantine-color-yellow-6: #ffd4a8; --mantine-color-yellow-7: #f0bf8c;
  --mantine-color-yellow-filled: #fff9cb; --mantine-color-yellow-filled-hover: #fffbdc;
  --mantine-color-yellow-light: rgba(255, 249, 203, 0.1); --mantine-color-yellow-light-hover: rgba(255, 249, 203, 0.17); --mantine-color-yellow-light-color: #fff9cb;
  --mantine-color-yellow-outline: #fff9cb; --mantine-color-yellow-text: #fff9cb;

  --mantine-color-red-filled: #f4717c; --mantine-color-red-light: rgba(244, 113, 124, 0.15); --mantine-color-red-light-color: #ffc6d4;
  --mantine-color-green-filled: #e6ffa3; --mantine-color-green-light: rgba(230, 255, 163, 0.12); --mantine-color-green-light-color: #e6ffa3;
}

body, body * { font-family: var(--v-font); }
body { letter-spacing: -0.015em; }
.mantine-Text-root[data-fw], [style*="font-weight: 550"], [style*="font-weight:550"] { font-weight: 500; }

/* text on filled pink / cream must be ink */
.mantine-Button-root[data-variant="filled"], .mantine-ActionIcon-root[data-variant="filled"] { color: var(--v-cta-ink); }
.mantine-Button-root[data-variant="filled"][style*="yellow"], .mantine-ActionIcon-root[data-variant="filled"][style*="yellow"],
.mantine-Badge-root[data-variant="filled"] { color: var(--v-ink); }
.mantine-Button-root[data-variant="filled"][style*="red"] { color: #fff; background: linear-gradient(120deg, #f4717c, #e963c7); }
.mantine-Button-root[data-variant="filled"]:not([style*="yellow"]):not([style*="red"]):not([style*="green"]) { box-shadow: 0 2px 30px rgba(255, 178, 199, 0.28); }
.mantine-Button-root, .mantine-Badge-root, .mantine-Input-input, .mantine-TextInput-input, .mantine-Select-input { border-radius: 1000px; }
.mantine-Textarea-input { border-radius: 18px; }
.mantine-Input-input:focus, .mantine-Input-input:focus-within { border-color: rgba(255, 249, 203, 0.45); }

/* ---------- the tablet ---------- */
[class*="_mdtWrapper_"] {
  background: var(--v-glow-top), var(--v-night) !important;
  border-radius: 24px !important; overflow: hidden;
  box-shadow: 0 40px 90px rgba(7, 7, 15, 0.55), inset 0 0 0 1px rgba(229, 221, 255, 0.1);
}
[class*="_mdtWrapper_"]::before {
  content: ""; position: absolute; left: 2rem; top: 0; width: 4rem; height: .1875rem; z-index: 5;
  border-radius: 0 0 3px 3px; background: var(--v-sunset-line);
}
[class*="_navBar_"] { background: rgba(12, 13, 27, 0.55); border-right-color: rgba(229, 221, 255, 0.08) !important; }
[class*="_navbarHeader_"] { border-bottom-color: rgba(229, 221, 255, 0.08) !important; }
[class*="_navbarButton_"] { border-radius: 1000px !important; color: var(--v-lilac-soft) !important; }
[class*="_navbarButton_"]:hover { background-color: rgba(229, 221, 255, 0.07) !important; color: #fff !important; }
[class*="_navbarButton_"]:hover [class*="_primaryIcon_"] { color: #fff !important; }
[class*="_navbarButton_"][data-active], [class*="_navbarButton_"][data-active]:hover { background: var(--v-cream) !important; color: var(--v-ink) !important; }
[class*="_navbarButton_"][data-active] [class*="_primaryIcon_"] { color: var(--v-ink) !important; }

/* ---------- page header: strip / cream poster title / subtitle ---------- */
[class*="_pageHeader_"] { border-bottom-color: rgba(229, 221, 255, 0.08) !important; position: relative; }
.vice-head { position: relative; display: flex; flex-direction: column; gap: .375rem; padding-top: .75rem; }
.vice-head::before { content: ""; position: absolute; left: 0; top: 0; width: 3rem; height: .1875rem; border-radius: 0 0 3px 3px; background: var(--v-sunset-line); }
.vice-title { font-size: 1.625rem !important; line-height: .95 !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: uppercase; color: var(--v-cream) !important; }
.vice-sub { font-size: .8125rem !important; line-height: 1.35 !important; font-weight: 400 !important; color: var(--v-lilac) !important; opacity: .9; }

/* ---------- surfaces ---------- */
[class*="_pagePrimaryBox_"] { background: rgba(229, 221, 255, 0.04) !important; border: 0 !important; box-shadow: inset 0 0 0 1px rgba(229, 221, 255, 0.08); border-radius: 24px !important; }
.mantine-Paper-root, .mantine-Card-root { background-color: #18182d; }
.mantine-Modal-content, .mantine-Popover-dropdown, .mantine-Menu-dropdown, .mantine-Combobox-dropdown { background: var(--v-night); border: 0; box-shadow: inset 0 0 0 1px rgba(229, 221, 255, 0.1), 0 30px 70px rgba(7, 7, 15, 0.6); }
.mantine-Modal-content { border-radius: 24px; }
.mantine-Modal-header { background: transparent; }
.mantine-Modal-title { color: var(--v-cream); text-transform: uppercase; letter-spacing: 0; font-weight: 500; }
.mantine-Table-th { color: var(--v-peach); letter-spacing: .12em; text-transform: uppercase; font-size: .6875rem; font-weight: 500; }
.mantine-Table-tr { border-color: rgba(229, 221, 255, 0.06); }
.mantine-Tabs-tab[data-active] { color: var(--v-cream); }
.mantine-SegmentedControl-indicator { background: var(--v-cream); }
.mantine-SegmentedControl-label[data-active] { color: var(--v-ink); }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: rgba(229, 221, 255, 0.16); border-radius: 1000px; }
::-webkit-scrollbar-track { background: transparent; }

/* the app sizes everything in rem from a viewport-based root size; keep the
   1080p proportions but cap the height term so 59rem fits ultrawide screens */
:root:root { font-size: min(.83333333vw, 1.55vh) !important; }

/* perf: no backdrop blur on the transparent NUI page */
*, *::before, *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
