/* BRAND STORM — mobile app */
:root {
  --ink: #17133A;
  --paper: #FFF7EA;
  --storm: #4646F0;
  --storm-dark: #3030C4;
  --tint: #EEF0FF;
  --lilac: #E6E3F7;
  --grey: #55516B;
  --line: #E6E1D6;
  --red: #E5243B;
  --sun: #FFC531;
  --mint: #2ED3A0;
  --pink: #FF8AC8;
  --white: #FFFFFF;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --text: 'DM Sans', system-ui, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--text);
  color: var(--ink);
  background: #2A2763;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
input { font: inherit; }

/* The app is a single mobile column. On a wide screen it stays phone-sized in the middle. */
#app {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
}
@media (min-width: 500px) {
  #app { height: min(100dvh, 900px); margin-top: max(0px, calc((100dvh - 900px) / 2)); border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
}

.screen { position: absolute; inset: 0; display: flex; flex-direction: column; }
.scroll { flex: 1; overflow-y: auto; padding: calc(56px + var(--safe-top)) 20px 24px; -webkit-overflow-scrolling: touch; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.footer { padding: 0 20px 24px; display: flex; gap: 10px; }

/* Type */
.h1 { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; margin: 0; letter-spacing: 0; }
.h2 { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.08; text-transform: uppercase; margin: 0; }
.lead { font-size: 14px; line-height: 1.45; color: var(--grey); margin: 0; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin: 0; }
.eyebrow.ink { color: var(--ink); }
.team-name { font-family: var(--display); font-weight: 800; font-size: 18px; text-transform: uppercase; }

/* Cards and chips */
.card { background: var(--white); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card.tinted { background: var(--tint); }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--paper); font-weight: 500; font-size: 14px; line-height: 18px; }
.chip.removable { padding-right: 6px; }
.chip .x { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--grey); }
.chip .x:active { background: var(--line); }
.chip.outline { background: var(--white); border: 1.5px solid var(--line); }
.dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.dot.blue { background: var(--storm); } .dot.red { background: var(--red); }
.empty { font-size: 14px; color: var(--grey); }
.pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.pill.blue { background: var(--storm); } .pill.red { background: var(--red); }

/* Buttons */
.btn { flex: 1; height: 56px; border-radius: 16px; font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform 0.08s, opacity 0.2s; }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--storm); color: var(--white); }
.btn.secondary { background: var(--white); color: var(--ink); border: 2px solid var(--ink); }
.btn[disabled] { opacity: 0.4; pointer-events: none; }
.btn.square { flex: 0 0 110px; background: transparent; border: 2px solid var(--ink); color: var(--ink); }
.add-btn { width: 100%; height: 47px; border-radius: 16px; background: var(--tint); color: var(--storm); font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
.link { font-weight: 500; font-size: 15px; color: var(--grey); text-align: center; padding: 8px; }

/* Segmented control */
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--lilac); border-radius: 16px; }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px - (var(--n) - 1) * 4px) / var(--n)); border-radius: 12px; background: var(--white); box-shadow: 0 1px 3px rgba(23,19,58,0.08); transform: translateX(calc(var(--i) * (100% + 4px))); transition: transform 0.3s cubic-bezier(.4,0,.2,1); }
.seg button { position: relative; z-index: 1; height: 38px; border-radius: 12px; font-weight: 500; font-size: 14px; color: var(--grey); transition: color 0.3s; }
.seg button.on { color: var(--ink); font-weight: 700; }

/* Steppers */
.stepper { display: flex; align-items: center; gap: 12px; }
.round-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.round-btn:active { background: var(--line); }
.round-btn[disabled] { opacity: 0.35; }
.stepper .val { min-width: 42px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--storm); }
.setting { height: 56px; padding: 0 10px 0 16px; flex-direction: row; align-items: center; justify-content: space-between; }
.setting .label { font-weight: 500; font-size: 15px; }

/* Tab bar */
.tabbar { flex-shrink: 0; height: calc(84px + var(--safe-bottom)); padding-bottom: var(--safe-bottom); background: var(--white); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink); font-weight: 700; font-size: 11px; }
.tabbar button.on { color: var(--storm); }

/* Players */
.players { display: flex; flex-direction: column; gap: 8px; }
.player-row { display: flex; align-items: center; gap: 12px; padding: 8px 6px 8px 8px; border-radius: 14px; background: var(--paper); }
.player-row .seat { width: 28px; height: 28px; border-radius: 50%; background: var(--lilac); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 13px; flex-shrink: 0; }
.pname { flex: 1; font-weight: 700; font-size: 15px; }
.player-row .x { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--grey); }
.player-row .x:active { background: var(--line); }
.hint { font-size: 12px; color: var(--grey); }
.add-btn[disabled] { opacity: 0.4; pointer-events: none; }
.center { text-align: center; }

/* Judge */
.judge-card { display: flex; align-items: center; gap: 14px; background: var(--storm); color: var(--white); border-radius: 20px; padding: 18px 16px; }
.judge-card .eyebrow { color: rgba(255,255,255,0.75); display: block; }
.judge-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--sun); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.judge-name { display: block; margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.choices { display: flex; flex-direction: column; gap: 10px; }
.choice { display: flex; align-items: center; gap: 12px; width: 100%; height: 58px; padding: 0 16px; border-radius: 16px; background: var(--white); border: 2px solid var(--line); text-align: left; }
.choice .pname { font-family: var(--display); font-weight: 800; font-size: 17px; text-transform: uppercase; }
.choice .tick { width: 32px; height: 32px; border-radius: 50%; background: var(--lilac); color: var(--grey); display: inline-flex; align-items: center; justify-content: center; }
.choice.on { border-color: var(--storm); background: var(--tint); }
.choice.on .tick { background: var(--sun); color: var(--ink); }
.score-btn { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--storm); padding: 6px 10px; border-radius: 999px; background: var(--tint); }
.score-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--white); border-radius: 16px; padding: 12px 14px; border: 2px solid transparent; }
.score-row.win { border-color: var(--storm); }
.score-row .pname { display: inline-flex; align-items: center; gap: 8px; }
.bulbs.small { gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.bulbs.small .bulb { width: 24px; height: 24px; }
.win-banner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 8px 0 6px; }

/* Round intro */
.role-icon { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.role-icon.blue { background: var(--storm); } .role-icon.red { background: var(--red); }
.card p { margin: 0; font-size: 14px; line-height: 1.45; }

/* Timer */
.topline { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.quit-btn { width: 36px; height: 36px; margin: -8px -6px -8px 0; border-radius: 50%; background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.quit-btn:active { background: var(--line); }
.btn.danger { background: var(--red); color: var(--white); }
.topline .score { font-family: var(--text); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--grey); }
.phases { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.phase { padding: 6px 14px; border-radius: 999px; background: var(--lilac); font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.phase.on { background: var(--storm); color: var(--white); }
.phase.done { background: var(--tint); color: var(--grey); }
.ring-wrap { position: relative; width: 250px; height: 250px; margin: 56px auto 0; }
.ring-wrap svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--storm); transition: stroke 0.3s; }
.ring-wrap.ending .ring-fg { stroke: var(--red); }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.time { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; }
.ring-wrap.ending .time { color: var(--red); }
.time-sub { font-size: 14px; color: var(--grey); }
.who { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }

/* Count errors */
.counter { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 110px; }
.counter .big-btn { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; background: var(--white); }
.counter .big-btn[disabled] { opacity: 0.3; }
.count-num { min-width: 56px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 96px; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.count-label { text-align: center; color: var(--grey); font-size: 14px; margin-top: 4px; }

/* Round result */
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 70px; align-items: start; }
.result { background: var(--white); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 6px; border: 2px solid transparent; }
.result.win { border-color: var(--storm); }
.result .n { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; margin-top: 10px; }
.result.win.blue .n { color: var(--storm); } .result.win.red .n { color: var(--red); }
.result .sub { font-size: 13px; color: var(--grey); }
.result .verdict { font-size: 13px; margin-top: 8px; color: var(--grey); }
.result.win .verdict { color: var(--storm); font-weight: 700; }
.result.win.red .verdict { color: var(--red); }
.scoreline { display: flex; align-items: center; gap: 10px; margin-top: 60px; }
.scoreline strong { font-family: var(--display); font-weight: 800; font-size: 18px; }

/* Scoreboard */
.bulbs { display: flex; gap: 10px; }
.bulb { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--lilac); color: var(--grey); }
.bulb.on { background: var(--sun); color: var(--ink); }
.big-score { font-family: var(--display); font-weight: 800; font-size: 24px; }
.history { background: var(--white); border-radius: 14px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-size: 13px; }
.history strong { font-family: var(--display); font-weight: 800; font-size: 13px; text-transform: uppercase; white-space: nowrap; }

/* Winner */
.winner { background: var(--storm); color: var(--white); }
.winner .scroll { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: calc(130px + var(--safe-top)); position: relative; z-index: 1; }
.winner .h-win { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; text-transform: uppercase; margin: 22px 0 28px; }
.winner .lead { color: rgba(255,255,255,0.85); margin-top: 18px; }
.winner .footer { flex-direction: column; align-items: stretch; position: relative; z-index: 1; padding-bottom: calc(40px + var(--safe-bottom)); }
.winner .link { color: var(--white); }
.winner .footer .btn { flex: none; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; display: block; }

/* Library */
.search { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 14px; background: var(--white); color: var(--grey); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ink); min-width: 0; }
.search input::placeholder { color: var(--grey); }
.lib-item { background: var(--white); border-radius: 16px; padding: 12px; display: flex; gap: 14px; align-items: center; text-align: left; width: 100%; }
.lib-item:active { background: var(--tint); }
.thumb { width: 56px; height: 56px; border-radius: 12px; background: var(--paper); flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 26px; }
.thumb svg { width: 48px; height: 45px; }
.lib-name { font-family: var(--display); font-weight: 800; font-size: 15px; text-transform: uppercase; }
.lib-sub { font-size: 12px; color: var(--grey); margin-top: 2px; }
.lib-vals { font-size: 12px; color: var(--storm); margin-top: 2px; font-weight: 500; }
.backlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; padding: 4px 0; }
.card-stage { display: flex; justify-content: center; margin: 14px 0 6px; }
.card-scale { width: calc(224px * 0.82); height: calc(348px * 0.82); }
.card-scale > div { transform: scale(0.82); transform-origin: top left; }
.info-title { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--storm); }

/* How to play */
.step { background: var(--white); border-radius: 16px; padding: 12px; display: flex; gap: 12px; align-items: flex-start; }
.step .num { width: 30px; height: 30px; border-radius: 50%; background: var(--storm); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.step p { margin: 0; font-size: 14px; line-height: 1.4; }
.note { background: var(--tint); border-radius: 16px; padding: 12px 16px; color: var(--storm); font-weight: 700; font-size: 14px; line-height: 1.4; }
.reset-link { display: inline-flex; align-items: center; gap: 8px; color: var(--grey); font-weight: 500; font-size: 14px; margin-top: 8px; }

/* Modal */
.overlay { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(23,19,58,0.55); animation: fade 0.2s ease-out; }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-width: 350px; background: var(--white); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 32px rgba(23,19,58,0.25); animation: pop 0.28s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { opacity: 0; transform: scale(0.92) translateY(10px); } }
.modal .title { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; }
.close-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; }
.field { display: flex; flex-direction: column; gap: 8px; }
.input { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; background: var(--paper); border: 2px solid var(--line); outline: 0; font-weight: 500; font-size: 16px; color: var(--ink); }
.input:focus { border-color: var(--storm); }
.input.invalid { border-color: var(--red); }
.field .err { font-size: 13px; color: var(--red); min-height: 0; }
.team-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.team-pick button { height: 50px; border-radius: 14px; background: var(--white); border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 16px; text-transform: uppercase; }
.team-pick button.on { background: var(--tint); border: 2px solid var(--storm); }
.team-pick button.on.red { background: #FDECEE; border-color: var(--red); }

/* Toast */
.toast { position: absolute; left: 50%; bottom: 170px; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 20; animation: fade 0.2s; white-space: nowrap; }

/* Splash */
.splash { background: var(--storm); align-items: center; justify-content: center; cursor: pointer; }
.splash .rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.splash .rings i { position: absolute; border-radius: 50%; border: 3px dashed rgba(255,247,234,0.13); animation: spin 18s linear infinite; }
.splash .rings i:nth-child(2) { animation-direction: reverse; animation-duration: 24s; }
.splash .rings i:nth-child(3) { animation-duration: 30s; }
@keyframes spin { to { transform: rotate(360deg); } }
.splash .shape { position: absolute; opacity: 0; animation: shape-pop 0.6s cubic-bezier(.2,1.6,.4,1) forwards, float 3s ease-in-out 0.8s infinite; }
@keyframes shape-pop { from { opacity: 1; transform: scale(0) rotate(-120deg); } to { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.splash .mascot-wrap { position: relative; animation: cloud-in 0.9s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes cloud-in { from { transform: translateY(-60px) scale(0.35); opacity: 0; } 40% { opacity: 1; } to { transform: none; } }
.splash .m-bolt { transform: translateY(-60px); opacity: 0; animation: bolt 0.22s cubic-bezier(.2,1.8,.4,1) 1.25s forwards; }
@keyframes bolt { from { opacity: 1; } to { opacity: 1; transform: none; } }
.splash .m-cloud { transform-origin: 70px 90px; animation: squash 0.6s ease-out 1.25s; }
@keyframes squash { 0% { transform: none; } 20% { transform: scale(1.07, 0.93); } 50% { transform: scale(0.97, 1.03); } 100% { transform: none; } }
.splash .m-eyes { transform-origin: 72px 68px; animation: blink 0.18s ease-in-out 2.4s; }
@keyframes blink { 50% { transform: scaleY(0.1); } }
.splash .shock { position: absolute; left: 50%; top: calc(50% + 70px); width: 30px; height: 30px; transform: translate(-50%, -50%); border-radius: 50%; border: 5px solid var(--sun); opacity: 0; animation: shock 0.75s ease-out 1.25s; }
@keyframes shock { 0% { opacity: 0.85; width: 30px; height: 30px; border-width: 6px; } 100% { opacity: 0; width: 300px; height: 300px; border-width: 2px; } }
.splash .loading { position: absolute; bottom: calc(60px + var(--safe-bottom)); display: flex; gap: 8px; }
.splash .loading i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); opacity: 0.25; animation: dots 1.2s ease-in-out 1.6s infinite; }
.splash .loading i:nth-child(2) { animation-delay: 2s; } .splash .loading i:nth-child(3) { animation-delay: 2.4s; }
@keyframes dots { 0%, 100% { opacity: 0.25; transform: scale(0.85); } 30% { opacity: 1; transform: scale(1.15); } }
.mascot-float { animation: float 3s ease-in-out 1.6s infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition: none !important; }
}
.section-title { margin-top: 14px; }
.pname-hl { color: var(--storm); }
.winner .pname-hl { color: var(--sun); }
/* Idea mascot: the bulb hangs from the cloud and lights up */
.m-bulb .m-glow { opacity: 0; transform-box: fill-box; transform-origin: center; animation: glow-on 1.2s ease-out 0.5s forwards, glow-pulse 2.4s ease-in-out 1.7s infinite; }
.m-bulb .m-rays { opacity: 0; transform-box: fill-box; transform-origin: center; animation: rays-on 0.5s cubic-bezier(.2,1.6,.4,1) 1.25s forwards, rays-pulse 2.4s ease-in-out 1.75s infinite; }
.m-bulb .m-glass { animation: glass-on 1.2s linear 0.5s forwards; }
.m-bulb .m-fil { animation: fil-on 1.2s linear 0.5s forwards; }
@keyframes glass-on { 0% { fill: #FFFFFF; } 10% { fill: #FFE58A; } 18% { fill: #FFFFFF; } 30% { fill: #FFE58A; } 36% { fill: #FFFFFF; } 50%, 100% { fill: #FFE58A; } }
@keyframes fil-on { 0% { stroke: #C9C4D9; } 10% { stroke: #FF8A00; } 18% { stroke: #C9C4D9; } 30% { stroke: #FF8A00; } 36% { stroke: #C9C4D9; } 50%, 100% { stroke: #FF8A00; } }
@keyframes glow-on { 0% { opacity: 0; } 10% { opacity: 0.35; } 18% { opacity: 0; } 30% { opacity: 0.35; } 36% { opacity: 0; } 60%, 100% { opacity: 0.45; } }
@keyframes glow-pulse { 0%, 100% { opacity: 0.45; transform: scale(1); } 50% { opacity: 0.25; transform: scale(1.12); } }
@keyframes rays-on { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@keyframes rays-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .m-bulb .m-glow, .m-bulb .m-rays, .m-bulb .m-glass, .m-bulb .m-fil { animation: none; } .m-bulb .m-glow { opacity: 0.45; } .m-bulb .m-rays { opacity: 1; } .m-bulb .m-glass { fill: #FFE58A; } .m-bulb .m-fil { stroke: #FF8A00; } }
/* Colour cards in the library: round, like a profile picture */
.thumb.avatar { border-radius: 50%; border: 3px solid var(--ink); box-sizing: border-box; background: none; }
.mascot { overflow: visible; }
