/* My Bookmarks: cloud-apps.net's own look (its Lagoon colours, its glass board, its tiles and
   sheets), so the app and the home screen's Bookmarks tab feel like one place. */
:root {
  color-scheme: light;
  --ink: #17202c;
  --muted: #5d6878;
  --faint: #676d76;
  --line: rgba(20, 32, 44, 0.08);
  --line-2: rgba(20, 32, 44, 0.14);
  --tint: #dff0f1;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-line: rgba(255, 255, 255, 0.8);
  --surface: color-mix(in srgb, #fff 90%, var(--tint));
  --surface-2: color-mix(in srgb, #fff 48%, var(--tint));
  --sheet: color-mix(in srgb, #fff 95%, var(--tint));
  --field: color-mix(in srgb, #fff 70%, var(--tint));
  --danger: #c2410c;
  --ok: #15915f;
  --star: #f0a42a;
  --shadow: 0 1px 2px rgba(16, 30, 44, 0.05), 0 10px 30px -14px rgba(16, 30, 44, 0.18);
  --shadow-2: 0 2px 4px rgba(16, 30, 44, 0.06), 0 26px 50px -20px rgba(16, 30, 44, 0.32);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.5, .5, 1);
  --bg: #eef6f7;
  --wall:
    radial-gradient(55% 50% at 8% 2%, #c6edef 0%, transparent 66%),
    radial-gradient(50% 46% at 94% 8%, #d3e4ff 0%, transparent 66%),
    radial-gradient(60% 45% at 60% 100%, #dcf4e5 0%, transparent 66%),
    linear-gradient(180deg, #f1f9fa, #eef6f7 60%);
  --brand: #0e8790;
  --grad: linear-gradient(92deg, #0e8790 0%, #2f7fd8 100%);
  --btn: linear-gradient(180deg, #23a6b0, #0e7f88);
  --btn-ink: #fff;
  --glow: rgba(14, 135, 144, 0.45);
  --ring: color-mix(in srgb, var(--brand) 42%, transparent);
  --ca-accent: var(--brand);
  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #eaf0f4;
    --muted: #9aa7b4;
    --faint: #838e99;
    --line: rgba(255, 255, 255, 0.07);
    --line-2: rgba(255, 255, 255, 0.13);
    --tint: #0f2a30;
    --glass: rgba(18, 26, 38, 0.56);
    --glass-line: rgba(255, 255, 255, 0.08);
    --surface: color-mix(in srgb, #111a24 86%, var(--tint));
    --surface-2: color-mix(in srgb, #1a2532 76%, var(--tint));
    --sheet: color-mix(in srgb, #121b26 90%, var(--tint));
    --field: color-mix(in srgb, #0c131b 80%, var(--tint));
    --danger: #fb923c;
    --ok: #3ddc97;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -14px rgba(0, 0, 0, 0.6);
    --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.35), 0 26px 50px -20px rgba(0, 0, 0, 0.8);
    --bg: #061317;
    --wall:
      radial-gradient(55% 50% at 8% 2%, #0f3c46 0%, transparent 66%),
      radial-gradient(50% 46% at 94% 8%, #112f52 0%, transparent 66%),
      radial-gradient(60% 45% at 60% 100%, #0c3a2f 0%, transparent 66%),
      #061317;
    --brand: #66d6de;
    --grad: linear-gradient(92deg, #7fe3e9 0%, #8bb8ff 100%);
    --btn: linear-gradient(180deg, #2fb6c0, #168f99);
    --glow: rgba(47, 182, 192, 0.45);
    --ca-accent-ink: #04262a;
  }
}

/* ---- base ------------------------------------------------------------------------------------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
/* 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%; background: var(--bg); }
body {
  margin: 0; min-height: calc(100dvh / var(--ca-zoom, 1)); color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
body.locked { overflow: hidden; }
.selectable, input, textarea, select { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font: inherit; color: inherit; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--brand) 26%, transparent); }
.wall { position: fixed; inset: 0; z-index: -1; background: var(--wall); pointer-events: none; }
.pg { min-height: calc(100dvh / var(--ca-zoom, 1)); display: flex; flex-direction: column; overflow-x: clip; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) 64px; }
.grow { flex: 1; min-width: 0; }

/* ---- buttons ---------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 15px; border: 1px solid transparent; font-size: 15px; font-weight: 650; cursor: pointer; text-decoration: none; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease; }
.btn.block { width: 100%; }
.btn.primary { color: var(--btn-ink); background: var(--btn); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 24px -10px var(--glow); }
.btn.ghost { color: var(--ink); background: var(--glass); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--surface); }
.btn.danger { color: #fff; background: linear-gradient(180deg, #e2574c, #c2362c); box-shadow: 0 10px 22px -12px rgba(194, 54, 44, 0.8); }
.btn.danger-ghost { color: var(--danger); background: transparent; border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }
.link-btn { border: 0; background: none; padding: 6px 8px; margin: -6px -8px; border-radius: 8px; font-size: 14px; font-weight: 650; color: var(--brand); cursor: pointer; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- the bar ---------------------------------------------------------------------------------- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; max-width: 1240px; margin: 0 auto; padding: 14px var(--gutter) 6px; }
.bar .ca-start { margin-right: auto; } /* "Add a link" stays at the right end, beside the tools and the chip */
.add-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px 0 13px; border: 0; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 22px -10px var(--glow); transition: transform 160ms ease; }
.add-btn .i { width: 19px; height: 19px; stroke-width: 2.4; }
.add-btn:active { transform: scale(0.96); }

/* ---- the tools: search, filters, order, look, categories ------------------------------------------------------ */
.tools { position: sticky; top: 0; z-index: 5; margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) 10px; background: linear-gradient(var(--bg) 70%, color-mix(in srgb, var(--bg) 0%, transparent)); }
@supports (backdrop-filter: blur(1px)) { .tools { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); } }
.tool-row { display: flex; gap: 10px; align-items: center; }
.search { position: relative; display: block; flex: 1 1 auto; min-width: 0; }
.search > .i { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--faint); pointer-events: none; }
.search input { width: 100%; height: 46px; padding: 0 44px 0 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; box-shadow: var(--shadow); transition: border-color 150ms, box-shadow 150ms; }
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search input:focus { border-color: color-mix(in srgb, var(--brand) 55%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.search kbd { position: absolute; right: 14px; top: 50%; translate: 0 -50%; font: 600 12px ui-monospace, "SF Mono", monospace; color: var(--faint); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; }
.search input:focus + kbd, .search input:not(:placeholder-shown) + kbd { display: none; }
.clear-q { position: absolute; right: 6px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--muted); cursor: pointer; }
.clear-q .i { width: 16px; height: 16px; }
.tool-set { display: flex; gap: 8px; align-items: center; flex: none; }
.tool-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 14.5px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow); white-space: nowrap; }
.tool-btn .i { width: 18px; height: 18px; color: var(--muted); }
.tool-n { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--brand); color: var(--btn-ink); font-size: 12px; font-weight: 750; font-style: normal; }
.sorter { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; min-width: 190px; padding: 6px; border-radius: 16px; background: var(--sheet); border: 1px solid var(--line); box-shadow: var(--shadow-2); animation: menu-in 200ms var(--ease) both; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px) scale(0.98); } }
.menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 0; border-radius: 11px; background: none; font-size: 15px; font-weight: 550; text-align: left; cursor: pointer; }
.menu button:hover { background: var(--surface-2); }
.menu button[aria-checked="true"] { color: var(--brand); font-weight: 700; }
.menu button[aria-checked="true"]::after { content: "✓"; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; min-width: 40px; padding: 0 11px; border: 0; border-radius: 999px; background: none; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.seg button:hover { color: var(--ink); }
.seg [aria-pressed="true"] { color: var(--ink); background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 0 1px var(--line); }
.seg .i { width: 18px; height: 18px; }
.seg.wide { display: flex; width: 100%; background: var(--surface-2); }
.seg.wide > * { flex: 1; }
.chips { display: flex; gap: 8px; margin: 12px calc(-1 * var(--gutter)) 0; padding: 3px var(--gutter); overflow-x: auto; scrollbar-width: none; scroll-padding: 0 var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
.chip { --cat: var(--brand); flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }
.chip:has(> .i) { padding-left: 11px; }
.chip .i { width: 17px; height: 17px; color: var(--cat); }
.chip small { font-size: 12px; font-weight: 650; color: var(--faint); font-variant-numeric: tabular-nums; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"], .chip.on { background: color-mix(in srgb, var(--cat) 15%, var(--surface)); border-color: color-mix(in srgb, var(--cat) 55%, transparent); color: var(--ink); }
.chips:not(.wrap) .chip[data-cat="all"][aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips:not(.wrap) .chip[data-cat="all"][aria-pressed="true"] small { color: color-mix(in srgb, var(--bg) 62%, transparent); }
.chip.inbox { --cat: #d6457a; border-color: color-mix(in srgb, #d6457a 40%, var(--line-2)); }
.chip.add-cat { width: 38px; padding: 0; justify-content: center; border-style: dashed; }
.chip.add-cat .i { color: var(--muted); }
.chip.suggested[aria-pressed="false"] { border-style: dashed; }
.count { margin: 6px 2px 12px; color: var(--faint); font-size: 13px; font-weight: 600; }

/* ---- the list, in three looks -------------------------------------------------------------------------------- */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.item { position: relative; min-width: 0; }
.hit { display: grid; width: 100%; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.fav { position: relative; display: grid; place-items: center; flex: none; overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--bm) 22%, var(--surface)), color-mix(in srgb, var(--bm) 42%, var(--surface))); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bm) 26%, var(--line)); }
/* a small favicon sits on a white plate, as in a browser's tab strip: drawn for a light background, it reads on a dark one too */
.fav img { width: 56%; height: 56%; padding: 9%; object-fit: contain; border-radius: 26%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16); }
.fav.full img { width: 100%; height: 100%; padding: 0; object-fit: cover; border-radius: 0; background: none; box-shadow: none; }
.fav.mono span { font-weight: 750; letter-spacing: -0.03em; color: color-mix(in srgb, var(--bm) 72%, var(--ink)); }
.s-fav { width: 18px; height: 18px; border-radius: 5px; box-shadow: none; }
.s-fav img { width: 100%; height: 100%; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.s-fav.small, .d-fav.small { background: #fff; }
.s-fav.mono span { font-size: 10.5px; }
.marks { display: flex; gap: 4px; color: var(--faint); }
.marks .i { width: 16px; height: 16px; }
.mk-pin { color: var(--brand); }
.go { position: absolute; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--muted); cursor: pointer; opacity: 0.86; transition: color 160ms ease, background 160ms ease, opacity 160ms ease; }
.go .i { width: 18px; height: 18px; }
.go:hover { color: var(--brand); opacity: 1; }
.item.reading .sub span:first-child { color: var(--brand); }
.item.reading .fav::after, .item.reading .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, color-mix(in srgb, #fff 45%, transparent) 50%, transparent 80%); background-size: 220% 100%; animation: shine 1.2s linear infinite; }
.item.reading .pic .fav::after { content: none; }
@keyframes shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.sub { display: flex; gap: 6px; min-width: 0; color: var(--faint); font-size: 12.5px; font-weight: 600; }
.sub span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub .dot, .sub .kd, .sub .len { flex: none; }

/* icons: the home screen's tiles */
html[data-list="icons"] .list { gap: 22px 8px; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); padding-top: 4px; }
html[data-list="icons"] .hit { justify-items: center; gap: 7px; padding: 4px 2px; }
html[data-list="icons"] .t-fav { width: 72px; height: 72px; border-radius: 17px; transition: transform 320ms var(--spring); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bm) 26%, var(--line)), 0 10px 20px -14px color-mix(in srgb, var(--bm) 80%, transparent); }
html[data-list="icons"] .t-fav.mono span { font-size: 28px; }
html[data-list="icons"] .hit b { max-width: 100%; font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-list="icons"] .hit small { margin-top: -5px; max-width: 100%; font-size: 11px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-list="icons"] .pin-dot { position: absolute; top: 0; left: calc(50% + 26px); width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px var(--bg); }
@media (hover: hover) { html[data-list="icons"] .hit:hover .t-fav { transform: scale(1.07) translateY(-2px); } }
html[data-list="icons"] .hit:active .t-fav { transform: scale(0.94); }

/* compact cards */
html[data-list="cards"] .list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
html[data-list="cards"] .hit { grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 54px 12px 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 240ms var(--ease), box-shadow 240ms ease; }
/* the picture, a small one of the large view's: the page's own, or its icon on the site's colour */
html[data-list="cards"] .c-pic { position: relative; display: grid; place-items: center; width: 92px; height: 69px; overflow: hidden; border-radius: 14px; background: radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--bm) 32%, var(--surface)), color-mix(in srgb, var(--bm) 56%, var(--surface-2))); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bm) 20%, var(--line)); }
html[data-list="cards"] .c-pic .shot { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
html[data-list="cards"] .c-fav { width: 42px; height: 42px; border-radius: 12px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bm) 26%, var(--line)), 0 8px 16px -10px rgba(0, 0, 0, 0.45); }
html[data-list="cards"] .c-fav.mono span { font-size: 18px; }
html[data-list="cards"] .c-pic .play { width: 30px; height: 30px; box-shadow: none; }
html[data-list="cards"] .c-pic .play::after { left: 11.5px; top: 9px; border-width: 6px 0 6px 9px; }
@media (max-width: 380px) {
  html[data-list="cards"] .hit { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 12px; }
  html[data-list="cards"] .c-pic { width: 80px; height: 60px; border-radius: 12px; }
  html[data-list="cards"] .c-fav { width: 38px; height: 38px; border-radius: 11px; }
}
html[data-list="cards"] .tx { display: grid; gap: 2px; min-width: 0; }
html[data-list="cards"] .tx b { font-size: 15.5px; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html[data-list="cards"] .list .desc { color: var(--muted); font-size: 13px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-list="cards"] .marks { position: absolute; right: 16px; bottom: 12px; }
html[data-list="cards"] .go { top: 12px; right: 10px; }
@media (hover: hover) { html[data-list="cards"] .hit:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); } html[data-list="cards"] .hit:hover .c-pic .shot { transform: scale(1.05); } }

/* large: the picture on top */
html[data-list="big"] .list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
html[data-list="big"] .hit { height: 100%; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 280ms var(--ease), box-shadow 280ms ease; }
html[data-list="big"] .pic { position: relative; display: grid; place-items: center; aspect-ratio: 1200 / 630; overflow: hidden; background: radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--bm) 36%, var(--surface)), color-mix(in srgb, var(--bm) 62%, var(--surface-2))); }
html[data-list="big"] .pic .shot { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
@media (hover: hover) { html[data-list="big"] .hit:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); } html[data-list="big"] .hit:hover .shot { transform: scale(1.035); } }
.art { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.5); }
.art.mono span { font-size: 30px; }
html[data-list="big"] .tx { display: grid; align-content: start; gap: 5px; padding: 13px 16px 16px; min-width: 0; }
html[data-list="big"] .list .site { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
html[data-list="big"] .list .site > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-list="big"] .tx b { font-size: 17px; font-weight: 680; line-height: 1.3; letter-spacing: -0.015em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html[data-list="big"] .list .desc { color: var(--muted); font-size: 14px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html[data-list="big"] .marks { position: absolute; left: 12px; top: 12px; gap: 6px; }
html[data-list="big"] .marks .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(8, 14, 20, 0.45); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html[data-list="big"] .go { top: 10px; right: 10px; background: rgba(8, 14, 20, 0.42); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; translate: -50% -50%; border-radius: 50%; background: rgba(8, 14, 20, 0.55); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.play::after { content: ""; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.badge { position: absolute; left: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(8, 14, 20, 0.55); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.more-end { height: 1px; }

/* empty */
.empty { max-width: 460px; margin: calc(8vh / var(--ca-zoom, 1)) auto 0; text-align: center; animation: rise 420ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.empty-art { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 28px; background: var(--grad); color: #fff; box-shadow: 0 24px 44px -20px var(--glow); }
.empty-art .i { width: 42px; height: 42px; stroke-width: 1.6; fill: rgba(255, 255, 255, 0.18); }
.empty h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -0.025em; }
.empty p { margin: 0 0 22px; color: var(--muted); text-wrap: pretty; }
.empty.none { margin-top: calc(6vh / var(--ca-zoom, 1)); }

/* ---- sheets ------------------------------------------------------------------------------------------------- */
.layer { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.scrim { position: absolute; inset: 0; background: rgba(8, 16, 24, 0.38); opacity: 0; transition: opacity 280ms ease; }
.sheet { position: relative; width: min(440px, 100%); max-height: calc(calc(100dvh / var(--ca-zoom, 1)) - 48px); overflow: auto; overscroll-behavior: contain; border-radius: 30px; background: var(--sheet); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 50px 100px -30px rgba(6, 14, 24, 0.6); outline: none; opacity: 0; transform: scale(0.6); transition: transform 440ms cubic-bezier(.2, 1.15, .3, 1), opacity 200ms ease; }
.sheet.wide { width: min(560px, 100%); }
.layer.open .scrim { opacity: 1; }
.layer.open .sheet { opacity: 1; transform: none; }
.layer.closing .sheet { transition-duration: 240ms, 200ms; transition-timing-function: cubic-bezier(.4, 0, 1, 1), ease; }
.layer.instant :is(.scrim, .sheet) { transition: none; }
.sheet-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 10px 22px; background: var(--sheet); }
.sheet-head h2 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.x { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--muted); cursor: pointer; }
.x .i { width: 17px; height: 17px; }
.x:hover { color: var(--ink); }
.pane-body { display: grid; gap: 14px; padding: 4px 22px 24px; }
.pane-body h3 { margin: 8px 0 -4px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }
.hint { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }
.hint.center, .center { text-align: center; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; }
.row3 .btn:nth-child(2) { width: 46px; padding: 0; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; font-weight: 650; color: var(--muted); }
.field input, .field textarea, .set-row select, .url input { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--field); color: var(--ink); font: inherit; font-size: 16px; outline: none; resize: vertical; -webkit-appearance: none; appearance: none; transition: border-color 150ms, box-shadow 150ms; }
.field input:focus, .field textarea:focus, .set-row select:focus, .url input:focus { border-color: color-mix(in srgb, var(--brand) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.field .link-btn { justify-self: start; margin-top: -2px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; font-weight: 550; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); flex: none; }
.err { margin: 0; color: var(--danger); font-size: 14px; font-weight: 600; }
.toast { position: fixed; z-index: 80; left: 0; right: 0; bottom: max(26px, calc(env(safe-area-inset-bottom) + 16px)); width: fit-content; max-width: calc(100% - 32px); margin: 0 auto; padding: 11px 18px; border-radius: 20px; background: var(--ink); color: var(--bg); font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow-2); text-align: center; text-wrap: balance; animation: toast-in 320ms cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
.toast.with-act { display: flex; align-items: center; gap: 12px; padding-right: 8px; text-align: left; }
.toast-act { border: 0; border-radius: 14px; padding: 6px 12px; background: color-mix(in srgb, var(--bg) 18%, transparent); color: inherit; font-size: 14px; font-weight: 750; cursor: pointer; white-space: nowrap; }
.ask { padding: 28px 24px 22px; text-align: center; }
.ask-art { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 18px; background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); }
.ask-art.calm { background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand); }
.ask-art .i { width: 26px; height: 26px; }
.ask h2 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.02em; text-wrap: balance; }
.ask > p { margin: 0 0 18px; color: var(--muted); text-wrap: pretty; }

/* the warning before a site */
.warn { text-align: left; }
.warn h2, .warn > p { text-align: center; }
.dest { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.d-fav { width: 40px; height: 40px; border-radius: 11px; }
.d-fav.mono span { font-size: 17px; }
.dest-t { min-width: 0; }
.dest-t strong { display: block; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr { margin: 3px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; word-break: break-all; }
.addr b { color: var(--ink); font-weight: 700; }
.addr .scheme { color: var(--faint); }
.insecure { margin: 0 0 10px; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: var(--danger); font-size: 13.5px; font-weight: 600; }
.warn .check { margin: 0 0 14px; font-size: 14px; color: var(--muted); }

/* one bookmark */
.detail-sheet { padding: 0; }
.detail { position: relative; }
.hero { --ratio: 1.9; position: relative; display: grid; place-items: center; aspect-ratio: var(--ratio); max-height: calc(62vh / var(--ca-zoom, 1)); overflow: hidden; border-radius: 30px 30px 0 0; background: radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--bm) 36%, var(--surface)), color-mix(in srgb, var(--bm) 62%, var(--surface-2))); }
.hero .shot { width: 100%; height: 100%; object-fit: cover; }
.hero.fixed { aspect-ratio: auto; height: var(--h); }
.hero.player.on { background: #000; }
.hero iframe { width: 100%; height: 100%; border: 0; display: block; }
.hero video { width: 100%; height: 100%; background: #000; }
.hero.audio { aspect-ratio: auto; padding: 40px 20px; }
.hero.audio audio { width: 100%; }
.play-it { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.45)); cursor: pointer; }
.play-it .play { width: 72px; height: 72px; transition: transform 240ms var(--spring); }
.play-it .play::after { left: 28px; top: 22px; border-width: 14px 0 14px 22px; }
.play-it:hover .play { transform: scale(1.08); }
.play-t { position: absolute; left: 0; right: 0; bottom: 34px; color: #fff; font-size: 14px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.play-note { position: absolute; left: 0; right: 0; bottom: 8px; margin: 0; padding: 0 16px; color: rgba(255, 255, 255, 0.86); font-size: 11.5px; text-align: center; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); pointer-events: none; }
.x.on-hero { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(8, 14, 20, 0.45); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.d-body { display: grid; gap: 12px; padding: 16px 22px 24px; }
.d-body .site { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 13.5px; font-weight: 650; }
.d-body h2 { margin: -4px 0 0; font-size: 23px; line-height: 1.25; letter-spacing: -0.025em; text-wrap: pretty; }
.d-body .desc { margin: -4px 0 0; color: var(--muted); line-height: 1.55; text-wrap: pretty; }
.d-body .note { margin: 0; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--star) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--star) 28%, var(--line)); white-space: pre-wrap; font-size: 14.5px; }
.state { margin: 0; color: var(--brand); font-size: 14px; font-weight: 650; }
.state.bad { color: var(--danger); }
.kept { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--brand); background: color-mix(in srgb, var(--brand) 11%, transparent); }
.kept svg { flex: none; width: 20px; height: 20px; }
.d-body > .addr { margin: -4px 2px 0; text-align: center; }
.acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.act { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: background 160ms ease, border-color 160ms ease; }
.act .i { color: var(--muted); }
.act:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line-2)); }
.act.on .i { color: var(--brand); }
.act.danger { color: var(--danger); }
.act.danger .i { color: var(--danger); }
.act span { text-align: center; line-height: 1.25; }
.facts, .meta-list { display: grid; gap: 0; margin: 0; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.kv { display: grid; grid-template-columns: minmax(96px, 34%) 1fr; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.kv:first-child { border-top: 0; }
.kv dt { color: var(--faint); font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.kv dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.meta summary { cursor: pointer; padding: 6px 2px; color: var(--brand); font-size: 14px; font-weight: 650; }
.meta[open] summary { margin-bottom: 8px; }
.meta-list .kv dt { font-size: 12px; font-weight: 500; }
.meta-list .kv dd { font-size: 13px; }
.shared { display: grid; gap: 6px; }
.shared h3 { margin: 6px 0 2px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }
.share-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--surface); font-size: 14.5px; }
.share-row small { color: var(--faint); }
.share-row .link-btn { margin: -6px -4px -6px 0; }

/* adding */
.url { position: relative; display: flex; align-items: center; }
.url input { min-height: 52px; padding: 13px 52px 13px 16px; border-radius: 16px; }
.paste { position: absolute; right: 7px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--muted); cursor: pointer; }
.paste:hover { color: var(--ink); background: var(--surface-2); }
.add-form { display: grid; gap: 12px; }
.pv { display: grid; gap: 14px; }
.pv-card { overflow: hidden; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pv-pic { position: relative; display: grid; place-items: center; aspect-ratio: 1200 / 630; overflow: hidden; background: radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--bm, #64748b) 36%, var(--surface)), color-mix(in srgb, var(--bm, #64748b) 62%, var(--surface-2))); }
.pv-pic .shot { width: 100%; height: 100%; object-fit: cover; }
.pv-pic .art { width: 64px; height: 64px; }
.pv-t { padding: 12px 16px 14px; }
.pv-t .site { display: flex; align-items: center; gap: 7px; margin: 0 0 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.pv-t h3 { margin: 0; font-size: 17px; line-height: 1.3; letter-spacing: -0.015em; }
.pv-t .desc { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pv-t .sub { margin: 8px 0 0; display: block; }
.pv.loading .pv-pic, .pv.loading .lines i { background: linear-gradient(100deg, var(--surface-2) 30%, color-mix(in srgb, var(--surface) 70%, var(--surface-2)) 50%, var(--surface-2) 70%); background-size: 220% 100%; animation: shine 1.3s linear infinite; }
.pv.loading .pv-pic { border-radius: 18px; }
.lines { display: grid; gap: 8px; }
.lines i { height: 12px; border-radius: 6px; }
.lines i:nth-child(1) { width: 40%; } .lines i:nth-child(2) { width: 86%; height: 18px; } .lines i:nth-child(3) { width: 70%; }
.cat-pick { display: flex; flex-wrap: wrap; gap: 8px; }

/* sharing, shared with you */
.friends { display: grid; gap: 6px; }
.friend { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; cursor: pointer; transition: border-color 160ms ease, background 160ms ease; }
.friend[aria-pressed="true"] { border-color: color-mix(in srgb, var(--brand) 55%, transparent); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); }
.f-pic { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none; overflow: hidden; border-radius: 50%; background: var(--surface-2); }
.f-init { font-weight: 750; color: var(--muted); }
.f-name { flex: 1; min-width: 0; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.friend small { color: var(--faint); font-size: 12px; }
.f-check { color: var(--brand); opacity: 0; transform: scale(0.6); transition: opacity 160ms ease, transform 260ms var(--spring); stroke-width: 2.4; }
.friend[aria-pressed="true"] .f-check { opacity: 1; transform: none; }
.inbox { gap: 18px; }
.in-item { display: grid; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.in-item:last-child { border-bottom: 0; padding-bottom: 0; }
.in-from { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.in-from .i { width: 18px; height: 18px; color: var(--brand); }
.in-msg { margin: 0; font-size: 15px; font-style: italic; color: var(--ink); }

/* a category of one's own */
.icon-pick { --cat: var(--brand); display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.icon-pick button { display: grid; place-items: center; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--muted); cursor: pointer; }
.icon-pick button[aria-pressed="true"] { color: var(--cat); border-color: color-mix(in srgb, var(--cat) 60%, transparent); background: color-mix(in srgb, var(--cat) 14%, var(--surface)); }
.color-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.color-pick button { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--sw); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); transition: transform 200ms var(--spring); }
.color-pick button[aria-pressed="true"] { transform: scale(1.12); box-shadow: 0 0 0 3px var(--sheet), 0 0 0 5px var(--sw); }
.words { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--field); }
.words input { flex: 1 1 140px; min-width: 120px; padding: 6px 6px; border: 0; background: none; box-shadow: none !important; }
.word { display: inline-flex; align-items: center; gap: 2px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.word button { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--faint); cursor: pointer; }
.word button .i { width: 13px; height: 13px; }

/* settings */
.set-row { display: flex; align-items: center; gap: 14px; padding: 6px 0; }
.set-row b { display: block; font-size: 15px; font-weight: 650; }
.set-row small { display: block; color: var(--muted); font-size: 13px; }
.set-row select { width: auto; min-width: 140px; padding-right: 34px; }
.set-row input[type="checkbox"] { flex: none; width: 46px; height: 28px; margin: 0; border-radius: 999px; background: var(--line-2); -webkit-appearance: none; appearance: none; position: relative; cursor: pointer; transition: background 200ms ease; }
.set-row input[type="checkbox"]::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, 0.3); transition: transform 240ms var(--spring); }
.set-row input[type="checkbox"]:checked { background: var(--brand); }
.set-row input[type="checkbox"]:checked::after { transform: translateX(18px); }
.cat-row { --cat: var(--brand); display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; cursor: pointer; }
.cat-row > .i:first-child { color: var(--cat); }
.cat-row small { color: var(--faint); font-size: 13px; font-weight: 650; }
.cat-row .chev { width: 16px; height: 16px; color: var(--faint); }
.builtins summary { cursor: pointer; padding: 8px 2px; color: var(--brand); font-size: 14px; font-weight: 650; }
.builtins[open] { display: grid; gap: 6px; }
.keys { display: grid; gap: 8px; }
.key-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.key-row b { display: block; font-size: 14.5px; }
.key-row small { color: var(--faint); font-size: 12.5px; }
.k-ic .i { color: var(--muted); }
.help p { margin: 0; line-height: 1.6; text-wrap: pretty; }

/* ---- small screens --------------------------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .tool-row { flex-wrap: wrap; }
  .search { flex: 1 1 100%; }
  .tool-set { flex: 1 1 100%; justify-content: space-between; }
  .tool-btn span:not(.tool-n) { display: none; }
  .tool-btn { padding: 0 13px; height: 42px; }
  .search input { height: 44px; }
  #sort-btn span { display: inline; }
}
@media (max-width: 640px) {
  .bar { padding-top: 10px; }
  .add-btn span { display: none; }
  .add-btn { width: 42px; padding: 0; justify-content: center; }
  .layer { place-items: end center; padding: 0; }
  .sheet, .sheet.wide { width: 100%; max-height: calc(calc(100dvh / var(--ca-zoom, 1)) - 28px); border-radius: 28px 28px 0 0; transform: translateY(40%); padding-bottom: env(safe-area-inset-bottom); }
  .hero { border-radius: 28px 28px 0 0; }
  html[data-list="icons"] .list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 4px; }
  html[data-list="icons"] .t-fav { width: 62px; height: 62px; border-radius: 15px; }
  html[data-list="icons"] .t-fav.mono span { font-size: 24px; }
  html[data-list="icons"] .pin-dot { left: calc(50% + 22px); }
  html[data-list="icons"] .hit b { font-size: 11.5px; }
  .pane-body, .d-body { padding-left: 18px; padding-right: 18px; }
  .sheet-head { padding-left: 18px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 360px) {
  html[data-list="icons"] .list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !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 ---- */
