:root {
  --cream: #020c22;
  --paper: #fff;
  --ink: #f3f7ff;
  --muted: #a9bad8;
  --green: #0c1a38;
  --green-dark: #040f29;
  --gold: #ffd109;
  --rust: var(--gold);
  --yellow: var(--gold);
  --gold-soft: #a99b5b;
  --navy-panel: #0b1938;
  --brand-border: #ffd1094d;
  --neutral-border: #ffffff26;
}

body { background: var(--cream); }
.scene-background::after {
  background: linear-gradient(90deg, #020c22c9, #040f2940 60%, #020c227a),
    linear-gradient(0deg, #020c22c9, #040f2912 55%, #040f294d);
}
.site-header, .site-footer { border-color: var(--brand-border); }
.site-header .brand-logo {
  width: 200px;
  aspect-ratio: 3 / 1;
  background: transparent;
  border-radius: 0;
}
.site-header .brand-logo img { width: 100%; max-width: 100%; top: 0; transform: none; }
@media (max-width: 760px) { .site-header .brand-logo { width: 156px; } }
@media (max-width: 374px) { .site-header .brand-logo { width: 136px; } }

button:focus-visible, a:focus-visible, select:focus-visible {
  outline-color: var(--gold);
  box-shadow: 0 0 0 5px #040f29;
}
.intro-copy, .eyebrow, .header-caption, .header-actions .icon-button, .help-button, .table-note,
.selection-hint, .site-footer, .step, .quiet-button { color: var(--muted); }
.header-actions .icon-button:hover, .help-button:hover, .quiet-button:hover,
.site-footer strong, .step.active, .table-shuffle, .resume-banner button { color: var(--gold); }
.table-shuffle:hover:not(:disabled) { color: #fff; }
.step b { border-color: var(--neutral-border); }
.step.active b { background: var(--gold); border-color: var(--gold); color: #020c22; }
.step-line { background: var(--neutral-border); }
.small-dot { background: var(--gold); }
.holiday-toggle { background: #0b1938eb; color: #f3f7ff; border-color: var(--brand-border); }
.holiday-toggle[aria-pressed="true"] { background: #1a2d57; color: var(--gold); }
.holiday-toggle:hover:not(:disabled) { border-color: var(--gold); }

.felt { background: linear-gradient(115deg, #020c22f5, #102349f0 50%, #020c22f5); }
.casival-theme .selection-table {
  background: radial-gradient(ellipse at 50% 42%, #253b738c, transparent 68%),
    linear-gradient(120deg, #020c22f5, #152950f5, #020c22f5);
  border-color: var(--brand-border);
  box-shadow: inset 0 0 0 5px #06132f, inset 0 0 0 6px #ffd10933, 0 20px 55px #0006;
}
.selection-table::after, .table-corner { border-color: var(--brand-border); }
.casival-theme .table-label { color: #fff; }
.status-dot { box-shadow: 0 0 0 4px #ffd10926; }
.pick-card, .pick-card:not(:disabled):is(:hover, :focus-visible) { filter: drop-shadow(0 7px 9px #0009); }
.casival-theme .card-back {
  --card-pattern: repeating-linear-gradient(45deg, transparent 0 7px, #ffd10924 7px 8px),
    repeating-linear-gradient(-45deg, transparent 0 7px, #ffd1091a 7px 8px);
  border-color: var(--gold);
  background: var(--card-pattern), radial-gradient(ellipse at 50% 20%, #1e4385, #020c22);
  box-shadow: inset 0 0 0 2px #0c1a38, inset 0 0 0 3px #b29325;
}
.casival-theme .pick-card:nth-child(3n+1) .card-back {
  background: var(--card-pattern), radial-gradient(ellipse at 50% 20%, #38206c, #160f35);
}
.casival-theme .pick-card:nth-child(3n+2) .card-back {
  background: var(--card-pattern), radial-gradient(ellipse at 50% 20%, #144f9c, #0b1938);
}
.card-back::before { border-color: var(--brand-border); }
.card-back::after, .card-back .back-corner, .card-choice-index { color: var(--gold); }
.casival-theme .card-medallion {
  color: #fff;
  background: radial-gradient(ellipse at 50% 25%, #182b57, #020c22);
  border-color: var(--gold-soft);
  outline-color: var(--brand-border);
  box-shadow: 0 0 18px #ffd1091a;
}
.card-medallion small:last-child { color: var(--gold); }
.casival-theme .primary-button {
  background: var(--gold);
  border-color: #ffe46b;
  color: #020c22;
  box-shadow: 0 3px 0 #9a7611, inset 0 1px #fff1ae;
}
.casival-theme .primary-button:hover:not(:disabled) { background: #ffe46b; }

.casival-theme .draw-panel {
  background: linear-gradient(145deg, #15274cf5, #020c22f5 75%);
  border-color: var(--brand-border);
  box-shadow: 0 14px 35px #0005;
}
.player-panel::before, .number-board-section::before { background: #020c22ef; border-color: var(--brand-border); }
.draw-message, .draw-topline > span:last-child, .auto-toggle, .recent-draws > span, .recent-empty,
.player-topline .eyebrow, .card-serial, .marker-hint p, .marker-hint p span, .marked-count,
.achievement strong, .achievement > div > span, .board-heading > div > span { color: var(--muted); }
.draw-eyebrow, .marked-count strong, .marker-hint strong, .achievement.complete strong { color: var(--gold); }
.casival-theme .number-ball { box-shadow: 0 8px 18px #0006; }
.casival-theme .number-ball #current-number { color: #fff; }
.switch-track { background: #5a5a5a; }
.switch-track span { background: #e2e2e2; }
.auto-toggle[aria-pressed=true] .switch-track { background: var(--gold); }
.auto-toggle[aria-pressed=true] .switch-track span { background: #020c22; }
#draw-speed, #draw-speed option { background: #020c22; color: #fff; border-color: var(--neutral-border); }
.recent-draws, .achievement-track { border-color: var(--neutral-border); }
.recent-number, .achievement-icon { border-color: var(--neutral-border); color: #f2f2f2; }
.recent-number:first-child, .achievement.complete .achievement-icon {
  background: var(--gold); border-color: var(--gold); color: #020c22;
}

.ticket-wrap::before { background: #917823; border-color: var(--gold-soft); }
.tombala-ticket, .reveal-area .tombala-ticket { background: #fff; border-color: var(--gold-soft); color: #0c1a38; }
.casival-theme .ticket-header {
  background: linear-gradient(105deg, #0b1938, #383125 65%, #0b1938);
  border-bottom-color: var(--gold);
  color: #fff;
}
.ticket-brand span { color: var(--gold); }
.ticket-grid, .ticket-cell { background-color: #fff; border-color: #bfbab1; }
.ticket-cell { color: #0c1a38; }
.ticket-cell.empty {
  background-color: #f1efea;
  background-image: repeating-linear-gradient(45deg, transparent 0 3px, #30241310 3px 4px);
}
.ticket-cell.empty::after { color: #695a3f55; }
.ticket-cell[data-number]:not(.marked):hover { background: #fff3c5; }
.ticket-cell.available:not(.marked) { color: #775600; }
.ticket-cell.available:not(.marked)::after { background: #856100; }
.ticket-cell.marked::before { background: #ffd109d9; }
.ticket-cell:focus-visible { box-shadow: inset 0 0 0 3px #755600; }
.ticket-footer { color: #625e57; }
.marker-icon { background: #ffd10924; color: var(--gold); }

.board-number, .board-legend i { background: #262626; border-color: var(--neutral-border); color: #a9bad8; }
.board-number.drawn, .board-legend .drawn-legend { background: #e9e4d4; border-color: #e9e4d4; color: #020c22; }
.board-number.marked, .board-legend .marked-legend { background: var(--gold); border-color: var(--gold); color: #020c22; }
.board-number.latest { outline-color: #020c22; box-shadow: 0 0 0 2px #fff4c4; }

.modal, .toast, .round-rules, .resume-banner { background: #0c1a38; border-color: var(--brand-border); color: #f3f7ff; }
.modal::backdrop { background: #020c22cc; }
.casival-theme .win-modal { background: radial-gradient(ellipse at top, #25204b, #0b1938 65%); border-color: var(--brand-border); }
.modal .eyebrow, .modal-close, .rules p, .small-modal > p, .win-modal p,
.round-rules small, .reward-unearned { color: var(--muted); }
.rules strong, .rules li > b, .reward-total, .show-result { color: var(--gold); }
.reward-breakdown, .reward-breakdown li { border-color: var(--neutral-border); }
.member-form {
  display: grid;
  gap: 8px;
  width: min(100%, 24rem);
  color: #f3f7ff;
}
.member-form label { font-size: .875rem; font-weight: 600; }
.member-form input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ffffff59;
  border-radius: 6px;
  background: #06132f;
  color: #f3f7ff;
  font: inherit;
  font-size: 1rem;
}
.member-form input:focus-visible { outline-color: var(--gold); }
.member-form .reveal-actions { justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
.member-error { color: #ffb6a9; font-size: .875rem; line-height: 1.5; margin: 0; }
.celebration-reward:empty { display: none; }

@media (max-width: 760px) {
  .scene-background::after { background: linear-gradient(180deg, #020c2255, #040f2975 42%, #020c22b3); }
  .autoplay-control { border-top-color: var(--neutral-border); }
}

/* Casival Club: a deep blue table, glassy lottery balls and vivid playing cards. */
:root { --blue:#277efb; --pink:#ee00fe; --gold:#ffd109; --sans:'Segoe UI',Arial,sans-serif; --display:'Segoe UI',Arial,sans-serif; --line:#91b4fa26; }
body { font-size:16px; background:#020c22; background-image:none; }
body::before { opacity:.018; z-index:0; }
.scene-background { background:#020c22; overflow:hidden; }
.scene-background::after { background:linear-gradient(180deg,#020c2220,#020c2260)!important; }
.ambient-orb { position:absolute; width:800px; height:800px; border-radius:50%; pointer-events:none; }
.orb-blue { top:-380px; right:-160px; background:radial-gradient(circle,#277efb32,transparent 67%); }
.orb-pink { top:330px; left:-500px; background:radial-gradient(circle,#ee00fe1c,transparent 65%); }
.ambient-grid { position:absolute; inset:0; opacity:.13; background-image:linear-gradient(#8eaeeb35 1px,transparent 1px),linear-gradient(90deg,#8eaeeb35 1px,transparent 1px); background-size:90px 90px; mask-image:linear-gradient(#000,transparent 75%); }
.app-shell { position:relative; z-index:1; width:100%; max-width:1360px; min-height:100svh; display:flex; flex-direction:column; }
main { flex:1; min-width:0; }
.site-header { height:104px; position:relative; border-color:#5c82bd30; }
.site-header .brand-logo { width:196px; aspect-ratio:3/1; }
.site-header .brand-logo img { position:static; height:100%; object-fit:contain; }
.brand-game { color:#b7c9e9; border-color:#5274ab55; font:650 12px var(--sans); letter-spacing:3px; padding-left:20px; margin-right:auto; }
.header-actions { gap:14px; }
.help-button { font-size:14px; color:#d1def2; }
.header-actions .icon-button { border:1px solid #47628d50; color:#d1def2; background:#11213f66; }
.header-actions .icon-button:hover { background:#277efb33; }
.intro-row { padding:30px 0 24px; min-height:250px; gap:28px; }
.casival-eyebrow { display:block; color:#a6c7ff; font-size:12px; letter-spacing:3px; font-weight:700; margin-bottom:16px; }
h1 { font-family:var(--display); font-weight:750; font-size:clamp(40px,4.4vw,62px); letter-spacing:-2.5px; line-height:1.02; margin:0 0 18px; }
h1 em { font-style:normal; font-weight:750; color:#ffd109; }
.intro-copy { font-size:16px; line-height:1.6; color:#b1c3df; }
.casival-hero-art { width:400px; height:220px; flex-shrink:0; position:relative; margin-right:46px; perspective:800px; }
.hero-orbit { position:absolute; inset:30px -10px 0; border:1px solid #5a80c85e; border-radius:50%; transform:rotate(-14deg); box-shadow:0 0 35px #277efb0d; }
.hero-orbit::after { content:''; position:absolute; inset:23px -23px; border:1px dashed #ee00fe40; border-radius:50%; transform:rotate(-19deg); }
.hero-ticket { position:absolute; width:126px; height:165px; left:120px; top:20px; padding:26px 18px; border-radius:16px; border:1px solid #99bcff80; background:linear-gradient(140deg,#294b8c,#0b173c 75%); box-shadow:inset 0 0 0 6px #0c1a38,inset 0 0 0 7px #6a85bd77,0 24px 35px #0008; transform:rotate(-16deg); }
.hero-ticket img { width:88px; height:88px; object-fit:contain; border-radius:19px; }
.hero-ball { position:absolute; width:110px; height:110px; border-radius:50%; display:grid; place-items:center; background:radial-gradient(circle at 28% 22%,#8dd3ff,#277efb 46%,#0745ae 70%,#03245c); box-shadow:inset -7px -12px 15px #010b3d8c,inset 2px 3px 6px #ffffff8c,0 22px 22px #0006; animation:club-float 5s ease-in-out infinite; }
.hero-ball::before { content:''; position:absolute; width:48%; height:21%; top:10%; left:13%; border-radius:50%; background:linear-gradient(#ffffffa6,#ffffff08); transform:rotate(-28deg); }
.hero-ball span { background:radial-gradient(circle at 25% 15%,white,#dfebfc); width:54%; height:54%; border-radius:50%; display:grid; place-items:center; color:#102349; font-size:34px; font-weight:800; box-shadow:inset 0 2px 4px #0003; transform:rotate(-12deg); }
.ball-blue { left:28px; top:86px; z-index:3; }
.ball-pink { right:28px; top:10px; width:102px; height:102px; background:radial-gradient(circle at 28% 22%,#ffadf6,#ee00fe 46%,#9808bc 72%,#460567); animation-delay:-1.7s; }
.ball-yellow { right:61px; bottom:-3px; width:96px; height:96px; background:radial-gradient(circle at 28% 22%,#fff6ac,#ffd109 46%,#d99d00 72%,#725700); animation-delay:-3s; z-index:4; }
.ball-yellow span { font-size:28px; }
.hero-spark { position:absolute; color:#ffd109; font-size:25px; }
.spark-a { left:43px; top:16px; }.spark-b { right:-5px; bottom:44px; color:#b38cff; font-size:18px; }
@keyframes club-float { 50% { transform:translateY(-7px) rotate(4deg); } }
.round-rules { background:#0e204166; border:1px solid #4a6eaa40; border-radius:10px; font-size:14px; line-height:1.6; margin:0 0 20px; color:#bccce7; }
.casival-theme .selection-table { padding:27px 38px 22px; border:1px solid #618cdd66; border-radius:25px; background:radial-gradient(ellipse at 50% -15%,#264e9577,transparent 65%),linear-gradient(120deg,#10244c,#0d1b3d 75%); box-shadow:inset 0 0 0 5px #020c2270,inset 0 0 0 6px #456ba44d,0 24px 70px #0004; }
.selection-table::after { border-color:#7a9aca1f; inset:15px; border-radius:16px; }
.table-corner { display:none; }
.table-topline { padding:0 4px; }
.table-title { color:#e2ecff; font-weight:600; font-size:16px; }
.casival-theme .table-label { color:#9db5dc; font-size:12px; letter-spacing:1px; }
.card-deck { height:278px; }
.casival-theme .card-back { border:3px solid #7ab0ff; border-radius:12px; background:repeating-linear-gradient(45deg,transparent 0 10px,#8bb8ff12 10px 11px),linear-gradient(145deg,#2159b6,#0f2860); box-shadow:inset 0 0 0 3px #0c2052,inset 0 0 0 4px #72a7ff77,0 1px 0 #d9e7ff; }
.casival-theme .pick-card:nth-child(3n+1) .card-back { border-color:#dc6ef1; background:repeating-linear-gradient(-45deg,transparent 0 10px,#ffadf114 10px 11px),linear-gradient(145deg,#5c2583,#271148); box-shadow:inset 0 0 0 3px #29103f,inset 0 0 0 4px #c764dc66,0 1px 0 #f4b8ff; }
.casival-theme .pick-card:nth-child(3n+2) .card-back { background:repeating-linear-gradient(45deg,transparent 0 10px,#81c0ff14 10px 11px),linear-gradient(145deg,#185ca8,#102656); }
.card-back::before { inset:10px; border-color:#c5d8ff4d; border-radius:7px; }
.card-back::after,.card-back .back-corner { color:#e4c8ff; }
.casival-theme .card-medallion { width:85px; height:122px; border:0; outline:0; background:none; box-shadow:none; gap:8px; }
.card-medallion::before,.card-medallion::after,.card-ribbon { display:none; }
.card-medallion strong { display:block; width:56px; height:56px; }
.card-medallion strong img { width:100%; height:100%; border-radius:13px; }
.card-medallion small { font:700 12px var(--sans); letter-spacing:1.2px; color:#fff; }
.card-medallion small:last-child { font-size:9px; letter-spacing:2px; color:#c9d8f4; }
.table-bottomline { justify-content:center; }
.table-shuffle { font-size:14px; padding:10px 20px; background:#07163080; border:1px solid #6185ba44; border-radius:9px; color:#d2e2ff; }
.selection-bottom { justify-content:center; padding:26px 0 30px; }
.step { font-size:12px; letter-spacing:.5px; color:#8ba2c6; }.step b { font-size:11px; width:30px; height:30px; }
.step.active { color:#dfebff; }.step.active b { background:#277efb; border-color:#6ba6ff; color:#fff; }
.step-line { width:45px; background:#45689e66; }
.casival-theme .primary-button { border:1px solid #8ebaff; border-radius:10px; background:linear-gradient(130deg,#277efb,#165cd4); color:#fff; box-shadow:0 3px 0 #123b7c,inset 0 1px #b4d6ff55; font-size:16px; min-height:48px; }
.casival-theme .primary-button:hover:not(:disabled) { background:linear-gradient(130deg,#4492ff,#277efb); }
.casival-theme .primary-button:disabled { box-shadow:none; opacity:.55; }
.quiet-button { font-size:14px; }
.casival-theme .member-form { margin-top:4px; width:min(100%,410px); }
.member-form input { border:1px solid #5d7cae; background:#071733; border-radius:10px; min-height:48px; }
.member-form label { color:#d4e1f7; }.member-form .reveal-actions { gap:16px; }
.member-form .reveal-actions .primary-button { font-size:14px; }
.game-heading { min-height:65px; padding:16px 0; justify-content:flex-end; }
.game-layout { grid-template-columns:300px minmax(0,1fr); gap:28px; }
.casival-theme .draw-panel { background:radial-gradient(ellipse at top,#1e468766,transparent 70%),#0b1938; border-color:#4f74b360; border-radius:20px; box-shadow:0 15px 45px #0003; }
.player-panel::before,.number-board-section::before { background:#0b1938cc; border-color:#4f74b340; }
.ball-orbit { width:190px; height:190px; display:grid; place-items:center; margin:18px auto; }
.number-ball { position:relative; width:150px; height:150px; background:radial-gradient(circle at 26% 19%,#8ccfff,#277efb 44%,#1046ab 72%,#061b50); box-shadow:inset -10px -14px 22px #020c2270,inset 3px 4px 8px #b6dcff77,0 15px 25px #0007; }
.number-ball::before { content:''; width:70%; height:70%; top:15%; left:15%; border-radius:50%; border:2px solid #e9f4ff; background:radial-gradient(circle at 30% 20%,#fff,#e6efff 65%,#bbc9df); }
.number-ball::after { display:none; }
.casival-theme .number-ball #current-number { position:relative; z-index:2; color:#132b53; font-family:'Cinzel Numbers','Segoe UI',sans-serif; font-size:64px; font-weight:650; text-shadow:none; }
.draw-eyebrow { font-size:12px; }.draw-message { font-size:14px; }
.draw-topline .table-label,.draw-topline > span:last-child { font-size:12px; }
.auto-toggle { font-size:14px; }.recent-draws > span { font-size:11px; }
.ticket-wrap::before { background:#1c4990; border-color:#277efb; }
.tombala-ticket,.reveal-area .tombala-ticket { border:1px solid #91b6eb; border-radius:16px; background:#f2f6ff; color:#12244a; }
.casival-theme .ticket-header { background:linear-gradient(110deg,#193d79,#38215b); min-height:64px; color:white; border-color:#8daefa66; padding:14px 20px; display:flex; justify-content:space-between; align-items:center; }
.ticket-brand { font:750 16px var(--sans); letter-spacing:1px; }.ticket-brand span { color:#c4d5f5; font-size:11px; }
.ticket-brand-symbol { font:36px Georgia,serif; color:#ecbdff; line-height:1; }
.ticket-cell { font-family:'Cinzel Numbers','Segoe UI',sans-serif; background:#fff; color:#142b51; border-color:#b7c8e2; }
.ticket-cell.empty { background:#e2eaf8; background-image:repeating-linear-gradient(45deg,transparent 0 5px,#5678b212 5px 6px); }
.ticket-cell.empty::after { content:'♣'; color:#809bc55e; }
.ticket-cell.marked::before { background:#ffd109e0; }
.ticket-footer { color:#536685; }.ticket-footer span { font-size:10px; letter-spacing:.5px; }
.achievement strong { font-size:14px; }.achievement > div > span { font-size:12px; }
.achievement.complete .achievement-icon { background:#ee00fe; border-color:#f57eff; color:#fff; }
.achievement.complete strong { color:#f6a6ff; }
.board-heading h2 { font-size:21px; color:#e3edff; }.board-legend { color:#a9bad8; }
.board-number { background:#0c1d3d; border-color:#4265984d; color:#a3b8db; }
.board-number.drawn,.board-legend .drawn-legend { background:#277efb; border-color:#83b4ff; color:#fff; }
.board-number.marked,.board-legend .marked-legend { background:#ffd109; border-color:#ffe35d; color:#020c22; }
.board-number.latest { outline-color:#ee00fe; box-shadow:0 0 0 2px #ee00fe; }
.modal { border:1px solid #5d81be70; background:#0c1a38; border-radius:22px; max-height:calc(100dvh - 30px); overflow-y:auto; }
.modal h2 { font:750 32px/1.15 var(--display); letter-spacing:-1px; color:#fff; }
.modal .rules p,.modal > p,.small-modal > p { font-size:15px; color:#b2c5e4; }
.modal .rules strong { color:#e6efff; font-size:17px; }.rules li > b { color:#76afff; }
.casival-theme .win-modal { background:radial-gradient(ellipse at 50% 0,#54217566,transparent 65%),#0c1a38; border-color:#ee00fe60; padding-top:46px; }
.reward-total { color:#ffd109; font-weight:750; }.reward-total strong { font-family:'Segoe UI',Arial,sans-serif; font-weight:800; }
.reward-total > span { color:#dde8ff; }.reward-breakdown { color:#e1ebff; }
.reward-availability { font-size:14px; }
.site-footer { font-size:12px; border-color:#4a67954d; padding:20px 0; color:#93a9cb; }.site-footer strong { color:#e1eaff; font-size:13px; letter-spacing:2px; }
.footer-caption { margin-left:6px; letter-spacing:1px; color:#7f98c0; }
.holiday-toggle { font-size:12px; border-color:#4a67954d; background:#0c1a38; }.holiday-toggle[aria-pressed="true"] { color:#9cc5ff; background:#152950; }
@media(max-width:1100px) { .casival-hero-art { margin-right:0; transform:scale(.9); transform-origin:right center; width:350px; } .game-layout { grid-template-columns:270px minmax(0,1fr); gap:20px; } }
@media(max-width:760px) {
  .app-shell { padding-inline:20px; }.site-header { height:90px; gap:12px; }.site-header .brand-logo { width:148px; }.brand-game { display:none; }.header-actions { margin-left:auto; gap:8px; }.header-divider { display:none; }.help-button { width:44px; justify-content:center; padding:0; border:1px solid #47628d50; border-radius:50%; background:#11213f66; }.help-button span { display:none; }
  .intro-row { position:relative; padding:28px 0 25px; min-height:0; display:block; }.intro-row > div:first-child { position:relative; z-index:2; }.casival-eyebrow { font-size:10px; letter-spacing:2px; margin-bottom:14px; }h1,.intro-row h1 { font-size:40px; margin:0 0 13px; line-height:1.08; letter-spacing:-1.8px; }.intro-copy { max-width:240px; font-size:14px; line-height:1.65; }
  .casival-hero-art { position:absolute; right:-6px; top:24px; width:140px; height:145px; margin:0; transform:none; opacity:.55; pointer-events:none; }.hero-ticket,.hero-orbit,.ball-yellow,.hero-spark { display:none; }.hero-ball { width:70px; height:70px; }.hero-ball span { font-size:22px; }.ball-blue { left:0; top:72px; }.ball-pink { right:0; top:3px; }
  .round-rules { font-size:13px; padding:12px 14px; margin-bottom:16px; }.casival-theme .selection-table { padding:20px 18px 18px; border-radius:20px; }.table-topline { flex-wrap:wrap; gap:9px; }.table-title { font-size:15px; }.casival-theme .table-label { font-size:10px; letter-spacing:.8px; }.table-shuffle { font-size:13px; min-height:44px; }.table-bottomline { margin-top:10px; }
  .casival-theme .card-deck { height:auto; }.casival-theme .card-medallion { width:auto; height:auto; gap:7px; }.card-medallion strong { width:45px; height:45px; }.card-medallion small { font-size:10px; }.card-medallion small:last-child { font-size:8px; letter-spacing:1.4px; }.selection-bottom { padding:22px 0; }.step { font-size:10px; letter-spacing:.3px; }.step b { width:26px; height:26px; font-size:10px; }.step-indicator { gap:10px; }.step-line { width:12px; }
  .reveal-area { padding:20px 0 0; gap:18px; }.reveal-area .ticket-grid { margin-inline:10px; }.reveal-area .ticket-header { padding:11px; }.reveal-area .ticket-cell { font-size:22px; }.member-form .reveal-actions { flex-direction:column-reverse; align-items:stretch; gap:7px; }.member-form .reveal-actions > button { width:100%; }.member-form .reveal-actions .primary-button { font-size:15px; }
  .game-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:22px; }.game-heading { min-height:54px; padding:8px 0; }.casival-theme .draw-panel { padding:19px 17px; border-radius:17px; }.ball-orbit { width:112px; height:122px; margin:0; }.number-ball { width:103px; height:103px; }.casival-theme .number-ball #current-number { font-size:47px; }.draw-message { font-size:13px; line-height:1.4; }.draw-topline .table-label,.draw-topline > span:last-child { font-size:10px; }.auto-toggle { font-size:12px; }.recent-draws > span { font-size:10px; }.draw-eyebrow { font-size:10px; }.casival-theme .draw-button { min-height:44px; font-size:15px; }
  .casival-theme .ticket-header { padding:12px; min-height:59px; gap:10px; }.ticket-brand { font-size:14px; }.ticket-brand span { font-size:10px; }.ticket-brand-symbol { font-size:29px; }.ticket-footer span { font-size:9px; letter-spacing:0; }.achievement strong { font-size:12px; }.achievement > div > span { font-size:11px; }.board-heading h2 { font-size:19px; }.board-legend { font-size:11px; }.number-board { gap:7px; }.board-number { font-size:15px; }
  .site-footer { gap:12px; }.footer-caption { display:none; }.site-footer strong { font-size:12px; }.modal h2 { font-size:29px; }.modal .rules p { font-size:14px; }.modal { max-height:calc(100dvh - 24px); }
}
@media(max-width:374px) {
  .app-shell { padding-inline:15px; }.site-header .brand-logo { width:132px; }.site-header { height:82px; }.header-actions { gap:5px; }.header-actions .icon-button,.help-button { width:40px; min-width:40px; height:40px; min-height:40px; }
  h1,.intro-row h1 { font-size:36px; }.casival-hero-art { opacity:.25; right:0; }.casival-theme .selection-table { padding:18px 12px 15px; }.casival-theme .card-medallion { gap:5px; }.card-medallion strong { width:38px; height:38px; }.card-medallion small { font-size:9px; }.card-medallion small:last-child { font-size:7px; }.step { font-size:9px; }.step-indicator { gap:7px; }
  .casival-theme .draw-panel { padding:15px 12px; grid-template-columns:98px minmax(0,1fr); gap:12px; }.ball-orbit { width:98px; height:108px; }.number-ball { width:91px; height:91px; }.casival-theme .number-ball #current-number { font-size:42px; }.auto-toggle { font-size:11px; }.recent-number { width:25px; height:25px; }.board-number { font-size:14px; }.achievement strong { font-size:11px; }.reveal-area .ticket-cell { font-size:19px; }.casival-theme .ticket-header { padding-inline:10px; }.ticket-brand { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { .hero-ball { animation:none; } }
