:root {
  --is-dark:0;
  --frame:#e7eae3;
  --tab-active:#ffffff;
  --tab-hover:#ffffff80;
  --tab-text:#4a5044;
  --tab-text-active:#1b1d18;
  --toolbar:#fbfcf9;
  --omni:#ffffff;
  --omni-focus:#ffffff;
  --text:#1b1d18;
  --dim:#646b5e;
  --border:#d6dbd0;
  --sep:#c3c9bc;
  --hover:#1b2a120f;
  --active:#1b2a121f;
  --menu:#ffffff;
  --menu-sh:0 6px 22px -6px #1b2a1233,0 2px 6px #1b2a121a;
  --accent:#3e6b34;
  --accent-soft:#e6efe0;
  --on-accent:#ffffff;
  --warn:#b7791f;
  --surface:#ffffff;
  --hair:#e3e7df;
  --field:#f0f2ed;
  --set-bg:#f4f6f2;
  --set-card:#ffffff;
  --ntp:#fbfcf9;
  --tile:#eef1ea;
  --card:#ffffff;
  --scroll:#b9c1b0;
}
:root[data-theme=dark] {
  --is-dark:1;
  --frame:#121018;
  --tab-active:#25212f;
  --tab-hover:#ffffff10;
  --tab-text:#a29cb2;
  --tab-text-active:#ece9f2;
  --toolbar:#1b1823;
  --omni:#25212f;
  --omni-focus:#25212f;
  --text:#ece9f2;
  --dim:#948ea3;
  --border:#342f40;
  --sep:#4a4458;
  --hover:#ffffff12;
  --active:#ffffff22;
  --menu:#221e2b;
  --menu-sh:0 8px 26px -6px #00000080,0 2px 8px #0000004d;
  --accent:#c2eab0;
  --accent-soft:#2d3a2c;
  --on-accent:#14121c;
  --warn:#e0a83c;
  --surface:#16141d;
  --hair:#2c2836;
  --field:#25212f;
  --set-bg:#16141d;
  --set-card:#1f1c28;
  --ntp:#1b1823;
  --tile:#25212f;
  --card:#1f1c28;
  --scroll:#433d52;
}
:root[data-theme=graphite] {
  --is-dark:1;
  --frame:#1c1b22;
  --tab-active:#42414d;
  --tab-hover:#ffffff12;
  --tab-text:#b8b7bb;
  --tab-text-active:#fbfbfe;
  --toolbar:#2b2a33;
  --omni:#1c1b22;
  --omni-focus:#232229;
  --text:#fbfbfe;
  --dim:#b8b7bb;
  --border:#3a3944;
  --sep:#524f5c;
  --hover:#ffffff12;
  --active:#ffffff22;
  --menu:#2b2a33;
  --menu-sh:0 8px 26px -6px #00000080,0 2px 8px #0000004d;
  --accent:#00ddff;
  --accent-soft:#153b45;
  --on-accent:#10151c;
  --warn:#e0a83c;
  --surface:#17161c;
  --hair:#2c2b34;
  --field:#1c1b22;
  --set-bg:#141319;
  --set-card:#26252d;
  --ntp:#2b2a33;
  --tile:#42414d;
  --card:#26252d;
  --scroll:#4a4855;
}
:root[data-theme=midnight] {
  --is-dark:1;
  --frame:#000000;
  --tab-active:#1b1b1b;
  --tab-hover:#ffffff12;
  --tab-text:#8a8a8a;
  --tab-text-active:#ededed;
  --toolbar:#0a0a0a;
  --omni:#151515;
  --omni-focus:#1d1d1d;
  --text:#ededed;
  --dim:#8a8a8a;
  --border:#252525;
  --sep:#3a3a3a;
  --hover:#ffffff12;
  --active:#ffffff22;
  --menu:#0a0a0a;
  --menu-sh:0 8px 26px -6px #00000080,0 2px 8px #0000004d;
  --accent:#c2eab0;
  --accent-soft:#1e2a1c;
  --on-accent:#0a0a0a;
  --warn:#e0a83c;
  --surface:#050505;
  --hair:#1c1c1c;
  --field:#151515;
  --set-bg:#000000;
  --set-card:#111111;
  --ntp:#0a0a0a;
  --tile:#1b1b1b;
  --card:#111111;
  --scroll:#333333;
}
:root[data-theme=nord] {
  --is-dark:1;
  --frame:#2e3440;
  --tab-active:#434c5e;
  --tab-hover:#ffffff12;
  --tab-text:#a9b1c0;
  --tab-text-active:#eceff4;
  --toolbar:#3b4252;
  --omni:#2e3440;
  --omni-focus:#39404e;
  --text:#eceff4;
  --dim:#a9b1c0;
  --border:#4c566a;
  --sep:#5d6879;
  --hover:#ffffff12;
  --active:#ffffff22;
  --menu:#3b4252;
  --menu-sh:0 8px 26px -6px #00000080,0 2px 8px #0000004d;
  --accent:#88c0d0;
  --accent-soft:#2b4048;
  --on-accent:#1f242d;
  --warn:#e0a83c;
  --surface:#242a34;
  --hair:#3f4756;
  --field:#2e3440;
  --set-bg:#272c36;
  --set-card:#363d4a;
  --ntp:#3b4252;
  --tile:#434c5e;
  --card:#363d4a;
  --scroll:#59637a;
}
:root[data-theme=forest] {
  --is-dark:1;
  --frame:#10201a;
  --tab-active:#1d3a2e;
  --tab-hover:#ffffff12;
  --tab-text:#91ab9d;
  --tab-text-active:#e3f0e8;
  --toolbar:#162b23;
  --omni:#10201a;
  --omni-focus:#15291f;
  --text:#e3f0e8;
  --dim:#91ab9d;
  --border:#264438;
  --sep:#33564a;
  --hover:#ffffff12;
  --active:#ffffff22;
  --menu:#162b23;
  --menu-sh:0 8px 26px -6px #00000080,0 2px 8px #0000004d;
  --accent:#6fcf97;
  --accent-soft:#1a3b2b;
  --on-accent:#0c1913;
  --warn:#e0a83c;
  --surface:#0c1913;
  --hair:#1e372c;
  --field:#10201a;
  --set-bg:#0b1712;
  --set-card:#152a21;
  --ntp:#162b23;
  --tile:#1d3a2e;
  --card:#152a21;
  --scroll:#2f5245;
}
:root[data-theme=plum] {
  --is-dark:1;
  --frame:#1e1626;
  --tab-active:#332540;
  --tab-hover:#ffffff12;
  --tab-text:#a99bb8;
  --tab-text-active:#f0e9f7;
  --toolbar:#271d33;
  --omni:#1e1626;
  --omni-focus:#251a2f;
  --text:#f0e9f7;
  --dim:#a99bb8;
  --border:#3b2c4a;
  --sep:#4d3b5e;
  --hover:#ffffff12;
  --active:#ffffff22;
  --menu:#271d33;
  --menu-sh:0 8px 26px -6px #00000080,0 2px 8px #0000004d;
  --accent:#b085f5;
  --accent-soft:#31234a;
  --on-accent:#180f1f;
  --warn:#e0a83c;
  --surface:#180f1f;
  --hair:#352747;
  --field:#1e1626;
  --set-bg:#150d1b;
  --set-card:#241831;
  --ntp:#271d33;
  --tile:#332540;
  --card:#241831;
  --scroll:#4b3960;
}
:root[data-theme=ember] {
  --is-dark:1;
  --frame:#221614;
  --tab-active:#3b2320;
  --tab-hover:#ffffff12;
  --tab-text:#b8a09b;
  --tab-text-active:#f7ece9;
  --toolbar:#2c1b19;
  --omni:#221614;
  --omni-focus:#2a1a17;
  --text:#f7ece9;
  --dim:#b8a09b;
  --border:#432a26;
  --sep:#573631;
  --hover:#ffffff12;
  --active:#ffffff22;
  --menu:#2c1b19;
  --menu-sh:0 8px 26px -6px #00000080,0 2px 8px #0000004d;
  --accent:#ff8a65;
  --accent-soft:#45241c;
  --on-accent:#1a100e;
  --warn:#e0a83c;
  --surface:#1a100e;
  --hair:#3b2621;
  --field:#221614;
  --set-bg:#170d0b;
  --set-card:#291a17;
  --ntp:#2c1b19;
  --tile:#3b2320;
  --card:#291a17;
  --scroll:#5b3a33;
}
:root[data-theme=ocean] {
  --is-dark:1;
  --frame:#0f1c2e;
  --tab-active:#1d3350;
  --tab-hover:#ffffff12;
  --tab-text:#93a6bf;
  --tab-text-active:#e6eefa;
  --toolbar:#16273e;
  --omni:#0f1c2e;
  --omni-focus:#152538;
  --text:#e6eefa;
  --dim:#93a6bf;
  --border:#26405f;
  --sep:#345275;
  --hover:#ffffff12;
  --active:#ffffff22;
  --menu:#16273e;
  --menu-sh:0 8px 26px -6px #00000080,0 2px 8px #0000004d;
  --accent:#5aa9e6;
  --accent-soft:#173a55;
  --on-accent:#0b1524;
  --warn:#e0a83c;
  --surface:#0b1524;
  --hair:#203752;
  --field:#0f1c2e;
  --set-bg:#0a1420;
  --set-card:#142639;
  --ntp:#16273e;
  --tile:#1d3350;
  --card:#142639;
  --scroll:#33506f;
}
:root[data-theme=sand] {
  --is-dark:0;
  --frame:#e8e0d3;
  --tab-active:#ffffff;
  --tab-hover:#ffffff8c;
  --tab-text:#6f6558;
  --tab-text-active:#2b2620;
  --toolbar:#fdfbf7;
  --omni:#f2ece1;
  --omni-focus:#ffffff;
  --text:#2b2620;
  --dim:#6f6558;
  --border:#e2d8c8;
  --sep:#c9bda9;
  --hover:#0b213a0f;
  --active:#0b213a1f;
  --menu:#fdfbf7;
  --menu-sh:0 6px 22px -6px #10253d33,0 2px 6px #10253d1a;
  --accent:#b07d34;
  --accent-soft:#f7ecd9;
  --on-accent:#fff;
  --warn:#c9860a;
  --surface:#fffdfa;
  --hair:#efe7d9;
  --field:#f2ece1;
  --set-bg:#faf6ee;
  --set-card:#fffdfa;
  --ntp:#fdfbf7;
  --tile:#ffffff;
  --card:#fffdfa;
  --scroll:#c2b49c;
}
:root[data-theme=paper] {
  --is-dark:0;
  --frame:#e6e6e6;
  --tab-active:#ffffff;
  --tab-hover:#ffffff8c;
  --tab-text:#666666;
  --tab-text-active:#1a1a1a;
  --toolbar:#fafafa;
  --omni:#f0f0f0;
  --omni-focus:#ffffff;
  --text:#1a1a1a;
  --dim:#666666;
  --border:#e0e0e0;
  --sep:#c4c4c4;
  --hover:#0b213a0f;
  --active:#0b213a1f;
  --menu:#fafafa;
  --menu-sh:0 6px 22px -6px #10253d33,0 2px 6px #10253d1a;
  --accent:#4a4a4a;
  --accent-soft:#eaeaea;
  --on-accent:#fff;
  --warn:#c9860a;
  --surface:#ffffff;
  --hair:#ededed;
  --field:#f0f0f0;
  --set-bg:#f6f6f6;
  --set-card:#ffffff;
  --ntp:#fafafa;
  --tile:#ffffff;
  --card:#ffffff;
  --scroll:#b5b5b5;
}
:root[data-theme=rose] {
  --is-dark:0;
  --frame:#f3dde3;
  --tab-active:#ffffff;
  --tab-hover:#ffffff8c;
  --tab-text:#7a6069;
  --tab-text-active:#33222a;
  --toolbar:#fffafb;
  --omni:#fbeef2;
  --omni-focus:#ffffff;
  --text:#33222a;
  --dim:#7a6069;
  --border:#f0dde3;
  --sep:#dcc0c9;
  --hover:#0b213a0f;
  --active:#0b213a1f;
  --menu:#fffafb;
  --menu-sh:0 6px 22px -6px #10253d33,0 2px 6px #10253d1a;
  --accent:#c2477a;
  --accent-soft:#fde8ef;
  --on-accent:#fff;
  --warn:#c9860a;
  --surface:#fffdfe;
  --hair:#f6e6ea;
  --field:#fbeef2;
  --set-bg:#fef7f9;
  --set-card:#fffdfe;
  --ntp:#fffafb;
  --tile:#ffffff;
  --card:#fffdfe;
  --scroll:#d9b3c0;
}
@font-face {
  font-family: "Glim Wordmark";
  src: url(../fonts/wordmark.woff2) format("woff2");
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "Glim UI";
  src: url(../fonts/ui.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}
body {
  font:
    13px/1.45 "Glim UI",
    "Segoe UI",
    system-ui,
    -apple-system,
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--frame);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-thumb {
  background: var(--scroll);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--dim);
  background-clip: content-box;
}
::-webkit-scrollbar-track {
  background: transparent;
}
.ic {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: none;
  pointer-events: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.tbtn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--tab-text);
  flex: none;
  transition: background .13s, color .13s;
}
.tbtn:hover {
  background: var(--hover);
  color: var(--tab-text-active);
}
.tbtn:active {
  background: var(--active);
}
.tbtn[disabled] {
  opacity: .34;
  pointer-events: none;
}
.wordmark {
  font-family:
    "Glim Wordmark",
    Georgia,
    serif;
  font-weight: 400;
  letter-spacing: -.01em;
}
#win {
  height: 100%;
  display: flex;
  flex-direction: column;
}
#bar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 8px;
  flex: none;
}
.brand {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  margin-right: 2px;
  transition: background .13s;
}
.brand:hover {
  background: var(--hover);
}
.brand img {
  width: 24px;
  height: 24px;
}
.navbtns {
  display: flex;
  gap: 1px;
  flex: none;
  margin-right: 4px;
}
#tabs {
  flex: 1;
  min-width: 0;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px;
  overflow: hidden;
}
.tab {
  position: relative;
  height: 32px;
  flex: 0 1 176px;
  min-width: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 5px 0 10px;
  border-radius: 9px;
  color: var(--tab-text);
  font-size: 12.5px;
  transition: background .13s, color .13s;
}
.tab:hover {
  background: var(--tab-hover);
  color: var(--tab-text-active);
}
.tab .fav,
.tab .favph {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex: none;
  object-fit: contain;
}
.tab .ttl {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      #000 calc(100% - 14px),
      #0000);
}
.tab .x {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex: none;
  opacity: 0;
  transition: opacity .13s, background .13s;
}
.tab:hover .x {
  opacity: .7;
}
.tab .x:hover {
  opacity: 1;
  background: var(--active);
}
.tab .x .ic {
  width: 10px;
  height: 10px;
}
.tab.narrow {
  flex: 0 0 34px;
  padding: 0;
  justify-content: center;
}
.tab.narrow .ttl,
.tab.narrow .x {
  display: none;
}
.tab.loading .fav,
.tab.loading .favph {
  opacity: .45;
}
.tab.dragging {
  opacity: .7;
  background: var(--tab-hover);
}
.favph {
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 600;
  color: #fff;
}
#omniwrap {
  flex: 1 1 360px;
  min-width: 220px;
}
#omni {
  height: 32px;
  border-radius: 9px;
  background: var(--tab-active);
  box-shadow: inset 0 0 0 1px var(--border);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px 0 4px;
  transition: box-shadow .15s;
}
#omni.focus {
  box-shadow: inset 0 0 0 1px var(--accent);
}
#omni .lead {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--dim);
  transition: background .13s;
}
#omni .lead:hover {
  background: var(--hover);
}
#omni .lead.warn {
  color: var(--warn);
}
#omni .lead .fav,
#omni .lead .favph {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: contain;
}
#omni.loading .lead .fav,
#omni.loading .lead .favph {
  opacity: .45;
}
.ofield {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 100%;
  margin-left: 4px;
}
#url {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: none;
  border: 0;
  outline: 0;
  color: var(--text);
  font:
    13.5px/normal "Glim UI",
    "Segoe UI",
    system-ui,
    Arial,
    sans-serif;
  user-select: text;
}
#url::placeholder {
  color: var(--dim);
}
#odisp {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  font:
    13.5px/normal "Glim UI",
    "Segoe UI",
    system-ui,
    Arial,
    sans-serif;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      #000 calc(100% - 20px),
      #0000);
}
#odisp .h {
  color: var(--text);
}
#odisp .p {
  color: var(--dim);
}
#omni.disp #odisp {
  display: flex;
}
#omni.disp #url {
  color: transparent;
}
#omni .oact {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--dim);
  flex: none;
  transition: background .13s, color .13s;
}
#omni .oact:hover {
  background: var(--hover);
  color: var(--text);
}
#omni .oact.on {
  color: var(--accent);
}
#omni #b-close {
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    width .13s,
    opacity .13s,
    background .13s,
    color .13s;
}
#omni:hover #b-close {
  width: 28px;
  opacity: 1;
}
#drop {
  position: fixed;
  left: 0;
  top: 0;
  width: 420px;
  background: var(--menu);
  border-radius: 12px;
  box-shadow: var(--menu-sh), 0 0 0 1px var(--border);
  padding: 6px;
  z-index: 95;
  overflow: hidden;
  display: none;
}
#drop.open {
  display: block;
}
#drop .row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
}
#drop .row.sel,
#drop .row:hover {
  background: var(--accent-soft);
}
#drop .row.sel .ic,
#drop .row:hover .ic {
  color: var(--accent);
}
#drop .row .ic {
  color: var(--dim);
  width: 18px;
  height: 18px;
  transition: color .12s;
}
#drop .row .t {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#drop .row .t b {
  font-weight: 600;
}
#drop .row .t .d {
  color: var(--dim);
  font-weight: 400;
}
#drop .row .t .d::before {
  content: " — ";
}
#bm {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 10px 6px;
  flex: none;
  overflow: hidden;
}
body.ready #bm {
  transition:
    height .16s ease,
    opacity .14s ease,
    padding .16s ease;
}
#bm.hide {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}
.bmi {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 9px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--tab-text);
  max-width: 170px;
  flex: none;
  transition: background .13s;
  cursor: pointer;
}
.bmi:hover {
  background: var(--hover);
  color: var(--tab-text-active);
}
.bmi img,
.bmi .favph {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 4px;
}
.bmi span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#view {
  flex: 1;
  position: relative;
  background: var(--ntp);
  overflow: hidden;
  margin: 0 8px 8px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--border);
}
#view iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
#view iframe.off {
  display: none;
}
#ntp {
  position: absolute;
  inset: 0;
  display: none;
  background: var(--ntp);
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  padding: 28px 0 64px;
  overflow: auto;
}
#ntp.show {
  display: flex;
}
.lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  flex: none;
}
.lockup .wordmark {
  font-size: 64px;
  line-height: 1;
  color: var(--text);
}
#nsearchwrap {
  width: min(640px, 92%);
}
#nsearch {
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 7px 0 12px;
  background: var(--tab-active);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: box-shadow .16s;
}
#nsearch:hover {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 34%, var(--border));
}
#nsearchwrap.focus #nsearch {
  box-shadow: inset 0 0 0 1px var(--accent);
}
#nsearch .mark {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--accent);
}
#nsearch input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font:
    15px "Glim UI",
    "Segoe UI",
    Arial,
    sans-serif;
  user-select: text;
}
#nsearch input::placeholder {
  color: var(--dim);
}
#nmic {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--dim);
  flex: none;
  transition: background .13s, color .13s;
}
#nmic:hover {
  background: var(--hover);
  color: var(--text);
}
#nmic .ic {
  width: 18px;
  height: 18px;
}
#nmic.listening {
  color: #fff;
  background: #e0483b;
}
#tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
  width: min(640px, 92%);
}
.tile {
  position: relative;
  cursor: pointer;
}
.tile .ring {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  transition: background .13s;
}
.tile:hover .ring {
  background: var(--hover);
}
.tile .ring img {
  width: 22px;
  height: 22px;
}
.tile .ring .ic {
  width: 20px;
  height: 20px;
  color: var(--dim);
}
.tile .lbl {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  white-space: nowrap;
  z-index: 2;
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--menu);
  color: var(--text);
  box-shadow: var(--menu-sh), 0 0 0 1px var(--border);
  pointer-events: none;
}
.tile:hover .lbl {
  display: block;
}
.tile.drag .lbl {
  display: none;
}
.tile .rm {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  place-items: center;
  color: var(--dim);
  background: var(--ntp);
}
.tile:hover .rm {
  display: grid;
}
.tile .rm:hover {
  color: var(--text);
}
.tile .rm .ic {
  width: 11px;
  height: 11px;
}
.tile.drag {
  opacity: .4;
}
.tile.over .ring {
  background: var(--accent-soft);
}
#widgets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(600px, 92%);
  margin-top: 28px;
}
#widgets.hide {
  display: none;
}
.wg {
  position: relative;
  flex: 1 1 160px;
  min-width: 150px;
  max-width: 220px;
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 14px 16px;
}
.wg.drag {
  opacity: .4;
}
.wg.over {
  box-shadow: inset 0 0 0 1px var(--accent);
}
.wg .wcap {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--dim);
  margin-bottom: 9px;
  cursor: move;
}
.wg .wrm {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: none;
  place-items: center;
  color: var(--dim);
  background: var(--field);
}
.wg:hover .wrm {
  display: grid;
}
.wg .wrm:hover {
  color: var(--text);
}
.wg .wrm .ic {
  width: 11px;
  height: 11px;
}
.wg.add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--dim);
  cursor: pointer;
  border-style: dashed;
}
.wg.add:hover {
  color: var(--text);
  border-color: var(--sep);
}
.wg.add .ic {
  width: 20px;
  height: 20px;
}
.wg.add span {
  font-size: 12.5px;
}
.wg .wcap .ic {
  width: 13px;
  height: 13px;
}
.wg-time {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.wg-date {
  font-size: 12.5px;
  color: var(--dim);
  margin-top: 5px;
}
.wrow {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wtemp {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.wcond {
  font-size: 12.5px;
  color: var(--dim);
}
.wcity {
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  cursor: pointer;
  display: inline-block;
}
.wcity:hover {
  color: var(--accent);
}
#wnotes {
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  resize: none;
  color: var(--text);
  font:
    13px/1.6 "Glim UI",
    "Segoe UI",
    system-ui,
    Arial,
    sans-serif;
  min-height: 66px;
  user-select: text;
}
#wnotes::placeholder {
  color: var(--dim);
}
#mpill {
  display: flex;
  align-items: center;
  width: 196px;
  height: 32px;
  padding: 2px 4px 2px 2px;
  border-radius: 999px;
  background: var(--tab-active);
  box-shadow: inset 0 0 0 1px var(--border);
  flex: none;
  margin: 0 2px;
}
#mpill.hide {
  display: none;
}
.mpcov {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface);
  color: var(--dim);
  transition: transform .14s;
}
.mpcov:hover {
  transform: scale(1.07);
}
.mpcov img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mpcov .mpnote {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
#mpill.noart #mpart {
  display: none;
}
#mpill:not(.noart) .mpnote {
  display: none;
}
.mpslot {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 28px;
}
.mpface {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  transition: opacity .16s, transform .16s;
}
.mphov {
  gap: 2px;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
}
#mpill:hover .mprest,
#mpill:focus-within .mprest {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}
#mpill:hover .mphov,
#mpill:focus-within .mphov {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mpt {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px 0 7px;
  text-align: left;
}
.mplyr {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 0 8px 0 7px;
  text-align: left;
  overflow: hidden;
  -webkit-mask:
    linear-gradient(
      90deg,
      #000 82%,
      #0000);
  mask:
    linear-gradient(
      90deg,
      #000 82%,
      #0000);
}
.mplyr.sc {
  -webkit-mask:
    linear-gradient(
      90deg,
      #0000,
      #000 9%,
      #000 82%,
      #0000);
  mask:
    linear-gradient(
      90deg,
      #0000,
      #000 9%,
      #000 82%,
      #0000);
}
.mpln {
  display: block;
  width: max-content;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--text);
  white-space: nowrap;
  transition: transform .4s cubic-bezier(.2, .8, .25, 1);
}
.mpln .w {
  opacity: .34;
  transition:
    opacity .22s,
    color .18s,
    text-shadow .18s;
}
.mpln .w.dn {
  opacity: .72;
}
.mpln .w.cw {
  opacity: 1;
  color: var(--accent);
  text-shadow: 0 0 9px color-mix(in srgb, var(--accent) 55%, transparent);
}
.mpb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--tab-text);
  flex: none;
  transition: background .13s, color .13s;
}
.mpb:hover {
  background: var(--hover);
  color: var(--text);
}
.mpb svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  pointer-events: none;
}
.mpb.on {
  color: var(--accent);
}
.mpb.play {
  background: var(--accent);
  color: var(--on-accent);
}
.mpb.play:hover {
  background: var(--accent);
  filter: brightness(1.08);
}
#music {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
  background: var(--ntp);
  --mg:linear-gradient(
      135deg,var(--accent),color-mix(in srgb,var(--accent) 60%,#fff));
  --mglow:color-mix(in srgb,var(--accent) 42%,transparent);
  --imm-fg:#fff;
  --imm-film:#ffffff1a;
  --imm-line:#ffffff2e;
  --imm-line2:#ffffff59;
  --imm-dim:#ffffff8f;
  --imm-trk:#ffffff33;
  --imm-disc:#fff;
  --imm-disc-fg:#111;
  --imm-s1:#0b0712a8;
  --imm-s2:#0b0712d6;
  --imm-br:.72;
  --imm-sh:0 46px 86px -32px #000;
  --glw:0 0 6px color-mix(in srgb,var(--accent) 85%,transparent),0 0 26px color-mix(in srgb,var(--accent) 60%,transparent),0 0 54px color-mix(in srgb,var(--accent) 34%,transparent);
  --glwd:0 0 10px color-mix(in srgb,var(--accent) 18%,transparent);
}
:root[data-dark="0"] #music {
  --imm-fg:var(--text);
  --imm-film:#00000010;
  --imm-line:#0000001f;
  --imm-line2:#00000038;
  --imm-dim:var(--dim);
  --imm-trk:#00000026;
  --imm-disc:var(--text);
  --imm-disc-fg:var(--surface);
  --imm-s1:#ffffffc4;
  --imm-s2:#ffffffe6;
  --imm-br:1.06;
  --imm-sh:0 34px 64px -28px #1b2a1259;
  --glw:0 0 1px color-mix(in srgb,var(--accent) 34%,transparent),0 0 15px color-mix(in srgb,var(--accent) 24%,transparent);
  --glwd:none;
}
#music.show {
  display: flex;
}
.mu-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 18px 22px 12px;
}
.mu-home {
  font-family:
    "Glim Wordmark",
    Georgia,
    serif;
  font-size: 38px;
  line-height: .9;
  color: var(--text);
  padding: 0 4px;
  letter-spacing: -.01em;
}
.mu-bsp {
  flex: 1;
}
.mu-sf {
  flex: 0 1 330px;
  min-width: 120px;
}
.mu-search {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 42px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 21px;
  color: var(--dim);
  transition: border-color .13s;
}
.mu-search.focus {
  border-color: var(--accent);
}
.mu-search .ic {
  width: 17px;
  height: 17px;
}
.mu-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font:
    14px "Glim UI",
    "Segoe UI",
    Arial,
    sans-serif;
  user-select: text;
}
.mu-search input::placeholder {
  color: var(--dim);
}
.mu-tb {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  flex: none;
  transition: border-color .13s, transform .1s;
}
.mu-tb .ic {
  width: 19px;
  height: 19px;
}
.mu-tb:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
}
.mu-tb:active {
  transform: scale(.94);
}
.mu-tb.on {
  background: var(--mg);
  border-color: transparent;
  color: var(--on-accent);
}
.mu-cnt {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--mg);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--ntp);
}
.mu-body {
  flex: 1;
  overflow: auto;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 4px 22px 28px;
}
.mu-body.gal {
  width: 100%;
  padding: 0 0 28px;
}
.gsec {
  margin-top: 4px;
}
.gsec h2 {
  margin: 0;
  padding: 20px 22px 11px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.ggrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 4px;
  padding: 0 4px;
}
.gcell {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--field);
}
.gcell img,
.gcell .noart {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--field);
  transition: transform .25s;
}
.gcell:hover img {
  transform: scale(1.06);
}
.gcell.on {
  outline: 2.5px solid var(--accent);
  outline-offset: -2.5px;
}
.gov {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      #000d,
      #0006 30%,
      #0000 62%);
  opacity: 0;
  transition: opacity .2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 11px 12px 12px;
  color: #fff;
  pointer-events: none;
}
.gcell:hover .gov,
.gcell.on .gov {
  opacity: 1;
}
.gov .gt {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gov .ga {
  font-size: 11.5px;
  opacity: .85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gpg {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mg);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  transform: translateY(8px) scale(.9);
  opacity: 0;
  transition: .2s;
  box-shadow: 0 8px 18px -8px var(--mglow);
}
.gcell:hover .gpg {
  transform: none;
  opacity: 1;
}
.gpg .ic {
  width: 18px;
  height: 18px;
}
.mhead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px;
  padding: 16px 2px 24px;
}
.mhead .ht {
  width: 150px;
  height: 150px;
  flex: none;
  border-radius: 22px;
  object-fit: cover;
  background: var(--mg);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px -26px var(--mglow);
}
.mhead .ht .ic {
  width: 62px;
  height: 62px;
}
.mhead h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.04;
}
.mhead .hs {
  font-size: 14px;
  color: var(--dim);
  margin-top: 8px;
}
.srow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 10px;
  border-radius: 12px;
  cursor: pointer;
}
.srow:hover {
  background: var(--hover);
}
.srow.on {
  background: var(--accent-soft);
}
.srow .sa {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  flex: none;
  object-fit: cover;
  background: var(--field);
}
.srow .si {
  flex: 1;
  min-width: 0;
}
.srow .st {
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.srow.on .st {
  color: var(--accent);
}
.srow .sn {
  font-size: 12.5px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.srow .sd {
  font-size: 13px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.srow .sx {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--dim);
  opacity: 0;
  flex: none;
}
.srow:hover .sx {
  opacity: .75;
}
.srow .sx:hover {
  opacity: 1;
  color: var(--text);
  background: var(--active);
}
.srow .sx .ic {
  width: 17px;
  height: 17px;
}
.shdr {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--dim);
  font-weight: 700;
  margin: 16px 8px 8px;
}
.mempty {
  color: var(--dim);
  font-size: 14px;
  padding: 48px 8px;
  text-align: center;
}
.plgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
  padding: 6px 0;
}
.plc {
  cursor: pointer;
}
.plc .pca {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  object-fit: cover;
  background: var(--field);
  display: grid;
  place-items: center;
  color: var(--dim);
  box-shadow: 0 16px 28px -18px #0b091099;
  transition: transform .15s;
}
.plc:hover .pca {
  transform: translateY(-3px);
}
.plc .pca .ic {
  width: 34px;
  height: 34px;
}
.plc .pt {
  font-size: 14px;
  font-weight: 600;
  margin-top: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plc .pn {
  font-size: 12.5px;
  color: var(--dim);
}
.plc.newpl .pca {
  border: 1.5px dashed var(--border);
  color: var(--accent);
  background: none;
  box-shadow: none;
}
.imm {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  color: var(--imm-fg);
  overflow: hidden;
}
.imm-bg {
  position: absolute;
  inset: -14%;
  background-size: cover;
  background-position: center;
  filter: blur(66px) saturate(1.7) brightness(var(--imm-br));
  z-index: 0;
  pointer-events: none;
}
.imm-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      var(--imm-s1),
      var(--imm-s2));
  z-index: 0;
  pointer-events: none;
}
#music.now .mu-bar {
  position: relative;
  z-index: 1;
}
#music.now .mu-home {
  color: var(--imm-fg);
}
#music.now .mu-search {
  background: var(--imm-film);
  border-color: var(--imm-line);
  color: var(--imm-dim);
}
#music.now .mu-search.focus {
  border-color: var(--imm-fg);
}
#music.now .mu-search input {
  color: var(--imm-fg);
}
#music.now .mu-search input::placeholder {
  color: var(--imm-dim);
}
#music.now .mu-tb {
  background: var(--imm-film);
  border-color: var(--imm-line);
  color: var(--imm-fg);
}
#music.now .mu-tb:hover {
  border-color: var(--imm-line2);
}
#music.now .mu-cnt {
  border-color: transparent;
}
.imm-main {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 28px;
  padding: 26px 30px;
}
.imm-left {
  flex: 0 0 auto;
  width: min(360px, 44%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  gap: 16px;
  text-align: center;
  overflow: auto;
  scrollbar-width: none;
}
.imm-left::-webkit-scrollbar {
  display: none;
}
.imm-right {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
}
.imm-art {
  flex: 0 1 auto;
  height: min(300px, 100%);
  width: auto;
  max-width: 100%;
  min-height: 92px;
  aspect-ratio: 1;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--imm-sh);
}
.imm-meta {
  flex: none;
  max-width: 100%;
}
.imm-t {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.imm-a {
  font-size: 14.5px;
  opacity: .85;
  margin-top: 4px;
}
.imm-prog {
  flex: none;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  font-size: 11.5px;
  opacity: .9;
  font-variant-numeric: tabular-nums;
}
.imm .lbar {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: var(--imm-trk);
  position: relative;
  cursor: pointer;
}
.imm .lbar i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--imm-fg);
  border-radius: 3px;
}
.imm-ctl {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding-top: 2px;
}
.imm-ctl button {
  color: var(--imm-fg);
  background: none;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.imm-ctl .ic {
  width: 23px;
  height: 23px;
}
.imm-ctl .sm {
  opacity: .72;
}
.imm-ctl .sm .ic {
  width: 19px;
  height: 19px;
}
.imm-ctl .sm.on {
  opacity: 1;
}
.imm-ctl .pp {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--imm-disc);
  color: var(--imm-disc-fg);
}
.imm-ctl .pp .ic {
  width: 28px;
  height: 28px;
}
.imm .lbox {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 16px 6px;
  color: var(--imm-fg);
  scrollbar-width: none;
  text-align: left;
  -webkit-mask:
    linear-gradient(
      180deg,
      #0000,
      #000 10%,
      #000 90%,
      #0000);
  mask:
    linear-gradient(
      180deg,
      #0000,
      #000 10%,
      #000 90%,
      #0000);
}
.imm .lbox::-webkit-scrollbar {
  display: none;
}
.imm .lbox.center {
  justify-content: safe center;
}
.imm .mempty {
  color: var(--imm-fg);
  opacity: .58;
}
.imm-right .ll {
  font-size: 40px;
}
.ll {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--imm-fg);
  cursor: pointer;
  transform: scale(.9);
  transform-origin: left center;
  transition:
    opacity .5s,
    filter .5s,
    transform .5s cubic-bezier(.2, .8, .25, 1);
}
.ll.far {
  opacity: .2;
  filter: blur(2px);
}
.ll.near {
  opacity: .34;
  filter: blur(.8px);
  transform: scale(.94);
}
.ll.cur {
  opacity: 1;
  filter: none;
  transform: scale(1);
  font-weight: 900;
}
.ll.plain {
  font-size: 23px;
  font-weight: 800;
  cursor: default;
  opacity: .72;
  filter: none;
  transform: none;
}
.ll .w {
  display: inline-block;
  opacity: .26;
  transform: translateY(9px) scale(.95);
  transition:
    opacity .34s cubic-bezier(.2, .9, .25, 1.25),
    transform .34s cubic-bezier(.2, .9, .25, 1.35),
    text-shadow .7s ease-out,
    color .3s;
}
.ll .w.dn {
  opacity: .9;
  transform: none;
  text-shadow: var(--glwd);
}
.ll .w.cw {
  opacity: 1;
  transform: none;
  color: var(--accent);
  text-shadow: var(--glw);
  transition:
    opacity .34s cubic-bezier(.2, .9, .25, 1.25),
    transform .34s cubic-bezier(.2, .9, .25, 1.35),
    text-shadow .12s,
    color .1s;
}
@media (max-width: 700px) {
  .imm-main {
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }
  .imm-left {
    width: 100%;
  }
  .imm-right {
    min-height: 150px;
  }
  .imm-art {
    height: min(190px, 30vh);
    width: auto;
  }
  .imm-right .ll {
    font-size: 28px;
  }
}
@media (max-width: 620px) {
  .mu-bar {
    flex-wrap: wrap;
    padding: 14px;
  }
  .mu-home {
    font-size: 32px;
  }
  .mu-sf {
    order: 3;
    flex-basis: 100%;
  }
  .ggrid {
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  }
  .mhead .ht {
    width: 110px;
    height: 110px;
  }
  .mhead h2 {
    font-size: 28px;
  }
  .imm-t {
    font-size: 24px;
  }
  .ll {
    font-size: 26px;
  }
  .imm-right .ll {
    font-size: 24px;
  }
}
#page {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  background: var(--set-bg);
}
#page.show {
  display: flex;
}
.pin {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
#ptop {
  flex: none;
  padding-top: 22px;
  border-bottom: 1px solid var(--hair);
}
#phead {
  display: flex;
  align-items: center;
  gap: 16px;
}
#ptitle {
  margin: 0;
  flex: 1;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.005em;
}
#psearchwrap {
  width: 260px;
  height: 36px;
  background: var(--field);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid transparent;
  transition: border-color .13s;
}
#psearchwrap:focus-within {
  border-color: var(--accent);
}
#psearchwrap .ic {
  color: var(--dim);
}
#psearchwrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font:
    13px "Glim UI",
    "Segoe UI",
    Arial,
    sans-serif;
  user-select: text;
}
#ptabs {
  display: flex;
  gap: 2px;
  margin: 12px -10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
#ptabs::-webkit-scrollbar {
  display: none;
}
.ptab {
  height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  flex: none;
  color: var(--dim);
  font-size: 13px;
  position: relative;
  white-space: nowrap;
  transition: color .12s;
}
.ptab:hover {
  color: var(--text);
}
.ptab.on {
  color: var(--text);
  font-weight: 600;
}
.ptab.on::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--accent);
}
#pmain {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-gutter: stable both-edges;
}
#pbody {
  padding-top: 18px;
  padding-bottom: 80px;
}
.ptools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 10px;
}
.card {
  margin: 0 0 30px;
}
.card.hide {
  display: none;
}
.card h3 {
  margin: 0 0 2px;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--dim);
}
.prow {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 52px;
  padding: 9px 2px;
  border-top: 1px solid var(--hair);
  font-size: 13px;
}
.rows > .prow:first-child,
.rows > .subhead + .prow {
  border-top: 0;
}
.prow.hide {
  display: none;
}
.prow .t {
  flex: 1;
  min-width: 0;
}
.prow .t small {
  display: block;
  color: var(--dim);
  font-size: 12px;
  margin-top: 2px;
}
.prow input[type=text],
.prow select {
  height: 32px;
  width: 190px;
  min-width: 190px;
  flex: none;
  border: 1px solid var(--hair);
  border-radius: 8px;
  background: var(--field);
  color: var(--text);
  padding: 0 10px;
  font:
    12.5px "Glim UI",
    "Segoe UI",
    Arial,
    sans-serif;
  user-select: text;
  outline: 0;
  transition: border-color .13s;
}
.prow select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 4.6 6 8l3.4-3.4' fill='none' stroke='%23808878' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 11px;
}
.prow input[type=text]:hover,
.prow select:hover {
  border-color: var(--sep);
}
.prow input[type=text]:focus,
.prow select:focus {
  border-color: var(--accent);
}
.prow .keycap {
  width: 66px;
  min-width: 66px;
  text-align: center;
  font:
    12px "Cascadia Mono",
    Consolas,
    ui-monospace,
    monospace;
  box-shadow: 0 1.5px 0 var(--hair);
  cursor: pointer;
}
.prow .btn {
  flex: none;
}
.prow .v {
  color: var(--dim);
  font-size: 12.5px;
  flex: none;
}
.prow.stack {
  display: block;
  padding: 14px 2px 18px;
}
.prow.stack .t {
  margin-bottom: 12px;
}
.prow.none {
  color: var(--dim);
}
.rows .subhead {
  padding: 26px 2px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--dim);
}
.rows > .subhead:first-child {
  padding-top: 4px;
}
.subhead.act {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shbtn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  color: var(--accent);
  font:
    600 11px/1 "Glim UI",
    "Segoe UI",
    Arial,
    sans-serif;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.shbtn:hover {
  text-decoration: underline;
}
.shbtn .ic {
  width: 13px;
  height: 13px;
}
.searching .subhead {
  display: none;
}
.searching .rows > .subhead + .prow {
  border-top: 1px solid var(--hair);
}
.searching .rows > .subhead:first-child + .prow {
  border-top: 0;
}
.abouthero {
  align-items: center;
  gap: 16px;
  padding: 14px 2px 20px;
}
.abouthero img {
  width: 48px;
  height: 48px;
  flex: none;
}
.ab-n {
  font-size: 40px;
  line-height: 1;
}
.ab-s {
  font-size: 13.5px;
  color: var(--text);
  margin: 8px 0 0;
}
.ab-v {
  font-size: 12px;
  color: var(--dim);
  margin: 4px 0 0;
}
.tgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px 10px;
}
.tg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.tsw {
  display: block;
  width: 100%;
  height: 40px;
  border-radius: 7px;
  box-shadow: 0 0 0 1px var(--border);
}
.tg.on .tsw {
  box-shadow: 0 0 0 2px var(--accent);
}
.tg-l {
  font-size: 12px;
  color: var(--dim);
  padding-left: 1px;
}
.tg.on .tg-l,
.tg:hover .tg-l {
  color: var(--text);
}
.cgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(102px, 1fr));
  gap: 8px;
}
.cg-h {
  grid-column: 1/-1;
  margin: 12px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--dim);
}
.cg-h:first-child {
  margin-top: 0;
}
.cg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 6px;
  border-radius: 10px;
  border: 1px solid var(--hair);
  background: var(--set-bg);
  transition: border-color .12s, background .12s;
}
.cg:hover {
  background: var(--hover);
}
.cg.on {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.cg-ic {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--set-card);
  box-shadow: 0 0 0 1px var(--hair);
  overflow: hidden;
}
.cg-ic img {
  width: 18px;
  height: 18px;
}
.cg-ic .ic {
  width: 14px;
  height: 14px;
  color: var(--dim);
}
.cg-l {
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  color: var(--text);
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cg.on .cg-l {
  font-weight: 600;
}
.sw {
  width: 34px;
  height: 19px;
  border-radius: 999px;
  background: var(--sep);
  position: relative;
  flex: none;
  cursor: pointer;
  transition: background .16s;
}
.sw::after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform .16s;
}
.sw.on {
  background: var(--accent);
}
.sw.on::after {
  transform: translateX(15px);
  background: var(--on-accent);
}
.seg {
  display: inline-flex;
  background: var(--field);
  border: 1px solid var(--hair);
  border-radius: 9px;
  padding: 2px;
  gap: 2px;
  flex: none;
}
.seg button {
  height: 26px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--dim);
  transition: background .12s, color .12s;
}
.seg button:hover {
  color: var(--text);
}
.seg button.on {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 500;
}
.btn {
  height: 32px;
  padding: 0 15px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--hair);
  background: var(--set-card);
  transition: background .12s, border-color .12s;
}
.btn:hover {
  border-color: var(--sep);
}
.btn:disabled {
  opacity: .55;
  pointer-events: none;
}
.btn.pri {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.btn.pri:hover {
  filter: brightness(1.06);
}
.iconbtn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--dim);
}
.iconbtn:hover {
  background: var(--hover);
  color: var(--text);
}
.iconbtn .ic {
  width: 16px;
  height: 16px;
}
.srow .t {
  cursor: pointer;
}
.srow .t:hover {
  color: var(--accent);
}
.srow-ctl {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.lrow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 6px;
  border-top: 1px solid var(--hair);
  font-size: 13px;
  cursor: pointer;
  border-radius: 8px;
  transition: background .12s;
}
.rows > .lrow:first-child {
  border-top: 0;
}
.lrow:hover,
.lrow:hover + .lrow {
  border-top-color: transparent;
}
.lrow:hover {
  background: var(--hover);
}
.lrow img,
.lrow .favph {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 4px;
}
.lrow .t {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lrow .u {
  color: var(--dim);
  font-size: 12px;
  flex: none;
  max-width: 32%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lrow .when {
  color: var(--dim);
  font-size: 12px;
  flex: none;
  width: 62px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.lrow .act {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--dim);
  flex: none;
  opacity: 0;
  transition:
    opacity .12s,
    background .12s,
    color .12s;
}
.lrow:hover .act {
  opacity: .75;
}
.lrow .act:hover {
  background: var(--active);
  opacity: 1;
  color: var(--text);
}
.lrow .act .ic {
  width: 14px;
  height: 14px;
}
.empty {
  padding: 30px 2px 56px;
  font-size: 13px;
  color: var(--dim);
  max-width: 420px;
}
.empty .eh {
  color: var(--text);
  margin-bottom: 3px;
}
.daysep {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 22px 0 2px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 600;
}
.ptools + .daysep,
#pbody > .daysep:first-child {
  margin-top: 0;
}
.daysep .cnt {
  font-size: 12px;
  font-weight: 400;
  color: var(--dim);
}
@media (max-width: 640px) {
  .pin {
    padding-left: 18px;
    padding-right: 18px;
  }
  #ptitle {
    display: none;
  }
  #psearchwrap {
    width: auto;
    flex: 1;
  }
  .prow {
    flex-wrap: wrap;
    gap: 10px;
  }
  .prow input[type=text],
  .prow select {
    min-width: 0;
    width: 100%;
  }
  .navbtns #b-fwd {
    display: none;
  }
}
.menu {
  position: fixed;
  background: var(--menu);
  border-radius: 12px;
  box-shadow: var(--menu-sh), 0 0 0 1px var(--border);
  padding: 6px;
  min-width: 240px;
  z-index: 80;
  display: none;
  font-size: 13px;
}
.menu.open {
  display: block;
}
.menu .mi {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
}
.menu .mi:hover {
  background: var(--accent-soft);
}
.menu .mi .ic {
  color: var(--dim);
  width: 18px;
  height: 18px;
}
.menu .mi .t {
  flex: 1;
}
.menu .mi .k {
  color: var(--dim);
  font-size: 12px;
}
.menu hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 6px 10px;
}
#siteinfo {
  position: fixed;
  background: var(--menu);
  border-radius: 12px;
  box-shadow: var(--menu-sh), 0 0 0 1px var(--border);
  padding: 16px 20px 14px;
  width: 330px;
  z-index: 90;
  display: none;
  font-size: 13px;
}
#siteinfo.open {
  display: block;
}
#siteinfo .host {
  font-size: 15px;
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#siteinfo .si {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  color: var(--dim);
}
#siteinfo .si .ic {
  width: 18px;
  height: 18px;
  flex: none;
}
#siteinfo .si.ok .ic {
  color: #2f9e5a;
}
#siteinfo .si.bad .ic {
  color: var(--warn);
}
#siteinfo .si b {
  color: var(--text);
  font-weight: 400;
}
#find {
  position: absolute;
  top: 0;
  right: 18px;
  background: var(--menu);
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: var(--menu-sh);
  display: none;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  z-index: 70;
}
#find.open {
  display: flex;
}
#find input {
  height: 28px;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  width: 180px;
  user-select: text;
}
#boss {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  flex-direction: column;
  background: #fff;
  color: #202124;
  font:
    14px "Segoe UI",
    Arial,
    sans-serif;
}
#boss.show {
  display: flex;
}
.bz-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 16px 0;
}
.bz-logo {
  width: 34px;
  height: 34px;
  margin-top: 3px;
}
.bz-name {
  font-size: 17px;
  padding: 2px 0 3px;
}
.bz-menu {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: #444746;
}
.bz-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 16px 0;
  padding: 5px 14px;
  background: #edf2fa;
  border-radius: 999px;
  font-size: 12.5px;
  color: #444746;
}
.bz-tools i {
  width: 1px;
  height: 16px;
  background: #c7ccd3;
  display: inline-block;
}
.bz-tools b,
.bz-tools em,
.bz-tools u {
  font-size: 14px;
  color: #202124;
}
.bz-scroll {
  flex: 1;
  overflow: auto;
  background: #f8fafd;
  padding: 26px 0 60px;
}
.bz-page {
  width: min(816px, 92%);
  margin: 0 auto;
  min-height: 1000px;
  background: #fff;
  box-shadow: 0 1px 3px #0000002e;
  padding: 78px 82px;
}
.bz-page h1 {
  font: 400 22px/1.4 Arial, sans-serif;
  margin: 0 0 18px;
}
.bz-page p {
  font: 400 15px/1.75 Arial, sans-serif;
  margin: 0 0 15px;
  color: #202124;
}
#srcview {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: none;
  flex-direction: column;
  background: var(--set-bg);
}
#srcview.show {
  display: flex;
}
.sv-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hair);
  background: var(--frame);
}
#sv-url {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  color: var(--dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#sv-body {
  flex: 1;
  margin: 0;
  padding: 16px 20px;
  overflow: auto;
  user-select: text;
  font:
    12px/1.6 "Cascadia Mono",
    Consolas,
    ui-monospace,
    monospace;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  place-items: center;
  background: #0c0a128c;
}
.overlay.show {
  display: grid;
}
.mcard {
  width: min(400px, 92vw);
  background: var(--set-card);
  border-radius: 14px;
  padding: 22px 24px 18px;
  box-shadow: 0 18px 50px -18px #00000080, 0 0 0 1px var(--border);
}
.mcard.wide {
  width: min(620px, 94vw);
}
.mcard h2 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 600;
}
.mf {
  display: block;
  margin-bottom: 13px;
}
.mf > span {
  display: block;
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 5px;
}
.mf input {
  width: 100%;
  height: 36px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  background: var(--set-bg);
  color: var(--text);
  padding: 0 11px;
  font:
    13.5px "Glim UI",
    "Segoe UI",
    Arial,
    sans-serif;
  outline: 0;
  user-select: text;
}
.mf input:focus {
  border-color: var(--accent);
}
.mfoot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}
.mfoot .grow {
  flex: 1;
}
.srow2 {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
}
.srow2 .mf:last-child {
  min-width: 184px;
}
#s-code {
  width: 100%;
  height: 230px;
  resize: vertical;
  border: 1px solid var(--hair);
  border-radius: 8px;
  background: var(--set-bg);
  color: var(--text);
  padding: 10px 11px;
  outline: 0;
  user-select: text;
  font:
    12.5px/1.55 "Cascadia Mono",
    Consolas,
    ui-monospace,
    monospace;
  tab-size: 2;
  white-space: pre;
}
#s-code:focus {
  border-color: var(--accent);
}
#s-code::placeholder {
  color: var(--dim);
  opacity: .7;
}
#gate {
  position: fixed;
  inset: 0;
  background: var(--frame);
  display: none;
  place-items: center;
  z-index: 200;
  color: var(--dim);
}
#gate.show {
  display: grid;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 14px);
  background: #1f1c28;
  color: #ece9f2;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 13px;
  opacity: 0;
  transition: .2s;
  pointer-events: none;
  z-index: 300;
  box-shadow: 0 8px 24px -8px #00000073;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
#root {
  display: contents;
}