.vice {
  --vice-bg: #141023;
  --vice-panel: #21182e;
  --vice-text: #fff6f3;
  --vice-muted: #d6c5d7;
  --vice-accent: #83f2df;
  --vice-coral: #ffad95;
  --vice-line: #584262;
  --vice-display: Georgia, 'Times New Roman', serif;
  margin: 0;
  background: var(--vice-bg);
  color: var(--vice-text);
}

.vice-gta { font: 16px/1.62 system-ui, sans-serif; }
.vice :where(*, *::before, *::after) { box-sizing: border-box; }
.vice :where(a) { color: var(--vice-accent); text-underline-offset: .25em; }
.vice :where(a, button, input, select, summary):focus-visible { outline: 2px solid var(--vice-accent); outline-offset: 4px; }
.vice-width { width: min(1220px, 92%); margin-inline: auto; }
.vice .domain-header, .vice .domain-footer {
  background: #171126;
  border-color: var(--vice-line);
}
.vice .domain-header .domain-wordmark span, .vice .domain-footer .domain-wordmark span { color: var(--vice-accent); }
.vice .domain-primary a.vice-nav-link { color: var(--vice-coral); }
.vice .domain-menu summary { border-color: var(--vice-line); }
.vice .domain-menu .domain-directory { background: var(--vice-panel); border-color: var(--vice-line); }
.vice .domain-directory a { border-color: var(--vice-line); }
.vice .domain-footer nav a, .vice .domain-footer small { color: var(--vice-muted); }
.vice .vice-kicker {
  margin: 0 0 .65rem;
  color: var(--vice-accent);
  font: 750 .875rem/1.4 system-ui, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.vice-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(390px, 39vw, 580px);
  overflow: hidden;
  border-bottom: 1px solid var(--vice-line);
  background: radial-gradient(ellipse at 85% 15%, #863e59 0, #301d42 56%, #141023 100%);
}
.vice-hero-art, .vice-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.vice-hero-art { object-fit: cover; object-position: 60% 52%; z-index: -2; }
.vice-hero::after {
  content: '';
  z-index: -1;
  background: linear-gradient(90deg, #171029f7 4%, #171029ad 40%, #1710290a 78%), linear-gradient(0deg, #141023d9, transparent 51%);
}
.vice-hero-copy { padding: clamp(2rem, 5vw, 4.5rem) 0; }
.vice-hero h1, .vice-heading h1 {
  max-width: 12.5ch;
  margin: 0;
  color: var(--vice-text);
  font: 700 clamp(3.3rem, 7.5vw, 7.3rem)/.93 var(--vice-display);
  letter-spacing: -.07em;
  text-wrap: balance;
}
.vice-hero h1 em { color: var(--vice-coral); font-weight: 400; }
.vice-hero-copy > p:not(.vice-kicker), .vice-heading p:not(.vice-kicker) {
  max-width: 55ch;
  margin: 1.15rem 0 0;
  color: var(--vice-muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}
.vice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.35rem; }
.vice :is(.vice-button, .vice-subnav a, .vice-filter a) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .5rem .95rem;
  border: 1px solid var(--vice-line);
  border-radius: .5rem;
  background: #21182eeb;
  color: var(--vice-text);
  font: 680 .94rem/1.25 system-ui, sans-serif;
  text-decoration: none;
}
.vice :is(.vice-button--primary, .vice-subnav a[aria-current], .vice-filter a[aria-current]) {
  border-color: var(--vice-accent);
  background: var(--vice-accent);
  color: #112728;
}
.vice :is(.vice-button, .vice-subnav a, .vice-filter a):hover { border-color: var(--vice-coral); }
.vice-subnav { background: #1a1229; border-bottom: 1px solid var(--vice-line); }
.vice-subnav .vice-width { display: flex; gap: .5rem; padding-block: .65rem; overflow-x: auto; scrollbar-width: thin; }
.vice-subnav a { flex: 0 0 auto; }

.vice-heading { padding: clamp(2.2rem, 4.5vw, 4.6rem) 0 2rem; }
.vice-heading h1 { max-width: none; font-size: clamp(2.6rem, 5.9vw, 5.5rem); }
.vice-main-section { padding-block: clamp(1.35rem, 4vw, 3.5rem) clamp(2.6rem, 6vw, 5.5rem); }
.vice-gta h2, .vice-home-feature h2 {
  margin: 0;
  color: var(--vice-text);
  font: 700 clamp(1.65rem, 3.2vw, 3rem)/1.08 var(--vice-display);
  letter-spacing: -.04em;
}
.vice-gta h3 { margin: 0; font-size: 1.1rem; }
.vice-gta p, .vice-home-feature p { color: var(--vice-muted); }
.vice-overview, .vice-tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.vice-tile, .vice-card, .vice-empty, .vice-video-group {
  min-width: 0;
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  border: 1px solid var(--vice-line);
  border-radius: .85rem;
  background: var(--vice-panel);
}
.vice-tile { display: flex; align-items: start; flex-direction: column; gap: .7rem; }
.vice-tile .vice-button { margin-top: auto; }
.vice-tile p, .vice-card p, .vice-empty p { margin: .4rem 0 .75rem; }
.vice-tile img { width: 100%; aspect-ratio: 1.85; object-fit: cover; border-radius: .45rem; }
.vice-media { margin: 1.25rem 0; }
.vice-media img { display: block; width: 100%; max-height: 430px; object-fit: cover; border-radius: .6rem; }
.vice-media figcaption, .vice-meta { color: var(--vice-muted); font-size: .91rem; }
.vice-card .vice-location { color: var(--vice-coral); font-weight: 650; }
.vice-card { scroll-margin-top: 1rem; }
.vice-card:target { border-color: var(--vice-accent); }
.vice-list { display: grid; gap: 1rem; }
.vice-list.vice-guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vice-steps { margin-block: .65rem 1rem; padding-left: 1.45rem; }
.vice-steps li { padding-left: .2rem; margin-bottom: .4rem; }
.vice-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .85rem; }
.vice-search { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 0 1.15rem; }
.vice-search input { min-width: 0; flex: 1 1 14rem; max-width: 35rem; min-height: 44px; padding: .6rem .85rem; border: 1px solid var(--vice-line); border-radius: .5rem; background: #181127; color: var(--vice-text); font: inherit; }
.vice-search input::placeholder { color: var(--vice-muted); opacity: 1; }
.vice-video-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vice-video-group { scroll-margin-top: 1rem; }
.vice-video-group--streams { grid-column: 1 / -1; }
.vice-video-list { display: grid; gap: 1rem; padding: 0; list-style: none; }
.vice-video-group--streams .vice-video-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); }
.vice-video-list img { display: block; width: 100%; max-width: 430px; aspect-ratio: 16/9; object-fit: cover; border-radius: .5rem; }
.vice-resource-row { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.25rem; }
.vice-resource-row a { min-height: 44px; display: inline-flex; align-items: center; }
.vice-visually-hidden { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.vice-egg-guide { padding-top: .65rem; }
.vice-egg-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem 1.25rem;
  margin-bottom: clamp(1rem, 2.5vw, 1.65rem);
  padding: .8rem clamp(.7rem, 2vw, 1rem);
  border: 1px solid var(--vice-line);
  border-radius: .7rem;
  background: #1b142a;
}
.vice-egg-tools .vice-search { flex: 1 1 19rem; margin: 0; }
.vice-egg-tools .vice-search input { max-width: 32rem; }
.vice-egg-tools .vice-meta { margin: 0; }
.vice-egg-layout { display: grid; gap: clamp(1rem, 2.7vw, 2rem); align-items: start; }
.vice-egg-index {
  min-width: 0;
  padding: .8rem 1rem;
  border: 1px solid var(--vice-line);
  border-radius: .75rem;
  background: #1b142a;
}
.vice-egg-index h2 { margin: 0 0 .4rem; font: 700 1rem/1.4 system-ui, sans-serif; letter-spacing: normal; }
.vice-egg-index ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .75rem; list-style: none; padding: 0; margin: 0; }
.vice-egg-index a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .4rem 0;
  border-top: 1px solid #42314d;
  color: var(--vice-muted);
  font-size: .94rem;
  font-weight: 620;
  line-height: 1.35;
  text-decoration: none;
}
.vice-egg-index a:hover, .vice-egg-index a:focus-visible { color: var(--vice-accent); text-decoration: underline; }
.vice-egg-list { display: grid; gap: clamp(1rem, 2vw, 1.45rem); min-width: 0; }
.vice-egg {
  min-width: 0;
  padding: clamp(1rem, 2.55vw, 1.85rem);
  border: 1px solid var(--vice-line);
  border-radius: .9rem;
  background: var(--vice-panel);
  scroll-margin-top: 1rem;
}
.vice-egg:target { border-color: var(--vice-accent); }
.vice-egg-title h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.vice-egg-location { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-top: .7rem; }
.vice-egg-location p { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .65rem; margin: 0; color: var(--vice-coral); font-size: .95rem; font-weight: 690; }
.vice-egg-location p span { color: var(--vice-muted); font-size: .85rem; font-weight: 500; }
.vice-egg-location p span::before { content: '·'; padding-right: .55rem; }
.vice-egg-summary { max-width: 68ch; margin: .75rem 0 0; }
.vice-egg-body { display: grid; align-items: start; gap: 1rem; margin-top: 1.25rem; }
.vice-egg-body--with-media { gap: clamp(1rem, 2.5vw, 1.6rem); }
.vice-egg-evidence { min-width: 0; margin: 0; }
.vice-egg-evidence img { display: block; width: 100%; height: auto; border: 1px solid var(--vice-line); border-radius: .6rem; background: #120f1b; }
.vice-egg-evidence figcaption { display: grid; gap: .08rem; margin-top: .5rem; color: var(--vice-muted); font-size: .88rem; }
.vice-egg-evidence figcaption strong { color: var(--vice-text); font-size: .94rem; font-weight: 650; }
.vice-egg-steps { min-width: 0; }
.vice-egg-steps .vice-steps { margin-bottom: 0; }
.vice-egg-steps li { padding-left: .35rem; margin-bottom: .55rem; }
.vice-egg-steps li::marker { color: var(--vice-accent); font-weight: 700; }
.vice-egg-reviewed { margin: 1rem 0 0; }

@media (min-width: 870px) {
  .vice-egg-body--with-media { grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr); }
}
@media (min-width: 1050px) {
  .vice-egg-layout--indexed { grid-template-columns: minmax(190px, 220px) minmax(0, 1fr); }
  .vice-egg-index { position: sticky; top: 1rem; max-height: calc(100dvh - 2rem); overflow: auto; }
  .vice-egg-index ul { grid-template-columns: minmax(0, 1fr); }
}

.vice-home .tab[aria-pressed=true] { background: var(--vice-accent); color: #112728; border-color: var(--vice-accent); }

@media (max-width: 750px) {
  .vice-hero::after { background: linear-gradient(0deg, #141023 1%, #141023cf 40%, #14102319 95%); }
  .vice-hero { min-height: 360px; }
  .vice-hero-art { object-position: 65% center; }
  .vice-home .domain-primary a, .vice .domain-primary a { font-size: .82rem; }
  .vice-overview, .vice-tile-grid, .vice-video-groups { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .vice-list.vice-guide-list { grid-template-columns: 1fr; }
  .vice .domain-primary a[href='/cazino'] { display: none; }
}
