
  html {
    background: #1c1410 !important;
    color: #241910 !important;
    font-family: "Figtree", "Segoe UI", sans-serif !important;
  }
  html::before {
    content: "";
    position: fixed;
    inset: -28px;
    z-index: 0;
    pointer-events: none;
    background-image: var(--room);
    background-size: cover;
    background-position: center 62%;
    background-repeat: no-repeat;
    filter: blur(9px) saturate(1.22) brightness(.84);
    transform: scale(1.04);
  }
  html::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(28, 20, 16, .62) 0%, rgba(28, 20, 16, .18) 16%, rgba(255, 248, 238, .62) 34%, rgba(255, 246, 234, .78) 100%),
      radial-gradient(720px 420px at 80% 0%, rgba(196, 163, 106, .28), transparent 62%);
  }
  body, #root {
    background: transparent !important;
    color: #241910 !important;
    position: relative;
    z-index: 1;
    min-height: 100%;
  }
  .font-display {
    font-family: "Fraunces", Georgia, serif !important;
    font-weight: 560 !important;
    letter-spacing: -0.03em !important;
  }
  .bg-\[\#03050a\],
  .h-dvh.bg-\[\#03050a\] {
    background: transparent !important;
  }
  .atelier {
    max-width: none !important;
    width: 100% !important;
    height: 100dvh !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #241910;
  }
  .atelier > .pointer-events-none.absolute.inset-0 { display: none !important; }
  .atelier > header {
    grid-column: 1;
    grid-row: 1;
    background: #1c1410;
    border-bottom: 0 !important;
    box-shadow: inset 0 -2px 0 #c4a36a, 0 14px 28px rgba(20, 12, 8, .28);
    padding-inline: 22px !important;
    backdrop-filter: blur(16px);
  }
  .atelier > header .text-amber-100 { color: #f6efe2 !important; }
  .atelier > header .text-slate-400 { color: #d9cbb6 !important; }
  .atelier > header .text-amber-200 { color: #e8d5a8 !important; }
  .atelier > header .bg-slate-950\/70 {
    background: rgba(255, 246, 230, .1) !important;
    border-color: rgba(232, 213, 168, .45) !important;
    color: #f6efe2 !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(16, 40, 38, .08) !important;
  }
  .atelier > header .bg-gradient-to-br {
    background-image: linear-gradient(145deg, #f4e6c8, #c4a36a 58%, #8d6840) !important;
    background-color: #c4a36a !important;
    color: #1c1410 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 18px rgba(16, 70, 66, .32), inset 0 1px 0 rgba(255,255,255,.35) !important;
  }
  .atelier > div.relative.z-20.overflow-hidden {
    grid-column: 1;
    grid-row: 2;
    background: #241910 !important;
    border: 0 !important;
  }
  .atelier > div.relative.z-20.overflow-hidden .text-amber-100\/90 {
    color: #f6f1e4 !important;
  }
  .atelier > main {
    grid-column: 1;
    grid-row: 3;
    background: transparent;
  }
  .atelier > nav {
    grid-column: 1;
    grid-row: 4;
    align-self: stretch;
    background: #1c1410 !important;
    border: 0 !important;
    border-top: 1px solid rgba(196, 163, 106, .55) !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
    box-shadow: 0 -10px 30px rgba(10, 28, 30, .22);
  }
  .atelier > nav > .grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    height: 64px !important;
    gap: 0;
    padding-top: 0;
  }
  .atelier > nav button {
    height: 64px !important;
    min-height: 0;
    color: #e7dcc8 !important;
    border-radius: 0 !important;
    font-size: 11px !important;
    line-height: 1.2;
    padding: 6px 4px;
    border-top: 3px solid transparent;
  }
  .atelier > nav button.text-amber-300 {
    color: #1c1410 !important;
    background: #f6efe2 !important;
    border-top-color: #c4a36a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  }
  .atelier main section.relative.flex {
    min-height: 300px !important;
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 40px rgba(16, 32, 30, .22) !important;
  }
  .atelier main section.relative.flex img {
    filter: saturate(1.05) contrast(1.04) brightness(1.02);
  }
  .atelier main .grid.grid-cols-2.gap-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .atelier main .grid.grid-cols-2.gap-3 > .col-span-2 {
    grid-column: 1 / -1 !important;
  }
  .atelier main .grid.grid-cols-2.gap-3 > button:nth-child(3n+1) {
    box-shadow: inset 0 0 0 2px rgba(28, 124, 120, .55), 0 12px 28px rgba(16, 32, 30, .16) !important;
  }
  .atelier main .grid.grid-cols-2.gap-3 > button:nth-child(3n+2) {
    box-shadow: inset 0 0 0 2px rgba(196, 98, 45, .5), 0 12px 28px rgba(16, 32, 30, .16) !important;
  }
  .atelier main .grid.grid-cols-2.gap-3 > button:nth-child(3n) {
    box-shadow: inset 0 0 0 2px rgba(196, 154, 64, .62), 0 12px 28px rgba(16, 32, 30, .16) !important;
  }
  .atelier main .no-scrollbar.overflow-x-auto {
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
  .atelier main .no-scrollbar button:not(.bg-amber-400):nth-child(1) { background: #1c1410 !important; color: #f6efe2 !important; border-color: #1c1410 !important; }
  .atelier main .no-scrollbar button:not(.bg-amber-400):nth-child(2) { background: #c4a36a !important; color: #1c1410 !important; border-color: #c4a36a !important; }
  .atelier main .no-scrollbar button:not(.bg-amber-400):nth-child(3) { background: #0f6e56 !important; color: #f4fff8 !important; border-color: #0f6e56 !important; }
  .atelier main .no-scrollbar button:not(.bg-amber-400):nth-child(4) { background: #1e3a5f !important; color: #f4f7fb !important; border-color: #1e3a5f !important; }
  .atelier main .no-scrollbar button:not(.bg-amber-400):nth-child(5) { background: #8c4a2f !important; color: #fff6ee !important; border-color: #8c4a2f !important; }
  .atelier main .no-scrollbar button:not(.bg-amber-400):nth-child(6) { background: #1a5c3a !important; color: #f3fff6 !important; border-color: #1a5c3a !important; }
  .atelier main .no-scrollbar button:not(.bg-amber-400):nth-child(7) { background: #a7843e !important; color: #1c1410 !important; border-color: #a7843e !important; }
  .atelier main .no-scrollbar button:not(.bg-amber-400):nth-child(8) { background: #3d2a22 !important; color: #f6efe2 !important; border-color: #3d2a22 !important; }
  .atelier main .no-scrollbar button:not(.bg-amber-400):nth-child(9) { background: #8d6840 !important; color: #fff8ee !important; border-color: #8d6840 !important; }
  .atelier main .no-scrollbar button:not(.bg-amber-400):nth-child(10) { background: #1f5f73 !important; color: #f3fbff !important; border-color: #1f5f73 !important; }
  .atelier main .no-scrollbar button:not(.bg-amber-400):nth-child(11) { background: #4d6b2f !important; color: #f7fff0 !important; border-color: #4d6b2f !important; }
  .atelier main section.space-y-2 > div.space-y-2 > button:nth-child(4n+1) { border-left: 4px solid #0f8f86 !important; background: #eefaf7 !important; }
  .atelier main section.space-y-2 > div.space-y-2 > button:nth-child(4n+2) { border-left: 4px solid #f0b429 !important; background: #fff8e8 !important; }
  .atelier main section.space-y-2 > div.space-y-2 > button:nth-child(4n+3) { border-left: 4px solid #2457a6 !important; background: #f2f6fd !important; }
  .atelier main section.space-y-2 > div.space-y-2 > button:nth-child(4n) { border-left: 4px solid #d4652a !important; background: #fff4ee !important; }
  .atelier .rounded-3xl { border-radius: 18px !important; }
  .atelier .rounded-2xl { border-radius: 16px !important; }
  .atelier .rounded-xl { border-radius: 14px !important; }
  .atelier main button.press.relative {
    color: #f6efe4 !important;
    border-radius: 16px !important;
    border-color: transparent !important;
  }
  .atelier main button.press.relative img {
    filter: saturate(1.12) contrast(1.05) brightness(1.04);
  }
  .atelier main button.press.relative .text-slate-300 { color: #f0e6d4 !important; }
  .atelier main button.press.relative .text-amber-300 { color: #ffe0a8 !important; }
  .atelier main button.press.relative .bg-rose-500 {
    background: #12a36a !important;
    background-image: none !important;
    color: #f4fff8 !important;
  }
  .atelier main button.press.relative .bg-amber-400 {
    background: #e36a1c !important;
    background-image: none !important;
    color: #fff8f3 !important;
  }
  .atelier main h2.font-display { color: #1a2744 !important; }
  .atelier main .grid.grid-cols-3 > .panel:nth-child(1) {
    background: #fff8ee !important;
    border-color: #e4d2b0 !important;
  }
  .atelier main .grid.grid-cols-3 > .panel:nth-child(2) {
    background: #f8edd4 !important;
    border-color: #e2c07a !important;
  }
  .atelier main .grid.grid-cols-3 > .panel:nth-child(3) {
    background: #f4f1ea !important;
    border-color: #d9cfc0 !important;
  }
  .atelier main section.panel > div:nth-child(2) { box-shadow: inset 3px 0 0 #c4923a; }
  .atelier main section.panel > div:nth-child(3) { box-shadow: inset 3px 0 0 #1c7c78; }
  .atelier main section.panel > div:nth-child(4) { box-shadow: inset 3px 0 0 #2d5f99; }
  .atelier main section.panel > div:nth-child(5) { box-shadow: inset 3px 0 0 #c4622d; }
  .atelier main section.panel > div:nth-child(6) { box-shadow: inset 3px 0 0 #1b7a52; }
  .atelier main section.panel > div:nth-child(7) { box-shadow: inset 3px 0 0 #b86a32; }
  .atelier main section.panel > div:nth-child(8) { box-shadow: inset 3px 0 0 #5a548c; }
  .atelier main section.panel > div:nth-child(9) { box-shadow: inset 3px 0 0 #c4a03a; }
  .atelier main section.panel > div:nth-child(10) { box-shadow: inset 3px 0 0 #1a7f96; }
  .atelier main section.panel > div:nth-child(11) { box-shadow: inset 3px 0 0 #5a8a28; }
  .atelier main .text-amber-100 { color: #1c2c2a !important; }
  .atelier main .text-amber-200 { color: #b8612e !important; }
  .atelier main .text-slate-300 { color: #4e5c59 !important; }
  .atelier main .text-slate-400,
  .atelier main .text-slate-500 { color: #5c6a66 !important; }
  .atelier .panel {
    background: rgba(255, 250, 244, .94) !important;
    border: 1px solid rgba(196, 163, 106, .38) !important;
    box-shadow: 0 12px 28px rgba(16, 40, 38, .08), inset 0 1px 0 rgba(255,255,255,.85) !important;
    color: #241910 !important;
    backdrop-filter: blur(10px);
  }
  .atelier .gold-text {
    color: #8d6840 !important;
    background: none !important;
    -webkit-text-fill-color: #8d6840 !important;
  }
  .atelier .bg-amber-400,
  .atelier .bg-amber-400.text-slate-950,
  .atelier .bg-amber-500 {
    background-color: #1c1410 !important;
    background-image: none !important;
    color: #f6efe2 !important;
  }
  .atelier .bg-amber-400\/10,
  .atelier .bg-amber-400\/5 {
    background-color: rgba(224, 177, 90, .28) !important;
  }
  .atelier .border-amber-400\/20,
  .atelier .border-amber-400\/30,
  .atelier .border-amber-300\/40,
  .atelier .border-white\/10,
  .atelier .border-white\/15 {
    border-color: rgba(140, 108, 64, .32) !important;
  }
  .atelier .bg-white\/5,
  .atelier .bg-white\/10 {
    background-color: rgba(255, 252, 246, .84) !important;
  }
  .atelier .sheet,
  .atelier .bg-\[\#070b16\]\/95,
  .atelier .bg-\[\#0b1220\]\/95 {
    background: #fbf8f2 !important;
    color: #1c2422 !important;
    border-color: rgba(140, 108, 64, .32) !important;
    box-shadow: 0 18px 40px rgba(16, 32, 30, .16) !important;
  }
  .atelier .sheet .text-slate-300,
  .atelier .sheet .text-slate-400,
  .atelier .sheet .text-slate-500,
  .atelier .sheet .text-cyan-50,
  .atelier .sheet .text-cyan-100,
  .atelier .sheet .text-cyan-200,
  .atelier .sheet .text-amber-50,
  .atelier .sheet .text-amber-200 {
    color: #3e4c49 !important;
  }
  .atelier .sheet .bg-black\/40,
  .atelier .sheet .bg-slate-950,
  .atelier .sheet .bg-slate-950\/80,
  .atelier .sheet .bg-slate-950\/70,
  .atelier .sheet .bg-white\/5 {
    background: #f3f6f4 !important;
    color: #1c2422 !important;
  }
  .atelier .pop {
    background: #1c1410 !important;
    color: #f6f3ea !important;
    border: 0 !important;
    border-radius: 999px !important;
  }
  .atelier .pop .text-amber-50 { color: #f6f3ea !important; }
  .atelier input,
  .atelier textarea,
  .atelier select {
    background: #fffdf8 !important;
    color: #1c2422 !important;
    border-color: rgba(140, 108, 64, .4) !important;
  }
  .atelier .from-amber-200.to-amber-500 {
    background-image: linear-gradient(180deg, #2a211c, #1c1410) !important;
    background-color: #1c1410 !important;
    color: #f6efe2 !important;
    box-shadow: 0 10px 22px rgba(140, 96, 28, .22), inset 0 1px 0 rgba(255,255,255,.55) !important;
  }
  .atelier button.bg-white\/5.text-slate-100 {
    color: #1c2c2a !important;
    background: rgba(255, 252, 246, .9) !important;
    border-color: rgba(140, 108, 64, .4) !important;
  }
  .atelier .bg-slate-900\/70,
  .atelier .bg-slate-950\/80 {
    background-color: rgba(255, 252, 246, .94) !important;
    border-color: rgba(28, 124, 120, .22) !important;
  }
  .atelier main .text-emerald-300 { color: #1b7a52 !important; }
  .atelier main .text-rose-300,
  .atelier main .text-rose-200 { color: #b8612e !important; }
  .atelier .from-amber-400.to-emerald-400 {
    background-image: linear-gradient(90deg, #e0b15a, #1b7a52) !important;
  }
  .atelier .bg-rose-500,
  .atelier .bg-rose-700 {
    background-color: #12a36a !important;
    background-image: none !important;
    color: #f4fff8 !important;
  }
  .atelier main button.rounded-full,
  .atelier main span.rounded-full {
    border-radius: 999px !important;
  }
  .atelier main section.relative.flex > div.relative.mt-auto {
    background: #fff8ee !important;
    border: 1px solid #e4d2b0 !important;
    color: #1c1410 !important;
    box-shadow: 0 12px 28px rgba(28, 20, 16, .2);
  }
  .atelier main section.relative.flex > div.relative.mt-auto .font-display {
    color: #1c1410 !important;
  }
  .atelier main section.relative.flex > div.relative.mt-auto [class*="tracking-"] {
    color: #8d6840 !important;
  }
  .atelier main section.relative.flex > div.relative.mt-auto p {
    color: #5c5348 !important;
  }
  .atelier main section.relative.flex > div.relative.mt-auto .rounded-full {
    background: #1a7a52 !important;
  }
  .atelier main .bg-slate-800,
  .atelier main .bg-slate-900:not(.aspect-\[16\/9\]),
  .atelier main .bg-slate-900\/50,
  .atelier main .bg-slate-900\/60,
  .atelier main .bg-slate-900\/70,
  .atelier main .bg-slate-950:not(.pop),
  .atelier main .bg-slate-950\/70,
  .atelier main .bg-slate-950\/80,
  .atelier .sheet {
    background-color: #fffaf4 !important;
    color: #241910 !important;
  }
  .atelier main .text-slate-100,
  .atelier main .text-slate-200,
  .atelier main .text-slate-300,
  .atelier main .text-slate-400,
  .atelier main .text-slate-500,
  .atelier main .text-slate-600,
  .atelier main .text-amber-50,
  .atelier main .text-cyan-50,
  .atelier main .text-cyan-100,
  .atelier main .text-cyan-100\/80,
  .atelier main .text-cyan-200,
  .atelier main .text-cyan-200\/80 {
    color: #2c261f !important;
  }
  .atelier main .text-emerald-100,
  .atelier main .text-emerald-100\/80,
  .atelier main .text-emerald-200,
  .atelier main .text-emerald-300 {
    color: #146b45 !important;
  }
  .atelier main button.press.relative,
  .atelier main button.press.relative .text-slate-100,
  .atelier main button.press.relative .text-slate-200,
  .atelier main button.press.relative .text-slate-300,
  .atelier main button.press.relative .text-slate-400,
  .atelier main button.press.relative .text-slate-500,
  .atelier main button.press.relative .text-white {
    color: #f7f1e6 !important;
  }
  .atelier main button.press.relative .text-amber-200,
  .atelier main button.press.relative .text-amber-300 {
    color: #ffe0a8 !important;
  }
  .atelier main .bg-black\/20,
  .atelier main .bg-black\/30,
  .atelier main .bg-black\/40 {
    background-color: #efe6d6 !important;
    color: #241910 !important;
  }
  .atelier main .text-amber-200,
  .atelier main .gold-text {
    color: #7a3e16 !important;
    -webkit-text-fill-color: #7a3e16 !important;
  }
  .atelier .bg-black\/50,
  .atelier .bg-black\/55,
  .atelier .bg-black\/60,
  .atelier .bg-black\/70,
  .atelier .bg-black\/50 .text-slate-200,
  .atelier .bg-black\/55 .text-slate-300,
  .atelier .bg-black\/60 .text-slate-200,
  .atelier .bg-black\/60 .text-slate-300,
  .atelier .bg-black\/60 .text-slate-400,
  .atelier .bg-black\/60 .text-white {
    color: #f6efe2 !important;
  }
    .atelier .race-board {
    background: #fffaf4 !important;
    color: #241910 !important;
    border: 1px solid #e4d2b0 !important;
  }
  .atelier .race-board .race-kicker { color: #8d6840 !important; letter-spacing: 0.22em; }
  .atelier .race-board .race-note { color: #5c5348 !important; }
  .atelier .race-board .race-clock { color: #1c1410 !important; }
  .atelier .race-board .race-you { background: #efe6d6 !important; }
    .atelier .live-row { scrollbar-width: none; }
  .atelier .live-row::-webkit-scrollbar { display: none; }
  .atelier .live-filters .live-label { color: #8d6840 !important; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
  .atelier .live-filters button { background: #fffaf4 !important; color: #241910 !important; border: 1px solid #e4d2b0 !important; }
  .atelier .live-filters button.on { background: #1c1410 !important; color: #f6efe2 !important; border-color: #1c1410 !important; }
    .atelier .pitch-pick { background: #fffaf4 !important; color: #241910 !important; border: 1px solid #e4d2b0 !important; }
  .atelier .pitch-pick.on { background: #1c1410 !important; color: #f6efe2 !important; border-color: #1c1410 !important; }
  .atelier .pitch-pick .pitch-kicker { color: #8d6840 !important; }
  .atelier .pitch-pick.on .pitch-kicker { color: #c4a36a !important; }
  .atelier main .pitch-board { background: #1c1410 !important; color: #f6efe2 !important; border: 1px solid #c4a36a !important; }
  .atelier main .pitch-board .pitch-kicker { color: #c4a36a !important; }
  .atelier main .pitch-board .pitch-score { color: #f4e6c8 !important; font-size: 32px; line-height: 1; }
  .atelier main .pitch-board button.press { background: #2a2118 !important; color: #f6efe2 !important; border-color: #8d6840 !important; }
  .atelier main .pitch-board button.bg-amber-400 { background: #f4e6c8 !important; color: #1c1410 !important; border-color: #f4e6c8 !important; }
  .safari-stage { background:#1c1410 !important; overflow:hidden !important; display:flex !important; align-items:center !important; justify-content:center !important; padding:16px !important; }
  .safari-stage > img.safari-photo { position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; object-fit:cover !important; pointer-events:none !important; }
  .safari-stage > .safari-film { position:absolute !important; inset:0 !important; background:rgba(28,20,16,.46) !important; pointer-events:none !important; }
  .atelier [aria-labelledby="safari-prompt-title"] {
    background: #1c1410 !important;
    color: #f6efe2 !important;
    border: 1px solid #c4a36a !important;
  }
  .atelier #safari-prompt-title { color: #f6efe2 !important; }
  .atelier [aria-labelledby="safari-prompt-title"] button.press {
    background: #f4e6c8 !important;
    color: #1c1410 !important;
    border: 0 !important;
  }
@media (max-width: 760px) {
    .atelier main .grid.grid-cols-2.gap-3 {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
  }
