/* The main menu, v3 (owner, Oct 28: "clean up the main menu a lot. make everything less overstimulating and much more
   clean intentionally designed. players should now also see their profile on this menu").
   One job per side: the left plays (mode, Play, the tutorial link), the right is you (your Agent File's ID card, your
   level) and what's on today (the Event and the Daily, one row each). Everything else is quiet: dots instead of boxed
   chips in the tabs, one hairline line along the bottom for the live numbers and the socials, no glows, no pulses. */

/* the stage: the operator steps back */
.pl .mn .ops-feature { opacity: 0.5; filter: saturate(0.8); }
.pl .df-draft.ops-menu.mn::after { background: linear-gradient(90deg, rgba(10, 10, 11, 0.94) 0, rgba(10, 10, 11, 0.72) 34%, rgba(10, 10, 11, 0.2) 56%, rgba(10, 10, 11, 0.55) 78%, rgba(10, 10, 11, 0.9) 100%); }
.pl .mn .ops-favlbl { right: calc(25cqw + 2cqh); bottom: 7.4cqh; color: #6f6e74; }

/* the header and tabs, calmer on the menu */
.pl:has(.ops-menu) .pl-hud { visibility: hidden; }
.pl:has(.ops-menu) .pl-toggles > :not(.pl-acct) { opacity: 0.55; transition: opacity 0.15s; }
.pl:has(.ops-menu) .pl-toggles > :not(.pl-acct):hover, .pl:has(.ops-menu) .pl-toggles > :not(.pl-acct):focus-visible { opacity: 1; }
.pl .ops-tabs i.mn-dot { display: inline-block; width: 0.42em; height: 0.42em; margin: 0 0 0.55em 0.45em; padding: 0; box-shadow: none; background: var(--red); vertical-align: middle; }
.pl .ops-tabs button.on i.mn-dot { display: none; }

/* left: play */
.pl .mn-hero { top: 18cqh; width: min(40cqw, 74cqh); gap: 2.6cqh; }
.pl .mn .mn-modes { background: rgba(10, 10, 11, 0.6); }
.pl .mn .mn-modes button { padding: 1.1cqh 2.6cqh 1cqh; font-size: min(1.6cqh, 2.4cqw); }
.pl .mn-h1 { font-size: min(9cqh, 6.4cqw); line-height: 0.9; }
.pl .mn-play.ops-play.df-play { width: min(34cqw, 62cqh); padding: 2cqh 2.8cqh 1.8cqh; font-size: min(5.6cqh, 8cqw); box-shadow: inset 0 0 0 1px var(--bone); }
.pl .mn-play.ops-play small { font: 600 min(1.45cqh, 2.2cqw) / 1 var(--hud); letter-spacing: 0.1em; }
.pl .mn-tut { padding: 0; border: 0; background: none; font: 500 min(1.7cqh, 2.6cqw) / 1.3 var(--body, "Barlow", sans-serif); color: var(--mute-2); cursor: pointer; text-align: left; }
.pl .mn-tut b { font-weight: 600; color: var(--bone); }
.pl .mn-tut.new { color: var(--bone); }
.pl .mn-tut.new b { color: var(--red); }
.pl .mn-tut:hover, .pl .mn-tut:focus-visible { color: var(--bone); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; outline: none; }

/* right: you, then today */
.pl .mn-side { top: 18cqh; width: min(30cqw, 58cqh); gap: 2.4cqh; }
.pl .mn-agent { display: grid; gap: 1.2cqh; }
.pl .mn-card { width: 100%; cursor: pointer; transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pl .mn-card:hover, .pl .mn-card:focus-visible { transform: translateY(-2px); outline: none; }
.pl .mn-card .af-hero { margin: 0; }
.pl .mn-agentbar { display: flex; align-items: center; justify-content: space-between; gap: 2cqh; }
.pl .mn-agentbar .df-lv { display: flex; align-items: center; gap: 1.2cqh; flex: 1 1 auto; min-width: 0; }
.pl .mn-agentbar .df-lv b { flex: none; font: 700 min(1.6cqh, 2.4cqw) / 1 var(--hud); letter-spacing: 0.08em; color: var(--bone); }
.pl .mn-agentbar .df-xpbar { flex: 1 1 auto; max-width: 16cqh; height: 3px; background: rgba(244, 241, 234, 0.14); }
.pl .mn-agentbar .df-xpbar em { display: block; height: 100%; background: var(--bone); }
.pl .mn-link { flex: none; display: inline-flex; align-items: center; gap: 0.9cqh; padding: 0; border: 0; background: none; font: 700 min(1.5cqh, 2.3cqw) / 1 var(--hud); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); cursor: pointer; }
.pl .mn-link .af-tabpip { margin-left: 0.2em; animation: none; }
.pl .mn-link:hover, .pl .mn-link:focus-visible { color: #fff; outline: none; }
.pl .mn-chev { width: 0.45em; height: 0.45em; flex: none; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: 0.7; }

.pl .mn-today { display: grid; background: rgba(10, 10, 11, 0.7); box-shadow: inset 0 0 0 1px var(--rule); }
.pl .mn-label { padding: 1.4cqh 2.2cqh 0.4cqh; font: 700 min(1.3cqh, 2cqw) / 1 var(--hud); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute-2); }
.pl .mn-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 2cqh; row-gap: 0.7cqh; align-items: center;
  width: 100%; margin: 0; padding: 1.7cqh 2.2cqh; border: 0; background: none; box-shadow: none; text-align: left; color: var(--bone); font: inherit; }
.pl .mn-row + .mn-row { border-top: 1px solid var(--rule); }
.pl .mn-row::before, .pl .mn-row::after, .pl .ops .mn-row.df-daily::before, .pl .ops .mn-row.df-daily::after { content: none; }
.pl .mn-rowk { grid-column: 1; font: 600 min(1.3cqh, 2cqw) / 1 var(--hud); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-2); }
.pl .mn-rowk b { color: var(--bone); font-weight: 700; }
.pl .mn-rowt { grid-column: 1; display: flex; align-items: center; gap: 1cqh; font: 700 min(2.9cqh, 4.2cqw) / 1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; color: var(--bone); }
.pl .mn-rowt svg { width: 2.6cqh; height: 2.6cqh; flex: none; }
.pl .mn-rowl { grid-column: 1; font: 500 min(1.55cqh, 2.4cqw) / 1.3 var(--body, "Barlow", sans-serif); color: var(--mute-2); }
.pl .mn-rowl b { font: 600 1em / 1 var(--hud); color: var(--bone); }
.pl .mn-row > .mn-chev, .pl .mn-row > .mn-btn { grid-column: 2; grid-row: 1 / span 3; }
.pl .mn-oprow { cursor: pointer; transition: background-color 0.15s; }
.pl .mn-oprow:hover, .pl .mn-oprow:focus-visible { background: rgba(244, 241, 234, 0.04); outline: none; }
.pl .mn-oprow > .mn-chev { width: 0.8cqh; height: 0.8cqh; color: var(--bone); }
.pl .mn-btn { padding: 1.1cqh 2.2cqh 1cqh; border: 0; background: var(--bone); color: #0a0a0b; font: 800 min(1.6cqh, 2.4cqw) / 1 var(--hud); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background-color 0.15s; }
.pl .mn-btn:hover, .pl .mn-btn:focus-visible { background: #fff; outline: none; }
.pl .mn-btn.ghost { background: none; color: var(--bone); box-shadow: inset 0 0 0 1px var(--rule); }
.pl .mn-btn.ghost:hover, .pl .mn-btn.ghost:focus-visible { box-shadow: inset 0 0 0 1px var(--bone); }
/* the old daily card's frame doesn't apply to its row */
.pl .ops .mn-row.df-daily, .pl .ops .mn-row.df-daily.done { padding: 1.7cqh 2.2cqh; gap: 0.7cqh 2cqh; background: none; box-shadow: none; }
.pl .ops .mn-row.df-daily + .mn-row, .pl .mn-oprow + .df-daily { border-top: 1px solid var(--rule); }

/* bottom: one quiet line */
.pl .ops-ticker.mn-foot { height: 4.4cqh; justify-content: flex-start; gap: 3.2cqh; padding: 0 max(5cqw, 3cqh); border-top: 1px solid rgba(244, 241, 234, 0.1); background: rgba(10, 10, 11, 0.6);
  font: 500 min(1.35cqh, 2cqw) / 1 var(--hud); letter-spacing: 0.1em; text-transform: uppercase; color: #6f6e74; }
.pl .ops-ticker.mn-foot > span { height: auto; padding: 0; border: 0; font: inherit; color: inherit; }
.pl .mn-foot b { margin-right: 0.5em; font: 700 1em / 1 var(--hud); color: var(--mute-2); }
.pl .mn-foot em { margin: 0 0.8em; font-style: normal; }
.pl .mn-live i { display: inline-block; width: 0.55em; height: 0.55em; margin-right: 0.9em; background: var(--red); vertical-align: 0.05em; }
.pl .mn-new .df-newtag { margin-right: 0.8em; }
.pl .mn-soc { margin-left: auto; display: flex; align-items: center; gap: 2.6cqh; }
.pl .mn-soc a { display: inline-flex; align-items: center; gap: 0.6em; color: var(--mute-2); text-decoration: none; transition: color 0.15s; }
.pl .mn-soc a:hover, .pl .mn-soc a:focus-visible { color: var(--bone); outline: none; }
.pl .mn-soc svg { width: 1.3em; height: 1.3em; }
.pl .mn-soc small { font: inherit; color: var(--red); opacity: 0.85; }

/* between laptop and tablet widths: the operator gives the two sides room */
@container (min-aspect-ratio: 6 / 5) and (max-aspect-ratio: 3 / 2) {
  .pl .mn .ops-feature { opacity: 0.32; }
  .pl .mn-hero { width: min(46cqw, 74cqh); }
  .pl .mn-side { width: min(38cqw, 58cqh); }
}

/* phones and tall screens: one column (play, you, today, the line) */
@container (max-aspect-ratio: 6 / 5) {
  .pl .mn .ops-feature { opacity: 0.28; }
  .pl .ops-menu.mn > .mn-hero { gap: 2cqh; margin-top: 1cqh; }
  .pl .mn-h1 { font-size: min(7.4cqh, 13cqw); }
  .pl .mn-play.ops-play.df-play { width: 100%; font-size: min(5.4cqh, 10cqw); }
  .pl .mn-play.ops-play small { display: block; }
  .pl .mn-side { width: auto; }
  .pl .mn-card { width: 100%; }
  .pl .mn-row { padding: 1.6cqh 2cqh; }
  .pl .mn-rowt { font-size: min(2.8cqh, 5.4cqw); }
  .pl .mn-rowk, .pl .mn-label { font-size: min(1.4cqh, 2.9cqw); }
  .pl .mn-rowl { font-size: min(1.7cqh, 3.4cqw); }
  .pl .mn-btn, .pl .mn-link { font-size: min(1.7cqh, 3.3cqw); }
  .pl .mn-agentbar .df-lv b { font-size: min(1.7cqh, 3.3cqw); }
  .pl .mn-tut { font-size: min(1.8cqh, 3.6cqw); }
  .pl .ops-ticker.mn-foot { flex-wrap: wrap; height: auto; row-gap: 1.2cqh; padding: 1.6cqh 16px; font-size: min(1.4cqh, 2.9cqw); }
  .pl .mn-soc { margin-left: 0; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pl .mn-card { transition: none; } }

/* Halloween, until Operation Nightfall ends (js/stackdraft.js halloween()). Clean and quiet: a pale crescent in the sky
   behind the operator, two slow banks of low fog, an ember dot on the event tab. Nothing moves for reduced motion. */
.pl .ops-bg .hw-moon { position: absolute; z-index: 3; right: 30%; top: 4%; width: min(30cqh, 24cqw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(240, 236, 226, 0.34), rgba(240, 236, 226, 0.16) 50%, rgba(240, 236, 226, 0.04) 68%, transparent 72%);
  box-shadow: 0 0 14cqh 4cqh rgba(240, 236, 226, 0.07); }
.pl .ops-bg .hw-moon::after { content: ""; position: absolute; inset: -2%; border-radius: 50%; transform: translate(22%, -12%); background: radial-gradient(circle, #0b0b0d 58%, rgba(11, 11, 13, 0.6) 66%, transparent 72%); }
.pl .ops-bg .hw-fog { position: absolute; z-index: 3; left: -20%; right: -20%; bottom: -4%; height: 46%;
  background: radial-gradient(42% 55% at 22% 72%, rgba(206, 210, 222, 0.20), transparent 70%), radial-gradient(36% 50% at 68% 82%, rgba(206, 210, 222, 0.16), transparent 70%), radial-gradient(30% 45% at 48% 96%, rgba(206, 210, 222, 0.14), transparent 70%);
  filter: blur(8px); animation: hw-drift 70s linear infinite alternate; }
.pl .ops-bg .hw-fog.b { bottom: -10%; height: 32%; opacity: 0.9; animation-duration: 95s; animation-direction: alternate-reverse; }
@keyframes hw-drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
/* the fog also rolls in front of the operator's legs, under the menu itself */
.pl.sd-hw .mn .ops-featwrap::after { content: ""; position: absolute; left: -30%; right: -30%; bottom: 0; height: 34%; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(206, 210, 222, 0.12), transparent 75%); }
.pl.sd-hw .ops-tabs .ops-optab i.mn-dot { background: #ff6a1f; box-shadow: 0 0 0.7em rgba(255, 106, 31, 0.6); }
@media (prefers-reduced-motion: reduce) { .pl .ops-bg .hw-fog { animation: none; } }

/* The Witching Hour store page (js/stackdraft.js storeHTML) and its menu row: ember on black, the unlock film up front */
.pl .mn-bundle .mn-rowk b { color: #ff6a1f; }
.pl .mn-bundle .mn-btn { background: #ff6a1f; color: #0b0b0d; box-shadow: none; }
.pl .sb { --em: #ff6a1f; }
.pl .sb .df-lbtitle span { color: var(--em); }
.pl .sb-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3cqh; align-items: start; width: 100%; max-width: 150cqh; margin-top: 1.4cqh; }
.pl .sb-film { position: relative; aspect-ratio: 16 / 9; background: #070708 url("assets/cosmetics/halloween/clock.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--rule), 0 0 6cqh rgba(255, 106, 31, 0.12); overflow: hidden; }
.pl .sb-film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl .sb-tag { position: absolute; left: 1.4cqh; top: 1.4cqh; padding: 0.6cqh 1cqh 0.5cqh; background: var(--em); color: #0b0b0d; font: 700 min(1.3cqh, 2.2cqw) / 1 var(--hud); letter-spacing: 0.14em; text-transform: uppercase; }
.pl .sb-side { display: grid; gap: 1.6cqh; min-width: 0; }
.pl .sb-lede { margin: 0; font: 500 min(2cqh, 3.2cqw) / 1.45 var(--body); color: var(--bone); }
.pl .sb-items { list-style: none; margin: 0; padding: 0; display: grid; }
.pl .sb-items li { display: flex; justify-content: space-between; gap: 2cqh; padding: 1cqh 0; border-top: 1px solid var(--rule); }
.pl .sb-items b { font: 700 min(2cqh, 3.3cqw) / 1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--bone); }
.pl .sb-items span { font: 600 min(1.35cqh, 2.3cqw) / 1.3 var(--hud); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); text-align: right; }
.pl .sb-clock { font: 600 min(1.45cqh, 2.4cqw) / 1 var(--hud); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute-2); }
.pl .sb-clock b { color: var(--em); }
.pl .sb-buyrow { display: grid; gap: 1cqh; justify-items: start; }
.pl .sb-buy.df-lbbtn { padding: 1.6cqh 3.2cqh 1.4cqh; background: var(--em); color: #0b0b0d; font-size: min(2.4cqh, 3.8cqw); text-decoration: none; box-shadow: 0 0 3cqh rgba(255, 106, 31, 0.35); }
.pl .sb-buy.df-lbbtn:hover, .pl .sb-buy.df-lbbtn:focus-visible { filter: brightness(1.1); outline: none; }
.pl .sb-note { margin: 0; font: 500 min(1.6cqh, 2.7cqw) / 1.4 var(--body); color: var(--mute-2); }
.pl .sb-note b { color: var(--bone); }
.pl .sb-note a { color: var(--em); }
.pl .sb-wait { display: grid; gap: 0.6cqh; padding: 1.4cqh 1.8cqh; border: 1px solid var(--em); background: rgba(255, 106, 31, 0.08); }
.pl .sb-wait b { font: 700 min(2cqh, 3.4cqw) / 1 var(--hud); letter-spacing: 0.12em; text-transform: uppercase; color: var(--em); animation: sbWait 1.6s ease-in-out infinite; }
.pl .sb-wait span { font: 500 min(1.6cqh, 2.7cqw) / 1.4 var(--body); color: var(--bone); }
@keyframes sbWait { 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .pl .sb-wait b { animation: none; } }
.pl .sb-fine { margin: 0; font: 500 min(1.35cqh, 2.3cqw) / 1.4 var(--body); color: var(--mute-2); opacity: 0.8; }
@container (max-aspect-ratio: 6 / 5) {
  .pl .sb-grid { grid-template-columns: minmax(0, 1fr); }
  .pl .sb-lede, .pl .sb-items b { font-size: max(14px, 3.8cqw); }
  .pl .sb-items span, .pl .sb-clock, .pl .sb-note, .pl .sb-fine { font-size: max(11px, 3cqw); }
  .pl .sb-buy.df-lbbtn { font-size: max(15px, 4.4cqw); }
}
@media (prefers-reduced-motion: reduce) { .pl .sb-film video { display: none; } }
/* the store's buttons go forward: no Back arrow on Buy or the store's own actions */
.pl .sb-buy.df-lbbtn::before, .pl .sb-buyrow .df-lbbtn::before { content: none; }
.pl .sb-buy.df-lbbtn::after { content: " ▸"; font-size: 0.8em; }

/* the Store tab: always in the header while a bundle is on sale, ember like the store page */
.pl .ops-tabs .ops-storetab { color: #ff6a1f; }
.pl .ops-tabs .ops-storetab i.mn-dot { background: #ff6a1f; box-shadow: 0 0 0.7em rgba(255, 106, 31, 0.6); }
.pl .ops-tabs .ops-storetab.on { color: #ff6a1f; }
.pl .ops-tabs .ops-storetab.on i.mn-dot { display: none; }

/* What you get: the four items as the File draws them */
.pl .sb-show { display: grid; gap: 1.2cqh; width: 100%; max-width: 150cqh; margin-top: 2.4cqh; }
.pl .sb-show .df-label { color: #ff6a1f; }
.pl .sb-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2cqh; }
.pl .sb-tile { margin: 0; display: grid; gap: 1cqh; align-content: start; min-width: 0; }
.pl .sb-tile .cz-tile { width: 100%; }
.pl .sb-tile figcaption { display: grid; gap: 0.3cqh; }
.pl .sb-tile figcaption b { font: 700 min(2cqh, 3.3cqw) / 1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--bone); }
.pl .sb-tile figcaption span { font: 600 min(1.3cqh, 2.2cqw) / 1.3 var(--hud); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); }
@container (max-aspect-ratio: 6 / 5) {
  .pl .sb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl .sb-tile figcaption b { font-size: max(13px, 3.6cqw); }
  .pl .sb-tile figcaption span { font-size: max(10px, 2.8cqw); }
}

/* ===== Store v2 (owner, Oct 30: "100x cooler, smoother, and intriguing") ===== */
.pl .sb { position: relative; }
.pl .sb::before { content: ""; position: absolute; inset: 0 0 auto; height: 70%; pointer-events: none; z-index: -1;
  background: radial-gradient(50% 60% at 30% 40%, rgba(255, 106, 31, 0.13), transparent 70%); }
.pl .sb .df-lbtitle { font-size: min(9cqh, 7cqw); letter-spacing: 0.01em; text-shadow: 0 0 4cqh rgba(255, 106, 31, 0.25); animation: sb-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.pl .sb .df-lbtitle span { background: linear-gradient(180deg, #ffb070, #ff6a1f 55%, #c2410c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl .sb-grid { animation: sb-in 0.8s 0.08s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
/* the film: framed, lit, alive */
.pl .sb-film { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 106, 31, 0.35), 0 2.4cqh 7cqh rgba(0, 0, 0, 0.6), 0 0 9cqh rgba(255, 106, 31, 0.16); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s; }
.pl .sb-film:hover { transform: scale(1.012); box-shadow: 0 0 0 1px rgba(255, 106, 31, 0.6), 0 2.4cqh 7cqh rgba(0, 0, 0, 0.6), 0 0 12cqh rgba(255, 106, 31, 0.28); }
.pl .sb-vig { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(75% 85% at 50% 45%, transparent 55%, rgba(5, 5, 6, 0.75)); }
.pl .sb-embers { position: absolute; inset: 0; pointer-events: none; opacity: 0.85;
  background-image: radial-gradient(1.5px 1.5px at 12% 80%, #ffb070, transparent), radial-gradient(1px 1px at 28% 92%, #ff6a1f, transparent), radial-gradient(1.5px 1.5px at 46% 86%, #ffd2a6, transparent),
    radial-gradient(1px 1px at 63% 95%, #ff6a1f, transparent), radial-gradient(2px 2px at 79% 84%, #ffb070, transparent), radial-gradient(1px 1px at 91% 90%, #ff8a3d, transparent);
  background-size: 100% 100%; animation: sb-rise 7s linear infinite; }
.pl .sb-embers.b { animation-duration: 11s; animation-delay: -4s; transform: scaleX(-1); opacity: 0.6; }
@keyframes sb-rise { from { transform: translateY(0); opacity: 0; } 15% { opacity: 0.9; } to { transform: translateY(-70%); opacity: 0; } }
.pl .sb-embers.b { animation-name: sb-rise-b; }
@keyframes sb-rise-b { from { transform: scaleX(-1) translateY(0); opacity: 0; } 15% { opacity: 0.6; } to { transform: scaleX(-1) translateY(-70%); opacity: 0; } }
.pl .sb-tag { box-shadow: 0 0 2cqh rgba(255, 106, 31, 0.5); }
.pl .sb-filmcap { position: absolute; right: 1.6cqh; bottom: 1.3cqh; font: 700 min(1.3cqh, 2.2cqw) / 1 var(--hud); letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 210, 166, 0.75); text-shadow: 0 0 1.4cqh rgba(255, 106, 31, 0.8); }
/* countdown + price */
.pl .sb-clock { display: flex; align-items: baseline; gap: 1.2cqh; flex-wrap: wrap; }
.pl .sb-clock b { font: 700 min(2.6cqh, 4cqw) / 1 var(--display); letter-spacing: 0.06em; color: #ff6a1f; font-variant-numeric: tabular-nums; text-shadow: 0 0 1.6cqh rgba(255, 106, 31, 0.5); }
.pl .sb-price { display: flex; align-items: center; gap: 1.6cqh; }
.pl .sb-price b { font: 900 min(6.4cqh, 9cqw) / 0.9 var(--display); color: var(--bone); letter-spacing: 0.01em; }
.pl .sb-price span { font: 600 min(1.4cqh, 2.3cqw) / 1.35 var(--hud); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute-2); }
/* the button: alive, a light sweeping across */
.pl .sb-buy.df-lbbtn { position: relative; overflow: hidden; animation: sb-pulse 2.6s ease-in-out infinite; transition: transform 0.15s, filter 0.15s; }
.pl .sb-buy.df-lbbtn:hover { transform: translateY(-2px); }
.pl .sb-buy.df-lbbtn:active { transform: translateY(0) scale(0.98); }
.pl .sb-buy.df-lbbtn > * { position: relative; }
.pl .sb-buyrow .sb-buy.df-lbbtn { background: linear-gradient(100deg, #ff6a1f 0%, #ff6a1f 40%, #ffb070 50%, #ff6a1f 60%, #ff6a1f 100%); background-size: 250% 100%; animation: sb-pulse 2.6s ease-in-out infinite, sb-sweep 3.2s ease-in-out infinite; }
@keyframes sb-pulse { 0%, 100% { box-shadow: 0 0 2.4cqh rgba(255, 106, 31, 0.35); } 50% { box-shadow: 0 0 5cqh rgba(255, 106, 31, 0.7); } }
@keyframes sb-sweep { 0%, 55% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
/* the items: rise in one by one, glow on hover */
.pl .sb-show { animation: sb-in 0.8s 0.18s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.pl .sb-tile { animation: sb-in 0.7s calc(0.3s + var(--k, 0) * 0.09s) cubic-bezier(0.2, 0.8, 0.2, 1) both; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.25s; }
.pl .sb-tile:hover { transform: translateY(-6px); filter: drop-shadow(0 1.4cqh 2.6cqh rgba(255, 106, 31, 0.35)); }
.pl .sb-tile .cz-tile { box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.25); transition: box-shadow 0.25s; }
.pl .sb-tile:hover .cz-tile { box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.8), 0 0 3cqh rgba(255, 106, 31, 0.25); }
@keyframes sb-in { from { opacity: 0; transform: translateY(2.4cqh); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .pl .sb *, .pl .sb .df-lbtitle, .pl .sb-grid, .pl .sb-show, .pl .sb-tile { animation: none !important; }
}

/* the store's own backdrop: the clock blurred into the dark, ember light from below, fog */
.pl .sb-bg { background: #070606; }
.pl .sb-bg .ops-plate { filter: blur(14px) brightness(0.32) saturate(1.3) sepia(0.25); transform: scale(1.15); background-position: 70% 40%; }
.pl .sb-bg .sb-bgglow { position: absolute; inset: 0; z-index: 3; background: radial-gradient(70% 55% at 50% 105%, rgba(255, 106, 31, 0.22), transparent 70%), radial-gradient(45% 40% at 75% 30%, rgba(255, 140, 60, 0.08), transparent 70%), linear-gradient(180deg, rgba(7, 6, 6, 0.55), transparent 35%, rgba(7, 6, 6, 0.6)); }
.pl .sb-bg .hw-fog { background: radial-gradient(42% 55% at 22% 72%, rgba(255, 170, 120, 0.10), transparent 70%), radial-gradient(36% 50% at 68% 82%, rgba(255, 150, 90, 0.08), transparent 70%); }
.pl .df-draft.ops:has(> .sb-bg)::after { background: linear-gradient(90deg, rgba(7, 6, 6, 0.55), rgba(7, 6, 6, 0.15) 60%, rgba(7, 6, 6, 0.45)); }

/* Blitz, the online 1v1 mode, as the first row of Today (js/stackdraft.js duelRowHTML): a red edge, a live dot */
.pl a.mn-blitz { text-decoration: none; box-shadow: inset 0.45cqh 0 0 var(--red); background: linear-gradient(90deg, rgba(232, 23, 58, 0.14), transparent 75%); }
.pl a.mn-blitz:hover, .pl a.mn-blitz:focus-visible { background: linear-gradient(90deg, rgba(232, 23, 58, 0.24), rgba(232, 23, 58, 0.04) 85%); }
.pl .mn-blitz .mn-rowk b { color: var(--red); }
.pl .mn-blitz .mn-btn { background: var(--red); color: #fff; }
.pl .mn-blitz:hover .mn-btn, .pl .mn-blitz:focus-visible .mn-btn { background: #fff; color: #0a0a0b; }
.pl .mn-blitz .mn-live-dot { display: inline-block; width: 0.55em; height: 0.55em; margin: 0 0.5em 0 0.1em; background: var(--red); vertical-align: 0.05em; animation: mn-live 1.6s ease-in-out infinite; }
@keyframes mn-live { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .pl .mn-blitz .mn-live-dot { animation: none; } }
