* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root {
  --ink: #2b2522; --paper: #f1e2cc; --card: rgba(255, 255, 255, 0.92); --green: #2e9c6a; --green-d: #1f6e4a;
  --red: #e2553e; --red-d: #a8382a; --gold: #ffc83d;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px);
}
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--paper); color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; user-select: none; -webkit-user-select: none; touch-action: none; }
#c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
button { font: inherit; color: var(--ink); cursor: pointer; }
.hidden { display: none !important; }

#top { position: fixed; top: calc(8px + var(--safe-t)); left: calc(10px + var(--safe-l)); right: calc(10px + var(--safe-r));
  display: flex; align-items: center; gap: 10px; pointer-events: none; }
#top > * { pointer-events: auto; }
#title { margin: 0 auto; text-align: center; background: var(--card); border-radius: 14px; padding: 5px 14px; box-shadow: 0 2px 0 rgba(0,0,0,.08); }
#title b { display: block; font-size: 15px; }
#title small { font-size: 12px; opacity: .7; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 20px; font-weight: 800;
  box-shadow: 0 3px 0 rgba(0,0,0,.14); display: grid; place-items: center; padding: 0; }
.round.small { width: 44px; height: 44px; font-size: 22px; }
.round.danger { color: var(--red); }
.round:disabled { opacity: .35; }
.round:active, .big:active, .part:active { transform: translateY(2px); box-shadow: none; }

#zoomTools { position: fixed; left: calc(12px + var(--safe-l)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
#zoomTools .round { width: 40px; height: 40px; font-size: 24px; opacity: .92; }
#selTools { position: fixed; right: calc(12px + var(--safe-r)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }

#bottom { position: fixed; left: 0; right: 0; bottom: 0; padding: 8px calc(12px + var(--safe-r)) calc(8px + var(--safe-b)) calc(12px + var(--safe-l));
  display: flex; gap: 10px; align-items: center; }
#inv { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; touch-action: pan-x; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
#inv::-webkit-scrollbar { display: none; }
/* sfumatura ai bordi quando ci sono altri pezzi da scorrere */
#inv.more-r { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
#inv.more-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%); mask-image: linear-gradient(90deg, transparent, #000 15%); }
#inv.more-l.more-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.part { flex: 0 0 auto; width: 72px; height: 66px; border: 0; border-radius: 14px; background: #fff; padding: 4px; box-shadow: 0 3px 0 rgba(0,0,0,.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; touch-action: pan-x; }
.part svg { width: 30px; height: 30px; }
.part small { font-size: 11px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.part i { position: absolute; top: 3px; right: 6px; font-style: normal; font-size: 11px; font-weight: 800; opacity: .6; }
.part:disabled { opacity: .35; }
.big { border: 0; border-radius: 16px; height: 56px; padding: 0 24px; font-weight: 900; font-size: 19px; background: var(--green); color: #fff;
  box-shadow: 0 4px 0 var(--green-d); min-width: 116px; }
.big.stop { background: var(--red); box-shadow: 0 4px 0 var(--red-d); }

#dial { position: fixed; border-radius: 50%; border: 2px dashed rgba(255, 179, 0, .75); pointer-events: none; }
#knob { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 900;
  display: grid; place-items: center; box-shadow: 0 3px 0 rgba(0,0,0,.2); pointer-events: auto; touch-action: none; }
#mag { position: fixed; width: 150px; height: 150px; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); pointer-events: none; }
#mag::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border: 2px solid rgba(43,37,34,.5); border-radius: 50%; }

#toast { position: fixed; top: calc(70px + var(--safe-t)); left: 50%; transform: translateX(-50%); background: rgba(40,30,25,.88); color: #fff;
  padding: 10px 16px; border-radius: 14px; font-weight: 700; font-size: 14px; opacity: 0; transition: opacity .25s; pointer-events: none; max-width: min(88vw, 560px); text-align: center; }
#toast.show { opacity: 1; }
#rotateTip { position: fixed; bottom: calc(100px + var(--safe-b)); left: 50%; transform: translateX(-50%); background: var(--card); padding: 8px 14px;
  border-radius: 12px; font-size: 13px; font-weight: 700; box-shadow: 0 2px 0 rgba(0,0,0,.1); text-align: center; max-width: 90vw; cursor: pointer; }
#rotateTip::after { content: "  ✕"; opacity: .5; }
#shade { position: fixed; inset: 0; background: rgba(43,37,34,.25); }
#panel { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 520px); max-height: 88vh; overflow: auto;
  background: #fffdf8; border-radius: 22px; padding: 18px 20px; box-shadow: 0 20px 60px rgba(0,0,0,.25); text-align: center; }
#panel h2 { margin: 0 0 4px; font-size: 24px; }
#panel p { margin: 6px 0; }
#panel .sub { opacity: .6; font-weight: 700; margin-top: 0; }
#panel .tip { font-size: 14px; opacity: .75; }
#panel .stars { font-size: 44px; letter-spacing: 6px; color: #e5d9c6; }
#panel .stars .on { color: var(--gold); text-shadow: 0 2px 0 #d09a14; }
#panel .row { display: flex; gap: 10px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
#panel .row button { border: 0; border-radius: 14px; padding: 11px 18px; background: #efe4d4; font-weight: 800; }
#panel .row button.go { background: var(--green); color: #fff; box-shadow: 0 3px 0 var(--green-d); }
#panel .settings button { font-weight: 700; font-size: 14px; }
#panel .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 8px; }
#panel .chgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; margin-top: 8px; }
#panel .ch { border: 0; border-radius: 18px; background: var(--tint, #fff); box-shadow: 0 3px 0 rgba(0,0,0,.12); padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
#panel .ch .icon svg { width: 34px; height: 34px; }
#panel .ch b { font-size: 13px; opacity: .6; }
#panel .ch span { font-size: 14px; font-weight: 800; }
#panel .ch small { font-size: 13px; font-weight: 700; color: #b07d0f; }
#panel .ch.locked { filter: grayscale(.8); opacity: .6; }
#panel .ch.cur { outline: 3px solid var(--gold); }
#panel .lv { border: 0; border-radius: 16px; background: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.1); padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
#panel .lv b { font-size: 22px; }
#panel .lv span { font-size: 13px; font-weight: 700; }
#panel .lv small { color: #d09a14; font-size: 13px; }
#panel .lv.cur { outline: 3px solid var(--gold); }
#loading { position: fixed; inset: 0; display: grid; place-items: center; background: var(--paper); }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 5px solid rgba(43,37,34,.15); border-top-color: var(--green); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#err { position: fixed; left: 8px; right: 8px; bottom: 90px; background: #fff0f0; color: #a00; font: 12px monospace; white-space: pre-wrap; padding: 8px; border-radius: 8px; display: none; max-height: 30vh; overflow: auto; z-index: 9; }
#panel .build { font-size: 11px; opacity: .4; margin: 8px 0 0; }
#splash { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  z-index: 5; }
#splash .logo { background: rgba(255,253,248,.94); border-radius: 26px; padding: 18px 34px 20px; box-shadow: 0 12px 40px rgba(60,40,10,.18); }
#splash .logo { text-align: center; }
#splash h1 { margin: 6px 0 0; font-size: clamp(34px, 7vw, 64px); font-weight: 900; letter-spacing: -1px; color: #2b2522;
  text-shadow: 0 3px 0 #fff, 0 6px 18px rgba(120,80,20,.25); }
#splash p { margin: 6px 0 0; font-size: 16px; font-weight: 700; color: #6b5a48; }
#splash .ball { display: inline-block; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6c8, #ffc640 40%, #b07a0c 100%); box-shadow: 0 6px 14px rgba(150,100,0,.35); animation: bob 1.6s ease-in-out infinite; }
#splash .big { font-size: 22px; padding: 0 44px; height: 62px; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* replay: video verticale a sinistra (o in alto), azioni accanto */
#replay { position: fixed; inset: 0; z-index: 6; background: rgba(28,22,18,.88); display: flex; align-items: center; justify-content: center;
  gap: 22px; padding: 16px; flex-wrap: wrap; }
#replay .media { height: min(86vh, 900px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 16px 50px rgba(0,0,0,.5); }
#replay canvas, #replay video { width: 100%; height: 100%; display: block; object-fit: contain; }
#replay .side { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 200px; max-width: 280px; }
#replay p { color: #fff; font-weight: 800; font-size: 18px; margin: 0; text-align: center; }
#replay p.rec::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #e2553e; margin-right: 8px; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }
#replayActions { display: flex; flex-direction: column; gap: 12px; }
#replay button { border: 0; border-radius: 14px; padding: 13px 18px; background: #efe4d4; font-weight: 800; font-size: 16px; }
#replay button.go { background: var(--green); color: #fff; box-shadow: 0 3px 0 var(--green-d); }
#replay .closeBtn { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
@media (orientation: portrait) {
  #replay { flex-direction: column; flex-wrap: nowrap; }
  #replay .media { height: auto; width: min(80vw, 62vh * 9 / 16); }
  #replay .side { max-width: none; width: min(80vw, 360px); }
}
#panel .row button.replayBtn { background: #2b2522; color: #fff; }

/* menu: sfida del giorno e sandbox sopra i capitoli */
#panel .modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 10px 0 4px; }
#panel .mode { border: 0; border-radius: 18px; padding: 10px 12px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; text-align: left; align-items: center; box-shadow: 0 3px 0 rgba(0,0,0,.14); }
#panel .mode .icon { grid-row: span 2; font-size: 28px; }
#panel .mode b { font-size: 15px; }
#panel .mode small { font-size: 12.5px; font-weight: 700; opacity: .8; }
#panel .mode.daily { background: linear-gradient(135deg, #ffe08a, #ffc83d); }
#panel .mode.sand { background: linear-gradient(135deg, #cfe9ff, #9fd0ff); }
#panel .mode.locked { filter: grayscale(.8); opacity: .6; }
#panel .streak { font-weight: 800; color: #d2561e; }
#splash .btns { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
#splash .daily { height: 62px; padding: 0 22px; border: 0; border-radius: 18px; font-weight: 800; font-size: 17px; background: linear-gradient(135deg, #ffe08a, #ffc83d); box-shadow: 0 4px 0 #d09a14; }
#splash .daily small { display: block; font-size: 12px; opacity: .75; }

/* biglie da collezione */
#panel .mode.skins { background: #fff4d6; }
#panel .ball { display: inline-block; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset -3px -4px 6px rgba(0,0,0,.25), 0 2px 3px rgba(0,0,0,.2); vertical-align: middle; }
#panel .skingrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 8px; }
#panel .skin { border: 0; border-radius: 18px; background: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.12); padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
#panel .skin .ball { width: 52px; height: 52px; }
#panel .skin span { font-size: 13px; font-weight: 800; }
#panel .skin small { font-size: 12px; font-weight: 700; color: #b07d0f; min-height: 15px; }
#panel .skin.locked .ball { filter: grayscale(.85) brightness(.8); }
#panel .skin.cur { outline: 3px solid #2e9c6a; }

/* joystick a frecce per spostare il pezzo selezionato */
#padBtn.on { background: var(--gold); }
#pad { position: fixed; right: calc(68px + var(--safe-r)); top: 50%; transform: translateY(-50%); display: grid; gap: 6px;
  grid-template-columns: repeat(3, 50px); grid-template-rows: repeat(3, 50px); grid-template-areas: ". u x" "l c r" ". d .";
  background: rgba(255,253,248,.55); padding: 8px; border-radius: 24px; box-shadow: 0 4px 16px rgba(0,0,0,.12); touch-action: none; }
#pad button { border: 0; border-radius: 14px; background: #fff; font-size: 20px; font-weight: 900; box-shadow: 0 3px 0 rgba(0,0,0,.14); padding: 0; touch-action: none; }
#pad button.dir:active, #pad button.held { transform: translateY(2px); box-shadow: none; background: var(--gold); }
#pad #padStep { font-size: 11px; font-weight: 800; background: #efe4d4; line-height: 1.1; }
#pad #padClose { font-size: 15px; background: transparent; box-shadow: none; opacity: .6; }
@media (max-height: 380px) { #pad { grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(3, 44px); } }

/* tutorial illustrato */
#panel.tut { width: min(94vw, 560px); }
#panel .tutArt { display: block; width: 100%; height: min(38vh, 170px); margin: 4px 0; }
#panel .tutText { font-size: 15px; line-height: 1.35; min-height: 3.6em; }
#panel .dots { display: flex; gap: 6px; justify-content: center; margin-top: 6px; }
#panel .dots i { width: 8px; height: 8px; border-radius: 50%; background: #e2d6c4; }
#panel .dots i.on { background: var(--green); }
#panel .row button.skip { background: transparent; opacity: .6; }

/* guida del primo livello: manina e fumetto */
#hand { position: fixed; left: 0; top: 0; font-size: 46px; pointer-events: none; z-index: 4; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3));
  transform-origin: 40% 10%; will-change: transform; }
#hand.tap { animation: handTap 1s ease-in-out infinite; }
@keyframes handTap { 0%, 100% { scale: 1; } 45% { scale: .82; } }
#guideTip { position: fixed; top: calc(64px + var(--safe-t)); left: 50%; transform: translateX(-50%); z-index: 4; background: var(--gold); color: var(--ink);
  font-weight: 900; font-size: 16px; padding: 10px 18px; border-radius: 16px; box-shadow: 0 4px 0 #d09a14; max-width: min(90vw, 560px); text-align: center; pointer-events: none;
  animation: tipIn .3s ease-out; }
@keyframes tipIn { from { opacity: 0; transform: translate(-50%, -8px); } }

/* dopo una prova fallita: condividi il fail */
#failChip { position: fixed; left: 50%; bottom: calc(86px + var(--safe-b)); transform: translateX(-50%); border: 0; border-radius: 999px; padding: 10px 18px;
  background: #2b2522; color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 3; animation: tipIn .3s ease-out; }

#panel .show { font-weight: 700; color: #6b4fd0; }
#panel .show b { font-size: 20px; }
#panel .show .rec { color: #d2561e; font-weight: 900; }
#panel .show small { opacity: .6; }

/* editor dei livelli */
#createBar { position: fixed; top: calc(62px + var(--safe-t)); left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; flex-wrap: nowrap; }
#createBar button { border: 0; border-radius: 12px; padding: 8px 12px; background: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 3px 0 rgba(0,0,0,.14); white-space: nowrap; }
#createBar button.go { background: var(--green); color: #fff; box-shadow: 0 3px 0 var(--green-d); }
body.creating #toast { top: calc(112px + var(--safe-t)); }
#panel .mode.make { background: linear-gradient(135deg, #d9f5d0, #a8e39a); }
#panel .paste { display: flex; gap: 8px; margin: 8px 0 2px; }
#panel .paste input, #panel input#pName { flex: 1; border: 2px solid #e2d6c4; border-radius: 12px; padding: 9px 12px; font: inherit; font-size: 14px; background: #fff; min-width: 0; user-select: text; -webkit-user-select: text; }
#panel input#pName { width: min(100%, 320px); text-align: center; font-weight: 800; }
#panel .paste button { border: 0; border-radius: 12px; padding: 9px 14px; background: #efe4d4; font-weight: 800; }

/* gemme e negozio */
#panel .gems { font-weight: 800; color: #1f8f8a; }
#panel .gems b { font-size: 20px; }
#panel .gems button { border: 0; border-radius: 10px; padding: 5px 10px; margin-left: 6px; background: #2b2522; color: #fff; font-weight: 800; }
#panel .mode.shop { background: linear-gradient(135deg, #e3dcff, #c4b5fd); }
#panel h3 { margin: 12px 0 2px; font-size: 16px; text-align: left; }
#panel .swatch { display: block; width: 52px; height: 52px; border-radius: 14px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); }
#panel .swatch.trail { height: 16px; margin: 18px 0; border-radius: 8px; }
#panel .item.locked .swatch { filter: saturate(.6); opacity: .8; }

#skipChip { position: fixed; right: calc(150px + var(--safe-r)); bottom: calc(86px + var(--safe-b)); border: 0; border-radius: 999px; padding: 10px 16px;
  background: var(--gold); color: var(--ink); font-weight: 900; font-size: 14px; box-shadow: 0 4px 0 #d09a14; z-index: 3; animation: tipIn .3s ease-out; }
#skipChip[disabled] { opacity: .5; }

/* scheda del pezzo nuovo */
#panel .pieceIntro { width: 110px; height: 110px; margin: 6px auto 0; border-radius: 28px; background: #fff4d6; display: grid; place-items: center;
  box-shadow: 0 4px 0 rgba(0,0,0,.08); animation: pieceIn .6s cubic-bezier(.2,1.6,.4,1) both, wiggle 2.4s ease-in-out .7s infinite; }
#panel .pieceIntro svg { width: 78px; height: 78px; }
#panel h3.pieceName { text-align: center; font-size: 20px; margin: 8px 0 0; }
@keyframes pieceIn { from { transform: scale(.3) rotate(-20deg); opacity: 0; } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-8deg); } 20% { transform: rotate(6deg); } 30% { transform: rotate(0); } }

/* invito a installare l'app (web) */
#panel .getapp { display: block; margin: 10px auto 2px; max-width: 360px; padding: 10px 14px; border-radius: 16px; background: #1f2a24; color: #fff; text-decoration: none; box-shadow: 0 3px 0 rgba(0,0,0,.25); }
#panel .getapp b { display: block; font-size: 16px; }
#panel .getapp small { opacity: .8; font-size: 12.5px; }

#panel .mode.endless { background: linear-gradient(135deg, #ffd6e0, #ff9fb6); }
#panel p.score { font-size: 22px; font-weight: 900; margin: 8px 0 2px; }

#panel .rival { background: #fff4d6; border-radius: 14px; padding: 8px 12px; margin: 8px auto 0; max-width: 380px; font-size: 14px; }
#panel .rival b { font-size: 16px; }

#panel .mode.event { background: linear-gradient(135deg, #fff1b8, #ffcf4d); }
#panel .prize { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0; }
#panel .prize .swatch.trail { width: 70px; margin: 0; }
#panel .lv.done { background: #e6f6ec; }

/* galleria della community */
#panel .mode.gallery { background: linear-gradient(135deg, #d4f1ff, #8fd3ff); }
#panel .gtabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 6px 0 8px; }
#panel .gtabs .gtab { border: 0; border-radius: 999px; padding: 7px 12px; background: #efe7da; color: var(--ink); font-weight: 800; font-size: 13.5px; }
#panel .gtabs .gtab.on { background: #2b2522; color: #fff; }
#panel .glist { display: grid; gap: 8px; max-width: 520px; margin: 0 auto; text-align: left; }
#panel .gcard { display: flex; gap: 6px; align-items: stretch; }
#panel .gcard .gplay { flex: 1; display: grid; gap: 2px; text-align: left; border: 0; border-radius: 14px; padding: 10px 12px; background: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.08); color: var(--ink); }
#panel .gcard .gplay b { font-size: 16px; }
#panel .gcard .gplay small { opacity: .7; font-size: 12.5px; }
#panel .gcard .gplay span { font-size: 13px; font-weight: 700; color: #1f8f8a; }
#panel .gcard .gdel { border: 0; border-radius: 14px; padding: 0 12px; background: #fde2dc; font-weight: 800; }
#panel button.ghost { opacity: .75; }
#panel button.link { border: 0; background: none; padding: 0 4px; color: #1f6fb2; font-weight: 800; text-decoration: underline; box-shadow: none; }
#panel .pub { background: #1f6fb2; }
#panel .fb { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
#panel .fb button, #panel .fbask button { border: 0; border-radius: 14px; padding: 12px 18px; background: #efe4d4; font-weight: 800; font-size: 15px; }
#panel .fb button { width: 100%; }
#panel .fbask button { margin: 8px auto 0; display: block; }

/* sfida del giorno non ancora fatta: pallino rosso e pulsazione leggera */
#panel .mode.daily.fresh, #splash .daily.fresh { position: relative; animation: dailyPulse 1.8s ease-in-out infinite; }
#panel .mode.daily.fresh::after, #splash .daily.fresh::after { content: ''; position: absolute; top: 7px; right: 9px; width: 12px; height: 12px; border-radius: 50%; background: #ff4d4f; box-shadow: 0 0 0 2px #fff; }
@keyframes dailyPulse { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.03); filter: brightness(1.08); } }
@media (prefers-reduced-motion: reduce) { #panel .mode.daily.fresh, #splash .daily.fresh { animation: none; } }
