/* Design tokens + theme palettes live in /css/themes.css (shared site-wide). */

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 80% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 55%),
    var(--bg);
  overflow: hidden; user-select: none; -webkit-user-select: none;
}
#app { height: 100%; position: relative; }
.screen { position: absolute; inset: 0; padding: calc(var(--safe-top) + 14px) 16px calc(var(--safe-bottom) + 14px);
  display: flex; flex-direction: column; overflow: hidden; animation: fadeIn 0.28s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Kind colours drive glows, particles and beams. */
.k0 { --kc: #4fe3ff; } .k1 { --kc: #b57bff; } .k2 { --kc: #ffd84a; }
.k3 { --kc: #ff4f6a; } .k4 { --kc: #4fe08a; } .k5 { --kc: #ff9a3d; }
.k6 { --kc: #4f8bff; } .k7 { --kc: #ff8fd0; } .k8 { --kc: #fff1a8; }
.kf { --kc: #9aa0ae; } .kp { --kc: #ffffff; }

/* Buttons */
button { font-family: inherit; cursor: pointer; border: none; color: var(--text); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-size: 1.15rem; font-weight: 700; padding: 16px; border-radius: 14px; width: 100%;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent); transition: transform 0.12s ease, opacity 0.15s ease; }
.btn-primary:active { transform: scale(0.97); }
.btn-ghost { background: transparent; border: 1px solid var(--card-border); color: var(--muted);
  padding: 10px 14px; border-radius: 12px; font-size: 0.9rem; font-weight: 600; }
.btn-ghost:active { background: rgba(255,255,255,0.05); }

/* Setup */
.setup-wrap { max-width: 460px; width: 100%; margin: auto; display: flex; flex-direction: column; gap: 16px; }
.back-link { align-self: flex-start; color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; padding: 4px 2px; }
.back-link:active { color: var(--text); }
.brand { text-align: center; padding: 4px 0; }
.brand-mark { display: flex; justify-content: center; gap: 4px; font-size: 2.6rem; line-height: 1; }
.brand-mark span { display: inline-block; animation: bob 2.4s ease-in-out infinite;
  filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--accent) 50%, transparent)); }
.brand-mark span:nth-child(2) { animation-delay: -0.8s; font-size: 3.1rem; }
.brand-mark span:nth-child(3) { animation-delay: -1.6s; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-4deg); } }
.brand h1 { font-size: 2.6rem; margin: 6px 0 0; letter-spacing: -1px; font-weight: 800;
  background: linear-gradient(110deg, var(--text) 30%, #fff 45%, var(--accent) 60%, var(--text) 75%);
  background-size: 250% 100%; animation: shine 4.5s ease-in-out infinite;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes shine { 0% { background-position: 100% 0; } 60%, 100% { background-position: -50% 0; } }
.tagline { color: var(--muted); margin: 2px 0 0; font-size: 0.95rem; }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 16px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.card h2 { margin: 0 0 12px; font-size: 1.05rem; }
.hint { color: var(--muted); font-size: 0.85rem; margin: 12px 2px 0; text-align: center; line-height: 1.45; }

.diff-grid { display: flex; flex-direction: column; gap: 10px; }
.diff-opt { display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-radius: 14px; text-align: left;
  background: rgba(255,255,255,0.06); border: 1px solid var(--card-border); color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease; }
.diff-opt .d-name { font-size: 1.1rem; font-weight: 800; }
.diff-opt small { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }
.diff-opt small b { color: var(--gold); font-weight: 700; }
.diff-opt.active { background: color-mix(in srgb, var(--accent) 22%, transparent); border-color: var(--accent); }
.diff-opt:active { transform: scale(0.98); }

/* Game header + HUD */
.game-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: 0 0 auto; }
.len-pill { font-size: 0.85rem; color: var(--muted); background: var(--card); border: 1px solid var(--card-border);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.len-pill #level-name { color: var(--text); font-weight: 700; }
.btn-menu { padding: 12px 13px; font-size: 1.2rem; line-height: 1; letter-spacing: 1px; }

.game-top, .hud { width: 100%; max-width: 600px; margin-inline: auto; }
.hud { flex: 0 0 auto; display: flex; align-items: stretch; gap: 10px; margin-top: 12px; }
.goals { flex: 1 1 auto; display: flex; gap: 8px; min-width: 0; }
.goal { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 8px 6px 9px; overflow: hidden; }
.goal::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--kc) 22%, transparent), transparent 70%); }
.goal-emo { position: relative; font-size: 1.7rem; line-height: 1; filter: drop-shadow(0 2px 6px color-mix(in srgb, var(--kc) 55%, transparent)); }
.goal-num { position: relative; font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.goal-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,0.06); }
.goal-bar i { display: block; height: 100%; width: 0; background: var(--kc); box-shadow: 0 0 8px var(--kc); transition: width 0.25s ease; }
.goal.bump .goal-emo { animation: gbump 0.22s ease; }
@keyframes gbump { 40% { transform: scale(1.28) rotate(-8deg); } }
.goal.done { border-color: color-mix(in srgb, var(--good) 60%, transparent); }
.goal.done .goal-num { color: var(--good); }
.goal.done .goal-num.stamp { animation: stamp 0.42s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
@keyframes stamp { from { transform: scale(2.6) rotate(-14deg); opacity: 0; } to { transform: none; opacity: 1; } }

.hud-side { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; width: 86px; }
.moves { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 26%, transparent), color-mix(in srgb, var(--accent-2) 18%, transparent));
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 14px; padding: 4px 0; transition: border-color 0.2s ease; }
.moves-num { font-size: 1.8rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.moves-lbl { font-size: 0.66rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.moves.bump .moves-num { animation: mbump 0.25s ease; }
@keyframes mbump { 40% { transform: scale(1.3); } }
.moves.warn { border-color: #ffb24a; }
.moves.warn .moves-num { color: #ffb24a; }
.moves.danger { border-color: var(--bad); animation: danger 1s ease-in-out infinite; }
.moves.danger .moves-num { color: var(--bad); }
@keyframes danger { 50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 30%, transparent), 0 0 18px color-mix(in srgb, var(--bad) 40%, transparent); } }
.score { text-align: center; background: var(--card); border: 1px solid var(--card-border); border-radius: 10px;
  padding: 4px 0; font-size: 0.9rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gold); }

/* Star meter */
.starbar { position: relative; flex: 0 0 auto; width: 100%; max-width: 600px; margin: 14px auto 0; height: 8px;
  border-radius: 4px; background: rgba(255,255,255,0.07); border: 1px solid var(--card-border); }
.starbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 55%, transparent), var(--gold));
  box-shadow: 0 0 10px color-mix(in srgb, var(--gold) 60%, transparent); transition: width 0.2s ease; }
.sb-star { position: absolute; top: 50%; transform: translate(-50%, -50%); font-size: 1.15rem; line-height: 1;
  color: rgba(255,255,255,0.25); text-shadow: 0 1px 0 rgba(0,0,0,0.5); transition: color 0.2s ease; }
.sb-star.lit { color: var(--gold); text-shadow: 0 0 10px var(--gold), 0 2px 0 #b07a00; animation: sbPing 0.5s cubic-bezier(0.2, 1.7, 0.4, 1); }
@keyframes sbPing { from { transform: translate(-50%, -50%) scale(2.4) rotate(-25deg); } to { transform: translate(-50%, -50%) scale(1); } }

/* Board */
.board-wrap { flex: 1 1 auto; min-height: 0; display: grid; place-items: center; padding: 12px 0 4px; }
.board { position: relative; padding: 6px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(4,7,15,0.55), rgba(4,7,15,0.35));
  border: 1px solid var(--card-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 40px rgba(0,0,0,0.35);
  transition: filter 0.6s ease; touch-action: none; }
.tiles { position: relative; width: calc(var(--t) * 8); height: calc(var(--t) * 8); overflow: hidden; border-radius: 14px;
  background-image: linear-gradient(45deg, rgba(255,255,255,0.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.035) 75%),
    linear-gradient(45deg, rgba(255,255,255,0.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.035) 75%);
  background-size: calc(var(--t) * 2) calc(var(--t) * 2);
  background-position: 0 0, var(--t) var(--t); }
.board-fx { position: absolute; inset: 6px; pointer-events: none; z-index: 5; }
.board.dead { filter: grayscale(0.85) brightness(0.7); }
.board.dead .gt-face { translate: 0 2px; transition: translate 0.6s ease; }

.gt { position: absolute; left: 0; top: 0; width: var(--t); height: var(--t); will-change: transform; }
.gt.front { z-index: 3; }
.gt-face { position: absolute; inset: 7%; border-radius: 24%; display: grid; place-items: center;
  font-size: calc(var(--t) * 0.58); line-height: 1;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--kc) 30%, transparent), transparent 72%), rgba(255,255,255,0.045);
  border: 1px solid color-mix(in srgb, var(--kc) 28%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: scale 0.14s ease, box-shadow 0.14s ease; overflow: hidden; }
.gt-emo { position: relative; z-index: 2; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.45)); }
.gt.sel .gt-face { scale: 1.1; box-shadow: 0 0 0 2px var(--kc), 0 0 18px color-mix(in srgb, var(--kc) 70%, transparent), 0 8px 16px rgba(0,0,0,0.4);
  animation: selPulse 0.9s ease-in-out infinite; }
@keyframes selPulse { 50% { box-shadow: 0 0 0 3px var(--kc), 0 0 26px var(--kc), 0 8px 16px rgba(0,0,0,0.4); } }
.gt.kf .gt-face { background: rgba(255,255,255,0.03); filter: saturate(0.7); }

/* Line: drifting energy stripes under a sweeping sheen. */
.sp-line .gt-face { border: 2px solid var(--kc);
  background:
    repeating-linear-gradient(-45deg, color-mix(in srgb, var(--kc) 55%, transparent) 0 14%, transparent 14% 28%),
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--kc) 30%, transparent), transparent 72%), rgba(255,255,255,0.05);
  background-size: 200% 200%, 100% 100%, 100% 100%;
  box-shadow: 0 0 12px color-mix(in srgb, var(--kc) 60%, transparent), inset 0 0 10px color-mix(in srgb, var(--kc) 45%, transparent);
  animation: stripes 1.4s linear infinite; animation-delay: var(--d, 0s); }
@keyframes stripes { to { background-position: 28.3% 0, 0 0, 0 0; } }
.sp-line .gt-face::before { content: ''; position: absolute; inset: -30%; z-index: 3;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.75) 50%, transparent 62%);
  transform: translateX(-120%); animation: sheen 2.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* Cross: a slowly turning plus of light behind the emoji. */
.sp-cross .gt-face { border: 2px solid color-mix(in srgb, var(--kc) 80%, #fff); box-shadow: 0 0 14px color-mix(in srgb, var(--kc) 65%, transparent); }
.sp-cross .gt-face::before { content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, transparent, #fff 30%, #fff 70%, transparent) center / 100% 9% no-repeat,
    linear-gradient(0deg, transparent, #fff 30%, #fff 70%, transparent) center / 9% 100% no-repeat,
    linear-gradient(var(--kc), var(--kc)) center / 100% 30% no-repeat,
    linear-gradient(var(--kc), var(--kc)) center / 30% 100% no-repeat;
  filter: blur(1.5px) drop-shadow(0 0 4px var(--kc)); opacity: 0.85;
  animation: turn 5s linear infinite; animation-delay: var(--d, 0s); }
@keyframes turn { from { transform: rotate(0deg) scale(0.92); } 50% { transform: rotate(180deg) scale(1.05); } to { transform: rotate(360deg) scale(0.92); } }

/* Nova: a slowly turning sunburst, so it never reads as a cross. */
.sp-nova .gt-face { border: 2px solid color-mix(in srgb, var(--kc) 70%, #fff);
  box-shadow: 0 0 16px color-mix(in srgb, var(--kc) 75%, transparent), inset 0 0 12px color-mix(in srgb, var(--kc) 50%, transparent); }
.sp-nova .gt-face::before { content: ''; position: absolute; inset: -40%; z-index: 1;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--kc) 85%, #fff) 0deg 9deg, transparent 9deg 30deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 18%, transparent 62%);
  opacity: 0.85; animation: novaSpin 7s linear infinite; animation-delay: var(--d, 0s); }
.sp-nova .gt-face::after { content: ''; position: absolute; inset: 22%; z-index: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9), color-mix(in srgb, var(--kc) 60%, transparent) 55%, transparent 72%);
  animation: novaPulse 1.3s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes novaSpin { to { transform: rotate(360deg); } }
@keyframes novaPulse { 50% { transform: scale(1.25); opacity: 0.55; } }

/* Prism: a hue-cycling crystal. */
.sp-prism .gt-face { border: 2px solid rgba(255,255,255,0.85);
  background: conic-gradient(from 0deg, #ff4f6a, #ffd84a, #4fe08a, #4fe3ff, #4f8bff, #b57bff, #ff4f6a);
  box-shadow: 0 0 16px rgba(255,255,255,0.55); animation: hue 3s linear infinite; animation-delay: var(--d, 0s); }
.sp-prism .gt-emo { filter: drop-shadow(0 0 6px #fff); }
.sp-prism .gt-face::after { content: '✦'; position: absolute; top: 6%; right: 12%; z-index: 3; color: #fff; font-size: calc(var(--t) * 0.22);
  animation: twinkle 1.7s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes hue { to { filter: hue-rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.4); } 50% { opacity: 1; transform: scale(1.1) rotate(45deg); } }

/* Floating text */
.pts { position: absolute; transform: translate(-50%, -50%); font-weight: 900; white-space: nowrap;
  color: #fff; -webkit-text-stroke: 1px rgba(0,0,0,0.25);
  text-shadow: 0 0 10px var(--kc, var(--accent)), 0 2px 0 rgba(0,0,0,0.4); }
.callout { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); white-space: nowrap;
  font-weight: 900; font-style: italic; letter-spacing: -0.5px;
  background: linear-gradient(180deg, #fff 0%, var(--c1, #ffe27a) 45%, var(--c2, #ff8a3d) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0,0,0,0.35)) drop-shadow(0 0 14px var(--c2, #ff8a3d)); }
.callout.combo { top: 36%; letter-spacing: 1px; }
.filler-note { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); white-space: nowrap;
  background: rgba(4,7,15,0.75); border: 1px solid var(--card-border); padding: 6px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; color: var(--muted); }

.fly { position: fixed; left: 0; top: 0; z-index: 19; pointer-events: none; line-height: 1;
  filter: drop-shadow(0 0 8px var(--kc)); }

.toast { position: absolute; top: 56px; left: 50%; transform: translateX(-50%);
  background: var(--text); color: var(--bg); font-weight: 700; font-size: 0.85rem;
  padding: 9px 16px; border-radius: 10px; opacity: 0; transition: opacity 0.2s ease; pointer-events: none; z-index: 15; white-space: nowrap; }
.toast.show { opacity: 0.96; }

.fx { position: fixed; inset: 0; pointer-events: none; z-index: 18; }
.flash { position: fixed; inset: 0; pointer-events: none; z-index: 17; background: #fff; opacity: 0; }

.rush { position: fixed; left: 0; right: 0; top: 38%; z-index: 19; pointer-events: none; display: grid; place-items: center;
  padding: 18px 0; transform: skewY(-6deg);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 70%, transparent) 20%, color-mix(in srgb, var(--accent-2) 70%, transparent) 80%, transparent);
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 50%, transparent); }
.rush span { font-size: clamp(2.2rem, 11vw, 3.6rem); font-weight: 900; font-style: italic; color: #fff; letter-spacing: -1px;
  text-shadow: 0 4px 0 rgba(0,0,0,0.3), 0 0 22px #fff; }

/* Overlays */
.overlay { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end;
  background: rgba(4,7,15,0); transition: background 0.22s ease; }
.overlay.open { background: rgba(4,7,15,0.6); backdrop-filter: blur(3px); }
#result-overlay.open { background: rgba(4,7,15,0.4); backdrop-filter: none; }
.sheet { width: 100%; max-height: 92%; background: var(--bg-2); border-top-left-radius: 24px; border-top-right-radius: 24px;
  padding: 12px 18px calc(var(--safe-bottom) + 18px); border-top: 1px solid var(--card-border);
  transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.2,0.9,0.2,1.05);
  display: flex; flex-direction: column; overflow-y: auto; text-align: center; }
.overlay.open .sheet { transform: translateY(0); }
.sheet::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 3px; background: var(--muted); opacity: 0.5; margin: 2px auto 10px; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; }
.sheet-head h2 { margin: 0; font-size: 1.3rem; }
.menu-actions { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.menu-item {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 14px;
  text-align: left; background: rgba(255,255,255,0.05); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 14px; color: var(--text); text-decoration: none;
  transition: transform 0.1s ease, background 0.15s ease;
}
.menu-item:active { transform: scale(0.98); background: rgba(255,255,255,0.09); }
.menu-item .m-icon { grid-row: 1 / 3; font-size: 1.6rem; }
.menu-item .m-title { font-weight: 700; font-size: 1.05rem; }
.menu-item small { color: var(--muted); font-size: 0.8rem; }

.result-stars { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin: 2px 0 4px; height: 76px; }
.rstar { font-size: 3rem; line-height: 1; color: rgba(255,255,255,0.12); position: relative; }
.rstar.big { font-size: 4rem; }
.rstar.on { color: var(--gold); text-shadow: 0 0 18px color-mix(in srgb, var(--gold) 80%, transparent), 0 3px 0 #b07a00;
  animation: starIn 0.5s cubic-bezier(0.2, 1.7, 0.4, 1) both; }
@keyframes starIn { from { transform: scale(2.8) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
.result-emoji { font-size: 3.4rem; animation: bounce 0.5s cubic-bezier(0.2,1.4,0.4,1) both; }
@keyframes bounce { from { transform: scale(0); } to { transform: scale(1); } }
.sheet h2 { margin: 4px 0 0; font-size: 1.8rem; }
.result-sub { color: var(--muted); margin: 4px 0 8px; font-size: 0.92rem; }
.result-score { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 12px; }
.rs-num { font-size: 2.2rem; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--gold); }
.rs-badge { background: var(--good); color: #032; font-weight: 800; font-size: 0.75rem; padding: 4px 8px; border-radius: 999px;
  animation: stamp 0.42s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
.recap { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.recap-item { display: flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 8px 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.recap-item .re { font-size: 1.4rem; }
.recap-item.met { border-color: color-mix(in srgb, var(--good) 60%, transparent); color: var(--good); }
.recap-item.miss { color: var(--bad); }

.sheet-actions { display: flex; gap: 10px; }
.sheet-actions .btn-ghost, .sheet-actions .btn-primary { width: auto; flex: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
