/* Lángos Stand — a sunny lakeside beach stand. Warm sand and cream, the awning's coral, the frame's
   lake teal, honey gold for what is chosen. Calm: nothing here blinks or sweeps. */
:root {
  color-scheme: light;
  --bg: #fbf2e1;
  --bg2: #f6e6c8;
  --surface: #fffaf1;
  --surface2: #fff3df;
  --text: #2b2118;
  --muted: #6a5a47;
  --line: rgba(90, 60, 30, 0.14);
  --accent: #d8432d;
  --accent-ink: #ffffff;
  --teal: #1f7f8c;
  --gold: #f0b429;
  --good: #2f8f55;
  --shadow: 0 18px 44px -22px rgba(80, 45, 15, 0.55);
  --ca-accent: #d8432d;
  --ca-tool-bg: rgba(255, 250, 240, 0.7);
  --ca-tool-line: rgba(90, 60, 30, 0.2);
  --r: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif;
  --display: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", var(--font);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1c1820;
    --bg2: #241f29;
    --surface: #2a2430;
    --surface2: #332c3a;
    --text: #f6eee2;
    --muted: #c2b5a3;
    --line: rgba(255, 235, 210, 0.12);
    --accent: #ff7a62;
    --accent-ink: #2a120c;
    --teal: #5cc0cd;
    --gold: #f6c453;
    --good: #5fd08a;
    --shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.8);
    --ca-accent: #ff7a62;
    --ca-tool-bg: rgba(42, 36, 48, 0.75);
    --ca-tool-line: rgba(255, 235, 210, 0.18);
  }
}
* { 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%; background: var(--bg); }
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.45 var(--font); -webkit-font-smoothing: antialiased;
  padding: calc(env(safe-area-inset-top) + var(--ca-space-top, 0px)) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
/* a game page: no text selection or callouts anywhere; fields and prose opt back in */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
input, textarea, .sheet p, .sheet li { -webkit-user-select: text; user-select: text; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- the bar ---- */
.bar { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px 8px 16px; background: var(--bg); }
.bar .ca-start { margin-right: auto; }
body[data-screen="play"] .bar { background: var(--bg2); }
@media (max-height: 430px) { body[data-screen="play"]:not([data-paused]) .bar { display: none; } }
.ca-tool svg.ic { width: 18px !important; height: 18px !important; }

main { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.screen { grid-area: 1 / 1; min-height: 0; min-width: 0; }

/* ---- buttons ---- */
.btn {
  display: inline-grid; place-items: center; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 0;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; text-align: center;
  box-shadow: 0 6px 16px -8px rgba(160, 50, 20, 0.6); transition: transform .12s ease, background-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); box-shadow: none; }
.btn.soft { background: var(--surface2); color: var(--text); box-shadow: none; border: 1px solid var(--line); }
.btn:disabled { opacity: .5; cursor: default; }
/* the platform's "Your data in this app" buttons: quiet ones, their icon beside the word */
.btn.dbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--surface2); color: var(--text); border: 1px solid var(--line); box-shadow: none; font-size: 15px; }
.btn.dbtn svg { width: 18px; height: 18px; flex: none; }
.btn:focus-visible, .mode:focus-visible, .day:focus-visible, .seg button:focus-visible, .chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---- home ---- */
#home { position: relative; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr); }
.home-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.home-wrap { position: relative; display: grid; align-content: end; justify-items: center; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 14px calc(16px + env(safe-area-inset-bottom)); }
.home-card {
  width: min(100%, 560px); padding: 18px 16px 14px; border-radius: 24px; background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.home-title { margin: 0; font: 800 clamp(26px, calc(7vw / var(--ca-zoom, 1)), 36px)/1.05 var(--display); letter-spacing: -.01em; text-align: center; color: var(--accent); }
.home-tag { margin: 6px auto 14px; max-width: 40ch; text-align: center; color: var(--muted); font-size: 14.5px; }
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mode {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left;
  min-height: 62px; padding: 9px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface2); cursor: pointer;
  transition: transform .12s ease, background-color .15s ease;
}
.mode:active { transform: scale(.98); }
.mode .mi { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mi, var(--teal)); color: #fff; }
.mode .mi svg { width: 24px; height: 24px; display: block; }
.mode b { font-size: 15.5px; line-height: 1.2; align-self: end; }
.mode small { color: var(--muted); font-size: 12.5px; line-height: 1.25; align-self: start; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mode-main { grid-column: 1 / -1; background: linear-gradient(135deg, #f7c46a, #ef9a45); border: 0; color: #3a1f08; min-height: 72px; }
.mode-main small { color: #5b3712; }
.mode-main .mi { background: rgba(255, 255, 255, 0.35); color: #6a2f0c; }
.mode-resume { grid-column: 1 / -1; }
.home-foot { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 12px 0 0; color: var(--muted); font-size: 13.5px; }
.home-foot span { display: inline-flex; align-items: center; gap: 5px; }
/* a phone: one column of compact rows, each name on one line */
@media (max-width: 519.98px) {
  .modes { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .mode { grid-template-columns: 36px minmax(0, 1fr); min-height: 54px; padding: 7px 12px; }
  .mode .mi { width: 36px; height: 36px; border-radius: 11px; }
  .mode .mi svg { width: 22px; height: 22px; }
  .mode b, .mode small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .mode-main { min-height: 64px; }
}
@media (max-height: 700px) and (max-width: 599.98px) { .home-tag { display: none; } .mode { min-height: 50px; } .mode-main { min-height: 58px; } .home-title { font-size: 26px; } }
@media (min-width: 900px) and (min-aspect-ratio: 4/3) { .home-wrap { align-content: center; justify-items: end; padding-right: calc(6vw / var(--ca-zoom, 1)); } }

/* ---- the season ---- */
#season { position: relative; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr); background: linear-gradient(180deg, var(--bg2), var(--bg)); }
#season > :not(canvas) { position: relative; }
.s-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px; flex-wrap: wrap; }
.s-head h2 { margin: 0; font: 800 20px/1.2 var(--display); flex: 1 1 auto; min-width: 0; }
.s-head .till { color: var(--muted); font-size: 14px; white-space: nowrap; padding: 4px 10px; border-radius: 12px; background: color-mix(in srgb, var(--surface) 88%, transparent); }
.s-head h2 { padding: 2px 12px; border-radius: 12px; background: color-mix(in srgb, var(--surface) 88%, transparent); flex: 0 1 auto; margin-right: auto; }
.back { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.back svg { width: 20px; height: 20px; display: block; }
.months { overflow-y: auto; overscroll-behavior: contain; padding: 4px 14px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-content: start; }
@media (min-width: 880px) { .months { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.month { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 12px; box-shadow: var(--shadow); }
.month h3 { margin: 0 0 10px; font: 800 17px/1.2 var(--display); color: var(--teal); }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.day {
  position: relative; display: grid; grid-template-rows: auto auto; justify-items: center; align-content: center; gap: 2px; min-height: 60px; padding: 6px 2px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface2); cursor: pointer;
}
.day b { font: 800 17px/1 var(--display); }
@media (min-width: 880px) { .day { min-height: clamp(64px, calc(11vh / var(--ca-zoom, 1)), 120px); } .day b { font-size: 20px; } .month { padding: 16px; } .months { gap: 18px; padding-top: 10px; } }
.day .st { font-size: 11px; letter-spacing: .04em; color: var(--gold); line-height: 1; min-height: 11px; }
.day .st i { font-style: normal; color: var(--line); }
.day[data-locked] { opacity: .45; cursor: default; }
.day[data-next] { background: linear-gradient(135deg, #f7c46a, #ef9a45); color: #3a1f08; border: 0; }
.day[data-next] .st { color: #7a3d0c; }
.day[data-special]::after { content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* ---- play ---- */
#play { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: var(--bg2); }
.kitchen { position: relative; min-height: 0; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.spots { position: absolute; inset: 0; }
.spot {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); padding: 0; margin: 0; border: 0; border-radius: 14px;
  background: transparent; cursor: pointer; touch-action: none;
}
.spot:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.hud { position: absolute; z-index: 2; left: 0; right: 0; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; padding: 5px 8px; pointer-events: none; }
.hud > * { pointer-events: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 15px; white-space: nowrap;
  background: rgba(255, 250, 240, 0.92); color: #2b2118; border: 1px solid rgba(90, 60, 30, 0.16); font-weight: 700; font-size: 14px;
  font-variant-numeric: tabular-nums; box-shadow: 0 4px 12px -6px rgba(60, 30, 10, 0.5);
}
.chip svg { width: 16px; height: 16px; display: block; flex: none; }
.chip.cash { flex-direction: column; align-items: stretch; justify-content: center; gap: 3px; height: auto; min-height: 30px; padding: 4px 12px; }
.chip.cash .cv { display: flex; align-items: baseline; justify-content: center; gap: 5px; line-height: 1.05; }
.chip.cash small { font-weight: 600; color: #6a5a47; font-size: 12px; }
.bar-goal { position: relative; height: 5px; border-radius: 3px; background: rgba(90, 60, 30, 0.15); overflow: visible; min-width: 96px; }
.bar-goal i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); border-radius: 3px; background: linear-gradient(90deg, #f0b429, #e8553f); transition: width .3s ease; }
.bar-goal b { position: absolute; top: -2px; width: 2px; height: 9px; background: #8a5a2a; border-radius: 1px; left: var(--at); }
.chip.combo { background: #fff0d6; color: #a23a1c; }
.chip.wish canvas { width: var(--w); height: 22px; display: block; }
@media (min-width: 1000px) and (min-height: 640px) {
  .hud { padding: 8px 12px; gap: 10px; }
  .chip { height: 38px; padding: 0 15px; border-radius: 19px; font-size: 17px; gap: 8px; }
  .chip svg { width: 19px; height: 19px; }
  .chip.cash { min-height: 38px; padding: 5px 16px; }
  .chip.cash small { font-size: 14px; }
  .bar-goal { min-width: 140px; height: 6px; }
  .chip.wish canvas { transform: scale(1.25); transform-origin: center; }
}
.hud-end { display: flex; gap: 6px; align-items: flex-start; }
.hud-pause { display: none; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 22px; cursor: pointer; }
.hud-pause svg { width: 18px; height: 18px; }
@media (max-height: 430px) { body[data-screen="play"] .hud-pause { display: inline-flex; } }
.hud .mid { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; min-width: 0; }
.coopbar { display: flex; gap: 6px; align-items: center; padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); overflow-x: auto; background: var(--surface); border-top: 1px solid var(--line); scrollbar-width: none; }
.coopbar::-webkit-scrollbar { display: none; }
.cook { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 18px; background: var(--surface2); border: 1px solid var(--line); white-space: nowrap; font-size: 13.5px; min-height: 36px; }
.cook .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #1b1b1f; background: var(--c, #ffb020); }
.cook small { color: var(--muted); }
.cook[data-me] { border-color: var(--gold); }
.stbtn { min-height: 36px; padding: 0 12px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.stbtn[aria-pressed="true"] { background: var(--gold); border-color: transparent; color: #3a1f08; }

/* ---- sheets ---- */
.sheet {
  border: 0; border-radius: 24px; padding: 0; width: min(calc(94vw / var(--ca-zoom, 1)), 460px); max-height: min(calc(92dvh / var(--ca-zoom, 1)), 760px);
  background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55);
}
.sheet[open] { display: flex; flex-direction: column; }
.sheet::backdrop { background: rgba(30, 18, 10, 0.42); }
.sheet .sh { display: flex; align-items: center; gap: 10px; padding: 18px 20px 6px; }
.sheet .sh h2 { margin: 0; font: 800 20px/1.2 var(--display); flex: 1 1 auto; min-width: 0; }
.sheet .sb { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px 8px; }
.sheet .sf { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 20px 18px; }
.sheet .sf .btn { flex: 1 1 auto; min-width: 120px; white-space: nowrap; }
.sheet .sb:focus:not(:focus-visible) { outline: none; }
.sheet p { margin: 8px 0; }
.lead { color: var(--muted); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); min-height: 52px; }
.row:last-child { border-bottom: 0; }
.row select { font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); min-height: 40px; }
.switch { appearance: none; width: 48px; height: 28px; border-radius: 14px; background: var(--line); position: relative; cursor: pointer; flex: none; transition: background-color .15s ease; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s ease; }
.switch:checked { background: var(--teal); }
.switch:checked::after { transform: translateX(20px); }
.switch:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.version { color: var(--muted); font-size: 13px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); }
.seg button { min-height: 40px; border: 0; border-radius: 10px; background: transparent; font-weight: 700; cursor: pointer; padding: 0 6px; }
.seg button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 2px 8px -4px rgba(60,30,10,.5); color: var(--accent); }
.field { display: grid; gap: 6px; margin: 12px 0; }
.field > span { font-weight: 700; font-size: 14px; color: var(--muted); }

/* the day's card */
.daycard .sh { flex-direction: column; align-items: flex-start; gap: 2px; }
.daycard .sh small { color: var(--muted); font-weight: 600; }
.feat { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.feat:last-child { border-bottom: 0; }
.feat canvas { width: 52px; height: 52px; display: block; border-radius: 14px; background: var(--surface2); }
.feat b { display: block; font-size: 15px; }
.feat small { display: block; color: var(--muted); font-size: 13.5px; }
.goal { display: grid; gap: 4px; padding: 10px 14px; border-radius: 14px; background: var(--surface2); margin-top: 8px; }
.goal .gl { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.goal b { font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.goal small { color: var(--muted); }

/* the stand's upgrades */
.up { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.up:last-child { border-bottom: 0; }
.up b { font-size: 15px; }
.up small { grid-column: 1; color: var(--muted); font-size: 13.5px; }
.up .btn { grid-row: 1 / 3; grid-column: 2; min-height: 44px; padding: 0 14px; font-size: 14px; }

/* the shift's end */
.endcard .stars { display: flex; justify-content: center; gap: 8px; margin: 2px 0 6px; }
.endcard .stars svg { width: 40px; height: 40px; display: block; }
.endcard .big { text-align: center; font: 800 32px/1.1 var(--display); font-variant-numeric: tabular-nums; color: var(--accent); margin: 2px 0; }
.endcard .note { text-align: center; color: var(--muted); margin: 0 0 8px; }
.endcard .newbest { display: block; width: fit-content; margin: 4px auto 8px; padding: 4px 12px; border-radius: 12px; background: var(--gold); color: #3a1f08; font-weight: 800; font-size: 13.5px; }
.nums { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; margin: 6px 0 0; }
.nums dt, .nums dd { margin: 0; padding: 7px 0; border-bottom: 1px solid var(--line); }
.nums dd { padding-left: 12px; }
.nums dd { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* results */
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface2); margin-bottom: 10px; }
.tabs button { min-height: 40px; border: 0; border-radius: 10px; background: transparent; font-weight: 700; font-size: 14px; cursor: pointer; padding: 0 4px; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--accent); box-shadow: 0 2px 8px -4px rgba(60,30,10,.5); }
.sheet h3 { margin: 14px 0 6px; font-size: 15px; }
.help ol { padding-left: 20px; margin: 8px 0; }
.help li { margin: 8px 0; }
.help-pics { display: flex; gap: 8px; justify-content: center; margin: 4px 0 8px; }
.help-pics canvas { width: 64px; height: 64px; display: block; border-radius: 16px; background: var(--surface2); }

@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 ---- */
