:root {
  --ink: #173a4a;
  --ink-soft: #31596a;
  --paper: #fffaf0;
  --cream: #f4ecd8;
  --sun: #f5bd42;
  --coral: #e86a3a;
  --pink: #d04d87;
  --teal: #167c80;
  --purple: #8f4fa8;
  --green: #3a8d5d;
  --line: #173a4a;
  --shadow: 0 8px 0 rgba(23,58,74,.16);
  --radius: 18px;
  font-family: "Avenir Next", "Trebuchet MS", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { min-height: 100%; font-size: 16px; }
body { min-height: 100vh; margin: 0; background: var(--cream); }
button, input, select { font: inherit; }
button { color: inherit; }
.hidden { display: none !important; }

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 12% 14%, rgba(245,189,66,.9) 0 7%, transparent 7.2%),
    radial-gradient(circle at 88% 82%, rgba(208,77,135,.75) 0 9%, transparent 9.2%),
    linear-gradient(135deg, #173a4a, #23636b 58%, #167c80);
}
.login-card {
  width: min(980px, 100%);
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: 14px 14px 0 rgba(0,0,0,.22);
}
.login-art {
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(#9fd4dd 0 58%, #4c8b62 58% 100%);
  overflow: hidden;
}
.login-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.login-copy { padding: clamp(30px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 8px; color: var(--pink); font-size: .82rem; font-weight: 900; letter-spacing: .14em; }
.login-copy h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4rem); line-height: .95; letter-spacing: -.05em; }
.login-lead { margin: 18px 0 28px; font-size: 1.2rem; line-height: 1.45; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 18px; padding: 5px; border: 2px solid #aac0c5; border-radius: 14px; background: #e9f0ed; }
.auth-switch button { min-height: 44px; padding: 7px 10px; border: 0; border-radius: 9px; background: transparent; font-weight: 900; cursor: pointer; }
.auth-switch button.active { background: white; box-shadow: 0 2px 0 rgba(23,58,74,.2); color: var(--pink); }
form { display: grid; gap: 9px; }
label { font-weight: 800; }
.label-note { color: var(--ink-soft); font-size: .78rem; font-weight: 600; }
input {
  min-height: 54px;
  padding: 12px 15px;
  border: 3px solid #aac0c5;
  border-radius: 13px;
  background: white;
  font-size: 1.05rem;
}
input:focus, button:focus-visible, select:focus-visible { outline: 4px solid #ffdb72; outline-offset: 2px; }
.primary-button, .run-button {
  min-height: 56px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--sun);
  box-shadow: 0 5px 0 var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.primary-button:active, .run-button:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.login-button { margin-top: 10px; }
.form-error { margin: 4px 0; padding: 10px; border-radius: 10px; background: #ffe0df; color: #8c2720; font-weight: 800; }
.fan-note { margin: 24px 0 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.4; }

.game-screen { min-height: 100vh; background: linear-gradient(#edf4ef, var(--cream)); }
.topbar {
  min-height: 74px;
  padding: 10px clamp(16px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1fr minmax(220px, 360px) auto;
  align-items: center;
  gap: 24px;
  background: var(--ink);
  color: white;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); font-size: 1.65rem; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.12rem; }
.brand small { color: #c9dadd; font-size: .8rem; margin-top: 2px; }
.top-progress { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; font-size: .88rem; font-weight: 800; }
.progress-track { height: 12px; overflow: hidden; border: 2px solid white; border-radius: 999px; background: rgba(255,255,255,.18); }
.progress-track span { display: block; width: 0; height: 100%; background: var(--sun); transition: width .3s ease; }
.quiet-button, .control-button, .hint-button {
  min-height: 46px;
  padding: 8px 15px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: white;
  font-weight: 800;
  cursor: pointer;
}
.topbar .quiet-button { border-color: rgba(255,255,255,.45); background: transparent; color: white; }
.quiet-button:disabled, .control-button:disabled, .run-button:disabled { opacity: .45; cursor: default; }

.case-tabs { display: flex; gap: 10px; padding: 12px clamp(16px, 3vw, 40px); overflow-x: auto; background: #dbe9e5; border-bottom: 2px solid #afc9c3; }
.case-tab { flex: 0 0 auto; min-height: 48px; padding: 8px 17px; border: 2px solid transparent; border-radius: 999px; background: white; font-weight: 850; cursor: pointer; }
.case-tab.active { color: white; background: var(--pink); border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.case-tab.completed::before { content: "✓ "; color: var(--green); }
.case-tab.active.completed::before { color: white; }
.case-tab:disabled { opacity: .55; cursor: not-allowed; }
.case-tab:disabled::before { content: "🔒 "; }

.briefing-bar { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 14px clamp(16px, 3vw, 40px); background: var(--paper); border-bottom: 3px solid var(--ink); }
.case-number { padding: 7px 10px; border: 2px solid var(--ink); border-radius: 8px; background: var(--sun); font-size: .78rem; font-weight: 950; transform: rotate(-1.5deg); }
.briefing-copy h1 { margin: 0; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.05; }
.briefing-copy p { margin: 5px 0 0; color: var(--ink-soft); font-size: 1rem; }

.workbench { display: grid; grid-template-columns: minmax(230px,.75fr) minmax(300px,1fr) minmax(440px,1.55fr); gap: 14px; padding: 14px; max-width: 1800px; margin: auto; }
.tool-panel { min-height: calc(100vh - 224px); padding: 16px; overflow: auto; background: rgba(255,250,240,.95); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.panel-heading h2 { margin: 0; font-size: 1.15rem; }
.panel-heading p { margin: 3px 0 0; color: var(--ink-soft); font-size: .82rem; }
.panel-number { flex: 0 0 35px; width: 35px; height: 35px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--sun); font-weight: 950; }
.edit-mode-badge { margin-left: auto; padding: 5px 8px; border: 2px solid #9a6620; border-radius: 999px; background: #fff1b8; color: #74450d; font-size: .72rem; font-weight: 900; text-align: center; }

.palette { display: grid; gap: 11px; }
.palette-block {
  width: 100%; min-height: 62px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 10px;
  padding: 8px 12px; border: 3px solid var(--ink); border-radius: 12px; color: white; box-shadow: 0 4px 0 var(--ink); cursor: grab; text-align: left; font-weight: 900;
}
.palette-block:active { cursor: grabbing; transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.palette-copy { min-width: 0; display: grid; gap: 2px; }
.palette-copy strong, .palette-copy small { display: block; }
.palette-copy small { overflow: hidden; color: rgba(255,255,255,.9); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.block-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.22); font-size: 1.45rem; }
.add-symbol { font-size: 1.5rem; }
.clue-card { display: grid; grid-template-columns: 62px 1fr; gap: 11px; align-items: center; margin-top: 22px; padding: 12px; border: 2px dashed var(--teal); border-radius: 14px; background: #e9f6f3; }
.clue-card strong { font-size: .92rem; }
.clue-card p { margin: 4px 0 0; font-size: .9rem; line-height: 1.35; }
.portrait-token { background-image: url('/static/img/kocia-ekipa.png'); background-size: 300% 200%; background-position: var(--portrait-x,100%) var(--portrait-y,100%); background-color: #c8d7d5; }
.clue-card .portrait-token { width: 60px; height: 60px; border: 3px solid var(--ink); border-radius: 50%; }
.hint-button { width: 100%; margin-top: 11px; border-style: dashed; background: #fff4c9; }

.event-block { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 3px solid var(--ink); border-radius: 12px 12px 5px 5px; background: var(--green); color: white; }
.program-list { display: grid; gap: 8px; padding: 10px 0; min-height: 32px; }
.program-list:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; }
.program-list.drag-over, .container-body.drag-over { background: #fff1b8; outline: 3px dashed var(--sun); outline-offset: 2px; }
.empty-program { min-height: 170px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 20px; border: 3px dashed #9db1b4; border-radius: 12px; color: #698389; text-align: center; }
.empty-program > span:first-child { font-size: 2rem; }
.program-block { border: 3px solid var(--ink); border-radius: 11px; background: var(--block-color, var(--coral)); color: white; box-shadow: 0 3px 0 var(--ink); overflow: hidden; }
.program-block.active-step { animation: pulse-block .55s ease infinite alternate; outline: 5px solid var(--sun); }
@keyframes pulse-block { to { transform: translateX(5px); } }
.block-main { min-height: 52px; display: grid; grid-template-columns: 35px 1fr auto; gap: 7px; align-items: center; padding: 6px 8px; }
.block-main strong { font-size: .95rem; }
.block-tools { min-width: 0; display: flex; align-items: center; gap: 3px; }
.block-tools button { width: 34px; height: 34px; padding: 0; border: 2px solid rgba(255,255,255,.8); border-radius: 8px; background: rgba(0,0,0,.13); color: white; font-weight: 950; cursor: pointer; }
.repeat-count, .block-value-select { min-height: 38px; border: 2px solid white; border-radius: 8px; background: white; font-weight: 900; }
.repeat-count { width: 58px; }
.block-value-select { width: min(132px, 28vw); padding-inline: 6px; }
.block-value { max-width: 132px; overflow: hidden; padding: 5px 7px; border-radius: 7px; background: rgba(0,0,0,.18); font-size: .78rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.command-container { margin: 0 9px 9px 28px; overflow: hidden; border: 2px solid rgba(255,255,255,.88); border-radius: 10px; background: rgba(255,255,255,.1); }
.command-container.else-container { background: rgba(23,58,74,.16); }
.container-label { width: 100%; min-height: 36px; padding: 5px 10px; border: 0; border-bottom: 2px solid rgba(255,255,255,.72); background: rgba(0,0,0,.13); color: white; cursor: pointer; font-size: .82rem; font-weight: 950; text-align: left; }
.container-body { min-height: 68px; padding: 9px; display: grid; gap: 7px; background: rgba(255,255,255,.08); }
.container-body.selected { outline: 4px solid var(--sun); outline-offset: -4px; background: rgba(255,244,201,.18); }
.container-empty { align-self: center; text-align: center; font-weight: 800; font-size: .82rem; }
.loop-target { margin: 8px 0 0; padding: 7px 9px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-radius: 9px; background: #ffe6f0; font-size: .83rem; font-weight: 850; }
.loop-target button { border: 0; background: none; color: #8b2457; text-decoration: underline; font-weight: 850; cursor: pointer; }
.program-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.danger-text { color: #a92f2b; }

.scene-panel { display: flex; flex-direction: column; }
.scene-heading { display: grid; grid-template-columns: auto 1fr; }
.scene-frame { min-height: 330px; flex: 1; display: grid; place-items: center; overflow: hidden; padding: clamp(12px,2vw,24px); border: 3px solid var(--ink); border-radius: 15px; background: url('/static/img/cieszyn-podworko.png') center/cover, linear-gradient(#9fd4dd 0 60%, #6d9d64 60%); }
.board { position: relative; width: min(100%, 660px); aspect-ratio: var(--board-ratio, 5/3); display: grid; grid-template-columns: repeat(var(--columns), 1fr); grid-template-rows: repeat(var(--rows), 1fr); border: 4px solid var(--ink); border-radius: 15px; background: rgba(255,250,240,.82); box-shadow: 8px 9px 0 rgba(23,58,74,.25); overflow: hidden; }
.board-cell { position: relative; display: grid; place-items: center; min-width: 0; border: 1px dashed rgba(23,58,74,.18); }
.board-cell.blocked { background: repeating-linear-gradient(135deg, rgba(23,58,74,.82) 0 8px, rgba(49,89,106,.82) 8px 16px); }
.board-cell.path { background: rgba(255,250,240,.88); }
.board-item { position: absolute; z-index: 2; width: calc(100% / var(--columns)); height: calc(100% / var(--rows)); display: grid; place-items: center; transition: opacity .25s, transform .25s; font-size: clamp(1.25rem,3vw,2.5rem); }
.board-item::after { content: ""; width: 55%; height: 55%; position: absolute; z-index: -1; border-radius: 50%; background: rgba(245,189,66,.68); animation: clue-glow 1.2s ease-in-out infinite alternate; }
.board-item.collected { opacity: 0; transform: scale(.2); }
@keyframes clue-glow { to { transform: scale(1.25); opacity: .35; } }
.board-decoration { position: absolute; z-index: 2; width: calc(100% / var(--columns)); height: calc(100% / var(--rows)); display: grid; place-items: center; font-size: clamp(1.35rem,3.2vw,2.65rem); filter: drop-shadow(0 2px 0 rgba(23,58,74,.25)); }
.character-token { position: absolute; z-index: 3; width: calc(82% / var(--columns)); aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 50%; box-shadow: 0 4px 0 rgba(23,58,74,.4); transition: left .42s ease, top .42s ease, transform .3s ease; }
.character-token.actor { z-index: 5; }
.character-token.bronka-sprite { width: calc(125% / var(--columns)); border: 0; border-radius: 0; box-shadow: none; background: url('/static/img/bronka.png') center/contain no-repeat; }
.direction-arrow { position: absolute; right: -10px; bottom: -8px; width: 29px; height: 29px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--sun); font-size: 1rem; font-weight: 950; }
.result-box { min-height: 66px; display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: center; margin-top: 12px; padding: 9px 13px; border: 2px solid #9db1b4; border-radius: 12px; background: white; }
.result-box p { margin: 0; font-size: .92rem; line-height: 1.35; }
.result-icon { font-size: 1.7rem; }
.result-box.success { border-color: var(--green); background: #e6f6e9; }
.result-box.error { border-color: #bd3d35; background: #ffe8e5; }
.run-controls { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 7px; margin-top: 10px; }
.run-button { background: var(--sun); }
.control-button { padding-inline: 7px; font-size: .82rem; }

.celebration { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(23,58,74,.72); }
.celebration-card { width: min(460px,100%); padding: 34px; border: 4px solid var(--ink); border-radius: 24px; background: var(--paper); box-shadow: 12px 12px 0 rgba(0,0,0,.3); text-align: center; }
.stars { color: var(--sun); font-size: 2rem; letter-spacing: .2em; text-shadow: 2px 2px 0 var(--ink); }
.celebration-card h2 { margin: 8px 0; font-size: 2rem; }
.celebration-card p:not(.eyebrow) { font-size: 1.05rem; line-height: 1.45; }
.celebration-card button { width: 100%; margin-top: 10px; }
.failure-celebration { background: rgba(23,58,74,.66); }
.failure-card { border-color: #8d4b23; background: #fff6dc; box-shadow: 12px 12px 0 rgba(92,48,20,.3); }
.failure-card .eyebrow { color: #a24b28; }
.failure-mark { width: 76px; height: 76px; margin: 0 auto 8px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: #ffd978; font-size: 2.5rem; transform: rotate(-5deg); }
.failure-card .failure-note { margin: 8px 0; color: var(--ink-soft); font-size: .9rem !important; font-weight: 850; }
.failure-card .primary-button { background: #ffd15c; }

@media (min-width: 768px) and (max-width: 1180px) and (orientation: portrait) {
  .workbench { grid-template-columns: minmax(220px,.75fr) minmax(300px,1fr); }
  .scene-panel { grid-column: 1 / -1; min-height: 560px; }
  .tool-panel { min-height: 520px; }
}
@media (min-width: 768px) and (max-width: 1180px) and (orientation: landscape) {
  .game-screen { height: 100vh; height: 100svh; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  .topbar { flex: 0 0 auto; min-height: 54px; grid-template-columns: minmax(190px,1fr) minmax(170px,260px) auto; gap: 10px; padding: 3px 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 40px; height: 40px; font-size: 1.35rem; }
  .brand strong { font-size: .98rem; }
  .brand small { margin-top: 0; font-size: .7rem; }
  .top-progress { gap: 7px; font-size: .76rem; }
  .topbar .quiet-button { min-height: 48px; padding: 5px 10px; }
  .case-tabs { flex: 0 0 54px; align-items: center; gap: 6px; padding: 3px 8px; }
  .case-tab { min-height: 48px; padding: 5px 12px; font-size: .78rem; }
  .briefing-bar { flex: 0 0 auto; min-height: 58px; gap: 9px; padding: 5px 10px; }
  .case-number { padding: 5px 7px; font-size: .68rem; }
  .briefing-copy { min-width: 0; }
  .briefing-copy h1 { overflow: hidden; font-size: 1.08rem; text-overflow: ellipsis; white-space: nowrap; }
  .briefing-copy p { display: -webkit-box; overflow: hidden; margin-top: 2px; font-size: .76rem; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

  .workbench {
    flex: 1 1 auto; min-width: 0; min-height: 0; width: 100%; max-width: none; margin: 0; padding: 6px; gap: 6px;
    grid-template-columns: minmax(0,.7fr) minmax(0,1.02fr) minmax(0,1.45fr);
  }
  .tool-panel { min-width: 0; min-height: 0; height: 100%; padding: 8px; overflow: auto; border-width: 2px; border-radius: 12px; box-shadow: 0 4px 0 rgba(23,58,74,.14); }
  .panel-heading { gap: 6px; margin-bottom: 6px; }
  .panel-heading h2 { font-size: .92rem; }
  .panel-heading p { margin-top: 1px; font-size: .67rem; }
  .panel-number { flex-basis: 30px; width: 30px; height: 30px; font-size: .82rem; }
  .edit-mode-badge { padding: 3px 5px; font-size: .62rem; }

  .palette { gap: 6px; }
  .palette-block { min-height: 48px; grid-template-columns: 32px minmax(0,1fr) auto; gap: 5px; padding: 3px 6px; border-width: 2px; border-radius: 9px; box-shadow: 0 2px 0 var(--ink); font-size: .76rem; }
  .palette-block .block-icon { width: 32px; height: 32px; font-size: 1.05rem; }
  .palette-copy small { font-size: .62rem; }
  .add-symbol { font-size: 1.2rem; }
  .clue-card { grid-template-columns: 46px 1fr; gap: 6px; margin-top: 8px; padding: 6px; }
  .clue-card .portrait-token { width: 44px; height: 44px; border-width: 2px; }
  .clue-card strong { font-size: .76rem; }
  .clue-card p { margin-top: 2px; font-size: .7rem; line-height: 1.2; }
  .hint-button { min-height: 48px; margin-top: 6px; padding: 5px 7px; font-size: .74rem; }

  .event-block { min-height: 48px; gap: 6px; padding: 5px 8px; border-width: 2px; font-size: .78rem; }
  .loop-target { margin-top: 5px; padding: 4px 6px; font-size: .7rem; }
  .loop-target button { min-height: 48px; padding: 4px; }
  .program-list { gap: 6px; padding: 5px 0; }
  .empty-program { min-height: 120px; padding: 10px; font-size: .78rem; }
  .program-block { border-width: 2px; box-shadow: 0 2px 0 var(--ink); }
  .block-main { min-height: 48px; grid-template-columns: 32px minmax(0,1fr); gap: 5px; padding: 5px; }
  .block-main > .block-icon { width: 32px; height: 32px; font-size: 1.05rem; }
  .block-main strong { min-width: 0; font-size: .78rem; }
  .block-tools { grid-column: 1 / -1; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
  .block-tools button { width: 48px; height: 48px; }
  .repeat-count, .block-value-select { min-height: 48px; margin-right: auto; font-size: .76rem; }
  .block-value-select { width: min(132px,100%); }
  .command-container { margin: 0 5px 5px 16px; border-width: 2px; }
  .container-label { min-height: 48px; padding: 5px 7px; font-size: .74rem; }
  .container-body { min-height: 60px; gap: 5px; padding: 5px; }
  .container-empty { font-size: .7rem; }
  .program-actions { margin-top: 6px; }
  .program-actions .quiet-button { min-height: 48px; padding: 5px 7px; font-size: .72rem; }

  .scene-panel { grid-column: auto; min-height: 0; overflow: hidden; }
  .scene-heading { grid-template-columns: auto minmax(0,1fr); }
  .scene-frame { min-height: 0; padding: 4px; border-width: 2px; border-radius: 10px; }
  .scene-frame .board { width: 100%; height: 100%; max-height: 100%; border-width: 2px; border-radius: 10px; aspect-ratio: auto; box-shadow: 3px 4px 0 rgba(23,58,74,.2); }
  .result-box { min-height: 52px; grid-template-columns: 34px 1fr; margin-top: 6px; padding: 5px 7px; }
  .result-box p { font-size: .75rem; line-height: 1.2; }
  .result-icon { font-size: 1.3rem; }
  .run-controls { grid-template-columns: 1.35fr repeat(3,1fr); gap: 4px; margin-top: 6px; }
  .run-controls button { min-width: 0; min-height: 48px; padding: 4px 3px; font-size: .68rem; }
}
@media (max-width: 767px) {
  .login-screen { padding: 12px; }
  .login-card { grid-template-columns: 1fr; }
  .login-art { min-height: 220px; max-height: 280px; }
  .login-copy { padding: 28px 22px; }
  .topbar { grid-template-columns: 1fr auto; gap: 10px; }
  .top-progress { grid-column: 1 / -1; grid-row: 2; }
  .briefing-bar { grid-template-columns: auto 1fr; }
  .workbench { grid-template-columns: 1fr; }
  .tool-panel, .scene-panel { grid-column: auto; min-height: auto; }
  .scene-frame { min-height: 300px; }
  .run-controls { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
