*,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  font-family: Inter, SF Pro Display, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
  text-rendering: optimizeLegibility;
}

.window-body,
.window-body *,
.dlg-message,
.notif .n-tx {
  user-select: text;
  -webkit-user-select: text;
}

.window-body button,
.window-body select,
.window-body option,
.window-body label,
.window-body .nav-btn,
.window-body .br-tabrow,
.window-body .br-tabnew,
.window-body .bh-link,
.window-body .bh-card,
.window-body .calc-key,
.window-body .clk-tab,
.window-body .ctx-item,
.window-body [data-act] {
  user-select: none;
  -webkit-user-select: none;
}

:root {
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

:root {
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s8: 32px;
  --r1: 8px;
  --r2: 12px;
  --r3: 16px;
  --r4: 22px;
  --r5: 28px;
  --brand-1: #FFD56B;
  --brand-2: #FF8A5B;
  --brand-3: #FF5E8A;
  --brand-4: #A95BFF;
  --brand-grad: linear-gradient(120deg, var(--brand-1), var(--brand-2) 40%, var(--brand-3) 70%, var(--brand-4));
  --accent: #0a84ff;
  --accent-ink: #ffffff;
  --accent-ink-soft: color-mix(in srgb, var(--accent-ink) 72%, transparent);
  --accent-seen: #a8ecff;
  --accent-text: var(--accent);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

html[data-theme=dark],
html[data-theme=mono] {
  --text: #f5f5f7;
  --text-2: rgba(235, 235, 245, .62);
  --text-3: rgba(235, 235, 245, .35);
  --glass: color-mix(in srgb, var(--accent) 8%, rgba(24, 24, 30, .7));
  --glass-2: color-mix(in srgb, var(--accent) 9%, rgba(13, 13, 18, .78));
  --glass-strong: color-mix(in srgb, var(--accent) 9%, rgba(16, 16, 22, .84));
  --win-solid: color-mix(in srgb, var(--accent) 8%, #15151b);
  --app-bg: color-mix(in srgb, var(--win-solid) 78%, transparent);
  --hairline: rgba(255, 255, 255, .1);
  --hairline-2: rgba(255, 255, 255, .06);
  --field: rgba(255, 255, 255, .07);
  --field-2: rgba(255, 255, 255, .12);
  --menubar-bg: rgba(0, 0, 0, .28);
  --menubar-text: rgba(255, 255, 255, .92);
  --shadow-win: 0 24px 70px rgba(0, 0, 0, .55), 0 8px 24px rgba(0, 0, 0, .4), 0 0 0 .5px rgba(0, 0, 0, .6);
  --shadow-pop: 0 18px 50px rgba(0, 0, 0, .5), 0 0 0 .5px rgba(255, 255, 255, .08);
  --hover: rgba(255, 255, 255, .08);
  color-scheme: dark;
}

html[data-theme=light] {
  --text: #1d1d1f;
  --text-2: rgba(60, 60, 67, .6);
  --text-3: rgba(60, 60, 67, .32);
  --glass: color-mix(in srgb, var(--accent) 7%, rgba(250, 250, 252, .78));
  --glass-2: color-mix(in srgb, var(--accent) 5%, rgba(255, 255, 255, .82));
  --glass-strong: color-mix(in srgb, var(--accent) 6%, rgba(255, 255, 255, .88));
  --win-solid: color-mix(in srgb, var(--accent) 5%, #f3f3f7);
  --app-bg: color-mix(in srgb, var(--win-solid) 84%, transparent);
  --hairline: rgba(0, 0, 0, .1);
  --hairline-2: rgba(0, 0, 0, .06);
  --field: rgba(0, 0, 0, .05);
  --field-2: rgba(0, 0, 0, .09);
  --menubar-bg: rgba(255, 255, 255, .45);
  --menubar-text: rgba(0, 0, 0, .85);
  --shadow-win: 0 24px 70px rgba(0, 0, 0, .28), 0 8px 24px rgba(0, 0, 0, .16), 0 0 0 .5px rgba(0, 0, 0, .12);
  --shadow-pop: 0 18px 50px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .08);
  --hover: rgba(0, 0, 0, .06);
  color-scheme: light;
}

html[data-theme=black] {
  --text: #f5f5f7;
  --text-2: rgba(235, 235, 245, .6);
  --text-3: rgba(235, 235, 245, .34);
  --glass: rgba(12, 12, 14, .8);
  --glass-2: rgba(18, 18, 20, .85);
  --glass-strong: rgba(0, 0, 0, .92);
  --win-solid: #000000;
  --hairline: rgba(255, 255, 255, .13);
  --hairline-2: rgba(255, 255, 255, .07);
  --field: rgba(255, 255, 255, .06);
  --field-2: rgba(255, 255, 255, .11);
  --menubar-bg: rgba(0, 0, 0, .5);
  --menubar-text: rgba(255, 255, 255, .92);
  --shadow-win: 0 24px 70px rgba(0, 0, 0, .72), 0 8px 24px rgba(0, 0, 0, .5), 0 0 0 .5px rgba(255, 255, 255, .08);
  --shadow-pop: 0 18px 50px rgba(0, 0, 0, .65), 0 0 0 .5px rgba(255, 255, 255, .08);
  --hover: rgba(255, 255, 255, .07);
  color-scheme: dark;
}

html[data-theme=mono] {
  filter: grayscale(1);
}

body {
  background: #000;
  color: var(--text);
}

@supports (height: 100dvh) {
  html, body {
    height: 100dvh;
  }
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

input {
  font: inherit;
}

.hidden,
[hidden] {
  display: none!important;
}

::selection {
  background: #0a84ff59;
}

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--text) 20%, transparent) transparent;
  }
  *:hover {
    scrollbar-color: color-mix(in srgb, var(--accent) 75%, transparent) transparent;
  }
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: transparent;
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--text) 20%, transparent);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

:hover::-webkit-scrollbar-thumb {
  background-color: color-mix(in srgb, var(--text) 32%, transparent);
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
  background-color: color-mix(in srgb, var(--accent) 80%, transparent);
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation-duration: .001ms!important;
    transition-duration: .001ms!important;
  }
}

#desktop {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#wallpaper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.wp-layer {
  position: absolute;
  inset: -10%;
}

.wp-mesh {
  transition: background-image .45s ease, opacity .45s ease;
  background-image: var(--wp-bg);
  background-blend-mode: var(--wp-blend, screen);
}

[data-wp=dawn] {
  --wp-tint: #b65a6b;
  --wp-bg: radial-gradient(40% 50% at 18% 22%, #ffd9a0 0%, transparent 60%), radial-gradient(45% 55% at 82% 18%, #ff9aa8 0%, transparent 60%), radial-gradient(60% 60% at 50% 92%, #ffc187 0%, transparent 65%), radial-gradient(70% 70% at 75% 75%, #c98bd6 0%, transparent 70%), linear-gradient(160deg, #2a1a44, #5a2c5e 45%, #b65a6b 75%, #ffb27a);
}

[data-wp=day] {
  --wp-tint: #2f5bc0;
  --wp-bg: radial-gradient(40% 50% at 15% 20%, #9fd8ff 0%, transparent 60%), radial-gradient(45% 55% at 85% 15%, #7aa8ff 0%, transparent 60%), radial-gradient(60% 65% at 50% 95%, #8fe3ff 0%, transparent 65%), radial-gradient(70% 70% at 78% 70%, #6f7bff 0%, transparent 70%), linear-gradient(160deg, #16235e, #2b4ba0 45%, #4f86d6 80%, #8fd0f5);
}

[data-wp=dusk] {
  --wp-tint: #a23a63;
  --wp-bg: radial-gradient(42% 52% at 20% 24%, #ffb36b 0%, transparent 60%), radial-gradient(46% 56% at 84% 16%, #ff6f9c 0%, transparent 60%), radial-gradient(60% 60% at 48% 94%, #ff7e5f 0%, transparent 65%), radial-gradient(72% 72% at 76% 72%, #7b4dff 0%, transparent 70%), linear-gradient(160deg, #170d33, #4a1d57 42%, #a23a63 72%, #ff8a5b);
}

[data-wp=night] {
  --wp-tint: #3b2a80;
  --wp-bg: radial-gradient(2% 3% at 22% 18%, #fff 0%, transparent 100%), radial-gradient(1.6% 2.4% at 68% 12%, #fff 0%, transparent 100%), radial-gradient(1.4% 2% at 84% 30%, #dfe6ff 0%, transparent 100%), radial-gradient(1.8% 2.6% at 42% 26%, #fff 0%, transparent 100%), radial-gradient(40% 50% at 16% 20%, #3a4f8a 0%, transparent 60%), radial-gradient(72% 72% at 74% 70%, #6a3aa0 0%, transparent 72%), linear-gradient(160deg, #05040f, #0e0a26 45%, #1b1240 78%, #2a1b54);
}

[data-wp=aurora] {
  --wp-tint: #13907a;
  --wp-bg: repeating-linear-gradient(103deg, rgba(52, 224, 160, 0) 0%, rgba(52, 224, 160, .36) 4%, rgba(52, 224, 160, 0) 9%, rgba(74, 155, 255, 0) 12%, rgba(90, 170, 255, .3) 16%, rgba(74, 155, 255, 0) 22%, rgba(140, 255, 214, 0) 26%, rgba(140, 255, 214, .22) 30%, rgba(140, 255, 214, 0) 36%), radial-gradient(95% 60% at 50% -12%, rgba(46, 255, 168, .45), transparent 72%), linear-gradient(170deg, #04122a, #0a2f4d 55%, #0f5f5a);
}

[data-wp=ocean] {
  --wp-tint: #0b74a0;
  --wp-blend: normal;
  --wp-bg: radial-gradient(150% 20% at 50% 112%, #3dffd6 0 52%, rgba(0, 0, 0, 0) 62%), radial-gradient(150% 19% at 50% 96%, #12b0c8 0 52%, rgba(0, 0, 0, 0) 62%), radial-gradient(150% 18% at 50% 81%, #0b6f9a 0 52%, rgba(0, 0, 0, 0) 62%), radial-gradient(150% 17% at 50% 67%, #084a7e 0 52%, rgba(0, 0, 0, 0) 62%), radial-gradient(150% 16% at 50% 54%, #063463 0 52%, rgba(0, 0, 0, 0) 62%), linear-gradient(180deg, #010b1e, #03203f 70%, #052a4e);
}

[data-wp=sunset] {
  --wp-tint: #c0374b;
  --wp-blend: normal;
  --wp-bg: radial-gradient(9% 15% at 50% 60%, #ffeeb0 0%, #ffb14d 60%, rgba(255, 140, 70, 0) 72%), linear-gradient(180deg, #241033 0%, #6a1f4e 30%, #c0374b 50%, #ff7a45 62%, #ffb96b 70%, #8a2f55 71%, #4a1540 86%, #2a0e2e 100%);
}

[data-wp=grape] {
  --wp-tint: #6a2ec0;
  --wp-blend: normal;
  --wp-bg: radial-gradient(70% 70% at 50% 50%, rgba(10, 4, 26, .55), transparent 75%), conic-gradient(from 210deg at 35% 25%, #c86bff, #7b4dff 30%, #3a168a 55%, #6a2ec0 78%, #c86bff);
}

[data-wp=ember] {
  --wp-tint: #b0301d;
  --wp-bg: conic-gradient(from 168deg at 50% 118%, rgba(255, 175, 70, .5) 0deg 5deg, rgba(0, 0, 0, 0) 5deg 13deg, rgba(255, 95, 45, .45) 13deg 18deg, rgba(0, 0, 0, 0) 18deg 27deg, rgba(255, 175, 70, .45) 27deg 32deg, rgba(0, 0, 0, 0) 32deg 41deg, rgba(255, 95, 45, .4) 41deg 46deg, rgba(0, 0, 0, 0) 46deg 90deg), radial-gradient(65% 45% at 50% 112%, #ff8a2f, transparent 72%), linear-gradient(170deg, #160507, #4a0f12 58%, #8a1f18);
}

[data-wp=mint] {
  --wp-tint: #149a90;
  --wp-bg: repeating-radial-gradient(circle at 32% 72%, rgba(150, 255, 214, .16) 0 .35%, rgba(0, 0, 0, 0) .35% 3.4%), radial-gradient(75% 70% at 32% 72%, rgba(26, 175, 158, .5), transparent 72%), linear-gradient(160deg, #04201f, #0e5a55 60%, #149a90);
}

[data-wp=sakura] {
  --wp-tint: #a8378c;
  --wp-blend: normal;
  --wp-bg: radial-gradient(circle, #fff0f8 0 7%, rgba(0, 0, 0, 0) 8%), radial-gradient(circle, rgba(255, 170, 214, .8) 0 5.5%, rgba(0, 0, 0, 0) 6.5%), radial-gradient(70% 55% at 74% 16%, rgba(255, 214, 238, .55), rgba(0, 0, 0, 0) 70%), linear-gradient(165deg, #3d1244, #9c3583 50%, #ff9ecb);
  --wp-size: 5% 8%, 5% 8%, auto, auto;
  --wp-pos: 0 0, 2.5% 4%, 0 0, 0 0;
}

[data-wp=halo] {
  --wp-tint: #3d2ca8;
  --wp-bg: radial-gradient(circle at 50% 44%, rgba(0, 0, 0, 0) 0 20%, rgba(140, 150, 255, .34) 20.6% 23%, rgba(0, 0, 0, 0) 23.6% 100%), radial-gradient(circle at 50% 44%, rgba(0, 0, 0, 0) 0 31%, rgba(120, 200, 255, .22) 31.5% 33%, rgba(0, 0, 0, 0) 33.5% 100%), radial-gradient(55% 55% at 50% 44%, rgba(96, 66, 224, .5), transparent 70%), linear-gradient(160deg, #08061c, #180f3e 58%, #2a1b6a);
}

[data-wp=dunes] {
  --wp-tint: #9a5638;
  --wp-blend: normal;
  --wp-bg: radial-gradient(130% 26% at 45% 122%, #f6c07a 0 60%, rgba(0, 0, 0, 0) 61%), radial-gradient(120% 24% at 18% 112%, #c9834f 0 60%, rgba(0, 0, 0, 0) 61%), radial-gradient(130% 22% at 82% 104%, #8e5138 0 60%, rgba(0, 0, 0, 0) 61%), radial-gradient(9% 14% at 74% 26%, #ffe6b0 0 55%, rgba(255, 200, 120, 0) 70%), linear-gradient(180deg, #22122a, #4d2338 50%, #8d4a3c);
}

[data-wp=prism] {
  --wp-tint: #7c5cff;
  --wp-blend: normal;
  --wp-bg: radial-gradient(70% 70% at 50% 50%, rgba(10, 8, 24, .5), transparent 72%), conic-gradient(from 0deg at 50% 50%, #ff6b9d, #ffcf6b 18%, #7dffb8 38%, #6bd5ff 58%, #a56bff 78%, #ff6b9d);
}

[data-wp=carbon] {
  --wp-tint: #2a313d;
  --wp-blend: normal;
  --wp-bg: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 .5%, rgba(0, 0, 0, 0) .5% 2.2%), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .04) 0 .5%, rgba(0, 0, 0, 0) .5% 2.2%), linear-gradient(160deg, #101318, #1a1f27 55%, #262d38);
}

[data-wp=noir] {
  --wp-tint: #2a2a32;
  --wp-blend: normal;
  --wp-bg: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 .35%, rgba(0, 0, 0, 0) .35% 2.6%), radial-gradient(60% 60% at 30% 20%, rgba(60, 60, 74, .7), transparent 66%), linear-gradient(160deg, #050507, #16161c 60%, #26262e);
}

[data-wp=mono] {
  --wp-tint: #202026;
  --wp-blend: normal;
  --wp-bg: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(160deg, #0c0c10, #141418 60%, #1c1c22);
  --wp-size: 4% 7%, 4% 7%, auto;
}

[data-wp=custom] {
  --wp-blend: normal;
  --wp-bg: var(--wp-custom, linear-gradient(#14141a, #14141a));
}

body {
  --wp-tint: var(--accent);
}

html[data-theme=dark] body,
html[data-theme=mono] body {
  --glass: color-mix(in srgb, var(--wp-tint) 14%, rgba(20, 20, 26, .7));
  --glass-2: color-mix(in srgb, var(--wp-tint) 14%, rgba(10, 10, 14, .8));
  --glass-strong: color-mix(in srgb, var(--wp-tint) 14%, rgba(14, 14, 20, .84));
  --win-solid: color-mix(in srgb, var(--wp-tint) 20%, #0e0e13);
  --app-bg: color-mix(in srgb, var(--win-solid) 78%, transparent);
}

html[data-theme=light] body {
  --glass: color-mix(in srgb, var(--wp-tint) 8%, rgba(250, 250, 252, .78));
  --glass-2: color-mix(in srgb, var(--wp-tint) 7%, rgba(255, 255, 255, .82));
  --glass-strong: color-mix(in srgb, var(--wp-tint) 7%, rgba(255, 255, 255, .88));
  --win-solid: color-mix(in srgb, var(--wp-tint) 8%, #f3f3f7);
  --app-bg: color-mix(in srgb, var(--win-solid) 84%, transparent);
}

html[data-theme=black] body {
  --glass: color-mix(in srgb, var(--wp-tint) 8%, rgba(8, 8, 10, .86));
  --glass-2: color-mix(in srgb, var(--wp-tint) 6%, rgba(4, 4, 6, .9));
  --glass-strong: color-mix(in srgb, var(--wp-tint) 8%, rgba(4, 4, 6, .94));
  --win-solid: color-mix(in srgb, var(--wp-tint) 9%, #070709);
  --app-bg: color-mix(in srgb, var(--win-solid) 90%, transparent);
}

html[data-tone=vivid] body {
  --glass: color-mix(in srgb, var(--wp-tint) 28%, rgba(18, 18, 24, .66));
  --glass-2: color-mix(in srgb, var(--wp-tint) 30%, rgba(8, 8, 12, .78));
  --glass-strong: color-mix(in srgb, var(--wp-tint) 28%, rgba(12, 12, 18, .8));
  --win-solid: color-mix(in srgb, var(--wp-tint) 34%, #121218);
  --app-bg: color-mix(in srgb, var(--win-solid) 74%, transparent);
}

html[data-tone=dim] body {
  --text: #e9eaee;
  --text-2: rgba(233, 234, 238, .62);
  --text-3: rgba(233, 234, 238, .38);
  --glass: color-mix(in srgb, var(--wp-tint) 10%, rgba(40, 43, 50, .78));
  --glass-2: color-mix(in srgb, var(--wp-tint) 10%, rgba(30, 33, 40, .86));
  --glass-strong: color-mix(in srgb, var(--wp-tint) 10%, rgba(34, 37, 44, .9));
  --win-solid: color-mix(in srgb, var(--wp-tint) 12%, #262930);
  --app-bg: color-mix(in srgb, var(--win-solid) 86%, transparent);
}

html[data-tone=frost] body {
  --glass: color-mix(in srgb, var(--wp-tint) 14%, rgba(250, 250, 252, .74));
  --glass-2: color-mix(in srgb, var(--wp-tint) 12%, rgba(236, 236, 241, .84));
  --glass-strong: color-mix(in srgb, var(--wp-tint) 12%, rgba(255, 255, 255, .84));
  --win-solid: color-mix(in srgb, var(--wp-tint) 14%, #f6f6f9);
  --app-bg: color-mix(in srgb, var(--win-solid) 82%, transparent);
}

html[data-tone=sepia] body {
  --text: #3b2f1e;
  --text-2: rgba(59, 47, 30, .66);
  --text-3: rgba(59, 47, 30, .42);
  --field: rgba(90, 60, 20, .07);
  --field-2: rgba(90, 60, 20, .12);
  --hover: rgba(90, 60, 20, .08);
  --hairline: rgba(90, 60, 20, .18);
  --hairline-2: rgba(90, 60, 20, .11);
  --glass: rgba(244, 236, 216, .92);
  --glass-2: #ece3cc;
  --glass-strong: rgba(246, 239, 222, .96);
  --win-solid: #f4ecd8;
  --app-bg: #f4ecd8;
}

.wp-options,
.th-wps,
.cc-wp-swatches {
  --wp-blend: screen;
}

.wp-mesh,
.wp-opt,
.th-wp,
.cc-wp-swatches .sw {
  background-size: var(--wp-size, auto);
  background-position: var(--wp-pos, 0 0);
}

body[data-wp=custom] .wp-mesh {
  background-size: cover;
  background-position: center;
}

.wp-grain {
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .05), transparent 50%), radial-gradient(140% 120% at 50% 100%, rgba(0, 0, 0, .35), transparent 60%);
}

.wp-fluid {
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .92;
}

html[data-theme=light] .wp-fluid {
  mix-blend-mode: soft-light;
  opacity: .72;
}

body[data-wp=mono] .wp-fluid,
body[data-wp=noir] .wp-fluid {
  opacity: .7;
}

@media(prefers-reduced-motion:reduce) {
  .wp-fluid {
    opacity: .62;
  }
}

#menubar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 8px;
  background: var(--menubar-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  z-index: 5000;
  font-size: 13px;
  color: var(--menubar-text);
  border-bottom: .5px solid var(--hairline-2);
}

.mb-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mb-left .mb-logo+.mb-brand {
  margin-left: -8px;
}

.mb-right {
  display: flex;
  align-items: center;
  gap: 11px;
}

.mb-div {
  width: 1px;
  height: 14px;
  background: var(--hairline);
  opacity: .7;
}

body.hide-dock #dock,
body[data-dockhide="1"] #dock {
  opacity: 0;
  transform: translate(var(--dock-x), 120%);
  pointer-events: none;
}

body[data-dockhide="1"].dock-peek #dock,
body[data-dockhide="1"] #dock:hover {
  opacity: 1;
  transform: translate(var(--dock-x));
  pointer-events: auto;
}

body[data-dock=left] #dock {
  --dock-x: 0px;
  left: 14px;
  right: auto;
}

body[data-dock=right] #dock {
  --dock-x: 0px;
  left: auto;
  right: 14px;
}

.mb-logo {
  display: flex;
  align-items: center;
  padding: 2px 4px;
  border-radius: 6px;
}

.mb-logo img {
  width: 16px;
  height: 16px;
  display: block;
}

.mb-logo:hover {
  background: var(--hover);
}

.mb-brand {
  font-weight: 700;
  letter-spacing: -.01em;
}

.mb-app {
  font-weight: 400;
  opacity: .7;
}

.mb-app:before {
  content: "\2014";
  opacity: .4;
  margin-right: 8px;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 7px #34c759cc;
}

.mb-weather {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--menubar-text);
  font-variant-numeric: tabular-nums;
}

.mb-weather span:first-child {
  font-size: 13px;
}

.mb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 22px;
  border-radius: 7px;
  color: var(--menubar-text);
  transition: background .14s var(--ease-out), transform .1s var(--ease-out);
}

.mb-icon:hover {
  background: var(--hover);
}

.mb-icon:active {
  transform: scale(.88);
  background: var(--field-2);
}

.mb-icon svg {
  width: 16px;
  height: 16px;
}

.mb-status {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--menubar-text);
}

.mb-battery-pct {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  opacity: .9;
}

.mb-clock {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.mb-clock #clock-time {
  font-weight: 500;
}

#icon-grid {
  position: absolute;
  inset: 36px 0 88px;
  z-index: 1;
}

.desktop-icon {
  position: absolute;
  width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 6px 6px;
  border-radius: 12px;
  cursor: default;
  outline: none;
  transition: background .12s ease, transform .12s var(--ease-out);
}

.desktop-icon.dragging {
  transition: none;
  z-index: 50;
  transform: scale(1.06);
  cursor: grabbing;
}

.desktop-icon:hover .app-tile {
  transform: translateY(-2px);
}

.app-tile {
  border-radius: 23%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 10px 20px #0000004d, 0 2px 5px #00000038, inset 0 1px .5px #ffffff73, inset 0 -2px 6px #0000002e;
  transition: transform .14s var(--ease-out);
}

.app-tile:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 55%;
  background: linear-gradient(180deg, #ffffff47, #fff0);
  pointer-events: none;
}

.app-tile svg {
  width: 56%;
  height: 56%;
  position: relative;
  z-index: 1;
  display: block;
}

.desktop-icon .app-tile {
  width: 60px;
  height: 60px;
}

.dock-app .app-tile {
  width: 100%;
  height: 100%;
  border-radius: 24%;
}

.store-card .app-tile {
  width: 46px;
  height: 46px;
}

.tile-sm {
  width: 30px;
  height: 30px;
  border-radius: 26%;
}

.tile-sm svg {
  width: 60%;
  height: 60%;
}

.tile-folder {
  width: 64px;
  height: 64px;
}

.app-tile.is-folder {
  background: #767a8a57;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.app-tile.is-folder:after {
  display: none;
}

.ft-grid {
  position: absolute;
  inset: 15%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 11%;
}

.ft-mini {
  border-radius: 26%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px #00000040;
}

.ft-mini svg {
  width: 66%;
  height: 66%;
  display: block;
}

.desktop-icon:focus-visible {
  box-shadow: 0 0 0 2px var(--accent);
}

.desktop-icon.selected {
  background: #7896ff38;
}

.icon-label {
  font-size: 11.5px;
  text-align: center;
  line-height: 1.25;
  max-width: 84px;
  word-break: break-word;
  color: #fff;
  padding: 0 4px;
  border-radius: 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .85);
}

.desktop-icon.selected .icon-label {
  background: var(--accent);
  text-shadow: none;
  color: var(--accent-ink);
}

.folder {
  height: 100%;
  overflow: auto;
  padding: 30px 24px;
  display: flex;
}

.folder-grid {
  margin: auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, 96px);
  gap: 24px 10px;
  justify-content: center;
  align-content: start;
}

.folder-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 4px;
  border-radius: 16px;
  transition: background .15s var(--ease-out), transform .12s var(--ease-out);
}

.folder-item:hover {
  background: var(--hover);
}

.folder-item:hover .app-tile {
  transform: translateY(-2px);
}

.folder-item:active {
  transform: scale(.95);
}

.folder-label {
  font-size: 12.5px;
  color: var(--text);
  text-align: center;
  line-height: 1.25;
  max-width: 88px;
  word-break: break-word;
}

#dock {
  --dock-x: -50%;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translate(var(--dock-x));
  z-index: 5300;
  transition: opacity .28s var(--ease-out), transform .28s var(--ease-out);
}

.dock-inner {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding: 8px 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), var(--glass));
  border: .5px solid rgba(255, 255, 255, .18);
  border-radius: 26px;
  backdrop-filter: blur(20px) saturate(200%) brightness(1.06);
  -webkit-backdrop-filter: blur(20px) saturate(200%) brightness(1.06);
  box-shadow: 0 20px 60px #0009, 0 4px 14px #00000059, inset 0 1px #fff6, inset 0 -1px #00000040;
}

.dock-app {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  cursor: default;
  transition: transform .16s var(--ease-out);
  transform-origin: bottom center;
}

.dock-app img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45));
  -webkit-user-drag: none;
  pointer-events: none;
}

.dock-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  z-index: 3;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--glass-2), 0 2px 5px #0006;
}

.dock-app .dock-tip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%) translateY(4px) scale(.92);
  background: var(--glass-strong);
  color: var(--text);
  border: .5px solid var(--hairline);
  padding: 5px 11px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s var(--ease-out);
  box-shadow: var(--shadow-pop);
}

.dock-app .dock-tip:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%);
  border: 5px solid transparent;
  border-top-color: var(--glass-strong);
}

.dock-app:hover .dock-tip {
  opacity: 1;
  transform: translate(-50%) translateY(0) scale(1);
}

.dock-app.running:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translate(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text);
  opacity: .55;
}

.dock-sep {
  width: 1px;
  align-self: stretch;
  margin: 8px 3px;
  background: var(--hairline);
}

#windows-layer {
  position: absolute;
  inset: 0;
  z-index: 5100;
  pointer-events: none;
}

.window {
  position: absolute;
  min-width: 380px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  background: var(--glass-strong);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: .5px solid var(--hairline);
  border-radius: var(--r2);
  box-shadow: var(--shadow-win);
  overflow: hidden;
  pointer-events: auto;
  transform-origin: center;
}

.window.active {
  background: var(--glass-strong);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.window.opening {
  animation: win-open .15s var(--ease-out);
}

@keyframes win-open {
  0% {
    transform: scale(.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.window.closing {
  animation: win-close .11s var(--ease-out) forwards;
}

@keyframes win-close {
  to {
    transform: scale(.9);
    opacity: 0;
  }
}

.window.minimizing {
  animation: win-min .2s var(--ease-out) forwards;
}

@keyframes win-min {
  to {
    transform: translateY(120vh) scale(.2);
    opacity: 0;
  }
}

.window.maximized {
  inset: 28px 0 0!important;
  width: auto!important;
  height: auto!important;
  border-radius: 0;
  transition: inset .18s var(--ease-out);
}

@media(min-width:721px)and (min-height:481px) {
  body.win-zoomed #dock {
    opacity: 0;
    transform: translate(var(--dock-x), 120%);
    pointer-events: none;
  }
  body.win-zoomed.dock-peek #dock, body.win-zoomed #dock:hover {
    opacity: 1;
    transform: translate(var(--dock-x));
    pointer-events: auto;
  }
}

.window:not(.active) {
  box-shadow: 0 18px 50px #0006, 0 0 0 .5px #0006;
}

.window:fullscreen {
  border-radius: 0;
  background: var(--win-solid);
  --app-bg: var(--win-solid);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.window:fullscreen .titlebar,
.window:fullscreen .rz {
  display: none!important;
}

.window:fullscreen .window-body {
  height: 100%;
  background: var(--win-solid);
}

.window:fullscreen::backdrop {
  background: var(--win-solid);
}

.titlebar {
  position: relative;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  cursor: grab;
  background: #0000006b;
  box-shadow: inset 0 -.5px #ffffff17;
}

html[data-theme=light] .titlebar {
  background: #00000014;
  box-shadow: inset 0 -.5px #0000001f;
}

.titlebar:active {
  cursor: grabbing;
}

.tb-back {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 19px;
  line-height: 1;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tb-back[hidden] {
  display: none;
}

.tb-back:hover {
  background: var(--hover);
  color: var(--text);
}

.tb-controls {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 9px;
  align-items: center;
}

.tbc {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  background: none;
  display: block;
}

.tbc svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tbc-dot {
  stroke: #00000038;
  stroke-width: .5;
}

.tbc-close .tbc-dot {
  fill: #ff5f57;
}

.tbc-min .tbc-dot {
  fill: #febc2e;
}

.tbc-max .tbc-dot {
  fill: #28c840;
}

.tbc:active svg {
  filter: brightness(.85);
}

.tbc-g {
  opacity: 0;
  transition: opacity .08s;
}

.tb-controls:hover .tbc-g {
  opacity: 1;
}

.window:not(.active) .tbc-dot {
  fill: var(--field-2);
  stroke: var(--hairline);
}

.window:not(.active) .tb-controls:hover .tbc-close .tbc-dot {
  fill: #ff5f57;
  stroke: #00000038;
}

.window:not(.active) .tb-controls:hover .tbc-min .tbc-dot {
  fill: #febc2e;
  stroke: #00000038;
}

.window:not(.active) .tb-controls:hover .tbc-max .tbc-dot {
  fill: #28c840;
  stroke: #00000038;
}

.tb-title {
  position: absolute;
  left: 84px;
  right: 84px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  opacity: .88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  letter-spacing: -.01em;
  transition: opacity .15s;
}

.window:not(.active) .tb-title {
  opacity: .42;
}

.window-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  position: relative;
  container: app / inline-size;
}

.rz {
  position: absolute;
  z-index: 6;
}

.rz-n {
  top: -3px;
  left: 8px;
  right: 8px;
  height: 7px;
  cursor: ns-resize;
}

.rz-s {
  bottom: -3px;
  left: 8px;
  right: 8px;
  height: 7px;
  cursor: ns-resize;
}

.rz-e {
  right: -3px;
  top: 8px;
  bottom: 8px;
  width: 7px;
  cursor: ew-resize;
}

.rz-w {
  left: -3px;
  top: 8px;
  bottom: 8px;
  width: 7px;
  cursor: ew-resize;
}

.rz-ne {
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  cursor: nesw-resize;
}

.rz-nw {
  top: -4px;
  left: -4px;
  width: 14px;
  height: 14px;
  cursor: nwse-resize;
}

.rz-se {
  bottom: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  cursor: nwse-resize;
}

.rz-sw {
  bottom: -4px;
  left: -4px;
  width: 14px;
  height: 14px;
  cursor: nesw-resize;
}

.btn,
.input,
.select {
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  padding: 7px 12px;
  border-radius: var(--r1);
  font-size: 13px;
  outline: none;
  transition: background .12s, border-color .12s;
}

.input:focus,
.select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #0a84ff40;
}

.btn {
  background: var(--accent);
  border-color: transparent;
  color: var(--accent-ink);
  font-weight: 500;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn:active {
  filter: brightness(.94);
}

.btn.secondary {
  background: var(--field);
  color: var(--text);
}

.btn.secondary:hover {
  background: var(--field-2);
}

.select,
select {
  color: var(--text);
}

.select option,
select option,
.qslyaph option {
  background: #1f1f24;
  color: #fff;
}

html[data-theme=light] .select option,
html[data-theme=light] select option,
html[data-theme=light] .qslyaph option {
  background: #fff;
  color: #1d1d1f;
}

.app-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--glass-strong);
  color: var(--text-2);
  transition: opacity .4s ease;
}

.app-loading.gone {
  opacity: 0;
  pointer-events: none;
}

.app-loading .spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--field-2);
  border-top-color: var(--accent);
  animation: spin .7s linear infinite;
}

.app-loading-tx {
  font-size: 13px;
}

.br-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.br-chrome>* {
  pointer-events: auto;
}

.br-stage {
  flex: 1;
  position: relative;
  min-height: 0;
}

.browser-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  width: min(560px, calc(100% - 28px));
  margin-top: 10px;
  padding: 6px 8px;
  background: color-mix(in srgb, var(--win-solid) 92%, transparent);
  border: .5px solid var(--hairline-2);
  border-radius: 999px;
  box-shadow: 0 10px 30px #00000057, 0 2px 8px #00000038;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  transition: transform .22s var(--ease-out), opacity .16s ease;
}

.br-chrome {
  transition: transform .22s var(--ease-out);
}

.br-chrome.collapsed {
  transform: translateY(-57px);
}

.br-chrome.collapsed .browser-bar {
  opacity: 0;
  pointer-events: none;
}

.br-brand {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  transition: background .14s;
}

.br-brand:hover {
  background: var(--hover);
}

.br-brand-fav {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.br-tabtoggle {
  margin-top: -1px;
  width: 44px;
  height: 19px;
  border-radius: 0 0 11px 11px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1px;
  color: var(--text-2);
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  border-top: 0;
  box-shadow: 0 8px 18px #00000040;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: color .14s;
}

.br-tabtoggle:hover {
  color: var(--text);
}

.br-tabtoggle svg {
  width: 15px;
  height: 15px;
  transition: transform .18s var(--ease-out);
}

.br-chrome.collapsed .br-tabtoggle svg {
  transform: rotate(180deg);
}

.br-tabpanel {
  position: absolute;
  top: calc(100% + 6px);
  left: max(14px, calc(50% - 280px));
  width: 234px;
  padding: 6px;
  background: var(--win-solid);
  border: .5px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  animation: pop-in .14s var(--ease-out);
}

.br-tabpanel[hidden] {
  display: none;
}

.br-tabrow {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 8px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: background .12s, color .12s;
}

.br-tabrow:hover {
  background: var(--hover);
  color: var(--text);
}

.br-tabrow.active {
  background: var(--field);
  color: var(--text);
  box-shadow: inset 2px 0 0 var(--accent);
}

.br-tabrow .fav {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex: 0 0 16px;
}

.br-tabrow .tab-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.br-tabrow .x {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  opacity: 0;
}

.br-tabrow:hover .x,
.br-tabrow.active .x {
  opacity: 1;
}

.br-tabrow .x svg {
  width: 13px;
  height: 13px;
}

.br-tabrow .x:hover {
  background: var(--field-2);
  color: var(--text);
}

.br-tabnew {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 8px;
  margin-top: 3px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.br-tabnew:hover {
  background: var(--hover);
  color: var(--text);
}

.br-tabnew svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.br-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 4px;
  z-index: 40;
  width: 216px;
  padding: 6px;
  background: var(--win-solid);
  border: .5px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  animation: pop-in .14s var(--ease-out);
}

.br-menu[hidden] {
  display: none;
}

.br-zoom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
}

.br-zoom-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1;
  color: var(--text-2);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.br-zoom-btn:hover {
  background: var(--hover);
  color: var(--text);
}

.br-zoom-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.br-menu-sep {
  height: .5px;
  background: var(--hairline-2);
  margin: 5px 2px;
}

.br-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 8px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--text-2);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.br-menu-item:hover {
  background: var(--hover);
  color: var(--text);
}

.br-menu-item svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.br-hist {
  max-height: 190px;
  overflow-y: auto;
  margin: 2px 0 4px;
}

.br-hist[hidden] {
  display: none;
}

.br-hist-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 8px 0 26px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text-2);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.br-hist-item:hover {
  background: var(--hover);
  color: var(--text);
}

.br-hist-item img {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex: 0 0 14px;
}

.br-hist-item span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.br-hist-empty {
  padding: 6px 8px 8px 26px;
  font-size: 12.5px;
  color: var(--text-3);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

.nav-btn svg {
  width: 19px;
  height: 19px;
  display: block;
}

.nav-btn:hover {
  background: var(--hover);
  color: var(--text);
}

.nav-btn:active {
  transform: scale(.92);
}

.url-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  margin: 0 4px;
  background: #00000042;
  border: .5px solid rgba(0, 0, 0, .35);
  border-radius: 999px;
  padding: 0 14px;
  transition: border-color .14s var(--ease-out), background .14s var(--ease-out);
}

html[data-theme=light] .url-wrap {
  background: #0000000e;
  border-color: #00000017;
}

.url-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.url-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-left: -4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--text-3);
  cursor: pointer;
  transition: background .12s, color .12s;
}

.url-lock:hover {
  background: var(--hover);
  color: var(--text-2);
}

.url-lock[data-state=insecure],
.url-lock[data-state=error] {
  color: #ff9f0a;
}

.url-lock svg {
  width: 15px;
  height: 15px;
}

.br-siteinfo {
  position: absolute;
  top: calc(100% + 9px);
  left: -8px;
  z-index: 60;
  width: 280px;
  padding: 12px;
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  animation: pop-in .14s var(--ease-out);
  cursor: default;
}

.br-siteinfo[hidden] {
  display: none;
}

.br-si-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.br-si-head svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.br-si-secure svg {
  color: #30d158;
}

.br-si-insecure svg,
.br-si-unknown svg,
.br-si-error svg {
  color: #ff9f0a;
}

.br-si-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-2);
}

.br-si-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  font-size: 12px;
  color: var(--text-3);
}

.br-si-row b {
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.br-si-act {
  width: 100%;
  margin-top: 12px;
  padding: 8px;
  border: .5px solid var(--hairline);
  border-radius: 9px;
  background: var(--field);
  color: var(--text);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.br-si-act:hover {
  background: var(--field-2);
}

.browser-bar .url {
  flex: 1;
  min-width: 0;
  width: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 8px 0;
  font-size: 13px;
  outline: none;
}

.browser-bar .url::placeholder {
  color: var(--text-3);
}

.url-wrap,
.bh-search {
  position: relative;
}

.sugg {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 100;
  padding: 5px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  border-radius: 12px;
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.sugg.hidden {
  display: none;
}

.sugg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
}

.sugg-item svg {
  width: 15px;
  height: 15px;
  opacity: .45;
  flex: 0 0 auto;
}

.sugg-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sugg-item.sel,
.sugg-item:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.sugg-item.sel svg,
.sugg-item:hover svg {
  opacity: .9;
}

.engine-seg {
  display: inline-flex;
  background: var(--field);
  border: .5px solid var(--hairline);
  border-radius: 9px;
  padding: 2px;
  gap: 2px;
}

.engine-seg button {
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .02em;
}

.engine-seg button:hover {
  color: var(--text);
}

.engine-seg button.active {
  background: var(--accent);
  color: var(--accent-ink);
}

.browser-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  display: block;
}

.browser-home {
  position: relative;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  font-family: Outfit, Inter, system-ui, sans-serif;
  --bh-fg: var(--text);
  --bh-sub: var(--text-2);
  --bh-line: var(--hairline);
  --bh-line-h: color-mix(in srgb, var(--accent) 50%, var(--hairline));
  --bh-tile: transparent;
  --bh-tile-h: var(--hover);
  --bh-search: var(--field);
  background-image: var(--wp-bg);
  background-size: var(--wp-size, auto);
  background-position: var(--wp-pos, 0 0);
  background-blend-mode: var(--wp-blend, screen);
}

body[data-wp=custom] .browser-home {
  background-size: cover;
  background-position: center;
}

html[data-theme=light] .browser-home {
  --bh-search: rgba(255, 255, 255, .66);
  --bh-line: rgba(0, 0, 0, .1);
  --bh-sub: rgba(0, 0, 0, .55);
}

.bh-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%), #0000006b;
}

html[data-theme=light] .bh-scrim {
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), linear-gradient(180deg, #ffffff57, #ffffff29);
}

.bh-stars {
  position: absolute;
  inset: 0;
  --bh-star: color-mix(in srgb, var(--text) 55%, transparent);
  --bh-star-2: color-mix(in srgb, var(--accent) 65%, transparent);
  background-image: radial-gradient(1.4px 1.4px at 12% 22%, var(--bh-star), transparent), radial-gradient(1px 1px at 28% 64%, var(--bh-star), transparent), radial-gradient(1.6px 1.6px at 48% 18%, var(--bh-star-2), transparent), radial-gradient(1px 1px at 67% 48%, var(--bh-star), transparent), radial-gradient(1.4px 1.4px at 82% 28%, var(--bh-star), transparent), radial-gradient(1.6px 1.6px at 90% 70%, var(--bh-star-2), transparent), radial-gradient(1px 1px at 38% 84%, var(--bh-star), transparent), radial-gradient(1px 1px at 72% 88%, var(--bh-star), transparent), radial-gradient(1.2px 1.2px at 20% 46%, var(--bh-star), transparent), radial-gradient(1.2px 1.2px at 58% 76%, var(--bh-star), transparent);
  animation: bh-tw 5s ease-in-out infinite;
}

html[data-theme=light] .bh-stars {
  display: none;
}

@keyframes bh-tw {
  0%, to {
    opacity: .55;
  }
  50% {
    opacity: .95;
  }
}

.bh-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translate(-50%);
  width: 520px;
  height: 260px;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%);
  filter: blur(26px);
  pointer-events: none;
}

.bh-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(560px, 90%);
  padding: 16px;
}

.bh-title {
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(48px, 11vw, 82px);
  font-weight: 900;
  letter-spacing: -.037em;
  line-height: .95;
  margin: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 68%, var(--text)), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 34px color-mix(in srgb, var(--accent) 42%, transparent));
}

html[data-theme=light] .bh-title {
  background: linear-gradient(180deg, var(--text), color-mix(in srgb, var(--text) 78%, var(--accent)));
  -webkit-background-clip: text;
  background-clip: text;
  filter: none;
}

.bh-wi {
  position: relative;
}

.bh-berry {
  position: absolute;
  left: 50%;
  top: -.3em;
  transform: translate(-50%);
  width: .6em;
  height: .64em;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .4));
}

.bh-tagline {
  margin-top: 10px;
  font-size: 15px;
  color: var(--bh-fg);
  opacity: .9;
  font-weight: 500;
}

.bh-search {
  width: 100%;
  max-width: 542px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 0 8px;
  height: 50px;
  background: var(--bh-search);
  border: 1px solid var(--bh-line);
  border-radius: 999px;
  color: var(--bh-sub);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: border-color .15s, box-shadow .15s;
}

.bh-add {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--bh-sub);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .14s, color .14s;
}

.bh-add:hover {
  background: var(--hover);
  color: var(--bh-fg);
}

.bh-add svg {
  width: 18px;
  height: 18px;
}

.bh-search-ico {
  flex: 0 0 auto;
  opacity: .8;
}

.bh-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.bh-search svg {
  color: var(--bh-sub);
  flex: 0 0 auto;
}

.bh-search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--bh-fg);
  font-size: 15px;
  font-family: inherit;
}

.bh-search input::placeholder {
  color: var(--bh-sub);
}

.bh-cards {
  margin-top: 20px;
  width: 100%;
  max-width: 542px;
  padding-left: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 7px;
}

.bh-link {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .92;
  transition: opacity .14s;
}

.bh-link:hover {
  opacity: 1;
}

.bh-link img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .45));
}

html[data-theme=light] .bh-link img {
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .3));
}

.br-settings {
  position: absolute;
  top: calc(100% + 10px);
  right: 4px;
  z-index: 40;
  width: 216px;
  padding: 6px;
  background: var(--win-solid);
  border: .5px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  animation: pop-in .14s var(--ease-out);
}

.br-settings[hidden] {
  display: none;
}

.br-set-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 8px 7px;
}

.br-set-lab {
  display: block;
  font-size: 12px;
  color: var(--text-2);
  margin: 8px 8px 4px;
}

.br-set-selwrap {
  position: relative;
  padding: 0 4px;
}

.br-set-selwrap:after {
  content: "";
  position: absolute;
  right: 15px;
  top: 40%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg);
  pointer-events: none;
}

.br-set-select {
  width: 100%;
  height: 32px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--field);
  border: 0;
  color: var(--text);
  border-radius: 8px;
  padding: 0 28px 0 9px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

.br-set-select:hover {
  background: var(--field-2);
}

.br-set-select:focus {
  box-shadow: 0 0 0 1.5px var(--accent);
}

.br-set-select option {
  background: var(--win-solid);
  color: var(--text);
}

.br-set-input {
  width: calc(100% - 8px);
  height: 32px;
  margin: 0 4px;
  background: var(--field);
  border: 0;
  color: var(--text);
  border-radius: 8px;
  padding: 0 9px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.br-set-input:focus {
  box-shadow: 0 0 0 1.5px var(--accent);
}

.br-set-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  margin: 4px 0 2px;
  padding: 0 8px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
}

.br-set-toggle:hover {
  background: var(--hover);
  color: var(--text);
}

.br-set-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.br-set-action {
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  margin-top: 1px;
  background: none;
  border: 0;
  color: var(--text-2);
  border-radius: 9px;
  font-size: 13px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .12s, color .12s;
}

.br-set-action:hover {
  background: var(--hover);
  color: var(--text);
}

.br-set-action:active {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--text);
}

.iframe-host {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  display: block;
}

.app-skeleton {
  position: absolute;
  inset: 0;
  padding: 0;
  background: var(--glass-strong);
  overflow: hidden;
}

.sk-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-bottom: .5px solid var(--hairline-2);
}

.sk-chip,
.sk-line,
.sk-card {
  background: linear-gradient(90deg, var(--field) 25%, var(--field-2) 37%, var(--field) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.sk-chip {
  width: 90px;
  height: 22px;
  border-radius: 6px;
}

.sk-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.sk-card {
  height: 110px;
}

.app-skeleton .sk-foot {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sk-foot .sk-spin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--field-2);
  border-top-color: var(--text-2);
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.settings-grid {
  display: grid;
  grid-template-columns: 216px 1fr;
  height: 100%;
}

.settings-side {
  background: var(--glass-2);
  padding: 12px 10px;
  border-right: .5px solid var(--hairline-2);
  overflow: auto;
}

.settings-side-title {
  font-size: 17px;
  font-weight: 700;
  padding: 6px 10px 14px;
  letter-spacing: -.02em;
}

.settings-side .item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text);
  cursor: default;
  margin-bottom: 3px;
  transition: background .12s ease;
}

.settings-side .item:hover {
  background: var(--hover);
}

.settings-side .item.active {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 4px 14px -6px var(--accent);
}

.settings-side .item.active .si-badge {
  box-shadow: 0 0 0 2px #ffffff59;
}

.ck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.ck-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 8px;
  cursor: pointer;
  border-radius: 12px;
  background: var(--field);
  border: 1.5px solid transparent;
  color: var(--text);
}

.ck-card:hover {
  background: var(--hover);
}

.ck-card.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.ck-card img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.ck-card span {
  font-size: 11.5px;
  text-align: center;
  line-height: 1.25;
}

.ck-custom,
.ck-panic {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ck-custom[hidden],
.ck-panic[hidden] {
  display: none;
}

.ck-custom input,
.ck-panic input {
  flex: 1 1 190px;
  min-width: 0;
  font: inherit;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--hairline-2);
  background: var(--field);
  color: var(--text);
}

.ck-custom input:focus,
.ck-panic input:focus {
  outline: none;
  border-color: var(--accent);
}

.ck-panic .btn {
  flex: 0 0 auto;
  min-width: 92px;
}

.ck-panic .btn.listening {
  border-color: var(--accent);
  color: var(--accent-text);
}

.si-badge {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex: 0 0 24px;
  box-shadow: inset 0 1px #ffffff40;
}

.si-badge svg {
  width: 15px;
  height: 15px;
  display: block;
}

.set-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 11px;
}

.set-accents {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.settings-main {
  padding: 26px 28px 34px;
  overflow: auto;
}

.settings-main h3 {
  margin: 0 0 18px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.set-card {
  background: var(--field);
  border: .5px solid var(--hairline-2);
  border-radius: 14px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.set-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
}

.set-row+.set-row {
  border-top: .5px solid var(--hairline-2);
}

.set-row-tx {
  min-width: 0;
  font-size: 13.5px;
}

.set-block {
  padding: 14px 0;
}

.set-block+.set-block {
  border-top: .5px solid var(--hairline-2);
}

.set-themes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.set-theme {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.set-theme-sw {
  display: block;
  width: 112px;
  height: 72px;
  border-radius: 11px;
  box-shadow: inset 0 0 0 .5px var(--hairline), 0 3px 10px -4px #00000080;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color .12s ease, transform .12s ease;
}

.set-theme:hover .set-theme-sw {
  transform: translateY(-2px);
}

.set-theme.active .set-theme-sw {
  outline-color: var(--accent);
}

.set-theme-name {
  font-size: 12.5px;
  color: var(--text-2);
  text-align: center;
}

.set-theme.active .set-theme-name {
  color: var(--text);
  font-weight: 600;
}

.switch.bare span:not(.knob) {
  display: none;
}

.wp-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 14px;
}

.wp-cell {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.wp-opt {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 11px;
  overflow: hidden;
  background-image: var(--wp-bg);
  background-blend-mode: var(--wp-blend, screen);
  box-shadow: inset 0 0 0 .5px var(--hairline), 0 3px 10px -4px #00000080;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color .12s ease, transform .12s ease;
}

.wp-cell:hover .wp-opt {
  transform: translateY(-2px);
}

.wp-cell.active .wp-opt {
  outline-color: var(--accent);
}

.wp-name {
  font-size: 12px;
  color: var(--text-2);
}

.wp-cell.active .wp-name {
  color: var(--text);
  font-weight: 600;
}

.wp-opt-upload {
  display: grid;
  place-items: center;
  background-image: none;
  background: var(--field);
  border: 2px dashed var(--hairline-2);
  color: var(--text-3);
  font-size: 26px;
  font-weight: 300;
}

.wp-cell-upload:hover .wp-opt-upload {
  border-color: var(--accent);
  color: var(--accent-text);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
}

.switch input {
  display: none;
}

.switch .knob {
  width: 38px;
  height: 22px;
  background: var(--field-2);
  border-radius: 12px;
  position: relative;
  transition: background .18s;
}

.switch .knob:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s var(--ease-out);
  box-shadow: 0 1px 3px #0000004d;
}

.switch input:checked+.knob {
  background: #34c759;
}

.switch input:checked+.knob:after {
  transform: translate(16px);
}

.fm {
  display: grid;
  grid-template-columns: 194px 1fr;
  height: 100%;
  min-height: 0;
}

.fm-side {
  background: var(--glass-2);
  padding: 14px 10px;
  border-right: .5px solid var(--hairline-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
}

.fm-side-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 8px 9px;
}

.fm-side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--text);
  background: none;
  cursor: pointer;
  text-align: left;
  transition: background .12s ease;
}

.fm-side-ic {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--text-2);
}

.fm-side-ic svg {
  width: 18px;
  height: 18px;
  display: block;
}

.fm-side-item:hover {
  background: var(--hover);
}

.fm-side-item.active {
  background: var(--accent);
  color: var(--accent-ink);
}

.fm-side-item.active .fm-side-ic {
  color: #fff;
}

.fm-usage {
  margin-top: auto;
  padding: 11px 10px 3px;
  border-top: .5px solid var(--hairline-2);
}

.fm-usage-n {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.fm-usage-s {
  font-size: 11.5px;
  color: var(--text-3);
}

.fm-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

.fm-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: .5px solid var(--hairline-2);
  background: var(--glass-2);
  min-width: 0;
}

.fm-icbtn {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  color: var(--text-2);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.fm-icbtn svg {
  width: 16px;
  height: 16px;
}

.fm-icbtn:hover {
  background: var(--hover);
  color: var(--text);
}

.fm-crumbs {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.fm-crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text);
  font-size: 13px;
}

.fm-crumb:hover {
  background: var(--hover);
}

.fm-crumb-ic {
  width: 14px;
  height: 14px;
}

.fm-crumb-ic svg {
  width: 14px;
  height: 14px;
  display: block;
}

.fm-sep {
  color: var(--text-3);
  flex: 0 0 auto;
}

.fm-search {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 1 190px;
  min-width: 90px;
  padding: 0 10px;
  height: 30px;
  border-radius: 9px;
  background: var(--field);
  border: 1px solid transparent;
  transition: border-color .12s ease;
}

.fm-search:focus-within {
  border-color: var(--accent);
}

.fm-search>span {
  width: 14px;
  height: 14px;
  color: var(--text-3);
  flex: 0 0 14px;
}

.fm-search svg {
  width: 14px;
  height: 14px;
  display: block;
}

.fm-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.fm-seg {
  display: inline-flex;
  background: var(--field);
  border-radius: 9px;
  padding: 2px;
  flex: 0 0 auto;
}

.fm-seg button {
  width: 30px;
  height: 26px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--text-2);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.fm-seg button svg {
  width: 15px;
  height: 15px;
}

.fm-seg button.active {
  background: var(--glass-strong);
  color: var(--text);
  box-shadow: 0 1px 3px #0003;
}

.fm-new {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
}

.fm-new svg {
  width: 16px;
  height: 16px;
}

.fm-new:hover {
  filter: brightness(1.08);
}

.fm-cols {
  display: grid;
  grid-template-columns: 30px 1fr 110px 130px;
  gap: 12px;
  padding: 7px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: .5px solid var(--hairline-2);
}

.fm-cols[hidden] {
  display: none;
}

.fm-cols span:first-child {
  grid-column: 2;
}

.fm-cols span:nth-child(2),
.fm-cols span:nth-child(3) {
  text-align: right;
}

.fm-list {
  flex: 1;
  overflow: auto;
  padding: 14px;
  min-height: 0;
}

.fm-list.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 6px;
  align-content: start;
}

.fm-list.list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 8px;
}

.fm-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 13px 6px;
  border-radius: 12px;
  cursor: default;
  outline: 1.5px solid transparent;
  transition: background .12s ease;
}

.fm-item:hover {
  background: var(--hover);
}

.fm-item.sel {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  outline-color: var(--accent);
}

.fm-item:focus-visible {
  outline-color: var(--accent);
}

.fm-tile {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 3px 9px -3px #00000080, inset 0 1px #ffffff38;
}

.fm-tile svg {
  width: 27px;
  height: 27px;
  display: block;
}

.fm-tile.lg {
  width: 62px;
  height: 62px;
  border-radius: 16px;
}

.fm-tile.lg svg {
  width: 36px;
  height: 36px;
}

.fm-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-name {
  font-size: 12px;
  text-align: center;
  word-break: break-word;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.fm-size,
.fm-when {
  display: none;
}

.fm-list.list .fm-item {
  display: grid;
  grid-template-columns: 30px 1fr 110px 130px;
  align-items: center;
  gap: 12px;
  padding: 7px 10px;
  border-radius: 9px;
}

.fm-list.list .fm-tile {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  box-shadow: none;
}

.fm-list.list .fm-tile svg {
  width: 18px;
  height: 18px;
}

.fm-list.list .fm-name {
  text-align: left;
  -webkit-line-clamp: 1;
  font-size: 13px;
}

.fm-list.list .fm-size,
.fm-list.list .fm-when {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fm-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 56px 20px;
  color: var(--text-3);
  font-size: 13.5px;
  opacity: .85;
}

.fm-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 14px;
  font-size: 11.5px;
  color: var(--text-3);
  border-top: .5px solid var(--hairline-2);
  background: var(--glass-2);
}

.fm-status span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fm-ctx button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  padding: 7px 12px;
  border-radius: 7px;
}

.fm-ctx button:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.fm-ctx button.fm-ctx-danger {
  color: #ff453a;
}

.fm-ctx button.fm-ctx-danger:hover {
  background: #ff453a;
  color: #fff;
}

@container app (max-width: 560px) {
  .fm {
    grid-template-columns: 1fr;
  }
  .fm-side {
    display: none;
  }
  .fm-search {
    flex-basis: 120px;
  }
  .fm-list.list .fm-item {
    grid-template-columns: 30px 1fr 92px;
  }
  .fm-list.list .fm-when {
    display: none;
  }
  .fm-cols {
    grid-template-columns: 30px 1fr 92px;
  }
  .fm-cols span:nth-child(3) {
    display: none;
  }
}

.fm-empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--text-2);
  font-size: 14px;
  padding: 50px 20px;
}

.fm-empty span {
  font-size: 12px;
  color: var(--text-3);
}

.fm-status {
  padding: 6px 14px;
  font-size: 11.5px;
  color: var(--text-3);
  border-top: .5px solid var(--hairline-2);
  background: var(--glass-2);
}

.fm-ctx {
  position: fixed;
}

.editor-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.editor-toolbar {
  padding: 8px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: var(--glass-2);
  border-bottom: .5px solid var(--hairline-2);
}

.editor-toolbar>* {
  flex: 0 0 auto;
  min-width: 0;
}

@container app (max-width: 700px) {
  .editor-toolbar>.psep {
    display: none;
  }
}

.editor {
  flex: 1;
  background: transparent;
  color: var(--text);
  border: 0;
  font-family: SF Mono, ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  padding: 14px;
  resize: none;
  outline: none;
  width: 100%;
  line-height: 1.5;
}

.editor-output {
  height: 32%;
  background: #00000040;
  color: var(--text);
  font-family: SF Mono, ui-monospace, monospace;
  font-size: 12px;
  padding: 10px 12px;
  overflow: auto;
  border-top: .5px solid var(--hairline-2);
  white-space: pre-wrap;
}

.wa {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  --wa-recv: color-mix(in srgb, #fff 8%, var(--win-solid));
  --wa-online: #30d158;
}

html[data-theme=light] .wa {
  --wa-recv: #ffffff;
}

.wa-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex: 0 0 42px;
  overflow: hidden;
  font-weight: 600;
}

.wa-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wa-av svg {
  width: 56%;
  height: 56%;
}

.wa-av.sm {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  font-size: 15px;
}

.wa-av.lg {
  width: 88px;
  height: 88px;
  flex-basis: 88px;
  font-size: 40px;
}

.wa-av-global {
  background: linear-gradient(150deg, #2aa9ff, #6a5cff);
}

.wa-avw {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.wa-st {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--wa-online);
  border: 2.5px solid var(--glass-2);
}

.wa-side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: .5px solid var(--hairline-2);
  background: var(--glass-2);
}

.wa-side-head {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 50px;
  padding: 0 8px 0 12px;
  position: relative;
}

.wa-me-btn {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  margin-right: 6px;
  flex: 0 0 auto;
}

.wa-me-btn:hover .wa-av {
  filter: brightness(1.1);
}

.wa-av.xsm {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  font-size: 13px;
}

.wa-me-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wa-online);
  box-shadow: 0 0 0 2px var(--glass-2);
}

.wa-me-dot.away {
  background: #f5b83d;
}

.wa-me-dot.dnd {
  background: #ff453a;
}

.wa-me-dot.dnd:after,
.wa-st.dnd:after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: #fffffff2;
}

.wa-st.dnd {
  background: #ff453a;
}

.wa-peer-tx span.dnd {
  color: #ff6b62;
}

.wa-me-dot.off {
  background: var(--glass-2);
  box-shadow: inset 0 0 0 2px var(--text-3), 0 0 0 2px var(--glass-2);
}

.wa-side-title {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.wa-hbtn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--text-2);
  flex: 0 0 auto;
}

.wa-hbtn svg {
  width: 17px;
  height: 17px;
}

.wa-hbtn:hover {
  background: var(--hover);
  color: var(--text);
}

.wa-hsearch {
  display: none;
  flex: 1;
  min-width: 0;
  position: relative;
}

.wa-hsearch .wa-search-ico {
  left: 11px;
}

.wa-hsearch .wa-search-in {
  padding: 7px 12px 7px 33px;
  border-radius: 10px;
}

.wa-side-head [data-hsearchx],
.wa-side-head.searching .wa-side-title,
.wa-side-head.searching [data-hsearch],
.wa-side-head.searching [data-hset] {
  display: none;
}

.wa-side-head.searching .wa-hsearch {
  display: block;
}

.wa-side-head.searching [data-hsearchx] {
  display: grid;
}

.wa-tabs {
  display: flex;
  gap: 4px;
  padding: 0 12px 8px;
  border-bottom: .5px solid var(--hairline-2);
}

.wa-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--field);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
}

.wa-tabs button:hover {
  color: var(--text);
}

.wa-tabs button.on {
  background: var(--text);
  color: var(--glass-2);
}

.wa-tabn {
  font-size: 10px;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  display: inline-grid;
  place-items: center;
}

.wa-tabn:empty {
  display: none;
}

.wa-hmenu {
  position: absolute;
  z-index: 30;
  right: 10px;
  top: 46px;
  min-width: 210px;
  padding: 5px;
  border-radius: 12px;
  background: var(--win-solid);
  border: .5px solid var(--hairline);
  box-shadow: 0 12px 30px #00000052;
  display: flex;
  flex-direction: column;
}

.wa-hmenu-h {
  font-size: 11px;
  color: var(--text-3);
  padding: 6px 10px 4px;
}

.wa-hmenu button {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  text-align: left;
}

.wa-hmenu button svg {
  width: 16px;
  height: 16px;
  color: var(--text-2);
}

.wa-hmenu button:hover {
  background: var(--hover);
}

.wa-hmenu button i {
  font-style: normal;
  font-size: 11px;
  color: var(--text-3);
}

.wa-hmenu .wa-me-dot {
  position: relative;
  right: auto;
  bottom: auto;
  flex: 0 0 10px;
  box-shadow: none;
}

.wa-hmenu .wa-me-dot.off {
  box-shadow: inset 0 0 0 2px var(--text-3);
  background: transparent;
}

.wa-hmenu-ck {
  margin-left: auto;
  display: inline-flex;
  color: var(--accent);
}

.wa-hmenu-ck svg {
  color: var(--accent)!important;
}

.wa-hmenu-sep {
  height: .5px;
  background: var(--hairline);
  margin: 4px 6px;
}

.wa-side {
  position: relative;
}

.wa-st.away {
  background: #f5b83d;
}

.wa-peer-tx span.away {
  color: #f5b83d;
}

.wa-sec {
  padding: 10px 10px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-3);
}

.wa-req {
  cursor: default;
}

.wa-req.busy {
  opacity: .5;
  pointer-events: none;
}

.wa-req-b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--field);
  color: var(--text-2);
  flex: 0 0 auto;
}

.wa-req-b svg {
  width: 15px;
  height: 15px;
}

.wa-req-b:hover {
  background: var(--hover);
  color: var(--text);
}

.wa-req-b.ok {
  background: #30b158;
  color: #fff;
}

.wa-req-b.ok:hover {
  filter: brightness(1.08);
  background: #30b158;
  color: #fff;
}

[data-theme=light] .wa-me-dot.away,
[data-theme=light] .wa-st.away {
  background: #e0a020;
}

[data-theme=light] .wa-peer-tx span.away {
  color: #b27a00;
}

.wa-iconbtn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wa-iconbtn svg {
  width: 19px;
  height: 19px;
}

.wa-iconbtn:hover {
  background: var(--hover);
  color: var(--text);
}

.wa-search {
  position: relative;
  padding: 10px 12px;
}

.wa-search-ico {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  display: inline-flex;
  pointer-events: none;
}

.wa-search-ico svg {
  width: 15px;
  height: 15px;
}

.wa-search-in {
  width: 100%;
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  border-radius: 20px;
  padding: 9px 14px 9px 36px;
  font-size: 13px;
  outline: none;
  transition: border-color .14s, background .14s;
}

.wa-search-in:focus {
  border-color: var(--accent);
  background: var(--glass-strong);
}

.wa-search-in::placeholder {
  color: var(--text-3);
}

.wa-convos {
  flex: 1;
  overflow: auto;
  padding: 4px 6px;
}

.wa-convo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  cursor: pointer;
  border-radius: 12px;
}

.wa-convo:hover {
  background: var(--hover);
}

.wa-convo.active {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.wa-convo-tx {
  flex: 1;
  min-width: 0;
}

.wa-convo-x {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  opacity: 0;
  transition: opacity .14s var(--ease-out), background .14s var(--ease-out);
}

.wa-convo-x svg {
  width: 16px;
  height: 16px;
}

.wa-convo:hover .wa-convo-x {
  opacity: 1;
}

.wa-convo-x:hover {
  background: color-mix(in srgb, #ff5f57 24%, transparent);
  color: var(--text-1);
}

.wa-convo-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.wa-convo-top b {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-convo-top span {
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
  flex: 0 0 auto;
}

.wa-convo-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.wa-convo-last {
  font-size: 12.5px;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-unread {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  flex: 0 0 auto;
}

.wa-main {
  position: relative;
  min-height: 0;
  min-width: 0;
  display: flex;
  background: var(--app-bg);
}

.wa-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

.wa-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--glass-2);
  border-bottom: .5px solid var(--hairline-2);
}

.wa-back {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.wa-back svg {
  width: 22px;
  height: 22px;
}

.wa-back:hover {
  background: var(--hover);
}

.wa-chat-peer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.wa-peer-tx {
  min-width: 0;
}

.wa-peer-tx b {
  font-size: 15px;
  font-weight: 600;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-peer-tx span {
  font-size: 12px;
  color: var(--text-3);
}

.wa-peer-tx span.on {
  color: var(--wa-online);
}

.wa-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-3);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  padding: 7px 12px;
}

.wa-banner svg {
  width: 13px;
  height: 13px;
}

.wa-unlock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-bottom: .5px solid var(--hairline);
}

.wa-unlock-ic {
  display: grid;
  place-items: center;
  color: var(--accent-text);
}

.wa-unlock-ic svg {
  width: 15px;
  height: 15px;
}

.wa-unlock-in {
  flex: 1;
  min-width: 0;
  height: 30px;
  padding: 0 10px;
  border-radius: 9px;
  border: .5px solid var(--hairline);
  background: var(--field);
  color: var(--text-1);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.wa-unlock-in:focus {
  border-color: var(--accent);
}

.wa-unlock-go {
  flex: none;
  height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.wa-unlock-go:disabled {
  opacity: .55;
  cursor: default;
}

.wa-unlock-err {
  font-size: 12px;
  color: #ff6b6b;
}

.wa-thread {
  flex: 1;
  overflow: auto;
  padding: 14px 7% 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--app-bg);
  background-image: radial-gradient(120% 55% at 50% -8%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}

.wa-day {
  align-self: center;
  margin: 14px 0 8px;
}

.wa-day span {
  background: color-mix(in srgb, var(--text) 9%, var(--win-solid));
  color: var(--text-2);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.wa-row {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-top: 8px;
  position: relative;
  touch-action: pan-y;
}

.wa-col {
  transition: transform .18s cubic-bezier(.2, .8, .3, 1);
}

.wa-row.swiping .wa-col {
  transition: none;
}

.wa-swipe-ic {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) scale(.62);
  background: var(--field-2);
  color: var(--text-2);
  transition: opacity .18s ease, background .12s, color .12s;
}

.wa-swipe-ic svg {
  width: 15px;
  height: 15px;
}

.wa-swipe-ic.ready {
  background: var(--accent);
  color: var(--accent-ink);
}

.wa-row.grouped {
  margin-top: 2px;
}

.wa-row.mine {
  flex-direction: row-reverse;
}

.wa-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 74%;
  min-width: 0;
}

.wa-row.mine .wa-col {
  align-items: flex-end;
}

.wa-actbtn {
  opacity: 0;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .12s;
}

.wa-actbtn svg {
  width: 17px;
  height: 17px;
}

.wa-row:hover .wa-actbtn {
  opacity: .6;
}

.wa-actbtn:hover {
  opacity: 1!important;
  background: var(--hover);
  color: var(--text);
}

@media(hover:none) {
  .wa-actbtn {
    opacity: .5;
  }
}

.wa-bubble {
  max-width: 100%;
  width: fit-content;
  padding: 7px 11px 6px;
  border-radius: 16px 16px 16px 5px;
  font-size: 14px;
  line-height: 1.38;
  word-break: break-word;
  position: relative;
  background: var(--wa-recv);
  color: var(--text);
  box-shadow: 0 1px 2px #00000024;
  border: .5px solid var(--hairline-2);
}

.wa-quote {
  border-left: 3px solid currentColor;
  padding: 3px 8px;
  margin-bottom: 5px;
  border-radius: 5px;
  background: #00000021;
  display: flex;
  flex-direction: column;
}

.wa-quote b {
  font-size: 11.5px;
  font-weight: 700;
}

.wa-quote span {
  font-size: 12px;
  opacity: .8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 230px;
}

.wa-reacts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.wa-react {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  padding: 1px 7px;
  border-radius: 12px;
  background: var(--wa-recv);
  border: .5px solid var(--hairline);
  color: var(--text);
  cursor: pointer;
}

.wa-react i {
  font-style: normal;
  font-size: 11px;
  opacity: .7;
}

.wa-react.mine {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border-color: var(--accent);
}

.wa-react:hover {
  filter: brightness(1.12);
}

.wa-act-pop {
  position: absolute;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 5px;
  border-radius: 24px;
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  animation: pop-in .13s var(--ease-out);
}

.wa-act-pop[hidden] {
  display: none;
}

.wa-act-pop button {
  font-size: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .1s;
}

.wa-act-pop button:hover {
  background: var(--hover);
  transform: scale(1.18);
}

.wa-act-reply {
  color: var(--text-2);
  border-left: .5px solid var(--hairline);
  margin-left: 2px;
}

.wa-act-reply svg {
  width: 18px;
  height: 18px;
}

.wa-row.mine .wa-bubble {
  border-radius: 16px 16px 5px;
  border: 0;
  color: var(--accent-ink);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 86%, #fff 14%), var(--accent));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 35%, transparent);
}

.wa-sender {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}

.wa-text {
  white-space: pre-wrap;
}

.wa-meta {
  float: right;
  font-size: 10px;
  opacity: .7;
  margin: 7px 0 -1px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wa-row.mine .wa-meta {
  opacity: .85;
}

.wa-lock svg {
  width: 9px;
  height: 9px;
  vertical-align: middle;
}

.wa-ticks {
  display: inline-flex;
  align-items: center;
  margin-left: 3px;
  color: var(--accent-ink-soft);
}

.wa-ticks.seen {
  color: var(--accent-seen);
}

.wa-tick {
  width: 13px;
  height: 12px;
  display: block;
}

.wa-tick2 {
  width: 18px;
}

.wa-bot {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 1px 4px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--text) 22%, transparent);
  color: var(--text);
  margin-left: 5px;
  vertical-align: 1px;
}

.wa-empty {
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
  margin: auto;
  max-width: 280px;
}

.wa-composer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  background: var(--glass-2);
  border-top: .5px solid var(--hairline-2);
}

.wa-composer-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wa-replybar[hidden] {
  display: none;
}

.wa-rb-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 11px;
  background: var(--field);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}

.wa-rb-tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.wa-rb-tx b {
  font-size: 12px;
  color: var(--accent-text);
}

.wa-rb-tx span {
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-rb-x {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--text-2);
  flex: 0 0 26px;
  font-size: 12px;
}

.wa-rb-x:hover {
  background: var(--hover);
  color: var(--text);
}

.wa-composer {
  padding-bottom: 4px;
}

.wa-composer-row {
  position: relative;
  margin-top: 6px;
  gap: 0;
}

.wa-composer-row .wa-input {
  margin: 0 8px 0 6px;
}

.wa-typing {
  position: absolute;
  bottom: calc(100% + 1px);
  left: 9px;
  right: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 14px;
  font-size: 11.5px;
  line-height: 14px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.wa-typing b {
  color: var(--text);
  font-weight: 600;
}

.wa-typing-dots {
  display: inline-flex;
  gap: 3px;
  flex: none;
}

.wa-typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: ai-blink 1.2s infinite both;
}

.wa-typing-dots i:nth-child(2) {
  animation-delay: .2s;
}

.wa-typing-dots i:nth-child(3) {
  animation-delay: .4s;
}

.wa-convo-last.typing,
.wa-peer-tx span.typing {
  color: #30b158;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wa-convo-last.typing .wa-typing-dots i,
.wa-peer-tx span.typing .wa-typing-dots i {
  width: 4px;
  height: 4px;
  background: currentColor;
}

[data-theme=light] .wa-convo-last.typing,
[data-theme=light] .wa-peer-tx span.typing {
  color: #1a8a3d;
}

.wa-peer-tx span.typing .wa-typing-dots {
  color: inherit;
  font-size: inherit;
  margin: 0;
  padding: 0;
}

.wa-cbtn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
}

.wa-cbtn svg {
  width: 21px;
  height: 21px;
}

.wa-cbtn:hover {
  background: var(--hover);
  color: var(--text);
}

.wa-input {
  flex: 1;
  min-width: 0;
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  border-radius: 22px;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color .14s;
}

.wa-input:focus {
  border-color: var(--accent);
}

.wa-input::placeholder {
  color: var(--text-3);
}

.wa-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 40%, transparent);
}

.wa-send svg {
  width: 20px;
  height: 20px;
}

.wa-send:hover {
  filter: brightness(1.08);
}

.wa-send:active {
  transform: scale(.94);
}

.wa-emoji-pop {
  position: absolute;
  left: 10px;
  bottom: 58px;
  width: 300px;
  max-height: 210px;
  overflow-y: auto;
  z-index: 40;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.wa-emoji-pop[hidden] {
  display: none;
}

.wa-emoji-pop button {
  font-size: 20px;
  padding: 4px;
  border-radius: 8px;
}

.wa-emoji-pop button:hover {
  background: var(--hover);
}

.wa-emoji-pop {
  display: block;
  width: 320px;
  max-height: 300px;
  overflow: hidden;
  padding: 8px 8px 6px;
}

.ep-search {
  padding: 0 2px 7px;
}

.ep-in {
  width: 100%;
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 12.5px;
  outline: none;
}

.ep-in:focus {
  border-color: var(--accent);
}

.ep-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  max-height: 236px;
  overflow-y: auto;
}

.ep-grid button {
  display: grid;
  place-items: center;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}

.ep-grid button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.ep-none {
  grid-column: 1 / -1;
  padding: 18px 6px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
}

.wa-ce,
.wa-tw {
  object-fit: contain;
  vertical-align: -4px;
  margin: 0 1px;
}

.wa-ce {
  width: 21px;
  height: 21px;
}

.wa-tw {
  width: 19px;
  height: 19px;
}

.wa-text .wa-ce {
  width: 23px;
  height: 23px;
}

.wa-text .wa-tw {
  width: 20px;
  height: 20px;
}

.wa-act-more {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-2);
}

.wa-bubble.media {
  background: transparent!important;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.wa-media {
  max-width: 128px;
  max-height: 128px;
  border-radius: 16px;
  display: block;
}

.wa-media.photo {
  max-width: 232px;
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.wa-cbtn.busy {
  opacity: .45;
  pointer-events: none;
}

.wa-cbtn.busy svg {
  animation: wa-imgspin .8s linear infinite;
}

@keyframes wa-imgspin {
  to {
    transform: rotate(360deg);
  }
}

.wa-img-pop {
  position: absolute;
  left: 8px;
  bottom: 58px;
  width: 246px;
  z-index: 40;
  padding: 13px 14px;
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.wa-img-pop[hidden] {
  display: none;
}

.wa-img-pop .wa-imgp-h {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 11px;
}

.wa-img-pop .wa-imgp-h svg {
  width: 17px;
  height: 17px;
  color: var(--text-2);
}

.wa-imgp-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-2);
  margin: 7px 0;
}

.wa-imgp-row .wa-imgp-tx i {
  color: var(--text-3);
  font-style: normal;
}

.wa-imgp-ic {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  flex: 0 0 18px;
}

.wa-imgp-ic svg {
  width: 13px;
  height: 13px;
}

.wa-imgp-ic.ok {
  background: #30d1582e;
  color: #30d158;
}

.wa-imgp-ic.no {
  background: var(--field);
  color: var(--text-3);
}

.wa-imgp-btn {
  margin-top: 12px;
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}

.wa-imgp-btn:hover {
  filter: brightness(1.08);
}

.wa-bubble.media .wa-meta {
  float: none;
  display: block;
  text-align: right;
  margin: 3px 2px 0;
  color: var(--text-3);
  opacity: 1;
}

.wa-bubble.media .wa-quote {
  margin-bottom: 6px;
}

.wa-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 30px;
  color: var(--text-2);
  background: var(--app-bg);
  background-image: radial-gradient(120% 55% at 50% 12%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}

.wa-ph-badge {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ink);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 86%, #fff 14%), var(--accent));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent);
}

.wa-ph-badge svg {
  width: 38px;
  height: 38px;
}

.wa-placeholder div {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
}

.wa-placeholder p {
  font-size: 13.5px;
  max-width: 320px;
}

.wa-ph-e2e {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
}

.wa-ph-e2e svg {
  width: 13px;
  height: 13px;
}

.wa-modal {
  position: absolute;
  inset: 0;
  background: #0006;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 20px;
  animation: fade .12s ease;
}

.wa-modal-card {
  width: 320px;
  max-width: 100%;
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  border-radius: 18px;
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  animation: pop-in .16s var(--ease-out);
}

.wa-modal-h {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
}

.wa-modal-card .btn {
  width: 100%;
}

.wa-pcard {
  width: 300px;
  padding: 0 16px 14px;
  gap: 5px;
  overflow: hidden;
  position: relative;
}

.wa-pclose {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  color: #fff;
  opacity: .9;
}

.wa-pcover {
  width: calc(100% + 32px);
  margin: 0 -16px;
  height: 88px;
  position: relative;
  overflow: hidden;
  background: #0f0f16;
}

.wa-pcover:before {
  content: "";
  position: absolute;
  inset: -18px;
  background-color: #0f0f16;
  background-image: var(--wp-bg, var(--pc-tint));
  background-blend-mode: var(--wp-blend, screen);
  background-size: 100% 300px;
  background-position: center 58%;
  filter: blur(10px) saturate(1.25);
  transform: scale(1.08);
}

.wa-pcover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0000000f 40%, color-mix(in srgb, var(--glass-strong) 88%, transparent));
}

.wa-pav {
  margin-top: -32px;
  z-index: 2;
}

.wa-pav .wa-av {
  border: 3px solid var(--glass-strong);
  box-shadow: 0 6px 16px #00000052;
}

.wa-pav .wa-st {
  right: 4px;
  bottom: 4px;
  width: 13px;
  height: 13px;
  border-width: 2.5px;
  border-color: var(--glass-strong);
}

.wa-av.xl {
  width: 72px;
  height: 72px;
  flex-basis: 72px;
  font-size: 30px;
}

.wa-av.xs {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  font-size: 9px;
}

.wa-pname {
  font-size: 17.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.wa-phandle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
  margin-top: -3px;
}

.wa-pstatus {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--wa-online);
  font-weight: 600;
}

.wa-pstatus i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wa-online);
}

.wa-pbio {
  font-size: 12.5px;
  color: var(--text-2);
  text-align: center;
  word-break: break-word;
  line-height: 1.4;
  margin-top: 3px;
}

.wa-pmeta {
  font-size: 11.5px;
  color: var(--text-3);
  text-align: center;
}

.wa-pmutual {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 1px;
}

.wa-pmav {
  display: inline-flex;
}

.wa-pmav .wa-av {
  margin-left: -7px;
  border: 2px solid var(--glass-strong);
}

.wa-pmav .wa-av:first-child {
  margin-left: 0;
}

.wa-pacts {
  display: flex;
  gap: 7px;
  width: 100%;
  margin-top: 8px;
}

.wa-pacts .btn {
  width: auto;
  flex: 1;
  padding: 6px 10px;
  font-size: 12.5px;
  border-radius: 9px;
}

.wa-plink {
  background: none;
  border: 0;
  padding: 2px 8px;
  border-radius: 7px;
  font-size: 11.5px;
  color: var(--text-3);
  cursor: pointer;
}

.wa-plink:hover {
  color: #ff453a;
  background: var(--hover);
}

.wa-plink.on {
  color: var(--accent-text);
}

.wa-sender[data-prof] {
  cursor: pointer;
}

.wa-sender[data-prof]:hover {
  text-decoration: underline;
}

.wa-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -3px;
  margin-left: 5px;
  width: 16px;
  height: 16px;
  background: none;
  box-shadow: none;
  border-radius: 0;
  flex: 0 0 auto;
}

.wa-badge svg {
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35));
}

.wa-badge.owner {
  color: #ffc53d;
}

.wa-badge.admin {
  color: #4aa3ff;
}

.wa-badge.mod {
  color: #c7ae78;
}

.wa-bubble.del {
  background: var(--field)!important;
  color: var(--text-3);
  font-style: italic;
  font-size: 12.5px;
}

.wa-del-ic {
  font-style: normal;
  margin-right: 2px;
}

.wa-act-sep {
  width: .5px;
  align-self: stretch;
  background: var(--hairline);
  margin: 4px 3px;
}

.wa-act-mod {
  font-size: 16px!important;
}

.wa-act-mod:hover {
  background: color-mix(in srgb, #ff5f57 24%, transparent)!important;
}

.wa-act-del svg {
  width: 16px;
  height: 16px;
  display: block;
}

.wa-mod-card {
  align-items: stretch!important;
  gap: 0!important;
  width: 360px;
  max-height: 82%;
  overflow-y: auto;
  padding: 0!important;
}

.wa-mod-card .wa-modal-h {
  padding: 16px 18px 12px;
  position: sticky;
  top: 0;
  background: var(--glass-strong);
  z-index: 1;
}

.wa-mod-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wa-mod-title svg {
  width: 18px;
  height: 18px;
  color: var(--accent-text);
}

.wa-mod-sec {
  padding: 8px 18px 14px;
  border-top: .5px solid var(--hairline-2);
}

.wa-mod-sec h4 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-3);
}

.wa-mod-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px;
  font-size: 13.5px;
}

.wa-mod-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-mod-row i {
  font-style: normal;
  font-size: 11px;
  color: var(--text-3);
}

.wa-mod-empty {
  font-size: 12.5px;
  color: var(--text-3);
  padding: 3px 2px;
}

.wa-mod-add {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.wa-mod-in {
  flex: 1;
  min-width: 0;
  background: var(--field);
  border: .5px solid var(--hairline);
  border-radius: 9px;
  padding: 8px 11px;
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.wa-mod-in:focus {
  border-color: var(--accent);
}

.wa-mini {
  flex: 0 0 auto;
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.wa-mini:hover {
  background: var(--field-2);
}

.wa-mini.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.ai {
  position: relative;
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  background: var(--app-bg);
  overflow: hidden;
}

.ai-spark {
  width: 24px;
  height: 24px;
  display: inline-flex;
  color: #fff;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #7c5cff, #ff5e8a);
  flex: 0 0 auto;
}

.ai-spark svg {
  width: 15px;
  height: 15px;
}

.ai-side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--glass-2);
  border-right: .5px solid var(--hairline-2);
}

.ai-side-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
}

.ai-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  flex: 1;
  min-width: 0;
}

.ai-newbtn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--field);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ai-newbtn svg {
  width: 18px;
  height: 18px;
}

.ai-newbtn:hover {
  background: var(--field-2);
}

.ai-side-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-3);
  padding: 4px 14px 6px;
}

.ai-chats {
  flex: 1;
  overflow: auto;
  padding: 0 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-chat-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-2);
}

.ai-chat-item>svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  opacity: .7;
}

.ai-chat-item:hover {
  background: var(--hover);
  color: var(--text);
}

.ai-chat-item.active {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--text);
  font-weight: 600;
}

.ai-chat-item.active:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 17px;
  border-radius: 2px;
  background: var(--accent);
}

.ai-chat-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-chat-del {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: var(--text-3);
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ai-chat-item:hover .ai-chat-del {
  display: flex;
}

.ai-chat-del:hover {
  background: var(--hover);
  color: #ff5f57;
}

.ai-chat-del svg {
  width: 14px;
  height: 14px;
  opacity: 1;
}

.ai-chats-empty {
  padding: 18px 12px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}

.ai-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

.ai-main-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: .5px solid var(--hairline-2);
}

.ai-side-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--text-2);
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ai-side-toggle svg {
  width: 20px;
  height: 20px;
}

.ai-side-toggle:hover {
  background: var(--hover);
}

.ai-main-title {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-thread {
  flex: 1;
  overflow: auto;
  padding: 22px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ai-msg {
  width: min(720px, 100% - 36px);
  margin-inline: auto;
}

.ai-msg {
  display: flex;
  gap: 11px;
}

.ai-msg.user {
  justify-content: flex-end;
}

.ai-msg.user .ai-bubble {
  max-width: 78%;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 86%, #fff 14%), var(--accent));
  color: var(--accent-ink);
  padding: 9px 13px;
  border-radius: 16px 16px 5px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 30%, transparent);
  word-break: break-word;
}

.ai-av {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(150deg, #7c5cff, #ff5e8a);
}

.ai-av svg {
  width: 18px;
  height: 18px;
}

.ai-col {
  min-width: 0;
  flex: 1;
}

.ai-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
  padding-top: 4px;
}

.ai-tablewrap {
  overflow-x: auto;
  margin: 10px 0;
  border: .5px solid var(--hairline);
  border-radius: 10px;
}

.ai-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.ai-content th,
.ai-content td {
  border: .5px solid var(--hairline);
  padding: 6px 10px;
  text-align: left;
  vertical-align: top;
}

.ai-content thead th {
  background: var(--field);
  font-weight: 700;
  white-space: nowrap;
}

.ai-content a {
  color: var(--accent-text);
}

.ai-content code {
  font-family: JetBrains Mono, ui-monospace, monospace;
  font-size: 12.5px;
  background: color-mix(in srgb, var(--text) 10%, transparent);
  padding: 1px 5px;
  border-radius: 5px;
}

.ai-content pre {
  background: #0d1117;
  border: .5px solid var(--hairline);
  border-radius: 10px;
  padding: 12px 14px;
  overflow-x: auto;
  max-width: 100%;
  margin: 8px 0;
}

.ai-content pre code {
  background: none;
  padding: 0;
  color: #e6edf3;
  font-size: 12.5px;
  line-height: 1.5;
}

.ai-copy {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-3);
  background: var(--field);
  border: .5px solid var(--hairline);
  padding: 4px 10px;
  border-radius: 8px;
}

.ai-copy:hover {
  background: var(--field-2);
  color: var(--text);
}

.ai-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 4px 0;
}

.ai-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-3);
  animation: ai-blink 1.2s infinite both;
}

.ai-typing i:nth-child(2) {
  animation-delay: .2s;
}

.ai-typing i:nth-child(3) {
  animation-delay: .4s;
}

@keyframes ai-blink {
  0%, 80%, to {
    opacity: .25;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.ai-welcome {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: center;
  padding: 24px;
}

.ai-welcome>* {
  flex-shrink: 0;
}

.ai-welcome>:first-child {
  margin-top: auto;
}

.ai-welcome>:last-child {
  margin-bottom: auto;
}

.ai-logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(150deg, #7c5cff, #ff5e8a);
  box-shadow: 0 12px 34px #7c5cff66;
}

.ai-logo svg {
  width: 40px;
  height: 40px;
}

.ai-welcome h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.ai-welcome p {
  font-size: 13.5px;
  color: var(--text-2);
  max-width: 360px;
}

.ai-composer-wrap {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 6px 18px 0;
  flex: 0 0 auto;
}

.ai-composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 4px 5px 4px 8px;
  background: var(--field);
  border: .5px solid var(--hairline);
  border-radius: 22px;
  transition: border-color .14s var(--ease-out);
}

.ai-composer:focus-within {
  border-color: var(--accent);
}

.ai-input {
  flex: 1;
  resize: none;
  max-height: 150px;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 6px 8px;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
}

.ai-input::placeholder {
  color: var(--text-3);
}

.ai-send {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 40%, transparent);
}

.ai-send svg {
  width: 19px;
  height: 19px;
}

.ai-send:hover {
  filter: brightness(1.08);
}

.ai-send:active {
  transform: scale(.94);
}

.ai-send.stop {
  background: var(--text-2);
  box-shadow: none;
}

.ai-foot {
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  padding: 4px 12px 10px;
}

.ai-head-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-icbtn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-icbtn svg {
  width: 18px;
  height: 18px;
}

.ai-icbtn:hover {
  background: var(--hover);
  color: var(--text);
}

.ai-setup {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #0000006b;
  backdrop-filter: blur(4px);
  animation: fade .12s ease;
}

.ai-setup[hidden] {
  display: none;
}

.ai-setup-card {
  position: relative;
  width: min(420px, 100%);
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  border-radius: 18px;
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 22px;
  animation: pop-in .16s var(--ease-out);
}

.ai-setup-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--text-2);
  font-size: 12px;
}

.ai-setup-x:hover {
  background: var(--hover);
  color: var(--text);
}

.ai-logo.sm {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 6px;
  box-shadow: none;
}

.ai-logo.sm svg {
  width: 26px;
  height: 26px;
}

.ai-setup-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 6px;
}

.ai-setup-card>p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 6px 0 8px;
}

.ai-lab {
  display: block;
  font-size: 12px;
  color: var(--text-2);
  margin: 12px 0 5px;
}

.ai-link {
  color: var(--accent-text);
  font-weight: 600;
}

.ai-select,
.ai-keyin {
  width: 100%;
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 13.5px;
  outline: none;
}

.ai-select:focus,
.ai-keyin:focus {
  border-color: var(--accent);
}

.ai-note {
  font-size: 12px;
  color: var(--text-2);
  background: color-mix(in srgb, #ffd60a 12%, transparent);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 10px;
}

.ai-save {
  width: 100%;
  margin-top: 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  padding: 11px;
  border-radius: 12px;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 40%, transparent);
}

.ai-setup-card code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--field);
  border-radius: 5px;
  padding: 1px 5px;
}

.ai-save:hover {
  filter: brightness(1.08);
}

.ai-once {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 4px;
}

.ai-err {
  font-size: 12px;
  color: #ff5f57;
  min-height: 14px;
  margin-top: 8px;
}

@container app (max-width: 620px) {
  .ai {
    grid-template-columns: minmax(0, 1fr);
  }
  .ai-side {
    position: absolute;
    inset: 0 auto 0 0;
    width: 78%;
    max-width: 280px;
    z-index: 20;
    transform: translate(-100%);
    transition: transform .2s var(--ease-out);
    box-shadow: var(--shadow-pop);
  }
  .ai.side-open .ai-side {
    transform: none;
  }
  .ai.side-open:after {
    content: "";
    position: absolute;
    inset: 0;
    background: #00000059;
    z-index: 15;
  }
  .ai-side-toggle {
    display: flex;
  }
}

@container app (max-width: 440px) {
  .ai-composer-wrap {
    padding: 6px 10px 0;
  }
  .ai-msg {
    width: calc(100% - 20px);
  }
  .ai-welcome h2 {
    font-size: 21px;
  }
  .ai-logo {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }
  .ai-logo svg {
    width: 34px;
    height: 34px;
  }
}

.call {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--app-bg);
}

.call-join {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-image: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}

.call-join-card {
  width: min(380px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.call-logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 4px;
}

.call-voice .call-logo {
  background: linear-gradient(160deg, #34e07a, #0e9f6e);
  box-shadow: 0 12px 30px #10b98166;
}

.call-video .call-logo {
  background: linear-gradient(160deg, #7c9bff, #3b4ee0);
  box-shadow: 0 12px 30px #3b4ee066;
}

.call-logo svg {
  width: 38px;
  height: 38px;
}

.call-join-card h2 {
  font-size: 23px;
  font-weight: 800;
}

.call-join-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 320px;
}

.call-or {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: var(--text-3);
  font-size: 11.5px;
  margin: 6px 0 2px;
}

.call-or:before,
.call-or:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--hairline);
}

.call-joinrow {
  display: flex;
  gap: 8px;
  width: 100%;
}

.call-code-in {
  flex: 1;
  min-width: 0;
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 15px;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: JetBrains Mono, ui-monospace, monospace;
  outline: none;
}

.call-code-in:focus {
  border-color: var(--accent);
}

.call-code-in::placeholder {
  letter-spacing: normal;
  text-transform: none;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text-3);
}

.call-join2 {
  flex: 0 0 auto;
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  padding: 0 18px;
  border-radius: 12px;
}

.call-join2:hover {
  background: var(--field-2);
}

.call-join-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--accent) 40%, transparent);
}

.call-join-btn svg {
  width: 18px;
  height: 18px;
}

.call-join-btn:hover {
  filter: brightness(1.08);
}

.call-join-err {
  font-size: 12.5px;
  color: #ff5f57;
  min-height: 16px;
}

.call-join-note {
  font-size: 11.5px;
  color: var(--text-3);
}

.call-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.call-join[hidden],
.call-stage[hidden] {
  display: none;
}

.call-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: .5px solid var(--hairline-2);
  background: var(--glass-2);
}

.call-bar-code {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex: 1;
  min-width: 0;
}

.call-bar-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-3);
  font-weight: 700;
}

.call-code-show {
  font-family: JetBrains Mono, ui-monospace, monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text);
}

.call-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 600;
  flex: 0 0 auto;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 35%, transparent);
}

.call-copy svg {
  width: 15px;
  height: 15px;
}

.call-copy:hover {
  filter: brightness(1.08);
}

.call-count {
  font-size: 12px;
  color: var(--text-2);
  background: var(--field);
  border-radius: 20px;
  padding: 3px 10px;
  flex: 0 0 auto;
}

.call-count:before {
  content: "\1f465  ";
}

.call-grid {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
  justify-content: center;
  padding: 18px;
}

.call-tile {
  position: relative;
  width: clamp(190px, 42%, 320px);
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 50% 20%, #21212b, #121218);
  border: .5px solid var(--hairline);
  box-shadow: 0 8px 24px #00000052;
  transition: box-shadow .14s;
}

.call-tile.speaking {
  box-shadow: 0 0 0 2.5px var(--accent), 0 8px 24px #00000052;
}

.call-feed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  background: #000;
}

.call-tile.self .call-feed {
  transform: scaleX(-1);
}

.call-tile.video-on .call-feed {
  display: block;
}

.call-tile.video-on .call-avatar {
  display: none;
}

.call-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  box-shadow: 0 4px 14px #00000059;
}

.call-tile-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: linear-gradient(transparent, #0000009e);
  color: #fff;
  font-size: 12px;
}

.call-mic {
  display: inline-flex;
  flex: 0 0 auto;
}

.call-mic svg {
  width: 13px;
  height: 13px;
}

.call-mic.muted {
  color: #ff6b61;
}

.call-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.call-voice .call-grid {
  gap: 10px 26px;
}

.call-voice .call-tile {
  width: 104px;
  aspect-ratio: auto;
  background: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
  flex-direction: column;
  gap: 9px;
}

.call-voice .call-avatar {
  width: 74px;
  height: 74px;
  font-size: 29px;
  transition: box-shadow .12s;
}

.call-voice .call-tile.speaking .call-avatar {
  box-shadow: 0 0 0 3px var(--accent), 0 4px 14px #00000059;
}

.call-voice .call-tile-foot {
  position: static;
  background: none;
  padding: 0;
  justify-content: center;
  color: var(--text);
  font-size: 12.5px;
}

.call-voice .call-name {
  color: var(--text);
}

.call-voice .call-mic.muted {
  color: #ff5f57;
}

.call-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.call-tbtn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--field);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s, transform .1s;
}

.call-tbtn svg {
  width: 18px;
  height: 18px;
}

.call-tbtn:hover {
  background: var(--field-2);
}

.call-tbtn:active {
  transform: scale(.92);
}

.call-tbtn.off,
.call-end {
  background: #ff453a;
  color: #fff;
}

.call-end:hover {
  background: #ff2d20;
}

.call-host-only {
  display: none;
}

.call.is-host .call-host-only {
  display: flex;
}

.call-host-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #00000080;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
}

.call-host-btn svg {
  width: 16px;
  height: 16px;
}

.call.is-host .call-tile:not(.self):hover .call-host-btn {
  display: flex;
}

.call-host-badge {
  display: none;
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 1px 6px;
  border-radius: 6px;
  flex: 0 0 auto;
}

.call-tile.host-tile .call-host-badge {
  display: inline-block;
}

.call-voice .call-host-btn {
  top: 2px;
  right: 2px;
}

.call-voice .call-host-badge {
  margin-left: 4px;
}

.call-pop {
  position: absolute;
  z-index: 40;
  min-width: 196px;
  padding: 5px;
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  border-radius: 12px;
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  animation: pop-in .13s var(--ease-out);
}

.call-pop[hidden] {
  display: none;
}

.call-pop-head {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
  padding: 6px 9px 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.call-pop-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 9px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
}

.call-pop-item svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--text-2);
}

.call-pop-item:hover {
  background: var(--hover);
}

.call-pop-item.danger {
  color: #ff5f57;
}

.call-pop-item.danger svg {
  color: #ff5f57;
}

.cam {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #0c0c10;
}

.cam-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cam-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  background: #000;
}

.cam-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

.cam-flash.on {
  animation: cam-flash .4s ease;
}

@keyframes cam-flash {
  0% {
    opacity: .9;
  }
  to {
    opacity: 0;
  }
}

.cam-error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  text-align: center;
  font-size: 14px;
  background: #15151b;
}

.cam-error span {
  color: #fff9;
  font-size: 12px;
}

.cam-error[hidden] {
  display: none;
}

.cam-retry {
  margin-top: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 600;
}

.cam-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 12px;
  background: #0006;
}

.cam-filter {
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 600;
  color: #ddd;
  background: #ffffff1a;
  padding: 6px 12px;
  border-radius: 16px;
}

.cam-filter.active {
  background: var(--accent);
  color: var(--accent-ink);
}

.cam-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #0c0c10;
}

.cam-roll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.cam-shoot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  color: #0c0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #ffffff40;
}

.cam-shoot svg {
  width: 28px;
  height: 28px;
}

.cam-shoot:active {
  transform: scale(.94);
}

.cam-shot {
  position: relative;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
}

.cam-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cam-shot-acts {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: #0000008c;
  opacity: 0;
  transition: opacity .12s;
}

.cam-shot:hover .cam-shot-acts {
  opacity: 1;
}

.cam-shot-acts button {
  color: #fff;
  font-size: 11px;
  width: 23px;
  height: 23px;
}

.mp {
  display: flex;
  height: 100%;
  min-height: 0;
  background: var(--app-bg);
}

.mp-side {
  width: 240px;
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: .5px solid var(--hairline-2);
  background: var(--glass-2);
}

.mp-side-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: .5px solid var(--hairline-2);
}

.mp-side-head span {
  flex: 1;
}

.mp-add {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--field);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-add svg {
  width: 18px;
  height: 18px;
}

.mp-add:hover {
  background: var(--field-2);
}

.mp-list {
  flex: 1;
  overflow: auto;
  padding: 6px;
}

.mp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-2);
}

.mp-item:hover {
  background: var(--hover);
  color: var(--text);
}

.mp-item.active {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--text);
}

.mp-item-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.mp-item-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-item-del {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: var(--text-3);
  display: none;
  flex: 0 0 auto;
}

.mp-item:hover .mp-item-del {
  display: block;
}

.mp-item-del:hover {
  background: var(--hover);
  color: #ff5f57;
}

.mp-empty {
  padding: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}

.mp-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
}

.mp-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mp-disc {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7c5cff, #15151b 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffffd9;
  font-size: 42px;
  font-weight: 800;
  box-shadow: 0 14px 40px #00000073;
}

.mp-disc:after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--win-solid);
  border: 4px solid rgba(0, 0, 0, .3);
}

.mp-disc.spin {
  animation: mp-spin 6s linear infinite;
}

@keyframes mp-spin {
  to {
    transform: rotate(360deg);
  }
}

.mp-viz {
  width: 260px;
  height: 54px;
  opacity: .9;
}

.mp-now {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-seek {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(420px, 92%);
  font-size: 11px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.mp-range {
  flex: 1;
  accent-color: var(--accent);
  height: 4px;
}

.mp-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mp-cbtn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-cbtn svg {
  width: 22px;
  height: 22px;
}

.mp-cbtn:hover {
  background: var(--hover);
}

.mp-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 40%, transparent);
}

.mp-play svg {
  width: 26px;
  height: 26px;
}

.mp-play:hover {
  filter: brightness(1.08);
}

.mp-vol {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(220px, 72%);
  color: var(--text-2);
}

.mp-vol svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

@container app (max-width: 560px) {
  .mp-side {
    display: none;
  }
}

@container app (max-width: 640px) {
  .wa {
    grid-template-columns: minmax(0, 1fr);
  }
  .wa-side {
    grid-column: 1;
  }
  .wa-main, .wa.wa-show-chat .wa-side {
    display: none;
  }
  .wa.wa-show-chat .wa-main {
    display: flex;
  }
  .wa-back {
    display: inline-flex;
  }
}

.auth-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  text-align: center;
}

.auth-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  filter: drop-shadow(0 6px 18px rgba(255, 140, 80, .35));
}

.auth-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.auth-tabs {
  display: flex;
  background: var(--field);
  border-radius: 10px;
  padding: 3px;
}

.auth-tab {
  flex: 1;
  padding: 7px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.auth-tab.active {
  background: var(--glass-strong);
  color: var(--text);
  box-shadow: 0 1px 3px #0003;
}

.auth-card .input {
  text-align: left;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-tile {
  width: 66px;
  height: 66px;
  margin: 0 auto;
}

.auth-tab {
  border: 0;
  background: none;
  cursor: pointer;
}

.auth-go {
  padding: 10px;
  font-size: 14px;
}

.auth-err {
  color: #ff5f57;
  font-size: 12.5px;
  min-height: 16px;
}

.auth-hint {
  font-size: 12px;
  color: var(--text-3);
}

.about2 {
  height: 100%;
  overflow: auto;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about2-logo {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 8px 24px rgba(255, 140, 80, .4));
}

.about2-word {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-top: 14px;
}

.about2-word span {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about2-ver {
  color: var(--text-2);
  font-size: 13px;
  margin-top: 6px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 10px;
}

.store-card {
  padding: 14px;
  border-radius: 14px;
  background: var(--field);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: default;
  transition: background .12s, transform .12s var(--ease-out);
}

.store-card:hover {
  background: var(--field-2);
  transform: translateY(-2px);
}

.store-get {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 5px 13px;
  border-radius: 20px;
  flex: 0 0 auto;
}

.store-card:hover .store-get {
  filter: brightness(1.08);
}

.paint-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.paint-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--glass-2);
  border-bottom: .5px solid var(--hairline-2);
  flex-wrap: wrap;
}

.paint-tools {
  display: flex;
  gap: 4px;
  background: var(--field);
  border-radius: 9px;
  padding: 3px;
}

.ptool {
  width: 32px;
  height: 30px;
  border-radius: 7px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

.ptool:hover {
  background: var(--hover);
  color: var(--text);
}

.ptool.active {
  background: var(--accent);
  color: var(--accent-ink);
}

.psep {
  width: 1px;
  height: 24px;
  background: var(--hairline);
  margin: 0 2px;
}

.paint-toolbar input[type=color] {
  width: 34px;
  height: 30px;
  border: .5px solid var(--hairline);
  border-radius: 8px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.paint-toolbar input[type=range] {
  width: 110px;
  accent-color: var(--accent);
}

.p-size-val {
  font-size: 12px;
  color: var(--text-2);
  min-width: 18px;
  font-variant-numeric: tabular-nums;
}

.p-swatches {
  display: flex;
  gap: 4px;
}

.p-sw {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: .5px solid var(--hairline);
}

.p-sw:hover {
  transform: scale(1.15);
}

.paint-canvas-wrap {
  flex: 1;
  background: #fff;
  overflow: hidden;
  position: relative;
}

#p-canvas {
  display: block;
  cursor: crosshair;
}

.sb2 {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.sb2-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: .5px solid var(--hairline-2);
  background: var(--glass-2);
  flex-wrap: wrap;
}

.sb2-search {
  flex: 1;
  min-width: 160px;
  border-radius: 9px;
}

.sb2-toggle.on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.sb2-count {
  font-size: 12px;
  color: var(--text-3);
  margin-left: auto;
}

.sb2-grid {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  grid-auto-rows: 52px;
  gap: 10px;
  align-content: start;
}

.sb2-card {
  position: relative;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px 0 14px;
  border-radius: 12px;
  background: var(--field);
  border: .5px solid var(--hairline);
  cursor: default;
  text-align: left;
  transition: transform .08s, background .12s;
  overflow: hidden;
  box-sizing: border-box;
}

.sb2-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c);
}

.sb2-card:hover {
  background: var(--field-2);
  transform: translateY(-1px);
}

.sb2-card.playing {
  box-shadow: 0 0 0 2px var(--accent) inset;
}

.sb2-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c);
  flex: 0 0 11px;
  box-shadow: 0 0 6px var(--c);
}

.sb2-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.sb2-fav {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 13px;
  color: var(--text-3);
  opacity: 0;
}

.sb2-card:hover .sb2-fav,
.sb2-card.faved .sb2-fav {
  opacity: 1;
}

.sb2-card.faved .sb2-fav {
  color: #fc3;
}

.th-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  max-width: 560px;
}

.th-preset {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: default;
}

.th-preset-sw {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 12px;
  box-shadow: inset 0 0 0 .5px var(--hairline), 0 4px 12px #00000040;
  border: 2px solid transparent;
  transition: transform .12s var(--ease-out);
}

.th-preset:hover .th-preset-sw {
  transform: translateY(-2px);
}

.th-preset.active .th-preset-sw {
  border-color: var(--text);
}

.th-preset-sw i {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 1px 3px #0006, inset 0 0 0 1.5px #ffffff80;
}

.th-preset-name {
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.btn.secondary.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.th-accents {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.th-acc {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 .5px #0003;
}

.th-acc.active {
  border-color: var(--text);
  transform: scale(1.08);
}

.th-acc-pick {
  position: relative;
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 0 0 .5px #0003, inset 0 0 0 34px color-mix(in srgb, var(--field) 55%, transparent);
}

.th-acc-pick:after {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: conic-gradient(#ff5f57, #ffd60a, #30d158, #64d2ff, #5e5ce6, #bf5af2, #ff5f57);
}

.th-acc-pick.active {
  box-shadow: inset 0 0 0 .5px #0003;
}

.th-acc-pick.active:after {
  display: none;
}

.th-acc-pick input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  border: 0;
  padding: 0;
}

.th-wps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 480px;
}

.th-wp {
  aspect-ratio: 16/10;
  border-radius: 10px;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 .5px var(--hairline);
  background-image: var(--wp-bg);
  background-blend-mode: var(--wp-blend, screen);
  cursor: pointer;
  overflow: hidden;
}

.th-wp.active {
  border-color: var(--accent);
}

.th-wp-upload {
  display: grid;
  place-items: center;
  background-image: none;
  background: var(--field);
  border: 2px dashed var(--hairline-2);
  color: var(--text-3);
}

.th-wp-upload:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.th-wp-plus {
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.th-wp-custom {
  background-image: none;
  background-size: cover;
  background-position: center;
}

.editor-toolbar>.np-name {
  flex: 1 1 120px;
  max-width: 180px;
}

.np-find {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: var(--glass-2);
  border-bottom: .5px solid var(--hairline-2);
}

.np-find-in {
  flex: 1;
  min-width: 90px;
  padding: 5px 9px;
  font-size: 12.5px;
}

.np-find-n {
  font-size: 11.5px;
  color: var(--text-3);
  min-width: 38px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.np-find-b {
  padding: 4px 8px;
  border-radius: 7px;
  border: .5px solid var(--hairline);
  background: var(--field);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
}

.np-find-b:hover {
  background: var(--field-2);
}

.np-find-b.wide {
  padding: 4px 10px;
}

.np-find-case {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--text-3);
  cursor: pointer;
}

.np-status {
  display: flex;
  justify-content: space-between;
  padding: 6px 14px;
  font-size: 11.5px;
  color: var(--text-3);
  background: var(--glass-2);
  border-top: .5px solid var(--hairline-2);
}

.np-picker {
  position: absolute;
  inset: 0;
  background: #0000004d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.np-picker-box {
  width: 300px;
  max-height: 70%;
  overflow: auto;
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  padding: 8px;
}

.np-picker-h {
  font-weight: 600;
  padding: 8px 10px;
  font-size: 13px;
}

.np-pick {
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  cursor: default;
}

.np-pick:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.np-picker-f {
  padding: 8px;
  display: flex;
  justify-content: flex-end;
}

.py-status {
  font-size: 12px;
  color: var(--text-2);
  margin-left: auto;
}

.fg-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.fg-browse {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.fg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 22px 10px;
}

.fg-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.fg-cats {
  display: flex;
  gap: 4px;
  flex: 1 1 0;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 1px;
}

.fg-cats::-webkit-scrollbar {
  display: none;
}

.fg-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--field);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  flex: 0 0 auto;
}

.fg-cat span {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.fg-cat:hover {
  background: var(--field-2);
  color: var(--text);
}

.fg-cat.on {
  background: var(--accent);
  color: #fff;
}

.fg-cat.on span {
  color: #ffffffbf;
}

.fg-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fg-search {
  width: 180px;
  height: 28px;
  padding: 0 11px;
  font-size: 12px;
  border-radius: 999px;
}

.fg-grid {
  flex: 1;
  overflow: auto;
  padding: 6px 22px 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
  gap: 14px;
  align-content: start;
}

.fg-card {
  cursor: pointer;
}

.fg-thumb {
  aspect-ratio: 1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px #00000047, inset 0 1px #ffffff4d;
  transition: transform .14s var(--ease-out), box-shadow .14s;
  position: relative;
  overflow: hidden;
}

.fg-thumb>span {
  font-size: 30px;
  font-weight: 800;
  color: #ffffffeb;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .3);
  letter-spacing: -.02em;
}

.fg-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fg-card:hover .fg-thumb {
  box-shadow: 0 10px 24px #0000006b, inset 0 1px #ffffff4d;
}

.fg-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px 7px;
  background: linear-gradient(transparent 42%, #000c);
  opacity: 0;
  transition: opacity .14s;
}

.fg-thumb:hover .fg-hover {
  opacity: 1;
}

.fg-hovername {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.fg-player {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.fg-stage {
  flex: 1;
  background: #000;
  min-height: 0;
  position: relative;
}

.fg-stage canvas {
  width: 100%!important;
  height: 100%!important;
  display: block;
}

.fg-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.fg-stage {
  overflow: hidden;
}

.fg-frame.fit {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  will-change: transform;
}

.calc {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: color-mix(in srgb, #1c1c1e 58%, var(--app-bg));
}

.calc-display {
  flex: 0 0 auto;
  min-height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 18px 24px;
  color: #fff;
  font-weight: 300;
  font-size: 54px;
  line-height: 1;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.calc-keys {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #ffffff14;
}

.calc-key {
  background: #4a4a4c;
  color: #fff;
  font-size: clamp(18px, 4vw, 26px);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: filter .1s;
  user-select: none;
}

.calc-key:hover {
  filter: brightness(1.15);
}

.calc-key:active {
  filter: brightness(.85);
}

.calc-key.fn {
  background: #6a6a6c;
  color: #fff;
}

.calc-key.op {
  background: #ff9f0a;
  color: #fff;
  font-size: 30px;
}

.calc-key.op.active {
  background: #fff;
  color: #ff9f0a;
}

.calc-key.zero {
  grid-column: span 2;
  justify-content: flex-start;
  padding-left: 7%;
}

.clk {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.clk-tabs {
  display: flex;
  gap: 2px;
  padding: 8px 10px;
  background: var(--glass-2);
  border-bottom: .5px solid var(--hairline-2);
}

.clk-tab {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.clk-tab:hover {
  background: var(--hover);
  color: var(--text);
}

.clk-tab.active {
  background: var(--accent);
  color: var(--accent-ink);
}

.clk-body {
  flex: 1;
  overflow: auto;
  min-height: 0;
}

.clk-now {
  font-size: clamp(38px, 12cqi, 76px);
  font-weight: 200;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: 1;
}

.clk-day {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
}

.clk-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 30px;
  min-height: 100%;
}

.clk-big {
  font-size: 64px;
  font-weight: 200;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.clk-btns {
  display: flex;
  gap: 14px;
}

.clk-btns .btn {
  min-width: 90px;
}

.clk-set {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--text-2);
}

.clk-set input {
  width: 64px;
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  font-size: 28px;
  text-align: center;
  border-radius: 10px;
  padding: 8px 4px;
}

.clk-laps {
  width: min(320px, 90%);
  margin-top: 8px;
}

.clk-lap {
  display: flex;
  justify-content: space-between;
  padding: 8px 4px;
  border-top: .5px solid var(--hairline-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.cal {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
}

.cal-title {
  font-size: 19px;
  font-weight: 700;
  flex: 1;
}

.cal-nav {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 18px;
  color: var(--text-2);
}

.cal-nav:hover {
  background: var(--hover);
  color: var(--text);
}

.cal-today {
  padding: 6px 12px;
}

.cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 0 14px;
}

.cal-dow div {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  padding-bottom: 6px;
  text-transform: uppercase;
}

.cal-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 1fr;
  gap: 4px;
  padding: 0 14px 14px;
  min-height: 0;
}

.cal-cell {
  border-radius: 8px;
  padding: 4px 5px;
  font-size: 12px;
  cursor: default;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: .5px solid transparent;
}

.cal-cell:not(.empty):hover {
  background: var(--hover);
}

.cal-cell.today {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border-color: var(--accent);
}

.cal-num {
  font-weight: 600;
  align-self: flex-start;
}

.cal-cell.today .cal-num {
  background: var(--accent);
  color: var(--accent-ink);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-ev {
  font-size: 10.5px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 4px;
  padding: 1px 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-more {
  font-size: 10px;
  color: var(--text-3);
}

.iv {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.iv-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--glass-2);
  border-bottom: .5px solid var(--hairline-2);
}

.iv-zoom {
  font-size: 12px;
  color: var(--text-2);
  min-width: 42px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.iv-stage {
  flex: 1;
  min-height: 0;
  background: repeating-conic-gradient(#1a1a1f 0% 25%, #15151a 0% 50%) 0 / 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.iv-img {
  max-width: 100%;
  max-height: 100%;
  transition: transform .12s ease;
  object-fit: contain;
}

.iv-empty {
  color: var(--text-3);
  font-size: 13px;
  padding: 30px;
  text-align: center;
}

.iv-strip {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  background: var(--glass-2);
  border-top: .5px solid var(--hairline-2);
}

.iv-strip:empty {
  display: none;
}

.iv-thumb {
  flex: 0 0 auto;
  width: 66px;
  cursor: default;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
}

.iv-thumb.active {
  border-color: var(--accent);
}

.iv-thumb img {
  width: 100%;
  height: 46px;
  object-fit: cover;
  display: block;
}

.iv-thumb span {
  display: block;
  font-size: 9.5px;
  color: var(--text-3);
  padding: 2px 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.term {
  height: 100%;
  overflow: auto;
  background: color-mix(in srgb, #0c0c10 62%, var(--app-bg));
  color: #d8d8e0;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 12px 14px;
  line-height: 1.5;
}

.term-row {
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 1px;
}

.term-prompt {
  color: #30d158;
  font-weight: 600;
}

.term-tilde {
  color: #5ac8fa;
}

.term-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.term-inwrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
}

.term-ghost {
  position: absolute;
  inset: 0;
  pointer-events: none;
  white-space: pre;
  overflow: hidden;
  color: #55555f;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: inherit;
}

.term-ghost-typed {
  color: transparent;
}

.term-in {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: #d8d8e0;
  caret-color: #30d158;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: inherit;
}

.term-cmd {
  color: #5ac8fa;
}

.term-dir {
  color: #5ac8fa;
  font-weight: 600;
}

.term-ok {
  color: #30d158;
}

.term-sec {
  color: #fff;
  font-weight: 600;
}

.term-ai {
  color: #e8e8ee;
  border-left: 2px solid color-mix(in srgb, var(--accent) 60%, transparent);
  padding-left: 10px;
  margin: 4px 0 6px;
}

.term-row b {
  color: #fff;
  font-weight: 600;
}

.term-err {
  color: #ff6b6b;
}

.term-dim {
  color: #6b6b78;
}

.term-accent {
  color: #ff9f0a;
}

.term-app {
  color: #5ac8fa;
}

.term-fetch {
  margin: 0;
  line-height: 1.4;
}

.term-fetch b {
  color: #fff;
}

.retro {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.retro-bar {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  background: var(--glass-2);
  border-bottom: .5px solid var(--hairline-2);
  flex-wrap: wrap;
}

.retro-sys {
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--field);
  border: .5px solid var(--hairline);
}

.retro-sys:hover {
  background: var(--field-2);
  color: var(--text);
}

.retro-sys.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.retro-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  background: #000;
}

.retro-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.retro-welcome {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 30px;
  overflow: auto;
  background: radial-gradient(circle at 50% 35%, #1a1430, #0a0814 70%);
  color: var(--text);
}

.retro-logo {
  font-size: 44px;
}

.retro-welcome h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.retro-welcome p {
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
  max-width: 420px;
}

.retro-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  width: min(560px, 100%);
  margin: 14px 0;
}

.retro-card {
  padding: 16px 10px;
  border-radius: 14px;
  background: var(--g);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  box-shadow: 0 6px 16px #00000059, inset 0 1px #ffffff40;
  transition: transform .12s var(--ease-out);
}

.retro-card:hover {
  transform: translateY(-2px) scale(1.02);
}

.retro-card b {
  font-size: 15px;
  font-weight: 700;
}

.retro-card span {
  font-size: 11px;
  opacity: .85;
}

.retro-game {
  min-height: 92px;
  justify-content: flex-start;
}

.retro-tag {
  margin-top: auto;
  align-self: flex-start;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  background: #fff3;
}

.retro-sec {
  width: min(560px, 100%);
  text-align: left;
  margin: 18px 0 -4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.retro-note {
  font-size: 11.5px!important;
  color: var(--text-3)!important;
}

.cc {
  position: absolute;
  top: 34px;
  right: 8px;
  width: 320px;
  z-index: 6000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: var(--glass);
  border: .5px solid var(--hairline);
  border-radius: var(--r3);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--shadow-pop);
  transform-origin: top right;
  animation: pop-in .2s var(--ease-out);
}

@keyframes pop-in {
  0% {
    transform: scale(.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cc-row {
  display: flex;
  gap: 10px;
}

.cc-tile {
  background: var(--glass-2);
  border: .5px solid var(--hairline-2);
  border-radius: var(--r2);
  padding: 12px;
}

.cc-wide {
  flex: 1;
}

.cc-square {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  padding: 12px 10px;
  cursor: pointer;
  transition: background .12s ease;
}

.cc-square:hover {
  background: var(--hover);
}

.cc-square-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--field-2);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background .14s ease, color .14s ease;
}

.cc-square-ico svg {
  width: 17px;
  height: 17px;
  display: block;
}

.cc-square.on .cc-square-ico {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 4px 12px -4px var(--accent);
}

.cc-square-label {
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cc-tile-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cc-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 10px;
}

.cc-pill:hover {
  background: var(--hover);
}

.cc-pill-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--field-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.cc-pill.on .cc-pill-ico {
  background: var(--accent);
  color: var(--accent-ink);
}

.cc-pill-tx {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.cc-pill-tx b {
  font-size: 12.5px;
  font-weight: 600;
}

.cc-pill-tx i {
  font-size: 11px;
  font-style: normal;
  color: var(--text-2);
}

.cc-slider-tile {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cc-slider-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}

.cc-slider {
  position: relative;
  height: 30px;
  border-radius: 15px;
  overflow: hidden;
  background: var(--field-2);
}

.cc-slider:before {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(var(--v, 100) * 1%);
  background: linear-gradient(90deg, #f2f2f7, #fff);
  transition: width .06s linear;
}

.cc-slider-ico {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: #1c1c1e;
  mix-blend-mode: normal;
}

.cc-slider-ico svg {
  width: 15px;
  height: 15px;
  display: block;
}

.cc-slider-ico.cc-mute {
  cursor: pointer;
  z-index: 4;
  border-radius: 50%;
}

.cc-slider-ico.cc-mute:hover {
  opacity: .65;
}

.cc-slider-ico.cc-mute.muted {
  color: #d70015;
}

.cc-slider input[type=range] {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.cc-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 6px;
  height: 30px;
  background: transparent;
}

.cc-slider input[type=range]::-moz-range-thumb {
  width: 6px;
  height: 30px;
  border: 0;
  background: transparent;
}

.cc-wp-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.cc-wp-swatches .sw {
  aspect-ratio: 16/11;
  border-radius: 8px;
  cursor: pointer;
  background-image: var(--wp-bg);
  background-blend-mode: var(--wp-blend, screen);
  box-shadow: inset 0 0 0 .5px var(--hairline);
  outline: 2px solid transparent;
  outline-offset: 1.5px;
  transition: outline-color .12s ease;
}

.cc-wp-swatches .sw.active {
  outline-color: var(--accent);
}

.cc-greet {
  padding: 12px 14px;
}

.cc-greet-hi {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
}

.cc-wallpaper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spot {
  position: absolute;
  inset: 0;
  z-index: 7000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 16vh;
  background: #0000002e;
  animation: fade .12s ease;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.spot-box {
  width: min(620px, 90vw);
  background: var(--glass);
  border: .5px solid var(--hairline);
  border-radius: var(--r3);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  animation: pop-in .18s var(--ease-out);
}

.spot-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}

.spot-ico {
  color: var(--text-2);
  flex: 0 0 auto;
}

#spot-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 21px;
  font-weight: 400;
}

#spot-input::placeholder {
  color: var(--text-3);
}

.spot-results {
  max-height: 50vh;
  overflow: auto;
  border-top: .5px solid var(--hairline-2);
  padding: 6px;
}

.spot-results:empty {
  display: none;
}

.spot-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: default;
}

.spot-item.sel {
  background: var(--accent);
  color: var(--accent-ink);
}

.spot-item img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.spot-item .si-ico {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--field-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.spot-item .si-tx {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.spot-item .si-tx b {
  font-size: 13.5px;
  font-weight: 500;
}

.spot-item .si-tx span {
  font-size: 11.5px;
  opacity: .7;
}

.ctx {
  position: fixed;
  z-index: 8000;
  min-width: 220px;
  padding: 5px;
  background: var(--glass);
  border: .5px solid var(--hairline);
  border-radius: var(--r2);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--shadow-pop);
  font-size: 13px;
  color: var(--text);
  animation: pop-in .14s var(--ease-out);
  transform-origin: top left;
}

.ctx-item {
  padding: 7px 11px;
  border-radius: 6px;
  cursor: default;
}

.ctx-item:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.ctx-sep {
  height: .5px;
  background: var(--hairline);
  margin: 4px 6px;
}

.dlg-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #00000052;
  backdrop-filter: blur(2px);
  animation: fade .12s ease;
}

.dlg-overlay.closing {
  animation: fade .14s ease reverse;
}

.dlg {
  width: min(340px, 100%);
  background: var(--glass);
  border: .5px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  padding: 22px 22px 18px;
  text-align: center;
  animation: pop-in .18s var(--ease-out);
}

.dlg-icon {
  font-size: 30px;
  margin-bottom: 8px;
}

.dlg-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.dlg-msg {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  white-space: pre-wrap;
}

.dlg-input {
  width: 100%;
  margin-top: 14px;
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 13.5px;
  outline: none;
  resize: vertical;
}

.dlg-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #0a84ff40;
}

.dlg-btns {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.dlg-btns .btn {
  flex: 1;
  padding: 9px;
}

.tg {
  width: min(360px, 100%);
  padding: 24px 22px 18px;
}

.tg-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.tg-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.tg-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 11px;
  border: .5px solid var(--hairline);
  background: var(--field);
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  transition: border-color .15s;
}

.tg-link:hover,
.tg-link:focus-visible {
  outline: none;
  border-color: var(--accent);
}

.tg-link svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--accent);
}

.tg-link svg:last-child {
  width: 13px;
  height: 13px;
  color: var(--text-3, var(--text-2));
}

.tg-link span {
  flex: 1;
}

.legal-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-2);
  text-align: center;
}

.legal-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-note a:hover {
  color: var(--text);
}

.lk-legal {
  color: #ffffff9e;
  max-width: 270px;
  margin: 8px auto 0;
}

.lk-legal a:hover {
  color: #fff;
}

.about2-legal {
  margin-top: 18px;
}

.set-legal {
  margin-bottom: 18px;
}

.set-legal .set-row {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.set-legal .set-row:hover {
  background: var(--hover);
}

.set-go {
  color: var(--text-2);
  font-size: 13px;
}

.legal-body {
  background: #1a1824;
  overflow: hidden;
}

[data-theme=light] .legal-body {
  background: #f6f5fa;
}

.legal-load {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity .15s;
}

.legal-body.ready .legal-load {
  opacity: 0;
  pointer-events: none;
}

.legal-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  opacity: 0;
  transition: opacity .15s;
}

.legal-body.ready .legal-frame {
  opacity: 1;
}

.tg-overlay~.legal-sheet {
  background: transparent;
}

.legal-sheet {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #00000059;
  animation: fade .14s ease;
}

.legal-sheet-win {
  position: relative;
  width: min(900px, 100%);
  height: min(600px, 100%);
  min-width: 0;
  min-height: 0;
  animation: pop-in .18s var(--ease-out);
}

@media(max-width:720px) {
  .legal-sheet {
    padding: 0;
  }
  .legal-sheet-win {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

.btn.danger {
  background: #ff3b30;
  border-color: transparent;
  color: #fff;
}

.btn.danger:hover {
  filter: brightness(1.08);
}

.info-dlg {
  text-align: left;
  width: min(360px, 100%);
}

.info-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-head .app-tile {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}

.info-name {
  font-size: 18px;
  font-weight: 700;
}

.info-kind {
  font-size: 12.5px;
  color: var(--text-2);
}

.info-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin-top: 14px;
}

.info-rows {
  margin-top: 14px;
  border-top: .5px solid var(--hairline);
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px;
  border-bottom: .5px solid var(--hairline-2);
  font-size: 12.5px;
}

.info-row span {
  color: var(--text-3);
}

.info-row b {
  font-weight: 600;
}

#notif-stack {
  position: absolute;
  top: 36px;
  right: 10px;
  z-index: 6500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 320px;
}

.notif {
  background: var(--glass);
  border: .5px solid var(--hairline);
  border-radius: var(--r2);
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--shadow-pop);
  animation: notif-in .3s var(--ease-spring);
}

@keyframes notif-in {
  0% {
    transform: translate(120%);
    opacity: 0;
  }
  to {
    transform: translate(0);
    opacity: 1;
  }
}

.notif.leaving {
  animation: notif-out .25s var(--ease-out) forwards;
}

@keyframes notif-out {
  to {
    transform: translate(120%);
    opacity: 0;
  }
}

.notif img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.notif .n-tx b {
  font-size: 13px;
  display: block;
}

.notif .n-tx span {
  font-size: 12px;
  color: var(--text-2);
}

.ncenter {
  position: absolute;
  top: 34px;
  right: 8px;
  width: 330px;
  max-height: 72vh;
  z-index: 6000;
  display: flex;
  flex-direction: column;
  background: var(--glass);
  border: .5px solid var(--hairline);
  border-radius: var(--r3);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  animation: pop-in .18s var(--ease-out);
  transform-origin: top right;
}

.ncenter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: .5px solid var(--hairline-2);
}

.nc-clear {
  font-size: 12px;
  color: var(--accent-text);
  font-weight: 500;
}

.ncenter-list {
  overflow: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--glass-2);
}

.nc-item .app-tile {
  flex: 0 0 30px;
}

.nc-tx {
  flex: 1;
  min-width: 0;
}

.nc-tx b {
  font-size: 13px;
  display: block;
}

.nc-tx span {
  font-size: 12px;
  color: var(--text-2);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nc-at {
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
}

.nc-empty {
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
  padding: 36px 12px;
}

.mb-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 50%;
}

.mb-account:hover {
  background: var(--hover);
}

.acct-av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #888;
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  flex: 0 0 auto;
}

.acct-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acct-av.sm {
  width: 22px;
  height: 22px;
  font-size: 11px;
}

.acct-av.lg {
  width: 64px;
  height: 64px;
  font-size: 28px;
}

.acct-av.guest {
  background: var(--field-2);
  color: var(--text-2);
}

.acct {
  position: absolute;
  top: 34px;
  right: 8px;
  width: 296px;
  z-index: 6000;
  background: var(--glass);
  border: .5px solid var(--hairline);
  border-radius: var(--r3);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--shadow-pop);
  padding: 6px;
  animation: pop-in .18s var(--ease-out);
  transform-origin: top right;
}

.acct-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 15px;
  border-radius: 13px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 24%, transparent), transparent 78%), var(--field);
}

.acct-av-edit {
  position: relative;
}

.acct-av-edit .acct-av,
.acct-head>.acct-av {
  box-shadow: 0 0 0 2px var(--glass-strong), 0 0 0 3.5px color-mix(in srgb, var(--accent) 55%, transparent);
}

.acct-cam {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  display: grid;
  place-items: center;
  border: 2px solid var(--glass-strong);
  cursor: pointer;
}

.acct-cam:hover {
  filter: brightness(1.1);
}

.acct-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.acct-sub {
  font-size: 12px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.acct-note {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 12px 12px 14px;
}

.acct-body {
  padding: 4px 8px 8px;
}

.acct-emoji {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin: 10px 0 2px;
}

.acct-emoji button {
  font-size: 17px;
  padding: 5px;
  border-radius: 8px;
  cursor: pointer;
}

.acct-emoji button:hover {
  background: var(--hover);
}

.acct-upload {
  grid-column: span 7;
  font-size: 12px;
  color: var(--accent-text);
  cursor: pointer;
  padding: 6px;
  text-align: center;
}

.acct-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin: 14px 0 7px;
}

.acct-dms {
  margin-top: 12px;
}

.acct-save {
  width: 100%;
  margin-top: 12px;
}

.acct .btn {
  padding: 9px;
  border-radius: 11px;
}

.acct-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.acct-actions .btn {
  flex: 1;
}

.acct-signin {
  margin: 0 8px 8px;
  width: calc(100% - 16px);
}

.desk-ad {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  width: 160px;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
  color-scheme: normal;
}

.desk-ad iframe {
  display: block;
  pointer-events: auto;
}

.desk-ad:empty {
  display: none;
}

@media(max-width:1100px),
(max-height:700px) {
  .desk-ad {
    display: none;
  }
}

#widget-layer {
  position: absolute;
  inset: 28px 0 0;
  z-index: 2;
  pointer-events: none;
}

.weather-widget {
  position: absolute;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  color: #fff;
  min-width: 104px;
  line-height: 1.2;
  text-align: right;
  text-shadow: 0 0 3px rgba(0, 0, 0, .72), 0 1px 4px rgba(0, 0, 0, .62), 0 2px 14px rgba(0, 0, 0, .4);
  transition: transform .12s var(--ease-out);
}

.weather-widget.dragging {
  cursor: grabbing;
  transform: scale(1.04);
}

.weather-widget .ww-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.weather-widget .ww-ic {
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35));
}

.weather-widget .ww-tp {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.weather-widget .ww-cond {
  font-size: 13.5px;
  font-weight: 500;
  opacity: .95;
  margin-top: 3px;
}

.weather-widget .ww-city {
  display: inline-block;
  font-size: 12px;
  opacity: .85;
  margin-top: 5px;
  cursor: pointer;
}

.weather-widget .ww-city:hover {
  opacity: 1;
  text-decoration: underline;
}

.city-overlay {
  position: fixed;
  inset: 0;
  z-index: 8500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
  background: #00000052;
  backdrop-filter: blur(3px);
  animation: fade .12s ease;
}

.city-picker {
  width: min(420px, 92%);
  background: var(--glass);
  border: .5px solid var(--hairline);
  border-radius: var(--r3);
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  overflow: hidden;
  animation: pop-in .16s var(--ease-out);
}

.city-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: .5px solid var(--hairline);
}

.city-head svg {
  width: 18px;
  height: 18px;
  color: var(--text-3);
  flex: 0 0 auto;
}

.city-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 15px;
}

.city-input::placeholder {
  color: var(--text-3);
}

.city-x {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--field);
  color: var(--text);
  font-size: 11px;
  flex: 0 0 auto;
  cursor: pointer;
}

.city-x:hover {
  background: var(--field-2);
}

.city-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
}

.city-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.city-item.sel,
.city-item:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.city-flag {
  font-size: 22px;
  line-height: 1;
  flex: 0 0 auto;
}

img.city-flag {
  width: 27px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 .5px #0000002e;
}

.city-name {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
}

.city-name small {
  font-size: 12px;
  font-weight: 400;
  opacity: .7;
}

.city-item.sel small,
.city-item:hover small {
  opacity: .9;
}

.city-empty {
  padding: 18px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}

html[data-unlocked="1"] #lockscreen {
  display: none!important;
}

.lock {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  background: #08080eb8;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: opacity .5s ease, transform .5s var(--ease-out);
}

@supports not (backdrop-filter: blur(1px)) {
  .lock {
    background: #08080ef7;
  }
}

.lock.unlocking {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.lk-clock {
  margin-top: 11vh;
  text-align: center;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
}

.lk-time {
  font-size: clamp(64px, 13vw, 116px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.lk-date {
  font-size: 17px;
  font-weight: 500;
  opacity: .92;
  margin-top: 6px;
}

.lk-auth {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 11vh;
}

.lk-av {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 8px 30px #00000073;
}

.lk-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lk-logo {
  width: 70px;
  height: 70px;
  filter: drop-shadow(0 6px 20px rgba(255, 140, 80, .5));
}

.lk-name {
  font-size: 19px;
  font-weight: 600;
}

.lk-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lk-form-col {
  flex-direction: column;
}

.lk-input {
  background: #ffffff24;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  width: 220px;
  text-align: center;
}

.lk-input.wide {
  width: 264px;
}

.lk-input::placeholder {
  color: #fff9;
}

.lk-input:focus {
  border-color: #ffffff8c;
  background: #fff3;
}

.lk-go {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff38;
  color: #fff;
  font-size: 18px;
  flex: 0 0 42px;
}

.lk-go:hover {
  background: #ffffff61;
}

.lk-submit {
  width: 264px;
  padding: 11px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
}

.lk-submit:hover {
  filter: brightness(1.08);
}

.lk-tabs {
  display: flex;
  gap: 4px;
  background: #ffffff1f;
  border-radius: 10px;
  padding: 3px;
}

.lk-tab {
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 13px;
  color: #fffc;
}

.lk-tab.active {
  background: #ffffff42;
  color: #fff;
}

.lk-err {
  color: #ff9a9a;
  font-size: 12.5px;
  min-height: 15px;
}

.lk-links {
  font-size: 12.5px;
  opacity: .85;
}

.lk-links a {
  color: #fff;
  cursor: pointer;
  text-decoration: underline;
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, #14121f, #060509 70%);
  transition: opacity .7s ease;
}

.boot.gone {
  opacity: 0;
  pointer-events: none;
}

.boot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.boot-logo {
  width: 92px;
  height: 92px;
  animation: boot-logo 2s var(--ease-out) infinite alternate;
}

@keyframes boot-logo {
  0% {
    transform: scale(.96);
    filter: drop-shadow(0 0 16px rgba(255, 150, 80, .4));
  }
  to {
    transform: scale(1.04);
    filter: drop-shadow(0 0 30px rgba(255, 120, 140, .6));
  }
}

.boot-word {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: lowercase;
  color: #fff;
  padding-left: .32em;
}

.boot-bar {
  width: 180px;
  height: 4px;
  border-radius: 3px;
  background: #ffffff1f;
  overflow: hidden;
}

.boot-bar-fill {
  width: 0%;
  height: 100%;
  border-radius: 3px;
  background: var(--brand-grad);
  transition: width .2s ease;
}

#dimmer {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 9000;
  transition: opacity .2s ease;
}

.muapp {
  container-type: inline-size;
}

.mvapp,
.anapp,
.muapp {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--app-bg);
  color: var(--text);
  font-family: inherit;
  overflow: hidden;
}

.mv-spin,
.an-spin,
.mu-spin {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid var(--field-2);
  border-top-color: var(--accent);
  animation: musp .7s linear infinite;
  margin: 0 auto;
}

@keyframes musp {
  to {
    transform: rotate(360deg);
  }
}

.mv-top,
.an-top,
.mu-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline-2);
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.mv-brand,
.an-brand,
.mu-brand {
  font-size: 22px;
  font-weight: 800;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.02em;
}

.mv-seg,
.an-seg,
.mu-seg {
  display: flex;
  gap: 2px;
  background: var(--field);
  border-radius: 11px;
  padding: 3px;
}

.mv-seg-b,
.an-seg-b,
.mu-seg-b {
  border: 0;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 8px;
  cursor: pointer;
}

.mv-seg-b.active,
.an-seg-b.active,
.mu-seg-b.active {
  background: var(--accent);
  color: var(--accent-ink);
}

.mv-search,
.an-search,
.mu-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--field);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 8px 12px;
  color: var(--text-2);
  flex: 0 1 300px;
  min-width: 180px;
}

.mv-search input,
.an-search input,
.mu-search input {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  width: 100%;
}

.mv-search:focus-within,
.an-search:focus-within,
.mu-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #0a84ff40;
}

.mv-scroll,
.an-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

.mv-rowlabel,
.an-rowlabel {
  font-size: 15px;
  font-weight: 700;
  margin: 0 2px 14px;
  color: var(--text);
}

.mv-grid,
.an-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px 14px;
}

.mv-card,
.an-card {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mv-poster,
.an-poster {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--field-2);
  box-shadow: 0 6px 20px #0000004d;
  transition: transform .18s, box-shadow .18s;
}

.mv-card:hover .mv-poster,
.an-card:hover .an-poster {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 40%, transparent);
}

.mv-poster img,
.an-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mv-noimg,
.an-noimg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 800;
  color: var(--text-3);
}

.mv-rate,
.an-score {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #000000b8;
  color: #ffd166;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 8px;
}

.mv-ct,
.an-ct {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 2px;
}

.mv-cttitle,
.an-cttitle {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mv-ctyear,
.an-ctsub {
  font-size: 12px;
  color: var(--text-2);
}

.mv-empty,
.an-empty,
.mu-msg {
  color: var(--text-2);
  text-align: center;
  padding: 50px 20px;
  font-size: 14px;
}

.mv-more,
.an-more {
  min-height: 24px;
  padding: 10px 0;
}

.mv-detail,
.an-detail,
.mv-player,
.an-player {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--app-bg);
  overflow-y: auto;
  animation: mvfade .2s ease;
}

.mvapp:has(.mv-detail:not([hidden])) .mv-scroll,
.mvapp:has(.mv-player:not([hidden])) .mv-scroll,
.anapp:has(.an-detail:not([hidden])) .an-scroll,
.anapp:has(.an-player:not([hidden])) .an-scroll {
  visibility: hidden;
}

@keyframes mvfade {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mv-dbg,
.an-dbg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 320px;
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.mv-dbg:after,
.an-dbg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, var(--app-bg));
}

.mv-dbody,
.an-dbody {
  position: relative;
  z-index: 1;
  padding: 64px 28px 28px;
  max-width: 920px;
  margin: 0 auto;
}

.mv-dhead,
.an-dhead {
  display: flex;
  gap: 22px;
  align-items: flex-end;
}

.mv-dposter,
.an-dposter {
  width: 150px;
  flex: 0 0 150px;
  border-radius: 14px;
  box-shadow: 0 10px 30px #0006;
}

.mv-dmeta {
  min-width: 0;
}

.mv-dmeta h2,
.an-dmeta h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}

.mv-dsub,
.an-dsub {
  color: var(--text-2);
  font-size: 13.5px;
  margin-bottom: 10px;
}

.mv-dgenres,
.an-dgenres {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.mv-dgenres span,
.an-dgenres span {
  font-size: 11.5px;
  color: var(--accent-text);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  padding: 3px 9px;
  border-radius: 20px;
}

.mv-doverview,
.an-doverview {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 16px;
  max-height: 120px;
  overflow-y: auto;
}

.mv-play {
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 35%, transparent);
}

.mv-play:hover {
  filter: brightness(1.08);
}

.mv-dloading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 90px;
  color: var(--text-2);
}

.mv-eps {
  margin-top: 26px;
}

.mv-epsbar {
  margin-bottom: 14px;
}

.mv-seasonsel {
  background: var(--field);
  border: 1px solid var(--hairline);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.mv-eplist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  min-height: 40px;
}

.mv-ep {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--hairline-2);
  background: var(--field);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}

.mv-ep:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.mv-epthumb {
  position: relative;
  width: 76px;
  height: 44px;
  flex: 0 0 76px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--field-2);
}

.mv-epthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-epthumb span {
  position: absolute;
  left: 4px;
  bottom: 3px;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: #0009;
  padding: 1px 5px;
  border-radius: 5px;
}

.mv-eptitle {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.an-epwrap {
  margin-top: 26px;
}

.an-eplabel {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.an-eps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 8px;
}

.an-epb {
  border: 1px solid var(--hairline);
  background: var(--field);
  color: var(--text-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 10px;
  cursor: pointer;
}

.an-epb:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--text);
}

.an-epb.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.mv-player,
.an-player {
  display: flex;
  flex-direction: column;
  background: #000;
  overflow: hidden;
}

.mv-pframe,
.an-pframe {
  position: relative;
  flex: 1;
  background: #000;
}

.pv-bar {
  flex: 0 0 auto;
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  background: #000;
  overflow-x: auto;
  scrollbar-width: none;
}

.pv-bar::-webkit-scrollbar {
  display: none;
}

.pv-src {
  flex: 0 0 auto;
  height: 24px;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #ffffff0f;
  color: #ebebf59e;
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
}

.pv-src:hover {
  background: #ffffff1f;
  color: #fff;
}

.pv-src.on {
  background: var(--accent);
  border-color: transparent;
  color: var(--accent-ink);
}

.pv-src:focus-visible {
  outline: none;
  border-color: var(--accent);
}

.mv-pframe iframe,
.an-pframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.mv-ploading,
.an-ploading,
.an-punavail {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: #ebebf59e;
  font-size: 14px;
  background: #000;
}

.an-punavail {
  gap: 6px;
  text-align: center;
}

.an-punavail span {
  font-size: 12.5px;
  color: #ebebf566;
}

.mu-scroll {
  position: relative;
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 0;
}

.mu-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 4px 12px;
}

.mu-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mu-back {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--field-2);
  color: var(--text);
  cursor: pointer;
}

.mu-back:hover {
  background: var(--hover);
}

.mu-playall {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  cursor: pointer;
  padding: 6px 13px 6px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  fill: #fff;
  font-size: 12.5px;
  font-weight: 650;
}

.mu-playall svg {
  width: 15px;
  height: 15px;
}

.mu-playall:hover {
  filter: brightness(1.07);
}

.mu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 14px;
  padding-bottom: 18px;
}

.mu-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  background: var(--field-2);
  text-align: left;
}

.mu-card:hover {
  background: var(--hover);
}

.mu-cvr {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--field);
  display: grid;
  place-items: center;
  color: var(--text-3);
  fill: var(--text-3);
}

.mu-cvr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mu-cvr.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
}

.mu-card.pinned .mu-cvr.empty {
  background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #000));
  fill: #fff;
  color: var(--accent-ink);
}

.mu-cname {
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mu-ccount {
  font-size: 11.5px;
  color: var(--text-2);
}

.mu-cnew .mu-cvr {
  border: 1.5px dashed var(--hairline-2);
  background: transparent;
}

.mu-card {
  position: relative;
}

.mu-cmore {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
  fill: #fff;
  background: #00000080;
  opacity: 0;
  transition: opacity .12s;
}

.mu-card:hover .mu-cmore,
.mu-cmore:focus-visible {
  opacity: 1;
}

.mu-cmore:hover {
  background: #000000b8;
}

.mu-headmore {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: var(--field-2);
  fill: var(--text);
}

.mu-headmore:hover {
  background: var(--hover);
}

.mu-menu button.mu-danger {
  color: #ff453a;
}

.mu-menu button.mu-danger:hover {
  background: #ff453a;
  color: #fff;
}

.mu-rmore {
  border: 0;
  background: transparent;
  fill: var(--text-3);
  color: var(--text-3);
  cursor: pointer;
  padding: 4px;
  opacity: 0;
  transition: opacity .12s;
  flex: 0 0 auto;
  border-radius: 6px;
}

.mu-row:hover .mu-rmore {
  opacity: 1;
}

.mu-rmore:hover {
  background: var(--hover);
  fill: var(--text);
}

.mu-menu {
  position: absolute;
  z-index: 40;
  min-width: 190px;
  max-width: 250px;
  padding: 5px;
  border-radius: 12px;
  background: var(--menu-bg, var(--glass-strong));
  border: .5px solid var(--hairline-2);
  box-shadow: 0 12px 34px #00000052;
  backdrop-filter: blur(20px);
}

.mu-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
}

.mu-menu button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mu-menu button b {
  color: var(--accent-text);
  font-weight: 700;
}

.mu-menu button:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.mu-menu button:hover b {
  color: #fff;
}

.mu-mdiv {
  height: 1px;
  margin: 4px 6px;
  background: var(--hairline-2);
}

@container app (max-width: 460px) {
  .mu-grid {
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 10px;
  }
  .mu-playall span {
    display: none;
  }
  .mu-playall {
    padding: 6px 9px;
  }
}

@media(hover:none) {
  .mu-rfav, .mu-rmore, .mu-cmore {
    opacity: 1;
  }
}

.mu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 16px;
}

.mu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background .12s;
}

.mu-row:hover {
  background: var(--hover);
}

.mu-row.playing {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.mu-rc {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--field-2);
}

.mu-rc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mu-rcbars {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: #00000073;
  fill: #fff;
}

.mu-row:hover .mu-rcbars {
  display: grid;
}

.mu-row.playing .mu-rcbars {
  display: grid;
  fill: var(--accent);
}

.mu-rt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mu-rtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mu-row.playing .mu-rtitle {
  color: var(--accent-text);
}

.mu-rartist {
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mu-rfav {
  border: 0;
  background: transparent;
  fill: var(--text-3);
  cursor: pointer;
  padding: 4px;
  opacity: 0;
  transition: opacity .12s;
  flex: 0 0 auto;
}

.mu-row:hover .mu-rfav {
  opacity: 1;
}

.mu-rfav.on {
  fill: var(--accent);
  opacity: 1;
}

.mu-rd {
  font-size: 12px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  min-width: 34px;
  text-align: right;
}

.mu-loading {
  padding: 44px;
}

.mu-bar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(260px, 1.8fr) minmax(96px, .7fr);
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: var(--glass-strong);
  border-top: 1px solid var(--hairline-2);
}

.mu-np {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.mu-npcover {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 9px;
  background: var(--field-2) center/cover no-repeat;
  box-shadow: 0 4px 12px #0000004d;
}

.mu-npmeta {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mu-nptitle {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mu-npartist {
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mu-npfav {
  border: 0;
  background: transparent;
  fill: var(--text-3);
  cursor: pointer;
  padding: 4px;
  flex: 0 0 auto;
}

.mu-npfav.on {
  fill: var(--accent);
}

.mu-ctrls {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mu-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mu-ic {
  border: 0;
  background: transparent;
  color: var(--text);
  fill: var(--text);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.mu-ic:hover {
  background: var(--hover);
}

.mu-ic.mu-sm {
  color: var(--text-2);
  fill: var(--text-2);
}

.mu-ic.mu-sm.on {
  color: var(--accent-text);
  fill: var(--accent);
}

.mu-ic.mu-play {
  background: var(--accent);
  fill: #fff;
  color: var(--accent-ink);
  width: 42px;
  height: 42px;
}

.mu-ic.mu-play:hover {
  transform: scale(1.06);
  background: var(--accent);
  color: var(--accent-ink);
}

.mu-seekrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mu-t {
  font-size: 11px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  min-width: 30px;
  text-align: center;
}

.mu-seek,
.mu-volslider {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 3px;
  background: var(--field-2);
  cursor: pointer;
  outline: none;
}

.mu-seek {
  flex: 1;
}

.mu-seek::-webkit-slider-thumb,
.mu-volslider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}

.mu-vol {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  fill: var(--text-2);
  color: var(--text-2);
}

.mu-lyrbtn {
  width: 30px;
  height: 30px;
  flex: none;
}

.mu-main {
  flex: 1;
  min-height: 0;
  display: flex;
  position: relative;
}

.mu-main>.mu-scroll {
  min-width: 0;
}

.mu-lyr {
  flex: 0 0 clamp(250px, 34%, 360px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--hairline-2);
}

.mu-lyr[hidden] {
  display: none;
}

.mu-lyrhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px 4px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.mu-lyrbody {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 20px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 82%, transparent);
  mask-image: linear-gradient(transparent, #000 12%, #000 82%, transparent);
}

.mu-lyrbody::-webkit-scrollbar {
  display: none;
}

.mu-lyrpad {
  height: 40%;
}

.mu-ll {
  margin: 0;
  padding: 7px 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text-2);
  opacity: .55;
  cursor: pointer;
  transition: opacity .25s ease, color .25s ease, transform .25s ease;
  transform-origin: left center;
}

.mu-ll:hover {
  opacity: .85;
}

.mu-ll.past {
  opacity: .38;
}

.mu-ll.gap {
  font-size: 15px;
}

.mu-ll.on {
  color: var(--text);
  opacity: 1;
  transform: scale(1.04);
}

.mu-lyrplain {
  white-space: pre-wrap;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  padding: 12px 0 40px;
}

.mu-lyrmsg {
  color: var(--text-2);
  text-align: center;
  font-size: 13px;
  padding: 60px 10px;
}

@container (max-width: 640px) {
  .mu-lyr {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: var(--win-solid);
    border-left: 0;
  }
}

@media(prefers-reduced-motion:reduce) {
  .mu-ll {
    transition: none;
  }
  .mu-ll.on {
    transform: none;
  }
}

.mu-volslider {
  width: 88px;
}

.meet {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--app-bg);
  position: relative;
}

.meet-join {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
}

.meet-join[hidden],
.meet-stage[hidden] {
  display: none;
}

.meet-join-card {
  width: min(760px, 100%);
  text-align: center;
  display: flex;
  align-items: stretch;
  gap: 22px;
}

.meet-join-l {
  flex: 1.15;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.meet-join-r {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.meet-devs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.meet-dev {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--field);
  border: .5px solid var(--hairline);
}

.meet-dev svg {
  width: 15px;
  height: 15px;
  color: var(--text-3);
  flex: 0 0 15px;
}

.meet-dev select {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 12.5px;
}

.meet-level {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 52px;
  height: 4px;
  border-radius: 3px;
  background: #ffffff29;
  overflow: hidden;
}

.meet-level i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #30d158, #ffd60a);
  transition: width .08s linear;
}

.meet-as {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.meet-as-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
}

.meet-recents {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  margin-top: 6px;
  text-align: left;
}

.meet-recents-h {
  font-size: 11.5px;
  color: var(--text-3);
  padding: 0 2px 4px;
}

.meet-recent {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 6px 0 10px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 12.5px;
  cursor: pointer;
}

.meet-recent>svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--text-3);
}

.meet-recent:hover {
  background: var(--field);
  color: var(--text);
}

.meet-recent-code {
  font-family: var(--font-mono);
  letter-spacing: .06em;
  color: var(--text);
}

.meet-recent-at {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meet-recent-go {
  height: 26px;
  padding: 0 11px;
  border-radius: 7px;
  background: var(--field-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

.meet-recent:hover .meet-recent-go {
  background: var(--accent);
  color: #fff;
}

.meet-recent-x {
  display: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  place-items: center;
  color: var(--text-3);
}

.meet-recent-x svg {
  width: 12px;
  height: 12px;
}

.meet-recent:hover .meet-recent-x {
  display: grid;
}

.meet-recent-x:hover {
  background: var(--field-2);
  color: var(--text);
}

.meet-sig {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
  padding: 3px 4px;
  border-radius: 6px;
  background: #00000073;
}

.meet-sig i {
  width: 3px;
  border-radius: 1px;
  background: #ffffff52;
}

.meet-sig i:nth-child(1) {
  height: 4px;
}

.meet-sig i:nth-child(2) {
  height: 7px;
}

.meet-sig i:nth-child(3) {
  height: 10px;
}

.meet-sig[data-bars="1"] i:nth-child(1) {
  background: #ff453a;
}

.meet-sig[data-bars="2"] i:nth-child(-n+2) {
  background: #ffd60a;
}

.meet-sig[data-bars="3"] i {
  background: #30d158;
}

.call-tile.weak {
  outline: 1.5px solid rgba(255, 69, 58, .55);
}

.meet-keys {
  padding: 10px 12px;
  display: grid;
  gap: 6px;
  min-width: 220px;
}

.meet-key {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-2);
}

.meet-key kbd {
  min-width: 46px;
  text-align: center;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--field-2);
  border: .5px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text);
}

@container app (max-width: 720px) {
  .meet-join-card {
    flex-direction: column;
  }
}

.meet-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 40%, transparent);
}

.meet-logo svg {
  width: 26px;
  height: 26px;
}

.meet-join-card h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 2px 0 0;
}

.meet-join-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 320px;
  margin: 0 0 6px;
}

.meet-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 20%, #21212b, #121218);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.meet-preview-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  display: none;
}

.meet-preview.live:not(.cam-off) .meet-preview-vid {
  display: block;
}

.meet-preview.live:not(.cam-off) .meet-preview-av {
  display: none;
}

.meet-preview-av {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}

.meet-preview-ctl {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.meet-pre-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00000080;
  color: #fff;
  display: grid;
  place-items: center;
}

.meet-pre-btn svg {
  width: 18px;
  height: 18px;
}

.meet-pre-btn.off {
  background: #ea4335;
}

.meet-join-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--accent) 40%, transparent);
}

.meet-join-btn svg {
  width: 18px;
  height: 18px;
}

.meet-join-btn:hover {
  filter: brightness(1.08);
}

.meet-or {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: var(--text-3);
  font-size: 11.5px;
}

.meet-or:before,
.meet-or:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--hairline);
}

.meet-joinrow {
  display: flex;
  gap: 8px;
  width: 100%;
}

.meet-code-in {
  flex: 1;
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 11px 14px;
  border-radius: 12px;
  outline: none;
}

.meet-code-in:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.meet-join2 {
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  padding: 0 18px;
  border-radius: 12px;
}

.meet-join2:hover {
  background: var(--field-2);
}

.meet-join-err {
  font-size: 12.5px;
  color: #ff5f57;
  min-height: 16px;
}

.meet-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.meet-body {
  flex: 1;
  min-height: 0;
  display: flex;
}

.meet-main {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
}

.meet-main .call-grid {
  flex: 1;
}

.meet-reacts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.meet-react-fly {
  position: absolute;
  bottom: 12%;
  font-size: 34px;
  animation: meet-fly 2.6s ease-out forwards;
}

@keyframes meet-fly {
  0% {
    transform: translateY(0) scale(.6);
    opacity: 0;
  }
  12% {
    transform: translateY(-10px) scale(1.1);
    opacity: 1;
  }
  to {
    transform: translateY(-220px) scale(1);
    opacity: 0;
  }
}

.meet-side {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  background: var(--glass-2);
  border-left: .5px solid var(--hairline-2);
  min-height: 0;
}

.meet-side[hidden] {
  display: none;
}

.meet-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: .5px solid var(--hairline-2);
}

.meet-side-x {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--text-2);
  display: grid;
  place-items: center;
}

.meet-side-x:hover {
  background: var(--hover);
  color: var(--text);
}

.meet-side-x svg {
  width: 16px;
  height: 16px;
}

.meet-people {
  flex: 1;
  overflow: auto;
  padding: 8px;
}

.meet-people[hidden] {
  display: none;
}

.meet-pcount {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-3);
  font-weight: 700;
  padding: 6px 8px;
}

.meet-prow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
}

.meet-prow:hover {
  background: var(--hover);
}

.meet-pav {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.meet-pmeta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.meet-pname {
  font-size: 13.5px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meet-ptag {
  font-size: 10.5px;
  color: var(--accent-text);
  font-weight: 700;
}

.meet-ptag.hand {
  color: #ffb020;
}

.meet-pmic {
  color: var(--text-3);
}

.meet-pmic svg {
  width: 15px;
  height: 15px;
}

.meet-pmic.muted {
  color: #ff6b61;
}

.meet-pkick {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--text-2);
  display: grid;
  place-items: center;
}

.meet-pkick:hover {
  background: var(--hover);
}

.meet-pkick svg {
  width: 16px;
  height: 16px;
}

.meet-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.meet-chat[hidden] {
  display: none;
}

.meet-msgs {
  flex: 1;
  overflow: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.meet-msg {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.meet-msg.mine {
  align-items: flex-end;
}

.meet-msg-who {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
}

.meet-msg-tx {
  font-size: 13.5px;
  line-height: 1.4;
  background: var(--field);
  padding: 7px 11px;
  border-radius: 12px;
  word-break: break-word;
  max-width: 92%;
}

.meet-msg.mine .meet-msg-tx {
  background: var(--accent);
  color: var(--accent-ink);
}

.meet-compose {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: .5px solid var(--hairline-2);
}

.meet-msg-in {
  flex: 1;
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  padding: 9px 12px;
  border-radius: 20px;
  outline: none;
}

.meet-msg-in:focus {
  border-color: var(--accent);
}

.meet-send {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}

.meet-send svg {
  width: 18px;
  height: 18px;
}

.meet-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--glass-strong);
  border-top: .5px solid var(--hairline-2);
}

.meet-bar-l {
  flex: 1;
  min-width: 0;
  display: flex;
}

.meet-bar-c {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meet-bar-r {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.meet-code-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--field);
  border: .5px solid var(--hairline);
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}

.meet-code-chip:hover {
  background: var(--field-2);
}

.meet-code-chip svg {
  width: 15px;
  height: 15px;
  color: var(--text-2);
}

.meet-code-show {
  letter-spacing: 1.5px;
}

.meet-ctl {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--field);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: background .12s, transform .08s;
}

.meet-ctl:hover {
  background: var(--field-2);
}

.meet-ctl:active {
  transform: scale(.94);
}

.meet-ctl svg {
  width: 22px;
  height: 22px;
}

.meet-ctl.off {
  background: #ea4335;
  color: #fff;
}

.meet-ctl.on {
  background: color-mix(in srgb, var(--accent) 26%, transparent);
  color: var(--accent-text);
}

.meet-ctl.dim {
  opacity: .5;
}

.meet-ctl.meet-leave {
  background: #ea4335;
  color: #fff;
  width: 58px;
}

.meet-ctl.meet-leave:hover {
  background: #d33;
}

.meet-host-only {
  display: none;
}

.meet.is-host .meet-host-only {
  display: grid;
}

.meet-ctl2 {
  position: relative;
  height: 42px;
  min-width: 42px;
  padding: 0 12px;
  border-radius: 12px;
  background: transparent;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meet-ctl2:hover {
  background: var(--hover);
  color: var(--text);
}

.meet-ctl2.on {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent-text);
}

.meet-ctl2 svg {
  width: 20px;
  height: 20px;
}

.meet-count {
  font-size: 13px;
  font-weight: 700;
}

.meet-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ea4335;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.meet-badge[hidden] {
  display: none;
}

.meet-reactbar {
  position: absolute;
  left: 50%;
  bottom: 74px;
  transform: translate(-50%);
  display: flex;
  gap: 4px;
  padding: 6px;
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
  z-index: 30;
  backdrop-filter: blur(14px);
}

.meet-reactbar[hidden] {
  display: none;
}

.meet-reactbar button {
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.meet-reactbar button:hover {
  background: var(--hover);
  transform: scale(1.15);
}

.meet-pin {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #00000080;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
}

.meet-pin svg {
  width: 15px;
  height: 15px;
}

.call-tile:hover .meet-pin {
  display: flex;
}

.meet-pin.on {
  display: flex;
  background: var(--accent);
  color: var(--accent-ink);
}

.meet .call-tile:not(.self):hover .call-host-btn {
  display: flex;
}

.meet-tile-hand {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translate(-50%);
  font-size: 20px;
  display: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
  animation: meet-wave 1s ease-in-out infinite;
  z-index: 2;
}

.call-tile.hand-up .meet-tile-hand {
  display: block;
}

@keyframes meet-wave {
  0%, to {
    transform: translate(-50%) rotate(-8deg);
  }
  50% {
    transform: translate(-50%) rotate(8deg);
  }
}

.meet-tile-present {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  align-items: center;
  gap: 5px;
  background: color-mix(in srgb, var(--accent) 85%, #000);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px 3px 6px;
  border-radius: 8px;
  z-index: 2;
}

.meet-tile-present svg {
  width: 13px;
  height: 13px;
}

.call-tile.sharing .meet-tile-present {
  display: flex;
}

.call-tile.self.sharing .call-feed {
  transform: none;
}

.call-tile.sharing .call-feed {
  object-fit: contain;
  background: #000;
}

.call-grid.has-pin {
  align-content: flex-start;
}

.call-grid.has-pin .call-tile {
  width: clamp(110px, 14%, 170px);
  aspect-ratio: 16/10;
}

.call-grid.has-pin .call-tile.is-pinned {
  width: 100%;
  flex-basis: 100%;
  aspect-ratio: 16/9;
  max-height: 72%;
  order: -1;
}

@media(hover:none) {
  .fg-hover, .mu-rfav {
    opacity: 1;
  }
  .meet-pin {
    display: flex;
  }
  .meet .call-tile:not(.self) .call-host-btn, .call.is-host .call-tile:not(.self) .call-host-btn {
    display: flex;
  }
  .mp-item-del {
    display: block;
  }
  .mu-row:hover {
    background: transparent;
  }
  .desktop-icon:hover .app-tile, .folder-item:hover .app-tile, .fg-card:hover .fg-thumb, .mv-card:hover .mv-poster, .an-card:hover .an-poster {
    transform: none;
  }
}

@container app (max-width: 900px) {
  .mv-grid, .an-grid {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  }
  .meet-side {
    flex: 0 0 250px;
  }
  .bh-cards {
    max-width: 542px;
  }
}

@media(max-width:720px) {
  #menubar {
    padding: 0 6px;
    font-size: 12px;
  }
  .mb-left {
    gap: 8px;
    min-width: 0;
  }
  .mb-right {
    gap: 3px;
  }
  .mb-weather, .mb-div, .mb-battery-pct, .mb-menu, .mb-app {
    display: none;
  }
  .mb-icon {
    width: 25px;
    height: 22px;
  }
  .mb-icon svg {
    width: 15px;
    height: 15px;
  }
  .mb-clock {
    gap: 6px;
    font-size: 12px;
  }
  .mb-brand {
    font-size: 12.5px;
  }
  #icon-grid {
    inset: 30px 2px 76px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    grid-auto-rows: 92px;
    align-content: start;
    gap: 2px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .desktop-icon {
    position: static!important;
    left: auto!important;
    top: auto!important;
    width: auto;
    padding: 6px 2px 4px;
  }
  .desktop-icon.dragging {
    transform: none;
  }
  .desktop-icon .app-tile {
    width: 52px;
    height: 52px;
  }
  .icon-label {
    font-size: 11px;
    max-width: 72px;
  }
  .window {
    min-width: 0;
    min-height: 0;
  }
  .window:not(.maximized), .window.maximized {
    inset: 0 0 68px!important;
    width: auto!important;
    height: auto!important;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }
  .rz {
    display: none;
  }
  .titlebar {
    cursor: default;
  }
  #dock {
    left: 0;
    right: 0;
    transform: none;
    display: flex;
    justify-content: center;
    bottom: max(6px, env(safe-area-inset-bottom));
  }
  .dock-inner {
    max-width: calc(100vw - 8px);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 20px;
  }
  .dock-inner::-webkit-scrollbar {
    display: none;
  }
  .dock-app {
    width: 44px;
    height: 44px;
  }
  .dock-app:hover {
    transform: none;
  }
  .weather-widget {
    display: none!important;
  }
  .cc {
    width: min(320px, calc(100vw - 12px));
    right: 6px;
  }
  .ctx {
    min-width: 180px;
  }
  .dlg-overlay {
    padding: 16px;
  }
  .spot {
    padding-top: 10vh;
  }
}

@container app (max-width: 720px) {
  .settings-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .settings-side {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: .5px solid var(--hairline-2);
    padding: 8px;
  }
  .settings-side::-webkit-scrollbar {
    display: none;
  }
  .settings-side-title {
    display: none;
  }
  .settings-side .item {
    flex: 0 0 auto;
    white-space: nowrap;
    margin-bottom: 0;
  }
  .settings-main {
    padding: 18px 16px;
  }
  .wp-options, .th-wps {
    grid-template-columns: repeat(3, 1fr);
  }
  .fm {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .fm-side {
    flex-direction: row;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    border-right: 0;
    border-bottom: .5px solid var(--hairline-2);
    padding: 8px;
  }
  .fm-side::-webkit-scrollbar {
    display: none;
  }
  .fm-side-label, .fm-usage {
    display: none;
  }
  .fm-side-item {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }
  .bh-cards {
    max-width: 100%;
    gap: 12px;
    padding: 0 0 0 10px;
  }
  .bh-glow {
    width: min(520px, 92%);
  }
  .bh-search {
    height: 50px;
    margin-top: 18px;
  }
  .browser-bar {
    gap: 2px;
    padding: 4px 6px;
    width: calc(100% - 16px);
  }
  .nav-btn {
    width: 28px;
    height: 28px;
  }
  .br-brand {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }
  .br-tabpanel {
    left: 8px;
    width: min(248px, calc(100% - 16px));
  }
  .br-settings {
    width: min(258px, calc(100vw - 20px));
    right: 4px;
  }
  .br-menu {
    width: min(216px, calc(100vw - 20px));
    right: 4px;
  }
  .fg-head {
    padding: 14px 14px 10px;
    gap: 10px;
  }
  .fg-head h2 {
    font-size: 19px;
  }
  .fg-actions {
    flex: 1;
  }
  .fg-search {
    width: 100%;
  }
  .fg-grid {
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
    padding: 6px 14px 18px;
  }
  .mv-top, .an-top, .mu-top {
    padding: 12px 14px;
    gap: 10px;
  }
  .mv-brand, .an-brand, .mu-brand {
    font-size: 19px;
  }
  .mv-search, .an-search, .mu-search {
    margin-left: 0;
    flex: 1 1 100%;
    min-width: 0;
  }
  .mv-scroll, .an-scroll {
    padding: 14px;
  }
  .mv-grid, .an-grid {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 14px 10px;
  }
  .mv-dbg, .an-dbg {
    height: 210px;
  }
  .mv-dbody, .an-dbody {
    padding: 44px 16px 22px;
  }
  .mv-dhead, .an-dhead {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .mv-dposter, .an-dposter {
    width: 108px;
    flex: 0 0 108px;
  }
  .mv-dmeta h2, .an-dmeta h2 {
    font-size: 20px;
  }
  .mv-doverview, .an-doverview {
    max-height: 132px;
  }
  .mv-eplist {
    grid-template-columns: 1fr;
  }
  .an-eps {
    grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
  }
  .mu-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
  }
  .mu-bar {
    position: relative;
  }
  .mu-vol {
    position: absolute;
    top: 12px;
    right: 12px;
  }
  .mu-vol>svg, .mu-volslider {
    display: none;
  }
  .mu-np {
    padding-right: 34px;
  }
  .mu-scroll {
    padding: 12px 10px 0;
  }
  .meet-side {
    position: absolute;
    inset: 0;
    flex: none;
    width: 100%;
    z-index: 20;
    border-left: 0;
  }
  .meet-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
  }
  .meet-bar-l {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
  }
  .meet-bar-c {
    order: 1;
    gap: 6px;
  }
  .meet-bar-r {
    order: 2;
    flex: 0 0 auto;
  }
  .meet-ctl {
    width: 42px;
    height: 42px;
  }
  .meet-ctl svg {
    width: 20px;
    height: 20px;
  }
  .meet-ctl.meet-leave {
    width: 52px;
  }
  .meet-ctl2 {
    height: 38px;
    min-width: 38px;
    padding: 0 9px;
  }
  .call-grid {
    padding: 10px;
    gap: 8px;
  }
  .call-tile {
    width: clamp(140px, 46%, 280px);
  }
  .call-grid.has-pin .call-tile {
    width: clamp(84px, 22%, 130px);
  }
  .meet-join-card {
    width: 100%;
  }
  .meet-reactbar {
    bottom: 122px;
  }
  .wa-col {
    max-width: 86%;
  }
  .ai-msg.user .ai-bubble {
    max-width: 88%;
  }
  .ai {
    grid-template-columns: 1fr;
  }
  .ai-side-toggle {
    display: flex;
  }
  .about2 {
    padding: 24px 20px;
  }
  .about2-logo {
    width: 74px;
    height: 74px;
  }
  .about2-word {
    font-size: 29px;
  }
  .auth-card {
    width: 100%;
    max-width: 320px;
  }
  .sk-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    padding: 14px;
  }
  .th-gallery {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
  .folder-grid {
    grid-template-columns: repeat(auto-fill, 84px);
  }
}

@media(max-width:430px) {
  #icon-grid {
    grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
    grid-auto-rows: 86px;
  }
  .desktop-icon .app-tile {
    width: 48px;
    height: 48px;
  }
  .icon-label {
    font-size: 10.5px;
  }
  .dock-app {
    width: 40px;
    height: 40px;
  }
  .mb-brand {
    display: none;
  }
}

@container app (max-width: 430px) {
  .mv-grid, .an-grid {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  }
  .fg-grid {
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  }
  .bh-cards {
    gap: 10px;
    padding: 0 0 0 8px;
  }
  .meet-ctl {
    width: 38px;
    height: 38px;
  }
  .meet-ctl svg {
    width: 18px;
    height: 18px;
  }
  .mv-dhead, .an-dhead {
    gap: 10px;
  }
  .settings-main {
    padding: 14px 12px;
  }
}

@media(max-height:480px)and (orientation:landscape) {
  .window:not(.maximized), .window.maximized {
    inset: 0 0 56px!important;
  }
  .dock-app {
    width: 38px;
    height: 38px;
  }
  #icon-grid {
    inset: 30px 2px 62px;
    grid-auto-rows: 84px;
  }
  .meet-bar {
    padding: 6px 10px;
  }
  .meet-ctl {
    width: 38px;
    height: 38px;
  }
}

.window.maximized,
.window.win-opaque,
.window.win-opaque.active {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--win-solid);
  --app-bg: var(--win-solid);
}

@media(max-width:720px) {
  .window, .window.active {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--win-solid);
    --app-bg: var(--win-solid);
  }
  #menubar {
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
  }
  .dock-inner {
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
  }
  .dock-inner {
    box-shadow: 0 8px 24px #00000073, inset 0 1px #ffffff4d;
  }
  .app-tile {
    box-shadow: 0 4px 10px #00000047, inset 0 1px .5px #fff6;
  }
}

@media(prefers-reduced-motion:reduce) {
  *, *:before, *:after {
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
    scroll-behavior: auto!important;
  }
}

.ad-x {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 4;
  width: 24px;
  height: 24px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  color: #fff;
  background: #0c0c10e0;
  border: 1.5px solid rgba(255, 255, 255, .9);
  box-shadow: 0 2px 10px #0000008c;
  opacity: 1;
  transition: background .12s, transform .12s;
}

.ad-x:hover {
  background: #e0443e;
  transform: scale(1.1);
}

.desk-ad .ad-x:hover {
  transform: scale(1.53);
}

.ad-x svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.6;
}

.desk-ad .ad-x {
  top: 6px;
  right: 6px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.39);
  transform-origin: 100% 0;
}

.desk-ad.ad-filled .ad-x {
  opacity: 1;
  pointer-events: auto;
}

.desk-banner {
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translate(-50%);
  z-index: 2;
  width: 728px;
  height: 90px;
  color-scheme: normal;
}

.desk-banner .ad-x {
  opacity: 0;
  pointer-events: none;
}

.desk-banner.ad-filled .ad-x {
  opacity: 1;
  pointer-events: auto;
}

@media(max-width:820px),
(max-height:560px) {
  .desk-banner {
    display: none;
  }
}

@container app (max-width: 620px) {
  .ai-thread {
    padding: 16px 0 8px;
    gap: 15px;
  }
  .ai-msg {
    width: calc(100% - 24px);
  }
  .ai-composer-wrap {
    padding: 6px 12px 0;
  }
  .ai-welcome {
    padding: 18px;
    gap: 6px;
  }
  .ai-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }
  .ai-logo svg {
    width: 32px;
    height: 32px;
  }
  .ai-welcome h2 {
    font-size: 21px;
  }
  .ai-msg.user .ai-bubble {
    max-width: 88%;
  }
}

@container app (max-width: 430px) {
  .ai-main-head {
    padding: 9px 12px;
  }
  .ai-thread {
    padding: 12px 0 6px;
  }
  .ai-msg {
    width: calc(100% - 16px);
    gap: 8px;
  }
  .ai-av {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }
  .ai-av svg {
    width: 15px;
    height: 15px;
  }
  .ai-content, .ai-msg.user .ai-bubble {
    font-size: 13.5px;
  }
  .ai-foot {
    font-size: 10px;
  }
}

.acct-dms {
  margin: 10px 2px 2px;
  font-size: 12.5px;
}

.wa-solo {
  grid-template-columns: minmax(0, 1fr);
}

.wa-solo .wa-back {
  display: none;
}

.wa-inbox-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.65;
}

.wa-inbox-empty span {
  font-size: 11.5px;
  opacity: .85;
}

@container app (max-width: 640px) {
  .wa-solo .wa-main {
    display: flex;
  }
  .wa-solo .wa-back {
    display: none;
  }
}

.mb-now {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 2px 9px 2px 2px;
  border-radius: 999px;
  color: var(--menubar-text);
  background: #ffffff1a;
}

.mb-now[hidden] {
  display: none;
}

.mb-now.idle {
  background: transparent;
}

.mb-now.idle:hover {
  background: #ffffff1a;
}

.mb-now.idle .mbn-tx {
  opacity: .72;
}

.mb-now.idle [data-prev],
.mb-now.idle [data-next],
.mb-now.idle .mbn-eq {
  display: none;
}

.mbn-art {
  position: relative;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  overflow: hidden;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: #ffffff24;
}

.mbn-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mbn-fallback svg {
  width: 12px;
  height: 12px;
  opacity: .75;
}

.mbn-eq {
  position: absolute;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding-bottom: 4px;
  background: #0000006b;
}

.mb-now.playing .mbn-eq {
  display: flex;
}

.mbn-eq i {
  width: 2px;
  height: 9px;
  border-radius: 1px;
  background: #fff;
  transform: scaleY(.28);
  transform-origin: bottom;
  animation: mbn-eq .85s ease-in-out infinite;
}

.mbn-eq i:nth-child(2) {
  animation-delay: .28s;
}

.mbn-eq i:nth-child(3) {
  animation-delay: .55s;
}

@keyframes mbn-eq {
  0%, to {
    transform: scaleY(.28);
  }
  50% {
    transform: scaleY(1);
  }
}

.mbn-tx {
  font-size: 12px;
  min-width: 92px;
  max-width: 148px;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  opacity: .92;
  transition: opacity .12s ease;
}

.mbn-txi {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

.mbn-tx.scroll .mbn-txi {
  animation: mbn-marq var(--marq-dur, 6s) ease-in-out infinite alternate;
}

.mb-now:not(.playing) .mbn-tx.scroll .mbn-txi {
  animation-play-state: paused;
}

@keyframes mbn-marq {
  0%, 14% {
    transform: translate(0);
  }
  86%, to {
    transform: translate(var(--marq-x, 0));
  }
}

@media(prefers-reduced-motion:reduce) {
  .mbn-tx.scroll .mbn-txi {
    animation: none;
  }
  .mbn-tx {
    text-overflow: ellipsis;
  }
}

.mbn-ctl {
  position: absolute;
  inset: 0 4px 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
}

.mb-now:hover .mbn-ctl {
  opacity: 1;
  pointer-events: auto;
}

.mb-now:hover .mbn-tx {
  opacity: 0;
}

.mbn-b {
  width: 22px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: inherit;
}

.mbn-b svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linejoin: round;
}

.mbn-play svg {
  fill: currentColor;
  stroke: none;
}

.mbn-b:hover {
  background: #fff3;
}

@media(prefers-reduced-motion:reduce) {
  .mbn-eq {
    display: none!important;
  }
}

@media(max-width:720px) {
  .mbn-tx {
    display: none;
  }
  .mb-now {
    padding: 2px 4px 2px 2px;
  }
  .mbn-ctl {
    position: static;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
  }
  .mbn-ctl [data-prev], .mbn-ctl [data-next] {
    display: none;
  }
}

.av-glyph {
  width: 62%;
  height: 62%;
}

.sid {
  display: flex;
  height: 100%;
  min-height: 0;
  background: var(--app-bg);
  color: var(--text);
}

.sid-side {
  width: 208px;
  flex: 0 0 208px;
  border-right: .5px solid var(--hairline);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
}

.sid-id {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px;
  min-width: 0;
}

.sid-id-tx {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sid-id-tx b {
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sid-id-tx span {
  font-size: 11.5px;
  color: var(--text-3);
}

.sid-av {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  overflow: hidden;
}

.sid-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sid-av.md {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.sid-av.xl {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  font-size: 20px;
}

.sid-navs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sid-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--text);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.sid-nav svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--text-2);
}

.sid-nav:hover {
  background: var(--hover);
}

.sid-nav.on {
  background: var(--accent);
  color: var(--accent-ink);
}

.sid-nav.on svg {
  color: #fff;
}

.sid-pill {
  margin-left: auto;
  background: #ff453a;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  padding: 0 5px;
}

.sid-main {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding: 18px 22px 26px;
}

.sid-h {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 14px;
}

.sid-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 18px 0 8px;
}

.sid-card {
  background: var(--field);
  border: .5px solid var(--hairline);
  border-radius: var(--r2);
  padding: 14px;
  margin-bottom: 12px;
}

.sid-label {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin: 0 0 6px;
}

.sid-prof {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sid-prof-fields {
  flex: 1;
  min-width: 0;
}

.sid-prof-fields .input {
  width: 100%;
  margin-bottom: 12px;
}

.sid-form {
  display: flex;
  flex-direction: column;
}

.sid-form .input {
  margin-bottom: 12px;
}

.sid-form .btn {
  align-self: flex-start;
  text-decoration: none;
}

.sid-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.sid-tab {
  padding: 5px 12px;
  border-radius: 999px;
  border: .5px solid var(--hairline);
  background: var(--win-solid);
  color: var(--text-2);
  font-size: 12.5px;
  cursor: pointer;
}

.sid-tab.on {
  background: var(--accent);
  border-color: transparent;
  color: var(--accent-ink);
}

.sid-avgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
  gap: 8px;
}

.sid-avopt {
  padding: 5px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 19px;
}

.sid-avopt:hover {
  background: var(--hover);
}

.sid-avopt.on {
  border-color: var(--accent);
  background: var(--hover);
}

.sid-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sid-since {
  font-size: 12px;
  color: var(--text-3);
}

.sid-saved {
  font-size: 12px;
  color: var(--text-3);
  transition: color .2s var(--ease-out);
}

.sid-saved.on {
  color: var(--accent-text);
}

.sid-err {
  color: #ff453a;
  font-size: 12.5px;
  margin-bottom: 10px;
}

.sid-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  border-bottom: .5px solid var(--hairline-2);
}

.sid-user:last-child {
  border-bottom: 0;
}

.sid-uav {
  position: relative;
  display: inline-flex;
}

.sid-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #30d158;
  border: 2px solid var(--field);
}

.sid-utx {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.sid-utx b {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sid-utx span {
  font-size: 11.5px;
  color: var(--text-3);
}

.sid-uacts {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.sid-mini {
  padding: 5px 10px;
  border-radius: 8px;
  border: .5px solid var(--hairline);
  background: var(--win-solid);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
}

.sid-mini:hover {
  background: var(--hover);
}

.sid-mini.accent {
  background: var(--accent);
  border-color: transparent;
  color: var(--accent-ink);
}

.sid-tag {
  font-size: 11.5px;
  color: var(--text-3);
}

.sid-search {
  margin-bottom: 10px;
}

.sid-search .input {
  width: 100%;
}

.sid-seg {
  display: inline-flex;
  background: var(--win-solid);
  border: .5px solid var(--hairline);
  border-radius: 10px;
  padding: 2px;
}

.sid-segbtn {
  padding: 6px 16px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text-2);
  font-size: 12.5px;
  cursor: pointer;
}

.sid-segbtn.on {
  background: var(--accent);
  color: var(--accent-ink);
}

.sid-switches {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sid-empty {
  font-size: 12.5px;
  color: var(--text-3);
  padding: 6px 2px;
}

@container app (max-width: 620px) {
  .sid {
    flex-direction: column;
  }
  .sid-side {
    width: auto;
    flex: 0 0 auto;
    border-right: 0;
    border-bottom: .5px solid var(--hairline);
  }
  .sid-navs {
    flex-direction: row;
    overflow: auto;
  }
  .sid-nav span {
    display: none;
  }
  .sid-nav {
    padding: 8px;
  }
}

.wa-sys {
  align-self: center;
  max-width: 86%;
  margin: 8px 0;
}

.wa-sys span {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-2);
  background: color-mix(in srgb, var(--text) 8%, transparent);
  text-align: center;
}

.wa-sys .wa-tw,
.wa-sys .wa-ce {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

.wa-cmdpop {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: calc(100% + 6px);
  z-index: 12;
  max-height: 232px;
  overflow-y: auto;
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  border-radius: 14px;
  padding: 5px;
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.wa-cmdpop[hidden] {
  display: none;
}

.wa-cmd {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--text);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.wa-cmd b {
  font-weight: 600;
}

.wa-cmd span {
  font-size: 11.5px;
  color: var(--text-3);
}

.wa-cmd:hover,
.wa-cmd.on {
  background: var(--accent);
  color: var(--accent-ink);
}

.wa-cmd:hover span,
.wa-cmd.on span {
  color: #fffc;
}

.wa-cmderr {
  margin: 0 10px 6px;
  font-size: 12px;
  color: #ff6b6b;
}

.wa-cmderr[hidden] {
  display: none;
}

.wa-composer {
  position: relative;
}

.wa-people {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 2px;
}

.wa-person {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.wa-person:hover {
  background: var(--hover);
}

.wa-person-tx {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wa-person-tx b {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-person-tx span {
  font-size: 11.5px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-side-people {
  flex: 0 0 208px;
  width: 208px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: .5px solid var(--hairline);
  background: color-mix(in srgb, var(--text) 3%, transparent);
}

.wa-side-people[hidden] {
  display: none;
}

.wa-side-people-h {
  padding: 12px 12px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-3);
}

.wa-side-people .wa-people {
  flex: 1;
  overflow-y: auto;
  padding: 0 6px 8px;
}

.wa-iconbtn.on {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--text);
}

@container app (max-width: 620px) {
  .wa-side-people {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5;
    box-shadow: var(--shadow-pop);
    background: var(--win-solid);
  }
}

.wa-side-people-h {
  padding: 10px 12px 6px;
}

.wa-side-people .wa-people {
  padding: 0 5px 8px;
  gap: 0;
}

.wa-side-people .wa-person {
  gap: 8px;
  padding: 4px 6px;
  border-radius: 8px;
}

.wa-side-people .wa-av {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  font-size: 11px;
}

.wa-side-people .wa-av svg {
  width: 60%;
  height: 60%;
}

.wa-side-people .wa-st {
  width: 9px;
  height: 9px;
  border-width: 2px;
}

.wa-side-people .wa-person-tx b {
  font-size: 12.5px;
  line-height: 1.25;
}

.wa-side-people .wa-person-tx span {
  font-size: 10.5px;
  line-height: 1.2;
}

.wa-side-people .wa-badge {
  width: 13px;
  height: 13px;
  margin-left: 4px;
  vertical-align: -2px;
}

.wa-side-people .wa-badge svg {
  width: 13px;
  height: 13px;
}

.wa-at {
  color: var(--accent-text);
  font-weight: 600;
}

.wa-at.me {
  color: #ffd54a;
  background: color-mix(in srgb, #ffd54a 18%, transparent);
  border-radius: 5px;
  padding: 0 3px;
}

.wa-mentionpop {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 100%;
  margin-bottom: 6px;
  z-index: 20;
  background: var(--glass-strong);
  border: .5px solid var(--hairline);
  border-radius: 12px;
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(16px) saturate(180%);
  overflow: hidden;
  max-height: 210px;
  overflow-y: auto;
}

.wa-mentionpop[hidden] {
  display: none;
}

.wa-mrow {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.wa-mrow.on,
.wa-mrow:hover {
  background: var(--hover);
}

.wa-mrow b {
  font-weight: 600;
}

.wa-mrow span {
  color: var(--text-3);
  font-size: 11.5px;
}

.sg {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--app-bg);
}

.sg-head {
  flex: 0 0 auto;
  padding: 12px 16px 0;
}

.sg-tabs {
  display: flex;
  gap: 6px;
}

.sg-tab {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 10px;
  color: var(--text-2);
  background: transparent;
  cursor: pointer;
  border: 0;
}

.sg-tab:hover {
  background: var(--hover);
}

.sg-tab.on {
  background: var(--accent);
  color: var(--accent-ink);
}

.sg-main {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px 16px 20px;
}

.sg-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--text-3);
  font-size: 13.5px;
}

.sg-form {
  max-width: 560px;
}

.sg-kinds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.sg-kind {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  border: .5px solid var(--hairline);
  background: var(--field);
  cursor: pointer;
  color: var(--text-1);
}

.sg-kind b {
  font-size: 13px;
  font-weight: 600;
}

.sg-kind span {
  font-size: 11.5px;
  color: var(--text-3);
}

.sg-kind.on {
  border-color: transparent;
  background: color-mix(in srgb, var(--accent) 16%, var(--field));
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.sg-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin: 12px 0 5px;
}

.sg-body {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.sg-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.sg-err {
  font-size: 12.5px;
  color: #ff6b6b;
  flex: 1;
}

.sg-err.ok {
  color: #30d158;
}

.sg-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}

.sg-card {
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--glass-2);
  border: .5px solid var(--hairline);
}

.sg-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}

.sg-card h3 {
  margin: 0 0 5px;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.sg-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-word;
}

.sg-kindtag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}

.sg-when {
  font-size: 11px;
  color: var(--text-3);
  margin-left: auto;
}

.sg-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.sg-pill.new {
  background: color-mix(in srgb, #0a84ff 22%, transparent);
  color: #6fc0ff;
}

.sg-pill.planned {
  background: color-mix(in srgb, #ffd60a 22%, transparent);
  color: #ffd960;
}

.sg-pill.done {
  background: color-mix(in srgb, #30d158 22%, transparent);
  color: #5be081;
}

.sg-pill.declined {
  background: color-mix(in srgb, #ff5f57 20%, transparent);
  color: #ff8b85;
}

.sg-who {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 12px;
}

.sg-who b {
  font-weight: 600;
}

.sg-who span {
  color: var(--text-3);
}

.sg-av {
  width: 20px;
  height: 20px;
  font-size: 11px;
}

.sg-acts {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 11px;
  padding-top: 10px;
  border-top: .5px solid var(--hairline-2);
}

.sg-act {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
  border: .5px solid var(--hairline);
  background: var(--field);
  color: var(--text-2);
  cursor: pointer;
}

.sg-act:hover {
  background: var(--hover);
  color: var(--text-1);
}

.sg-act.on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.sg-act.danger {
  margin-left: auto;
}

.sg-act.danger:hover {
  background: color-mix(in srgb, #ff5f57 24%, transparent);
  color: var(--text-1);
}

.sg-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.sg-filter {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 20px;
  background: var(--field);
  color: var(--text-2);
  border: 0;
  cursor: pointer;
}

.sg-filter.on {
  background: var(--accent);
  color: var(--accent-ink);
}

.launcher {
  position: absolute;
  inset: 0;
  z-index: 6800;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 40px 40px;
  background: color-mix(in srgb, #05060a 46%, transparent);
  backdrop-filter: blur(42px) saturate(150%);
  -webkit-backdrop-filter: blur(42px) saturate(150%);
  animation: launcher-in .18s var(--ease-out);
}

@keyframes launcher-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.launcher-search {
  flex: 0 0 auto;
  margin-bottom: 38px;
}

.launcher-search input {
  width: 280px;
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  border: .5px solid rgba(255, 255, 255, .18);
  background: #ffffff1f;
  color: #fff;
  text-align: center;
  font: inherit;
  font-size: 14px;
  outline: none;
  backdrop-filter: blur(8px);
}

.launcher-search input::placeholder {
  color: #fff9;
}

.launcher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 108px);
  gap: 30px 16px;
  justify-content: center;
  width: 100%;
  max-width: 920px;
  overflow-y: auto;
  padding: 4px;
}

.launcher-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  border-radius: 14px;
}

.launcher-app:hover {
  background: #ffffff14;
}

.launcher-app span {
  font-size: 12.5px;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
  line-height: 1.2;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launcher-ico {
  width: 62px;
  height: 62px;
  transition: transform .12s var(--ease-out);
}

.launcher-app:active .launcher-ico {
  transform: scale(.92);
}

.launcher-empty {
  color: #ffffffb3;
  font-size: 14px;
  padding: 40px;
}

.dock-launcher-ico {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 24%;
  background: linear-gradient(160deg, #6b7688, #3a4150);
  color: #fff;
}

.dock-launcher-ico svg {
  width: 62%;
  height: 62%;
}

.app-tile-letter {
  font-size: .5em;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

.app-web-tile {
  position: relative;
  overflow: hidden;
}

.app-web-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.app-web-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  display: block;
}

.lk {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.lk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: .5px solid var(--hairline-2);
  flex: 0 0 auto;
}

.lk-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 650;
}

.lk-title svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.lk-in {
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--field);
  border: .5px solid var(--hairline);
  color: var(--text);
  font-size: 13.5px;
}

.lk-in:focus {
  outline: none;
  border-color: var(--accent);
}

.lk-save {
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
}

.lkb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 0;
  flex: 0 0 auto;
}

.lkb-bar:empty {
  display: none;
}

.lkb-count {
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.lkb-all {
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 8px;
  border: .5px solid var(--hairline);
  background: var(--field);
  color: var(--text-2);
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
}

.lkb-all:hover {
  background: var(--field-2);
  color: var(--text);
}

.lkb-all.done {
  color: #30d158;
}

.lkb-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lkb-item {
  display: grid;
  gap: 5px;
}

.lkb-line {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.lkb-field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 5px 5px 5px 8px;
  border-radius: 10px;
  background: var(--field);
  border: .5px solid var(--hairline);
}

.lkb-fav {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.lkb-fav img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--win-solid);
  opacity: 0;
}

.lkb-fav img.on {
  opacity: 1;
}

.lkb-url {
  flex: 1 1 auto;
  min-width: 0;
  font-family: ui-monospace, SF Mono, Cascadia Mono, Menlo, Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
  user-select: all;
}

.lkb-h {
  color: var(--text);
  font-weight: 600;
}

.lkb-s,
.lkb-p {
  color: var(--text-3);
}

.lkb-copy {
  flex: 0 0 auto;
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

.lkb-copy:hover {
  filter: brightness(1.08);
}

.lkb-copy.done {
  background: #30d158;
  color: #06240f;
}

.lkb-sq {
  flex: 0 0 auto;
  width: 40px;
  border-radius: 10px;
  border: .5px solid var(--hairline);
  background: var(--field);
  color: var(--text-2);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lkb-sq:hover {
  background: var(--field-2);
  color: var(--text);
}

.lkb-del:hover {
  color: #ff6b6b;
}

.lkb-copy svg,
.lkb-all svg,
.lkb-sq svg {
  width: 15px;
  height: 15px;
}

.lkb-copy:focus-visible {
  outline: none;
  border-color: var(--text);
}

.lkb-sq:focus-visible,
.lkb-all:focus-visible {
  outline: none;
  border-color: var(--accent);
}

.lkb-meta {
  padding-left: 10px;
  font-size: 11.5px;
  color: var(--text-3);
}

.lkb-meta b {
  font-weight: 600;
  color: var(--text-2);
}

@media(max-width:420px) {
  .lkb-copy span {
    display: none;
  }
  .lkb-copy {
    padding: 0 9px;
  }
}

.lk-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  text-align: center;
  color: var(--text-3);
  padding: 30px;
}

.lk-empty svg {
  width: 40px;
  height: 40px;
  opacity: .5;
}

.lk-empty div {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
}

.lk-empty p {
  font-size: 12.5px;
  margin: 0;
  max-width: 260px;
}

.lk-seg {
  display: flex;
  gap: 3px;
  background: var(--field);
  border: .5px solid var(--hairline);
  border-radius: 9px;
  padding: 3px;
}

.lk-segb {
  padding: 6px 15px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 550;
  color: var(--text-2);
  border: none;
  background: transparent;
  cursor: pointer;
}

.lk-segb.active {
  background: var(--accent);
  color: var(--accent-ink);
}

.lk-bar:empty {
  display: none;
}

.lk-add {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: .5px solid var(--hairline-2);
  background: var(--glass);
  align-items: center;
}

.lk-add .lk-in {
  width: 100%;
}

.lk-add .lk-save {
  height: 36px;
}

.lk-msg {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--text-3);
}

.lk-msg.err {
  color: #ff5a5a;
}

.lk-msg:empty {
  display: none;
}

.launcher-add-ico {
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 200;
  color: #fff;
  background: #ffffff1a;
  border: 1.5px dashed rgba(255, 255, 255, .35);
}

.launcher-add:hover .launcher-add-ico {
  background: #ffffff29;
}

.mp3 {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--app-bg);
}

.mp3-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 14px;
  border-bottom: .5px solid var(--hairline);
}

.mp3-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.mp3-title svg {
  color: var(--accent-text);
}

.mp3-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mp3-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: 9px;
  border: .5px solid var(--hairline);
  background: var(--field);
  color: var(--text-1);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.mp3-btn:hover {
  background: var(--hover);
}

.mp3-btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.mp3-btn svg {
  display: block;
}

.mp3-shuffle {
  width: 32px;
  padding: 0;
  justify-content: center;
  color: var(--text-2);
}

.mp3-shuffle.on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.mp3-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 10px 16px;
}

.mp3-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: default;
}

.mp3-row:hover {
  background: var(--hover);
}

.mp3-row.playing {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.mp3-rowplay {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  cursor: pointer;
}

.mp3-row:not(.playing) .mp3-rowplay {
  background: var(--field-2);
  color: var(--text-1);
}

.mp3-rowtx {
  flex: 1;
  min-width: 0;
}

.mp3-rowname {
  display: block;
  font-size: 13.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp3-rowdur {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.mp3-rowdel {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  opacity: 0;
  transition: opacity .12s;
}

.mp3-row:hover .mp3-rowdel {
  opacity: 1;
}

.mp3-rowdel:hover {
  background: color-mix(in srgb, #ff5f57 22%, transparent);
  color: var(--text-1);
}

.mp3-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 60px 20px;
  color: var(--text-3);
  text-align: center;
}

.mp3-empty svg {
  color: var(--text-3);
  width: 34px;
  height: 34px;
}

.mp3-empty div {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
}

.mp3-empty p {
  font-size: 13px;
  margin: 0 0 6px;
}

.vc {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--text);
  overflow: hidden;
}

.vc-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.vc-toast {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%);
  z-index: 5;
  max-width: 86%;
  padding: 7px 14px;
  border-radius: 999px;
  background: #14141aeb;
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vc-toast[hidden] {
  display: none;
}

.vc-lobby {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px;
  text-align: center;
}

.vc-stack {
  display: flex;
  min-height: 44px;
  margin-bottom: 12px;
}

.vc-sav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  border: 2.5px solid var(--win-solid);
  overflow: hidden;
  margin-left: -12px;
  background: #3a3a44;
}

.vc-sav:first-child {
  margin-left: 0;
}

.vc-sav img,
.vc-avi img,
.vc-mav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vc-more {
  background: #ffffff1f;
  color: var(--text-2);
  font-size: 13px;
}

.vc-lt {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.vc-ls {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-2);
  min-height: 16px;
}

.vc-err {
  margin: -8px 0 14px;
  font-size: 13px;
  color: #ff6961;
}

.vc-err[hidden] {
  display: none;
}

.vc-join {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border: 0;
  border-radius: 999px;
  background: #30d158;
  color: #062b12;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s var(--ease-out), filter .12s;
}

.vc-join:hover {
  filter: brightness(1.06);
}

.vc-join:active {
  transform: scale(.97);
}

.vc-join:disabled {
  opacity: .7;
  cursor: default;
}

.vc-join svg {
  width: 17px;
  height: 17px;
}

.vc-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px 14px 0;
  font-size: 12.5px;
  color: var(--text-2);
}

.vc-lock {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
}

.vc-lock svg {
  width: 16px;
  height: 16px;
}

button.vc-lock:hover {
  background: #ffffff14;
  color: var(--text);
}

.vc-lock.on {
  color: #ffd60a;
}

.vc-grid {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 18px 10px;
  align-content: start;
  padding: 16px 18px 20px;
}

.vc-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  border-radius: 14px;
  min-width: 0;
}

.vc-tile:hover {
  background: #ffffff0d;
}

.vc-av {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  transition: box-shadow .15s;
}

.vc-av.on {
  box-shadow: 0 0 0 3px #30d158;
}

.vc-avi {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  background: #3a3a44;
}

.vc-ic {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--win-solid);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

.vc-ic svg {
  width: 13px;
  height: 13px;
}

.vc-ic.red {
  color: #ff6961;
}

.vc-nm {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vc-nm.me {
  color: var(--text-2);
}

.vc-sh {
  display: inline-flex;
  width: 13px;
  height: 13px;
  flex: none;
  color: #bf5af2;
}

.vc-sh svg {
  width: 13px;
  height: 13px;
}

.vc-sh-owner {
  color: #ffd60a;
}

.vc-sh-admin {
  color: #4aa3ff;
}

.vc-sh-vmod {
  color: #64d2ff;
}

.vc-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.vc-b {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #ffffff14;
  color: var(--text);
  cursor: pointer;
  transition: background .12s, transform .12s var(--ease-out);
  touch-action: none;
}

.vc-b:hover {
  background: #ffffff21;
}

.vc-b:active {
  transform: scale(.94);
}

.vc-b svg {
  width: 21px;
  height: 21px;
}

.vc-b.off {
  background: #ff453a29;
  color: #ff6961;
}

.vc-b.ptt:not(.off) {
  background: #30d15833;
  color: #30d158;
}

.vc-leave {
  height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #ff453a;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.vc-leave:hover {
  filter: brightness(1.08);
}

.vc-leave svg {
  width: 20px;
  height: 20px;
}

.vc-menu {
  position: absolute;
  z-index: 6;
  width: 230px;
  padding: 6px;
  border-radius: 14px;
  background: #1c1c22f7;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 16px 40px #00000073;
}

.vc-mh {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
}

.vc-mav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  overflow: hidden;
  flex: none;
  background: #3a3a44;
}

.vc-vol {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 8px;
  color: var(--text-2);
  font-size: 12px;
}

.vc-vol svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.vc-vol input {
  flex: 1;
  min-width: 0;
  accent-color: #30d158;
}

.vc-vol span {
  width: 36px;
  text-align: right;
}

.vc-sep {
  height: 1px;
  margin: 2px 6px 4px;
  background: #ffffff14;
}

.vc-mi {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}

.vc-mi:hover {
  background: #ffffff12;
}

.vc-mi svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.vc-mi.red {
  color: #ff6961;
}

.vc-mi.pro {
  color: #64d2ff;
}

.vc-mi.sub {
  padding-left: 36px;
  font-size: 13px;
  color: var(--text-2);
}

.vc-mi.sub:hover {
  color: var(--text);
}

.vc-mi.sub.red {
  color: #ff8a84;
}

.vc-subs[hidden] {
  display: none;
}

.vc-seg {
  display: flex;
  gap: 4px;
  margin: 4px 6px 8px;
  padding: 3px;
  border-radius: 10px;
  background: #ffffff0f;
}

.vc-seg button {
  flex: 1;
  padding: 7px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}

.vc-seg button.on {
  background: #ffffff24;
  color: var(--text);
}

.vc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px 8px;
  font-size: 13px;
  color: var(--text-2);
}

.vc-row[hidden] {
  display: none;
}

.vc-key {
  min-width: 64px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}

.vc-key.listen {
  border-color: var(--accent);
  color: var(--accent-text);
}

.app-new-wrap {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.app-new {
  position: absolute;
  top: -6px;
  right: -10px;
  z-index: 1;
  padding: 2px 6px;
  border-radius: 8px;
  background: #ff3b30;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1.2;
  box-shadow: 0 1px 4px #00000059;
  pointer-events: none;
}

.vc-joins {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.vc-listen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.vc-listen:hover {
  background: #ffffff12;
}

.vc-listen:disabled {
  opacity: .7;
  cursor: default;
}

.vc-listen[hidden] {
  display: none;
}

.vc-listen svg {
  width: 17px;
  height: 17px;
}

.vc-mion {
  height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.vc-mion:hover {
  background: #ffffff12;
}

.vc-mion svg {
  width: 19px;
  height: 19px;
}

.vc-tile.ghost {
  opacity: .55;
  cursor: default;
}

.vc-tile.ghost:hover {
  background: transparent;
}

.vc-tile.ghost .vc-avi {
  outline: 1.5px dashed rgba(255, 255, 255, .45);
  outline-offset: 3px;
}

.desktop-icon.merge-target .app-tile {
  transform: scale(1.14);
  box-shadow: 0 0 0 3px #ffffffd9;
  transition: transform .15s var(--ease-out), box-shadow .15s;
}

.ufp {
  position: absolute;
  inset: 0;
  z-index: 5200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #00000052;
  animation: ufp-in .16s var(--ease-out);
}

@keyframes ufp-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ufp-card {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  padding: 18px 16px 20px;
  border-radius: 26px;
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 60px #00000073;
  animation: ufp-pop .2s var(--ease-spring);
}

@keyframes ufp-pop {
  0% {
    transform: scale(.9);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.ufp-name {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 14px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  outline: none;
}

.ufp-name:hover {
  border-color: #ffffff1f;
}

.ufp-name:focus {
  border-color: var(--accent);
}

.ufp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 14px 6px;
}

.ufp-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 8px 4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  min-width: 0;
}

.ufp-app:hover {
  background: #ffffff12;
}

.ufp-app .app-tile {
  width: 58px;
  height: 58px;
}

.ufp-app span:last-child {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ufp-app.lifting {
  opacity: .3;
}

.ufp-ghost {
  position: fixed;
  z-index: 2000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 76px;
  color: var(--text);
  font-size: 12px;
  transform: scale(1.06);
}

.ufp-ghost .app-tile {
  width: 58px;
  height: 58px;
  box-shadow: 0 10px 26px #0006;
}

.ufp-ghost span:last-child {
  display: none;
}

.notif.clickable,
.nc-item.clickable {
  cursor: pointer;
}

.nc-item.clickable:hover {
  background: var(--glass-strong);
}

.wa-row.sysrow .wa-text {
  white-space: pre-line;
}

.ytapp:has(.yt-watch:not([hidden])) .yt-scroll {
  visibility: hidden;
}

.ytapp {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--app-bg);
  color: var(--text);
  font-family: inherit;
  overflow: hidden;
}

.yt-top {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline-2);
  flex: 0 0 auto;
}

.yt-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--field);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 8px 13px;
  color: var(--text-2);
  width: 100%;
}

.yt-search input {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  width: 100%;
}

.yt-search:focus-within {
  border-color: var(--accent);
}

.yt-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px 18px;
}

.yt-status {
  color: var(--text-2);
  font-size: 13.5px;
  padding: 8px 4px;
}

.yt-status:empty {
  display: none;
}

.yt-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 64px 20px;
  color: var(--text-3);
}

.yt-empty[hidden] {
  display: none;
}

.yt-empty p {
  margin: 0;
  font-size: 14px;
}

.yt-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.yt-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  width: 100%;
}

.yt-row:hover {
  background: var(--hover);
}

.yt-rthumb {
  position: relative;
  width: 168px;
  flex: 0 0 168px;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--field-2);
}

.yt-rthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-dur {
  position: absolute;
  right: 5px;
  bottom: 5px;
  background: #000000d1;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
}

.yt-rinfo {
  min-width: 0;
  padding-top: 3px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.yt-rtitle {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-rchan {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-2);
}

.yt-rmeta {
  margin: 0;
  font-size: 12px;
  color: var(--text-3);
}

.yt-watch {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  background: #000;
  animation: mvfade .2s ease;
}

.yt-watch[hidden] {
  display: none;
}

.yt-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #000;
}

.yt-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.yt-over {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(#000000a6, #0000);
  transition: opacity .2s;
}

.yt-over.gone {
  opacity: 0;
  pointer-events: none;
}

.yt-oback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 0;
  border-radius: 50%;
  background: #0000008c;
  color: #fff;
  cursor: pointer;
}

.yt-oback:hover {
  background: #000000c7;
}

.yt-otitle {
  flex: 1;
  min-width: 0;
  color: #f2f2f5;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

.yt-oq {
  font: inherit;
  font-size: 12.5px;
  color: #f2f2f5;
  background: #0000008c;
  border: 0;
  border-radius: 8px;
  padding: 5px 8px;
  cursor: pointer;
  outline: none;
  flex: 0 0 auto;
}

.yt-oq[hidden] {
  display: none;
}

.yt-oq option {
  background: #1c1c22;
  color: #f2f2f5;
}

.yt-vmsg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.yt-vmsg[hidden] {
  display: none;
}

.yt-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 11px 14px;
  background: var(--app-bg);
  border-top: 1px solid var(--hairline-2);
  flex: 0 0 auto;
}

.yt-chip {
  font-size: 12px;
  color: var(--text-2);
  background: var(--field);
  border-radius: 20px;
  padding: 5px 11px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media(max-width:640px) {
  .yt-top {
    padding: 10px 12px;
  }
  .yt-scroll {
    padding: 8px 10px 16px;
  }
  .yt-rthumb {
    width: 132px;
    flex: 0 0 132px;
  }
  .yt-rtitle {
    font-size: 13.5px;
  }
  .yt-otitle {
    font-size: 12.5px;
  }
  .yt-strip {
    padding: 9px 11px;
  }
}

.tc .wa-row {
  gap: 8px;
}

.tc .wa-thread {
  padding: 12px 14px 8px 12px;
}

.tc-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  align-self: flex-end;
  margin-bottom: 2px;
}

.tc-av-gap {
  visibility: hidden;
  height: 1px;
}

.tc .wa-sender {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 2px;
}

.tc-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 0 6px;
  border-radius: 6px;
  margin-left: 5px;
  line-height: 16px;
  color: var(--tag);
  background: color-mix(in srgb, var(--tag) 18%, transparent);
  border: .5px solid color-mix(in srgb, var(--tag) 45%, transparent);
  white-space: nowrap;
}

.tc-emo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: -6px;
}

.tc-img {
  display: block;
  max-width: 220px;
  max-height: 220px;
  border-radius: 12px;
  margin: 2px 0 4px;
}

.tc-voice {
  display: block;
  height: 34px;
  max-width: 240px;
  margin: 2px 0;
}

.tc-dim {
  color: var(--text-3);
  font-style: italic;
}

.tc .wa-person-tx {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.tc-out {
  margin: 8px 10px 10px;
  align-self: stretch;
}

.tc .wa-side-people {
  display: flex;
  flex-direction: column;
}

.tc .wa-side-people .wa-people {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.tc .wa-person-tx {
  min-width: 0;
}

.tc .wa-person-tx b {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tc-pop {
  overflow: auto;
}

.tc-emogrid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
}

.tc-emogrid button {
  font-size: 20px;
  padding: 4px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-emogrid button:hover {
  background: var(--hover);
}

.tc-emogrid .tc-emo {
  width: 26px;
  height: 26px;
}

.tc-gifpop {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 300px;
}

.tc-gifpop[hidden] {
  display: none;
}

.tc-gifq {
  flex: none;
  margin: 0;
  padding: 8px 12px;
}

.tc-gifs {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  align-content: start;
}

.tc-gifs button {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--hover);
}

.tc-gifs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tc-gifmsg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
}

@container app (max-width: 420px) {
  .tc-av {
    width: 26px;
    height: 26px;
  }
  .tc-img {
    max-width: 170px;
  }
}

.ea-links {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}

.ea-links[hidden] {
  display: none;
}

.ea-links a,
.ea-back {
  color: var(--accent-text, var(--accent));
  cursor: pointer;
  text-decoration: none;
}

.ea-links a:hover,
.ea-back:hover {
  text-decoration: underline;
}

.lk-links .ea-links {
  display: inline;
}

.ea-ov {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #00000073;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ea-card {
  width: 100%;
  max-width: 340px;
  background: var(--win-solid);
  color: var(--text);
  border: .5px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.ea-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.ea-card p {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--text-2);
}

.ea-card .input {
  text-align: left;
}

.ea-code,
.sid-code {
  text-align: center!important;
  font-size: 22px;
  letter-spacing: .45em;
  font-variant-numeric: tabular-nums;
  padding-left: .45em;
}

.ea-err {
  color: #ff453a;
  font-size: 12.5px;
  min-height: 0;
}

.ea-err:empty {
  display: none;
}

.ea-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}

.ea-back.off {
  color: var(--text-3);
  cursor: default;
  text-decoration: none;
}

.ea-card>.ea-back {
  font-size: 12.5px;
}

.sid-mail {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  word-break: break-all;
}

.sid-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #30d158;
  background: color-mix(in srgb, #30d158 14%, transparent);
  border-radius: 10px;
  padding: 2px 9px 2px 6px;
}

.sid-ok svg {
  width: 14px;
  height: 14px;
}

.sid-mail-sub {
  font-size: 12.5px;
  color: var(--text-2);
  margin: 10px 0 12px;
}

.sid-form .sid-mail-sub {
  margin-top: 0;
}

.sid-mail-acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn.secondary.sid-danger {
  color: #ff453a;
}

.sid-danger-solid {
  background: #ff453a;
  color: #fff;
}

.sid-mail-links {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-top: 10px;
  color: var(--text-3);
}

.sid-mail-links a {
  color: var(--accent-text, var(--accent));
  cursor: pointer;
}

.mail-nudge {
  position: absolute;
  right: 18px;
  bottom: 96px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 12px 12px 14px;
  border-radius: 14px;
  background: var(--win-solid);
  color: var(--text);
  border: .5px solid var(--hairline);
  box-shadow: var(--shadow-pop);
  animation: pop-in .22s ease both;
}

.mail-nudge-ic {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.mail-nudge-ic svg {
  width: 20px;
  height: 20px;
}

.mail-nudge-tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mail-nudge-tx b {
  font-size: 13.5px;
}

.mail-nudge-tx span {
  font-size: 12px;
  color: var(--text-2);
}

.mail-nudge .btn {
  padding: 6px 12px;
  font-size: 12.5px;
}

.mail-nudge-x {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--text-3);
  flex: none;
}

.mail-nudge-x:hover {
  background: var(--hover);
  color: var(--text);
}

.lk-row {
  width: 264px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  margin-top: -2px;
}

.lk-auth .lk-err:empty {
  display: none;
}

.lk-row[hidden] {
  display: none;
}

.lk-row a {
  color: #ffffffe0;
  cursor: pointer;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

.lk-row a:hover {
  color: #fff;
  text-decoration: underline;
}

.lk-guest {
  margin-top: 14px;
  width: 264px;
  padding: 9px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: #ffffff1f;
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lk-guest:hover {
  background: #fff3;
}

.notif {
  position: relative;
}

.n-x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  color: var(--text-2);
  background: var(--field-2);
  opacity: 0;
  transition: opacity .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif:hover .n-x {
  opacity: 1;
}

.n-x:hover {
  color: var(--text);
  background: var(--hover);
}

@media(hover:none) {
  .n-x {
    opacity: .85;
  }
}

.cc-notif {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cc-notif-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--field-2);
  display: grid;
  place-items: center;
  flex: none;
}

.cc-notif-ico svg {
  width: 17px;
  height: 17px;
}

.cc-notif:has(input:checked) .cc-notif-ico {
  background: var(--accent);
  color: var(--accent-ink);
}

.cc-notif-tx {
  flex: 1;
  font-size: 13px;
  font-weight: 550;
}

.set-dim {
  opacity: .45;
}

.notif .n-tx {
  padding-right: 18px;
  min-width: 0;
}

.ct-wrap {
  height: 100%;
  display: flex;
  min-height: 0;
  background: var(--win-solid);
}

.ct-nav {
  width: 158px;
  flex: 0 0 158px;
  border-right: .5px solid var(--hairline);
  padding: 10px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.ct-navhead {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.ct-role {
  font-size: 10px;
  text-transform: capitalize;
  padding: 1px 8px;
  border-radius: 20px;
  margin-left: auto;
}

.ct-role-owner {
  color: #ffd36b;
  background: #ffd36b26;
}

.ct-role-admin {
  color: #ff9f6b;
  background: #ff9f6b26;
}

.ct-role-mod {
  color: #8fb8ff;
  background: #8fb8ff26;
}

.ct-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--text-2);
  font-size: 12.5px;
  cursor: pointer;
  border: 0;
  background: none;
  width: 100%;
  text-align: left;
}

.ct-nav-item svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.ct-nav-item:hover,
.ct-nav-item.active {
  background: var(--hover);
  color: var(--text);
}

.ct-nav-n {
  margin-left: auto;
  font-size: 10px;
  min-width: 17px;
  text-align: center;
  padding: 1px 5px;
  border-radius: 9px;
  background: var(--field);
  color: var(--text-2);
}

.ct-main {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: 16px 18px;
}

.ct-head {
  margin-bottom: 14px;
}

.ct-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}

.ct-head-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ct-qbox {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 220px;
  max-width: 50%;
  height: 30px;
  padding: 0 11px;
  border-radius: 9px;
  background: var(--field);
  border: .5px solid var(--hairline);
  cursor: text;
}

.ct-qbox:focus-within {
  border-color: var(--accent);
}

.ct-qbox svg {
  width: 15px;
  height: 15px;
  color: var(--text-3);
  flex: 0 0 15px;
}

.ct-qbox input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 12.5px;
}

.ct-qbox input::placeholder {
  color: var(--text-3);
}

.ct-ct {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 400;
}

.ct-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}

.ct-empty-ic {
  font-size: 30px;
  margin-bottom: 8px;
}

.ct-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.ct-tile {
  background: var(--field);
  border-radius: 11px;
  padding: 11px 13px;
}

.ct-tile-l {
  font-size: 11px;
  color: var(--text-3);
}

.ct-tile-v {
  font-size: 23px;
  font-weight: 600;
  margin-top: 2px;
}

.ct-status {
  display: flex;
  flex-direction: column;
}

.ct-status-row {
  display: flex;
  align-items: center;
  padding: 9px 2px;
  border-bottom: .5px solid var(--hairline);
  font-size: 13px;
  color: var(--text-2);
}

.ct-status-row span {
  flex: 1;
}

.ct-status-row b {
  font-weight: 500;
}

.ct-status-row b.on {
  color: #30d158;
}

.ct-status-row b.off {
  color: var(--text-3);
}

.ct-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  flex: 0 0 30px;
}

.ct-av.sm {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  font-size: 10px;
}

.ct-av.lg {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  font-size: 14px;
}

.ct-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-row {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--field);
  border-radius: 10px;
  padding: 8px 12px;
}

.ct-row-tx {
  flex: 1;
  min-width: 0;
}

.ct-row-tx b {
  font-size: 13px;
  font-weight: 500;
  display: block;
}

.ct-row-tx span {
  font-size: 11px;
  color: var(--text-3);
}

.ct-row-act {
  display: flex;
  gap: 6px;
}

.ct-b {
  font-size: 11.5px;
  color: var(--text-2);
  background: var(--hover);
  border: 0;
  border-radius: 7px;
  padding: 6px 11px;
  cursor: pointer;
  white-space: nowrap;
}

.ct-b:hover {
  filter: brightness(1.12);
}

.ct-b.accent {
  background: var(--accent);
  color: #fff;
}

.ct-b.danger {
  color: #ff8a8a;
  background: #d63a3a29;
}

.ct-b.warn {
  color: #ffce7a;
  background: #b5832f2e;
}

.ct-sec {
  margin-top: 18px;
}

.ct-sec h4 {
  margin: 0 0 8px 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-3);
  font-weight: 600;
}

.ct-sec-empty {
  font-size: 12px;
  color: var(--text-3);
  padding: 12px;
  text-align: center;
}

.ct-add {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}

.ct-add input {
  flex: 1;
  background: var(--field);
  border: .5px solid var(--hairline);
  border-radius: 8px;
  padding: 7px 11px;
  color: var(--text);
  font-size: 12.5px;
  outline: none;
}

.ct-add input:focus {
  border-color: var(--accent);
}

.ct-set {
  display: flex;
  flex-direction: column;
}

.ct-set-row {
  display: flex;
  align-items: center;
  padding: 11px 2px;
  border-bottom: .5px solid var(--hairline);
  font-size: 13.5px;
  color: var(--text);
}

.ct-set-row span {
  flex: 1;
}

.ct-slow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
}

.ct-slow input {
  width: 56px;
  background: var(--field);
  border: .5px solid var(--hairline);
  border-radius: 7px;
  padding: 5px 8px;
  color: var(--text);
  outline: none;
}

.ct-switch {
  width: 40px;
  height: 23px;
  border-radius: 13px;
  background: var(--field);
  border: 0;
  position: relative;
  cursor: pointer;
  transition: background .16s;
}

.ct-switch span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  transition: left .16s;
}

.ct-switch.on {
  background: #30d158;
}

.ct-switch.on span {
  left: 19px;
}

.ct-tile-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
}

.ct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ct-site {
  margin: -4px 0 4px;
}

.ct-chip {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 0;
  color: var(--text-2);
  background: var(--field);
  white-space: nowrap;
}

.ct-chip b {
  font-weight: 600;
  margin-left: 2px;
}

.ct-chip.sm {
  font-size: 10.5px;
  padding: 2px 8px;
}

button.ct-chip {
  cursor: pointer;
}

button.ct-chip:hover {
  filter: brightness(1.15);
}

.ct-chip.danger {
  color: #ff8a8a;
  background: #d63a3a29;
}

.ct-chip.warn {
  color: #ffce7a;
  background: #b5832f2e;
}

.ct-chip.purple {
  color: #c9a6ff;
  background: #9664ff29;
}

.ct-chip.blue {
  color: #8fb8ff;
  background: #5082ff29;
}

.ct-chip.ok {
  color: #6fe08e;
  background: #30d15824;
}

.ct-chip.grey {
  color: var(--text-2);
  background: var(--field);
}

.ct-log {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ct-log-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: var(--field);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 12.5px;
  color: var(--text-2);
}

.ct-log-row.bot {
  border-left: 2px solid rgba(255, 206, 122, .5);
  border-radius: 0 8px 8px 0;
}

.ct-log-tx {
  flex: 1;
  min-width: 0;
}

.ct-log-at {
  font-size: 11px;
  color: var(--text-3);
  flex: 0 0 auto;
}

.ct-bc-text {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  background: var(--field);
  border: .5px solid var(--hairline);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  outline: none;
  box-sizing: border-box;
}

.ct-bc-text:focus {
  border-color: var(--accent);
}

.ct-bc-count {
  text-align: right;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 4px;
}

.ct-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 2px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}

.ct-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  margin: 0;
}

.ct-check i {
  font-style: normal;
  font-size: 11.5px;
  color: var(--text-3);
}

.ct-bc-send {
  margin-top: 14px;
  width: 100%;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
}

.wa-banner.pinned {
  justify-content: flex-start;
  font-size: 12.5px;
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-bottom: .5px solid var(--hairline);
  padding: 8px 14px;
  line-height: 1.4;
}

.wa-banner.pinned .wa-pin {
  flex: 0 0 auto;
}

.cd-wrap {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--win-solid);
  color: var(--text);
  font-size: 12.5px;
}

.cd-grow {
  flex: 1;
}

.cd-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-bottom: .5px solid var(--hairline);
}

.cd-ib {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--text-2);
  flex: 0 0 auto;
}

.cd-ib svg {
  width: 17px;
  height: 17px;
}

.cd-ib:hover {
  background: var(--hover);
  color: var(--text);
}

.cd-ib.sm {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.cd-ib.sm svg {
  width: 14px;
  height: 14px;
}

.cd-ib.xs {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: none;
}

.cd-ib.xs svg {
  width: 12px;
  height: 12px;
}

.cd-pname {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 600;
  font-size: 13px;
}

.cd-pname i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: 0 0 9px;
}

.cd-pname span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-pname em {
  font-style: normal;
  font-weight: 500;
  font-size: 10.5px;
  color: var(--text-3);
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--field);
}

.cd-tb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--text-2);
  font-size: 12px;
}

.cd-tb svg {
  width: 15px;
  height: 15px;
}

.cd-tb:hover {
  background: var(--hover);
  color: var(--text);
}

.cd-run {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 13px 0 10px;
  border-radius: 7px;
  background: #30b158;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
}

.cd-run svg {
  width: 13px;
  height: 13px;
}

.cd-run:hover {
  filter: brightness(1.08);
}

.cd-run.stop {
  background: #e5484d;
}

.cd-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-2);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-bottom: .5px solid var(--hairline);
}

.cd-banner b {
  color: var(--text);
  font-weight: 600;
}

.cd-body {
  flex: 1;
  display: flex;
  min-height: 0;
  position: relative;
}

.cd-side {
  width: 196px;
  flex: 0 0 196px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: .5px solid var(--hairline);
  padding: 6px 6px 8px;
  overflow-y: auto;
}

.cd-wrap.side-off .cd-side {
  display: none;
}

.cd-sh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}

.cd-projects {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-height: 40%;
  overflow-y: auto;
  flex: 0 0 auto;
}

.cd-pi,
.cd-fi {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px 5px 8px;
  border-radius: 7px;
  cursor: pointer;
  color: var(--text-2);
  min-height: 26px;
}

.cd-pi i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  flex: 0 0 8px;
}

.cd-pi span,
.cd-fi span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-pi:hover,
.cd-fi:hover {
  background: var(--hover);
  color: var(--text);
}

.cd-pi:hover .cd-ib.xs,
.cd-fi:hover .cd-ib.xs,
.cd-fd:hover .cd-ib.xs {
  display: inline-grid;
}

.cd-pi.on,
.cd-fi.on {
  background: var(--field);
  color: var(--text);
}

.cd-fi svg,
.cd-fd svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  opacity: .7;
}

.cd-fi .cd-ib.xs,
.cd-fd .cd-ib.xs {
  flex: 0 0 18px;
}

.cd-fi .cd-ib.xs svg,
.cd-fd .cd-ib.xs svg {
  width: 12px;
  height: 12px;
  flex-basis: 12px;
  opacity: 1;
}

.cd-fi {
  padding-left: calc(8px + var(--d, 0) * 14px + 16px);
}

.cd-fd {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 5px 6px 5px calc(6px + var(--d, 0) * 14px);
  border-radius: 7px;
  cursor: pointer;
  color: var(--text-2);
}

.cd-fd>svg:first-child {
  width: 12px;
  height: 12px;
  flex-basis: 12px;
  opacity: .55;
  transform: rotate(90deg);
  transition: transform .12s;
}

.cd-fd.closed>svg:first-child {
  transform: none;
}

.cd-fd>svg:nth-child(2) {
  margin-right: 2px;
}

.cd-fd span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-fd:hover {
  background: var(--hover);
  color: var(--text);
}

.cd-fd.sel {
  color: var(--text);
}

.cd-fd.drop {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.cd-sha {
  display: flex;
  align-items: center;
  gap: 1px;
}

.cd-sha .cd-ib.sm svg {
  width: 15px;
  height: 15px;
}

.cd-tree {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-bottom: 6px;
  border-radius: 9px;
  min-height: 40px;
}

.cd-wrap.dropping .cd-tree {
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 70%, transparent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.cd-wrap.dropping .cd-side {
  overflow: visible;
}

.cd-menu {
  position: absolute;
  z-index: 30;
  min-width: 160px;
  padding: 4px;
  border-radius: 10px;
  background: var(--win-solid);
  border: .5px solid var(--hairline);
  box-shadow: 0 12px 30px #00000059;
  display: flex;
  flex-direction: column;
}

.cd-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--text);
  font-size: 12.5px;
  text-align: left;
}

.cd-menu button svg {
  width: 15px;
  height: 15px;
  color: var(--text-2);
}

.cd-menu button:hover {
  background: var(--accent);
  color: #fff;
}

.cd-menu button:hover svg {
  color: #fff;
}

.cd-imgv {
  flex: 1;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  overflow: auto;
  background-color: var(--win-solid);
  background-image: linear-gradient(45deg, var(--field) 25%, transparent 25%, transparent 75%, var(--field) 75%), linear-gradient(45deg, var(--field) 25%, transparent 25%, transparent 75%, var(--field) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}

.cd-imgv img {
  max-width: 100%;
  max-height: calc(100% - 30px);
  object-fit: contain;
  border-radius: 6px;
  image-rendering: auto;
}

.cd-imgv span {
  font-size: 11px;
  color: var(--text-3);
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--win-solid);
}

.cd-center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cd-tabs {
  display: flex;
  gap: 2px;
  padding: 5px 6px 0;
  overflow-x: auto;
  flex: 0 0 auto;
  scrollbar-width: none;
  border-bottom: .5px solid var(--hairline-2);
}

.cd-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px 6px 11px;
  border-radius: 7px 7px 0 0;
  color: var(--text-3);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.cd-tab:hover {
  color: var(--text);
}

.cd-tab.on {
  color: var(--text);
  background: var(--field);
}

.cd-tx {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  color: var(--text-3);
}

.cd-tx svg {
  width: 11px;
  height: 11px;
}

.cd-tx:hover {
  background: var(--hover);
  color: var(--text);
}

.cd-ed {
  flex: 1;
  min-height: 60px;
  position: relative;
  overflow: hidden;
}

.cd-load {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text-3);
  padding: 20px;
  text-align: center;
}

.cd-load.sm {
  position: static;
  padding: 18px;
}

.cd-hsplit {
  flex: 0 0 5px;
  cursor: row-resize;
  border-top: .5px solid var(--hairline);
  margin-bottom: -4px;
  position: relative;
  z-index: 2;
}

.cd-vsplit {
  flex: 0 0 5px;
  cursor: col-resize;
  border-left: .5px solid var(--hairline);
  margin-right: -4px;
  position: relative;
  z-index: 2;
}

.cd-hsplit:hover,
.cd-vsplit:hover {
  background: color-mix(in srgb, var(--accent) 40%, transparent);
}

.cd-shield {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.cd-panel {
  flex: 0 0 170px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cd-ph {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
}

.cd-pt {
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--text-3);
}

.cd-pt:hover {
  color: var(--text);
  background: var(--hover);
}

.cd-pt.on {
  color: var(--text);
  background: var(--field);
}

.cd-pstat {
  font-size: 11px;
  color: var(--text-3);
  margin-right: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50%;
}

.cd-pstat.ok {
  color: #30b158;
}

.cd-pstat.bad {
  color: #e5484d;
}

.cd-term {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 4px 12px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  outline: none;
  user-select: text;
}

.cd-ln {
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 1.55em;
}

.cd-ln .err {
  color: #ff6b6b;
}

.cd-ln .warn {
  color: #f5c04e;
}

.cd-ln .dim {
  color: var(--text-3);
}

.cd-ln .in {
  color: var(--accent-text);
}

.cd-tin {
  font: inherit;
  color: var(--accent-text);
  background: none;
  border: 0;
  outline: none;
  padding: 0;
  min-width: 40px;
  width: 60%;
}

.cd-right {
  flex: 0 1 42%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cd-rh {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 8px;
  border-bottom: .5px solid var(--hairline-2);
}

.cd-prev {
  flex: 1;
  min-height: 0;
  background: #fff;
}

.cd-prev iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

.cd-ai {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.cd-ai-log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  user-select: text;
}

.cd-ai-empty {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--text-3);
}

.cd-ai-empty>svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.cd-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.cd-chip {
  height: 28px;
  padding: 0 12px;
  border-radius: 99px;
  border: .5px solid var(--hairline);
  color: var(--text-2);
  font-size: 12px;
}

.cd-chip:hover {
  background: var(--hover);
  color: var(--text);
}

.cd-chip.on {
  border-color: var(--accent);
  color: var(--accent-text);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.cd-am {
  line-height: 1.55;
  font-size: 12.5px;
  overflow-wrap: anywhere;
}

.cd-am.user {
  align-self: flex-end;
  max-width: 85%;
  padding: 7px 12px;
  border-radius: 14px 14px 4px;
  background: var(--accent);
  color: #fff;
  white-space: pre-wrap;
}

.cd-am.bot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text);
  min-width: 0;
}

.cd-am.bot>.cd-dots {
  padding: 6px 2px;
}

.cd-md {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cd-md p,
.cd-md ul,
.cd-md ol,
.cd-md h4 {
  margin: 0;
}

.cd-md ul,
.cd-md ol {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cd-md h4 {
  font-size: 12.5px;
  font-weight: 600;
}

.cd-md b {
  font-weight: 600;
}

.cd-am code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--field);
}

.cd-cb {
  border-radius: 10px;
  border: .5px solid var(--hairline);
  overflow: hidden;
  background: color-mix(in srgb, var(--win-solid) 72%, #000);
}

.cd-cbh {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 5px 0 11px;
  font-size: 10.5px;
  color: var(--text-3);
  border-bottom: .5px solid var(--hairline-2);
  text-transform: lowercase;
}

.cd-cbh button {
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-2);
  text-transform: none;
}

.cd-cbh button:hover {
  background: var(--hover);
  color: var(--text);
}

.cd-cb pre {
  margin: 0;
  padding: 10px 12px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.55;
  max-height: 300px;
}

.cd-chg {
  border-radius: 10px;
  border: .5px solid var(--hairline);
  overflow: hidden;
  background: color-mix(in srgb, var(--win-solid) 82%, #000);
}

.cd-chh {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 6px 5px 10px;
}

.cd-chh>svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--text-2);
}

.cd-chf {
  font-family: var(--font-mono);
  font-size: 11.5px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-new {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 5px;
  color: #30b158;
  background: #30b15826;
}

.cd-ad,
.cd-dl {
  font-family: var(--font-mono);
  font-size: 11px;
}

.cd-ad {
  color: #30b158;
}

.cd-dl {
  color: #ff6b6b;
}

.cd-chs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 6px;
  font-size: 11.5px;
  color: var(--text-3);
}

.cd-chs svg {
  width: 13px;
  height: 13px;
}

.cd-chs.applied,
.cd-chs.partial {
  color: #30b158;
}

.cd-chs.failed {
  color: #ff6b6b;
}

.cd-chp {
  border-top: .5px solid var(--hairline-2);
  padding: 5px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 18px;
}

.cd-chp>div {
  display: flex;
  gap: 8px;
  padding: 0 10px;
  white-space: pre;
}

.cd-chp>div>span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cd-chp b {
  width: 10px;
  flex: 0 0 10px;
  font-weight: 400;
  text-align: center;
}

.cd-chp .add {
  background: #30b1581f;
}

.cd-chp .add b {
  color: #30b158;
}

.cd-chp .del {
  background: #e5484d1f;
}

.cd-chp .del b {
  color: #ff6b6b;
}

.cd-chp .more {
  color: var(--text-3);
  padding-top: 2px;
  font-family: inherit;
}

.cd-chn {
  border-top: .5px solid var(--hairline-2);
  padding: 7px 10px;
  font-size: 11.5px;
  color: #f5c04e;
}

.cd-chg.failed .cd-chn {
  color: #ff6b6b;
}

.cd-chg.applied,
.cd-chg.partial,
.cd-chg.rejected,
.cd-chg.same {
  background: transparent;
}

.cd-chg.rejected .cd-chf,
.cd-chg.same .cd-chf {
  color: var(--text-3);
  text-decoration: line-through;
}

.cd-chg.live .cd-dots {
  padding: 0 6px;
}

.cd-chall {
  display: flex;
  gap: 6px;
}

.cd-chall .cd-btn:first-child {
  flex: 1;
  justify-content: center;
}

.cd-ai-in {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 10px 10px;
  padding: 6px 6px 6px 12px;
  border-radius: 12px;
  border: .5px solid var(--hairline);
  background: var(--field);
}

.cd-ai-in:focus-within {
  border-color: var(--accent);
}

.cd-ai-in textarea {
  flex: 1;
  min-width: 0;
  height: 20px;
  margin: 4px 0;
  padding: 0;
  resize: none;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  line-height: 20px;
  outline: none;
  box-shadow: none;
  overflow-y: auto;
  scrollbar-width: thin;
}

.cd-ai-in textarea::placeholder {
  color: var(--text-3);
}

.cd-ai-send {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  flex: 0 0 auto;
  transition: background .15s, color .15s;
}

.cd-ai-send svg {
  width: 14px;
  height: 14px;
}

.cd-ai-send.off {
  background: var(--field);
  color: var(--text-3);
  cursor: default;
}

.cd-rv {
  flex: 1;
  min-height: 60px;
  display: flex;
  flex-direction: column;
}

.cd-rvbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 40px;
  padding: 6px 8px 6px 12px;
  background: color-mix(in srgb, var(--accent) 11%, transparent);
  border-bottom: .5px solid var(--hairline);
}

.cd-rvt {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 110px;
  flex: 1 1 0;
  font-size: 12px;
}

.cd-rvbar>button {
  flex: 0 0 auto;
}

.cd-rvt>svg {
  width: 14px;
  height: 14px;
  color: var(--accent-text);
  flex: 0 0 14px;
}

.cd-rvt b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-rvn {
  font-size: 11.5px;
  color: var(--text-3);
  white-space: nowrap;
  flex: 0 0 auto;
}

.cd-addline {
  background: #30b15817;
}

.cd-addline.cur {
  background: #30b1582b;
}

.cd-addgut {
  background: #30b15880;
  width: 3px!important;
  margin-left: 4px;
  border-radius: 2px;
}

.cd-addgut.cur {
  background: #30b158;
}

.cd-delz {
  background: #e5484d17;
  color: color-mix(in srgb, var(--text) 62%, transparent);
  font-family: JetBrains Mono, Cascadia Code, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 20px;
  white-space: pre;
  overflow: hidden;
}

.cd-delz>div {
  text-decoration: line-through;
  text-decoration-color: #e5484d73;
}

.cd-delz.cur {
  background: #e5484d2b;
}

.cd-delm {
  background: #e5484d17;
  color: #ff6b6b;
  font-size: 12px;
  line-height: 20px;
  text-align: right;
  padding-right: 14px;
  box-sizing: border-box;
}

.cd-delm.cur {
  background: #e5484d2b;
}

[data-theme=light] .cd-addline {
  background: #1f9d4a14;
}

[data-theme=light] .cd-addline.cur {
  background: #1f9d4a29;
}

[data-theme=light] .cd-addgut.cur {
  background: #1a7f3c;
}

[data-theme=light] .cd-delz,
[data-theme=light] .cd-delm {
  background: #d1242f12;
}

[data-theme=light] .cd-delz.cur,
[data-theme=light] .cd-delm.cur {
  background: #d1242f24;
}

[data-theme=light] .cd-delm {
  color: #c4262e;
}

.cd-rvd {
  flex: 1;
  min-height: 0;
  position: relative;
}

[data-theme=light] .cd-cb {
  background: #00000009;
}

[data-theme=light] .cd-chg {
  background: #00000006;
}

[data-theme=light] .cd-chg.applied,
[data-theme=light] .cd-chg.partial,
[data-theme=light] .cd-chg.rejected,
[data-theme=light] .cd-chg.same {
  background: transparent;
}

[data-theme=light] .cd-ad,
[data-theme=light] .cd-chs.applied,
[data-theme=light] .cd-chs.partial,
[data-theme=light] .cd-chp .add b,
[data-theme=light] .cd-new {
  color: #1a7f3c;
}

[data-theme=light] .cd-dl,
[data-theme=light] .cd-chp .del b,
[data-theme=light] .cd-chs.failed,
[data-theme=light] .cd-chg.failed .cd-chn {
  color: #c4262e;
}

[data-theme=light] .cd-chn {
  color: #9a6400;
}

[data-theme=light] .cd-ln .err {
  color: #c4262e;
}

[data-theme=light] .cd-ln .warn {
  color: #9a6400;
}

[data-theme=light] .cd-pstat.ok {
  color: #1a7f3c;
}

[data-theme=light] .cd-pstat.bad {
  color: #c4262e;
}

.cd-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 3px 12px;
  font-size: 10.5px;
  color: var(--text-3);
  border-top: .5px solid var(--hairline);
}

.cd-modal {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 16px;
  background: #00000059;
}

.cd-card {
  width: 100%;
  max-width: 470px;
  max-height: 100%;
  overflow-y: auto;
  background: var(--win-solid);
  border: .5px solid var(--hairline);
  border-radius: 14px;
  padding: 14px 16px 16px;
  box-shadow: 0 20px 50px #0006;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cd-mh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.cd-langs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 6px;
}

.cd-lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px 8px;
  border-radius: 10px;
  border: .5px solid var(--hairline);
  color: var(--text-2);
  font-size: 11.5px;
  position: relative;
}

.cd-lang i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
}

.cd-lang:hover {
  background: var(--hover);
  color: var(--text);
}

.cd-lang.on {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text);
}

.cd-starters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cd-field {
  width: 100%;
  padding: 8px 11px;
  border-radius: 9px;
  border: .5px solid var(--hairline);
  background: var(--field);
  color: var(--text);
  font: inherit;
  outline: none;
}

.cd-field:focus {
  border-color: var(--accent);
}

.cd-mf {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.cd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
}

.cd-btn svg {
  width: 14px;
  height: 14px;
}

.cd-btn.sm {
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
}

.cd-btn.ghost {
  background: var(--field);
  color: var(--text);
}

.cd-btn.ghost:hover {
  background: var(--hover);
}

.cd-btn.danger {
  color: #e5484d;
}

.cd-mf .danger {
  margin-right: auto;
}

.cd-share {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cd-link {
  display: flex;
  gap: 6px;
}

.cd-link input {
  flex: 1;
  min-width: 0;
  padding: 7px 10px;
  border-radius: 8px;
  border: .5px solid var(--hairline);
  background: var(--field);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11.5px;
  outline: none;
}

.cd-tog {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  cursor: pointer;
}

.cd-tog input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  margin: 0;
}

.cd-err {
  color: #e5484d;
  padding: 6px 0;
}

@container app (max-width: 860px) {
  .cd-side {
    position: absolute;
    z-index: 6;
    top: 0;
    bottom: 0;
    left: 0;
    background: var(--win-solid);
    box-shadow: 8px 0 24px #00000040;
  }
  .cd-right {
    min-width: 260px;
  }
}

@container app (max-width: 640px) {
  .cd-right {
    position: absolute;
    z-index: 5;
    inset: 0;
    flex: none!important;
    background: var(--win-solid);
  }
  .cd-vsplit, .cd-tb span {
    display: none;
  }
}

.lb-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--win-solid);
  color: var(--text);
  font-size: 12.5px;
}

.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 14px 4px;
}

.lb-seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: var(--field);
}

.lb-seg button {
  height: 26px;
  padding: 0 11px;
  border-radius: 7px;
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}

.lb-seg button:hover {
  color: var(--text);
}

.lb-seg button.on {
  background: var(--hover);
  color: var(--text);
  box-shadow: 0 1px 2px #0000002e;
}

.lb-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 12px 10px;
}

.lb-load,
.lb-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-3);
}

.lb-av {
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  color: #fff;
  font-weight: 600;
  flex: 0 0 auto;
}

.lb-av img,
.lb-av svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-av.sm {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.lb-av.pod {
  width: 46px;
  height: 46px;
  font-size: 18px;
  margin-bottom: 7px;
}

.lb-podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  padding: 18px 0 0;
}

.lb-pod {
  width: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.lb-pod.p1 .lb-av.pod {
  width: 56px;
  height: 56px;
  font-size: 22px;
  box-shadow: 0 0 0 2px var(--win-solid), 0 0 0 4px #f5c04e;
}

.lb-pod-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
}

.lb-pod.p1 .lb-pod-name {
  font-weight: 600;
}

.lb-pod-v {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 1px;
  font-variant-numeric: tabular-nums;
}

.lb-step {
  width: 100%;
  margin-top: 8px;
  border-radius: 10px 10px 0 0;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 600;
  background: var(--field);
}

.lb-pod.p1 .lb-step {
  height: 66px;
  color: #f5c04e;
  background: color-mix(in srgb, #f5c04e 14%, var(--field));
}

.lb-pod.p2 .lb-step {
  height: 48px;
  color: #c9cbd6;
}

.lb-pod.p3 .lb-step {
  height: 34px;
  color: #d1a57a;
}

.lb-pod.empty .lb-step {
  opacity: .45;
}

.lb-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 8px;
  border-top: .5px solid var(--hairline);
}

.lb-row,
.lb-mine {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 10px;
}

.lb-row:hover {
  background: var(--hover);
}

.lb-row.mine {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.lb-rk {
  width: 24px;
  flex: 0 0 24px;
  text-align: center;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.lb-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-row .lb-name {
  flex: 1;
}

.lb-v {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
}

.lb-me {
  padding: 8px 12px 12px;
  border-top: .5px solid var(--hairline);
}

.lb-mine {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
  padding-right: 6px;
}

.lb-mine .lb-rk {
  color: var(--accent-text);
  font-weight: 600;
}

.lb-note {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  color: var(--text-3);
}

.lb-hide {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--text-3);
  flex: 0 0 auto;
}

.lb-hide svg {
  width: 16px;
  height: 16px;
}

.lb-hide:hover {
  background: var(--hover);
  color: var(--text);
}

.lb-hide.on {
  color: var(--accent-text);
}

[data-theme=light] .lb-pod.p2 .lb-step {
  color: #7c8090;
}

[data-theme=light] .lb-pod.p3 .lb-step {
  color: #a0663a;
}

[data-theme=light] .lb-pod.p1 .lb-step {
  color: #b07d00;
}

@container app (max-width: 520px) {
  .lb-top {
    justify-content: center;
  }
  .lb-seg button {
    padding: 0 8px;
  }
  .lb-pod {
    width: 86px;
  }
}

.ct-sec-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ct-link {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent-text);
  text-transform: none;
  letter-spacing: 0;
}

.ct-link:hover {
  text-decoration: underline;
}

.ct-log-row.click {
  cursor: pointer;
}

.ct-log-row.click:hover {
  background: var(--hover);
  color: var(--text);
}

.ct-fchips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: -4px 0 12px;
}

.ct-fchip {
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--field);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
}

.ct-fchip:hover {
  color: var(--text);
}

.ct-fchip.on {
  background: var(--text);
  color: var(--win-solid);
}

.ct-logwrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
}

.ct-logwrap.has-sel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

.ct-logwrap:not(.has-sel) .ct-logdet {
  display: none;
}

.ct-loglist {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ct-lrow {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--field);
  text-align: left;
  color: var(--text);
  font-size: 12.5px;
}

.ct-lrow:hover {
  background: var(--hover);
}

.ct-lrow.sel {
  box-shadow: inset 0 0 0 1px var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--field));
}

.ct-lrow.undo {
  opacity: .75;
}

.ct-lic {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex: 0 0 26px;
  background: var(--hover);
}

.ct-lic.warn {
  background: #ffce7a29;
}

.ct-lic.danger {
  background: #ff6b6b29;
}

.ct-lic.purple {
  background: #a990ff2e;
}

.ct-lic.blue {
  background: #5aa9ff29;
}

.ct-ltx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ct-lmain {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct-lsub {
  font-size: 11px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ct-lsnap {
  font-size: 10.5px;
  color: var(--text-2);
  background: var(--hover);
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.ct-lat {
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
  flex: 0 0 auto;
}

.ct-logwrap.has-sel .ct-lsnap {
  display: none;
}

.ct-logmore {
  align-self: center;
  margin-top: 6px;
}

.ct-logdet {
  background: var(--field);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 0;
}

.ct-logempty {
  padding: 30px 12px;
  text-align: center;
  color: var(--text-3);
  font-size: 12.5px;
}

.ct-ldhead {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.ct-ldhead b {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}

.ct-ldback {
  display: none;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  font-size: 18px;
  color: var(--text-2);
  flex: 0 0 auto;
}

.ct-ldgrid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 14px;
  font-size: 12.5px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--hover);
}

.ct-ldgrid span:nth-child(odd) {
  color: var(--text-3);
}

.ct-ldgrid span:nth-child(2n) {
  overflow-wrap: anywhere;
}

.ct-ldsec {
  margin: 14px 2px 6px;
  font-size: 11.5px;
  color: var(--text-3);
}

.ct-snap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-snapm {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12.5px;
}

.ct-snapm.hit {
  background: #e5484d21;
  box-shadow: inset 2px 0 #e5484d;
}

.ct-snapt {
  font-size: 10.5px;
  color: var(--text-3);
  flex: 0 0 52px;
  font-variant-numeric: tabular-nums;
}

.ct-snapx {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ct-snapf {
  font-size: 10px;
  color: #ff8a8a;
  flex: 0 0 auto;
}

.ct-ldacts {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}

@container app (max-width: 760px) {
  .ct-logwrap.has-sel {
    grid-template-columns: minmax(0, 1fr);
  }
  .ct-logwrap.has-sel .ct-loglist {
    display: none;
  }
  .ct-ldback {
    display: grid;
    place-items: center;
  }
}

.app-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 0 2px #0000002e, 0 1px 4px #00000059;
  pointer-events: none;
}

.cl-wrap {
  height: 100%;
  overflow-y: auto;
  background: var(--win-solid);
  color: var(--text);
}

.cl-in {
  max-width: 640px;
  margin: 0 auto;
  padding: 22px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cl-h {
  margin: 0 0 2px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.cl-card {
  background: var(--field);
  border-radius: 14px;
  padding: 15px 16px 14px;
}

.cl-card.latest {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 7%, var(--field));
}

.cl-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-3);
}

.cl-meta em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
}

.cl-card h3 {
  margin: 5px 0 10px;
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.3;
}

.cl-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cl-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
}

.cl-tx {
  flex: 1;
  min-width: 0;
}

.cl-tag {
  flex: 0 0 68px;
  text-align: center;
  margin-top: 1px;
  padding: 1px 0;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: .02em;
}

.cl-tag.new {
  color: #30b158;
  background: #30b15824;
}

.cl-tag.improved {
  color: #5aa9ff;
  background: #5aa9ff24;
}

.cl-tag.fixed {
  color: #f5a623;
  background: #f5a62324;
}

.cl-tag.removed {
  color: #ff7b7f;
  background: #e5484d21;
}

[data-theme=light] .cl-tag.new {
  color: #1a7f3c;
}

[data-theme=light] .cl-tag.improved {
  color: #1f6fd1;
}

[data-theme=light] .cl-tag.fixed {
  color: #a86a00;
}

[data-theme=light] .cl-tag.removed {
  color: #c4262e;
}

.cl-empty {
  padding: 50px 0;
  text-align: center;
  color: var(--text-3);
}
