: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 .moth {
  width: 50px;
  height: 50px;
  color: var(--accent);
}
.lockup .wordmark {
  font-size: 64px;
  line-height: 1;
  color: var(--text);
  transform: translateY(-4px);
}
#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);
}
#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;
}
#nslot {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  line-height: 0;
  width: 728px;
  height: 90px;
}
#nslot iframe {
  position: static;
  inset: auto;
  width: 728px;
  height: 90px;
  border: 0;
  display: block;
  background: transparent;
}
@media (max-width: 820px) {
  #nslot {
    display: none;
  }
}