/* عجلة الحظ — أثر · round 5 «light» theme (default). Athr light identity: white / mint #E3F4F2, charcoal #231F1F text,
 * teal #14A599 as the one accent, Cairo. styles.css still holds the round-4 dark look; everything here is scoped to
 * html[data-theme="light"] so the dark theme (admin → الإعدادات → المظهر) renders exactly as before. */

/* ---------------------------------------------------------------- theme switches (both themes) */
.title em { font-style: normal; }
.pointer svg, .pointer img { display: block; width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; }
.brand img.logo-dark, .brand img.logo-light { display: block; }
[data-theme="dark"] .t-light, [data-theme="dark"] .hub-art, [data-theme="dark"] .hub-shine, [data-theme="dark"] .deco,
[data-theme="dark"] .brand img.logo-light, [data-theme="dark"] .ptr-light, [data-theme="dark"] .wg-dim, [data-theme="dark"] .btn .spark { display: none !important; }
[data-theme="light"] .t-dark, [data-theme="light"] .brand img.logo-dark, [data-theme="light"] .ptr-dark, [data-theme="light"] .hub-logo { display: none !important; }

/* ---------------------------------------------------------------- tokens */
html[data-theme="light"] {
  --bg: #F3FAF9; --bg-2: #FFFFFF; --s1: #FFFFFF; --s2: #FFFFFF; --s3: #E3F4F2;
  --fg: #231F1F; --fg-2: rgba(35, 31, 31, .7); --fg-3: rgba(35, 31, 31, .5);
  --line: rgba(35, 31, 31, .08); --line-2: rgba(35, 31, 31, .15);
  --danger: #D2473E; --warn: #B7791F;
  --teal-glow: rgba(20, 165, 153, .32);
  --sh-card: 0 1px 2px rgba(15, 80, 74, .06), 0 24px 60px -24px rgba(15, 110, 102, .28);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  color-scheme: light;
}
[data-theme="light"] body { background: var(--bg); color: var(--fg); }

/* ---------------------------------------------------------------- backdrop: soft white → mint, a few floating glossy shapes */
[data-theme="light"] .bg { background: linear-gradient(180deg, #FFFFFF 0%, #F2FAF8 38%, #E3F4F2 100%); }
[data-theme="light"] .bg-img { background:
  radial-gradient(55vmax 40vmax at 82% 8%, rgba(43, 192, 179, .13), rgba(43, 192, 179, 0) 70%),
  radial-gradient(50vmax 40vmax at 10% 90%, rgba(20, 165, 153, .12), rgba(20, 165, 153, 0) 70%),
  radial-gradient(40vmax 30vmax at 20% 15%, rgba(255, 196, 160, .14), rgba(255, 196, 160, 0) 70%); }
[data-theme="light"] .bg-glow { background: none; }
.deco img { position: absolute; display: block; height: auto; will-change: transform; animation: float 9s ease-in-out infinite; }
.deco .d1 { width: clamp(70px, 9vmin, 150px); top: 6%; inset-inline-end: 50%; filter: blur(1.5px); opacity: .8; animation-duration: 11s; }
.deco .d2 { width: clamp(26px, 3.4vmin, 56px); top: 74%; inset-inline-start: 6%; animation-duration: 8s; animation-delay: -2s; }
.deco .d3 { width: clamp(44px, 6vmin, 96px); bottom: 6%; inset-inline-start: 44%; opacity: .9; animation-duration: 10s; animation-delay: -4s; }
.deco .d4 { width: clamp(30px, 4vmin, 64px); top: 30%; inset-inline-end: 3%; animation-duration: 9s; animation-delay: -6s; }
.deco .d5 { width: clamp(22px, 2.6vmin, 42px); top: 8%; inset-inline-end: 30%; filter: blur(1px); opacity: .75; animation-duration: 12s; }
.deco .d6 { width: clamp(30px, 4vmin, 70px); bottom: 10%; inset-inline-end: 4%; filter: blur(2px); opacity: .7; animation-duration: 10s; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0) rotate(4deg); } }
@media (orientation: portrait) {
  .deco .d1 { top: auto; bottom: 26%; inset-inline-start: -3%; width: clamp(56px, 13vw, 140px); }
  .deco .d2 { top: 17%; inset-inline-start: 5%; }
  .deco .d3 { display: none; }
  .deco .d4 { top: 13%; inset-inline-end: 6%; }
  .deco .d5 { top: 33%; inset-inline-end: 3%; }
  .deco .d6 { bottom: 30%; inset-inline-end: -2%; }
}

/* ---------------------------------------------------------------- top bar */
[data-theme="light"] .net { color: var(--fg-2); background: rgba(255, 255, 255, .85); border-color: var(--line-2); box-shadow: 0 6px 18px -10px rgba(15, 80, 74, .4); }
[data-theme="light"] .brand img { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .8)); }

/* ---------------------------------------------------------------- type */
[data-theme="light"] .title { color: var(--fg); letter-spacing: 0; }
[data-theme="light"] .title em { color: var(--teal); }
[data-theme="light"] .eyebrow { color: var(--fg-3); }
[data-theme="light"] .eyebrow.event { display: inline-flex; align-items: center; gap: .5em; padding: .3em 1em; border-radius: 99px; color: var(--teal-dk); background: rgba(20, 165, 153, .1);
  border: 1px solid rgba(20, 165, 153, .2); font-size: clamp(12px, 1.7vmin, 21px); }
[data-theme="light"] .eyebrow.event::before { content: ""; width: .55em; height: .55em; transform: rotate(45deg); border-radius: 2px; background: var(--teal); }
[data-theme="light"] .sub { color: var(--fg-2); }
[data-theme="light"] .sub.lined { color: var(--fg-3); font-weight: 700; }
[data-theme="light"] .sub.lined::before, [data-theme="light"] .sub.lined::after { display: none; }
[data-theme="light"] .hint { color: var(--fg-3); }
[data-theme="light"] .muted { color: var(--fg-2); }
[data-theme="light"] .fine { color: var(--fg-3); }
[data-theme="light"] .v-attract .eyebrow.event { order: -3; }
[data-theme="light"] .v-attract .sub, [data-theme="light"] .v-ready .eyebrow { order: -2; }
[data-theme="light"] .v-spinning .sub { order: -2; color: var(--fg-3); font-size: clamp(16px, 2.4vmin, 32px); }

/* ---------------------------------------------------------------- buttons: glossy teal pill */
[data-theme="light"] .btn { border-radius: 999px; transition: transform .16s var(--ease-out), box-shadow .2s, background-color .2s, border-color .2s, opacity .2s; }
[data-theme="light"] .btn-primary { color: #fff; border: 0;
  background: linear-gradient(180deg, #33C7BA 0%, #14A599 55%, #11968B 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -2px 0 rgba(0, 60, 55, .12), 0 16px 32px -14px rgba(20, 165, 153, .75), 0 3px 8px -2px rgba(15, 110, 102, .25); }
[data-theme="light"] .btn-primary::after { content: ""; position: absolute; inset: 1px 1px 50%; border-radius: 99px 99px 40% 40% / 99px 99px 30% 30%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0)); }
[data-theme="light"] .btn-primary:hover { background: linear-gradient(180deg, #3BD0C3 0%, #19AFA2 55%, #13A094 100%); }
[data-theme="light"] .btn-primary:active { transform: translateY(1px) scale(.97); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 18px -10px rgba(20, 165, 153, .7); }
[data-theme="light"] .btn-ghost { background: rgba(255, 255, 255, .9); border-color: var(--line-2); color: var(--fg); box-shadow: 0 6px 16px -12px rgba(15, 80, 74, .35); }
[data-theme="light"] .btn-ghost:hover { border-color: rgba(20, 165, 153, .45); }
[data-theme="light"] .btn-ghost:active { transform: scale(.97); }
[data-theme="light"] .btn-danger { background: #fff; border-color: rgba(210, 71, 62, .35); color: #B23A32; }
[data-theme="light"] .btn:focus-visible { outline: 3px solid rgba(20, 165, 153, .45); outline-offset: 3px; }
[data-theme="light"] .btn-xl { padding: 0 2.2em; }
.btn .spark { width: .8em; height: .8em; fill: currentColor; opacity: .95; }
[data-theme="light"] .btn-wait { pointer-events: none; opacity: .9; }
[data-theme="light"] .btn-wait .dots { display: inline-flex; gap: .35em; }
[data-theme="light"] .btn-wait .dots i { width: .38em; height: .38em; }
[data-theme="light"] #spinBtn .spark { animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: .95; } 50% { transform: scale(.78) rotate(45deg); opacity: .7; } }

/* ---------------------------------------------------------------- fields + cards */
[data-theme="light"] .glass { background: rgba(255, 255, 255, .94); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--sh-card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
[data-theme="light"] .card { border-radius: 30px; }
[data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .search { background: #F7FCFB; border-color: rgba(35, 31, 31, .12); color: var(--fg); }
[data-theme="light"] .field input::placeholder, [data-theme="light"] .search::placeholder { color: rgba(35, 31, 31, .32); }
[data-theme="light"] .field input:focus, [data-theme="light"] .field select:focus, [data-theme="light"] .search:focus { background: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20, 165, 153, .16); }
[data-theme="light"] .label { color: var(--fg-2); }
[data-theme="light"] .field.bad input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(210, 71, 62, .12); }
[data-theme="light"] .v-form .h2 { color: var(--fg); }
[data-theme="light"] .v-form .row .btn { min-height: var(--ctl-h); }
[data-theme="light"] .qr-box { border-top: 0; margin-top: clamp(10px, 2.6vmin, 40px); padding: clamp(12px, 1.8vmin, 22px) clamp(14px, 2.2vmin, 28px); border-radius: 24px; background: rgba(255, 255, 255, .9); box-shadow: var(--sh-card); }
[data-theme="light"] .qr-box img { background: #fff; padding: 8px; border-radius: 14px; box-shadow: inset 0 0 0 2px #E3F4F2; }
[data-theme="light"] .qr-box strong { color: var(--fg); }
[data-theme="light"] .qr-box span { color: var(--fg-3); }

/* ---------------------------------------------------------------- wheel */
[data-theme="light"] .wheel-shadow { display: none; }
[data-theme="light"] .disk, [data-theme="light"] .gloss, [data-theme="light"] .win-glow { left: 5%; top: 5%; width: 90%; height: 90%; }
[data-theme="light"] .gloss { background: radial-gradient(closest-side, rgba(255, 255, 255, 0) 88%, rgba(6, 70, 64, .14) 100%); }
[data-theme="light"] .hub { width: 21%; height: 21%; background: transparent; box-shadow: none; border-radius: 50%; overflow: visible; }
[data-theme="light"] .hub:active { transform: translate(-50%, -50%) scale(.94); }
[data-theme="light"] .hub:focus-visible { outline: 3px solid rgba(20, 165, 153, .5); outline-offset: 6px; }
.hub-art { position: absolute; inset: -2%; width: 104%; height: 104%; pointer-events: none;
  filter: drop-shadow(0 calc(var(--d) * .012) calc(var(--d) * .018) rgba(8, 90, 84, .38)); animation: hubBreath 4.6s ease-in-out infinite; }
@keyframes hubBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.hub-shine { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.hub-shine::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 46%; left: -60%; transform: skewX(-18deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); animation: shine 5.2s var(--ease-in-out) infinite; }
@keyframes shine { 0%, 62% { left: -60%; } 86%, 100% { left: 120%; } }
[data-theme="light"] .hub::before { border: 2px solid rgba(20, 165, 153, .55); inset: -12%; }
[data-theme="light"] body.s-spinning .hub-art, [data-theme="light"] body.s-result .hub-art { animation: none; }
[data-theme="light"] .pointer-wrap { top: -3.4%; width: 7.6%; margin-left: -3.8%; }
[data-theme="light"] .pointer { transform-origin: 50% 18%; filter: drop-shadow(0 calc(var(--d) * .006) calc(var(--d) * .008) rgba(8, 90, 84, .35)); }
[data-theme="light"] .win-glow .wg-dim { fill: rgba(250, 255, 254, .5); }
[data-theme="light"] .win-glow .wg-fill { fill: rgba(255, 255, 255, .06); }
[data-theme="light"] .win-glow .wg-blur { display: block; fill: none; stroke: #6FE0D3; stroke-width: .05; opacity: .85; }
[data-theme="light"] .win-glow .wg-line { stroke: #FFFFFF; stroke-width: .016; }
[data-theme="light"] .win-glow.on .wg-blur { animation: glowPulse 1.6s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------------------------------------------------------------- landscape (booth 1920×1080) */
@media (orientation: landscape) {
  [data-theme="light"] { --ws: min(calc(100dvh - 64px), 52vw); }
  [data-theme="light"] .stage { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); padding: 32px clamp(16px, 4.5vmin, 96px); gap: clamp(16px, 3vmin, 64px); }
  [data-theme="light"] .view { gap: clamp(10px, 1.9vmin, 26px); }
  [data-theme="light"] .title.hero { font-size: clamp(50px, 11.5vmin, 150px); line-height: 1.2; }
  [data-theme="light"] .title.sm { font-size: clamp(30px, 6vmin, 80px); font-weight: 900; }
  [data-theme="light"] .sub.lined { font-size: clamp(18px, 3vmin, 38px); }
  [data-theme="light"] .v-attract .btn-xl, [data-theme="light"] .v-ready .btn-xl, [data-theme="light"] .btn-wait { min-width: min(100%, 30vw); margin-top: clamp(4px, 1.4vmin, 20px); }
  [data-theme="light"] .v-ready .hint { margin-top: -.2em; }
  [data-theme="light"] .v-form { max-width: 760px; }
  [data-theme="light"] body.s-form .wheel-zone, [data-theme="light"] body.s-attract .wheel-zone { transition: opacity .4s; }
}
@media (orientation: landscape) and (max-height: 600px) { /* landscape phones */
  [data-theme="light"] .brand img { height: 56px; }
}

/* ---------------------------------------------------------------- portrait: phone (QR) + portrait booth — the Pinterest layout:
   headline on top, a big wheel under it (bleeding off the phone's edges), a wide pill button at the bottom */
@media (orientation: portrait) {
  [data-theme="light"] {
    --htop: calc(env(safe-area-inset-top) + clamp(16px, 2.2vh, 44px) + clamp(80px, 8vh, 132px) + clamp(8px, 1.4vh, 28px));
    --t-fs: min(6.2vh, 11vw);
    --s-fs: clamp(15px, min(2.3vh, 4.4vw), 40px);
    --wtop: calc(var(--htop) + var(--s-fs) * 1.6 + var(--t-fs) * 1.3 + clamp(22px, 3.4vh, 64px));
    --ws: min(94vw, calc(100dvh - var(--wtop) - clamp(150px, 15vh, 300px)));
    --pb: calc(env(safe-area-inset-bottom) + clamp(16px, 3vh, 56px));
  }
  [data-theme="light"] .top { padding-top: calc(env(safe-area-inset-top) + clamp(16px, 2.2vh, 44px)); }
  [data-theme="light"] .brand img { height: clamp(80px, 8vh, 132px); }
  [data-theme="light"] .stage { display: block; padding: 0; overflow: hidden; }
  [data-theme="light"] .wheel-zone { position: absolute; left: 50%; top: var(--wtop); transform: translateX(-50%); display: block; }
  [data-theme="light"] .panel { position: absolute; inset: 0; z-index: 2; display: block; pointer-events: none; }
  [data-theme="light"] .view { position: absolute; inset: 0; max-width: none; margin: 0; padding: var(--htop) 16px var(--pb); gap: clamp(2px, .6vh, 12px); justify-content: flex-start; pointer-events: none; }
  [data-theme="light"] .view > * { pointer-events: auto; }
  [data-theme="light"] .view .title { font-size: var(--t-fs); line-height: 1.3; white-space: nowrap; }
  [data-theme="light"] .view .sub, [data-theme="light"] .v-ready .eyebrow { font-size: var(--s-fs); line-height: 1.6; }
  [data-theme="light"] .v-attract .eyebrow.event, [data-theme="light"] .v-attract .hint, [data-theme="light"] .v-ready .hint { display: none; }
  [data-theme="light"] .view .btn-xl, [data-theme="light"] .btn-wait { margin-top: auto; width: 100%; max-width: 640px; min-height: clamp(58px, 7vh, 120px); font-size: clamp(19px, min(2.8vh, 5.4vw), 44px); }
  [data-theme="light"] .qr-box { margin-top: clamp(10px, 1.6vh, 30px); }
  /* the form: a card under the logo (the wheel steps aside) */
  [data-theme="light"] .v-form { inset: var(--htop) 16px auto; width: auto; max-width: 600px; margin-inline: auto; padding: clamp(22px, 3.2vh, 56px) clamp(18px, 4vw, 52px); pointer-events: auto; gap: clamp(10px, 1.6vh, 26px); }
  [data-theme="light"] body.s-form .stage { display: block; }
  [data-theme="light"] body.osk-open .stage { padding-bottom: 0; }
}
/* phones: the wheel is the hero — wider than the screen, bleeding off both sides and the bottom like the reference */
@media (orientation: portrait) and (max-width: 640px) {
  [data-theme="light"] { --ws: max(116vw, min(130vw, calc(2 * (60dvh - var(--wtop))))); }
  [data-theme="light"] .view .btn-xl, [data-theme="light"] .btn-wait { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 18px 36px -12px rgba(20, 165, 153, .8), 0 0 0 6px rgba(255, 255, 255, .55); }
  [data-theme="light"] .net { top: calc(env(safe-area-inset-top) + 12px); }
}

/* ---------------------------------------------------------------- result */
[data-theme="light"] .result { background: rgba(236, 248, 246, .5); -webkit-backdrop-filter: blur(3px) saturate(1.05); backdrop-filter: blur(3px) saturate(1.05); }
[data-theme="light"] .result-card { background: #FFFFFF; border: 1px solid rgba(255, 255, 255, .9); border-radius: 34px;
  box-shadow: 0 2px 4px rgba(15, 80, 74, .06), 0 50px 120px -30px rgba(12, 100, 92, .45); animation: cardIn .6s var(--spring) both; }
[data-theme="light"] .result-card::before { height: 0; }
[data-theme="light"] .res-emblem { width: clamp(84px, 13vmin, 150px); }
[data-theme="light"] .res-emblem.art { width: clamp(124px, 21vmin, 250px); border-radius: 30%; overflow: hidden; background: #E3F4F2;
  box-shadow: 0 0 0 5px #FFFFFF, 0 0 0 7px rgba(20, 165, 153, .25), 0 26px 50px -20px rgba(12, 100, 92, .55); animation: emblemIn .8s var(--spring) .12s both; }
[data-theme="light"] .res-emblem.art.gold { box-shadow: 0 0 0 5px #FFFFFF, 0 0 0 7px rgba(242, 198, 109, .9), 0 26px 50px -20px rgba(160, 110, 20, .5); }
[data-theme="light"] .res-emblem.art .res-icon { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform: scale(1.12); }
[data-theme="light"] .res-title { color: var(--fg); animation: riseIn .55s var(--ease-out) .28s both; }
[data-theme="light"] #resEyebrow { color: var(--teal-dk); animation: riseIn .5s var(--ease-out) .2s both; }
[data-theme="light"] .res-code { background: #F2FAF9; border: 1px dashed rgba(20, 165, 153, .45); border-radius: 20px; animation: riseIn .5s var(--ease-out) .36s both; }
[data-theme="light"] .res-code strong { color: var(--fg); }
[data-theme="light"] #doneBtn { animation: riseIn .5s var(--ease-out) .44s both; }
[data-theme="light"] .res-timer { background: rgba(20, 165, 153, .1); height: 4px; }
[data-theme="light"] .res-timer i { background: linear-gradient(90deg, #14A599, #6FD9CD); }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes emblemIn { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- toast, keyboard, PIN */
[data-theme="light"] .toast { background: #FFFFFF; color: var(--fg); border-color: var(--line); box-shadow: 0 24px 60px -20px rgba(12, 100, 92, .45); }
[data-theme="light"] .toast.warn { border-color: rgba(183, 121, 31, .4); }
[data-theme="light"] .osk { background: rgba(240, 249, 247, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 -24px 60px -20px rgba(12, 100, 92, .35); }
[data-theme="light"] .osk-key { background: #FFFFFF; border-color: rgba(35, 31, 31, .07); color: var(--fg); box-shadow: 0 2px 0 rgba(15, 80, 74, .1); border-radius: 14px; }
[data-theme="light"] .osk-key:active { background: #E3F4F2; transform: translateY(1px) scale(.97); box-shadow: none; }
[data-theme="light"] .osk-key.act { background: linear-gradient(180deg, #2BC0B3, #14A599); color: #fff; border-color: transparent; }
[data-theme="light"] .pin { background: rgba(227, 244, 242, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
[data-theme="light"] .pin-card { background: #fff; }
[data-theme="light"] .pin-pad button { background: #F5FBFA; border-color: var(--line); color: var(--fg); }
[data-theme="light"] .pin-pad button:active { background: #E3F4F2; }

/* ---------------------------------------------------------------- admin */
[data-theme="light"] .admin { background: #F3FAF9; color: var(--fg); }
[data-theme="light"] .admin-top { background: rgba(243, 250, 249, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
[data-theme="light"] .tabs { background: #fff; border-color: var(--line); }
[data-theme="light"] .tabs button.on { background: var(--teal); color: #fff; }
[data-theme="light"] .admin .btn { border-radius: 12px; }
[data-theme="light"] .prize { background: #fff; border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(12, 100, 92, .4); }
[data-theme="light"] .prize-icon { background-color: #F2FAF9; border-color: var(--line-2); }
[data-theme="light"] .swatches button { border-color: rgba(35, 31, 31, .18); }
[data-theme="light"] .swatches button.on { outline-color: var(--teal); }
[data-theme="light"] .chip { border-color: var(--line-2); background: #fff; }
[data-theme="light"] .icon-grid { background: #F2FAF9; }
[data-theme="light"] .icon-grid button { background: #fff; }
.art-chip { cursor: pointer; font: inherit; color: inherit; background: transparent; }
.art-chip img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.art-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important; }
.art-grid img { width: 76px !important; height: 76px !important; object-fit: cover !important; border-radius: 14px; }
[data-theme="light"] label.switch-row { background: #fff; border-color: var(--line); }
[data-theme="light"] input[type="checkbox"] { background: #D5E4E2; }
[data-theme="light"] input[type="checkbox"]:checked { background: var(--teal); }
[data-theme="light"] input[type="checkbox"]::after { box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
[data-theme="light"] .danger { border-color: rgba(210, 71, 62, .25); background: #FFF8F7; }
[data-theme="light"] .danger h3 { color: #B23A32; }
[data-theme="light"] .table-wrap { background: #fff; border-color: var(--line); }
[data-theme="light"] .entries th { background: #F2FAF9; }
[data-theme="light"] .entries tr.dup td { background: rgba(183, 121, 31, .06); }
[data-theme="light"] .admin-status.off { color: var(--warn); }

@media (prefers-reduced-motion: reduce) {
  .deco img, .hub-art, .hub-shine::before, #spinBtn .spark { animation: none !important; }
}

/* ---------------------------------------------------------------- round-5 polish */
[data-theme="light"] .swipe-hint { display: none; }
[data-theme="light"] #resEyebrow { font-size: clamp(15px, 2.3vmin, 28px); }
@media (orientation: landscape) {
  [data-theme="light"] .v-ready .eyebrow { font-size: clamp(18px, 3vmin, 38px); font-weight: 700; }
  [data-theme="light"] .result { background: rgba(236, 248, 246, .32); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (orientation: portrait) and (min-width: 700px) { /* portrait booth / tablet: a bigger form for fingers */
  [data-theme="light"] .v-form { max-width: min(880px, 90vw); }
  [data-theme="light"] .v-form .h2 { font-size: clamp(28px, 3.6vh, 64px); }
}
.prize-icon .pi-art { display: none; }
[data-theme="light"] .prize-icon .pi-art { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; border-radius: inherit; }
[data-theme="light"] .prize-icon { overflow: visible; }
[data-theme="light"] .prize-icon::after { z-index: 1; }

/* ---------------------------------------------------------------- slice labels: upright pills in screen space (wheel.js layoutLabels) */
.wlabels { position: absolute; left: 5%; top: 5%; width: 90%; height: 90%; pointer-events: none; }
.wl { position: absolute; left: 50%; top: 50%; box-sizing: border-box; display: grid; place-items: center; white-space: pre; text-align: center; direction: rtl;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif; font-weight: 800; color: #fff; border-radius: 1em; will-change: transform;
  background: linear-gradient(180deg, rgba(24, 128, 119, .9), rgba(9, 86, 79, .9)); border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 .35em .9em -.25em rgba(6, 40, 37, .55); text-shadow: 0 1px 2px rgba(0, 0, 0, .22);
  transition: opacity .25s, box-shadow .3s; }
.wl.gold { color: #3B2A07; text-shadow: none; border-color: rgba(255, 255, 255, .85); background: linear-gradient(180deg, #FBE6A6, #F2C66D 55%, #DDA845); }
.wl.off { opacity: 0; }
.wl.win { box-shadow: 0 0 0 3px rgba(255, 255, 255, .95), 0 0 1.6em rgba(111, 224, 211, .95); }

/* ---------------------------------------------------------------- portrait form: centred in the space under the logo (top-anchored while the on-screen keyboard is up) */
@media (orientation: portrait) {
  [data-theme="light"] .v-form { inset: var(--htop) 16px var(--pb); margin: auto; height: fit-content; max-height: calc(100dvh - var(--htop) - var(--pb)); overflow: auto; }
  [data-theme="light"] body.osk-open .v-form { bottom: auto; margin-top: 0; }
}
