/* Jigsaw — a warm table in the evening light; the pictures carry the colour. */
:root {
  color-scheme: light dark;
  --bg: #efe9dc;
  --surface: #fbf8f1;
  --surface-2: #f3eee2;
  --text: #24221d;
  --muted: #5f5a4e;
  --line: rgba(60, 48, 24, 0.13);
  --accent: #2b7563;
  --accent-ink: #ffffff;
  --gold: #b8862b;
  --ca-accent: #2b7563; /* the accounts SDK's sheets and chip: white on it is 5.4:1 */
  --shadow: 0 18px 50px -24px rgba(60, 40, 10, 0.45);
  --radius: 18px;
  --tray-h: 0px;
  --tray-w: 0px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161d; --surface: #1d2029; --surface-2: #252935; --text: #ece9e1; --muted: #a9a59b; --line: rgba(255, 255, 255, 0.1);
    --accent: #4fb39b; --accent-ink: #0d1a16; --gold: #e2b45a; --ca-accent: #2b7563; --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
  }
}
* { box-sizing: border-box; }
/* no double-tap zoom on iOS: js/touch-guard.js adds the same rule plus a JS
   fallback; this copy covers Safari before 16.4 under the strict CSP */
: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) 0 env(safe-area-inset-left);
}
/* a game page: no text selection or long-press callouts anywhere, HUD and
   menus included; form fields and long text (the Help sheet) opt back in */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
input, textarea, [contenteditable], .prose p { -webkit-user-select: text; user-select: text; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---- the bar ---- */
.bar { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px 8px 16px; flex: none; position: relative; z-index: 3; }
.bar-mid { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.count { margin: 0; display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 17px; background: var(--surface); border: 1px solid var(--line); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; white-space: nowrap; line-height: 1; }
.count-t { color: var(--muted); font-weight: 500; }
@media (max-width: 420px) { .count-t { display: none; } .count { padding: 0 11px; } }
@media (max-width: 340px) { .count { display: none !important; } }

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

/* ---- the start ---- */
.home { overflow-y: auto; overscroll-behavior: contain; padding: 6px 16px calc(28px + env(safe-area-inset-bottom)); }
.home-in { max-width: 1080px; margin: 0 auto; }
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 6px 0 26px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.card { display: grid; grid-template-columns: minmax(96px, min(36%, 240px)) minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card-pic { width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; background: var(--surface-2); display: block; }
.card-go .card-pic { aspect-ratio: 4 / 3; }
.card-body { min-width: 0; }
.card-h { margin: 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.card-title { margin: 2px 0 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.card-line { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.card .btn { margin-top: 12px; }
.bar-prog { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin-top: 10px; }
.bar-prog i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--accent); transition: width .4s ease; }
.sec-h { margin: 0; font-size: 21px; letter-spacing: -.01em; }
.sec-line { margin: 2px 0 14px; color: var(--muted); font-size: 15px; }
.pics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 44vw / var(--ca-zoom, 1)), 1fr)); gap: 12px; }
.pic { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; cursor: pointer; text-align: left; transition: transform .2s cubic-bezier(.3, 1.4, .6, 1); }
.pic canvas, .pic .pic-ph { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: var(--surface-2); }
.pic .pic-ph { display: grid; place-items: center; color: var(--muted); }
.pic .pic-ph svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pic-name { display: block; padding: 9px 12px 10px; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.pic-sub { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
@media (hover: hover) { .pic:hover { transform: translateY(-2px); } }
.pic:active { transform: scale(.98); }
.pic:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---- buttons, chips, switches ---- */
.btn { display: inline-grid; place-items: center; min-height: 44px; padding: 0 20px; border-radius: 13px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 650; line-height: 1; cursor: pointer; transition: transform .12s ease, filter .15s ease; }
.btn-2 { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) { .btn:hover { filter: brightness(1.06); } }
.btn:active { transform: scale(.97); }
.btn:focus-visible, .tool:focus-visible, .chip:focus-visible, .cut:focus-visible, .swatch:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }

/* ---- the table ---- */
.play { position: relative; overflow: hidden; touch-action: none; background: var(--table-bg); --table-bg: radial-gradient(120% 90% at 50% 42%, #3d7a66 0%, #2c5e4e 55%, #22493d 100%);
  --board: #24493c; --board-line: rgba(0,0,0,.28); --tray: rgba(16, 32, 27, .62); --tray-line: rgba(255,255,255,.16); --glow: #ffd98a; --hint: #ffd45a; --tray-ink: rgba(255,255,255,.62); }
.play[data-table="walnut"] { --table-bg: radial-gradient(120% 90% at 50% 42%, #7a5536 0%, #5d3f27 60%, #48301e 100%); --board: #4a321f; --tray: rgba(38, 24, 14, .62); }
.play[data-table="slate"] { --table-bg: radial-gradient(120% 90% at 50% 42%, #56606b 0%, #434c56 60%, #353c45 100%); --board: #39414a; --tray: rgba(24, 28, 33, .62); }
.play[data-table="linen"] { --table-bg: radial-gradient(120% 90% at 50% 42%, #ebe3d2 0%, #ddd3be 60%, #cfc4ac 100%); --board: #d0c5ae; --board-line: rgba(80,60,30,.25); --tray: rgba(255, 252, 244, .7); --tray-line: rgba(80,60,30,.16); --hint: #c27c00; --glow: #d99a2b; --tray-ink: rgba(60,45,20,.62); }
.play[data-table="night"] { --table-bg: radial-gradient(120% 90% at 50% 42%, #2c3a5c 0%, #212c47 60%, #1a2238 100%); --board: #1c2540; --tray: rgba(12, 16, 30, .62); }
.table { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; cursor: grab; }
.table:active { cursor: grabbing; }
/* what moves (the piece in the hand, glides, rings) is drawn on this layer above the table */
.table-ov { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.table:focus-visible { box-shadow: inset 0 0 0 3px var(--accent); }

.tools { position: absolute; z-index: 2; left: calc((100% - var(--tray-w)) / 2); bottom: calc(var(--tray-h) + 10px + var(--tools-safe, 0px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 16px; max-width: calc(100% - 16px - var(--tray-w));
  background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5), inset 0 0 0 1px var(--line); }
.play[data-tray="bottom"][data-collapsed] { --tools-safe: env(safe-area-inset-bottom); }
.tools { transition: opacity .18s ease; }
.play[data-holding] .tools, .play[data-holding] .menu-pop { opacity: .16; pointer-events: none; }
.tool { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; transition: background-color .15s ease, transform .12s ease; }
.tool svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
@media (hover: hover) { .tool:hover { background: color-mix(in srgb, var(--text) 8%, transparent); } }
.tool:active { transform: scale(.93); }
.tool[aria-pressed="true"], .tool[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.tool-sep { flex: none; width: 1px; height: 22px; background: var(--line); margin: 0 2px; }
.badge { position: absolute; top: 2px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 700 10.5px/18px -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", Roboto, sans-serif; font-variant-numeric: tabular-nums; text-align: center; pointer-events: none; }
.wide-only { display: none; }
@media (hover: hover) and (min-width: 760px) { .wide-only { display: grid; } .tool-sep.wide-only { display: block; } }
@media (max-width: 360px) { .tool { width: 40px; } .tool-sep { display: none; } }

.menu-pop { position: absolute; z-index: 4; left: calc((100% - var(--tray-w)) / 2); bottom: calc(var(--tray-h) + 70px); transform: translateX(-50%); min-width: min(280px, calc(100% - 24px)); padding: 6px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.menu-pop button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 14px; border: 0; border-radius: 11px; background: transparent; text-align: left; cursor: pointer; font-size: 15px; line-height: 1.25; }
@media (hover: hover) { .menu-pop button:hover { background: var(--surface-2); } }
.menu-pop button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

.loading, .note, .done { position: absolute; z-index: 3; left: calc((100% - var(--tray-w)) / 2); transform: translateX(-50%); }
.loading { top: 50%; transform: translate(-50%, -50%); }
.loading-in { width: min(280px, 80vw / var(--ca-zoom, 1)); padding: 20px 22px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.loading-in p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.spin { width: 48px; height: 48px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linejoin: round; animation: spin 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.note { bottom: calc(var(--tray-h) + 74px); }
.done { bottom: calc(var(--tray-h) + 14px); }
.note, .done { width: min(400px, calc(100% - 24px - var(--tray-w))); padding: 20px 20px 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); text-align: center; }
.note h2, .done h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.note p { margin: 6px 0 0; color: var(--muted); }
.done { animation: rise .55s cubic-bezier(.2, 1.3, .5, 1) both; }
.done h2 { font-size: 26px; letter-spacing: -.01em; }
.done-line { margin: 4px 0 0; font-size: 16px; font-variant-numeric: tabular-nums; }
.done-best { margin: 6px 0 0; color: var(--gold); font-weight: 650; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 24px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }

/* ---- sheets ---- */
.sheet { border: 0; padding: 0; width: min(calc(94vw / var(--ca-zoom, 1)), 460px); max-height: min(calc(90dvh / var(--ca-zoom, 1)), 760px); border-radius: 22px; background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -30px rgba(0,0,0,.55); overflow: hidden; }
.sheet[open] { display: flex; flex-direction: column; }
.sheet::backdrop { background: rgba(14, 12, 8, 0.45); }
.sheet-head { flex: none; padding: 20px 22px 6px; }
.sheet-head h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.sheet-body:focus-visible { outline: none; }
.sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px 8px; }
.sheet-body h3 { margin: 18px 0 8px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sheet-foot { flex: none; display: flex; gap: 10px; justify-content: flex-end; padding: 12px 22px 18px; border-top: 1px solid var(--line); }
.sheet-foot form { display: contents; }
.sheet-foot .btn { min-width: 110px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.row small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.row-col { flex-wrap: wrap; }
select { min-height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; }
.switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 50px; height: 30px; margin: 0; border-radius: 15px; background: color-mix(in srgb, var(--text) 18%, transparent); cursor: pointer; transition: background-color .2s 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,.3); transition: transform .22s cubic-bezier(.3, 1.4, .6, 1); }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(20px); }
.switch:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; background: var(--sw); }
.swatch[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.swatch.felt { --sw: #2c5e4e; } .swatch.walnut { --sw: #5d3f27; } .swatch.slate { --sw: #434c56; } .swatch.linen { --sw: #ddd3be; } .swatch.night { --sw: #212c47; }

.preview { position: relative; margin-top: 6px; }
.preview canvas { display: block; width: 100%; height: auto; max-height: min(260px, calc(26dvh / var(--ca-zoom, 1))); object-fit: contain; border-radius: 14px; background: var(--surface-2); }
.preview .reroll { position: absolute; right: 10px; bottom: 10px; color: #fff !important; --ca-tool-bg: rgba(0,0,0,.4); --ca-tool-line: rgba(255,255,255,.4); --ca-tool-hover: rgba(0,0,0,.55); }
.reroll svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.new-name { margin: 10px 0 0; font-weight: 650; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-width: 58px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; cursor: pointer; line-height: 1; display: inline-grid; place-items: center; }
.chip[aria-checked="true"], .cut[aria-checked="true"] { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); border-color: var(--accent); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
.cuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cut { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; min-height: 44px; }
.cut canvas { width: 64px; height: 64px; display: block; }
.cut b { font-size: 14px; line-height: 1.2; }
.cut small { font-size: 12px; line-height: 1.3; color: var(--muted); text-align: center; }
.hint-line { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; }
.hint-line.warn { color: var(--gold); font-weight: 600; }
@media (prefers-color-scheme: light) { .hint-line.warn { color: #8a5a00; } }

.prose p { margin: 0 0 12px; line-height: 1.55; }
.prose .keys { color: var(--muted); font-size: 14px; }
.version { color: var(--muted); font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.stat { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.stat b { display: block; font-size: 24px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 13.5px; }
.bests { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.best { padding: 8px 10px; border-radius: 12px; background: var(--surface-2); font-variant-numeric: tabular-nums; }
.best b { display: block; font-size: 16px; }
.best span { color: var(--muted); font-size: 12.5px; }
.bests .none { grid-column: 1 / -1; color: var(--muted); font-size: 14px; margin: 0; }
.friends-board { min-height: 120px; }

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