/* Liquid preview. Additional layer over DSH; no DOM replacement or chat logic.
   Only html.skin-liquid activates it. Solid surfaces are the fallback. */
html.skin-dsh.skin-liquid {
  --ma-ink: #172c3c; --ma-text: #354c60; --ma-muted: #55697b;
  --ma-indigo: #3569bd; --ma-indigo-strong: #245399;
  --ma-indigo-soft: #e3ecf7; --ma-surface-2: #e3ecf7;
  --ma-line: rgba(59,87,115,.18); --ma-surface: #f4f7fc;
  --ma-sidebar: #e5ecf6; --ma-bg1: #e6edf6; --ma-bg2: #d7e1ef;
  --liquid-panel: #f1f5fa; --liquid-side: #e6edf6;
  --liquid-shadow: 0 14px 50px rgba(34,57,89,.10), inset 0 1px 0 rgba(255,255,255,.75);
  --liquid-glow: #b4cfed; --liquid-glow-2: #c9bfe6;
  --liquid-floor: #e7eef5; --liquid-radius: 26px; --liquid-blur:none;
}
html.skin-dsh.skin-liquid[data-theme="dark"] {
  --ma-ink: #edf2fc; --ma-text: #d0dbee; --ma-muted: #a9bbd0;
  --ma-indigo: #699bed; --ma-indigo-strong: #a8caff;
  --ma-indigo-soft: #2c425d; --ma-surface-2: #2c425d;
  --ma-line: rgba(196,220,255,.16); --ma-surface: #23344a;
  --ma-sidebar: #1b2b40; --ma-bg1: #14243b; --ma-bg2: #102035;
  --liquid-panel: #1c2b40; --liquid-side: #1c2b40;
  --liquid-shadow: 0 18px 60px rgba(0,8,22,.24), inset 0 1px 0 rgba(227,238,255,.10);
  --liquid-glow: #355785; --liquid-glow-2: #514267; --liquid-floor: #15273d;
}
html.skin-liquid[data-liquid-tone="sage"] { --liquid-glow:#afcbbd; --liquid-glow-2:#e1d9b9; --liquid-floor:#e4ece8; }
html.skin-liquid[data-liquid-tone="sage"][data-theme="dark"] { --liquid-glow:#33594e; --liquid-glow-2:#525341; --liquid-floor:#162c2b; }
html.skin-liquid[data-liquid-tone="rose"] { --liquid-glow:#d8bdd1; --liquid-glow-2:#edcfb9; --liquid-floor:#eee4ec; }
html.skin-liquid[data-liquid-tone="rose"][data-theme="dark"] { --liquid-glow:#60435d; --liquid-glow-2:#695045; --liquid-floor:#2a2437; }
html.skin-liquid[data-liquid-tone="silver"] { --liquid-glow:#d3dce5; --liquid-glow-2:#e6e1de; --liquid-floor:#f0f1f3; }
html.skin-liquid[data-liquid-tone="silver"][data-theme="dark"] { --liquid-glow:#384351; --liquid-glow-2:#514d53; --liquid-floor:#1d232c; }
html.skin-liquid[data-liquid-tone="peach"] { --liquid-glow:#f2c6af; --liquid-glow-2:#edc9d8; --liquid-floor:#f8eee6; }
html.skin-liquid[data-liquid-tone="peach"][data-theme="dark"] { --liquid-glow:#805344; --liquid-glow-2:#654558; --liquid-floor:#30252a; }
html.skin-liquid[data-liquid-tone="lavender"] { --liquid-glow:#c9b8eb; --liquid-glow-2:#bacdf0; --liquid-floor:#eee9f7; }
html.skin-liquid[data-liquid-tone="lavender"][data-theme="dark"] { --liquid-glow:#554276; --liquid-glow-2:#354e79; --liquid-floor:#25223b; }
html.skin-liquid[data-liquid-tone="graphite"] { --liquid-glow:#b1b9c4; --liquid-glow-2:#d0ccca; --liquid-floor:#e0e3e7; }
html.skin-liquid[data-liquid-tone="graphite"][data-theme="dark"] { --liquid-glow:#303945; --liquid-glow-2:#47464d; --liquid-floor:#171c24; }
html.skin-dsh.skin-liquid body { background: var(--liquid-floor); color: var(--ma-ink); }
html.skin-dsh.skin-liquid .ma-amb {
  display:block; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse at 12% 8%,var(--liquid-glow),transparent 62%),
    radial-gradient(ellipse at 92% 85%,var(--liquid-glow-2),transparent 62%),var(--liquid-floor) !important;
}
html.skin-liquid body { isolation:isolate; }
html.skin-dsh.skin-liquid .ma-desktop-sidebar,
html.skin-dsh.skin-liquid .ma-desktop-sidebar > .sticky {
  background:transparent !important; border:0; min-height:0;
}
html.skin-dsh.skin-liquid .ma-desktop-sidebar > .sticky {
  background:var(--liquid-side) !important; border:1px solid var(--ma-line);
  border-radius:20px; box-shadow:var(--liquid-shadow); overflow:hidden;
}
html.skin-dsh.skin-liquid .chat-wrap {
  background:var(--liquid-panel); border:1px solid var(--ma-line);
  border-radius:var(--liquid-radius); box-shadow:var(--liquid-shadow); overflow:hidden;
}
html.skin-dsh.skin-liquid #scroll.chat-scroll,
html.skin-dsh.skin-liquid .composer-wrap { background:transparent; }
html.skin-dsh.skin-liquid .composer {
  background:var(--ma-surface); border:1px solid var(--ma-line); border-radius:24px;
  box-shadow:0 4px 18px rgba(17,35,64,.08); min-height:58px;
}
/* The composer is one rounded focus target; do not outline its inner textarea. */
html.skin-dsh.skin-liquid .composer #input:focus-visible { outline:0; }
html.skin-dsh.skin-liquid .composer:focus-within {
  border-color:var(--ma-indigo);
  box-shadow:0 0 0 2px var(--ma-indigo-soft), 0 4px 18px rgba(17,35,64,.08);
}
html.skin-dsh.skin-liquid .composer-wrap { padding-bottom:22px; padding-top:12px; }
html.skin-dsh.skin-liquid .msg.user .body { border-radius:22px 22px 7px 22px; background:var(--ma-surface-2); }
html.skin-dsh.skin-liquid .tool-card,
html.skin-dsh.skin-liquid .approval-card,
html.skin-dsh.skin-liquid .ma-glass { border-radius:20px; background:var(--liquid-panel); border:1px solid var(--ma-line); }
/* DSH declares opaque cards and no blur with !important. Override only in Liquid. */
html.skin-dsh.skin-liquid .ma-glass { background:var(--liquid-panel) !important; box-shadow:var(--liquid-shadow); }
html.skin-dsh.skin-liquid .ma-glass-bar,
html.skin-dsh.skin-liquid #mobile-sidebar aside { background:var(--liquid-side) !important; }
html.skin-dsh.skin-liquid nav.st-tabs {
  background:var(--liquid-side); border:1px solid var(--ma-line);
  border-radius:20px; padding:10px; box-shadow:var(--liquid-shadow);
}
html.skin-dsh.skin-liquid #mobile-sidebar aside { border-right:1px solid var(--ma-line); }
html.skin-dsh.skin-liquid .ma-glass,
html.skin-dsh.skin-liquid .ma-glass-bar,
html.skin-dsh.skin-liquid nav.st-tabs,
html.skin-dsh.skin-liquid #mobile-sidebar aside,
html.skin-dsh.skin-liquid .chat-wrap,
html.skin-dsh.skin-liquid .ma-desktop-sidebar > .sticky {
  backdrop-filter:var(--liquid-blur) !important; -webkit-backdrop-filter:var(--liquid-blur) !important;
}
html.skin-dsh.skin-liquid .sb-thread-list .sb-thread,
html.skin-dsh.skin-liquid nav[aria-label="Основная навигация"] > a,
html.skin-dsh.skin-liquid nav[aria-label="Основная навигация"] > button { border-radius:12px; }
html.skin-dsh.skin-liquid .sb-thread-list .sb-thread.active { background:var(--ma-indigo-soft); color:var(--ma-ink); }
html.skin-dsh.skin-liquid .sb-search-box { background:var(--ma-surface); border-color:var(--ma-line); border-radius:12px; }
html.skin-dsh.skin-liquid [data-account-menu] { background:var(--ma-surface) !important; }
html.skin-dsh.skin-liquid body.hero-on .composer-wrap::before { display:none; }
html.skin-dsh.skin-liquid .chat-scroll::-webkit-scrollbar-track { background:transparent; }
html.skin-dsh.skin-liquid :is(button,a,input,textarea:not(#input),select):focus-visible { outline:2px solid var(--ma-indigo-strong); outline-offset:3px; }
@supports ((backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px))) {
  html.skin-dsh.skin-liquid { --liquid-blur:blur(22px); --liquid-panel:rgba(247,250,255,.83); --liquid-side:rgba(242,247,255,.75); }
  html.skin-dsh.skin-liquid[data-theme="dark"] { --liquid-panel:rgba(21,35,55,.87); --liquid-side:rgba(25,40,61,.80); }
}
@media (min-width:1024px) {
  html.skin-dsh.skin-liquid .ma-shell { padding:8px; gap:8px; }
  /* Resize handler sets inline relative; sticky also anchors its absolute handle. */
  html.skin-dsh.skin-liquid .ma-desktop-sidebar { position:sticky !important; top:8px; align-self:start; overflow:visible !important; height:calc(100dvh - 16px) !important; }
  html.skin-dsh.skin-liquid .ma-desktop-sidebar > .sticky { height:calc(100dvh - 16px); top:0; }
  html.skin-dsh.skin-liquid body:has(.chat-wrap) .ma-workspace { height:calc(100dvh - 16px); }
  html.skin-dsh.skin-liquid .ma-workspace { min-height:calc(100dvh - 16px); }
  html.skin-dsh.skin-liquid main:has(nav.st-tabs) { padding-top:0; }
  html.skin-dsh.skin-liquid nav.st-tabs { top:8px; }
  html.skin-dsh.skin-liquid .sb-resizer { right:-12px; width:16px; }
  html.skin-dsh.skin-liquid.sb-collapsed .ma-desktop-sidebar { position:fixed !important; top:8px; left:8px; bottom:8px; overflow:visible !important; }
  html.skin-dsh.skin-liquid.sb-collapsed .sb-hover-edge { width:16px; }
  html.skin-dsh.skin-liquid.sb-collapsed .ma-shell { gap:0; }
}
@media (max-width:1023px) {
  html.skin-dsh.skin-liquid { --liquid-radius:20px; }
  html.skin-dsh.skin-liquid body:has(.chat-wrap) main { padding:8px 8px 0; }
  html.skin-dsh.skin-liquid .ma-glass-bar { background:var(--liquid-side); }
  html.skin-dsh.skin-liquid .composer-wrap { padding:8px 10px max(12px,env(safe-area-inset-bottom)); }
  html.skin-dsh.skin-liquid #scroll.chat-scroll { padding-left:14px; padding-right:14px; }
}
@media (prefers-reduced-transparency:reduce) {
  html.skin-dsh.skin-liquid { --liquid-blur:none; --liquid-panel:#f1f5fa; --liquid-side:#e6edf6; }
  html.skin-dsh.skin-liquid[data-theme="dark"] { --liquid-panel:#1c2b40; --liquid-side:#1c2b40; }
}
@media (prefers-reduced-motion:reduce) {
  html.skin-dsh.skin-liquid *, html.skin-dsh.skin-liquid *::before { animation:none !important; transition:none !important; }
}

/* User choice may reduce transparency, never override an accessibility preference. */
html.skin-dsh.skin-liquid[data-liquid-glass="false"] { --liquid-blur:none; --liquid-panel:#f1f5fa; --liquid-side:#e6edf6; }
html.skin-dsh.skin-liquid[data-liquid-glass="false"][data-theme="dark"] { --liquid-panel:#1c2b40; --liquid-side:#1c2b40; }

/* Chat surface is independent of glass: sidebar and controls retain their panels. */
html.skin-dsh.skin-liquid[data-liquid-chat="transparent"] .chat-wrap {
  background:transparent; border-color:transparent; box-shadow:none;
  backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
}
html.skin-dsh.skin-liquid[data-liquid-chat="transparent"] .msg.assistant > .body {
  background:var(--ma-surface); border:1px solid var(--ma-line);
  border-radius:22px 22px 22px 7px; padding:18px 22px;
  min-width:0; box-shadow:0 3px 16px rgba(17,35,64,.06);
}
html.skin-dsh.skin-liquid[data-liquid-chat="transparent"] .msg.user > .body {
  border:1px solid var(--ma-line); box-shadow:0 3px 16px rgba(17,35,64,.06);
}
@media (max-width:639px) {
  html.skin-dsh.skin-liquid[data-liquid-chat="transparent"] .msg.assistant > .body { padding:14px 16px; }
}

/* Keep a visible fade above the composer and finish underneath it.
   Bottom padding keeps the final message clear when scrolled to the end. */
html.skin-dsh.skin-liquid body:not(.hero-on) #scroll.chat-scroll {
  margin-bottom:-28px; padding-bottom:30px;
  -webkit-mask-image:linear-gradient(to bottom, black 0, black calc(100% - 40px), transparent 100%);
  mask-image:linear-gradient(to bottom, black 0, black calc(100% - 40px), transparent 100%);
}

/* A self-contained vector sky: no video, external requests or frame-by-frame JS. */
html.skin-liquid[data-liquid-tone="aurora"] { --liquid-floor:#151d38; }
html.skin-dsh.skin-liquid[data-liquid-tone="aurora"] .ma-amb {
  overflow:hidden;
  background:radial-gradient(ellipse at 72% 108%,#aa807f55,transparent 53%),
    linear-gradient(180deg,#10172f 0%,#263c58 48%,#64657a 82%,#b3969b 120%) !important;
}
html.skin-dsh.skin-liquid[data-liquid-tone="aurora"] .ma-amb::before,
html.skin-dsh.skin-liquid[data-liquid-tone="aurora"] .ma-amb::after {
  content:""; position:absolute; pointer-events:none;
}
html.skin-dsh.skin-liquid[data-liquid-tone="aurora"] .ma-amb::before {
  inset:0; opacity:.48;
  background:radial-gradient(circle at 16% 22%,#d9e8ff99 0 .7px,transparent 1.4px),
    radial-gradient(circle at 76% 12%,#d9e8ff88 0 .6px,transparent 1.3px),
    radial-gradient(circle at 57% 31%,#d9e8ff77 0 .6px,transparent 1.3px),
    radial-gradient(circle at 38% 9%,#d9e8ff88 0 .6px,transparent 1.3px),
    linear-gradient(180deg,#050b20,#111c35 70%,#2a2945);
  animation:liquid-dusk 85s ease-in-out infinite alternate;
}
html.skin-dsh.skin-liquid[data-liquid-tone="aurora"] .ma-amb::after {
  inset:-12%; opacity:.8;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%201000%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22a%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220.18%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%237255c9%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.38%22%20stop-color%3D%22%236a62c3%22%20stop-opacity%3D%22.08%22%2F%3E%3Cstop%20offset%3D%22.75%22%20stop-color%3D%22%2330b69a%22%20stop-opacity%3D%22.38%22%2F%3E%3Cstop%20offset%3D%22.96%22%20stop-color%3D%22%239ef0b7%22%20stop-opacity%3D%22.65%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2357d8ac%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22b%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23749ddb%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.6%22%20stop-color%3D%22%2339bbaa%22%20stop-opacity%3D%22.1%22%2F%3E%3Cstop%20offset%3D%22.9%22%20stop-color%3D%22%2374e1c1%22%20stop-opacity%3D%22.42%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2396ebcc%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cfilter%20id%3D%22soft%22%20x%3D%22-20%25%22%20y%3D%22-40%25%22%20width%3D%22140%25%22%20height%3D%22180%25%22%3E%3CfeGaussianBlur%20stdDeviation%3D%2214%22%2F%3E%3C%2Ffilter%3E%3Cfilter%20id%3D%22fine%22%20x%3D%22-20%25%22%20y%3D%22-40%25%22%20width%3D%22140%25%22%20height%3D%22180%25%22%3E%3CfeGaussianBlur%20stdDeviation%3D%223%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cg%20filter%3D%22url%28%23soft%29%22%3E%3Cpath%20fill%3D%22url%28%23a%29%22%20d%3D%22M-100%2060%20C200%200%20390%20260%20660%2040%20S1070%20150%201720%20-80%20L1720%20330%20C1320%20600%201130%20285%20950%20415%20S570%20710%20330%20485%20S70%20620%20-100%20550Z%22%2F%3E%3Cpath%20fill%3D%22url%28%23b%29%22%20d%3D%22M-100%2040%20C190%20300%20510%20-140%20850%2050%20S1260%20260%201720%20100%20L1720%20510%20C1330%20340%201170%20530%20950%20350%20S480%20505%20240%20380%20S0%20510%20-100%20450Z%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M-80%20552%20C110%20610%20150%20340%20335%20484%20S600%20650%20805%20503%20S1040%20296%201210%20414%20S1480%20488%201720%20330%22%20fill%3D%22none%22%20stroke%3D%22%2391e7b7%22%20stroke-opacity%3D%22.28%22%20stroke-width%3D%227%22%20filter%3D%22url%28%23fine%29%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
  transform:translate(-2%,1%) rotate(-3deg) scale(1.06);
  animation:liquid-aurora 32s ease-in-out infinite alternate;
}
@keyframes liquid-dusk { from {opacity:.18} to {opacity:.84} }
@keyframes liquid-aurora {
  0% {transform:translate(-2%,1%) rotate(-3deg) scale(1.06);opacity:.65}
  50% {opacity:.95}
  100% {transform:translate(3%,-3%) rotate(3deg) scale(1.14);opacity:.78}
}

/* Bright live wallpapers share the motion preference with Aurora. */
html.skin-liquid[data-liquid-tone="clouds"] { --liquid-floor:#daeafa; }
html.skin-liquid[data-liquid-tone="lagoon"] { --liquid-floor:#b3e5df; }
html.skin-dsh.skin-liquid[data-liquid-tone="clouds"] .ma-amb {
  overflow:hidden;
  background:radial-gradient(ellipse at 85% 75%,#fff4dbb3,transparent 55%),
    linear-gradient(180deg,#85afd4 0%,#bdd8ee 44%,#e4e5ee 72%,#f4ceb9 100%) !important;
}
html.skin-dsh.skin-liquid:is([data-liquid-tone="clouds"],[data-liquid-tone="lagoon"]) .ma-amb::before,
html.skin-dsh.skin-liquid:is([data-liquid-tone="clouds"],[data-liquid-tone="lagoon"]) .ma-amb::after {
  content:""; position:absolute; inset:-14%; pointer-events:none;
}
html.skin-dsh.skin-liquid[data-liquid-tone="clouds"] .ma-amb::before {
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%201000%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22h%22%20x%3D%22-30%25%22%20y%3D%22-60%25%22%20width%3D%22160%25%22%20height%3D%22220%25%22%3E%3CfeGaussianBlur%20stdDeviation%3D%2225%22%2F%3E%3C%2Ffilter%3E%3ClinearGradient%20id%3D%22c%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%22.96%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f6eced%22%20stop-opacity%3D%22.18%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22url%28%23c%29%22%20filter%3D%22url%28%23h%29%22%3E%3Cpath%20d%3D%22M-140%20450%20Q-10%20330%20170%20400%20Q280%20260%20460%20350%20Q540%20260%20700%20345%20Q840%20410%201080%20410%20L1170%20540%20Q800%20610%20470%20525%20Q210%20590%20-140%20570Z%22%2F%3E%3Cpath%20d%3D%22M600%20170%20Q800%20230%20900%20170%20Q1030%2080%201170%20160%20Q1330%20110%201460%20230%20L1740%20240%20L1740%20350%20Q1420%20340%201230%20305%20Q970%20365%20760%20300Z%22%2F%3E%3Cpath%20d%3D%22M-150%20780%20Q150%20550%20350%20640%20Q500%20510%20700%20650%20Q900%20530%201060%20680%20Q1250%20560%201380%20730%20L1760%20800%20L1760%201080%20L-150%201080Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
  opacity:.9; transform:translate(-2%,0) scale(1.06);
  animation:liquid-clouds 65s ease-in-out infinite alternate;
}
html.skin-dsh.skin-liquid[data-liquid-tone="clouds"] .ma-amb::after {
  background:radial-gradient(ellipse at 80% 78%,#fff5dfb3,transparent 52%),
    radial-gradient(ellipse at 5% 68%,#ffffff80,transparent 42%);
  opacity:.55; animation:liquid-morning-light 48s ease-in-out infinite alternate;
}
html.skin-dsh.skin-liquid[data-liquid-tone="lagoon"] .ma-amb {
  overflow:hidden;
  background:radial-gradient(ellipse at 88% 94%,#f3e9c7 0%,transparent 62%),
    linear-gradient(150deg,#65b8c5,#8fd5d3 44%,#c5e8dc 75%,#e6eed5) !important;
}
html.skin-dsh.skin-liquid[data-liquid-tone="lagoon"] .ma-amb::before {
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%201000%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22w%22%20x%3D%22-10%25%22%20y%3D%22-10%25%22%20width%3D%22120%25%22%20height%3D%22120%25%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.005%20.008%22%20numOctaves%3D%222%22%20seed%3D%228%22%20result%3D%22noise%22%2F%3E%3CfeDisplacementMap%20in%3D%22SourceGraphic%22%20in2%3D%22noise%22%20scale%3D%2275%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%222.5%22%2F%3E%3C%2Ffilter%3E%3CradialGradient%20id%3D%22fade%22%3E%3Cstop%20stop-color%3D%22white%22%20stop-opacity%3D%22.7%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22white%22%20stop-opacity%3D%22.05%22%2F%3E%3C%2FradialGradient%3E%3Cmask%20id%3D%22m%22%3E%3Crect%20width%3D%221600%22%20height%3D%221000%22%20fill%3D%22url%28%23fade%29%22%2F%3E%3C%2Fmask%3E%3C%2Fdefs%3E%3Cg%20mask%3D%22url%28%23m%29%22%20filter%3D%22url%28%23w%29%22%20fill%3D%22none%22%20stroke%3D%22%23fbfff2%22%20stroke-width%3D%226%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M-80%20-100%20C-165%2055%2040%20180%20-70%20310%20S-180%20510%20-55%20645%20S20%20840%20-100%201100%22%2F%3E%3Cpath%20d%3D%22M80%20-100%20C-5%2055%20200%20180%2090%20310%20S-20%20510%20105%20645%20S180%20840%2060%201100%22%2F%3E%3Cpath%20d%3D%22M240%20-100%20C155%2055%20360%20180%20250%20310%20S140%20510%20265%20645%20S340%20840%20220%201100%22%2F%3E%3Cpath%20d%3D%22M400%20-100%20C315%2055%20520%20180%20410%20310%20S300%20510%20425%20645%20S500%20840%20380%201100%22%2F%3E%3Cpath%20d%3D%22M560%20-100%20C475%2055%20680%20180%20570%20310%20S460%20510%20585%20645%20S660%20840%20540%201100%22%2F%3E%3Cpath%20d%3D%22M720%20-100%20C635%2055%20840%20180%20730%20310%20S620%20510%20745%20645%20S820%20840%20700%201100%22%2F%3E%3Cpath%20d%3D%22M880%20-100%20C795%2055%201000%20180%20890%20310%20S780%20510%20905%20645%20S980%20840%20860%201100%22%2F%3E%3Cpath%20d%3D%22M1040%20-100%20C955%2055%201160%20180%201050%20310%20S940%20510%201065%20645%20S1140%20840%201020%201100%22%2F%3E%3Cpath%20d%3D%22M1200%20-100%20C1115%2055%201320%20180%201210%20310%20S1100%20510%201225%20645%20S1300%20840%201180%201100%22%2F%3E%3Cpath%20d%3D%22M1360%20-100%20C1275%2055%201480%20180%201370%20310%20S1260%20510%201385%20645%20S1460%20840%201340%201100%22%2F%3E%3Cpath%20d%3D%22M1520%20-100%20C1435%2055%201640%20180%201530%20310%20S1420%20510%201545%20645%20S1620%20840%201500%201100%22%2F%3E%3Cpath%20d%3D%22M1680%20-100%20C1595%2055%201800%20180%201690%20310%20S1580%20510%201705%20645%20S1780%20840%201660%201100%22%2F%3E%3Cpath%20d%3D%22M-100%20-100%20C110%20-170%20195%20-5%20390%20-90%20S665%20-190%20805%20-80%20S1060%20-30%201240%20-110%20S1475%20-190%201700%20-75%22%2F%3E%3Cpath%20d%3D%22M-100%2060%20C110%20-10%20195%20155%20390%2070%20S665%20-30%20805%2080%20S1060%20130%201240%2050%20S1475%20-30%201700%2085%22%2F%3E%3Cpath%20d%3D%22M-100%20220%20C110%20150%20195%20315%20390%20230%20S665%20130%20805%20240%20S1060%20290%201240%20210%20S1475%20130%201700%20245%22%2F%3E%3Cpath%20d%3D%22M-100%20380%20C110%20310%20195%20475%20390%20390%20S665%20290%20805%20400%20S1060%20450%201240%20370%20S1475%20290%201700%20405%22%2F%3E%3Cpath%20d%3D%22M-100%20540%20C110%20470%20195%20635%20390%20550%20S665%20450%20805%20560%20S1060%20610%201240%20530%20S1475%20450%201700%20565%22%2F%3E%3Cpath%20d%3D%22M-100%20700%20C110%20630%20195%20795%20390%20710%20S665%20610%20805%20720%20S1060%20770%201240%20690%20S1475%20610%201700%20725%22%2F%3E%3Cpath%20d%3D%22M-100%20860%20C110%20790%20195%20955%20390%20870%20S665%20770%20805%20880%20S1060%20930%201240%20850%20S1475%20770%201700%20885%22%2F%3E%3Cpath%20d%3D%22M-100%201020%20C110%20950%20195%201115%20390%201030%20S665%20930%20805%201040%20S1060%201090%201240%201010%20S1475%20930%201700%201045%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
  opacity:.48; transform:translate(-1%,1%) rotate(-5deg) scale(1.05);
  animation:liquid-water 38s ease-in-out infinite alternate;
}
html.skin-dsh.skin-liquid[data-liquid-tone="lagoon"] .ma-amb::after {
  background:radial-gradient(ellipse at 65% 20%,#fffdeaa6,transparent 48%),
    radial-gradient(ellipse at 30% 78%,#eaffee80,transparent 55%);
  opacity:.65; animation:liquid-morning-light 27s ease-in-out infinite alternate-reverse;
}
@keyframes liquid-clouds {
  from {transform:translate(-2%,0) scale(1.06)}
  to {transform:translate(4%,-2%) scale(1.13)}
}
@keyframes liquid-morning-light {
  from {transform:translate(-3%,2%);opacity:var(--liquid-light-low,.45)}
  to {transform:translate(3%,-2%);opacity:var(--liquid-light-high,.8)}
}
@keyframes liquid-water {
  from {transform:translate(-1%,1%) rotate(-5deg) scale(1.05);opacity:var(--liquid-water-low,.4)}
  to {transform:translate(3%,-2%) rotate(1deg) scale(1.12);opacity:var(--liquid-water-high,.62)}
}
/* A dark theme keeps the same scene without a bright canvas behind pale text. */
html.skin-dsh.skin-liquid:is([data-liquid-tone="clouds"],[data-liquid-tone="lagoon"])[data-theme="dark"] {
  --liquid-light-low:.08; --liquid-light-high:.18;
  --liquid-water-low:.16; --liquid-water-high:.3;
}
html.skin-dsh.skin-liquid[data-liquid-tone="clouds"][data-theme="dark"] { --liquid-floor:#192a42; }
html.skin-dsh.skin-liquid[data-liquid-tone="clouds"][data-theme="dark"] .ma-amb {
  background:radial-gradient(ellipse at 85% 85%,#77677b55,transparent 58%),
    linear-gradient(180deg,#101d34,#293b55 68%,#514558) !important;
}
html.skin-dsh.skin-liquid[data-liquid-tone="clouds"][data-theme="dark"] .ma-amb::before { opacity:.22; }
html.skin-dsh.skin-liquid[data-liquid-tone="clouds"][data-theme="dark"] .ma-amb::after { opacity:.12; }
html.skin-dsh.skin-liquid[data-liquid-tone="lagoon"][data-theme="dark"] { --liquid-floor:#15373f; }
html.skin-dsh.skin-liquid[data-liquid-tone="lagoon"][data-theme="dark"] .ma-amb {
  background:radial-gradient(ellipse at 88% 94%,#77755a55,transparent 62%),
    linear-gradient(150deg,#102b3b,#1c484d 55%,#344f4b) !important;
}
html.skin-dsh.skin-liquid[data-liquid-tone="lagoon"][data-theme="dark"] .ma-amb::before { opacity:.22; }
html.skin-dsh.skin-liquid[data-liquid-tone="lagoon"][data-theme="dark"] .ma-amb::after { opacity:.12; }
html.skin-dsh.skin-liquid[data-liquid-motion="false"] .ma-amb::before,
html.skin-dsh.skin-liquid[data-liquid-motion="false"] .ma-amb::after { animation:none; }
html.skin-dsh.skin-liquid[data-liquid-paused="true"] .ma-amb::before,
html.skin-dsh.skin-liquid[data-liquid-paused="true"] .ma-amb::after { animation-play-state:paused; }
@media(prefers-reduced-motion:reduce) {
  html.skin-dsh.skin-liquid .ma-amb::before,
  html.skin-dsh.skin-liquid .ma-amb::after { animation:none !important; }
}
