/* Dungeon Delvers — the page around the game: menus in parchment (light) or night (dark), the
   game's canvas in crisp pixels, the touch controls over it. */
:root {
  color-scheme: light dark;
  --bg: #e9dcc0;
  --surface: #fbf4e3;
  --surface2: #f2e6cc;
  --text: #2a1c14;
  --muted: #6b5644;
  --line: rgba(70, 44, 20, 0.16);
  --accent: #a4501c;
  --accent-ink: #ffffff;
  --gold: #a86a10;
  --glass: rgba(251, 244, 227, 0.94);
  --shadow: 0 24px 60px -24px rgba(40, 20, 6, 0.45), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  --ca-accent: #a4501c;
  --ca-tool-bg: rgba(255, 255, 255, 0.55);
  --ca-brand-font: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --view-bg: #07050b;
  --p1: #ffd24a; --p2: #ff8a4a; --p3: #58dcf0; --p4: #c49cff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0a14; --surface: #1d1628; --surface2: #261d33; --text: #f3e9dc; --muted: #b9a9c6;
    --line: rgba(255, 236, 214, 0.12); --accent: #f0a050; --accent-ink: #1c0f06; --gold: #ffd27a;
    --glass: rgba(29, 22, 40, 0.94); --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
    --ca-accent: #f0a050; --ca-tool-bg: rgba(255, 255, 255, 0.06);
  }
}
* { box-sizing: border-box; }
/* no double-tap zoom on iOS: js/touch-guard.js adds the same rule plus a JS fallback */
:where(html, body, body *) { touch-action: manipulation; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
body {
  margin: 0; height: calc(100dvh / var(--ca-zoom, 1)); display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg); color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
input, textarea, [contenteditable], .prose p, .prose li { -webkit-user-select: text; user-select: text; }
button { font: inherit; color: inherit; }

.bar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 12px 8px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
body.playing .bar { display: none; }

/* ---- the stage: the canvas fills it, the screens sit over it ---- */
.stage { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--view-bg); }
.view { position: absolute; inset: 0; }
#game { position: absolute; inset: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; image-rendering: crisp-edges; background: var(--view-bg); }
#game:not(.half) { image-rendering: pixelated; }
.banner { position: absolute; left: 0; right: 0; top: 18%; z-index: 1; display: grid; justify-items: center; gap: 4px; pointer-events: none; opacity: 0; transform: translateY(8px); transition: opacity 0.45s ease, transform 0.6s ease; text-align: center; padding: 0 16px; }
.banner.on { opacity: 1; transform: none; }
.banner small { font: 700 13px/1.2 -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", Roboto, sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: #ffd88a; text-shadow: 0 2px 0 #1a0e08, 0 0 18px rgba(0, 0, 0, 0.8); }
.banner b { font: 700 clamp(26px, calc(5vw / var(--ca-zoom, 1)), 44px)/1.1 Georgia, "Iowan Old Style", "Palatino Linotype", serif; color: #fff1d6; text-shadow: 0 3px 0 #2a140a, 0 0 28px rgba(0, 0, 0, 0.85); }
.banner.boss b { color: #ffb0a0; }
.live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }

.screen { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 16px; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(120% 90% at 50% 40%, rgba(8, 5, 12, 0.15), rgba(8, 5, 12, 0.62)); }
.screen[hidden] { display: none; }
.screen.pause, .screen.clear { background: rgba(8, 5, 12, 0.6); }
.card { width: min(100%, 440px); background: var(--glass); color: var(--text); border-radius: 24px; padding: 26px 24px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center; }
.card.wide { width: min(100%, 860px); }
.card h2 { margin: 0 0 6px; font: 700 26px/1.2 Georgia, "Iowan Old Style", "Palatino Linotype", serif; letter-spacing: -0.01em; }
.kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.tagline, .hint, .where { margin: 0 0 18px; color: var(--muted); }
.logo { font-size: clamp(30px, calc(7vw / var(--ca-zoom, 1)), 40px) !important; line-height: 1.05 !important; margin-bottom: 10px !important;
  background: linear-gradient(180deg, #ffe6a6, #e89a3a 60%, #a8521e); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(60, 20, 0, 0.5)); }
@media (prefers-color-scheme: light) { .logo { background: linear-gradient(180deg, #c06a1c, #8a3a10 70%, #5a2208); -webkit-background-clip: text; background-clip: text; filter: none; } }
.actions { display: grid; gap: 10px; }
.actions.inline { grid-auto-flow: column; justify-content: center; margin-top: 14px; }
.btn { display: inline-grid; place-items: center; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); font-weight: 650; cursor: pointer; line-height: 1.2; transition: transform 0.12s ease, background-color 0.15s ease; }
.btn small { display: block; font-weight: 500; font-size: 13px; opacity: 0.85; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn:active { transform: scale(0.97); }
.btn:focus-visible, .seat:focus-visible, .stage-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .btn:hover { filter: brightness(1.06); } }
.btn[hidden] { display: none; }
#continue { padding-block: 6px; }

/* ---- the party ---- */
.seats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 6px 0 14px; }
@media (max-width: 720px) { .seats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.seat { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 6px; min-height: 196px; padding: 12px 10px 10px; border-radius: 18px; border: 2px dashed var(--line); background: var(--surface2); text-align: center; }
.seat.on { border-style: solid; border-color: var(--seat); background: linear-gradient(180deg, color-mix(in srgb, var(--seat) 14%, var(--surface2)), var(--surface2)); }
.seat .who { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.seat.on .who { color: var(--text); }
.seat .who i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--seat); margin-right: 6px; vertical-align: 0; }
.seat canvas { width: 96px; height: 120px; margin: 0 auto; image-rendering: pixelated; }
.seat .hero-name { font: 700 18px/1.2 Georgia, serif; }
.seat .hero-role { font-size: 13px; color: var(--muted); min-height: 2.6em; }
.seat .pick { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 4px; }
.seat .pick .arrow { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; padding: 0; }
.seat .pick .arrow svg { width: 20px; height: 20px; display: block; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.seat .empty { align-self: center; color: var(--muted); font-size: 14px; padding: 0 6px; }
.seat .leave { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.seat .leave svg { width: 16px; height: 16px; display: block; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.seat .device { font-size: 12px; color: var(--muted); }
.join-ways { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---- the stages ---- */
.stage-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 10px 0 16px; }
@media (max-width: 760px) { .stage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stage-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 4px; padding: 8px 8px 10px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface2); cursor: pointer; text-align: left; }
.stage-card canvas { width: 100%; aspect-ratio: 5 / 3; height: auto; border-radius: 12px; image-rendering: pixelated; background: #07050b; }
.stage-card b { font: 700 16px/1.2 Georgia, serif; margin-top: 4px; }
.stage-card small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.stage-card .state { font-size: 12px; font-weight: 700; color: var(--gold); }
.stage-card[aria-disabled="true"] { opacity: 0.55; cursor: default; }
.difficulty { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.difficulty legend { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 auto 8px; }
.difficulty label { position: relative; display: block; cursor: pointer; }
.difficulty input { position: absolute; opacity: 0; inset: 0; }
.difficulty span { display: grid; gap: 2px; min-height: 64px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface2); text-align: center; align-content: center; }
.difficulty small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.difficulty input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.difficulty input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 520px) { .difficulty { grid-template-columns: minmax(0, 1fr); } .difficulty span { min-height: 52px; } }

/* ---- pause and the end of a stage ---- */
.minimap { display: block; width: 240px; max-width: 100%; height: auto; margin: 0 auto 12px; image-rendering: pixelated; border-radius: 10px; background: rgba(0, 0, 0, 0.25); }
.relics { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.relics li { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line); font-size: 13px; }
.relics li canvas { width: 24px; height: 24px; image-rendering: pixelated; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 10px 0 16px; }
.stats div { padding: 10px; border-radius: 14px; background: var(--surface2); }
.stats dt { font-size: 12px; color: var(--muted); }
.stats dd { margin: 0; font: 700 20px/1.2 Georgia, serif; }

/* ---- touch controls ---- */
.touch { position: absolute; inset: 0; z-index: 2; display: none; pointer-events: none; }
body.playing.touchy.touch-seat .touch { display: block; }
html[data-ca-pad] .touch { display: none !important; }
.stick-zone { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; pointer-events: auto; touch-action: none; }
.stick { position: absolute; left: var(--sx, 90px); top: var(--sy, 70%); width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; border: 2px solid rgba(255, 240, 220, 0.22); background: rgba(10, 6, 16, 0.22); opacity: 0.55; transition: opacity 0.2s ease; }
.stick.on { opacity: 1; }
.stick i { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(255, 236, 210, 0.42); border: 2px solid rgba(255, 255, 255, 0.35); transform: translate(var(--kx, 0px), var(--ky, 0px)); }
.tb { position: absolute; pointer-events: auto; touch-action: none; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 2px solid rgba(255, 240, 220, 0.3); background: rgba(16, 10, 24, 0.42); color: #fff4e4; }
.tb svg { width: 46%; height: 46%; display: block; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tb.down { background: rgba(255, 190, 110, 0.45); }
.tb-atk { right: calc(22px + env(safe-area-inset-right)); bottom: calc(26px + env(safe-area-inset-bottom)); width: 84px; height: 84px; }
.tb-spc { right: calc(116px + env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom)); width: 62px; height: 62px; }
.tb-dodge { right: calc(34px + env(safe-area-inset-right)); bottom: calc(122px + env(safe-area-inset-bottom)); width: 60px; height: 60px; }
.tb-pause { right: calc(12px + env(safe-area-inset-right)); top: calc(12px + env(safe-area-inset-top)); width: 46px; height: 46px; }
.tb-pause::before { content: ""; position: absolute; inset: -4px; }

/* ---- the sheets ---- */
.sheet { border: 0; border-radius: 22px; padding: 0; width: min(calc(92vw / var(--ca-zoom, 1)), 460px); max-height: min(calc(86dvh / var(--ca-zoom, 1)), 720px); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.5); display: none; flex-direction: column; overflow: hidden; }
.sheet[open] { display: flex; }
.sheet::backdrop { background: rgba(10, 6, 14, 0.55); }
.sheet-head { padding: 20px 22px 6px; }
.sheet-head h2 { margin: 0; font: 700 20px/1.2 Georgia, serif; }
.sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px 10px; }
.sheet-foot { padding: 10px 22px 20px; display: flex; justify-content: flex-end; }
.sheet h3 { margin: 18px 0 8px; font-size: 15px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.row select { min-height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); padding: 0 10px; font: inherit; }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 50px; height: 30px; border-radius: 15px; background: var(--line); position: relative; cursor: pointer; margin: 0; transition: background-color 0.15s ease; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.15s ease; }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(20px); }
.switch:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.prose p, .prose li { color: var(--text); }
.prose h3 { margin: 16px 0 6px; }
.prose ul { padding-left: 20px; margin: 6px 0; }
.prose .keys { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; font-size: 14px; }
.prose kbd { display: inline-block; min-width: 22px; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface2); font: 600 12px/1.6 ui-monospace, Menlo, monospace; text-align: center; }
.version { color: var(--muted); font-size: 13px; padding: 0 22px; margin: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 12px; }
.tabs button { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface2); cursor: pointer; font-size: 14px; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

@media (max-height: 520px) {
  .card { padding: 16px 18px; }
  .card h2 { font-size: 22px; }
  .seat { min-height: 150px; }
  .seat canvas { width: 64px; height: 80px; }
  .tagline, .hint { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* cloud-apps bar 1.30.0 */
:root { --ca-brand-icon-w: 89px; } /* the brand's width with the icon alone (the mark, the divider, the app's icon) */
.ca-start { display: flex; align-items: center; flex: 0 100 auto; min-width: min(var(--ca-brand-icon-w), 100%); }
.ca-brand { display: flex; align-items: center; min-width: 0; height: 40px; color: inherit; font-family: inherit; }
.ca-brand a { display: flex !important; align-items: center !important; box-sizing: border-box !important; color: inherit !important; text-decoration: none !important; border-radius: 12px !important; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease; }
.ca-brand-home { flex: none !important; justify-content: center !important; width: 40px !important; height: 40px !important; padding: 0 !important; margin: 0 0 0 -5px !important; }
.ca-brand-home img { display: block !important; width: 30px !important; height: 30px !important; margin: 0 !important; transition: transform .38s cubic-bezier(.34, 1.56, .64, 1); }
.ca-brand-sep { flex: none; display: block; width: 1.5px; height: 18px; margin: 0 4px; border-radius: 1px; background: currentColor; opacity: .22; transform: rotate(18deg); }
.ca-brand-app { flex: 0 1 auto !important; min-width: 44px !important; height: 40px !important; padding: 0 9px 0 5px !important; margin: 0 !important; }
.ca-brand-in { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; column-gap: 9px; min-width: 0; height: 40px; overflow: hidden; }
.ca-brand-in img { flex: none; display: block !important; width: 30px !important; height: 30px !important; margin: 5px 0 !important; border-radius: 8px; }
.ca-brand[data-ca-icon] .ca-brand-name { display: none !important; }
.ca-brand[data-ca-icon] .ca-brand-app { padding-right: 5px !important; }
.ca-brand-name { display: block; height: 40px; margin: 0 !important; padding: 0 !important; line-height: 40px !important; white-space: nowrap; font-family: var(--ca-brand-font, inherit); font-size: 17px !important; font-weight: 700; letter-spacing: -.015em; color: inherit; text-shadow: var(--ca-brand-shadow, none); }
@media (hover: hover) { .ca-brand a:hover { background-color: color-mix(in srgb, currentColor 7%, transparent); } .ca-brand-home:hover img { transform: rotate(-6deg) scale(1.06); } }
.ca-brand a:focus-visible { outline: 3px solid var(--ca-accent, #4f6bff); outline-offset: -3px; }
.ca-end { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: none; min-width: 0; }
.ca-tools { display: flex; align-items: center; gap: 6px; }
.ca-tools[hidden] { display: none !important; }
.ca-tool { position: relative; flex: none; display: inline-grid; place-items: center !important; box-sizing: border-box !important; width: 36px !important; height: 36px !important; min-width: 0 !important; min-height: 0 !important; max-width: none !important; padding: 0 !important; margin: 0; border-radius: 50% !important;
  border: 1px solid var(--ca-tool-line, color-mix(in srgb, currentColor 16%, transparent)) !important; background: var(--ca-tool-bg, color-mix(in srgb, currentColor 6%, transparent)) !important; color: var(--ca-tool-ink, inherit) !important;
  font: inherit; line-height: 0 !important; letter-spacing: 0; text-decoration: none !important; box-shadow: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease, transform .12s ease; }
.ca-tool[hidden] { display: none !important; }
.ca-tool::before { content: ""; position: absolute; inset: -4px; }
.ca-tool svg { display: block; width: 20px !important; height: 20px !important; margin: 0 !important; pointer-events: none; }
.ca-tool svg[hidden] { display: none !important; }
@media (hover: hover) { .ca-tool:hover { background: var(--ca-tool-hover, color-mix(in srgb, currentColor 13%, transparent)) !important; } }
.ca-tool:active { transform: scale(.94); }
.ca-tool:focus-visible { outline: 3px solid var(--ca-accent, #4f6bff); outline-offset: 2px; }
.ca-tool-talk { color: var(--ca-accent, #4f6bff) !important; border-color: color-mix(in srgb, var(--ca-accent, #4f6bff) 50%, transparent) !important; background: color-mix(in srgb, var(--ca-accent, #4f6bff) 13%, transparent) !important; }
.ca-tool .ca-tlive { position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2px color-mix(in srgb, #22c55e 30%, transparent); }
.ca-tool-talk.ca-new::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; pointer-events: none; animation: ca-bar-ring 1.2s ease-out 2; }
@keyframes ca-bar-ring { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ca-accent, #4f6bff) 55%, transparent); } to { box-shadow: 0 0 0 11px transparent; } }
.ca-tool .ca-tcount, .ca-tool .ca-tunread { position: absolute; right: -5px; display: grid; place-items: center; box-sizing: border-box; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; color: #fff; font: 700 10.5px/1 -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", Roboto, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: 0; pointer-events: none; }
.ca-tool .ca-tcount { bottom: -5px; background: #1f9d55; }
.ca-tool .ca-tunread { top: -5px; background: #e5484d; }
@media (max-width: 599.98px), (max-height: 499.98px) { .ca-tools-app { display: none !important; } }
.ca-end[data-ca-cramped] .ca-tools-app { display: none !important; }
.ca-end[data-ca-tight] .ca-tool-friends { display: none !important; }
@media (prefers-reduced-motion: reduce) { .ca-tool, .ca-brand a, .ca-brand-home img { transition: none; } .ca-tool-talk.ca-new::after { animation: none; } }
/* end of the cloud-apps bar */
/* ---- cloud-apps: big screens (App Standard §6.5) — written by `cloud-apps vendor-sdk`; do not edit ---- */
/* Past 1584 × 990 the page is laid out at about 1440 × 900 and zoomed to fill the screen; viewport
   units in this file are divided by --ca-zoom. cloud-kit.js turns it off where the engine has no
   standard zoom (html[data-ca-zoom="off"]). */
@media (min-width: 1585px) and (min-height: 991px) { :root { --ca-zoom: 1.1; } }
@media (min-width: 1656px) and (min-height: 1035px) { :root { --ca-zoom: 1.15; } }
@media (min-width: 1728px) and (min-height: 1080px) { :root { --ca-zoom: 1.2; } }
@media (min-width: 1800px) and (min-height: 1125px) { :root { --ca-zoom: 1.25; } }
@media (min-width: 1872px) and (min-height: 1170px) { :root { --ca-zoom: 1.3; } }
@media (min-width: 1945px) and (min-height: 1215px) { :root { --ca-zoom: 1.35; } }
@media (min-width: 2016px) and (min-height: 1260px) { :root { --ca-zoom: 1.4; } }
@media (min-width: 2088px) and (min-height: 1305px) { :root { --ca-zoom: 1.45; } }
@media (min-width: 2160px) and (min-height: 1350px) { :root { --ca-zoom: 1.5; } }
@media (min-width: 2232px) and (min-height: 1395px) { :root { --ca-zoom: 1.55; } }
@media (min-width: 2304px) and (min-height: 1440px) { :root { --ca-zoom: 1.6; } }
@media (min-width: 2376px) and (min-height: 1485px) { :root { --ca-zoom: 1.65; } }
@media (min-width: 2448px) and (min-height: 1530px) { :root { --ca-zoom: 1.7; } }
@media (min-width: 2520px) and (min-height: 1575px) { :root { --ca-zoom: 1.75; } }
@media (min-width: 2592px) and (min-height: 1620px) { :root { --ca-zoom: 1.8; } }
@media (min-width: 2664px) and (min-height: 1665px) { :root { --ca-zoom: 1.85; } }
@media (min-width: 2736px) and (min-height: 1710px) { :root { --ca-zoom: 1.9; } }
@media (min-width: 2808px) and (min-height: 1755px) { :root { --ca-zoom: 1.95; } }
@media (min-width: 2880px) and (min-height: 1800px) { :root { --ca-zoom: 2; } }
@media (min-width: 2952px) and (min-height: 1845px) { :root { --ca-zoom: 2.05; } }
@media (min-width: 3024px) and (min-height: 1890px) { :root { --ca-zoom: 2.1; } }
@media (min-width: 3096px) and (min-height: 1935px) { :root { --ca-zoom: 2.15; } }
@media (min-width: 3169px) and (min-height: 1981px) { :root { --ca-zoom: 2.2; } }
@media (min-width: 3240px) and (min-height: 2025px) { :root { --ca-zoom: 2.25; } }
@media (min-width: 3312px) and (min-height: 2070px) { :root { --ca-zoom: 2.3; } }
@media (min-width: 3384px) and (min-height: 2115px) { :root { --ca-zoom: 2.35; } }
@media (min-width: 3456px) and (min-height: 2160px) { :root { --ca-zoom: 2.4; } }
@media (min-width: 3529px) and (min-height: 2205px) { :root { --ca-zoom: 2.45; } }
@media (min-width: 3600px) and (min-height: 2250px) { :root { --ca-zoom: 2.5; } }
@media (min-width: 3672px) and (min-height: 2295px) { :root { --ca-zoom: 2.55; } }
@media (min-width: 3744px) and (min-height: 2340px) { :root { --ca-zoom: 2.6; } }
@media (min-width: 3816px) and (min-height: 2385px) { :root { --ca-zoom: 2.65; } }
@media (min-width: 3889px) and (min-height: 2430px) { :root { --ca-zoom: 2.7; } }
@media (min-width: 3960px) and (min-height: 2475px) { :root { --ca-zoom: 2.75; } }
@media (min-width: 4032px) and (min-height: 2520px) { :root { --ca-zoom: 2.8; } }
@media (min-width: 4104px) and (min-height: 2565px) { :root { --ca-zoom: 2.85; } }
@media (min-width: 4176px) and (min-height: 2610px) { :root { --ca-zoom: 2.9; } }
@media (min-width: 4248px) and (min-height: 2655px) { :root { --ca-zoom: 2.95; } }
@media (min-width: 4320px) and (min-height: 2700px) { :root { --ca-zoom: 3; } }
@media (min-width: 4392px) and (min-height: 2745px) { :root { --ca-zoom: 3.05; } }
@media (min-width: 4464px) and (min-height: 2790px) { :root { --ca-zoom: 3.1; } }
@media (min-width: 4536px) and (min-height: 2835px) { :root { --ca-zoom: 3.15; } }
@media (min-width: 4608px) and (min-height: 2880px) { :root { --ca-zoom: 3.2; } }
@media (min-width: 4680px) and (min-height: 2925px) { :root { --ca-zoom: 3.25; } }
@media (min-width: 4752px) and (min-height: 2970px) { :root { --ca-zoom: 3.3; } }
@media (min-width: 4824px) and (min-height: 3015px) { :root { --ca-zoom: 3.35; } }
@media (min-width: 4896px) and (min-height: 3060px) { :root { --ca-zoom: 3.4; } }
@media (min-width: 4968px) and (min-height: 3105px) { :root { --ca-zoom: 3.45; } }
@media (min-width: 5040px) and (min-height: 3150px) { :root { --ca-zoom: 3.5; } }
@media (min-width: 5112px) and (min-height: 3195px) { :root { --ca-zoom: 3.55; } }
@media (min-width: 5184px) and (min-height: 3240px) { :root { --ca-zoom: 3.6; } }
@media (min-width: 5256px) and (min-height: 3285px) { :root { --ca-zoom: 3.65; } }
@media (min-width: 5328px) and (min-height: 3330px) { :root { --ca-zoom: 3.7; } }
@media (min-width: 5400px) and (min-height: 3375px) { :root { --ca-zoom: 3.75; } }
@media (min-width: 5472px) and (min-height: 3420px) { :root { --ca-zoom: 3.8; } }
@media (min-width: 5544px) and (min-height: 3465px) { :root { --ca-zoom: 3.85; } }
@media (min-width: 5616px) and (min-height: 3510px) { :root { --ca-zoom: 3.9; } }
@media (min-width: 5688px) and (min-height: 3555px) { :root { --ca-zoom: 3.95; } }
@media (min-width: 5760px) and (min-height: 3600px) { :root { --ca-zoom: 4; } }
@media (min-width: 5832px) and (min-height: 3645px) { :root { --ca-zoom: 4.05; } }
@media (min-width: 5904px) and (min-height: 3690px) { :root { --ca-zoom: 4.1; } }
@media (min-width: 5977px) and (min-height: 3736px) { :root { --ca-zoom: 4.15; } }
@media (min-width: 6048px) and (min-height: 3780px) { :root { --ca-zoom: 4.2; } }
@media (min-width: 6120px) and (min-height: 3825px) { :root { --ca-zoom: 4.25; } }
@media (min-width: 6192px) and (min-height: 3870px) { :root { --ca-zoom: 4.3; } }
@media (min-width: 6264px) and (min-height: 3915px) { :root { --ca-zoom: 4.35; } }
@media (min-width: 6337px) and (min-height: 3961px) { :root { --ca-zoom: 4.4; } }
@media (min-width: 6408px) and (min-height: 4005px) { :root { --ca-zoom: 4.45; } }
@media (min-width: 6480px) and (min-height: 4050px) { :root { --ca-zoom: 4.5; } }
@media (min-width: 6552px) and (min-height: 4095px) { :root { --ca-zoom: 4.55; } }
@media (min-width: 6624px) and (min-height: 4140px) { :root { --ca-zoom: 4.6; } }
@media (min-width: 6697px) and (min-height: 4185px) { :root { --ca-zoom: 4.65; } }
@media (min-width: 6768px) and (min-height: 4230px) { :root { --ca-zoom: 4.7; } }
@media (min-width: 6840px) and (min-height: 4275px) { :root { --ca-zoom: 4.75; } }
@media (min-width: 6912px) and (min-height: 4320px) { :root { --ca-zoom: 4.8; } }
@media (min-width: 6984px) and (min-height: 4365px) { :root { --ca-zoom: 4.85; } }
@media (min-width: 7057px) and (min-height: 4410px) { :root { --ca-zoom: 4.9; } }
@media (min-width: 7128px) and (min-height: 4455px) { :root { --ca-zoom: 4.95; } }
@media (min-width: 7200px) and (min-height: 4500px) { :root { --ca-zoom: 5; } }
@media (min-width: 1585px) and (min-height: 991px) {
  html { zoom: var(--ca-zoom, 1); }
  html[data-ca-zoom='off'] { --ca-zoom: 1 !important; }
}
/* ---- end of big screens ---- */
