/* Dip Dash (plan part 2, Task 6): the round button, the game screen and its sheets, in BokBok's original look (site.css:
   brand red #87271b, ink #131313, Anton, Permanent Marker, Cooper Hewitt). The playfield follows the owner's cup video:
   a bright red table (#b8131d) in hard sunlight from the top right, two diagonal shadow bands, the counter #8a0d15.
   The canvas draws the sprites; the table itself is this file's background. Reduced motion: nothing here moves. */

/* ---------- The button ---------- */
.dd-fab { position: fixed; right: calc(16px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 16; display: flex; align-items: center; gap: 10px; transition: bottom .25s cubic-bezier(.16, 1, .3, 1); }
.dd-fab[hidden] { display: none; }
.dd-fab.lift { bottom: calc(84px + env(safe-area-inset-bottom)); } /* just above the cart bar */
.dd-fab-pill { min-height: 40px; padding: 0 14px; border-radius: 999px; background: #131313; color: #fff; display: inline-flex; align-items: center; font: 700 14px/1 var(--text, "Cooper Hewitt", "Helvetica Neue", Arial, sans-serif); white-space: nowrap; box-shadow: 0 10px 20px -12px rgb(19 19 19 / .8); cursor: pointer; transition: opacity .3s ease, translate .3s cubic-bezier(.16, 1, .3, 1); }
.dd-fab-pill[hidden] { display: none; }
.dd-fab-pill.gone { opacity: 0; translate: 8px 0; pointer-events: none; }
.dd-fab-btn { position: relative; flex: none; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: #87271b; box-shadow: 0 0 0 3px #131313, 0 12px 22px -10px rgb(19 19 19 / .7); display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .16s cubic-bezier(.16, 1, .3, 1), background-color .2s; }
.dd-fab-btn:active { transform: scale(.94); }
.dd-fab-btn:focus-visible { outline: 3px solid #87271b; outline-offset: 5px; }
@media (hover: hover) { .dd-fab-btn:hover { background: #6d1e14; } }
.dd-fab-btn img { width: 48px; height: 33px; object-fit: contain; pointer-events: none; }
.dd-fab-count { position: absolute; right: -6px; top: -6px; min-width: 24px; height: 24px; padding: 0 6px; box-sizing: border-box; border-radius: 999px; background: #fff; color: #131313; box-shadow: 0 0 0 2.5px #131313; display: flex; align-items: center; justify-content: center; font: 700 13px/1 var(--text, "Cooper Hewitt", Arial, sans-serif); }
.dd-fab-dot { position: absolute; left: -3px; top: -3px; width: 16px; height: 16px; border-radius: 50%; background: #f2b134; box-shadow: 0 0 0 2.5px #131313; }
.dd-fab-count[hidden], .dd-fab-dot[hidden] { display: none; }
.dd-fab.hello .dd-fab-btn { animation: dd-pulse 1.6s ease-in-out 3; } /* the first visit only */
@keyframes dd-pulse { 50% { box-shadow: 0 0 0 3px #131313, 0 0 0 10px rgb(135 39 27 / .25), 0 12px 22px -10px rgb(19 19 19 / .7); } }

/* After a win: the voucher beside the button */
.dd-toast { position: fixed; right: calc(92px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 16; width: min(360px, calc(100% - 108px)); min-height: 60px; padding: 10px 14px; box-sizing: border-box; border-radius: 16px; background: #131313; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 2px; font-family: var(--text, "Cooper Hewitt", Arial, sans-serif); box-shadow: 0 16px 30px -14px rgb(0 0 0 / .65); animation: dd-in .3s cubic-bezier(.16, 1, .3, 1) both; }
.dd-toast[hidden] { display: none; }
.dd-toast.lift { bottom: calc(84px + env(safe-area-inset-bottom)); }
.dd-toast b { font-size: 15px; line-height: 1.3; }
.dd-toast span { font-size: 13px; line-height: 1.35; color: rgb(255 255 255 / .86); }
@keyframes dd-in { from { opacity: 0; translate: 0 8px; } }

/* ---------- The game screen: full screen on a phone ---------- */
.dd { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; overscroll-behavior: none; color: #131313; font: 400 16px/1.5 var(--text, "Cooper Hewitt", "Helvetica Neue", Arial, sans-serif); -webkit-font-smoothing: antialiased; }
.dd-dim { position: absolute; inset: 0; background: rgb(19 19 19 / .62); }
.dd-panel { position: relative; width: 100%; height: 100%; overflow: hidden; background: #b8131d; }
.dd-frame { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; transform-origin: 0 0; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
  background-color: #b8131d;
  background-image: linear-gradient(222deg, rgb(255 196 170 / .24) 0%, rgb(255 196 170 / 0) 46%),
    linear-gradient(124deg, transparent 0 28%, rgb(64 0 8 / .2) 28% 39%, transparent 39% 61%, rgb(64 0 8 / .16) 61% 69%, transparent 69%); }
.dd-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dd-tap { position: absolute; inset: 0; z-index: 1; cursor: pointer; outline: none; }
.dd-tap:focus-visible { box-shadow: inset 0 0 0 3px #fff; }
.dd-keys { display: none; }

/* A computer: a centred panel, the phone's screen scaled to fit (play.js sets --dd-k), and the keys under it */
@media (min-width: 700px) and (min-height: 600px) {
  .dd-panel { width: calc(min(760px, 100dvh - 140px) * 390 / 844); height: min(760px, 100dvh - 140px); border-radius: 24px; box-shadow: 0 0 0 3px #131313, 0 30px 60px -20px rgb(0 0 0 / .7); }
  .dd-frame { width: 390px; height: 844px; transform: scale(var(--dd-k, 1)); }
  .dd-keys { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 16px 0; color: #fff; font-size: 15px; }
  .dd-keys > span { display: inline-flex; align-items: center; gap: 8px; }
  .dd-keys kbd { min-width: 28px; height: 28px; padding: 0 8px; box-sizing: border-box; border-radius: 8px; background: #fff; color: #131313; display: inline-flex; align-items: center; justify-content: center; font: 700 13px/1 var(--text, "Cooper Hewitt", Arial, sans-serif); }
}

/* ---------- On the playfield ---------- */
.dd-hud { position: absolute; left: 0; right: 0; top: 0; z-index: 3; padding: calc(14px + env(safe-area-inset-top)) 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.dd-close { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: #131313; color: #fff; display: grid; place-items: center; cursor: pointer; pointer-events: auto; }
.dd-close:focus-visible, .dd-x:focus-visible, .dd-btn:focus-visible, .dd-copy:focus-visible, .dd-link:focus-visible { outline: 3px solid #f2b134; outline-offset: 2px; }
.dd-timer { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 7px 18px 9px; border-radius: 16px; background: #131313; color: #fff; }
.dd-clock { font-family: var(--display, "BB Display", Anton, sans-serif); font-size: 28px; line-height: 1; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.dd-clock span { color: rgb(255 255 255 / .78); font-size: 18px; }
.dd-bar { width: 116px; height: 5px; border-radius: 999px; background: rgb(255 255 255 / .22); overflow: hidden; }
.dd-bar i { display: block; width: 100%; height: 100%; border-radius: 999px; background: #f2b134; transform: scaleX(0); transform-origin: 0 50%; }
.dd-tries { flex: none; min-height: 44px; padding: 0 14px; box-sizing: border-box; border-radius: 999px; background: #131313; color: #fff; display: inline-flex; align-items: center; font-size: 15px; font-weight: 700; white-space: nowrap; }
.dd-tries[hidden] { visibility: hidden; display: inline-flex; } /* keeps the timer in the middle */

.dd-ready { position: absolute; left: 24px; right: 24px; top: calc(168px + env(safe-area-inset-top)); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; pointer-events: none; }
.dd-ready[hidden], .dd-dipped[hidden], .dd-human[hidden], .dd-confetti[hidden], .dd-shade[hidden], .dd-sheet[hidden] { display: none; }
.dd-ready-kicker { font-family: var(--script, "BB Script", "Permanent Marker", cursive); font-size: 24px; line-height: 1.1; color: #fff; }
.dd-ready-title { font-family: var(--display, "BB Display", Anton, sans-serif); font-size: 64px; line-height: .95; letter-spacing: .02em; text-transform: uppercase; color: #131313; }
.dd-ready-note { margin-top: 4px; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1.5px #e8e1dc; font-size: 15px; line-height: 1.4; color: #5f5450; }
.dd-ready-note.bad { color: #131313; font-weight: 700; box-shadow: 0 0 0 2.5px #131313; }
@media (min-width: 700px) and (min-height: 600px) { .dd-ready-title { font-size: 54px; } }

.dd-human { position: absolute; left: 16px; right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 3; display: flex; justify-content: center; }
.dd-dipped { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 2; display: flex; justify-content: center; pointer-events: none; }
.dd-dipped span { min-height: 34px; padding: 0 16px; box-sizing: border-box; border-radius: 999px; background: #fff; box-shadow: 0 0 0 2.5px #131313; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.dd-dipped b { font-family: var(--display, "BB Display", Anton, sans-serif); font-size: 20px; font-weight: 400; font-variant-numeric: tabular-nums; }

/* A win: a few bits of confetti fall behind the sheet (none with reduced motion) */
.dd-confetti { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.dd-confetti i { position: absolute; width: 12px; height: 18px; border-radius: 3px; background: #f2b134; animation: dd-fall .9s cubic-bezier(.16, 1, .3, 1) both; }
.dd-confetti i:nth-child(1) { left: 40px; top: 70px; rotate: 24deg; }
.dd-confetti i:nth-child(2) { left: 120px; top: 40px; width: 10px; height: 10px; border-radius: 50%; background: #fff; animation-delay: .05s; }
.dd-confetti i:nth-child(3) { left: 200px; top: 96px; background: #d8452b; rotate: -30deg; animation-delay: .1s; }
.dd-confetti i:nth-child(4) { left: 290px; top: 52px; background: #fff; rotate: 12deg; animation-delay: .03s; }
.dd-confetti i:nth-child(5) { left: calc(100% - 50px); top: 120px; width: 10px; height: 10px; border-radius: 50%; animation-delay: .08s; }
.dd-confetti i:nth-child(6) { left: 80px; top: 150px; width: 10px; height: 10px; border-radius: 50%; background: #d8452b; animation-delay: .12s; }
@keyframes dd-fall { from { opacity: 0; translate: 0 -60px; } }

/* ---------- The sheets: intro, results, not now ---------- */
.dd-shade { position: absolute; inset: 0; z-index: 4; background: rgb(19 19 19 / .5); animation: dd-fade .2s ease both; }
.dd-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; max-height: calc(100% - 16px - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; user-select: text; -webkit-user-select: text; box-sizing: border-box; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #fff; box-shadow: 0 -18px 40px -20px rgb(19 19 19 / .6); display: flex; flex-direction: column; gap: 18px; animation: dd-up .32s cubic-bezier(.16, 1, .3, 1) both; }
.dd-sheet:has(.dd-grab) { padding-top: 10px; }
@keyframes dd-up { from { translate: 0 40px; opacity: 0; } }
@keyframes dd-fade { from { opacity: 0; } }
.dd-grab { align-self: center; width: 44px; height: 5px; border-radius: 999px; background: #e8e1dc; }
.dd-grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dd-intro-head { display: flex; align-items: flex-start; gap: 14px; }
.dd-roundel { flex: none; width: 60px; height: 60px; border-radius: 50%; background: #87271b; box-shadow: 0 0 0 3px #131313; display: grid; place-items: center; }
.dd-roundel img { width: 50px; height: 34px; object-fit: contain; }
.dd-x { flex: none; width: 44px; height: 44px; padding: 0; border: 1.5px solid #e8e1dc; border-radius: 50%; background: #fff; color: #131313; display: grid; place-items: center; cursor: pointer; }
.dd-x svg { width: 18px; height: 18px; }
.dd-kicker { font-family: var(--script, "BB Script", "Permanent Marker", cursive); font-size: 19px; line-height: 1.2; color: #87271b; }
.dd-center .dd-kicker { font-size: 22px; }
.dd-center .dd-kicker-lg { font-size: 24px; }
.dd-title { margin: 0; font-family: var(--display, "BB Display", Anton, sans-serif); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; overflow-wrap: anywhere; }
.dd-center .dd-title { font-size: 48px; }
.dd-center .dd-title-xl { font-size: 52px; }
.dd-center .dd-title-win { font-size: 46px; }
.dd-center .dd-title-md { font-size: 40px; }
.dd-center { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.dd-center-gap { gap: 12px; padding-top: 4px; }
.dd-muted { font-size: 15px; color: #5f5450; }
.dd-center .dd-muted { margin-top: 6px; }
.dd-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.4; }
.dd-steps li { display: flex; align-items: center; gap: 12px; }
.dd-tile { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #f7ebe8; color: #87271b; display: grid; place-items: center; }
.dd-tile-white { background: #fff; box-shadow: 0 0 0 1.5px #e8e1dc; }
.dd-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: #f7ebe8; font-size: 15px; line-height: 1.4; }
.dd-form { display: flex; flex-direction: column; gap: 6px; }
.dd-form label { font-size: 15px; font-weight: 700; }
.dd-form input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #8a7f7a; border-radius: 12px; background: #fff; color: #131313; font: inherit; font-size: 16px; } /* 16px: no zoom on iPhones */
.dd-form input:focus { outline: none; border-color: #87271b; box-shadow: 0 0 0 3px #f7ebe8; }
.dd-form input[aria-invalid="true"] { border-color: #b3261e; }
.dd-help { font-size: 14px; color: #5f5450; }
.dd-help.bad { color: #b3261e; font-weight: 700; }
.dd-form .dd-btn { margin-top: 12px; }
.dd-link { align-self: center; display: inline-flex; align-items: center; min-height: 44px; margin-top: -6px; color: #87271b; font-size: 15px; font-weight: 700; }
@media (hover: hover) { .dd-link:hover { color: #6d1e14; } }

.dd-actions { display: flex; flex-direction: column; gap: 10px; }
.dd-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; padding: 0 20px; border: 0; border-radius: 999px; background: #87271b; color: #fff; font: 700 16px/1.1 var(--text, "Cooper Hewitt", Arial, sans-serif); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 20px -12px rgb(109 30 20 / .9); cursor: pointer; transition: transform .16s cubic-bezier(.16, 1, .3, 1), background-color .2s; }
.dd-btn:active { transform: scale(.98); }
@media (hover: hover) { .dd-btn:hover { background: #6d1e14; } .dd-btn-line:hover { background: #f7ebe8; } }
.dd-btn-two { min-height: 58px; }
.dd-btn-sub { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: rgb(255 255 255 / .86); }
.dd-btn-line { min-height: 52px; background: #fff; color: #131313; font-size: 15px; box-shadow: inset 0 0 0 1.5px #131313; }
.dd-say { margin: 0; max-width: 320px; align-self: center; text-align: center; font-size: 16px; line-height: 1.45; }
.dd-later { margin: 0; padding: 12px 14px; border-radius: 12px; background: #f7ebe8; text-align: center; font-size: 15px; line-height: 1.4; font-weight: 700; }
.dd-icon-lg { width: 64px; height: 64px; border-radius: 50%; background: #f7ebe8; color: #87271b; display: grid; place-items: center; }

.dd-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dd-stat { padding: 14px 16px; border-radius: 16px; background: #f7ebe8; display: flex; flex-direction: column; gap: 2px; }
.dd-stat span { font-size: 14px; color: #5f5450; }
.dd-stat b { font-family: var(--display, "BB Display", Anton, sans-serif); font-weight: 400; font-size: 34px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.dd-reason { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #f7ebe8; }
.dd-reason b { font-size: 16px; }
.dd-reason .dd-grow span { font-size: 15px; line-height: 1.45; color: #3d3532; }

/* The prize ticket */
.dd-sheet:has(.dd-ticket) { gap: 16px; }
.dd-ticket { display: flex; border-radius: 18px; box-shadow: 0 0 0 2.5px #131313; overflow: hidden; }
.dd-ticket-off { flex: none; width: 104px; padding: 12px 0; background: #87271b; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--display, "BB Display", Anton, sans-serif); }
.dd-ticket-off b { font-weight: 400; font-size: 44px; line-height: 1; }
.dd-ticket-off span { font-size: 20px; letter-spacing: .08em; }
.dd-ticket-body { flex: 1; min-width: 0; padding: 14px 14px 14px 16px; border-left: 2.5px dashed #131313; display: flex; flex-direction: column; gap: 6px; }
.dd-ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dd-code { font-family: var(--display, "BB Display", Anton, sans-serif); font-weight: 400; font-size: 26px; letter-spacing: .08em; overflow-wrap: anywhere; }
.dd-copy { flex: none; min-height: 44px; padding: 0 12px; border: 1.5px solid #8a7f7a; border-radius: 999px; background: #fff; color: #131313; font: 700 14px/1 var(--text, "Cooper Hewitt", Arial, sans-serif); cursor: pointer; }
.dd-useby { font-size: 15px; }
.dd-ticket-body .dd-muted { font-size: 14px; line-height: 1.4; }

/* ---------- Reduced motion: the game still plays, nothing else moves ---------- */
@media (prefers-reduced-motion: reduce) {
  .dd-fab, .dd-fab *, .dd-toast, .dd, .dd * { animation: none !important; transition: none !important; }
  .dd-confetti { display: none !important; }
}
[data-motion="off"] :is(.dd-fab, .dd-fab *, .dd-toast, .dd, .dd *) { animation: none !important; transition: none !important; }
[data-motion="off"] .dd-confetti { display: none !important; }

/* ---------- The GTA 6 (After Dark) look (owner, 20 Nov 2026: "on the gta6 theme for now", back to the original on Mon 24 Nov) ----------
   Worn only while the site wears After Dark: play.js marks the page with data-dd-look="dusk" when after-dark.css is on it
   (it sets --ad-bg), so every rule below waits for that mark. The colours are after-dark.css's own: the page #120e20,
   panels #221830 and #2c2040, fields #170f26, text #fff3e9 and #c7b8d4, orange #ff9854 on plum #2a1030, hot pink #ff5ca8,
   teal #5fe3df, the sunset gradient. Barlow Condensed for display (the site maps --display to it), DM Sans for text. The
   playfield is the site's own sunset with its palms; the canvas draws the neon edges (play.js LOOKS.dusk). */
[data-dd-look="dusk"] .dd-fab-pill { background: var(--ad-surface-2); color: var(--ad-text); box-shadow: inset 0 0 0 1px rgb(199 184 212 / .2), 0 12px 24px -12px rgb(0 0 0 / .9); }
[data-dd-look="dusk"] .dd-fab-btn { background: radial-gradient(circle, var(--ad-field) 0 26.5px, transparent 27px), var(--ad-sunset); box-shadow: 0 0 24px -4px rgb(255 92 168 / .75), 0 12px 22px -10px rgb(0 0 0 / .8); }
[data-dd-look="dusk"] .dd-fab-btn img { width: 44px; height: 30px; }
[data-dd-look="dusk"] .dd-fab-btn:focus-visible { outline-color: var(--ad-teal); }
[data-dd-look="dusk"] .dd-fab-count { background: var(--ad-primary); color: var(--ad-on-primary); box-shadow: 0 0 0 2px var(--ad-bg); }
[data-dd-look="dusk"] .dd-fab-dot { background: var(--ad-warn); box-shadow: 0 0 0 2.5px var(--ad-bg); }
[data-dd-look="dusk"] .dd-fab.hello .dd-fab-btn { animation-name: dd-pulse-dusk; }
@keyframes dd-pulse-dusk { 50% { box-shadow: 0 0 0 8px rgb(255 92 168 / .22), 0 0 30px -2px rgb(255 92 168 / .85), 0 12px 22px -10px rgb(0 0 0 / .8); } }
@media (hover: hover) { [data-dd-look="dusk"] .dd-fab-btn:hover { background: radial-gradient(circle, var(--ad-surface) 0 26.5px, transparent 27px), var(--ad-sunset); box-shadow: 0 0 30px -2px rgb(255 92 168 / .85), 0 12px 22px -10px rgb(0 0 0 / .8); } }
[data-dd-look="dusk"] .dd-toast { background: var(--ad-surface-2); color: var(--ad-text); box-shadow: inset 0 0 0 1px rgb(199 184 212 / .2), 0 16px 30px -14px rgb(0 0 0 / .85); }
[data-dd-look="dusk"] .dd-toast span { color: var(--ad-text-2); }

/* The screen and the playfield: the site's sunset behind, a little darker so the tenders and cups stand out */
[data-dd-look="dusk"] .dd { color: var(--ad-text); }
[data-dd-look="dusk"] .dd-dim { background: rgb(11 8 22 / .72); }
[data-dd-look="dusk"] .dd-panel { background: #2b1a4d; }
[data-dd-look="dusk"] .dd-frame { background: linear-gradient(180deg, rgb(18 14 32 / .25), rgb(18 14 32 / .1) 45%, rgb(18 14 32 / .35)), #2b1a4d url("/assets/brand/dusk-tall.webp") 50% 0 / cover no-repeat; }
[data-dd-look="dusk"] .dd-tap:focus-visible { box-shadow: inset 0 0 0 3px var(--ad-teal); }
[data-dd-look="dusk"] :is(.dd-close, .dd-timer, .dd-tries, .dd-ready-note) { background: rgb(18 14 32 / .78); color: var(--ad-text); box-shadow: inset 0 0 0 1px rgb(199 184 212 / .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
[data-dd-look="dusk"] :is(.dd-close, .dd-x, .dd-btn, .dd-copy, .dd-link):focus-visible { outline-color: var(--ad-teal); }
[data-dd-look="dusk"] .dd-clock { font-weight: 800; font-size: 30px; }
[data-dd-look="dusk"] .dd-clock span { color: var(--ad-text-2); font-size: 19px; }
[data-dd-look="dusk"] .dd-bar { background: rgb(199 184 212 / .22); }
[data-dd-look="dusk"] .dd-bar i { background: linear-gradient(90deg, #ffb45c, var(--ad-pink) 60%, var(--ad-violet)); }
[data-dd-look="dusk"] .dd-ready-kicker { font-weight: 800; font-size: 20px; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-pink); text-shadow: 0 0 14px rgb(255 92 168 / .7); }
[data-dd-look="dusk"] .dd-ready-title { font-weight: 800; letter-spacing: .01em; color: var(--ad-text); text-shadow: 0 0 2px #ffb45c, 0 0 18px rgb(255 92 168 / .75); }
[data-dd-look="dusk"] .dd-ready-note { font-size: 14px; font-weight: 700; }
[data-dd-look="dusk"] .dd-ready-note.bad { box-shadow: inset 0 0 0 1.5px var(--ad-pink); }
[data-dd-look="dusk"] .dd-dipped span { background: var(--ad-surface); color: var(--ad-text); box-shadow: 0 0 0 1px rgb(255 92 168 / .5), 0 0 22px -4px rgb(255 92 168 / .55); }
[data-dd-look="dusk"] .dd-dipped b { font-weight: 800; font-size: 22px; color: var(--ad-primary); }
[data-dd-look="dusk"] .dd-confetti i:nth-child(1), [data-dd-look="dusk"] .dd-confetti i:nth-child(5) { background: #ffb45c; }
[data-dd-look="dusk"] .dd-confetti i:nth-child(2) { background: var(--ad-teal); }
[data-dd-look="dusk"] .dd-confetti i:nth-child(3), [data-dd-look="dusk"] .dd-confetti i:nth-child(6) { background: var(--ad-pink); }
[data-dd-look="dusk"] .dd-confetti i:nth-child(4) { background: var(--ad-violet); }
[data-dd-look="dusk"] .dd-keys kbd { background: var(--ad-surface-2); color: var(--ad-text); box-shadow: inset 0 0 0 1px rgb(199 184 212 / .42); }
@media (min-width: 700px) and (min-height: 600px) {
  [data-dd-look="dusk"] .dd-panel { box-shadow: 0 0 0 1px rgb(199 184 212 / .2), 0 0 40px -8px rgb(255 92 168 / .45), 0 30px 60px -20px rgb(0 0 0 / .8); }
}

/* The sheets: dark plum panels, orange buttons, hot pink kickers */
[data-dd-look="dusk"] .dd-shade { background: rgb(11 8 22 / .58); }
[data-dd-look="dusk"] .dd-sheet { background: var(--ad-surface); color: var(--ad-text); box-shadow: 0 -1px 0 rgb(199 184 212 / .2), 0 -18px 40px -20px rgb(0 0 0 / .85); }
[data-dd-look="dusk"] .dd-grab { background: rgb(199 184 212 / .42); }
[data-dd-look="dusk"] .dd-roundel { background: radial-gradient(circle, var(--ad-field) 0 26.5px, transparent 27px), var(--ad-sunset); box-shadow: 0 0 22px -4px rgb(255 92 168 / .6); }
[data-dd-look="dusk"] .dd-roundel img { width: 46px; height: 32px; }
[data-dd-look="dusk"] .dd-x { background: var(--ad-surface-2); border-color: rgb(199 184 212 / .42); color: var(--ad-text); }
[data-dd-look="dusk"] .dd-kicker { font-family: var(--ad-display, "Barlow Condensed", "Arial Narrow", sans-serif); font-weight: 800; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--ad-pink); }
[data-dd-look="dusk"] .dd-center .dd-kicker, [data-dd-look="dusk"] .dd-center .dd-kicker-lg { font-size: 18px; }
[data-dd-look="dusk"] .dd-title { font-weight: 800; font-size: 52px; line-height: .95; letter-spacing: .01em; }
[data-dd-look="dusk"] .dd-center .dd-title, [data-dd-look="dusk"] .dd-center .dd-title-win { font-size: 52px; }
[data-dd-look="dusk"] .dd-center .dd-title-xl { font-size: 58px; }
[data-dd-look="dusk"] .dd-center .dd-title-md { font-size: 46px; }
[data-dd-look="dusk"] :is(.dd-muted, .dd-help, .dd-stat span, .dd-reason .dd-grow span) { color: var(--ad-text-2); }
[data-dd-look="dusk"] .dd-help.bad { color: var(--ad-error); }
[data-dd-look="dusk"] :is(.dd-tile, .dd-icon-lg) { background: rgb(255 92 168 / .14); color: var(--ad-pink); }
[data-dd-look="dusk"] .dd-tile-white { background: var(--ad-surface-2); box-shadow: inset 0 0 0 1px rgb(199 184 212 / .42); }
[data-dd-look="dusk"] :is(.dd-note, .dd-later, .dd-stat, .dd-reason) { background: var(--ad-surface-2); border-radius: 14px; }
[data-dd-look="dusk"] .dd-note { color: var(--ad-text-2); }
[data-dd-look="dusk"] .dd-note b { color: var(--ad-text); }
[data-dd-look="dusk"] .dd-steps b { color: var(--ad-primary); }
[data-dd-look="dusk"] .dd-stat b { font-weight: 800; }
[data-dd-look="dusk"] .dd-form input { background: var(--ad-field); border-color: rgb(199 184 212 / .42); border-radius: 14px; color: var(--ad-text); }
[data-dd-look="dusk"] .dd-form input:focus { border-color: var(--ad-pink); box-shadow: 0 0 0 3px rgb(255 92 168 / .25); }
[data-dd-look="dusk"] .dd-form input[aria-invalid="true"] { border-color: var(--ad-error); }
[data-dd-look="dusk"] .dd-link { color: var(--ad-text); text-decoration-color: rgb(255 152 84 / .6); }
[data-dd-look="dusk"] .dd-btn { background: var(--ad-primary); color: var(--ad-on-primary); font: 800 22px/1 var(--ad-display, "Barlow Condensed", "Arial Narrow", sans-serif); letter-spacing: .06em; box-shadow: 0 10px 28px -10px rgb(255 152 84 / .7); }
[data-dd-look="dusk"] .dd-btn-sub { font: 400 13px/1.2 var(--ad-text-font, "DM Sans", system-ui, sans-serif); color: rgb(42 16 48 / .82); }
[data-dd-look="dusk"] .dd-btn-line { background: transparent; color: var(--ad-text); font: 700 16px/1.1 var(--ad-text-font, "DM Sans", system-ui, sans-serif); letter-spacing: 0; text-transform: none; box-shadow: inset 0 0 0 1.5px rgb(199 184 212 / .42); }
@media (hover: hover) {
  [data-dd-look="dusk"] .dd-btn:hover { background: var(--ad-primary-hover); }
  [data-dd-look="dusk"] .dd-btn-line:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ad-pink); }
  [data-dd-look="dusk"] .dd-link:hover { color: var(--ad-primary-hover); }
}

/* The prize ticket: the sunset stub, a plum body with a pink glow */
[data-dd-look="dusk"] .dd-ticket { background: var(--ad-field); box-shadow: 0 0 0 1px rgb(255 92 168 / .5), 0 0 22px -4px rgb(255 92 168 / .55); }
[data-dd-look="dusk"] .dd-ticket-off { background: var(--ad-sunset); color: var(--ad-on-primary); }
[data-dd-look="dusk"] .dd-ticket-off b { font-weight: 800; font-size: 46px; }
[data-dd-look="dusk"] .dd-ticket-body { border-left: 2px dashed rgb(199 184 212 / .42); }
[data-dd-look="dusk"] .dd-code { font-weight: 800; font-size: 28px; }
[data-dd-look="dusk"] .dd-copy { background: var(--ad-surface-2); border-color: rgb(199 184 212 / .42); color: var(--ad-text); }

/* Reduced motion: the pulse stops here too */
@media (prefers-reduced-motion: reduce) { [data-dd-look="dusk"] .dd-fab.hello .dd-fab-btn { animation: none; } }
