:root {
  --webuse-safe-top: env(safe-area-inset-top, 0px);
}

body[data-webuse-runtime="browser"] {
  padding-top: calc(50px + var(--webuse-safe-top));
}

.webuse-launchbar {
  position: fixed;
  z-index: 5000;
  inset: 0 0 auto;
  min-height: calc(50px + var(--webuse-safe-top));
  padding: var(--webuse-safe-top) 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(5, 12, 29, 0.96);
  border-bottom: 1px solid #175274;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.webuse-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #f4f7ff;
  text-decoration: none;
}

.webuse-home-link img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
}

.webuse-home-link span {
  display: grid;
  line-height: 1;
}

.webuse-home-link strong {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.webuse-home-link small {
  margin-top: 4px;
  color: #48dfff;
  font-size: 0.57rem;
  letter-spacing: 0.18em;
}

.webuse-launch-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.webuse-source-picker {
  display: grid;
  gap: 2px;
}

.webuse-source-picker > span {
  color: #8ba6c8;
  font: 800 0.5rem/1 system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.webuse-source-picker select {
  width: min(250px, 27vw);
  min-height: 31px;
  padding: 0 28px 0 9px;
  border: 1px solid #1b6388;
  border-radius: 8px;
  outline: none;
  background: #0b1931;
  color: #f5f8ff;
  color-scheme: dark;
  font: 800 0.68rem/1 system-ui, sans-serif;
}

.webuse-source-picker select option {
  background: #0b1931;
  color: #f5f8ff;
}

.webuse-source-picker select option:disabled {
  background: #142039;
  color: #a9b8cc;
}

.webuse-source-picker select option:checked {
  background: #1a3854;
  color: #ffffff;
}

.webuse-source-picker select:focus {
  border-color: #4be6b2;
  box-shadow: 0 0 0 2px rgba(75, 230, 178, 0.16);
}

.webuse-source-picker select:disabled {
  color: #8ba6c8;
  cursor: wait;
}

.sidebar-compact-context.webuse-has-source-picker {
  display: grid;
  align-content: center;
  gap: 0;
}

.sidebar-compact-context.webuse-has-source-picker > strong,
.sidebar-compact-context.webuse-has-source-picker > small,
.sidebar-compact-context .webuse-source-picker > span {
  display: none;
}

.sidebar-compact-context .webuse-source-picker {
  width: 100%;
  min-width: 0;
}

.sidebar-compact-context .webuse-source-picker select {
  width: 100%;
  max-width: 230px;
  min-height: 34px;
  padding-inline: 9px 26px;
  border-color: rgba(75, 230, 178, 0.52);
  background: linear-gradient(145deg, #0b1931, #102441);
  color: #f8fbff;
  font-size: 0.64rem;
}

body[data-page="webuse"] .sidebar-compact-context.webuse-has-source-picker {
  display: grid !important;
  min-width: 118px;
}

body[data-page="webuse"] .sidebar-compact-context .webuse-source-picker select {
  cursor: pointer;
}

.webuse-launch-actions button,
.webuse-launch-actions a {
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1b6388;
  border-radius: 9px;
  background: #0b1931;
  color: #f5f8ff;
  font: 800 0.72rem/1 system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.webuse-launch-actions .webuse-install {
  border-color: #7447d6;
  background: linear-gradient(135deg, #2f1a62, #132a52);
}

.webuse-launch-actions .webuse-game {
  border-color: #e0a51d;
  background: #ffbd33;
  color: #10131b;
}

.webuse-connection {
  color: #4be6b2;
  font: 800 0.65rem/1 system-ui, sans-serif;
  white-space: nowrap;
}

.webuse-connection::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: 5px;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.webuse-connection[data-online="false"] {
  color: #ffb33d;
}

.webuse-connection[data-connector-state="connected"] {
  color: #4be6b2;
}

.webuse-connection[data-connector-state="delayed"],
.webuse-connection[data-connector-state="offline"],
.webuse-connection[data-connector-state="unavailable"] {
  color: #ffb33d;
}

.webuse-connection[data-connector-state="rejected"] {
  color: #ff8176;
}

.webuse-capability-notice[data-connector-state="connected"] {
  border-color: rgba(75, 230, 178, 0.5);
  background: linear-gradient(90deg, rgba(20, 87, 72, 0.42), rgba(17, 23, 42, 0.92));
  color: #d8fff1;
}

.webuse-capability-notice[data-connector-state="delayed"] {
  border-color: rgba(255, 179, 61, 0.45);
}

.webuse-install-help {
  position: fixed;
  z-index: 4999;
  inset: calc(50px + var(--webuse-safe-top)) 8px auto;
  padding: 11px 14px;
  border: 1px solid #4e3a91;
  border-radius: 0 0 12px 12px;
  background: #11172a;
  color: #e8ebf7;
  font: 600 0.78rem/1.45 system-ui, sans-serif;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.webuse-capability-notice {
  margin: 8px 12px 0;
  padding: 8px 12px;
  border: 1px solid #194c69;
  border-radius: 8px;
  background: rgba(5, 30, 45, 0.92);
  color: #a9c8d9;
  font-size: 0.72rem;
  line-height: 1.35;
}

@media (max-width: 680px) {
  body[data-webuse-runtime="browser"] {
    padding-top: calc(44px + var(--webuse-safe-top));
  }

  .webuse-launchbar {
    min-height: calc(44px + var(--webuse-safe-top));
    padding-inline: 7px;
    gap: 5px;
  }

  .webuse-home-link img {
    width: 30px;
    height: 30px;
  }

  .webuse-home-link strong {
    font-size: 0.64rem;
  }

  .webuse-home-link small {
    font-size: 0.5rem;
  }

  .webuse-connection {
    display: none;
  }

  .webuse-source-picker > span {
    display: none;
  }

  .webuse-source-picker select {
    width: min(42vw, 155px);
    min-height: 31px;
    padding-inline: 7px 22px;
    font-size: 0.61rem;
  }

  .webuse-launch-actions .webuse-install {
    display: none;
  }

  .webuse-launch-actions button,
  .webuse-launch-actions a {
    min-height: 31px;
    padding-inline: 8px;
    font-size: 0.64rem;
  }

  .webuse-install-help {
    inset-block-start: calc(44px + var(--webuse-safe-top));
  }

  .webuse-capability-notice {
    margin: 6px 7px 0;
    font-size: 0.66rem;
  }
}

@media (max-width: 420px) {
  .webuse-home-link span {
    display: none;
  }

  .webuse-source-picker select {
    width: min(48vw, 155px);
  }

  .sidebar-compact-context.webuse-has-source-picker {
    display: grid;
  }

  .sidebar-compact-context .webuse-source-picker select {
    width: 100%;
    max-width: none;
    font-size: 0.58rem;
  }

  body[data-page="webuse"].mw-tabbed-drawer-menu .sidebar-android-header {
    grid-template-columns: 42px minmax(112px, 1fr) auto;
  }

  body[data-page="webuse"].mw-tabbed-drawer-menu .sidebar-android-logo {
    width: 42px;
    height: 42px;
  }

  body[data-page="webuse"].mw-tabbed-drawer-menu .sidebar-android-donate,
  body[data-page="webuse"].mw-tabbed-drawer-menu #sidebarHeaderDiscord {
    display: none;
  }
}

@media (display-mode: standalone) {
  .webuse-home-link small {
    color: #4be6b2;
  }
}

/* Embedded demo: the actual Web Edition runtime inside the website phone. */
html[data-demo-mode="true"],
html[data-demo-mode="true"] body {
  width: 100%;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: #040713;
}

html[data-demo-mode="true"] body[data-webuse-runtime="browser"] {
  padding: 0 !important;
}

html[data-demo-mode="true"] .workspace-shell,
html[data-demo-mode="true"] .workspace-main {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}

html[data-demo-mode="true"] .workspace-sidebar,
html[data-demo-mode="true"] .workspace-topbar,
html[data-demo-mode="true"] .smart-miners-tabs,
html[data-demo-mode="true"] .webuse-launchbar,
html[data-demo-mode="true"] .webuse-install-help,
html[data-demo-mode="true"] .webuse-capability-notice,
html[data-demo-mode="true"] [data-tab="admin-tools"] {
  display: none !important;
}

html[data-demo-mode="true"] .app-shell {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 100vh;
  margin: 0 !important;
  height: 100% !important;
  padding: calc(var(--sidebar-native-header-height) + 52px) 6px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html[data-demo-mode="true"] .sidebar-android-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
}

html[data-demo-mode="true"] .sidebar-android-tabs {
  grid-template-columns: minmax(72px, .72fr) minmax(148px, 1.35fr) minmax(104px, 1fr);
}

html[data-demo-mode="true"] .mw-demo-game-tab {
  min-width: 0;
}

html[data-demo-mode="true"] .mw-demo-game-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(69, 220, 255, .28);
  border-radius: 10px;
  background: linear-gradient(145deg, #0c2741, #1d1244);
  font-size: 1.35rem;
}

html[data-demo-mode="true"] .menu-top-bar {
  min-height: 34px;
}

html[data-demo-mode="true"] #tabContent {
  min-height: calc(100vh - 164px);
}

html[data-demo-mode="true"] #tabContent[hidden] {
  display: none !important;
}

html[data-demo-mode="true"] .mw-demo-native-card {
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(69, 220, 255, .28);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(10, 23, 43, .98), rgba(6, 10, 26, .98));
}

.mw-demo-card-header {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  background: linear-gradient(105deg, rgba(11, 39, 61, .88), rgba(33, 17, 65, .78));
}

.mw-demo-card-header span {
  color: #48ddff;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mw-demo-card-header h2 {
  margin: 3px 0 0;
  color: #f6f8ff;
  font-size: 1.08rem;
  line-height: 1.1;
}

.mw-demo-card-header em {
  padding: 4px 7px;
  border: 1px solid rgba(255, 189, 55, .44);
  border-radius: 999px;
  color: #ffbd37;
  background: rgba(255, 189, 55, .08);
  font-size: .55rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .08em;
}

.mw-demo-card-body {
  padding: 13px;
  display: grid;
  gap: 10px;
}

.mw-demo-card-note {
  padding: 9px 13px 12px;
  color: #7484a3;
  font-size: .61rem;
  line-height: 1.4;
}

.mw-demo-callout {
  padding: 10px;
  display: grid;
  gap: 3px;
  border-left: 3px solid #46dbff;
  border-radius: 8px;
  background: rgba(31, 105, 145, .12);
}

.mw-demo-callout.good { border-color: #40efa8; background: rgba(64, 239, 168, .08); }
.mw-demo-callout.warning { border-color: #ffbd37; background: rgba(255, 189, 55, .08); }
.mw-demo-callout strong { color: #f4f7ff; font-size: .72rem; }
.mw-demo-callout span { color: #9eabc5; font-size: .61rem; line-height: 1.42; }

.mw-demo-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.mw-demo-metric {
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, .17);
  border-radius: 9px;
  background: rgba(3, 8, 22, .68);
}

.mw-demo-metric span {
  display: block;
  margin-bottom: 4px;
  color: #7f8daa;
  font-size: .49rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mw-demo-metric strong {
  display: block;
  overflow: hidden;
  color: #f5f7ff;
  font-size: .7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mw-demo-metric.good strong { color: #40efa8; }
.mw-demo-list { display: grid; gap: 6px; }
.mw-demo-row {
  min-width: 0;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(69, 220, 255, .17);
  border-radius: 9px;
  background: rgba(5, 18, 35, .8);
}
.mw-demo-row strong, .mw-demo-row small { display: block; }
.mw-demo-row strong { color: #eef3ff; font-size: .68rem; }
.mw-demo-row small { margin-top: 3px; color: #8e9cb8; font-size: .56rem; line-height: 1.35; }
.mw-demo-row b { color: #40efa8; font-size: .6rem; text-align: right; }
.mw-demo-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mw-demo-pills button {
  padding: 7px 10px;
  border: 1px solid #214d68;
  border-radius: 999px;
  color: #b9c7de;
  background: #091326;
  font-size: .6rem;
  font-weight: 850;
}
.mw-demo-pills button.active { border-color: #ffbd37; color: #ffbd37; }
.mw-demo-bars { height: 128px; display: flex; align-items: end; gap: 10px; padding: 12px; border-radius: 10px; background: linear-gradient(rgba(69,220,255,.05) 1px, transparent 1px) 0 0 / 100% 25%; }
.mw-demo-bars i { width: 18%; height: var(--value); border-radius: 7px 7px 2px 2px; background: linear-gradient(#45dcff, #7c3aed); }
.mw-demo-chart { position: relative; height: 145px; border: 1px solid rgba(69,220,255,.17); border-radius: 10px; background: linear-gradient(rgba(69,220,255,.05) 1px, transparent 1px) 0 0 / 100% 25%; }
.mw-demo-chart::after { content: ''; position: absolute; inset: 22% 5% 15%; border-bottom: 3px solid #ffbd37; transform: skewY(-12deg); transform-origin: left bottom; }
.mw-demo-chart span { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 8px; height: 8px; border-radius: 50%; background: #40efa8; box-shadow: 0 0 12px #40efa8; }

.mw-demo-game-surface {
  position: relative;
  min-height: calc(100vh - 128px);
  overflow: hidden;
  background: #060015;
}

.mw-demo-game-surface[hidden] { display: none !important; }
.mw-demo-game-image {
  position: absolute;
  inset: 0;
  min-height: 100%;
  overflow: hidden;
  background-image: url('/demo/assets/gomining-popup-showcase.png');
  background-repeat: no-repeat;
  background-position: left -116px;
  background-size: 300% calc(100% + 116px);
}

.mw-demo-game-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 72%, rgba(2, 3, 12, .18));
}

.mw-demo-watermark {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 7px 9px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(64, 239, 168, .5);
  border-radius: 9px;
  color: #eafff6;
  background: rgba(3, 18, 22, .82);
  backdrop-filter: blur(8px);
}
.mw-demo-watermark strong { color: #40efa8; font-size: .55rem; letter-spacing: .1em; }
.mw-demo-watermark span { color: #a5b8b1; font-size: .48rem; }
.mw-demo-native-popup-layer {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}
.mw-demo-native-popup {
  position: absolute;
  box-sizing: border-box;
  display: grid;
  gap: 2px;
  min-width: 164px;
  max-width: min(260px, calc(100% - 16px));
  padding: 7px 9px;
  border: 1px solid rgba(87, 114, 183, .32);
  border-radius: 3px;
  color: #f8fbff;
  background: rgba(16, 25, 55, .87);
  box-shadow: 0 5px 10px rgba(0, 0, 0, .45);
  font-family: Arial, sans-serif;
  line-height: 1.25;
  pointer-events: auto;
}
.mw-demo-native-popup[hidden] { display: none !important; }
.mw-demo-native-leading { top: 8px; right: 8px; min-width: 176px; }
.mw-demo-native-boosts { top: 8px; left: 8px; max-width: 250px; }
.mw-demo-native-previous { position: fixed; z-index: 4250; right: 8px; bottom: 70px; min-width: 176px; }
.mw-demo-native-chat { position: fixed; z-index: 4250; bottom: 70px; left: 8px; min-width: 236px; max-width: min(320px, calc(100% - 16px)); }
.mw-demo-native-title { color: #8fffe0; font-size: 9px; font-weight: 700; }
.mw-demo-native-name { color: #f8fbff; font-size: 13px; font-weight: 700; }
.mw-demo-native-score,
.mw-demo-native-body,
.mw-demo-native-rows { color: #f8fbff; font-size: 10px; white-space: pre-line; }
.mw-demo-native-rows { line-height: 1.35; }
.mw-demo-native-meta { color: #95a3c7; font-size: 8px; }
.mw-demo-native-chat-lines { display: block; width: min(260px, 100%); }
.mw-demo-native-chat-compose {
  height: 34px;
  margin-top: 4px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  gap: 4px;
}
.mw-demo-native-chat-compose span,
.mw-demo-native-chat-compose b {
  height: 34px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid #38517e;
  border-radius: 3px;
  background: rgba(5, 10, 28, .82);
  font-size: 9px;
}
.mw-demo-native-chat-compose span { color: #95a3c7; }
.mw-demo-native-chat-compose b { justify-content: center; color: #f8fbff; }
.mw-demo-popup-controls {
  position: fixed;
  z-index: 4300;
  right: 9px;
  bottom: 12px;
  left: 9px;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  border: 1px solid rgba(69, 220, 255, .28);
  border-radius: 11px;
  background: rgba(5, 10, 28, .88);
  backdrop-filter: blur(10px);
}
.mw-demo-popup-controls button {
  min-width: 0;
  min-height: 34px;
  padding: 6px;
  border: 1px solid #27617f;
  border-radius: 8px;
  color: #ecf8ff;
  background: #0b2235;
  font-size: .48rem;
  font-weight: 900;
}
.mw-demo-popup-controls button[aria-pressed="true"] { border-color: #8fffe0; color: #8fffe0; background: #102b35; box-shadow: inset 0 0 0 1px rgba(143, 255, 224, .16); }
.mw-demo-popup-controls button:nth-child(2),
.mw-demo-popup-controls button:nth-child(4) { border-color: #7650ce; background: #1a1235; }
.mw-demo-popup-controls button:last-child { border-color: #5b6276; background: #161a26; }

html[data-demo-mode="true"] .floating-chat,
html[data-demo-mode="true"] .floating-boost-helper {
  z-index: 4200 !important;
  max-width: calc(100vw - 18px) !important;
}

@media (max-width: 440px) {
  html[data-demo-mode="true"] .sidebar-android-tabs {
    grid-template-columns: .7fr 1.3fr .92fr;
  }
  html[data-demo-mode="true"] .mw-demo-game-icon { width: 34px; height: 34px; font-size: 1.05rem; }
  .mw-demo-card-body { padding: 10px; }
  .mw-demo-card-header { padding: 11px; }
  .mw-demo-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Demo parity: mirror the native Android header instead of the Sidebar display toolbar. */
html[data-demo-mode="true"] {
  --sidebar-native-header-height: 116px;
}

html[data-demo-mode="true"] #sidebarDisplayControls[hidden] {
  display: none !important;
}

html[data-demo-mode="true"] .mw-demo-android-native-actions > .smart-language-picker-app {
  display: none !important;
}

html[data-demo-mode="true"] .mw-demo-android-native-header {
  height: 116px;
  padding: 5px 6px 0;
  grid-template-columns: 106px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-left: 0;
  border-bottom: 0;
  background: #071126;
  box-shadow: none;
}

html[data-demo-mode="true"] .mw-demo-android-native-header::after {
  content: '';
  position: absolute;
  right: 6px;
  bottom: 0;
  left: 122px;
  height: 1px;
  background: #f5f7ff;
  opacity: .92;
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-logo {
  position: relative;
  width: 106px;
  height: 106px;
  align-self: center;
  border-color: rgba(41, 91, 119, .78);
  border-radius: 0;
  box-shadow: none;
}

html[data-demo-mode="true"] .mw-demo-mode-chip {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 3px 5px;
  border: 1px solid rgba(64, 239, 168, .72);
  border-radius: 999px;
  color: #40efa8;
  background: rgba(2, 17, 22, .9);
  box-shadow: 0 0 10px rgba(64, 239, 168, .2);
  font-size: .42rem;
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1;
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-controls {
  grid-template-rows: 48px 59px;
  align-content: stretch;
  gap: 0;
}

html[data-demo-mode="true"] .mw-demo-android-native-actions {
  height: 48px;
  padding: 1px 0 3px;
  display: grid;
  grid-template-columns: 52px minmax(70px, 88px) 48px 48px;
  grid-template-rows: 44px;
  justify-content: end;
  align-items: center;
  gap: 3px;
  border-radius: 0;
  background: #101937;
}

html[data-demo-mode="true"] .mw-demo-android-native-actions .sidebar-android-action {
  width: auto;
  min-width: 0;
  height: 44px;
  border-color: #214d68;
  border-radius: 8px;
  background: #091622;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .24);
}

html[data-demo-mode="true"] .mw-demo-language {
  padding: 0;
  color: #f8fbff;
  font-size: .72rem;
  font-weight: 900;
}

html[data-demo-mode="true"] .mw-demo-android-native-actions .sidebar-android-donate {
  gap: 4px;
  padding: 0 5px;
}

html[data-demo-mode="true"] .mw-demo-android-native-actions .sidebar-android-donate svg {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
}

html[data-demo-mode="true"] .mw-demo-android-native-actions .sidebar-android-donate strong {
  font-size: .52rem;
}

html[data-demo-mode="true"] .mw-demo-android-native-actions .sidebar-android-donate small {
  display: block;
  font-size: .36rem;
}

html[data-demo-mode="true"] .mw-demo-android-native-actions .sidebar-android-icon-action svg {
  width: 28px;
  height: 28px;
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-tabs {
  height: 59px;
  padding: 5px 0 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  background: #0c1230;
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-tab {
  position: relative;
  height: 48px;
  display: block;
  overflow: hidden;
  border-color: #214d68;
  border-radius: 8px;
  background: #091622;
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-tab.sidebar-android-tab-active {
  border-color: #4697b2;
  background: #0f2037;
  box-shadow: inset 0 0 0 1px rgba(70, 151, 178, .28);
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-tab-main {
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
  border: 0;
  background: transparent;
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-tab-main img {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-tab-main span {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 46px;
  color: #fff;
  font-size: .63rem;
  line-height: 18px;
  text-align: center;
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-tab-refresh {
  position: absolute;
  right: 9px;
  bottom: 2px;
  width: 28px;
  height: 24px;
  padding: 3px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-tab-refresh svg {
  width: 18px;
  height: 18px;
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-license-tab {
  border-color: #50459b;
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-license-tab img {
  top: 2px;
  left: 4px;
}

html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-license-tab span {
  top: 0;
  right: 0;
  width: 52px;
  line-height: 48px;
}

html[data-demo-mode="true"] .app-shell {
  padding: calc(116px + 52px) 6px 8px !important;
}

html[data-demo-mode="true"] .mw-demo-game-surface {
  min-height: calc(100vh - 116px);
}

html[data-demo-mode="true"] .mw-demo-section-copy { margin: 0 0 12px; color: #aab7ce; font-size: .72rem; line-height: 1.45; }
html[data-demo-mode="true"] .mw-demo-license-table { display: grid; grid-template-columns: minmax(110px, 1.45fr) repeat(3, minmax(56px, .7fr)); overflow: hidden; border: 1px solid #27354c; border-radius: 12px; background: #0a1220; }
html[data-demo-mode="true"] .mw-demo-license-table > * { min-width: 0; padding: 9px 6px; border-right: 1px solid #233047; border-bottom: 1px solid #233047; text-align: center; font-size: .63rem; }
html[data-demo-mode="true"] .mw-demo-license-table > :nth-child(4n + 1) { text-align: left; }
html[data-demo-mode="true"] .mw-demo-license-table .head { color: #48dcff; background: #121e34; font-size: .56rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
html[data-demo-mode="true"] .mw-demo-license-table .price { color: #ffbd2e; background: #181816; font-weight: 900; }
html[data-demo-mode="true"] .mw-demo-license-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
html[data-demo-mode="true"] .mw-demo-license-actions button,
html[data-demo-mode="true"] .mw-demo-searchbar button { min-height: 36px; padding: 8px 12px; border: 1px solid #5e50a7; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #113854, #27164f); font-size: .65rem; font-weight: 900; }
html[data-demo-mode="true"] .mw-demo-form-grid { display: grid; gap: 10px; }
html[data-demo-mode="true"] .mw-demo-form-grid label { display: grid; gap: 5px; color: #98a7bf; font-size: .6rem; font-weight: 800; }
html[data-demo-mode="true"] .mw-demo-form-grid input,
html[data-demo-mode="true"] .mw-demo-form-grid select,
html[data-demo-mode="true"] .mw-demo-searchbar input { width: 100%; min-width: 0; min-height: 38px; padding: 8px 10px; border: 1px solid #26354d; border-radius: 9px; color: #f4f7ff; background: #080e1b; font: inherit; }
html[data-demo-mode="true"] .mw-demo-code { display: grid; grid-template-columns: repeat(4, 42px); gap: 6px; }
html[data-demo-mode="true"] .mw-demo-code input { padding: 5px; text-align: center; font-size: .9rem; font-weight: 900; }
html[data-demo-mode="true"] .mw-demo-inline-status { min-height: 18px; margin: 8px 0 0; color: #43edaa; font-size: .6rem; }
html[data-demo-mode="true"] .mw-demo-watchlist { gap: 7px; }
html[data-demo-mode="true"] .mw-demo-watch-row { width: 100%; min-width: 0; display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; align-items: center; gap: 8px; padding: 9px; border: 1px solid #16445e; border-radius: 9px; color: #eaf2ff; background: #07192a; text-align: left; }
html[data-demo-mode="true"] .mw-demo-watch-row > span { font-size: 1rem; }
html[data-demo-mode="true"] .mw-demo-watch-row div { min-width: 0; display: grid; gap: 2px; }
html[data-demo-mode="true"] .mw-demo-watch-row strong { font-size: .68rem; }
html[data-demo-mode="true"] .mw-demo-watch-row small { overflow: hidden; color: #9caac0; font-size: .55rem; text-overflow: ellipsis; white-space: nowrap; }
html[data-demo-mode="true"] .mw-demo-watch-row b { color: #42efb0; text-align: center; }
html[data-demo-mode="true"] .mw-demo-detail-modal { position: fixed; z-index: 6000; inset: calc(var(--sidebar-native-header-height) + 52px) 0 0; display: flex; padding: 8px; background: rgba(1, 4, 14, .9); }
html[data-demo-mode="true"] .mw-demo-detail-dialog { width: 100%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #275e7c; border-radius: 13px; background: #04091d; box-shadow: 0 18px 50px #000; }
html[data-demo-mode="true"] .mw-demo-detail-dialog > header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px; border-bottom: 1px solid #23334b; background: #09152a; }
html[data-demo-mode="true"] .mw-demo-detail-dialog header span { color: #43ddff; font-size: .52rem; font-weight: 900; letter-spacing: .1em; }
html[data-demo-mode="true"] .mw-demo-detail-dialog h2 { margin: 2px 0 0; font-size: 1rem; }
html[data-demo-mode="true"] .mw-demo-detail-dialog header button { width: 34px; height: 34px; border: 1px solid #27607d; border-radius: 9px; color: #fff; background: #071a2d; font-size: 1.1rem; }
html[data-demo-mode="true"] .mw-demo-detail-scroll { min-height: 0; overflow-y: auto; padding: 11px; }
html[data-demo-mode="true"] .mw-demo-detail-scroll h3,
html[data-demo-mode="true"] .mw-demo-profile-card h4 { margin: 14px 0 7px; color: #dbe6fa; font-size: .67rem; text-transform: uppercase; letter-spacing: .05em; }
html[data-demo-mode="true"] .mw-demo-detail-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
html[data-demo-mode="true"] .mw-demo-boost-line,
html[data-demo-mode="true"] .mw-demo-source-pills { display: flex; flex-wrap: wrap; gap: 6px; }
html[data-demo-mode="true"] .mw-demo-boost-line span,
html[data-demo-mode="true"] .mw-demo-source-pills span { padding: 6px 8px; border: 1px solid #24516a; border-radius: 999px; color: #cce9f5; background: #0a2031; font-size: .56rem; }
html[data-demo-mode="true"] .mw-demo-win-list { display: grid; gap: 5px; }
html[data-demo-mode="true"] .mw-demo-win-list span { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; border: 1px solid #202e45; border-radius: 8px; background: #0b1424; font-size: .58rem; }
html[data-demo-mode="true"] .mw-demo-win-list em { color: #93a3ba; font-style: normal; }
html[data-demo-mode="true"] .mw-demo-searchbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
html[data-demo-mode="true"] .mw-demo-match-table { display: grid; grid-template-columns: 1fr 1fr 1fr .65fr; overflow: hidden; margin: 8px 0; border: 1px solid #26354c; border-radius: 9px; }
html[data-demo-mode="true"] .mw-demo-match-table > * { min-width: 0; padding: 6px 5px; border-right: 1px solid #26354c; color: #dbe5f7; font-size: .54rem; overflow-wrap: anywhere; }
html[data-demo-mode="true"] .mw-demo-match-table span { color: #4ce0ff; background: #101d31; font-weight: 900; text-transform: uppercase; }
html[data-demo-mode="true"] .mw-demo-profile-card { padding: 10px; border: 1px solid #a86f12; border-radius: 11px; background: #10182a; }
html[data-demo-mode="true"] .mw-demo-profile-card > header { display: flex; justify-content: space-between; gap: 8px; }
html[data-demo-mode="true"] .mw-demo-profile-card header span { color: #42ddff; font-size: .5rem; font-weight: 900; }
html[data-demo-mode="true"] .mw-demo-profile-card h3 { margin: 2px 0; font-size: .9rem; }
html[data-demo-mode="true"] .mw-demo-profile-card header small { color: #99a8bd; font-size: .55rem; }
html[data-demo-mode="true"] .mw-demo-profile-card header em { height: max-content; padding: 4px 6px; border-radius: 999px; color: #ffcb47; background: #3b2a08; font-size: .46rem; font-style: normal; font-weight: 900; }
html[data-demo-mode="true"] .mw-demo-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
html[data-demo-mode="true"] .mw-demo-profile-grid span { display: grid; gap: 2px; padding: 7px; border: 1px solid #29364e; border-radius: 8px; color: #dbe5f5; font-size: .57rem; }
html[data-demo-mode="true"] .mw-demo-profile-grid b { color: #8191aa; font-size: .49rem; text-transform: uppercase; }

html[data-demo-mode="true"] .mw-demo-data-screen {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  border: 2px solid rgba(124, 58, 237, .62);
  border-radius: 14px;
  color: #e8edf8;
  background: rgba(9, 13, 28, .97);
}

html[data-demo-mode="true"] .mw-demo-data-screen footer {
  padding-top: 10px;
  color: #7786a4;
  font-size: .5rem;
}

html[data-demo-mode="true"] .mw-demo-history-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

html[data-demo-mode="true"] .mw-demo-data-status {
  min-width: 0;
  display: grid;
  gap: 2px;
  color: #aeb9cd;
  font-size: .57rem;
}

html[data-demo-mode="true"] .mw-demo-data-status .mw-demo-inline-status { margin: 0; }
html[data-demo-mode="true"] .mw-demo-data-status small { color: #9aa6bd; font-size: .55rem; }

html[data-demo-mode="true"] .mw-demo-data-filters {
  display: grid;
  grid-template-columns: 70px 88px;
  gap: 6px;
}

html[data-demo-mode="true"] .mw-demo-data-filters label {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  color: #9ca9c1;
  font-size: .52rem;
}

html[data-demo-mode="true"] .mw-demo-data-screen input,
html[data-demo-mode="true"] .mw-demo-data-screen select,
html[data-demo-mode="true"] .mw-demo-data-screen button {
  min-width: 0;
  height: 28px;
  box-sizing: border-box;
  padding: 4px 7px;
  border: 1px solid #3a4663;
  border-radius: 999px;
  color: #ecf2ff;
  background: #11172a;
  font: inherit;
  font-size: .52rem;
  font-weight: 800;
}

html[data-demo-mode="true"] .mw-demo-data-screen input { width: 100%; }

html[data-demo-mode="true"] .mw-demo-data-controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 45px 46px 45px 58px minmax(72px, 1fr);
  gap: 5px;
}

html[data-demo-mode="true"] .mw-demo-source-strip {
  min-height: 34px;
  margin: 8px 0;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(55, 234, 155, .36);
  border-radius: 8px;
  background: rgba(3, 46, 39, .56);
}

html[data-demo-mode="true"] .mw-demo-source-strip span {
  width: 10px;
  height: 10px;
  border: 2px solid #2e9c80;
  border-radius: 50%;
  background: #10d9a0;
  box-shadow: 0 0 8px rgba(16, 217, 160, .42);
}

html[data-demo-mode="true"] .mw-demo-source-strip button {
  width: 24px;
  height: 24px;
  margin-left: auto;
  padding: 0;
  border-color: #40506d;
  font-size: .8rem;
}

html[data-demo-mode="true"] .mw-demo-data-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
  scrollbar-width: thin;
}

html[data-demo-mode="true"] .mw-demo-round-table,
html[data-demo-mode="true"] .mw-demo-leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #edf2fb;
}

html[data-demo-mode="true"] .mw-demo-round-table th,
html[data-demo-mode="true"] .mw-demo-round-table td,
html[data-demo-mode="true"] .mw-demo-leaderboard-table th,
html[data-demo-mode="true"] .mw-demo-leaderboard-table td {
  padding: 7px 5px;
  border-bottom: 1px solid rgba(148, 163, 184, .22);
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
}

html[data-demo-mode="true"] .mw-demo-round-table th,
html[data-demo-mode="true"] .mw-demo-leaderboard-table th {
  color: #aebad0;
  font-size: .49rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .05em;
}

html[data-demo-mode="true"] .mw-demo-round-table td { font-size: .53rem; }
html[data-demo-mode="true"] .mw-demo-round-table th:first-child,
html[data-demo-mode="true"] .mw-demo-round-table td:first-child { width: 24%; }
html[data-demo-mode="true"] .mw-demo-round-table th:nth-child(2),
html[data-demo-mode="true"] .mw-demo-round-table td:nth-child(2),
html[data-demo-mode="true"] .mw-demo-round-table th:nth-child(3),
html[data-demo-mode="true"] .mw-demo-round-table td:nth-child(3) { width: 38%; }
html[data-demo-mode="true"] .mw-demo-round-table td strong,
html[data-demo-mode="true"] .mw-demo-round-table td small,
html[data-demo-mode="true"] .mw-demo-round-table td b { display: block; }
html[data-demo-mode="true"] .mw-demo-round-table td strong { color: #f3f6ff; font-size: .55rem; }
html[data-demo-mode="true"] .mw-demo-round-table td small { margin-top: 2px; color: #7f8da8; font-size: .46rem; text-transform: uppercase; }
html[data-demo-mode="true"] .mw-demo-round-table td b { margin-top: 2px; color: #cbd5e7; font-size: .51rem; }

html[data-demo-mode="true"] .mw-demo-data-boost {
  display: inline-flex;
  margin: 3px 3px 0 0;
  padding: 2px 5px;
  border: 1px solid #2784a8;
  border-radius: 999px;
  color: #e8f8ff;
  background: #0a5171;
  font-size: .48rem;
}

html[data-demo-mode="true"] .mw-demo-data-none { display: block; margin-top: 3px; color: #aab4c7; font-size: .5rem; }

html[data-demo-mode="true"] .mw-demo-leaderboard-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 9px;
  align-items: start;
}

html[data-demo-mode="true"] .mw-demo-leaderboard-header h2 { margin: 0; font-size: .8rem; }
html[data-demo-mode="true"] .mw-demo-leaderboard-header p,
html[data-demo-mode="true"] .mw-demo-leaderboard-updated,
html[data-demo-mode="true"] .mw-demo-leaderboard-screen > .mw-demo-inline-status { margin: 3px 0; color: #a7b2c7; font-size: .52rem; line-height: 1.35; }
html[data-demo-mode="true"] .mw-demo-leaderboard-actions { display: grid; gap: 4px; }
html[data-demo-mode="true"] .mw-demo-leaderboard-actions > * { width: 100%; height: 25px; padding: 3px 6px; }
html[data-demo-mode="true"] .mw-demo-leaderboard-actions button:last-child { border-color: #8f59e8; }
html[data-demo-mode="true"] .mw-demo-leaderboard-table { min-width: 0; }
html[data-demo-mode="true"] .mw-demo-leaderboard-table col.pos { width: 13%; }
html[data-demo-mode="true"] .mw-demo-leaderboard-table col.id { width: 16%; }
html[data-demo-mode="true"] .mw-demo-leaderboard-table col.name { width: 29%; }
html[data-demo-mode="true"] .mw-demo-leaderboard-table col.power { width: 25%; }
html[data-demo-mode="true"] .mw-demo-leaderboard-table col.blocks { width: 17%; }
html[data-demo-mode="true"] .mw-demo-leaderboard-table td { font-size: .5rem; }

@media (max-width: 380px) {
  html[data-demo-mode="true"] {
    --sidebar-native-header-height: 106px;
  }

  html[data-demo-mode="true"] .mw-demo-android-native-header {
    height: 106px;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
  }

  html[data-demo-mode="true"] .mw-demo-android-native-header::after {
    left: 110px;
  }

  html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-logo {
    width: 96px;
    height: 96px;
  }

  html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-controls {
    grid-template-rows: 44px 57px;
  }

  html[data-demo-mode="true"] .mw-demo-android-native-actions {
    height: 44px;
    padding-bottom: 0;
    grid-template-columns: 46px minmax(54px, 70px) 44px 44px;
    grid-template-rows: 42px;
    gap: 2px;
  }

  html[data-demo-mode="true"] .mw-demo-android-native-actions .sidebar-android-action {
    height: 42px;
  }

  html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-tabs {
    height: 57px;
    padding-top: 5px;
    padding-bottom: 4px;
  }

  html[data-demo-mode="true"] .mw-demo-android-native-header .sidebar-android-tab {
    height: 48px;
  }

  html[data-demo-mode="true"] .app-shell {
    padding-top: calc(106px + 52px) !important;
  }
}

/* The Android Game tab owns the full viewport below the native header. */
html[data-demo-mode="true"] body.mw-demo-game-visible #floatingChatLauncher {
  display: none !important;
}

html[data-demo-mode="true"] body.mw-demo-game-visible .app-shell {
  padding-top: var(--sidebar-native-header-height) !important;
}

/* Keep the demo shell on the same compact Tabbed Drawer navigation as the app. */
html[data-demo-mode="true"] body.mw-tabbed-drawer-menu {
  --sidebar-native-header-height: 64px;
}

html[data-demo-mode="true"] body.mw-tabbed-drawer-menu .mw-demo-android-native-header {
  height: var(--sidebar-native-header-height);
  padding: 7px 10px;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 10px;
  border-bottom: 1px solid rgba(57, 209, 255, .34);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

html[data-demo-mode="true"] body.mw-tabbed-drawer-menu .mw-demo-android-native-header::after {
  display: none;
}

html[data-demo-mode="true"] body.mw-tabbed-drawer-menu .mw-demo-android-native-header .sidebar-android-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

html[data-demo-mode="true"] body.mw-tabbed-drawer-menu .mw-demo-android-native-header .sidebar-android-controls {
  display: contents;
}

html[data-demo-mode="true"] body.mw-tabbed-drawer-menu .mw-demo-android-native-actions {
  width: auto;
  height: auto;
  padding: 0;
  display: flex;
  grid-template: none;
  justify-content: flex-end;
  gap: 6px;
  background: transparent;
}

html[data-demo-mode="true"] body.mw-tabbed-drawer-menu .mw-demo-android-native-actions .sidebar-android-action {
  width: 42px;
  height: 42px;
}

html[data-demo-mode="true"] body.mw-tabbed-drawer-menu .app-shell,
html[data-demo-mode="true"] body.mw-tabbed-drawer-menu.mw-demo-game-visible .app-shell {
  padding: calc(var(--sidebar-native-header-height) + 12px) 6px 8px !important;
}

html[data-demo-mode="true"] body.mw-tabbed-drawer-menu .mw-demo-game-surface {
  min-height: calc(100vh - var(--sidebar-native-header-height));
}

html[data-demo-mode="true"] body.mw-tabbed-drawer-menu .app-shell.menu-open .menu-drawer {
  transform: translateX(0) !important;
}

@media (max-width: 760px) {
  html[data-demo-mode="true"] body.mw-tabbed-drawer-menu {
    --sidebar-native-header-height: 58px;
  }

  html[data-demo-mode="true"] body.mw-tabbed-drawer-menu .mw-demo-android-native-header {
    height: var(--sidebar-native-header-height);
    padding: 5px 7px;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 6px;
  }

  html[data-demo-mode="true"] body.mw-tabbed-drawer-menu .mw-demo-android-native-header .sidebar-android-logo {
    width: 46px;
    height: 46px;
  }

  html[data-demo-mode="true"] body.mw-tabbed-drawer-menu .app-shell,
  html[data-demo-mode="true"] body.mw-tabbed-drawer-menu.mw-demo-game-visible .app-shell {
    padding-top: calc(var(--sidebar-native-header-height) + 10px) !important;
  }
}

/* Web Edition mobile: use the viewport instead of stacking outer scroll gutters. */
@media (max-width: 760px) {
  body[data-page="webuse"] .app-shell,
  html[data-demo-mode="true"] body[data-page="webuse"].mw-tabbed-drawer-menu .app-shell {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 4px !important;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-gutter: auto;
    scrollbar-width: thin;
    scrollbar-color: #7047e8 rgba(4, 8, 20, 0.34);
  }

  body[data-page="webuse"] .app-shell::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  body[data-page="webuse"] .app-shell::-webkit-scrollbar-track {
    background: rgba(4, 8, 20, 0.34);
  }

  body[data-page="webuse"] .app-shell::-webkit-scrollbar-thumb {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #7c4dff, #5531ca);
  }

  body[data-page="webuse"] .tab-panel.active::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  body[data-page="webuse"] .tab-content {
    flex: 0 0 auto;
    min-height: calc(100vh - var(--sidebar-native-header-height) - 18px);
    padding-inline: 4px !important;
  }

  body[data-page="webuse"] .tab-panel.active {
    flex: 0 0 auto;
    min-height: 0;
    overflow-y: visible;
    scrollbar-width: none;
  }

  body[data-page="webuse"] .card-grid {
    padding-right: 0 !important;
  }
}
