:root {
  color-scheme: dark;
  --ink: #050607;
  --paper: #f6eddb;
  --muted: #b8ac98;
  --gold: #d7b45d;
  --gold-bright: #f1d98b;
  --gold-deep: #80652c;
  --navy: #09131d;
  --red: #a1232e;
  --blue: #2877a9;
  --panel: rgba(5, 8, 11, 0.93);
  --line: rgba(235, 204, 126, 0.32);
  --font-display: "Cinzel", Georgia, serif;
  --font-ui: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(128, 101, 44, 0.2), transparent 40%),
    #030405;
  color: var(--paper);
  font-family: var(--font-ui);
  overflow-x: clip;
}

button,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.lounge-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.lounge-stage {
  position: relative;
  width: min(100vw, 1536px);
  aspect-ratio: 3 / 2;
  min-height: 640px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(2, 3, 4, 0.08), rgba(2, 3, 4, 0.04) 54%, rgba(2, 3, 4, 0.62)),
    url("assets/lounge-background.webp") center / cover no-repeat;
  box-shadow: 0 18px 80px #000;
}

.lounge-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 44%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 37% 34%, transparent 0 24%, rgba(0, 0, 0, 0.08) 61%, rgba(0, 0, 0, 0.35));
}

.lounge-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.ambient {
  position: absolute;
  z-index: 3;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.14;
}

.ambient--one {
  left: 4%;
  top: 4%;
  background: #ffcb62;
}

.ambient--two {
  right: -12%;
  bottom: -15%;
  background: #813327;
}

.brand-plate {
  position: absolute;
  z-index: 12;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 34px);
  min-height: clamp(58px, 5.2vw, 78px);
  padding: 9px clamp(18px, 3vw, 46px);
  border: 0;
  border-bottom: 1px solid rgba(235, 204, 126, 0.44);
  background:
    linear-gradient(90deg, rgba(4, 6, 8, 0.98), rgba(8, 12, 15, 0.89) 52%, rgba(4, 6, 8, 0.96)),
    var(--panel);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(22px) saturate(130%);
}

.brand-plate::after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: -2px;
  left: 3%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 18%, rgba(215, 180, 93, 0.18) 50%, var(--gold) 82%, transparent);
  opacity: 0.58;
}

.brand-plate__mark {
  display: grid;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-plate__eyebrow,
.kicker {
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-plate__title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.45vw, 1.35rem);
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.lounge-nav {
  display: flex;
  align-self: stretch;
  justify-content: center;
  min-width: 0;
}

.lounge-nav__item {
  position: relative;
  min-width: clamp(54px, 6.8vw, 104px);
  padding: 0 clamp(8px, 1vw, 16px);
  border: 0;
  border-right: 1px solid rgba(235, 204, 126, 0.12);
  background: transparent;
  color: #a99f8e;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: clamp(0.62rem, 0.82vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.lounge-nav__item:first-child {
  border-left: 1px solid rgba(235, 204, 126, 0.12);
}

.lounge-nav__item::after {
  content: "";
  position: absolute;
  right: 24%;
  bottom: 6px;
  left: 24%;
  height: 1px;
  background: var(--gold-bright);
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 180ms ease, transform 180ms ease;
}

.lounge-nav__item:hover,
.lounge-nav__item.is-active {
  background: linear-gradient(180deg, transparent, rgba(215, 180, 93, 0.09));
  color: var(--gold-bright);
}

.lounge-nav__item.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(166, 221, 184, 0.25);
  color: #cce8d3;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5fd084;
  box-shadow: 0 0 10px #5fd084;
  animation: pulse 1.8s ease-in-out infinite;
}

.live-status--fallback {
  color: #f0c889;
  border-color: rgba(240, 200, 137, 0.3);
}

.live-status--fallback .live-status__dot {
  background: #d7954f;
  box-shadow: 0 0 10px #d7954f;
}

.main-screen {
  position: absolute;
  z-index: 9;
  top: 16.5%;
  left: 27.5%;
  width: 45%;
  height: 34%;
  overflow: hidden;
  border: 1px solid rgba(245, 214, 137, 0.64);
  background: #05080b;
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.74),
    0 0 0 4px rgba(215, 180, 93, 0.15),
    0 28px 70px rgba(0, 0, 0, 0.72),
    0 0 38px rgba(215, 180, 93, 0.17);
  clip-path: polygon(1.2% 0, 98.8% 0, 100% 4%, 100% 96%, 98.8% 100%, 1.2% 100%, 0 96%, 0 4%);
  animation: screen-arrive 580ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.featured-card__masthead {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
  border-bottom: 1px solid rgba(235, 204, 126, 0.22);
  background: linear-gradient(90deg, rgba(215, 180, 93, 0.15), transparent 60%);
  color: var(--gold-bright);
  font-size: clamp(0.55rem, 0.72vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.featured-card__masthead span:last-child {
  color: #aaa191;
  letter-spacing: 0.08em;
}

.featured-card .market-card__header {
  padding: 9px 16px 7px;
}

.featured-card .market-card__body {
  display: grid;
  grid-template-columns: minmax(145px, 0.75fr) minmax(0, 1.5fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(14px, 2vw, 28px);
  padding: 11px 16px 10px;
}

.featured-card .market-card__body > * {
  min-width: 0;
}

.featured-card .market-card__label {
  grid-column: 1;
}

.featured-card .market-card__title {
  grid-column: 1;
  margin-top: 4px;
  font-size: clamp(1rem, 1.7vw, 1.65rem);
  line-height: 1.08;
  white-space: normal;
}

.featured-card .market-card__outcomes {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-content: center;
  gap: 7px;
}

.featured-card .outcome {
  min-height: clamp(31px, 3.5vw, 48px);
}

.featured-card .outcome__name {
  padding-left: 11px;
  font-size: clamp(0.66rem, 0.92vw, 0.95rem);
}

.featured-card .outcome__price {
  padding: 7px 11px;
  font-size: clamp(0.9rem, 1.55vw, 1.45rem);
}

.featured-card .market-card__footer {
  padding: 8px 16px 10px;
}

.mobile-feature {
  display: none;
}

.screen {
  position: absolute;
  z-index: 5;
  overflow: hidden;
  transform-origin: center;
  background: #05080b;
  border: 1px solid rgba(244, 210, 124, 0.28);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.72),
    0 18px 50px rgba(0, 0, 0, 0.58),
    0 0 28px rgba(226, 177, 66, 0.1),
    inset 0 0 30px rgba(0, 0, 0, 0.65);
  animation: side-screen-arrive 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.screen::after,
.market-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0.15;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.08) 4px);
  mix-blend-mode: overlay;
}

.screen--one {
  left: 2.4%;
  top: 17.2%;
  width: 23.5%;
  height: 20.5%;
  clip-path: polygon(1% 2%, 99% 0, 98% 98%, 0 100%);
  transform: perspective(900px) rotateY(2.2deg) rotate(-0.55deg);
}

.screen--two {
  z-index: 6;
  left: 3.8%;
  top: 39.4%;
  width: 22.2%;
  height: 19.3%;
  clip-path: polygon(0 0, 99% 1%, 98% 99%, 1% 97%);
  transform: perspective(900px) rotateY(2.5deg) rotate(0.45deg);
  animation-delay: 80ms;
}

.screen--three {
  right: 2.4%;
  left: auto;
  top: 17.2%;
  width: 23.5%;
  height: 20.5%;
  clip-path: polygon(1% 1%, 100% 2%, 99% 99%, 0 98%);
  transform: perspective(900px) rotateY(-2.2deg) rotate(0.55deg);
  animation-delay: 120ms;
}

.screen--four {
  z-index: 6;
  right: 3.8%;
  left: auto;
  top: 39.4%;
  width: 22.2%;
  height: 19.3%;
  clip-path: polygon(0 0, 99% 1%, 100% 98%, 1% 100%);
  transform: perspective(900px) rotateY(-2.5deg) rotate(-0.45deg);
  animation-delay: 180ms;
}

.market-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0%, rgba(198, 156, 70, 0.18), transparent 35%),
    linear-gradient(145deg, #07121b 0%, #080b0f 55%, #100c08 100%);
  color: var(--paper);
}

.market-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}

.market-card__header,
.market-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.market-card__header {
  padding: 8px 10px 5px;
  border-bottom: 1px solid rgba(235, 204, 126, 0.15);
}

.market-card__league,
.market-card__source {
  font-size: clamp(0.44rem, 0.65vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.market-card__league {
  color: var(--gold-bright);
}

.market-card__source {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #b9c9c4;
}

.market-card__source i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5fd084;
  box-shadow: 0 0 7px #5fd084;
}

.market-card__body {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  padding: 6px 10px 4px;
}

.market-card__label {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: clamp(0.42rem, 0.57vw, 0.62rem);
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.market-card__title {
  margin: 0 0 6px;
  overflow: hidden;
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: clamp(0.54rem, 0.88vw, 0.98rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-card__outcomes {
  display: grid;
  gap: 4px;
}

.outcome {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: clamp(17px, 2.15vw, 26px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.outcome__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--probability);
  opacity: 0.48;
  background: linear-gradient(90deg, rgba(42, 124, 170, 0.68), rgba(42, 124, 170, 0.1));
}

.outcome:nth-child(2) .outcome__fill {
  background: linear-gradient(90deg, rgba(162, 38, 49, 0.7), rgba(162, 38, 49, 0.1));
}

.outcome:nth-child(n + 3) .outcome__fill {
  background: linear-gradient(90deg, rgba(176, 135, 61, 0.72), rgba(176, 135, 61, 0.08));
}

.outcome__name,
.outcome__price {
  position: relative;
  z-index: 2;
  padding: 3px 6px;
  font-weight: 700;
  line-height: 1;
}

.outcome__name {
  overflow: hidden;
  font-size: clamp(0.42rem, 0.68vw, 0.72rem);
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.outcome__price {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff3c6;
  font-size: clamp(0.52rem, 0.9vw, 0.96rem);
}

.market-card__footer {
  padding: 5px 10px 7px;
  border-top: 1px solid rgba(235, 204, 126, 0.15);
}

.market-card__volume {
  color: var(--muted);
  font-size: clamp(0.39rem, 0.55vw, 0.58rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-card__cta {
  position: relative;
  z-index: 8;
  color: var(--gold-bright);
  font-size: clamp(0.4rem, 0.59vw, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.market-card__cta:hover {
  color: #fff;
}

.host-console {
  position: absolute;
  z-index: 15;
  right: clamp(14px, 2.2vw, 34px);
  top: clamp(74px, 6.7vw, 104px);
}

.host-console__toggle,
.details-toggle,
.button,
.icon-button {
  border: 0;
  color: var(--paper);
  cursor: pointer;
}

.host-console__toggle,
.details-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: rgba(5, 8, 10, 0.79);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.host-console__icon {
  color: var(--gold);
}

.host-console__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, calc(100vw - 28px));
  padding: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(13, 17, 20, 0.98), rgba(4, 6, 8, 0.98)),
    var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(22px);
}

.host-console__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.host-console__heading h2,
.market-details h2 {
  margin: 7px 0 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.host-console__panel > p,
.feed-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.icon-button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.25rem;
}

.assignment-list {
  display: grid;
  gap: 9px;
  margin: 18px 0;
}

.assignment {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.assignment label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.assignment--main {
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(235, 204, 126, 0.18);
}

.assignment--main label {
  color: var(--gold-bright);
}

.assignment select {
  min-width: 0;
  padding: 8px 28px 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  outline: 0;
  background: #101519;
  color: #f6eddb;
}

.assignment select:focus {
  border-color: var(--gold);
}

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

.button {
  padding: 9px 12px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button--gold {
  flex: 1;
  background: linear-gradient(135deg, #d7b45d, #9e762a);
  color: #090805;
}

.button--quiet {
  background: rgba(255, 255, 255, 0.06);
}

.feed-note {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
}

.scene-caption {
  position: absolute;
  z-index: 8;
  left: 3%;
  bottom: 3%;
  display: flex;
  gap: 16px;
  color: rgba(255, 247, 229, 0.64);
  font-size: clamp(0.5rem, 0.7vw, 0.67rem);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.scene-caption span + span::before {
  content: "/";
  margin-right: 16px;
  color: var(--gold);
}

.details-toggle {
  position: absolute;
  z-index: 12;
  right: clamp(14px, 2.2vw, 34px);
  bottom: 3%;
}

.market-details {
  position: absolute;
  z-index: 16;
  right: clamp(14px, 2.2vw, 34px);
  bottom: 3%;
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) 1.3fr auto;
  align-items: start;
  gap: 20px;
  width: min(690px, calc(100vw - 28px));
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(5, 8, 10, 0.94);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(18px);
}

.market-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.mobile-feed {
  display: none;
}

.responsible-footer {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr 0.8fr;
  align-items: start;
  gap: clamp(24px, 4vw, 70px);
  max-width: 1536px;
  margin: 0 auto;
  padding: 25px clamp(20px, 4vw, 60px) 34px;
  border-top: 1px solid rgba(235, 204, 126, 0.16);
  background: #050607;
}

.responsible-footer__brand {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.responsible-footer__brand span {
  color: var(--gold-deep);
}

.responsible-footer p,
.responsible-footer nav {
  margin: 0;
  color: #9e9688;
  font-size: 0.78rem;
  line-height: 1.45;
}

.responsible-footer nav {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.responsible-footer a:hover {
  color: var(--paper);
}

[hidden] {
  display: none !important;
}

@keyframes pulse {
  50% {
    opacity: 0.45;
    transform: scale(0.78);
  }
}

@keyframes screen-arrive {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.975);
  }
}

@keyframes side-screen-arrive {
  from {
    opacity: 0;
    filter: blur(8px);
  }
}

@media (max-width: 900px) {
  .lounge-stage {
    min-height: 0;
  }

  .brand-plate__eyebrow,
  .scene-caption,
  .details-toggle,
  .market-details {
    display: none;
  }

  .brand-plate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px 12px 7px;
  }

  .lounge-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-top: 1px solid rgba(235, 204, 126, 0.12);
    scrollbar-width: none;
  }

  .lounge-nav::-webkit-scrollbar {
    display: none;
  }

  .lounge-nav__item {
    flex: 1 0 74px;
    min-height: 34px;
  }

  .host-console {
    top: 116px;
    right: 12px;
  }

  .host-console__toggle {
    padding: 8px 10px;
    font-size: 0.64rem;
  }

  .screen,
  .main-screen {
    display: none;
  }

  .mobile-feature {
    display: block;
    max-width: 1536px;
    width: 100%;
    min-height: 270px;
    margin: 0 auto;
    border-top: 1px solid var(--gold-deep);
    border-bottom: 1px solid var(--gold-deep);
  }

  .mobile-feature .featured-card {
    min-height: 270px;
  }

  .mobile-feature .featured-card .market-card__header,
  .mobile-feature .featured-card .market-card__footer {
    padding: 12px 16px;
  }

  .mobile-feature .featured-card .market-card__body {
    padding: 14px 16px;
  }

  .mobile-feed {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    max-width: 1536px;
    width: 100%;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    background: var(--line);
  }

  .mobile-feed .market-card {
    min-height: 238px;
  }

  .mobile-feed .market-card__header,
  .mobile-feed .market-card__footer {
    padding: 12px 14px;
  }

  .mobile-feed .market-card__body {
    padding: 12px 14px;
  }

  .mobile-feed .market-card__title {
    margin-bottom: 12px;
    font-size: 1rem;
    white-space: normal;
  }

  .mobile-feed .market-card__league,
  .mobile-feed .market-card__source,
  .mobile-feed .market-card__label,
  .mobile-feed .market-card__volume,
  .mobile-feed .market-card__cta,
  .mobile-feed .outcome__name {
    font-size: 0.72rem;
  }

  .mobile-feed .outcome {
    min-height: 34px;
  }

  .mobile-feed .outcome__price {
    font-size: 1rem;
  }

  .responsible-footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .responsible-footer nav {
    justify-items: start;
  }
}

@media (max-width: 580px) {
  .lounge-stage {
    aspect-ratio: 4 / 3;
    background-position: 37% center;
  }

  .brand-plate__title {
    font-size: 0.82rem;
  }

  .lounge-nav__item {
    flex-basis: 70px;
    padding: 0 8px;
    font-size: 0.62rem;
  }

  .live-status {
    font-size: 0.56rem;
  }

  .host-console {
    top: 108px;
  }

  .host-console__toggle {
    font-size: 0.58rem;
  }

  .mobile-feed {
    grid-template-columns: 1fr;
  }

  .mobile-feature .featured-card .market-card__body {
    display: block;
  }

  .mobile-feature .featured-card .market-card__title {
    margin-bottom: 13px;
    font-size: 1.25rem;
  }

  .mobile-feature .featured-card .market-card__outcomes {
    display: grid;
  }

  .mobile-feed .market-card {
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =====================================================================
 * California edition + light Depth + Glass pass (LOCK-021,
 * docs/brand/depth-glass-standard.md): regular-glass controls with rim
 * and soft elevation, a floating inset header capsule, and a floating
 * bottom dock (tab bar + search pill). No hard-anchored header or footer.
 * ===================================================================== */
:root {
  --ca-gold: #f2b632;
  --ca-poppy: #ff8a3d;
  --ca-pacific: #3a8fd6;
  --dg-glass-regular: rgba(14, 18, 44, 0.54);
  --dg-rim: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 1px 0 0 rgba(255, 255, 255, 0.1), inset -1px 0 0 rgba(255, 255, 255, 0.1);
  --dg-elev-1: 0 1px 2px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.12);
  --dg-elev-2: 0 2px 6px rgba(0, 0, 0, 0.18), 0 12px 32px rgba(0, 0, 0, 0.22);
  --dg-elev-3: 0 4px 10px rgba(0, 0, 0, 0.2), 0 24px 60px rgba(0, 0, 0, 0.32);
  --dock-space: 150px;
}

body {
  padding-bottom: calc(var(--dock-space) + env(safe-area-inset-bottom));
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Regular glass material: any surface that carries text */
.glass {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: var(--dg-glass-regular) !important;
  -webkit-backdrop-filter: blur(26px) saturate(170%) brightness(0.74);
  backdrop-filter: blur(26px) saturate(170%) brightness(0.74);
  box-shadow: var(--dg-rim), var(--dg-elev-2) !important;
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, 0.16), transparent 55%);
  mix-blend-mode: soft-light;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(20, 26, 60, 0.78) !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: rgba(20, 26, 60, 0.94) !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .glass::before { display: none; }
}
@media (prefers-contrast: more) {
  .glass { background: rgb(12, 16, 36) !important; border-color: #fff !important; }
  .glass::before { display: none; }
}

/* Floating inset header capsule instead of an edge-anchored bar */
.brand-plate {
  top: 14px;
  right: 14px;
  left: 14px;
  min-height: 60px;
  padding: 8px 10px 8px 24px;
  border-radius: 999px;
}
.brand-plate::after { display: none; }
.brand-plate__eyebrow { color: var(--ca-gold); }
.lounge-nav__item,
.lounge-nav__item:first-child {
  border: 0;
  border-radius: 999px;
  margin: 6px 1px;
}
.lounge-nav__item:hover,
.lounge-nav__item.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff3d0;
  box-shadow: var(--dg-elev-1), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.lounge-nav__item::after { display: none; }
.live-status {
  border-radius: 999px;
  padding: 7px 12px;
}

.main-screen { top: 15.5%; }

.host-console__toggle,
.details-toggle,
.button,
.icon-button,
.assignment select {
  border-radius: 999px;
}
.assignment select { border-radius: 14px; }
.host-console__panel,
.market-details {
  border-radius: 28px;
  box-shadow: var(--dg-rim), var(--dg-elev-3) !important;
}
.host-console__panel { z-index: 30; }
.host-console__toggle { position: relative; }
.host-console__toggle:focus-visible,
.details-toggle:focus-visible,
.quiz-cta:focus-visible,
.dock__tab:focus-visible,
.lounge-nav__item:focus-visible,
.button:focus-visible,
.icon-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Card note: season / championship odds line */
.market-card__note {
  margin: 5px 0 0;
  color: var(--ca-gold);
  font-size: clamp(0.42rem, 0.6vw, 0.66rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.featured-card .market-card__note {
  grid-column: 1;
  font-size: clamp(0.6rem, 0.8vw, 0.82rem);
}
.outcome:first-child .outcome__fill {
  background: linear-gradient(90deg, rgba(58, 143, 214, 0.75), rgba(58, 143, 214, 0.1));
}
.outcome:nth-child(2) .outcome__fill {
  background: linear-gradient(90deg, rgba(255, 138, 61, 0.7), rgba(255, 138, 61, 0.1));
}

/* Quiz entry point */
.quiz-cta {
  position: absolute;
  z-index: 13;
  left: 50%;
  top: 53%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 12px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 220ms cubic-bezier(0.34, 1.36, 0.64, 1);
}
.quiz-cta:hover { transform: translateX(-50%) translateY(-2px); }
.quiz-cta__spark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd36e, var(--ca-gold));
  color: #1a1203;
  font-size: 1.05rem;
  box-shadow: var(--dg-elev-1);
}
.quiz-cta__text { display: grid; gap: 2px; text-align: left; }
.quiz-cta__kicker {
  color: #ffe3a3;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.quiz-cta__title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.2vw, 1.12rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.quiz-cta--mobile { display: none; }

/* Footer: in-flow, short, rounded glass card (not anchored) */
.responsible-footer {
  grid-template-columns: 0.6fr 1.6fr;
  margin: 18px auto 0;
  width: min(1536px, calc(100% - 28px));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(14, 18, 34, 0.6);
}
.responsible-footer p { color: #c9c1b2; }
.responsible-footer a { color: #ffe3a3; }

/* Floating dock: search pill + tab bar, detached from every edge */
.dock {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(760px, calc(100vw - 32px));
  animation: dock-arrive 800ms 600ms cubic-bezier(0.34, 1.36, 0.64, 1) both;
}
.dock__search {
  position: relative;
  display: flex;
  flex: 1 1 260px;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 16px;
  border-radius: 999px;
}
.dock__search:focus-within {
  outline: 3px solid #fff;
  box-shadow: var(--dg-rim), var(--dg-elev-3) !important;
}
.dock__icon { flex: none; width: 22px; height: 22px; color: #fff; }
.dock__search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 500 16px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.dock__search input::placeholder { color: rgba(255, 255, 255, 0.78); }
.dock__tabs {
  position: relative;
  display: flex;
  flex: 0 1 420px;
  height: 62px;
  padding: 5px;
  border-radius: 999px;
}
.dock__tab {
  display: grid;
  flex: 1;
  place-items: center;
  align-content: center;
  gap: 2px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 600 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  transition: background 260ms cubic-bezier(0.34, 1.36, 0.64, 1);
}
.dock__tab span { font-size: 18px; line-height: 1; }
.dock__tab.is-active {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--dg-elev-1), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
@keyframes dock-arrive {
  from { opacity: 0; transform: translateX(-50%) translateY(22px) scale(0.96); }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .lounge-nav__item { min-width: 0; padding: 0 9px; }
}

@media (max-width: 900px) {
  .brand-plate {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin: 12px;
    border-radius: 28px;
    padding: 10px 12px;
  }
  .brand-plate__eyebrow { display: block; }
  .brand-plate .live-status { grid-column: 2; grid-row: 1; align-self: center; }
  .brand-plate .lounge-nav { grid-row: 2; }
  .lounge-nav { border-top: 0; }
  .lounge-stage { min-height: 0; }
  .host-console { top: 132px; right: 20px; }
  .quiz-cta:not(.quiz-cta--mobile) { display: none; }
  .quiz-cta--mobile {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    display: flex;
    width: calc(100% - 24px);
    margin: 14px 12px;
    white-space: normal;
  }
  .quiz-cta--mobile:hover { transform: translateY(-2px); }
  .quiz-cta--mobile > span:last-child { margin-left: auto; font-size: 1.2rem; }
  .responsible-footer { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --dock-space: 150px; }
  .dock {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: calc(100vw - 24px);
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .dock__search { flex: none; }
  .dock__tabs { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dock { animation: none; }
  .quiz-cta, .dock__tab { transition: none; }
}

@media (forced-colors: active) {
  .glass, .dock__tab, .quiz-cta { border: 2px solid ButtonText !important; }
  .dock__tab.is-active { background: Highlight; color: HighlightText; }
}


/* =====================================================================
 * Hero: Patrick's neon poker image (added 2026-10-02 for sportsgambling.pro)
 * object-fit cover, dark overlay for headline contrast, responsive.
 * ===================================================================== */
html { scroll-behavior: smooth; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  width: min(100vw, 1536px);
  height: clamp(360px, 58vh, 560px);
  margin: 0 auto;
  overflow: hidden;
  background: #050607;
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media img {
  object-fit: cover;
  object-position: 62% 55%;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 4, 6, 0.9) 0%, rgba(3, 4, 6, 0.7) 38%, rgba(3, 4, 6, 0.25) 75%, rgba(3, 4, 6, 0.15) 100%),
    linear-gradient(180deg, rgba(3, 4, 6, 0.35) 0%, transparent 35%, rgba(3, 4, 6, 0.85) 100%);
}
.hero__content {
  display: grid;
  gap: 14px;
  max-width: 820px;
  padding: clamp(24px, 5vw, 64px);
  padding-bottom: clamp(28px, 5vw, 56px);
}
.hero__eyebrow {
  color: var(--ca-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.hero__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.02;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.hero__lede {
  margin: 0;
  max-width: 34em;
  color: #ece6da;
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.hero__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 220ms cubic-bezier(0.34, 1.36, 0.64, 1);
}
.hero__btn:hover { transform: translateY(-2px); }
.hero__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hero__btn--gold {
  background: linear-gradient(135deg, #ffd36e, var(--ca-gold));
  color: #1a1203;
  box-shadow: var(--dg-elev-2);
}
@media (max-width: 600px) {
  .hero { height: auto; min-height: 460px; }
  .hero__media img { object-position: 70% 50%; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(3, 4, 6, 0.55) 0%, rgba(3, 4, 6, 0.6) 40%, rgba(3, 4, 6, 0.92) 100%);
  }
  .hero__actions { display: grid; }
  .hero__btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__btn { transition: none; }
}

/* =====================================================================
 * ColoradoGambler content (added 2026-10-02): hero quiz banner + featured
 * lead, and the "From the ColoradoGambler desk" area (cg-content.js/.css).
 * ===================================================================== */
:root { --cgc-display: var(--font-display); --cgc-gold: var(--gold); --cgc-gold-2: var(--gold-bright); }
.hero { grid-template-columns: minmax(0, 1fr); height: clamp(420px, 64vh, 620px); }
.hero__lead { display: grid; gap: 12px; align-content: end; padding: 0 clamp(24px, 5vw, 64px) clamp(28px, 5vw, 56px); }
@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); }
  .hero__lead { align-self: end; padding-left: 0; }
}
@media (max-width: 999px) {
  .hero { height: auto; min-height: 460px; align-content: end; }
  .hero__content { padding-bottom: 16px; }
}
.cg-desk {
  position: relative;
  display: grid;
  gap: clamp(44px, 6vw, 72px);
  width: min(100% - 32px, 1280px);
  margin: clamp(40px, 6vw, 80px) auto 0;
  padding: clamp(28px, 4vw, 48px) 0;
  isolation: isolate;
}
.cg-desk::before {
  content: "";
  position: absolute;
  inset: 0 -50vw;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 15% 10%, rgba(215, 180, 93, 0.16), transparent 70%),
    radial-gradient(50% 40% at 85% 45%, rgba(88, 60, 190, 0.2), transparent 70%),
    radial-gradient(60% 40% at 30% 90%, rgba(20, 120, 140, 0.16), transparent 70%);
  pointer-events: none;
}
.cg-desk__sec { display: grid; gap: 10px; min-width: 0; scroll-margin-top: 80px; }
.cg-desk__sec > [data-cg] { margin-top: 10px; min-width: 0; }
.cg-desk__eyebrow { color: var(--gold); font: 700 0.8rem/1.2 var(--font-ui); letter-spacing: 0.2em; text-transform: uppercase; }
.cg-desk__h { margin: 0; color: #fff; font: 700 clamp(1.7rem, 3.4vw, 2.6rem)/1.05 var(--font-display); letter-spacing: 0.02em; }
.cg-desk__lede { margin: 0; max-width: 46em; color: #d9d3c7; font: 500 1.08rem/1.4 var(--font-ui); }
.cg-desk__banner { margin-bottom: 8px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }
.cg-desk__banner img { display: block; width: 100%; height: auto; }
