﻿@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600;700;900&family=IBM+Plex+Sans+SC:wght@400;500;600;700&display=swap");

:root {
  --lm-page-top: #120a10;
  --lm-page-mid: #1b1018;
  --lm-page-bottom: #0f080d;
  --lm-panel: rgba(35, 18, 31, 0.92);
  --lm-panel-2: rgba(66, 28, 55, 0.9);
  --lm-line: rgba(255, 203, 226, 0.16);
  --lm-line-strong: rgba(255, 214, 232, 0.28);
  --lm-text: #fff5f9;
  --lm-muted: #f0d9e5;
  --lm-soft: #d7b8c8;
  --lm-accent: #ff9fc9;
  --lm-accent-2: #ffd979;
  --lm-good: #8de1b8;
  --lm-warn: #ffd18d;
  --lm-danger: #ff9db3;
  --lm-shadow: 0 28px 72px rgba(7, 2, 10, 0.48);
  --lm-display: "Noto Serif SC", serif;
  --lm-body: "IBM Plex Sans SC", sans-serif;
  --lm-radius-xl: 28px;
  --lm-radius-lg: 20px;
  --lm-radius-md: 14px;
  --lm-control-h: 42px;
  --lm-ease: cubic-bezier(.2,.8,.2,1);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(255, 217, 121, 0.92);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 159, 201, 0.20);
}

.lm-skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 2147483000;
  padding: 10px 14px;
  border-radius: 999px;
  color: #2b1426;
  background: #ffd979;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.lm-skip-link:focus-visible {
  transform: translateY(0);
}

.lm-starry-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--lm-mouse-x, 72%) var(--lm-mouse-y, 12%), rgba(255, 178, 218, 0.16), transparent 18rem),
    radial-gradient(circle at 20% 18%, rgba(255, 226, 241, 0.10), transparent 18rem),
    radial-gradient(circle at 84% 12%, rgba(164, 238, 198, 0.08), transparent 16rem);
}

.lm-starry-field::before {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 216, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 216, 235, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: rotate(-8deg);
}

.lm-starry-field i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 999px;
  opacity: var(--a);
  background: #fff7fb;
  box-shadow: 0 0 14px rgba(255, 202, 229, 0.78);
  animation: lm-star-twinkle 4.8s ease-in-out var(--d) infinite;
}

.lm-starry-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 6, 16, 0.38), rgba(18, 6, 16, 0.86)),
    radial-gradient(circle at 50% 120%, rgba(255, 153, 207, 0.12), transparent 34rem);
}

.lm-cursor-aura {
  position: fixed;
  left: var(--lm-mouse-x, 50%);
  top: var(--lm-mouse-y, 50%);
  z-index: 2147482990;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.52;
  background: radial-gradient(circle, rgba(255, 193, 224, 0.20), rgba(255, 193, 224, 0.06) 34%, transparent 68%);
  mix-blend-mode: screen;
  transition: left 90ms linear, top 90ms linear;
}

.lm-cursor-trail {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2147482991;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  pointer-events: none;
  background: linear-gradient(135deg, #ffd1e8, #bff5d8);
  box-shadow: 0 0 18px rgba(255, 183, 217, 0.72);
  animation: lm-cursor-fade 760ms ease-out forwards;
}

body.lm-polished > :not(.lm-starry-field):not(.lm-particle-canvas):not(.lm-cursor-aura):not(.lm-cursor-trail):not(.lm-scroll-progress):not(.lm-command-palette):not(.lm-command-toast):not(.lm-mobile-dock):not(.lm-visual-dock):not(.lm-visual-search):not(.lm-mascot-bubble):not(.lm-fps-meter):not(.lm-shared-home-rail):not(.lm-skip-link) {
  position: relative;
  z-index: 1;
}

@keyframes lm-star-twinkle {
  0%, 100% { opacity: calc(var(--a) * 0.42); transform: scale(0.86); }
  48% { opacity: var(--a); transform: scale(1.28); }
}

@keyframes lm-cursor-fade {
  from { opacity: 0.72; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 0; transform: translate3d(12px, -18px, 0) scale(0.1); }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .lm-cursor-aura,
  .lm-cursor-trail {
    display: none;
  }
  .lm-starry-field i {
    animation: none;
  }
}

body.lm-polished:not(.lm-page-home) {
  --lm-shell-max: 1360px;
  --lm-shell-gap: clamp(18px, 2.5vw, 32px);
  --lm-card-pad: clamp(16px, 1.8vw, 24px);
  --lm-panel-radius: 28px;
  --lm-hero-radius: 34px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 159, 201, 0.16), transparent 26rem),
    radial-gradient(circle at 86% 6%, rgba(255, 217, 121, 0.10), transparent 24rem),
    radial-gradient(circle at 78% 86%, rgba(141, 225, 184, 0.07), transparent 22rem),
    linear-gradient(180deg, var(--lm-page-top), var(--lm-page-mid) 46%, var(--lm-page-bottom)) !important;
}

body.lm-polished:not(.lm-page-home) :is(.page-wrap, .shell, .page, .wrap, .auth-shell).lm-project-shell {
  width: min(var(--lm-shell-max), calc(100vw - 40px)) !important;
  max-width: calc(100vw - 40px) !important;
  margin-inline: auto !important;
  padding-top: clamp(18px, 2vw, 26px) !important;
  padding-bottom: calc(56px + env(safe-area-inset-bottom)) !important;
}

body.lm-polished:not(.lm-page-home) :is(.topbar, .site-bar).lm-project-topbar {
  min-height: 72px;
  padding: 12px 16px !important;
  border-radius: 22px !important;
  border-color: var(--lm-line) !important;
  background:
    linear-gradient(135deg, rgba(255, 214, 232, 0.10), rgba(255, 255, 255, 0.035)),
    rgba(30, 14, 27, 0.88) !important;
  box-shadow: 0 20px 54px rgba(7, 2, 10, 0.34) !important;
  backdrop-filter: blur(18px) !important;
}

body.lm-polished:not(.lm-page-home) :is(.topbar, .site-bar).lm-project-topbar :is(.brand, a.brand) {
  min-width: 0;
  flex: 1 1 320px;
}

body.lm-polished:not(.lm-page-home) :is(.topbar, .site-bar).lm-project-topbar :is(.brand img, .brand-mark, .brand-logo, .brand-mark img, .brand-logo img) {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px;
  border-radius: 17px !important;
  object-fit: cover;
}

body.lm-polished:not(.lm-page-home) :is(.topbar, .site-bar).lm-project-topbar :is(.nav, .actions, .top-actions) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

body.lm-polished:not(.lm-page-home) :is(.hero, .lead-panel).lm-project-hero {
  border-radius: var(--lm-hero-radius) !important;
  padding: clamp(20px, 2.6vw, 34px) !important;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 217, 121, 0.10), transparent 20rem),
    linear-gradient(135deg, rgba(255, 214, 232, 0.09), rgba(255, 255, 255, 0.028)),
    rgba(35, 18, 31, 0.86) !important;
}

body.lm-polished:not(.lm-page-home) :is(.panel, .surface, .card, .list-card, .summary-card, .metric-card, .module-card, .data-row, .platform-row, .stat-card, .info-box, .faq-box) {
  border-radius: var(--lm-panel-radius) !important;
  border-color: var(--lm-line) !important;
  box-shadow: 0 18px 48px rgba(7, 2, 10, 0.24);
}

body.lm-polished:not(.lm-page-home) :is(.surface, .card, .list-card, .summary-card, .metric-card, .info-box, .faq-box),
body.lm-polished:not(.lm-page-home) .panel:not(:has(> .panel-head)):not(:has(> .panel-body)):not(:has(> .head)) {
  padding: var(--lm-card-pad);
}

body.lm-polished:not(.lm-page-home) :is(.panel-head, .head, .card-head, .section-head) {
  gap: 16px;
}

body.lm-polished:not(.lm-page-home) :is(h1, .lead-title, .hero-title, .page-title h1) {
  font-family: var(--lm-display);
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

body.lm-polished:not(.lm-page-home) :is(h2, .section-title, .panel-title) {
  font-family: var(--lm-display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
}

body.lm-polished:not(.lm-page-home) :is(p, .desc, .section-desc, .panel-note, .muted, .meta) {
  max-width: 72ch;
}

body.lm-polished:not(.lm-page-home) :is(.layout, .grid, .panel-grid, .main-grid, .content-grid) {
  gap: var(--lm-shell-gap) !important;
}

body.lm-polished:not(.lm-page-home) :is(.module-grid, .card-grid, .case-grid, .stats, .lead-stats, .mover-grid) {
  gap: 12px !important;
}

body.lm-polished:not(.lm-page-home) :is(button, .btn, .btn-p, .btn-s, .action-btn, .primary-action, .ghost-link, .nav-link, .steam-link, .chip, .pill, .mini-pill, a.cta) {
  min-height: 40px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
}

body.lm-polished:not(.lm-page-home) :is(input, select, textarea) {
  min-height: 44px;
  border-radius: 16px;
}

body.lm-polished:not(.lm-page-home) :is(img, video, canvas, svg) {
  max-width: 100%;
}

body.lm-polished:not(.lm-page-home) :is(table, .table-wrap, .list, .row-list, .skin-list, .history-list, .inventory-list) {
  max-width: 100%;
}

body.lm-polished:not(.lm-page-home) :is(.data-row, .module-card, .platform-row, .skin-row, .mover-row) {
  min-width: 0;
}

body.lm-polished:not(.lm-page-home) :is(.data-row h3, .module-card h3, .skin-row strong, .mover-copy strong) {
  overflow-wrap: anywhere;
}

body.lm-polished:not(.lm-page-home) :is(.panel, .surface, .card, .list-card, .summary-card, .metric-card, .module-card, .data-row, .platform-row, .stat-card, .info-box, .faq-box, .stack, .layout, main, section, aside) {
  max-width: 100%;
}

body.lm-polished:not(.lm-page-home) :is(.case-grid, .card-grid, .module-grid, .stats, .lead-stats, .mover-grid) > * {
  min-width: 0;
}

body.lm-polished:not(.lm-page-home) {
  overflow-x: clip;
}

body.lm-polished.lm-page-steam-hub {
  --lm-shell-max: 1480px;
}

body.lm-polished.lm-page-admin,
body.lm-polished.lm-page-token-vault {
  --lm-shell-max: 1440px;
}

body.lm-polished.lm-page-login .auth-shell.lm-project-shell {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

body.lm-polished.lm-page-case-opener {
  --lm-shell-max: 1280px;
}

body.lm-polished.lm-page-case-opener .wrap.lm-project-shell {
  width: min(1280px, calc(100vw - 32px)) !important;
}

.lm-shared-home-rail {
  position: fixed;
  left: 18px;
  top: 18px;
  bottom: 18px;
  z-index: 2147483000;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 12px;
  width: 236px;
  overflow: hidden;
  padding: 15px;
  border: 1px solid rgba(255, 214, 232, 0.16);
  border-radius: 30px;
  color: var(--lm-text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 159, 201, 0.16), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    rgba(24, 11, 22, 0.92);
  box-shadow: 0 26px 78px rgba(7, 2, 10, 0.46);
  backdrop-filter: blur(20px);
}

.lm-shared-home-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 30%);
  opacity: 0.72;
}

.lm-shared-home-rail > * {
  position: relative;
  z-index: 1;
}

.lm-shared-rail-brand {
  display: grid;
  gap: 6px;
}

.lm-shared-rail-brand span,
.lm-shared-rail-profile em,
.lm-shared-rail-mini-grid span,
.lm-shared-rail-footer {
  color: var(--lm-soft);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lm-shared-rail-brand strong {
  font-family: var(--lm-display);
  font-size: 22px;
  line-height: 1.05;
}

.lm-shared-rail-profile {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 214, 232, 0.13);
  border-radius: 22px;
  background: rgba(255,255,255,0.045);
}

.lm-shared-rail-profile img {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: 0 12px 22px rgba(255, 159, 201, 0.18);
}

.lm-shared-rail-profile strong {
  display: block;
  overflow: hidden;
  color: var(--lm-text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lm-shared-rail-nav {
  display: grid;
  align-content: start;
  gap: 7px;
  overflow: auto;
  padding-right: 2px;
  scrollbar-width: none;
}

.lm-shared-rail-nav::-webkit-scrollbar {
  display: none;
}

.lm-shared-rail-link {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 52px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: var(--lm-muted);
  background: transparent;
  transition: transform 0.18s var(--lm-ease), background 0.18s var(--lm-ease), border-color 0.18s var(--lm-ease);
}

.lm-shared-rail-link span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 13px;
  color: var(--lm-soft);
  background: rgba(255,255,255,0.045);
  font: 900 11px/1 "Cascadia Mono", Consolas, monospace;
}

.lm-shared-rail-link strong {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: var(--lm-text);
  font-size: 13px;
}

.lm-shared-rail-link small {
  overflow: hidden;
  color: var(--lm-soft);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lm-shared-rail-link:hover,
.lm-shared-rail-link.is-active {
  transform: translateX(2px);
  border-color: rgba(255, 214, 232, 0.17);
  background:
    linear-gradient(135deg, rgba(255, 214, 232, 0.12), rgba(255, 217, 121, 0.055)),
    rgba(255,255,255,0.045);
}

.lm-shared-rail-link.is-active span {
  color: #28111c;
  background: linear-gradient(135deg, var(--lm-accent-2), var(--lm-accent));
  box-shadow: 0 12px 24px rgba(255, 159, 201, 0.2);
}

.lm-shared-rail-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lm-shared-rail-mini-grid div {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 214, 232, 0.12);
  border-radius: 17px;
  background: rgba(255,255,255,0.04);
}

.lm-shared-rail-mini-grid strong {
  overflow: hidden;
  color: var(--lm-text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lm-shared-rail-footer {
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0.02em;
}

body.lm-with-home-rail:not(.lm-page-home) :is(.page-wrap, .shell, .page, .wrap, .auth-shell).lm-project-shell {
  width: min(var(--lm-shell-max), calc(100vw - 306px)) !important;
  max-width: calc(100vw - 306px) !important;
  margin-left: 278px !important;
  margin-right: 24px !important;
}

body.lm-with-home-rail.lm-page-case-opener .wrap.lm-project-shell {
  width: min(1280px, calc(100vw - 306px)) !important;
}

body.lm-with-home-rail.lm-page-login .auth-shell.lm-project-shell {
  min-height: calc(100vh - 36px);
}

body.lm-with-home-rail:not(.lm-page-home) .lm-project-shell {
  min-width: 0;
}

body.lm-with-home-rail:not(.lm-page-home) :is(.stack, .layout, .panel-grid, .main-grid, .content-grid, .hero-grid, .lead-grid, .panel, .surface, .card, .module-card, .data-row, .list-card, .summary-card, .metric-card, .info-box, .faq-box) {
  min-width: 0;
}

@media (max-width: 1100px) {
  .lm-shared-home-rail {
    display: none;
  }

  body.lm-with-home-rail:not(.lm-page-home) :is(.page-wrap, .shell, .page, .wrap, .auth-shell).lm-project-shell,
  body.lm-with-home-rail.lm-page-case-opener .wrap.lm-project-shell {
    width: min(var(--lm-shell-max), calc(100vw - 40px)) !important;
    max-width: calc(100vw - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.lm-polished:not(.lm-page-home) :is(.layout, .main-grid, .content-grid, .hero-grid, .lead-grid) {
    grid-template-columns: 1fr !important;
  }

  body.lm-polished:not(.lm-page-home) :is(.side-stack, aside.stack) {
    position: static !important;
  }
}

@media (max-width: 760px) {
  body.lm-polished:not(.lm-page-home) {
    --lm-panel-radius: 22px;
    --lm-hero-radius: 24px;
    --lm-card-pad: 14px;
  }

  body.lm-polished:not(.lm-page-home) :is(.page-wrap, .shell, .page, .wrap, .auth-shell).lm-project-shell {
    width: min(100vw - 18px, var(--lm-shell-max)) !important;
    max-width: calc(100vw - 18px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 10px !important;
    padding-bottom: calc(94px + env(safe-area-inset-bottom)) !important;
  }

  body.lm-polished:not(.lm-page-home) :is(.topbar, .site-bar).lm-project-topbar {
    position: relative !important;
    top: auto !important;
    min-height: 0;
    align-items: flex-start;
  }

  body.lm-polished:not(.lm-page-home) :is(.topbar, .site-bar).lm-project-topbar :is(.nav, .actions, .top-actions) {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  body.lm-polished:not(.lm-page-home) :is(.topbar, .site-bar).lm-project-topbar :is(.nav, .actions, .top-actions)::-webkit-scrollbar {
    display: none;
  }

  body.lm-polished:not(.lm-page-home) :is(.panel-grid, .module-grid, .card-grid, .case-grid, .stats, .lead-stats, .mover-grid, .control-grid, .case-control-grid) {
    grid-template-columns: 1fr !important;
  }

  body.lm-polished:not(.lm-page-home) :is(h1, .lead-title, .hero-title, .page-title h1) {
    font-size: clamp(30px, 11vw, 44px);
  }

  body.lm-polished:not(.lm-page-home) :is(.panel-head, .head, .card-head, .section-head, .result) {
    flex-direction: column;
    align-items: stretch !important;
  }
}

body.lm-polished {
  --lm-shell-max: 1320px;
  --lm-shell-gap: clamp(14px, 1.5vw, 20px);
  --lm-card-pad: clamp(14px, 1.5vw, 20px);
  --lm-panel-radius: 22px;
  --lm-hero-radius: 28px;
}

body.lm-polished:not(.lm-page-home):not(.lm-page-login):not(.lm-page-steam-hub):not(.lm-page-case-opener)
  :is(.layout, .main-grid, .content-grid, .hero-grid, .lead-grid, .panel-grid) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px) !important;
  gap: var(--lm-shell-gap) !important;
  align-items: start !important;
}

body.lm-polished.lm-page-case-opener .layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px) !important;
  gap: var(--lm-shell-gap) !important;
}

body.lm-polished.lm-page-intelligence .layout,
body.lm-polished.lm-page-platform .layout,
body.lm-polished.lm-page-updates .layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px) !important;
}

body.lm-polished:not(.lm-page-home):not(.lm-page-login) :is(.page-wrap, .shell, .page, .wrap).lm-project-shell {
  width: min(var(--lm-shell-max), calc(100vw - 36px)) !important;
  max-width: calc(100vw - 36px) !important;
}

body.lm-with-home-rail:not(.lm-page-home):not(.lm-page-login):not(.lm-page-case-opener)
  :is(.page-wrap, .shell, .page, .wrap, .auth-shell).lm-project-shell {
  width: min(var(--lm-shell-max), calc(100vw - 306px)) !important;
  max-width: calc(100vw - 306px) !important;
  margin-left: 278px !important;
  margin-right: 24px !important;
}

body.lm-polished :is(h1, h2, h3, .hero-title, .lead-title, .section-title, .panel-title, .page-title h1) {
  letter-spacing: 0 !important;
}

body.lm-polished:not(.lm-page-home) :is(h1, .lead-title, .hero-title, .page-title h1) {
  font-size: clamp(30px, 3.9vw, 56px) !important;
}

body.lm-polished :is(.panel, .surface, .card, .list-card, .summary-card, .metric-card, .module-card, .data-row, .platform-row, .stat-card, .info-box, .faq-box) {
  border-radius: var(--lm-panel-radius) !important;
}

body.lm-polished:not(.lm-page-case-opener):not(.lm-page-home) :is(.side-stack, aside.stack, .rail.right, .hero-side) {
  max-width: 320px !important;
  width: min(320px, 100%) !important;
}

body.lm-polished:not(.lm-page-case-opener):not(.lm-page-home) :is(.side-stack, aside.stack, .rail.right, .hero-side) > * {
  min-width: 0;
  max-width: 100% !important;
}

body.lm-polished :is(.tool-grid, .module-grid, .card-grid, .case-grid, .stats, .lead-stats, .summary-grid, .platform-grid, .stat-grid) {
  gap: 12px !important;
}

body.home-premium .page-wrap.home-console-page {
  width: min(1440px, calc(100vw - 40px)) !important;
  max-width: calc(100vw - 40px) !important;
  grid-template-columns: 236px minmax(0, 1fr) !important;
  gap: 18px !important;
}

body.home-premium .home-control-rail {
  width: 236px !important;
  max-width: 236px !important;
  padding: 15px !important;
}

body.home-premium .layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px) !important;
  gap: 16px !important;
}

body.home-premium .workspace-side {
  max-width: 320px !important;
}

body.home-premium :is(.lead-panel.hero-stage-shell, .panel, .panel-shell) {
  border-radius: 24px !important;
}

body.home-premium .page-wrap.home-console-page {
  grid-template-columns: 236px minmax(0, 1fr) 292px !important;
}

body.home-premium .home-console-page > :not(.home-control-rail):not(.home-side-dock) {
  grid-column: 2 !important;
}

body.home-premium .home-side-dock {
  grid-column: 3 !important;
  grid-row: 1 / span 9 !important;
  position: sticky !important;
  top: 14px !important;
  align-self: start !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

@media (max-width: 1360px) {
  body.home-premium .page-wrap.home-console-page {
    grid-template-columns: 236px minmax(0, 1fr) !important;
  }

  body.home-premium .home-console-page > :not(.home-control-rail):not(.home-side-dock) {
    grid-column: 2 !important;
  }

  body.home-premium .site-bar {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body.home-premium .home-side-dock {
    grid-column: 2 !important;
    grid-row: 2 !important;
    position: relative !important;
    top: auto !important;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1220px) {
  body.home-premium .page-wrap.home-console-page {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.home-premium .home-control-rail,
  body.home-premium .site-bar,
  body.home-premium .home-side-dock,
  body.home-premium .home-console-page > :not(.home-control-rail):not(.home-side-dock) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  body.home-premium .home-side-dock {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 1540px) {
  body.lm-polished {
    --lm-shell-max: 1380px;
  }

  body.home-premium .page-wrap.home-console-page {
    width: min(1480px, calc(100vw - 48px)) !important;
  }
}

@media (max-width: 1100px) {
  body.lm-polished:not(.lm-page-home):not(.lm-page-login):not(.lm-page-steam-hub):not(.lm-page-case-opener)
    :is(.layout, .main-grid, .content-grid, .hero-grid, .lead-grid, .panel-grid),
  body.lm-polished.lm-page-case-opener .layout,
  body.home-premium .layout,
  body.home-premium .page-wrap.home-console-page {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.lm-polished :is(.side-stack, aside.stack, .rail.right, .hero-side),
  body.home-premium .workspace-side {
    max-width: none !important;
  }
}

@media (max-width: 1100px) {
  body.lm-with-home-rail:not(.lm-page-home):not(.lm-page-login):not(.lm-page-case-opener)
    :is(.page-wrap, .shell, .page, .wrap, .auth-shell).lm-project-shell {
    width: min(var(--lm-shell-max), calc(100vw - 18px)) !important;
    max-width: calc(100vw - 18px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.home-premium .page-wrap.home-console-page {
    width: min(100%, calc(100vw - 18px)) !important;
    max-width: calc(100vw - 18px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.lm-with-home-rail:not(.lm-page-home):not(.lm-page-login):not(.lm-page-case-opener)
    :is(.page-wrap, .shell, .page, .wrap, .auth-shell).lm-project-shell {
    width: min(100%, calc(100vw - 18px)) !important;
    max-width: calc(100vw - 18px) !important;
  }
}

html {
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 18px;
}

body {
  font-family: var(--lm-body, "IBM Plex Sans SC", sans-serif);
}

.lm-polished {
  color-scheme: dark;
}

.lm-polished :is(h1, h2, h3, .hero-title, .panel-title, .section-title, .page-title h1) {
  text-wrap: balance;
}

.lm-polished :is(.panel-title, .section-title, .card-title, .name) {
  letter-spacing: -0.02em;
}

.lm-polished :is(.meta, .muted, .panel-note, .hint, .empty, small) {
  line-height: 1.65;
}

.lm-polished :is(code, pre, .log, .mono, [data-mono]) {
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

body.lm-polished::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2147483640;
  opacity: 0.22;
  background:
    radial-gradient(circle at var(--lm-mouse-x, 50%) var(--lm-mouse-y, 8%), rgba(255, 170, 211, 0.16), transparent 18rem),
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 92%);
}

.lm-polished :is(.topbar, .site-bar, .nav, .panel, .hero, .lead-panel, .surface, .card, .list-card, .summary-card, .stat-card, .metric-card, .platform-row, .module-card, .data-row, .feat, .plat, .contact, .info-box, .faq-box) {
  position: relative;
}

.lm-polished :is(.panel, .hero, .lead-panel, .surface, .card, .list-card, .summary-card, .stat-card, .metric-card, .platform-row, .module-card, .data-row, .feat, .plat, .contact, .info-box, .faq-box)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.22s ease;
  background: radial-gradient(circle at var(--lm-card-x, 50%) var(--lm-card-y, 0%), rgba(255, 215, 234, 0.14), transparent 14rem);
}

.lm-polished :is(.panel, .surface, .card, .list-card, .summary-card, .stat-card, .metric-card, .module-card, .info-box, .faq-box) {
  isolation: isolate;
}

.lm-polished :is(.panel, .surface, .card, .list-card, .summary-card, .stat-card, .metric-card, .module-card, .info-box, .faq-box)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%),
    radial-gradient(circle at 12% 0%, rgba(255, 188, 219, 0.08), transparent 18rem);
  opacity: 0.82;
}

.lm-polished :is(.panel, .hero, .lead-panel, .surface, .card, .list-card, .summary-card, .stat-card, .metric-card, .platform-row, .module-card, .data-row, .feat, .plat, .contact, .info-box, .faq-box):hover::after {
  opacity: 1;
}

.lm-polished :is(button, .btn, .btn-p, .btn-s, .action-btn, .primary-action, .ghost-link, .nav-link, .filter-btn, .mode-card, a.cta) {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transform: translateZ(0);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.lm-polished :is(button, .btn, .btn-p, .btn-s, .action-btn, .primary-action, .ghost-link, .nav-link, .filter-btn, a.cta) {
  min-height: var(--lm-control-h);
  border-radius: var(--lm-radius-md);
  font-weight: 750;
}

.lm-polished :is(input, select, textarea) {
  min-height: var(--lm-control-h);
  border-radius: var(--lm-radius-md);
  scroll-margin: 18px;
  transition:
    border-color 0.18s var(--lm-ease),
    box-shadow 0.18s var(--lm-ease),
    background 0.18s var(--lm-ease);
}

.lm-polished :is(input, select, textarea)::placeholder {
  color: color-mix(in srgb, var(--lm-muted) 66%, transparent);
}

.lm-polished :is(input, select, textarea):focus {
  border-color: rgba(255, 196, 222, 0.42);
  box-shadow: 0 0 0 5px rgba(255, 159, 201, 0.1);
}

.lm-polished :is(table) {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.lm-polished :is(th, td) {
  border-bottom: 1px solid var(--lm-line);
}

.lm-polished :is(th) {
  color: var(--lm-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lm-polished :is(tbody tr, .item, .row-card, .data-row, .platform-row) {
  transition:
    background 0.18s var(--lm-ease),
    border-color 0.18s var(--lm-ease),
    transform 0.18s var(--lm-ease);
}

.lm-polished :is(tbody tr, .item, .row-card, .data-row, .platform-row):hover {
  background: rgba(255, 214, 232, 0.045);
}

.lm-enterprise-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--lm-line);
  border-radius: var(--lm-radius-lg);
  color: var(--lm-muted);
  background:
    linear-gradient(135deg, rgba(255, 214, 232, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(30, 14, 26, 0.72);
  box-shadow: 0 14px 34px rgba(7, 2, 10, 0.2);
}

.lm-enterprise-bar strong {
  color: var(--lm-text);
  font-size: 13px;
}

.lm-enterprise-bar span {
  font-size: 12px;
}

.lm-enterprise-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--lm-line);
  border-radius: 999px;
  color: var(--lm-soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}

.lm-enterprise-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--lm-good);
  box-shadow: 0 0 14px color-mix(in srgb, var(--lm-good) 70%, transparent);
}

.lm-density-compact :is(.panel, .surface, .card, .item) {
  --lm-control-h: 38px;
}

.lm-empty-upgraded {
  border: 1px dashed rgba(255, 214, 232, 0.24);
  border-radius: var(--lm-radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.lm-polished :is(button, .btn, .btn-p, .btn-s, .action-btn, .primary-action, .ghost-link, .nav-link, .filter-btn, .mode-card, a.cta):where(:hover, :focus-visible) {
  transform: translateY(-1px);
}

.lm-polished :is(button, a, input, select, textarea):focus-visible {
  outline: 2px solid rgba(255, 196, 222, 0.86);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 159, 201, 0.14);
}

.lm-polished .lm-ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(1);
  animation: lm-ripple 0.55s ease-out forwards;
  background: rgba(255, 236, 245, 0.5);
  mix-blend-mode: screen;
}

@keyframes lm-ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

.lm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.lm-reveal.lm-visible {
  opacity: 1;
  transform: translateY(0);
}

.lm-command-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 2147483641;
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  max-width: min(460px, calc(100vw - 28px));
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 232, 0.22);
  color: var(--lm-text);
  background:
    linear-gradient(135deg, rgba(66, 28, 55, 0.94), rgba(32, 15, 30, 0.96)),
    var(--lm-panel);
  box-shadow: 0 16px 36px rgba(7, 2, 10, 0.46);
  backdrop-filter: blur(18px);
  font-size: 13px;
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lm-command-toast.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.lm-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483642;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--lm-accent), var(--lm-accent-2));
  box-shadow: 0 0 22px rgba(255, 159, 201, 0.42);
  pointer-events: none;
}

.lm-command-palette {
  position: fixed;
  inset: 0;
  z-index: 2147483643;
  display: grid;
  place-items: start center;
  padding: 12vh 18px 24px;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 190, 222, 0.16), transparent 28rem),
    rgba(8, 4, 8, 0.48);
  backdrop-filter: blur(12px);
  transition: opacity 0.16s ease;
}

.lm-command-palette.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lm-command-panel {
  width: min(620px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 214, 232, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(28, 13, 24, 0.96);
  box-shadow: 0 32px 88px rgba(5, 2, 8, 0.54);
}

.lm-command-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 214, 232, 0.14);
}

.lm-command-head strong {
  color: var(--lm-text);
  font-size: 15px;
}

.lm-command-head span {
  color: var(--lm-soft);
  font-size: 12px;
  font-weight: 800;
}

.lm-command-list {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.lm-command-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--lm-text);
  background: transparent;
  text-align: left;
}

.lm-command-item:hover,
.lm-command-item.is-active {
  border-color: rgba(255, 214, 232, 0.2);
  background: rgba(255, 214, 232, 0.075);
}

.lm-command-item span {
  display: grid;
  gap: 4px;
}

.lm-command-item strong {
  font-size: 14px;
}

.lm-command-item em {
  color: var(--lm-soft);
  font-size: 12px;
  font-style: normal;
}

.lm-command-item kbd {
  min-width: 34px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 214, 232, 0.18);
  border-radius: 10px;
  color: var(--lm-muted);
  background: rgba(255,255,255,0.045);
  font: 800 11px/1 "Cascadia Mono", Consolas, monospace;
  text-align: center;
}

.lm-mobile-dock {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 2147483641;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: min(420px, calc(100vw - 18px));
  padding: 7px;
  border: 1px solid rgba(255, 214, 232, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035)),
    rgba(24, 11, 21, 0.94);
  box-shadow: 0 22px 60px rgba(5, 2, 8, 0.5);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: transform 0.2s var(--lm-ease), opacity 0.2s var(--lm-ease);
}

.lm-mobile-dock button {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  min-height: 44px;
  border: 0;
  border-radius: 17px;
  color: var(--lm-muted);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lm-mobile-dock button b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 18px;
  border-radius: 999px;
  color: var(--lm-soft);
  font: 900 15px/1 "Cascadia Mono", Consolas, monospace;
}

.lm-mobile-dock button span {
  line-height: 1;
}

.lm-mobile-dock button:is(:active, .is-active) {
  color: var(--lm-text);
  background:
    linear-gradient(135deg, rgba(255, 214, 232, 0.14), rgba(255, 217, 121, 0.08)),
    rgba(255, 214, 232, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 232, 0.12);
}

.lm-mobile-dock button:is(:active, .is-active) b {
  color: var(--lm-accent-2);
  background: rgba(255, 217, 121, 0.08);
}

.gwenlike-hero {
  position: relative;
  min-height: min(920px, 94vh);
  overflow: hidden;
  color: #fff7fc;
  isolation: isolate;
}

.gwenlike-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 7, 13, 0.36), rgba(12, 5, 11, 0.54) 52%, rgba(17, 4, 12, 0.9)),
    radial-gradient(circle at var(--lm-mouse-x, 50%) var(--lm-mouse-y, 46%), rgba(255, 151, 210, 0.22), transparent 19rem),
    url("/static/home-hero-night-pink.png") center / cover no-repeat;
  transform: scale(1.02);
}

.gwenlike-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 52% 52%, rgba(255, 183, 226, 0.18), transparent 19rem),
    linear-gradient(90deg, rgba(9, 4, 10, 0.58), rgba(20, 7, 16, 0.04) 46%, rgba(9, 4, 10, 0.56));
  pointer-events: none;
}

.gwenlike-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26vh;
  background: linear-gradient(180deg, transparent, #15050f 82%);
  pointer-events: none;
}

.gwenlike-hero-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 20px;
  width: min(1360px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 24px 0 0;
}

.gwenlike-brand {
  width: fit-content;
  color: #f3d5ff;
  text-decoration: none;
  font-family: var(--lm-display, var(--font-display));
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 900;
  text-shadow: 0 0 20px rgba(217, 138, 255, 0.48);
}

.gwenlike-nav,
.gwenlike-modes {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.gwenlike-nav a,
.gwenlike-modes a,
.gwenlike-modes button {
  color: #fff9fd;
  text-decoration: none;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.58);
}

.gwenlike-nav a {
  position: relative;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
}

.gwenlike-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8fc6, #7fe1d6);
  transition: transform 0.18s ease;
}

.gwenlike-nav a:hover::after {
  transform: scaleX(1);
}

.gwenlike-modes {
  justify-content: flex-end;
}

.gwenlike-modes a,
.gwenlike-modes button,
.gwenlike-floating-tools a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 232, 244, 0.2);
  border-radius: 12px;
  background: rgba(14, 7, 15, 0.24);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  font-size: 20px;
  font-weight: 900;
}

.gwenlike-modes button {
  appearance: none;
  cursor: pointer;
}

.gwenlike-note {
  position: absolute;
  z-index: 2;
  top: 86px;
  left: max(24px, calc((100vw - 1360px) / 2));
  width: min(330px, calc(100vw - 48px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  color: #2a2030;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
}

.gwenlike-note strong {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #25301f !important;
  font-size: 15px;
}

.gwenlike-note strong::before {
  content: "";
  width: 10px;
  height: 18px;
  border: 2px solid #5fce4d;
  border-radius: 2px;
}

.gwenlike-note p {
  margin: 14px 0 0;
  color: rgba(35, 27, 39, 0.76) !important;
  font-size: 14px;
  line-height: 1.8;
}

.gwenlike-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(1180px, calc(100vw - 42px));
  margin: 0 auto;
  padding-top: clamp(250px, 37vh, 390px);
  text-align: center;
}

.gwenlike-hero-copy h1 {
  margin: 0;
  color: #fff9ff;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1.06;
  font-family: var(--lm-body, var(--font-body));
  font-weight: 900;
  letter-spacing: 0;
  text-shadow:
    0 0 16px rgba(207, 128, 255, 0.78),
    0 0 36px rgba(252, 113, 198, 0.46),
    0 8px 38px rgba(0, 0, 0, 0.66);
}

.gwenlike-hero-copy p {
  margin: 0;
  color: #eed8ff;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  text-shadow:
    0 0 14px rgba(207, 128, 255, 0.84),
    0 6px 28px rgba(0, 0, 0, 0.58);
}

.gwenlike-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gwenlike-hero-actions a,
.gwenlike-journey a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 232, 244, 0.22);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 111, 181, 0.78), rgba(116, 219, 207, 0.68)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  font-size: 14px;
  font-weight: 900;
}

.gwenlike-hero-actions a + a {
  background: rgba(255, 232, 244, 0.12);
}

.gwenlike-floating-tools {
  position: fixed;
  right: 18px;
  bottom: 56px;
  z-index: 50;
  display: grid;
  gap: 8px;
}

.gwenlike-floating-tools a {
  color: #fff;
  text-decoration: none;
  border-color: rgba(150, 255, 239, 0.34);
  background: rgba(76, 209, 200, 0.86);
}

.gwenlike-journey {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  color: rgba(255, 243, 250, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.gwenlike-journey a {
  min-height: 36px;
  padding: 0 14px;
  background: rgba(255, 232, 244, 0.12);
}

@media (max-width: 900px) {
  .gwenlike-hero {
    min-height: 92vh;
  }

  .gwenlike-hero-top {
    grid-template-columns: 1fr auto;
    width: min(100%, calc(100vw - 28px));
    padding-top: 14px;
  }

  .gwenlike-nav {
    grid-column: 1 / -1;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    order: 3;
  }

  .gwenlike-note {
    top: 112px;
    left: 14px;
    width: min(320px, calc(100vw - 28px));
  }

  .gwenlike-hero-copy {
    padding-top: clamp(250px, 38vh, 320px);
  }

  .gwenlike-hero-copy h1 {
    font-size: clamp(36px, 10vw, 56px);
  }

  .gwenlike-hero-copy p {
    font-size: clamp(19px, 5.6vw, 28px);
  }

  .gwenlike-floating-tools {
    display: none;
  }

  .gwenlike-journey {
    bottom: 22px;
  }
}

body.lm-keyboard-open .lm-mobile-dock {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(calc(110% + env(safe-area-inset-bottom)));
}

body.lm-command-open .lm-mobile-dock {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .lm-polished *,
  .lm-polished *::before,
  .lm-polished *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 720px) {
  :root {
    --lm-control-h: 44px;
  }

  .lm-enterprise-bar {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 18px;
  }

  .lm-command-palette {
    place-items: end center;
    padding: 14px 10px calc(92px + env(safe-area-inset-bottom));
  }

  .lm-command-panel {
    max-height: min(72vh, 620px);
    border-radius: 26px;
  }

  .lm-command-list {
    max-height: 52vh;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .lm-command-item {
    min-height: 58px;
  }

  body.lm-polished {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
    overscroll-behavior-x: none;
  }

  .lm-mobile-dock {
    display: grid;
  }

  .lm-polished :is(input, select, textarea) {
    font-size: 16px;
  }

  .lm-polished :is(button, .btn, .btn-p, .btn-s, .action-btn, .primary-action, .ghost-link, .nav-link, .filter-btn, a.cta) {
    min-height: 44px;
  }
}

body.lm-polished:not(.lm-page-home):not(.lm-page-login) {
  min-height: 100vh;
}

body.lm-polished:not(.lm-page-home):not(.lm-page-login) :is(.ops-strip, .hero-strip, .runtime-strip, .summary-grid, .platform-grid, .stat-grid) {
  align-items: stretch;
}

body.lm-polished:not(.lm-page-home):not(.lm-page-login) :is(.ops-chip, .hero-card, .runtime-card, .summary-card, .platform-stat, .stat) {
  min-width: 0;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode .shell.lm-project-shell {
  width: min(1480px, calc(100vw - 326px)) !important;
  max-width: calc(100vw - 326px) !important;
  margin-left: 296px !important;
  margin-right: 24px !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode .layout {
  display: grid !important;
  grid-template-columns: minmax(300px, 0.74fr) minmax(420px, 1.18fr) minmax(320px, 0.82fr) !important;
  gap: 16px !important;
  width: 100% !important;
  align-items: start !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode .rail,
body.lm-polished.lm-page-steam-hub.simple-ops-mode .maincol,
body.lm-polished.lm-page-steam-hub.simple-ops-mode .split {
  display: contents !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode #accountWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #token-workbench {
  grid-column: 1 !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode #accountWorkPanel {
  grid-row: 1 !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode #token-workbench {
  grid-row: 2 !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode #inventoryWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #inventoryRecordPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #listingWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #confirmWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #quoteWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #taskWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #quickBoxWorkPanel {
  grid-column: 2 !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode #featureHallPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #toolHubPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #proxyWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #executionWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #logWorkPanel {
  grid-column: 3 !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode #inventoryWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #listingWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #confirmWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #quoteWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #taskWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #featureHallPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #proxyWorkPanel {
  grid-row: 1 !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode #inventoryRecordPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #quickBoxWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #toolHubPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #executionWorkPanel,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #logWorkPanel {
  grid-row: 2 !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode #featureHallPanel.nsda-view-hidden,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #toolHubPanel.nsda-view-hidden {
  display: block !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode #featureHallPanel.nsda-top-hidden,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #toolHubPanel.nsda-top-hidden {
  display: block !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode .panel {
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 176, 208, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    rgba(33, 21, 29, 0.92) !important;
  box-shadow: 0 22px 58px rgba(7, 2, 10, 0.28) !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode .panel-head {
  border-bottom-color: rgba(255, 205, 224, 0.14) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode .feature-hall-grid {
  grid-template-columns: 1fr !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode .feature-hall-card {
  min-height: 128px;
  border-radius: 18px !important;
}

body.lm-polished.lm-page-steam-hub.simple-ops-mode #inventoryList,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #listingList,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #flowList,
body.lm-polished.lm-page-steam-hub.simple-ops-mode #marketPurchaseList {
  min-height: 320px;
}

body.lm-polished.lm-page-case-opener .layout {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr) !important;
}

body.lm-polished.lm-page-case-opener aside.stack {
  position: sticky;
  top: 20px;
}

body.lm-polished.lm-page-case-opener .case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.lm-polished.lm-page-case-opener #open-panel {
  min-height: 540px;
}

body.lm-polished.lm-page-case-opener .opener {
  min-height: 250px;
}

body.lm-polished.lm-page-intelligence .layout,
body.lm-polished.lm-page-platform .layout,
body.lm-polished.lm-page-updates .layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr) !important;
}

body.lm-polished :is(.side-stack, aside.stack, .rail.right) {
  min-width: 0;
}

body.lm-polished :is(.side-stack, aside.stack, .rail.right) > * {
  min-width: 0;
}

body.lm-polished .lm-shared-rail-mini-grid {
  display: none;
}

body.lm-polished .lm-shared-rail-footer {
  padding: 10px 12px;
  border: 1px solid rgba(255, 214, 232, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 1240px) {
  body.lm-polished.lm-page-steam-hub.simple-ops-mode .layout {
    grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr) !important;
  }

  body.lm-polished.lm-page-steam-hub.simple-ops-mode #featureHallPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #toolHubPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #proxyWorkPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #executionWorkPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #logWorkPanel {
    grid-column: 1 / -1 !important;
  }

  body.lm-polished.lm-page-steam-hub.simple-ops-mode .feature-hall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1100px) {
  body.lm-polished.lm-page-steam-hub.simple-ops-mode .shell.lm-project-shell {
    width: min(100vw - 24px, 100%) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 760px) {
  body.lm-polished.lm-page-steam-hub.simple-ops-mode .layout,
  body.lm-polished.lm-page-case-opener .layout,
  body.lm-polished.lm-page-intelligence .layout,
  body.lm-polished.lm-page-platform .layout,
  body.lm-polished.lm-page-updates .layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body.lm-polished.lm-page-steam-hub.simple-ops-mode :is(#accountWorkPanel, #token-workbench, #inventoryWorkPanel, #inventoryRecordPanel, #listingWorkPanel, #confirmWorkPanel, #quoteWorkPanel, #taskWorkPanel, #quickBoxWorkPanel, #featureHallPanel, #toolHubPanel, #proxyWorkPanel, #executionWorkPanel, #logWorkPanel) {
    grid-column: auto !important;
  }

  body.lm-polished.lm-page-steam-hub.simple-ops-mode .feature-hall-grid,
  body.lm-polished.lm-page-case-opener .case-grid {
    grid-template-columns: 1fr !important;
  }

  body.lm-polished.lm-page-case-opener aside.stack {
    position: static;
  }
}

@media (max-width: 760px) {
  body.lm-polished.lm-page-steam-hub.simple-ops-mode .layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body.lm-polished.lm-page-steam-hub.simple-ops-mode #accountWorkPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #token-workbench,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #inventoryWorkPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #inventoryRecordPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #listingWorkPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #confirmWorkPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #quoteWorkPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #taskWorkPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #quickBoxWorkPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #featureHallPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #toolHubPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #proxyWorkPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #executionWorkPanel,
  body.lm-polished.lm-page-steam-hub.simple-ops-mode #logWorkPanel {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
}

@media (min-width: 1540px) {
  body.home-premium .page-wrap.home-console-page {
    width: min(1740px, calc(100vw - 96px)) !important;
    max-width: calc(100vw - 96px) !important;
    grid-template-columns: 236px minmax(0, 1fr) 292px !important;
    gap: 22px !important;
  }

  body.home-premium .layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }
}

@media (min-width: 1880px) {
  body.home-premium .page-wrap.home-console-page {
    width: min(1900px, calc(100vw - 128px)) !important;
    max-width: calc(100vw - 128px) !important;
    grid-template-columns: 248px minmax(0, 1fr) 304px !important;
    gap: 24px !important;
  }

  body.home-premium .home-control-rail {
    width: 248px !important;
    max-width: 248px !important;
  }

  body.home-premium .home-side-dock {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.home-premium .layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (min-width: 2300px) {
  body.home-premium .page-wrap.home-console-page {
    width: min(2040px, calc(100vw - 180px)) !important;
    max-width: calc(100vw - 180px) !important;
    grid-template-columns: 252px minmax(0, 1fr) 316px !important;
    gap: 26px !important;
  }

  body.home-premium .home-control-rail {
    width: 252px !important;
    max-width: 252px !important;
  }
}

body.login-premium.lm-polished.lm-page-login {
  display: grid !important;
  place-items: center !important;
  min-height: 100vh !important;
  padding: 34px !important;
  color: #46313a !important;
  background:
    linear-gradient(180deg, rgba(204, 250, 250, 0.92) 0%, rgba(255, 224, 237, 0.9) 48%, rgba(255, 246, 250, 0.96) 100%) !important;
  overflow-x: hidden !important;
}

body.login-premium.lm-polished.lm-page-login .lm-mobile-dock {
  display: none !important;
}

body.login-premium.lm-polished.lm-page-login::before {
  opacity: 0.52 !important;
  background-image:
    linear-gradient(120deg, rgba(255,255,255,0.58), transparent 42%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.16) 0 1px, transparent 1px 32px) !important;
  background-size: auto, 32px 32px !important;
  mask-image: none !important;
}

body.login-premium.lm-polished.lm-page-login::after {
  inset: 24px !important;
  border-color: rgba(255,255,255,0.58) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 182, 211, 0.18) !important;
}

body.login-premium.lm-polished.lm-page-login .auth-shell {
  width: min(1220px, calc(100vw - 72px)) !important;
  min-height: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 430px !important;
  gap: 24px !important;
  align-items: stretch !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.login-premium.lm-polished.lm-page-login .auth-shell::before {
  display: none !important;
}

body.login-premium.lm-polished.lm-page-login :is(.auth-visual, .auth-panel) {
  border: 1px solid rgba(255,255,255,0.68) !important;
  box-shadow: 0 24px 70px rgba(145, 98, 121, 0.2) !important;
  backdrop-filter: blur(18px) !important;
}

body.login-premium.lm-polished.lm-page-login .auth-visual {
  min-height: 640px !important;
  border-radius: 34px !important;
  padding: 38px !important;
  color: #51313f !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.32), rgba(255,255,255,0.72)),
    radial-gradient(circle at 58% 14%, rgba(165, 248, 244, 0.52), transparent 22rem),
    linear-gradient(135deg, rgba(255, 196, 221, 0.82), rgba(255, 244, 249, 0.7)) !important;
}

body.login-premium.lm-polished.lm-page-login .auth-visual::after {
  width: 148px !important;
  height: 148px !important;
  right: 42px !important;
  top: 42px !important;
  border: 8px solid rgba(255,255,255,0.75) !important;
  border-radius: 44px !important;
  background: url("/static/site-avatar.webp") center / cover no-repeat !important;
  box-shadow: 0 20px 42px rgba(113, 97, 117, 0.18) !important;
}

body.login-premium.lm-polished.lm-page-login .auth-panel {
  border-radius: 34px !important;
  padding: 26px !important;
  color: #4a3340 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.66)),
    rgba(255,255,255,0.72) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.brand, .tabs, .auth-op, .brand-statusline span) {
  color: #5a404b !important;
  border-color: rgba(216, 139, 174, 0.18) !important;
  background: rgba(255,255,255,0.52) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.brand h1, .visual-title, .auth-op strong) {
  color: #3f2733 !important;
}

body.login-premium.lm-polished.lm-page-login :is(.visual-kicker, .brand-kicker) {
  color: #9f406d !important;
  background: rgba(255,255,255,0.62) !important;
  border-color: rgba(227, 143, 181, 0.22) !important;
}

body.login-premium.lm-polished.lm-page-login .tab {
  color: #6a4a58 !important;
  background: transparent !important;
}

body.login-premium.lm-polished.lm-page-login .tab.active {
  color: #fff !important;
  background: linear-gradient(135deg, #ef8bb9, #61c8bd) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.form-label, .footer, .contact-line, .visual-copy, .auth-op span) {
  color: rgba(74, 51, 64, 0.72) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.footer a, .contact-line strong) {
  color: #9f406d !important;
}

body.login-premium.lm-polished.lm-page-login .field-icon {
  color: #a04a72 !important;
  background: rgba(255,255,255,0.68) !important;
  border-color: rgba(214, 137, 174, 0.24) !important;
}

body.login-premium.lm-polished.lm-page-login .form-input {
  color: #3d2834 !important;
  border-color: rgba(211, 135, 172, 0.25) !important;
  background: rgba(255,255,255,0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55) !important;
}

body.login-premium.lm-polished.lm-page-login .form-input::placeholder {
  color: rgba(91, 65, 78, 0.5) !important;
}

body.login-premium.lm-polished.lm-page-login .form-input:focus {
  border-color: rgba(92, 195, 185, 0.78) !important;
  box-shadow: 0 0 0 4px rgba(92, 195, 185, 0.16) !important;
}

body.login-premium.lm-polished.lm-page-login .password-toggle {
  border-color: rgba(214, 137, 174, 0.24) !important;
  background: rgba(255,255,255,0.78) !important;
}

body.login-premium.lm-polished.lm-page-login .password-toggle::before {
  background: #9d5276 !important;
}

body.login-premium.lm-polished.lm-page-login .submit-btn {
  color: #fff !important;
  background: linear-gradient(135deg, #ef8bb9, #63c9bd) !important;
  box-shadow: 0 18px 36px rgba(100, 201, 188, 0.2) !important;
}

body.login-premium.lm-polished.lm-page-login .secondary-btn {
  color: #8f3d66 !important;
  background: rgba(255,255,255,0.72) !important;
  border: 1px solid rgba(211, 135, 172, 0.28) !important;
}

@media (max-width: 920px) {
  body.login-premium.lm-polished.lm-page-login {
    display: block !important;
    padding: 18px !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-shell {
    width: min(760px, calc(100vw - 36px)) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    margin: 0 auto !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-visual {
    min-height: 260px !important;
  }
}

@media (max-width: 620px) {
  body.login-premium.lm-polished.lm-page-login {
    padding: 9px !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-shell {
    width: min(100%, calc(100vw - 18px)) !important;
    gap: 10px !important;
  }

  body.login-premium.lm-polished.lm-page-login :is(.auth-visual, .auth-panel) {
    border-radius: 24px !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-visual {
    min-height: 188px !important;
    padding: 18px !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-visual::after {
    width: 72px !important;
    height: 72px !important;
    right: 18px !important;
    top: 18px !important;
    border-width: 5px !important;
    border-radius: 24px !important;
  }

  body.login-premium.lm-polished.lm-page-login .visual-title {
    max-width: 8ch !important;
    font-size: 38px !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-panel {
    padding: 14px !important;
  }
}

body.home-premium.lm-polished.lm-page-home {
  color: #4a3340 !important;
  background:
    radial-gradient(circle at 16% 12%, rgba(206, 255, 252, 0.86), transparent 24rem),
    radial-gradient(circle at 84% 8%, rgba(255, 218, 234, 0.88), transparent 24rem),
    linear-gradient(180deg, #d5fbfb 0%, #fff0f7 48%, #fffafd 100%) !important;
}

body.home-premium.lm-polished.lm-page-home::before {
  opacity: 0.56 !important;
  mix-blend-mode: normal !important;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.82) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 24%, rgba(255, 154, 195, 0.34) 0 1px, transparent 1.7px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.18) 0 1px, transparent 1px 34px);
  background-size: 240px 240px, 280px 280px, 34px 34px;
}

body.home-premium.lm-polished.lm-page-home::after {
  border-color: rgba(255,255,255,0.58) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 182, 211, 0.16);
}

body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page {
  width: min(1640px, calc(100vw - 72px)) !important;
  max-width: calc(100vw - 72px) !important;
  grid-template-columns: 248px minmax(0, 1fr) 316px !important;
  gap: 24px !important;
}

body.home-premium.lm-polished.lm-page-home :is(.home-control-rail, .site-bar, .home-side-card, .lead-panel, .panel, .panel-shell, .hero-stage-shell, .workspace-card, .site-quickbar, .client-interaction-deck) {
  color: #4a3340 !important;
  border: 1px solid rgba(255,255,255,0.68) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.62)),
    rgba(255,255,255,0.7) !important;
  box-shadow: 0 24px 64px rgba(145, 98, 121, 0.16) !important;
  backdrop-filter: blur(18px) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.home-control-rail, .site-bar, .home-side-card) {
  border-radius: 30px !important;
}

body.home-premium.lm-polished.lm-page-home .home-control-rail {
  width: 248px !important;
  max-width: 248px !important;
  background:
    linear-gradient(180deg, rgba(255, 226, 238, 0.88), rgba(255,255,255,0.66)),
    rgba(255,255,255,0.78) !important;
}

body.home-premium.lm-polished.lm-page-home .home-control-rail::before,
body.home-premium.lm-polished.lm-page-home .home-side-card::before {
  opacity: 0.38 !important;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.54), transparent 42%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.22) 0 1px, transparent 1px 34px) !important;
}

body.home-premium.lm-polished.lm-page-home .site-bar {
  min-height: 248px;
  padding: 24px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(179, 251, 246, 0.5), transparent 18rem),
    linear-gradient(135deg, rgba(255, 226, 239, 0.88), rgba(255,255,255,0.7)) !important;
}

body.home-premium.lm-polished.lm-page-home .brand-logo,
body.home-premium.lm-polished.lm-page-home .home-side-avatar,
body.home-premium.lm-polished.lm-page-home .home-rail-avatar {
  border-color: rgba(255,255,255,0.78) !important;
  box-shadow: 0 16px 36px rgba(145, 98, 121, 0.18) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.brand-kicker, .home-rail-kicker, .home-rail-label, .home-side-card span, .home-side-card small, .section-eyebrow, .panel-kicker, .lead-kicker) {
  color: #9f406d !important;
}

body.home-premium.lm-polished.lm-page-home :is(h1, h2, h3, h4, .brand h1, .home-rail-brand strong, .home-side-card h3, .home-side-card strong, .section-title, .panel-title, .lead-title) {
  color: #3f2733 !important;
  text-shadow: 0 2px 0 rgba(255,255,255,0.42);
}

body.home-premium.lm-polished.lm-page-home :is(p, small, .muted, .minor, .brand p, .home-side-card p, .home-rail-profile p, .home-rail-footer, .lead-subtitle, .panel-subtitle) {
  color: rgba(74, 51, 64, 0.72) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.home-rail-link, .top-actions a, .top-actions button, .home-side-actions a, .home-side-links a, .home-side-status div, .home-top-brief, .home-top-brief-grid div, .action-card, .site-quicklink, .stat, .metric-card, .summary-card, .market-reference-card, .platform-stat) {
  color: #563946 !important;
  border-color: rgba(216, 139, 174, 0.2) !important;
  background: rgba(255,255,255,0.5) !important;
  box-shadow: none !important;
}

body.home-premium.lm-polished.lm-page-home :is(.home-rail-link.is-active, .home-side-actions a:first-child, .top-actions .steam-link:hover, .top-actions button:hover, .primary-action, .submit-btn, .btn-p) {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #ef8bb9, #63c9bd) !important;
  box-shadow: 0 16px 34px rgba(100, 201, 188, 0.18) !important;
}

body.home-premium.lm-polished.lm-page-home :is(input, select, textarea) {
  color: #3d2834 !important;
  border-color: rgba(211, 135, 172, 0.25) !important;
  background: rgba(255,255,255,0.72) !important;
}

body.home-premium.lm-polished.lm-page-home :is(input, select, textarea)::placeholder {
  color: rgba(91, 65, 78, 0.5) !important;
}

body.home-premium.lm-polished.lm-page-home .home-side-banner {
  background:
    radial-gradient(circle at 70% 12%, rgba(178, 255, 248, 0.74), transparent 7rem),
    linear-gradient(135deg, #ffd4e7 0%, #fff8fb 50%, #c9fbf4 100%) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.chart-card, .board-card, .steam-board, .data-table, table, .list-row, .alert-row, .skin-row) {
  color: #4a3340 !important;
  border-color: rgba(216, 139, 174, 0.18) !important;
  background: rgba(255,255,255,0.48) !important;
}

body.home-premium.lm-polished.lm-page-home a {
  color: #9f406d;
}

@media (min-width: 1880px) {
  body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page {
    width: min(1880px, calc(100vw - 128px)) !important;
    max-width: calc(100vw - 128px) !important;
    grid-template-columns: 252px minmax(0, 1fr) 326px !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-control-rail {
    width: 252px !important;
    max-width: 252px !important;
  }
}

@media (max-width: 1360px) {
  body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page {
    grid-template-columns: 236px minmax(0, 1fr) !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-control-rail {
    width: 236px !important;
    max-width: 236px !important;
  }
}

@media (max-width: 1220px) {
  body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page {
    width: min(100%, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page {
    width: min(100%, calc(100vw - 16px)) !important;
    max-width: calc(100vw - 16px) !important;
  }

  body.home-premium.lm-polished.lm-page-home :is(.home-control-rail, .site-bar, .home-side-card, .lead-panel, .panel, .panel-shell) {
    border-radius: 24px !important;
  }
}

body.home-premium.lm-polished.lm-page-home :is(#board-zone, .lead-panel.hero-stage-shell, .steam-board, .workspace-side-note, .market-reference-deck) {
  color: #4a3340 !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 255, 249, 0.3), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.62)) !important;
  border-color: rgba(255,255,255,0.72) !important;
}

body.home-premium.lm-polished.lm-page-home :is(#board-zone::before, #board-zone::after, .lead-panel.hero-stage-shell::before, .lead-panel.hero-stage-shell::after, .steam-board::before, .steam-board::after) {
  opacity: 0.16 !important;
}

body.home-premium.lm-polished.lm-page-home #board-zone :is(.panel-head, .panel-body, .steam-board-head, .steam-board-layout, .steam-board-block, .steam-board-grid, .steam-board-summary) {
  color: #4a3340 !important;
  background: transparent !important;
  border-color: rgba(216, 139, 174, 0.14) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.market-reference-card, .steam-board-card, .steam-board-stat, .board-aux-panel .steam-board-card, .mover-row, .alert-row, .skin-row, .data-row) {
  color: #4a3340 !important;
  border-color: rgba(216, 139, 174, 0.18) !important;
  background: rgba(255,255,255,0.58) !important;
  box-shadow: none !important;
}

body.home-premium.lm-polished.lm-page-home :is(.market-reference-card strong, .steam-board-card strong, .steam-board-stat strong, .steam-board-price, .steam-board-trend, .home-top-brief strong, .home-side-status strong) {
  color: #3f2733 !important;
}

body.home-premium.lm-polished.lm-page-home :is(.market-reference-card p, .steam-board-meta, .steam-total-sub, .section-desc, .section-note, .panel-head-note, .home-top-brief span) {
  color: rgba(74, 51, 64, 0.68) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.market-reference-head span, .market-reference-card span, .steam-board-stat span, .steam-board-block-head p) {
  color: #b84f80 !important;
}

body.home-premium.lm-polished.lm-page-home :is(.hero-command-card, .hero-stage-note, .workspace-ribbon-card) {
  color: #4a3340 !important;
  border-color: rgba(216, 139, 174, 0.18) !important;
  background: rgba(255,255,255,0.54) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.hero-command-card .primary-action, .hero-stage-shell .primary-action, .steam-link.primary-action) {
  color: #fff !important;
  background: linear-gradient(135deg, #ef8bb9, #63c9bd) !important;
}

body.login-premium.lm-polished.lm-page-login,
body.home-premium.lm-polished.lm-page-home {
  color: #4c2638 !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 205, 226, 0.98), transparent 25rem),
    radial-gradient(circle at 86% 16%, rgba(255, 238, 248, 0.92), transparent 24rem),
    radial-gradient(circle at 76% 88%, rgba(178, 250, 239, 0.24), transparent 18rem),
    linear-gradient(180deg, #ffdeec 0%, #fff2f8 46%, #f9d8e8 100%) !important;
}

body.login-premium.lm-polished.lm-page-login::before,
body.home-premium.lm-polished.lm-page-home::before {
  opacity: 0.62 !important;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.82) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 24%, rgba(255, 125, 181, 0.42) 0 1px, transparent 1.7px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.2) 0 1px, transparent 1px 34px) !important;
}

body.login-premium.lm-polished.lm-page-login::after,
body.home-premium.lm-polished.lm-page-home::after {
  border-color: rgba(255,255,255,0.62) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 142, 190, 0.2),
    0 24px 80px rgba(145, 63, 103, 0.12) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.auth-visual, .auth-panel),
body.home-premium.lm-polished.lm-page-home :is(.home-control-rail, .site-bar, .home-side-card, .lead-panel, .panel, .panel-shell, .hero-stage-shell, .workspace-card, .site-quickbar, .client-interaction-deck, #board-zone, .steam-board, .market-reference-deck) {
  color: #4c2638 !important;
  border-color: rgba(255,255,255,0.72) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 206, 228, 0.58), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255, 244, 249, 0.66)),
    rgba(255, 236, 245, 0.76) !important;
  box-shadow: 0 24px 70px rgba(156, 75, 115, 0.18) !important;
}

body.login-premium.lm-polished.lm-page-login .auth-visual,
body.home-premium.lm-polished.lm-page-home .site-bar,
body.home-premium.lm-polished.lm-page-home .home-side-banner {
  background:
    radial-gradient(circle at 78% 14%, rgba(190, 255, 246, 0.36), transparent 10rem),
    linear-gradient(135deg, rgba(255, 201, 225, 0.96), rgba(255, 244, 249, 0.78) 54%, rgba(255, 218, 235, 0.9)) !important;
}

body.home-premium.lm-polished.lm-page-home .home-control-rail {
  background:
    linear-gradient(180deg, rgba(255, 205, 226, 0.94), rgba(255, 244, 249, 0.72)),
    rgba(255,255,255,0.78) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.visual-title, .brand h1, h1, h2, h3),
body.home-premium.lm-polished.lm-page-home :is(h1, h2, h3, h4, .brand h1, .home-rail-brand strong, .home-side-card h3, .home-side-card strong, .section-title, .panel-title, .lead-title) {
  color: #482338 !important;
  text-shadow: 0 2px 0 rgba(255,255,255,0.5) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.visual-kicker, .brand-kicker),
body.home-premium.lm-polished.lm-page-home :is(.brand-kicker, .home-rail-kicker, .home-rail-label, .home-side-card span, .home-side-card small, .section-eyebrow, .panel-kicker, .lead-kicker, .market-reference-head span, .market-reference-card span, .steam-board-stat span, .steam-board-block-head p) {
  color: #bd4f82 !important;
}

body.login-premium.lm-polished.lm-page-login :is(.brand, .tabs, .auth-op, .brand-statusline span, .visual-ledger div, .visual-foot span),
body.home-premium.lm-polished.lm-page-home :is(.home-rail-link, .top-actions a, .top-actions button, .home-side-actions a, .home-side-links a, .home-side-status div, .home-top-brief, .home-top-brief-grid div, .action-card, .site-quicklink, .stat, .metric-card, .summary-card, .market-reference-card, .platform-stat, .steam-board-card, .steam-board-stat, .hero-command-card, .hero-stage-note, .workspace-ribbon-card) {
  color: #5c3148 !important;
  border-color: rgba(221, 116, 166, 0.22) !important;
  background: rgba(255,255,255,0.58) !important;
}

body.login-premium.lm-polished.lm-page-login .tab.active,
body.login-premium.lm-polished.lm-page-login .submit-btn,
body.home-premium.lm-polished.lm-page-home :is(.home-rail-link.is-active, .home-side-actions a:first-child, .top-actions .steam-link:hover, .top-actions button:hover, .primary-action, .submit-btn, .btn-p, .hero-command-card .primary-action, .hero-stage-shell .primary-action, .steam-link.primary-action) {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #f08ab9 0%, #d9609d 58%, #78cbc0 100%) !important;
  box-shadow: 0 16px 34px rgba(214, 96, 157, 0.22) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.form-label, .footer, .contact-line, .visual-copy, .auth-op span, p, small),
body.home-premium.lm-polished.lm-page-home :is(p, small, .muted, .minor, .brand p, .home-side-card p, .home-rail-profile p, .home-rail-footer, .lead-subtitle, .panel-subtitle, .market-reference-card p, .steam-board-meta, .steam-total-sub, .section-desc, .section-note, .panel-head-note, .home-top-brief span) {
  color: rgba(76, 38, 56, 0.7) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.form-input, input, select, textarea),
body.home-premium.lm-polished.lm-page-home :is(input, select, textarea) {
  color: #482338 !important;
  border-color: rgba(221, 116, 166, 0.28) !important;
  background: rgba(255,255,255,0.76) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.form-input, input, select, textarea)::placeholder,
body.home-premium.lm-polished.lm-page-home :is(input, select, textarea)::placeholder {
  color: rgba(76, 38, 56, 0.48) !important;
}

body.login-premium.lm-polished.lm-page-login .password-toggle,
body.login-premium.lm-polished.lm-page-login .field-icon {
  border-color: rgba(221, 116, 166, 0.28) !important;
  color: #bd4f82 !important;
  background: rgba(255,255,255,0.78) !important;
}

body.login-premium.lm-polished.lm-page-login .password-toggle::before {
  background: #bd4f82 !important;
}

body.home-premium .layout.workbench-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.home-premium .workspace-side {
  max-width: none !important;
  width: 100% !important;
}

body.login-premium.lm-polished.lm-page-login,
body.home-premium.lm-polished.lm-page-home {
  color: #fff3fa !important;
  background:
    radial-gradient(circle at 17% 8%, rgba(237, 108, 171, 0.3), transparent 24rem),
    radial-gradient(circle at 82% 18%, rgba(116, 207, 196, 0.16), transparent 22rem),
    radial-gradient(circle at 62% 86%, rgba(255, 181, 216, 0.11), transparent 26rem),
    linear-gradient(180deg, #1a0611 0%, #2a0d1c 46%, #13050d 100%) !important;
}

body.login-premium.lm-polished.lm-page-login::before,
body.home-premium.lm-polished.lm-page-home::before {
  opacity: 0.52 !important;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 208, 231, 0.62) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 24%, rgba(134, 235, 222, 0.32) 0 1px, transparent 1.7px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 34px) !important;
}

body.login-premium.lm-polished.lm-page-login::after,
body.home-premium.lm-polished.lm-page-home::after {
  border-color: rgba(255, 190, 222, 0.18) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 140, 188, 0.1),
    0 28px 90px rgba(0, 0, 0, 0.28) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.auth-visual, .auth-panel),
body.home-premium.lm-polished.lm-page-home :is(.home-control-rail, .site-bar, .home-side-card, .lead-panel, .panel, .panel-shell, .hero-stage-shell, .workspace-card, .site-quickbar, .client-interaction-deck, #board-zone, .steam-board, .market-reference-deck) {
  color: #fff4fb !important;
  border-color: rgba(255, 190, 222, 0.18) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(238, 105, 171, 0.17), transparent 18rem),
    linear-gradient(180deg, rgba(74, 29, 53, 0.88), rgba(38, 14, 29, 0.82)),
    rgba(33, 10, 23, 0.78) !important;
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

body.login-premium.lm-polished.lm-page-login .auth-visual,
body.home-premium.lm-polished.lm-page-home .site-bar,
body.home-premium.lm-polished.lm-page-home .home-side-banner {
  background:
    radial-gradient(circle at 82% 14%, rgba(118, 221, 207, 0.24), transparent 10rem),
    linear-gradient(135deg, rgba(91, 32, 63, 0.95), rgba(44, 15, 32, 0.86) 54%, rgba(112, 39, 76, 0.82)) !important;
}

body.home-premium.lm-polished.lm-page-home .home-control-rail {
  background:
    radial-gradient(circle at 50% 0%, rgba(241, 119, 181, 0.22), transparent 14rem),
    linear-gradient(180deg, rgba(74, 25, 52, 0.95), rgba(26, 8, 20, 0.92)) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.visual-title, .brand h1, h1, h2, h3),
body.home-premium.lm-polished.lm-page-home :is(h1, h2, h3, h4, .brand h1, .home-rail-brand strong, .home-side-card h3, .home-side-card strong, .section-title, .panel-title, .lead-title) {
  color: #fff7fb !important;
  text-shadow: 0 2px 18px rgba(238, 105, 171, 0.28) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.visual-kicker, .brand-kicker),
body.home-premium.lm-polished.lm-page-home :is(.brand-kicker, .home-rail-kicker, .home-rail-label, .home-side-card span, .home-side-card small, .section-eyebrow, .panel-kicker, .lead-kicker, .market-reference-head span, .market-reference-card span, .steam-board-stat span, .steam-board-block-head p) {
  color: #ff9fca !important;
}

body.login-premium.lm-polished.lm-page-login :is(.brand, .tabs, .auth-op, .brand-statusline span, .visual-ledger div, .visual-foot span),
body.home-premium.lm-polished.lm-page-home :is(.home-rail-link, .top-actions a, .top-actions button, .home-side-actions a, .home-side-links a, .home-side-status div, .home-top-brief, .home-top-brief-grid div, .action-card, .site-quicklink, .stat, .metric-card, .summary-card, .market-reference-card, .platform-stat, .steam-board-card, .steam-board-stat, .hero-command-card, .hero-stage-note, .workspace-ribbon-card, .home-board-sidebrief) {
  color: #fff1f8 !important;
  border-color: rgba(255, 183, 218, 0.18) !important;
  background: rgba(255, 218, 236, 0.075) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.home-rail-link:not(.is-active), .home-side-links a, .home-side-status div) strong,
body.home-premium.lm-polished.lm-page-home :is(.market-reference-card strong, .steam-board-card strong, .steam-board-stat strong, .steam-board-price, .steam-board-trend, .home-top-brief strong, .home-side-status strong) {
  color: #fff9fc !important;
}

body.login-premium.lm-polished.lm-page-login .tab.active,
body.login-premium.lm-polished.lm-page-login .submit-btn,
body.home-premium.lm-polished.lm-page-home :is(.home-rail-link.is-active, .home-side-actions a:first-child, .top-actions .steam-link:hover, .top-actions button:hover, .primary-action, .submit-btn, .btn-p, .hero-command-card .primary-action, .hero-stage-shell .primary-action, .steam-link.primary-action) {
  color: #fff !important;
  border-color: rgba(255,255,255,0.16) !important;
  background: linear-gradient(135deg, #f06cae 0%, #c84e91 58%, #61c8bd 100%) !important;
  box-shadow: 0 18px 38px rgba(218, 83, 148, 0.28) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.form-label, .footer, .contact-line, .visual-copy, .auth-op span, p, small),
body.home-premium.lm-polished.lm-page-home :is(p, small, .muted, .minor, .brand p, .home-side-card p, .home-rail-profile p, .home-rail-footer, .lead-subtitle, .panel-subtitle, .market-reference-card p, .steam-board-meta, .steam-total-sub, .section-desc, .section-note, .panel-head-note, .home-top-brief span) {
  color: rgba(255, 239, 248, 0.74) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.form-input, input, select, textarea),
body.home-premium.lm-polished.lm-page-home :is(input, select, textarea) {
  color: #fff5fb !important;
  border-color: rgba(255, 183, 218, 0.24) !important;
  background: rgba(24, 8, 18, 0.46) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.form-input, input, select, textarea)::placeholder,
body.home-premium.lm-polished.lm-page-home :is(input, select, textarea)::placeholder {
  color: rgba(255, 230, 243, 0.48) !important;
}

body.home-premium.lm-polished.lm-page-home :is(#board-zone, .lead-panel.hero-stage-shell, .steam-board, .workspace-side-note, .market-reference-deck, .chart-card, .board-card, .data-table, table, .list-row, .alert-row, .skin-row, .steamdt-official-main, .steamdt-official-side, .steamdt-official-metric) {
  color: #fff3fa !important;
  border-color: rgba(255, 183, 218, 0.16) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(114, 218, 207, 0.1), transparent 16rem),
    linear-gradient(180deg, rgba(72, 27, 51, 0.58), rgba(31, 10, 24, 0.46)) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.steamdt-official-kicker, .steamdt-official-metric span, .steamdt-official-side span, .steamdt-official-note span) {
  color: rgba(255, 184, 219, 0.78) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.steamdt-official-value, .steamdt-official-side strong, .steamdt-official-metric strong) {
  color: #fff !important;
}

body.home-premium.lm-polished.lm-page-home :is(.steamdt-official-caption, .steamdt-official-metric small, .steamdt-official-note strong) {
  color: rgba(255, 235, 245, 0.72) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.visual-ledger strong, .auth-op strong, .brand-statusline strong, .visual-foot strong) {
  color: #fff8fc !important;
}

body.login-premium.lm-polished.lm-page-login :is(.visual-ledger span, .auth-op span, .brand-statusline span, .visual-foot span) {
  color: rgba(255, 204, 229, 0.86) !important;
}

body.login-premium.lm-polished.lm-page-login .password-toggle,
body.login-premium.lm-polished.lm-page-login .field-icon {
  border-color: rgba(255, 190, 222, 0.24) !important;
  color: #ff9fca !important;
  background: rgba(255, 225, 240, 0.1) !important;
}

.lm-particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.48;
  mix-blend-mode: screen;
}

body.lm-alt-wallpaper .lm-starry-field {
  background:
    radial-gradient(circle at var(--lm-mouse-x, 72%) var(--lm-mouse-y, 12%), rgba(122, 226, 216, 0.16), transparent 18rem),
    radial-gradient(circle at 16% 18%, rgba(255, 128, 186, 0.18), transparent 20rem),
    radial-gradient(circle at 80% 6%, rgba(255, 217, 121, 0.12), transparent 18rem);
}

.lm-typed-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 190, 222, 0.18);
  border-radius: 999px;
  color: rgba(255, 232, 244, 0.82);
  background: rgba(255, 220, 238, 0.07);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.lm-typed-line strong {
  color: #fff7fc;
  min-width: 8ch;
}

.lm-typed-line i {
  color: #ff9fca;
  font-style: normal;
  animation: lm-typed-caret 0.72s steps(1) infinite;
}

@keyframes lm-typed-caret {
  50% { opacity: 0; }
}

.lm-fps-meter {
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 2147482000;
  padding: 8px 10px;
  border: 1px solid rgba(255, 190, 222, 0.2);
  border-radius: 10px;
  color: #fff7fc;
  background: rgba(23, 7, 17, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}

.lm-fps-meter[data-tone="good"] { color: #9ff1c4; }
.lm-fps-meter[data-tone="ok"] { color: #ffdd8a; }
.lm-fps-meter[data-tone="slow"] { color: #ff9db3; }

.lm-visual-dock {
  position: fixed;
  right: 10px;
  bottom: 72px;
  z-index: 2147481990;
  display: grid;
  gap: 8px;
  pointer-events: auto;
}

.lm-visual-dock button,
.lm-dock-percent {
  width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 190, 222, 0.18);
  border-radius: 13px;
  color: #fff7fc;
  background: linear-gradient(180deg, rgba(77, 30, 55, 0.88), rgba(35, 12, 27, 0.82));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.lm-visual-dock button {
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s var(--lm-ease), border-color 0.18s ease, background 0.18s ease;
}

.lm-visual-dock button:hover {
  transform: translateX(-4px);
  border-color: rgba(255, 159, 201, 0.46);
  background: linear-gradient(135deg, rgba(240, 108, 174, 0.9), rgba(97, 200, 189, 0.74));
}

.lm-visual-dock button b {
  font-size: 17px;
  line-height: 1;
}

.lm-visual-dock button span {
  position: absolute;
  right: 50px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 190, 222, 0.16);
  border-radius: 999px;
  color: #fff7fc;
  background: rgba(24, 8, 18, 0.76);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  pointer-events: none;
  font-size: 12px;
  font-weight: 800;
}

.lm-visual-dock button:hover span {
  opacity: 1;
  transform: translateX(0);
}

.lm-dock-percent {
  display: grid;
  place-items: center;
  color: #82e0d5;
  font-size: 12px;
  font-weight: 950;
}

.lm-visual-search {
  position: fixed;
  inset: 0;
  z-index: 2147482100;
  display: grid;
  align-items: start;
  justify-items: center;
  padding-top: min(11vh, 96px);
  background: rgba(5, 2, 7, 0.62);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lm-visual-search.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lm-visual-search-panel {
  position: relative;
  width: min(620px, calc(100vw - 28px));
  padding: 22px 20px 18px;
  border: 1px solid rgba(255, 190, 222, 0.24);
  border-radius: 20px;
  color: #fff7fc;
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 226, 215, 0.16), transparent 14rem),
    linear-gradient(180deg, rgba(67, 25, 48, 0.96), rgba(24, 8, 18, 0.94));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.lm-visual-search-panel > span {
  display: block;
  color: #ff9fca;
  font-size: 22px;
  font-weight: 950;
  margin-bottom: 12px;
}

.lm-visual-search-panel input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid rgba(116, 226, 215, 0.78);
  border-radius: 999px;
  color: #fff7fc;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.lm-visual-search-panel input:focus-visible {
  outline: 3px solid rgba(255, 217, 121, 0.92);
  outline-offset: 3px;
}

.lm-visual-search-line {
  height: 4px;
  margin: 18px 0 12px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(116, 226, 215, 0.88) 0 7px, transparent 7px 12px);
}

.lm-visual-search-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: #ffd9eb;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
}

.lm-visual-search-results {
  display: grid;
  gap: 8px;
  max-height: min(45vh, 390px);
  overflow: auto;
}

.lm-visual-search-results button {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(255, 190, 222, 0.14);
  border-radius: 14px;
  color: #fff7fc;
  text-align: left;
  background: rgba(255, 220, 238, 0.07);
  cursor: pointer;
}

.lm-visual-search-results button:hover {
  border-color: rgba(116, 226, 215, 0.42);
  background: rgba(255, 220, 238, 0.12);
}

.lm-visual-search-results small,
.lm-visual-search-results em {
  color: rgba(255, 232, 244, 0.66);
  font-style: normal;
  word-break: break-all;
}

.lm-mascot-bubble {
  position: fixed;
  right: 72px;
  bottom: 24px;
  z-index: 2147481980;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 12px 6px 6px;
  border: 1px solid rgba(255, 190, 222, 0.2);
  border-radius: 999px;
  color: #fff7fc;
  background: rgba(24, 8, 18, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
  cursor: pointer;
  animation: lm-mascot-breathe 4s ease-in-out infinite;
}

.lm-mascot-bubble img {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.74);
}

.lm-mascot-bubble span {
  color: #ffcae2;
  font-size: 12px;
  font-weight: 900;
}

@keyframes lm-mascot-breathe {
  0%, 100% { transform: translateY(0); box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32); }
  50% { transform: translateY(-5px); box-shadow: 0 24px 54px rgba(224, 92, 155, 0.24); }
}

body.lm-polished :is(.home-side-avatar, .home-rail-avatar img, .brand-logo, .auth-visual img, .visual-avatar, .avatar-img img) {
  animation: lm-avatar-breathe 4.6s ease-in-out infinite;
}

@keyframes lm-avatar-breathe {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 159, 201, 0)); }
  50% { filter: drop-shadow(0 0 18px rgba(255, 159, 201, 0.42)); }
}

@media (max-width: 760px), (pointer: coarse) {
  .lm-visual-dock,
  .lm-fps-meter,
  .lm-mascot-bubble {
    display: none;
  }
}

body.lm-page-home :is(.lm-visual-dock, .lm-fps-meter, .lm-mascot-bubble, .lm-mobile-dock),
body.lm-page-home .home-side-profile .lm-typed-line {
  display: none;
}

@media (max-width: 760px), (pointer: coarse) {
  body.lm-page-home {
    padding-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-particle-canvas,
  .lm-typed-line i {
    display: none;
  }
  .lm-mascot-bubble,
  body.lm-polished :is(.home-side-avatar, .home-rail-avatar img, .brand-logo, .auth-visual img, .visual-avatar, .avatar-img img) {
    animation: none !important;
  }
}

@media (max-width: 1220px) {
  body.home-premium.lm-polished.lm-page-home .home-control-rail {
    width: 100% !important;
    max-width: none !important;
  }
}

@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .home-control-rail {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-rail-brand {
    padding: 6px 8px 10px !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-rail-profile {
    display: none !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-rail-nav {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 126px !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 0 2px 4px !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  body.home-premium.lm-polished.lm-page-home .home-rail-nav::-webkit-scrollbar {
    display: none;
  }

  body.home-premium.lm-polished.lm-page-home .home-rail-link {
    min-width: 126px !important;
    scroll-snap-align: start;
  }

  body.home-premium.lm-polished.lm-page-home .home-rail-link.is-active {
    transform: none !important;
  }

  body.home-premium.lm-polished.lm-page-home #board-zone .panel-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-board-sidebrief {
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    margin: 0 !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-board-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

@media (min-width: 1221px) {
  body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page {
    width: min(1760px, calc(100vw - 80px)) !important;
    max-width: calc(100vw - 80px) !important;
    grid-template-columns: 236px minmax(760px, 1fr) 292px !important;
    gap: 18px !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed .layout.workbench-layout,
  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed .workspace-main,
  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed .workspace-side {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed .workspace-side {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: stretch !important;
    align-items: start !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed.is-side-stage .layout.workbench-layout {
    display: block !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed.is-side-stage .workspace-main {
    display: none !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed.is-side-stage .workspace-side {
    grid-column: 1 / -1 !important;
    position: static !important;
    top: auto !important;
    align-self: stretch !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed :is(.intel-home-panel, .signal-side-panel, .alert-side-panel).is-active-view {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed :is(.intel-home-panel, .signal-side-panel, .alert-side-panel).is-active-view .panel-head {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 20px !important;
    padding: 24px 28px 14px !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed :is(.intel-home-panel, .signal-side-panel, .alert-side-panel).is-active-view .panel-body {
    padding: 24px 28px 28px !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed .signal-side-panel.is-active-view .signal-rate-board {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 22px !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed .signal-rate-summary {
    grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed .signal-rate-row {
    grid-template-columns: minmax(260px, 1.7fr) repeat(4, minmax(112px, 0.7fr)) !important;
    gap: 16px !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed .intel-home-metrics {
    grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed .intel-home-split,
  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed .intel-home-actions,
  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed .alert-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page.is-tabbed .alert-side-panel.is-active-view .scan-shell {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1760px) {
  body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page {
    grid-template-columns: 236px minmax(900px, 1fr) 300px !important;
  }
}

@media (min-width: 1221px) and (max-width: 1460px) {
  body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page {
    width: min(100%, calc(100vw - 36px)) !important;
    max-width: calc(100vw - 36px) !important;
    grid-template-columns: 224px minmax(0, 1fr) !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-side-dock {
    grid-column: 2 !important;
    grid-row: 2 !important;
    position: relative !important;
    top: auto !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .workspace-side {
    width: 100% !important;
    max-width: none !important;
  }

  body.home-premium.lm-polished.lm-page-home .signal-rate-summary,
  body.home-premium.lm-polished.lm-page-home .intel-home-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.home-premium.lm-polished.lm-page-home .signal-rate-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

body.home-premium.lm-polished.lm-page-home .gwenlike-note p {
  color: rgba(35, 27, 39, 0.78) !important;
}

body.home-premium.lm-polished.lm-page-home {
  overflow-x: clip !important;
}

body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page,
body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page > *,
body.home-premium.lm-polished.lm-page-home #board-zone,
body.home-premium.lm-polished.lm-page-home #board-zone * {
  min-width: 0;
}

@media (min-width: 1221px) {
  body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page {
    width: min(1960px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    grid-template-columns:
      clamp(224px, 12vw, 252px)
      minmax(0, 1fr)
      clamp(280px, 15.5vw, 320px) !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-control-rail {
    width: 100% !important;
    max-width: none !important;
    align-self: start !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-side-dock {
    width: 100% !important;
    max-width: none !important;
    grid-column: 3 !important;
    grid-row: 1 / span 9 !important;
    position: sticky !important;
    top: 16px !important;
    max-height: calc(100vh - 32px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding-right: 2px;
  }

  body.home-premium.lm-polished.lm-page-home .home-console-page > :not(.home-control-rail):not(.home-side-dock) {
    grid-column: 2 !important;
  }
}

@media (min-width: 1221px) and (max-width: 1560px) {
  body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page {
    width: min(100%, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px) !important;
    grid-template-columns: clamp(212px, 16vw, 236px) minmax(0, 1fr) !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-side-dock {
    grid-column: 2 !important;
    grid-row: 2 !important;
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

body.home-premium.lm-polished.lm-page-home #board-zone .panel-body {
  overflow: hidden;
}

body.home-premium.lm-polished.lm-page-home #board-zone .steam-board-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 34%) !important;
  align-items: start !important;
}

body.home-premium.lm-polished.lm-page-home #board-zone .steam-board-chart,
body.home-premium.lm-polished.lm-page-home #board-zone .kline-shell,
body.home-premium.lm-polished.lm-page-home #board-zone .kline-echart-host {
  width: 100% !important;
  max-width: 100% !important;
}

body.home-premium.lm-polished.lm-page-home #board-zone .kline-shell.steamdt-kline-style .kline-echart-host,
body.home-premium.lm-polished.lm-page-home #board-zone .kline-shell.steamdt-kline-style .kline-svg {
  height: clamp(420px, 48vh, 560px) !important;
  min-height: 420px !important;
}

@media (max-width: 980px) {
  body.home-premium.lm-polished.lm-page-home #board-zone .steam-board-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

body.login-premium.lm-polished.lm-page-login .auth-shell {
  width: min(1180px, calc(100vw - 96px)) !important;
  grid-template-columns: minmax(520px, 0.92fr) minmax(460px, 500px) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

body.login-premium.lm-polished.lm-page-login .auth-visual {
  display: grid !important;
  align-content: space-between !important;
  min-height: 700px !important;
  padding: 32px !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(47, 19, 39, 0.42), rgba(30, 10, 24, 0.78)),
    radial-gradient(circle at 62% 20%, rgba(255, 205, 235, 0.28), transparent 16rem),
    url("/static/home-hero-night-pink.png") center / cover no-repeat !important;
}

body.login-premium.lm-polished.lm-page-login .auth-visual::before {
  inset: 22px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(20, 8, 18, 0.16) !important;
}

body.login-premium.lm-polished.lm-page-login .auth-visual::after {
  width: 126px !important;
  height: 126px !important;
  right: 46px !important;
  top: 48px !important;
}

body.login-premium.lm-polished.lm-page-login .auth-visual > div:first-child {
  max-width: 100% !important;
}

body.login-premium.lm-polished.lm-page-login .visual-title {
  max-width: 8ch !important;
  margin-top: 26px !important;
  color: #fff8fc !important;
  font-size: clamp(48px, 5vw, 72px) !important;
  line-height: 1.04 !important;
  text-shadow: 0 0 28px rgba(255, 154, 207, 0.42), 0 10px 32px rgba(0, 0, 0, 0.42) !important;
}

body.login-premium.lm-polished.lm-page-login .visual-copy {
  max-width: 46ch !important;
  color: rgba(255, 239, 248, 0.84) !important;
}

body.login-premium.lm-polished.lm-page-login .visual-ledger {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  max-width: 100% !important;
  margin-top: 26px !important;
}

body.login-premium.lm-polished.lm-page-login .visual-ledger div {
  min-height: 86px !important;
  align-content: center !important;
  color: #fff5fb !important;
  border-color: rgba(255, 224, 239, 0.2) !important;
  background: rgba(255, 230, 243, 0.09) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

body.login-premium.lm-polished.lm-page-login .visual-ledger strong,
body.login-premium.lm-polished.lm-page-login .visual-foot span {
  color: #fff8fc !important;
}

body.login-premium.lm-polished.lm-page-login .visual-foot {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

body.login-premium.lm-polished.lm-page-login .visual-foot span {
  min-height: 36px !important;
  padding: 8px 12px !important;
  border-color: rgba(255, 224, 239, 0.2) !important;
  background: rgba(255, 230, 243, 0.1) !important;
}

body.login-premium.lm-polished.lm-page-login .auth-panel {
  min-height: 700px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 28px !important;
}

body.login-premium.lm-polished.lm-page-login .brand {
  align-items: center !important;
  margin-bottom: 18px !important;
}

body.login-premium.lm-polished.lm-page-login .tabs {
  margin-bottom: 14px !important;
}

body.login-premium.lm-polished.lm-page-login .auth-ops {
  margin: 12px 0 16px !important;
}

body.login-premium.lm-polished.lm-page-login .auth-op {
  min-height: 74px !important;
}

@media (max-width: 920px) {
  body.login-premium.lm-polished.lm-page-login .auth-shell {
    width: min(100%, calc(100vw - 18px)) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-visual {
    min-height: 168px !important;
    padding: 18px !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-visual::after {
    width: 74px !important;
    height: 74px !important;
    right: 22px !important;
    top: 22px !important;
    border-width: 5px !important;
    border-radius: 24px !important;
  }

  body.login-premium.lm-polished.lm-page-login .visual-title {
    max-width: 8ch !important;
    margin-top: 18px !important;
    font-size: clamp(34px, 10vw, 48px) !important;
  }

  body.login-premium.lm-polished.lm-page-login .visual-copy,
  body.login-premium.lm-polished.lm-page-login .visual-ledger {
    display: none !important;
  }

  body.login-premium.lm-polished.lm-page-login .visual-foot {
    margin-top: 14px !important;
    gap: 6px !important;
  }

  body.login-premium.lm-polished.lm-page-login .visual-foot span {
    min-height: 28px !important;
    padding: 5px 8px !important;
    font-size: 11px !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-panel {
    min-height: 0 !important;
    padding: 16px !important;
    justify-content: flex-start !important;
  }
}

body.home-premium.lm-polished :is(.top-actions #logoutBtn, .home-rail-logout, .home-mobile-logout) {
  color: #fff !important;
  border-color: rgba(255, 236, 246, 0.42) !important;
  background: linear-gradient(135deg, #f05f9b 0%, #c43268 58%, #7a2044 100%) !important;
  box-shadow: 0 16px 34px rgba(197, 50, 104, 0.26), inset 0 1px 0 rgba(255,255,255,0.18) !important;
  text-shadow: 0 1px 10px rgba(82, 12, 42, 0.34) !important;
}

body.home-premium.lm-polished .top-actions #logoutBtn {
  order: 99 !important;
  min-width: 124px !important;
  font-weight: 950 !important;
}

body.home-premium.lm-polished .home-rail-logout {
  min-width: 76px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
}

body.home-premium.lm-polished :is(.top-actions #logoutBtn, .home-rail-logout, .home-mobile-logout):hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.58) !important;
  background: linear-gradient(135deg, #ff72aa 0%, #d73a72 58%, #892650 100%) !important;
  box-shadow: 0 20px 42px rgba(214, 58, 114, 0.34), inset 0 1px 0 rgba(255,255,255,0.22) !important;
}

body.home-premium.lm-polished :is(.top-actions #logoutBtn, .home-rail-logout, .home-mobile-logout):focus-visible {
  outline: 3px solid rgba(255, 235, 245, 0.72);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  body.home-premium.lm-polished .home-mobile-logout {
    position: fixed !important;
    top: calc(10px + env(safe-area-inset-top, 0px)) !important;
    right: calc(12px + env(safe-area-inset-right, 0px)) !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 120 !important;
    display: inline-flex !important;
    width: auto !important;
    min-width: 96px !important;
    max-width: calc(100vw - 24px) !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    white-space: nowrap !important;
    transform: none;
  }
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero {
  --gwen-mouse-x: 50%;
  --gwen-mouse-y: 48%;
  --gwen-tilt-x: 0px;
  --gwen-tilt-y: 0px;
  position: relative;
  min-height: min(900px, calc(100vh - 24px));
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  isolation: isolate;
  color: #fff;
  background: #19101f;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero::before,
body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero::before {
  background:
    radial-gradient(circle at var(--gwen-mouse-x) var(--gwen-mouse-y), rgba(255, 255, 255, .28), transparent 0 18%),
    linear-gradient(180deg, rgba(33, 15, 42, .08), rgba(10, 8, 14, .45) 58%, rgba(10, 8, 14, .72));
  mix-blend-mode: screen;
  opacity: .86;
  animation: gwenlike-light-breathe 5.4s ease-in-out infinite;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero::after {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 220, 240, .26), transparent 0 26%),
    radial-gradient(circle at 82% 18%, rgba(103, 232, 249, .18), transparent 0 24%),
    linear-gradient(180deg, rgba(8, 6, 11, .16), rgba(8, 6, 11, .72));
}

body.home-premium.lm-polished.lm-page-home .gwenlike-bg-layer {
  position: absolute;
  inset: -28px;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(22, 9, 28, .12), rgba(8, 7, 10, .44)),
    url("/static/home-hero-night-pink.png") center / cover no-repeat;
  transform: translate3d(var(--gwen-tilt-x), var(--gwen-tilt-y), 0) scale(1.055);
  filter: saturate(1.08) contrast(1.02);
  animation: gwenlike-bg-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-petal-canvas,
body.home-premium.lm-polished.lm-page-home .gwenlike-shine {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-petal-canvas {
  z-index: 1;
  opacity: .82;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-shine {
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, .11) 47%, transparent 59% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 92px);
  transform: translateX(-34%);
  animation: gwenlike-shine-sweep 8s ease-in-out infinite;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-topbar {
  position: absolute;
  top: clamp(14px, 2.4vw, 30px);
  left: clamp(14px, 3vw, 46px);
  right: clamp(14px, 3vw, 46px);
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, .92);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-brand,
body.home-premium.lm-polished.lm-page-home .gwenlike-nav a,
body.home-premium.lm-polished.lm-page-home .gwenlike-scroll-cue {
  color: inherit;
  text-decoration: none;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 900;
  text-shadow: 0 10px 28px rgba(44, 14, 34, .3);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #412032;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 44px rgba(246, 115, 174, .26);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.3vw, 28px);
  font-weight: 800;
  text-shadow: 0 10px 28px rgba(44, 14, 34, .28);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-nav a {
  position: relative;
  padding: 8px 0;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-nav a:hover::after {
  transform: scaleX(1);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-actions #cookieStatus {
  display: none !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-actions .badge {
  max-width: 190px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-icon-btn,
body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools button,
body.home-premium.lm-polished.lm-page-home .gwenlike-toast-close {
  border: 1px solid rgba(255, 255, 255, .34);
  color: #fff;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(31, 13, 30, .22);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-note {
  position: absolute;
  top: clamp(74px, 11vw, 118px);
  left: clamp(16px, 5vw, 88px);
  z-index: 4;
  max-width: min(360px, calc(100% - 32px));
  padding: 16px 44px 16px 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 14px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(47, 16, 40, .24);
  animation: gwenlike-toast-in .7s cubic-bezier(.2, .9, .2, 1) both;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-toast-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  line-height: 1;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  width: min(980px, calc(100% - 32px));
  padding: clamp(110px, 16vh, 160px) 0 clamp(76px, 12vh, 120px);
  text-align: center;
  text-shadow: 0 16px 42px rgba(38, 14, 34, .42);
  animation: gwenlike-title-rise .88s cubic-bezier(.2, .9, .2, 1) both;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-kicker {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center h1 {
  max-width: 930px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 7.6vw, 96px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: 0;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-typed {
  min-height: 34px;
  margin: 20px 0 0;
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 800;
  color: rgba(255, 255, 255, .94);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 4px;
  vertical-align: -.14em;
  background: currentColor;
  animation: gwenlike-caret .85s steps(1) infinite;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-actions-main {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-actions-main button {
  min-width: 132px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: #381d2e;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 22px 54px rgba(34, 16, 34, .22);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-actions-main button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-runtime-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(760px, 100%);
  margin-top: 28px;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-runtime-grid > div {
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 12px;
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(16px);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-runtime-grid span,
body.home-premium.lm-polished.lm-page-home .gwenlike-runtime-grid strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-runtime-grid span {
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-runtime-grid strong {
  margin-top: 4px;
  color: #fff;
  font-size: 14px;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card {
  position: absolute;
  left: clamp(16px, 5vw, 88px);
  bottom: clamp(22px, 5vw, 70px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(340px, calc(100% - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 16px;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(18px);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card #heroProfileAvatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .58);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card strong,
body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card span {
  display: block;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card span {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .74);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-hidden-stats {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools {
  position: absolute;
  right: clamp(14px, 3vw, 42px);
  bottom: clamp(54px, 9vh, 116px);
  z-index: 5;
  display: grid;
  gap: 10px;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 20px;
  transition: transform .18s ease, background .18s ease;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools button:hover {
  transform: translateY(-2px);
  background: rgba(45, 212, 191, .78);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-fps {
  position: absolute;
  left: clamp(14px, 2.8vw, 36px);
  bottom: 14px;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  background: rgba(0, 0, 0, .32);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 900;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 5;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, .8);
  animation: gwenlike-cue 1.7s ease-in-out infinite;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero {
  background: #140b20;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero::before {
  background:
    radial-gradient(circle at var(--gwen-mouse-x) var(--gwen-mouse-y), rgba(255, 255, 255, .34), transparent 0 16%),
    radial-gradient(circle at 24% 32%, rgba(255, 101, 185, .22), transparent 0 25%),
    linear-gradient(180deg, rgba(38, 10, 48, .02), rgba(18, 8, 28, .38) 56%, rgba(15, 6, 20, .74));
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero::after {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 173, 226, .34), transparent 0 24%),
    radial-gradient(circle at 78% 20%, rgba(104, 237, 255, .26), transparent 0 22%),
    radial-gradient(circle at 74% 72%, rgba(255, 232, 130, .13), transparent 0 28%),
    linear-gradient(180deg, rgba(12, 6, 18, .08), rgba(12, 6, 18, .7));
}

body.home-premium.lm-polished.lm-page-home .gwenlike-bg-layer {
  filter: saturate(1.28) contrast(1.06) brightness(1.04);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-anime-grid,
body.home-premium.lm-polished.lm-page-home .gwenlike-magic-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-anime-grid {
  z-index: 0;
  opacity: .45;
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
    radial-gradient(circle at 50% 120%, rgba(255, 105, 190, .2), transparent 0 42%);
  background-size: 52px 52px, 52px 52px, 100% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  animation: gwenlike-grid-slide 12s linear infinite;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-magic-rings {
  z-index: 0;
  background:
    radial-gradient(ellipse at 70% 55%, transparent 0 28%, rgba(126, 244, 255, .26) 28.2% 28.8%, transparent 29% 34%, rgba(255, 143, 208, .22) 34.2% 34.8%, transparent 35%),
    radial-gradient(ellipse at 28% 64%, transparent 0 22%, rgba(255, 246, 160, .18) 22.2% 22.8%, transparent 23% 30%, rgba(255, 126, 196, .18) 30.2% 30.8%, transparent 31%);
  filter: drop-shadow(0 0 22px rgba(255, 112, 198, .28));
  animation: gwenlike-ring-drift 9s ease-in-out infinite alternate;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-sticker {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 2px;
  min-width: 128px;
  padding: 10px 14px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 18px 18px 18px 5px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 105, 190, .82), rgba(79, 221, 255, .72));
  box-shadow: 0 18px 54px rgba(255, 88, 184, .28), inset 0 0 0 1px rgba(255, 255, 255, .28);
  text-transform: uppercase;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-sticker span {
  font-size: 11px;
  font-weight: 900;
  color: rgba(255, 255, 255, .78);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-sticker strong {
  font-size: 14px;
  line-height: 1.05;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-sticker::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -8px;
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(255, 255, 255, .72);
  border-bottom: 2px solid rgba(255, 255, 255, .72);
  background: rgba(79, 221, 255, .54);
  transform: rotate(45deg);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-sticker-live {
  right: clamp(78px, 9vw, 150px);
  top: clamp(118px, 17vh, 176px);
  transform: rotate(7deg);
  animation: gwenlike-sticker-bob 3.8s ease-in-out infinite;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-sticker-spark {
  left: clamp(18px, 8vw, 130px);
  bottom: clamp(136px, 20vh, 210px);
  border-radius: 18px 18px 5px 18px;
  background: linear-gradient(135deg, rgba(255, 223, 111, .8), rgba(255, 109, 190, .75));
  transform: rotate(-8deg);
  animation: gwenlike-sticker-bob 4.4s ease-in-out infinite reverse;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-brand-mark {
  color: #fff;
  background: linear-gradient(135deg, #ff6bbd, #7df5ff 58%, #fff08b);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .38), 0 18px 44px rgba(246, 115, 174, .32);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-nav a {
  padding-inline: 4px;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-nav a::after {
  height: 8px;
  bottom: 5px;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 105, 190, .8), rgba(125, 245, 255, .8));
  opacity: .74;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-note,
body.home-premium.lm-polished.lm-page-home .gwenlike-runtime-grid > div,
body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card {
  border-color: rgba(255, 255, 255, .42);
  background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 123, 200, .13) 48%, rgba(116, 238, 255, .13));
  box-shadow: 0 24px 70px rgba(47, 16, 40, .24), inset 0 0 0 1px rgba(255, 255, 255, .16);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-note strong {
  color: #fff !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-note strong::before {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #7df5ff;
  box-shadow: 0 0 0 5px rgba(125, 245, 255, .16), 0 0 20px rgba(125, 245, 255, .82);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-note p {
  color: rgba(255, 255, 255, .82) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-kicker {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center h1 {
  color: transparent;
  background: linear-gradient(180deg, #fff 0 24%, #ffd5ef 42%, #ff73bd 67%, #7df5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .34);
  filter: drop-shadow(0 14px 26px rgba(255, 95, 185, .22)) drop-shadow(0 2px 0 rgba(72, 13, 52, .35));
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center h1::after {
  content: "喵";
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-left: 12px;
  border: 2px solid rgba(255, 255, 255, .74);
  border-radius: 50% 50% 50% 12px;
  color: #ff5fb5;
  background: rgba(255, 255, 255, .9);
  font-size: 15px;
  line-height: 1;
  vertical-align: middle;
  transform: rotate(10deg) translateY(-8px);
  box-shadow: 0 18px 40px rgba(255, 98, 187, .28);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-typed {
  color: #fff;
  text-shadow: 0 0 18px rgba(125, 245, 255, .34), 0 12px 34px rgba(38, 14, 34, .42);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-actions-main button {
  border: 2px solid rgba(255, 255, 255, .62);
  color: #fff;
  background: linear-gradient(135deg, #ff63b8, #ff9ed4 48%, #79efff);
  box-shadow: 0 22px 54px rgba(255, 94, 184, .28), inset 0 0 0 1px rgba(255, 255, 255, .24);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-actions-main button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-actions-main button:hover,
body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools button:hover,
body.home-premium.lm-polished.lm-page-home .gwenlike-icon-btn:hover {
  transform: translateY(-2px) scale(1.03);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-runtime-grid strong {
  color: #fff4a8;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-fps {
  color: #29132a;
  background: rgba(255, 244, 168, .82);
}

body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active {
  overflow-x: hidden;
  background: #0f0b16;
}

body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active .page-wrap.home-console-page {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
}

body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active :is(.home-side-dock, .site-bar, .site-quickbar, #clientInteractionDeck, .home-mobile-logout) {
  display: none !important;
}

body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active .home-console-page > :not(.home-control-rail):not(.home-side-dock) {
  width: 100% !important;
  max-width: none !important;
}

body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active .gwenlike-live-hero {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active .gwenlike-live-hero + [data-home-view-section] {
  margin-top: 20px;
}

body.home-premium.lm-polished.lm-page-home.lm-gsap-hero-entry {
  cursor: wait;
}

body.home-premium.lm-polished.lm-page-home.lm-login-entry-awaiting {
  cursor: auto;
}

body.home-premium.lm-polished.lm-page-home.lm-login-entry-awaiting :is(
  .gwenlike-topbar,
  .gwenlike-kicker,
  .gwenlike-center h1,
  .gwenlike-typed,
  .gwenlike-actions-main,
  .gwenlike-runtime-grid > div,
  .gwenlike-note,
  .gwenlike-profile-card,
  .gwenlike-floating-tools,
  .gwenlike-fps,
  .gwenlike-scroll-cue,
  .gwenlike-sticker
) {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

body.home-premium.lm-polished.lm-page-home.lm-gsap-hero-entry .gwenlike-live-hero {
  box-shadow: none !important;
}

body.home-premium.lm-polished.lm-page-home.lm-gsap-hero-entry .gwenlike-live-hero::after {
  opacity: 0.74;
}

body.home-premium.lm-polished.lm-page-home.lm-login-entry-active {
  overflow: hidden;
}

body.home-premium.lm-polished.lm-page-home.lm-login-entry-active .gwenlike-live-hero {
  position: fixed !important;
  inset: 0 !important;
  z-index: 80 !important;
  height: 100svh !important;
}

body.home-premium.lm-polished.lm-page-home .lm-entry-gate {
  position: absolute;
  left: 50%;
  bottom: clamp(42px, 7vh, 82px);
  z-index: 120;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  pointer-events: none;
}

body.home-premium.lm-polished.lm-page-home.lm-login-entry-awaiting .lm-entry-gate {
  pointer-events: auto;
}

body.home-premium.lm-polished.lm-page-home .lm-entry-gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 168px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 999px;
  color: #331632;
  background:
    linear-gradient(135deg, rgba(255, 130, 199, .98), rgba(180, 232, 255, .96) 62%, rgba(255, 245, 154, .98));
  box-shadow: 0 18px 48px rgba(255, 120, 194, .28), inset 0 1px 0 rgba(255, 255, 255, .72);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

body.home-premium.lm-polished.lm-page-home .lm-entry-gate-btn:hover,
body.home-premium.lm-polished.lm-page-home .lm-entry-gate-btn:focus-visible {
  transform: translateY(-2px) scale(1.025);
  filter: saturate(1.08);
  box-shadow: 0 22px 58px rgba(255, 120, 194, .36), inset 0 1px 0 rgba(255, 255, 255, .82);
  outline: 3px solid rgba(255, 255, 255, .94);
  outline-offset: 4px;
}

body.home-premium.lm-polished.lm-page-home .lm-entry-gate-btn i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  background: rgba(39, 16, 48, .72);
  font-style: normal;
  line-height: 1;
}

@keyframes gwenlike-bg-drift {
  0% { transform: translate3d(calc(var(--gwen-tilt-x) - 10px), calc(var(--gwen-tilt-y) - 4px), 0) scale(1.055); }
  100% { transform: translate3d(calc(var(--gwen-tilt-x) + 10px), calc(var(--gwen-tilt-y) + 4px), 0) scale(1.085); }
}

@keyframes gwenlike-shine-sweep {
  0%, 38% { transform: translateX(-42%); opacity: .18; }
  56% { opacity: .52; }
  100% { transform: translateX(42%); opacity: .16; }
}

@keyframes gwenlike-light-breathe {
  0%, 100% { opacity: .68; }
  50% { opacity: .98; }
}

@keyframes gwenlike-title-rise {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes gwenlike-toast-in {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes gwenlike-caret {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes gwenlike-cue {
  0%, 100% { transform: translate(-50%, 0); opacity: .62; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

@keyframes gwenlike-grid-slide {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 52px 52px, 52px 52px, 0 0; }
}

@keyframes gwenlike-ring-drift {
  from { transform: translate3d(-10px, 8px, 0) rotate(-2deg); opacity: .56; }
  to { transform: translate3d(12px, -8px, 0) rotate(2deg); opacity: .86; }
}

@keyframes gwenlike-sticker-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@media (max-width: 900px) {
  body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero {
    min-height: min(840px, calc(100vh - 18px));
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-topbar {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 10px;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-nav {
    display: none;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-brand strong {
    max-width: 156px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-actions .badge {
    display: none;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-icon-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 16px;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-note {
    top: 76px;
    left: 14px;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-sticker {
    display: none;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-center {
    padding-top: 156px;
    padding-bottom: 118px;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-center h1 {
    font-size: clamp(34px, 13vw, 58px);
    line-height: 1.02;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-center h1::after {
    width: 40px;
    height: 40px;
    margin-left: 6px;
    font-size: 12px;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-runtime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card {
    display: none;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools {
    left: 50%;
    right: auto;
    bottom: 70px;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: row;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(39, 18, 34, .42);
    box-shadow: 0 18px 38px rgba(20, 8, 22, .28);
    backdrop-filter: blur(16px);
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools button {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
  }
}

@media (max-width: 540px) {
  body.home-premium.lm-polished.lm-page-home .gwenlike-actions .badge {
    display: none;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-note {
    font-size: 12px;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-runtime-grid {
    width: min(330px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero *,
  body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero::before,
  body.home-premium.lm-polished.lm-page-home .gwenlike-bg-layer,
  body.home-premium.lm-polished.lm-page-home .gwenlike-shine {
    animation: none !important;
    transition: none !important;
  }
}

body.lm-polished.lm-anime-site {
  --lm-page-top: #130a13;
  --lm-page-mid: #20131d;
  --lm-page-bottom: #0f090f;
  --lm-panel: rgba(34, 18, 31, 0.9);
  --lm-panel-2: rgba(51, 27, 44, 0.9);
  --lm-line: rgba(255, 215, 234, 0.2);
  --lm-line-strong: rgba(255, 229, 241, 0.34);
  --lm-text: #fff8fb;
  --lm-muted: #efdce7;
  --lm-soft: #cdb7c5;
  --lm-accent: #ff9ac7;
  --lm-accent-2: #ffe07d;
  --lm-mint: #a6f0d2;
  --lm-sky: #9edfff;
  background:
    radial-gradient(circle at 9% 10%, rgba(255, 154, 199, 0.18), transparent 23rem),
    radial-gradient(circle at 88% 4%, rgba(158, 223, 255, 0.11), transparent 24rem),
    radial-gradient(circle at 78% 82%, rgba(166, 240, 210, 0.10), transparent 24rem),
    linear-gradient(180deg, var(--lm-page-top), var(--lm-page-mid) 46%, var(--lm-page-bottom)) !important;
}

.lm-anime-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

body.lm-polished > .lm-anime-layer {
  position: fixed !important;
  z-index: 0 !important;
}

.lm-anime-layer::before,
.lm-anime-layer::after {
  content: "";
  position: absolute;
  inset: -8%;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(255, 242, 248, 0.18) 0 1px, transparent 1.4px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px);
  background-size: 18px 18px, 64px 64px;
  transform: rotate(-7deg);
}

.lm-anime-layer::after {
  opacity: 0.18;
  background-image:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 224, 125, 0.12) 48% 52%, transparent 52%),
    linear-gradient(180deg, transparent 0 48%, rgba(166, 240, 210, 0.10) 48% 52%, transparent 52%);
  background-size: 160px 160px;
  transform: rotate(4deg);
}

.lm-anime-spark {
  position: absolute;
  width: 74px;
  height: 74px;
  opacity: 0.5;
  filter: drop-shadow(0 0 18px rgba(255, 164, 205, 0.24));
  animation: lm-anime-spark 7s ease-in-out infinite;
}

.lm-anime-spark::before,
.lm-anime-spark::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 16%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 240, 247, 0.78), transparent);
  transform: translate(-50%, -50%) rotate(45deg);
}

.lm-anime-spark::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lm-anime-spark-a { left: 8%; top: 17%; animation-delay: -1.2s; }
.lm-anime-spark-b { right: 10%; top: 26%; width: 58px; height: 58px; animation-delay: -3.4s; }
.lm-anime-spark-c { right: 22%; bottom: 12%; width: 48px; height: 48px; animation-delay: -5.1s; }

.lm-anime-frame {
  position: absolute;
  width: min(30vw, 360px);
  aspect-ratio: 1.45;
  border: 1px solid rgba(255, 229, 241, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 42%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px);
  transform: rotate(-10deg);
}

.lm-anime-frame-a { left: -130px; bottom: 8%; }
.lm-anime-frame-b { right: -150px; top: 18%; transform: rotate(11deg); }

body.lm-polished.lm-anime-site > :not(.lm-anime-layer):not(.lm-starry-field):not(.lm-particle-canvas):not(.lm-cursor-aura):not(.lm-cursor-trail):not(.lm-scroll-progress):not(.lm-command-palette):not(.lm-command-toast):not(.lm-mobile-dock):not(.lm-visual-dock):not(.lm-visual-search):not(.lm-mascot-bubble):not(.lm-fps-meter):not(.lm-shared-home-rail):not(.lm-skip-link) {
  position: relative;
  z-index: 1;
}

body.lm-polished.lm-anime-site :is(.topbar, .site-bar, .lm-shared-home-rail, .panel, .hero, .lead-panel, .surface, .card, .list-card, .summary-card, .stat-card, .metric-card, .platform-row, .module-card, .data-row, .feat, .plat, .contact, .info-box, .faq-box) {
  border-color: var(--lm-line) !important;
  box-shadow:
    0 20px 54px rgba(8, 3, 12, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.lm-polished.lm-anime-site :is(.topbar, .site-bar, .lm-shared-home-rail, .panel, .hero, .lead-panel, .surface, .card, .list-card, .summary-card, .stat-card, .metric-card, .platform-row, .module-card, .data-row, .feat, .plat, .contact, .info-box, .faq-box)::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), transparent 40%),
    radial-gradient(circle at 0% 0%, rgba(255, 154, 199, 0.11), transparent 18rem),
    radial-gradient(circle at 100% 0%, rgba(166, 240, 210, 0.075), transparent 15rem),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 11px);
}

body.lm-polished.lm-anime-site :is(.hero, .lead-panel).lm-project-hero {
  border: 1px solid rgba(255, 229, 241, 0.24) !important;
  background:
    radial-gradient(circle at 16% 4%, rgba(255, 154, 199, 0.18), transparent 20rem),
    radial-gradient(circle at 90% 18%, rgba(166, 240, 210, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.026)),
    rgba(35, 18, 31, 0.9) !important;
}

body.lm-polished.lm-anime-site :is(h1, .lead-title, .hero-title, .page-title h1) {
  color: var(--lm-text);
  text-shadow: 0 10px 28px rgba(255, 126, 190, 0.18);
}

body.lm-polished.lm-anime-site :is(h2, .section-title, .panel-title, .panel-head h2, .head h2)::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 10px;
  margin-left: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lm-accent), var(--lm-accent-2), var(--lm-mint));
  box-shadow: 0 0 18px rgba(255, 154, 199, 0.2);
  vertical-align: middle;
}

body.lm-polished.lm-anime-site :is(.kicker, .tag, .badge, .pill, .chip, .mini-pill, .status, .label) {
  border-color: rgba(255, 229, 241, 0.24) !important;
  background:
    linear-gradient(135deg, rgba(255, 154, 199, 0.14), rgba(166, 240, 210, 0.08)),
    rgba(255, 255, 255, 0.045) !important;
  color: var(--lm-text) !important;
}

body.lm-polished.lm-anime-site :is(button, .btn, .btn-p, .btn-s, .action-btn, .primary-action, .ghost-link, .nav-link, .filter-btn, a.cta) {
  border-color: rgba(255, 229, 241, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.lm-polished.lm-anime-site :is(.primary, .btn.primary, .btn-p, .primary-action, a.cta) {
  color: #2a121f !important;
  background: linear-gradient(135deg, #ffe07d, #ff9ac7 56%, #a6f0d2) !important;
  border-color: rgba(255, 244, 249, 0.5) !important;
  box-shadow: 0 16px 34px rgba(255, 154, 199, 0.2);
}

body.lm-polished.lm-anime-site :is(button, .btn, .btn-p, .btn-s, .action-btn, .primary-action, .ghost-link, .nav-link, .filter-btn, a.cta):hover {
  transform: translateY(-1px);
  border-color: rgba(255, 229, 241, 0.38);
  box-shadow:
    0 14px 30px rgba(8, 3, 12, 0.22),
    0 0 0 4px rgba(255, 154, 199, 0.07);
}

body.lm-polished.lm-anime-site :is(input, select, textarea) {
  border-color: rgba(255, 229, 241, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(22, 10, 20, 0.78);
}

body.lm-polished.lm-anime-site .lm-shared-home-rail {
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 154, 199, 0.2), transparent 15rem),
    radial-gradient(circle at 92% 12%, rgba(166, 240, 210, 0.12), transparent 12rem),
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)),
    rgba(24, 11, 22, 0.94);
}

body.lm-polished.lm-anime-site .lm-shared-home-rail::after {
  content: "Lika";
  position: absolute;
  right: 14px;
  top: 13px;
  z-index: 1;
  padding: 5px 9px;
  border: 1px solid rgba(255, 229, 241, 0.22);
  border-radius: 999px;
  color: #2b121f;
  background: linear-gradient(135deg, #ffe07d, #ff9ac7);
  font: 900 10px/1 "Cascadia Mono", Consolas, monospace;
  transform: rotate(6deg);
}

body.lm-polished.lm-anime-site .lm-shared-rail-link span {
  background:
    linear-gradient(135deg, rgba(255, 154, 199, 0.13), rgba(166, 240, 210, 0.08)),
    rgba(255,255,255,0.055);
}

body.lm-polished.lm-anime-site .lm-mascot-bubble {
  border-color: rgba(255, 229, 241, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 154, 199, 0.18), rgba(166, 240, 210, 0.09)),
    rgba(27, 13, 24, 0.86);
}

body.lm-polished.lm-anime-site .lm-empty-upgraded {
  background:
    linear-gradient(135deg, rgba(255, 154, 199, 0.08), rgba(166, 240, 210, 0.06)),
    rgba(255, 255, 255, 0.03);
}

@keyframes lm-anime-spark {
  0%, 100% { opacity: 0.24; transform: translate3d(0, 0, 0) scale(0.82) rotate(0deg); }
  50% { opacity: 0.62; transform: translate3d(0, -12px, 0) scale(1.08) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .lm-anime-spark {
    animation: none;
  }
}

@media (max-width: 760px) {
  .lm-anime-frame {
    opacity: 0.35;
  }

  .lm-anime-spark {
    width: 42px;
    height: 42px;
  }

  body.lm-polished.lm-anime-site :is(h2, .section-title, .panel-title, .panel-head h2, .head h2)::after {
    width: 24px;
    margin-left: 7px;
  }
}

body.lm-polished.lm-anime-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(115deg, transparent 0 72%, rgba(255, 224, 125, 0.08) 72% 73.5%, transparent 73.5%),
    repeating-linear-gradient(0deg, rgba(255, 245, 250, 0.035) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(158, 223, 255, 0.026) 0 1px, transparent 1px 38px);
  mix-blend-mode: screen;
}

body.lm-polished.lm-anime-site :is(.site-bar, .home-control-rail, .home-side-card, .site-quicklink, .panel, .lead-panel, .hero-stage-shell, .workspace-card, .market-reference-card, .steam-board-card, .summary-card, .metric-card, .platform-stat, .action-card, .card, .module-card) {
  position: relative;
  border-color: rgba(255, 232, 244, 0.28) !important;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(255, 154, 199, 0.16), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 14px) !important;
  box-shadow:
    0 18px 44px rgba(10, 4, 13, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 0 1px rgba(255, 154, 199, 0.05) !important;
}

body.lm-polished.lm-anime-site :is(.home-side-card, .site-quicklink, .home-control-rail)::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  pointer-events: none;
  opacity: 0.36;
  background:
    linear-gradient(45deg, transparent 42%, rgba(255, 224, 125, 0.9) 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, rgba(255, 154, 199, 0.9) 42% 58%, transparent 58%);
  filter: drop-shadow(0 0 10px rgba(255, 154, 199, 0.22));
}

body.lm-polished.lm-anime-site :is(.home-rail-link, .home-side-links a, .site-quicklink, .steam-link, .rail-link, .top-actions a, .top-actions button, button, .btn, .action-btn) {
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

body.lm-polished.lm-anime-site :is(.home-rail-link, .home-side-links a, .site-quicklink, .steam-link, .rail-link, .top-actions a, .top-actions button, button, .btn, .action-btn):hover {
  border-color: rgba(255, 244, 249, 0.44) !important;
  box-shadow:
    0 14px 30px rgba(8, 3, 12, 0.24),
    0 0 0 3px rgba(255, 154, 199, 0.10),
    0 0 18px rgba(166, 240, 210, 0.10) !important;
}

body.lm-polished.lm-anime-site .home-side-profile .home-side-avatar,
body.lm-polished.lm-anime-site .brand-logo img {
  border-color: rgba(255, 244, 249, 0.62) !important;
  box-shadow:
    0 0 0 4px rgba(255, 154, 199, 0.16),
    0 12px 28px rgba(8, 3, 12, 0.26),
    0 0 22px rgba(166, 240, 210, 0.12) !important;
}

body.lm-polished.lm-anime-site .home-side-card > span,
body.lm-polished.lm-anime-site :is(.section-eyebrow, .panel-kicker, .lead-kicker, .brand-kicker, .home-rail-kicker) {
  color: #ffe07d !important;
  text-shadow: 0 0 16px rgba(255, 154, 199, 0.24);
}

body.lm-polished.lm-anime-site :is(.home-side-status div, .home-rail-mini, .home-top-brief-grid div) {
  background:
    linear-gradient(135deg, rgba(255, 154, 199, 0.12), rgba(166, 240, 210, 0.08)),
    rgba(255, 255, 255, 0.045) !important;
}

body.lm-polished.lm-anime-site :is(.home-side-status strong, .home-rail-mini strong, .home-top-brief strong) {
  color: #fff8fc !important;
  text-shadow: 0 0 14px rgba(255, 154, 199, 0.22);
}

.lm-gsap-ready .gwenlike-live-hero {
  --gwen-scroll-progress: 0;
}

.lm-gsap-ready .gwenlike-live-hero::before {
  transform: translate3d(0, calc(var(--gwen-scroll-progress) * 16px), 0);
}

.lm-gsap-ready .home-side-card,
.lm-gsap-ready .hero-command-card,
.lm-gsap-ready .hero-runtime-card,
.lm-gsap-ready .hero-status-grid .stat-card,
.lm-gsap-ready [data-home-view-section] {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-console {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 183, 218, 0.16);
  border-radius: 24px;
  color: #fff3fa;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 154, 199, 0.16), transparent 18rem),
    radial-gradient(circle at 100% 18%, rgba(97, 200, 189, 0.1), transparent 15rem),
    linear-gradient(180deg, rgba(72, 27, 51, 0.58), rgba(31, 10, 24, 0.46));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-head span,
body.home-premium.lm-polished.lm-page-home .steamdt-action-card span,
body.home-premium.lm-polished.lm-page-home .steamdt-action-flow span {
  display: block;
  color: #ff9fca;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-head strong {
  display: block;
  margin-top: 6px;
  color: #fff8fc;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-head p,
body.home-premium.lm-polished.lm-page-home .steamdt-action-card p {
  margin: 8px 0 0;
  color: rgba(255, 235, 245, 0.72);
  font-size: 12px;
  line-height: 1.65;
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-card {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 183, 218, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 218, 236, 0.09), rgba(255, 218, 236, 0.035)),
    rgba(18, 7, 15, 0.22);
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-card strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-card a,
body.home-premium.lm-polished.lm-page-home .steamdt-action-flow a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 183, 218, 0.16);
  border-radius: 999px;
  color: #fff7fb;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-card a b,
body.home-premium.lm-polished.lm-page-home .steamdt-action-flow strong {
  color: #fff;
  font-size: 12px;
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-card a small {
  color: rgba(255, 235, 245, 0.68);
  font-weight: 900;
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-flow {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

body.home-premium.lm-polished.lm-page-home .steamdt-action-flow a {
  min-height: 56px;
  border-radius: 16px;
  flex-direction: column;
  align-items: flex-start;
}

body.home-premium.lm-polished.lm-page-home .home-control-rail {
  display: flex !important;
  flex-direction: column;
}

body.home-premium.lm-polished.lm-page-home .home-rail-nav {
  min-height: 0;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

body.home-premium.lm-polished.lm-page-home #fun-zone {
  display: none !important;
}

body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market {
  border-color: rgba(255, 180, 216, 0.26) !important;
  background:
    linear-gradient(135deg, rgba(255, 154, 199, 0.14), transparent 34%),
    linear-gradient(225deg, rgba(158, 223, 255, 0.12), transparent 32%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 18px),
    #120914 !important;
  box-shadow:
    0 24px 70px rgba(10, 3, 11, 0.42),
    inset 0 1px 0 rgba(255, 237, 247, 0.12),
    inset 0 0 42px rgba(255, 154, 199, 0.08) !important;
}

body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market::before {
  content: "LICA MARKET";
  position: absolute;
  right: 16px;
  top: 48px;
  color: rgba(255, 236, 247, 0.045);
  font-size: clamp(34px, 6vw, 92px);
  font-weight: 900;
  letter-spacing: 0;
  pointer-events: none;
  z-index: 0;
}

body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market > * {
  position: relative;
  z-index: 1;
}

body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market .kline-echart-host,
body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market .kline-svg {
  border: 1px solid rgba(255, 210, 232, 0.18) !important;
  background:
    linear-gradient(rgba(255, 214, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 223, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 8%, rgba(255, 154, 199, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(22, 9, 22, 0.98), rgba(8, 13, 20, 0.98)) !important;
  background-size: 100% 56px, 58px 100%, auto, auto !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.025),
    inset 0 0 34px rgba(158, 223, 255, 0.055) !important;
}

body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market .kline-head h4 {
  color: #fff7fb !important;
  text-shadow: 0 0 16px rgba(255, 154, 199, 0.28);
}

body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market .kline-meta-chip,
body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market .kline-control-btn {
  border-color: rgba(255, 214, 235, 0.16) !important;
  background: rgba(255, 246, 251, 0.065) !important;
  color: rgba(255, 245, 250, 0.78) !important;
}

body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market .kline-control-btn.active {
  color: #fff !important;
  border-color: rgba(255, 154, 199, 0.52) !important;
  background: linear-gradient(180deg, rgba(255, 154, 199, 0.3), rgba(158, 223, 255, 0.1)) !important;
  box-shadow: 0 0 18px rgba(255, 154, 199, 0.16) !important;
}

body.home-premium.lm-polished.lm-anime-site #board-zone .steamdt-extension-label {
  border: 1px solid rgba(255, 214, 235, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 154, 199, 0.16), rgba(158, 223, 255, 0.08)),
    rgba(20, 9, 18, 0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

body.home-premium.lm-polished.lm-page-home :is([data-home-view-section], .lm-reveal, .panel, .panel-shell, .lead-panel, .hero-stage-shell) {
  visibility: visible !important;
  opacity: 1 !important;
}

body.home-premium.lm-polished.lm-page-home :is([data-home-view-section], .lm-reveal):not(.home-control-rail) {
  transform: none !important;
  will-change: auto !important;
}

@media (min-width: 1221px) {
  body.home-premium .home-control-rail,
  body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active .home-control-rail,
  body.home-premium.lm-polished.lm-page-home .home-control-rail {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 16px !important;
    left: max(16px, calc((100vw - 1960px) / 2 + 16px)) !important;
    width: clamp(224px, 12vw, 252px) !important;
    max-height: calc(100vh - 28px) !important;
    overflow: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto !important;
    z-index: 42 !important;
  }

  body.home-premium.lm-polished.lm-page-home.lm-gsap-hero-entry:not(.lm-gsap-entry-done) .home-control-rail {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(12px) scale(0.985) !important;
    will-change: transform, opacity !important;
  }

  body.home-premium.lm-polished.lm-page-home .home-rail-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 3px;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }

  body.home-premium.lm-polished.lm-page-home .home-rail-mini-grid {
    flex: 0 0 auto;
  }
}

@media (min-width: 1221px) and (max-width: 1560px) {
  body.home-premium .home-control-rail,
  body.home-premium.lm-polished.lm-page-home .home-control-rail {
    left: 14px !important;
    width: clamp(212px, 16vw, 236px) !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto !important;
  }
}

@media (max-width: 1220px) {
  body.home-premium.lm-polished.lm-page-home .steamdt-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-premium.lm-polished.lm-page-home .steamdt-action-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .steamdt-action-console {
    padding: 14px;
    border-radius: 20px;
  }

  body.home-premium.lm-polished.lm-page-home .steamdt-action-head {
    display: grid;
  }

  body.home-premium.lm-polished.lm-page-home .steamdt-action-grid,
  body.home-premium.lm-polished.lm-page-home .steamdt-action-flow {
    grid-template-columns: 1fr;
  }
}

body.home-premium.lm-polished.lm-page-home {
  --lm-ink: #08030a;
  --lm-manga-black: #10040d;
  --lm-manga-card: rgba(28, 8, 22, 0.88);
  --lm-manga-line: rgba(255, 205, 231, 0.26);
  --lm-manga-pink: #ff5da8;
  --lm-manga-rose: #ffb7da;
  --lm-manga-cyan: #61f4e5;
  --lm-manga-yellow: #ffe36e;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 93, 168, 0.32), transparent 18rem),
    radial-gradient(circle at 92% 12%, rgba(97, 244, 229, 0.18), transparent 19rem),
    radial-gradient(circle at 72% 82%, rgba(255, 227, 110, 0.08), transparent 22rem),
    linear-gradient(180deg, #12030d 0%, #260816 42%, #0c0309 100%) !important;
}

body.home-premium.lm-polished.lm-page-home::before {
  opacity: 0.72 !important;
  background-image:
    radial-gradient(circle, rgba(255, 214, 235, 0.18) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(97, 244, 229, 0.12) 0 1px, transparent 1.6px),
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, 0.035) 18px 19px, transparent 19px 38px),
    linear-gradient(90deg, rgba(255, 93, 168, 0.08), transparent 24%, transparent 76%, rgba(97, 244, 229, 0.06));
  background-size: 18px 18px, 26px 26px, 160px 160px, auto !important;
  background-position: 0 0, 11px 9px, 0 0, center !important;
}

body.home-premium.lm-polished.lm-page-home::after {
  border: 2px solid rgba(255, 183, 218, 0.22) !important;
  box-shadow:
    inset 0 0 0 1px rgba(97, 244, 229, 0.1),
    inset 0 0 80px rgba(255, 93, 168, 0.08),
    0 28px 90px rgba(0, 0, 0, 0.34) !important;
}

body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page::before,
body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page::before {
  left: clamp(260px, 20vw, 390px);
  top: 18px;
  width: min(34vw, 520px);
  height: 92px;
  border: 2px solid rgba(255, 183, 218, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 93, 168, 0.18), rgba(97, 244, 229, 0.07)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 12px);
  clip-path: polygon(0 0, 96% 0, 100% 52%, 93% 100%, 4% 100%, 0 74%);
  opacity: 0.62;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.22));
}

body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page::after {
  right: clamp(330px, 21vw, 420px);
  bottom: 24px;
  width: 184px;
  height: 184px;
  border: 2px solid rgba(97, 244, 229, 0.18);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 227, 110, 0.18), transparent 18%),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(255, 93, 168, 0.22) 43% 46%, transparent 47%),
    repeating-conic-gradient(from 0deg, rgba(255, 183, 218, 0.14) 0 8deg, transparent 8deg 16deg);
  border-radius: 50%;
  opacity: 0.58;
  transform: rotate(-8deg);
}

body.home-premium.lm-polished.lm-page-home :is(.home-control-rail, .site-bar, .home-side-card, .lead-panel, .panel, .panel-shell, .hero-stage-shell, .workspace-card, .site-quickbar, .client-interaction-deck, #board-zone, .steam-board, .market-reference-deck) {
  border: 2px solid var(--lm-manga-line) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(255, 199, 227, 0.1), rgba(255, 199, 227, 0.035)),
    linear-gradient(135deg, rgba(31, 7, 24, 0.94), rgba(12, 3, 10, 0.9)),
    var(--lm-manga-card) !important;
  box-shadow:
    8px 8px 0 rgba(0, 0, 0, 0.32),
    0 22px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.home-control-rail, .site-bar, .home-side-card, .panel, .panel-shell, .lead-panel, #board-zone) {
  position: relative;
}

body.home-premium.lm-polished.lm-page-home :is(.site-bar, .home-control-rail, .home-side-card, .panel-shell, .lead-panel)::before {
  opacity: 0.42 !important;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 38%),
    radial-gradient(circle, rgba(255, 255, 255, 0.13) 0 1px, transparent 1.7px) 0 0 / 14px 14px !important;
}

body.home-premium.lm-polished.lm-page-home .site-bar::after,
body.home-premium.lm-polished.lm-page-home .home-control-rail::after,
body.home-premium.lm-polished.lm-page-home .home-side-profile::after {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #16040f;
  background: var(--lm-manga-yellow);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.24);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  transform: rotate(-4deg);
  z-index: 3;
}

body.home-premium.lm-polished.lm-page-home .site-bar::after {
  content: "今夜値段メモ";
  right: 24px;
  top: -13px;
}

body.home-premium.lm-polished.lm-page-home .home-control-rail::after {
  content: "MENU";
  left: 18px;
  top: -12px;
  background: var(--lm-manga-cyan);
}

body.home-premium.lm-polished.lm-page-home .home-side-profile::after {
  content: "Lika's desk";
  right: 18px;
  top: 18px;
  background: var(--lm-manga-rose);
  transform: rotate(5deg);
}

body.home-premium.lm-polished.lm-page-home .brand-logo,
body.home-premium.lm-polished.lm-page-home .home-side-avatar,
body.home-premium.lm-polished.lm-page-home .home-rail-avatar,
body.home-premium.lm-polished.lm-page-home #heroProfileAvatar {
  border: 2px solid rgba(255, 245, 250, 0.7) !important;
  border-radius: 8px !important;
  box-shadow:
    5px 5px 0 rgba(255, 93, 168, 0.32),
    9px 9px 0 rgba(0, 0, 0, 0.2) !important;
  transform: rotate(-1.5deg);
}

body.home-premium.lm-polished.lm-page-home :is(.brand h1, .gwenlike-center h1, .section-title, .panel-title, .home-rail-brand strong, .home-side-card h3) {
  color: #fff8fc !important;
  text-shadow:
    2px 2px 0 rgba(8, 3, 10, 0.72),
    0 0 18px rgba(255, 93, 168, 0.28) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.brand-kicker, .gwenlike-kicker, .section-note span, .panel-head-note span, .home-rail-kicker, .home-side-card > span) {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border: 1px solid rgba(255, 183, 218, 0.28);
  color: #14040e !important;
  background: var(--lm-manga-rose) !important;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
  font-weight: 900;
}

body.home-premium.lm-polished.lm-page-home :is(.home-rail-link, .top-actions a, .top-actions button, .home-side-actions a, .home-side-links a, .home-side-status div, .home-top-brief, .home-top-brief-grid div, .site-quicklink, .market-reference-card, .steam-board-card, .steam-board-stat, .platform-stat, .metric-card, .summary-card, .action-card) {
  border: 1px solid rgba(255, 183, 218, 0.24) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(255, 214, 235, 0.09), rgba(255, 214, 235, 0.035)),
    rgba(16, 4, 13, 0.54) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    3px 3px 0 rgba(0, 0, 0, 0.18) !important;
}

body.home-premium.lm-polished.lm-page-home .home-rail-link {
  clip-path: polygon(0 0, 97% 0, 100% 38%, 96% 100%, 0 100%);
}

body.home-premium.lm-polished.lm-page-home .home-rail-link span {
  color: var(--lm-manga-cyan) !important;
  text-shadow: 0 0 10px rgba(97, 244, 229, 0.26);
}

body.home-premium.lm-polished.lm-page-home :is(.home-rail-link.is-active, .top-actions .steam-link:hover, .top-actions button:hover, .home-side-actions a:first-child, .primary-action, .submit-btn, .btn-p, .gwenlike-actions-main button) {
  color: #fff !important;
  border-color: rgba(255, 245, 250, 0.38) !important;
  background:
    linear-gradient(135deg, #ff4f9f 0%, #f12a86 54%, #35dbc9 100%) !important;
  box-shadow:
    4px 4px 0 rgba(0, 0, 0, 0.32),
    0 0 24px rgba(255, 79, 159, 0.28) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero {
  min-height: clamp(620px, 76vh, 820px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 93, 168, 0.22), transparent 22rem),
    linear-gradient(135deg, rgba(40, 8, 30, 0.95), rgba(12, 3, 10, 0.88)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero::before {
  opacity: 0.5 !important;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 0 1px, transparent 1.6px) 0 0 / 12px 12px,
    repeating-linear-gradient(128deg, transparent 0 20px, rgba(255, 93, 168, 0.06) 20px 21px, transparent 21px 42px) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center {
  padding: clamp(28px, 4vw, 56px);
  border: 2px solid rgba(255, 183, 218, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 214, 235, 0.08), rgba(255, 214, 235, 0.025)),
    rgba(10, 3, 9, 0.44);
  box-shadow:
    7px 7px 0 rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center::before {
  content: "PRICE NOTE";
  position: absolute;
  left: clamp(18px, 3vw, 42px);
  top: -14px;
  padding: 3px 10px;
  color: #16040f;
  background: var(--lm-manga-cyan);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.22);
  font-size: 11px;
  font-weight: 900;
  transform: rotate(-3deg);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center h1 {
  font-size: clamp(52px, 8.5vw, 128px);
  line-height: 0.92;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-typed {
  color: rgba(255, 242, 249, 0.84) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-sticker {
  border: 2px solid rgba(255, 246, 251, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 227, 110, 0.92), rgba(255, 183, 218, 0.88));
  color: #16040f;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.28);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-sticker span,
body.home-premium.lm-polished.lm-page-home .gwenlike-sticker strong {
  color: #16040f !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-topbar,
body.home-premium.lm-polished.lm-page-home .gwenlike-note,
body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card,
body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools button,
body.home-premium.lm-polished.lm-page-home .gwenlike-runtime-grid > div {
  border: 1px solid rgba(255, 183, 218, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 214, 235, 0.08), rgba(255, 214, 235, 0.03)),
    rgba(12, 3, 10, 0.58);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

body.home-premium.lm-polished.lm-page-home .gwenlike-brand-mark,
body.home-premium.lm-polished.lm-page-home .gwenlike-icon-btn,
body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools button {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4f9f, #35dbc9) !important;
}

body.home-premium.lm-polished.lm-page-home .site-quicklink {
  min-height: 168px;
}

body.home-premium.lm-polished.lm-page-home .site-quicklink::after,
body.home-premium.lm-polished.lm-page-home .steam-board-card::after,
body.home-premium.lm-polished.lm-page-home .market-reference-card::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 183, 218, 0.18);
  background:
    linear-gradient(45deg, transparent 0 44%, rgba(255, 183, 218, 0.26) 45% 55%, transparent 56%),
    linear-gradient(-45deg, transparent 0 44%, rgba(97, 244, 229, 0.18) 45% 55%, transparent 56%);
  opacity: 0.72;
}

body.home-premium.lm-polished.lm-page-home .home-side-banner {
  min-height: 104px;
  border: 1px solid rgba(255, 183, 218, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 14%, rgba(97, 244, 229, 0.36), transparent 7rem),
    radial-gradient(circle at 28% 84%, rgba(255, 227, 110, 0.16), transparent 8rem),
    linear-gradient(135deg, rgba(255, 93, 168, 0.54), rgba(20, 4, 15, 0.92)) !important;
}

body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market {
  border: 2px solid rgba(255, 183, 218, 0.24) !important;
  border-radius: 8px !important;
  box-shadow:
    7px 7px 0 rgba(0, 0, 0, 0.28),
    0 24px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market::before {
  content: "MARKET PANEL";
  right: 20px;
  top: 18px;
  color: rgba(255, 245, 250, 0.06);
  font-size: clamp(42px, 7vw, 120px);
}

body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market .kline-echart-host,
body.home-premium.lm-polished.lm-anime-site #board-zone .kline-shell.board-market .kline-svg {
  border-radius: 8px !important;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.11) 0 1px, transparent 1.7px) 0 0 / 14px 14px,
    linear-gradient(rgba(255, 214, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 244, 229, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 6, 18, 0.98), rgba(7, 12, 18, 0.98)) !important;
  background-size: 14px 14px, 100% 56px, 58px 100%, auto !important;
}

body.home-premium.lm-polished.lm-page-home :is(.case-home-stage, .case-home-reel-wrap, .case-home-summary-card, .case-home-odd, .case-home-recent-row) {
  border-radius: 8px !important;
  border-color: rgba(255, 183, 218, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(255, 214, 235, 0.08), rgba(255, 214, 235, 0.03)),
    rgba(12, 3, 10, 0.58) !important;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.case-home-drop, .skin-row img, .case-home-recent-row img) {
  border-radius: 8px !important;
  filter: saturate(1.12) contrast(1.06);
}

body.home-premium.lm-polished.lm-page-home :is(.loading-shell, .intel-home-empty, .platform-strip-empty) {
  border: 1px dashed rgba(255, 183, 218, 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 0 1px, transparent 1.6px) 0 0 / 14px 14px,
    rgba(12, 3, 10, 0.46) !important;
}

body.home-premium.lm-polished.lm-page-home .loading-kicker {
  color: var(--lm-manga-yellow) !important;
}

body.home-premium.lm-polished.lm-page-home .loading-state {
  color: var(--lm-manga-cyan) !important;
}

@media (max-width: 1220px) {
  body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page::before,
  body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page::after {
    display: none;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-center h1 {
    font-size: clamp(44px, 14vw, 78px);
  }
}

@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home :is(.home-control-rail, .site-bar, .home-side-card, .lead-panel, .panel, .panel-shell, .hero-stage-shell, .workspace-card, .site-quickbar, .client-interaction-deck, #board-zone, .steam-board, .market-reference-deck) {
    box-shadow:
      4px 4px 0 rgba(0, 0, 0, 0.26),
      0 18px 48px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-center {
    padding: 22px;
  }
}

/* Black fairytale theme, inspired by the mood of BLACK SOULS without copying its assets. */
body.home-premium.lm-polished.lm-page-home,
body.login-premium.lm-polished.lm-page-login {
  --lm-page-top: #060504;
  --lm-page-mid: #120c0c;
  --lm-page-bottom: #050403;
  --lm-panel: rgba(20, 15, 14, 0.92);
  --lm-panel-2: rgba(42, 22, 20, 0.88);
  --lm-line: rgba(159, 131, 81, 0.28);
  --lm-line-strong: rgba(202, 166, 91, 0.45);
  --lm-text: #f1e6d0;
  --lm-muted: #c2ad92;
  --lm-soft: #97836c;
  --lm-accent: #8f1f2d;
  --lm-accent-2: #caa65b;
  --lm-good: #9cae84;
  --lm-warn: #d5ac66;
  --lm-danger: #b33a3f;
  --lm-shadow: 0 32px 82px rgba(0, 0, 0, 0.64);
  --lm-display: "Noto Serif SC", "ZCOOL XiaoWei", serif;
}

body.home-premium.lm-polished.lm-page-home {
  background:
    radial-gradient(circle at 18% 8%, rgba(143, 31, 45, 0.23), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(202, 166, 91, 0.12), transparent 23rem),
    linear-gradient(180deg, #050404 0%, #15100f 48%, #050403 100%) !important;
}

body.home-premium.lm-polished.lm-page-home::before {
  opacity: 0.36 !important;
  background:
    linear-gradient(rgba(214, 188, 128, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 188, 128, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(231, 212, 167, 0.09) 0 1px, transparent 1.7px) !important;
  background-size: 76px 76px, 76px 76px, 18px 18px !important;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.95), transparent 95%) !important;
}

body.home-premium.lm-polished.lm-page-home .lm-starry-field,
body.home-premium.lm-polished.lm-page-home .gwenlike-anime-grid,
body.home-premium.lm-polished.lm-page-home .gwenlike-magic-rings,
body.home-premium.lm-polished.lm-page-home .gwenlike-shine {
  opacity: 0.18 !important;
  filter: sepia(0.5) saturate(0.72);
}

body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page::before,
body.home-premium.lm-polished.lm-page-home .page-wrap.home-console-page::after {
  display: none !important;
}

body.home-premium.lm-polished.lm-page-home :is(.home-control-rail, .site-bar, .home-side-card, .lead-panel, .panel, .panel-shell, .hero-stage-shell, .workspace-card, .site-quickbar, .client-interaction-deck, #board-zone, .steam-board, .market-reference-deck) {
  border: 1px solid rgba(199, 164, 91, 0.32) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(244, 220, 166, 0.055), rgba(244, 220, 166, 0.018)),
    radial-gradient(circle at 10% 0%, rgba(124, 31, 37, 0.16), transparent 20rem),
    rgba(18, 13, 12, 0.9) !important;
  box-shadow:
    0 0 0 1px rgba(255, 244, 209, 0.035) inset,
    0 18px 58px rgba(0, 0, 0, 0.52) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.site-bar, .home-control-rail, .home-side-card, .panel-shell, .lead-panel)::before {
  opacity: 0.28 !important;
  background:
    linear-gradient(115deg, rgba(255, 240, 196, 0.09), transparent 36%),
    radial-gradient(circle, rgba(242, 216, 165, 0.12) 0 1px, transparent 1.8px) 0 0 / 17px 17px !important;
}

body.home-premium.lm-polished.lm-page-home .site-bar::after {
  content: "DARK FAIRYTALE" !important;
  color: #efe1bd !important;
  background: #4d1119 !important;
  border-color: rgba(218, 174, 91, 0.54) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34) !important;
}

body.home-premium.lm-polished.lm-page-home .home-control-rail::after {
  content: "INDEX" !important;
  color: #17100d !important;
  background: #caa65b !important;
}

body.home-premium.lm-polished.lm-page-home .home-side-profile::after {
  content: "Lika's room" !important;
  color: #f1e6d0 !important;
  background: #6d1821 !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero {
  min-height: clamp(640px, 78vh, 860px);
  border-color: rgba(202, 166, 91, 0.38) !important;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.84) 0%, rgba(9, 6, 6, 0.58) 48%, rgba(6, 5, 5, 0.92) 100%),
    radial-gradient(circle at 28% 42%, rgba(143, 31, 45, 0.24), transparent 25rem),
    url("/static/site-avatar.webp?v=20260603-black-souls") right 12% center / min(52vw, 680px) auto no-repeat,
    linear-gradient(135deg, #070605, #17100f 62%, #060504) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero::before {
  opacity: 0.52 !important;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.64)),
    repeating-linear-gradient(90deg, rgba(236, 211, 156, 0.04) 0 1px, transparent 1px 24px),
    radial-gradient(circle at 80% 42%, rgba(255, 241, 211, 0.09), transparent 25rem) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-bg-layer {
  opacity: 0.42 !important;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.82) 100%),
    radial-gradient(circle at 50% 50%, rgba(202, 166, 91, 0.12), transparent 34rem) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center {
  width: min(680px, 100%);
  margin-left: 0;
  border-color: rgba(202, 166, 91, 0.42) !important;
  background:
    linear-gradient(180deg, rgba(241, 225, 189, 0.072), rgba(241, 225, 189, 0.026)),
    rgba(9, 7, 6, 0.58) !important;
  box-shadow:
    0 0 0 1px rgba(255, 245, 212, 0.05) inset,
    0 30px 80px rgba(0, 0, 0, 0.42) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center::before {
  content: "MIDNIGHT MARKET" !important;
  color: #17100d !important;
  background: #caa65b !important;
  border-color: rgba(255, 239, 190, 0.32) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.brand h1, .gwenlike-center h1, .section-title, .panel-title, .home-rail-brand strong, .home-side-card h3) {
  color: #f4ead8 !important;
  letter-spacing: 0 !important;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.88),
    0 0 28px rgba(154, 31, 45, 0.35) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center h1 {
  font-size: clamp(48px, 7.8vw, 118px);
}

body.home-premium.lm-polished.lm-page-home :is(.brand-kicker, .gwenlike-kicker, .section-note span, .panel-head-note span, .home-rail-kicker, .home-side-card > span) {
  color: #ead8ac !important;
  background:
    linear-gradient(90deg, rgba(83, 17, 25, 0.9), rgba(34, 17, 15, 0.72)) !important;
  border-color: rgba(202, 166, 91, 0.42) !important;
  box-shadow: none !important;
}

body.home-premium.lm-polished.lm-page-home :is(p, small, .muted, .minor, .brand p, .home-side-card p, .home-rail-profile p, .home-rail-footer, .lead-subtitle, .panel-subtitle, .market-reference-card p, .steam-board-meta, .steam-total-sub, .section-desc, .section-note, .panel-head-note, .home-top-brief span) {
  color: rgba(232, 213, 180, 0.76) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.home-rail-link, .top-actions a, .top-actions button, .home-side-actions a, .home-side-links a, .home-side-status div, .home-top-brief, .home-top-brief-grid div, .site-quicklink, .market-reference-card, .steam-board-card, .steam-board-stat, .platform-stat, .metric-card, .summary-card, .action-card) {
  border-color: rgba(202, 166, 91, 0.25) !important;
  background:
    linear-gradient(180deg, rgba(242, 221, 170, 0.055), rgba(242, 221, 170, 0.018)),
    rgba(10, 8, 7, 0.58) !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.05) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.home-rail-link.is-active, .top-actions .steam-link:hover, .top-actions button:hover, .home-side-actions a:first-child, .primary-action, .submit-btn, .btn-p, .gwenlike-actions-main button) {
  color: #f7ead0 !important;
  border-color: rgba(232, 190, 99, 0.62) !important;
  background:
    linear-gradient(135deg, #781923 0%, #3c1114 58%, #a47c38 100%) !important;
  box-shadow:
    0 12px 30px rgba(111, 22, 31, 0.28),
    inset 0 1px 0 rgba(255, 241, 203, 0.15) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.gwenlike-brand-mark, .gwenlike-icon-btn, .gwenlike-floating-tools button) {
  color: #f4ead8 !important;
  background: linear-gradient(135deg, #63161f, #a47c38) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-sticker {
  color: #17100d !important;
  border-color: rgba(255, 238, 190, 0.38) !important;
  background: linear-gradient(135deg, #caa65b, #7a5130) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34) !important;
}

body.home-premium.lm-polished.lm-page-home .brand-logo,
body.home-premium.lm-polished.lm-page-home .home-side-avatar,
body.home-premium.lm-polished.lm-page-home .home-rail-avatar,
body.home-premium.lm-polished.lm-page-home #heroProfileAvatar {
  border: 1px solid rgba(226, 197, 126, 0.78) !important;
  border-radius: 8px !important;
  box-shadow:
    0 0 0 4px rgba(8, 5, 5, 0.9),
    0 16px 38px rgba(0, 0, 0, 0.46),
    0 0 24px rgba(111, 22, 31, 0.28) !important;
  transform: none !important;
}

body.home-premium.lm-polished.lm-page-home .home-side-banner {
  background:
    linear-gradient(90deg, rgba(5, 4, 4, 0.28), rgba(5, 4, 4, 0.75)),
    url("/static/site-avatar.webp?v=20260603-black-souls") center 35% / cover no-repeat !important;
  filter: grayscale(0.24) sepia(0.2);
}

body.login-premium.lm-polished.lm-page-login {
  background:
    radial-gradient(circle at 20% 12%, rgba(122, 25, 35, 0.22), transparent 24rem),
    radial-gradient(circle at 82% 8%, rgba(202, 166, 91, 0.12), transparent 20rem),
    linear-gradient(180deg, #060504, #15100f 52%, #050403) !important;
}

body.login-premium {
  color: #f1e6d0 !important;
  background:
    radial-gradient(circle at 18% 8%, rgba(112, 24, 34, 0.28), transparent 28rem),
    radial-gradient(circle at 84% 12%, rgba(202, 166, 91, 0.14), transparent 22rem),
    linear-gradient(180deg, #050404 0%, #15100f 52%, #050403 100%) !important;
}

body.login-premium::before {
  opacity: 0.24 !important;
  background:
    linear-gradient(rgba(214, 188, 128, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 188, 128, 0.04) 1px, transparent 1px),
    radial-gradient(circle, rgba(242, 216, 165, 0.12) 0 1px, transparent 1.7px) !important;
  background-size: 78px 78px, 78px 78px, 18px 18px !important;
}

body.login-premium::after {
  opacity: 0.38 !important;
  background:
    linear-gradient(90deg, rgba(5, 4, 4, 0.52), rgba(5, 4, 4, 0.74)),
    url("/static/site-avatar.webp?v=20260603-black-souls") left 12% center / min(44vw, 600px) auto no-repeat !important;
  filter: grayscale(0.22) sepia(0.28);
}

body.login-premium :is(.auth-visual, .auth-panel) {
  border: 1px solid rgba(202, 166, 91, 0.35) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(244, 220, 166, 0.06), rgba(244, 220, 166, 0.018)),
    radial-gradient(circle at 10% 0%, rgba(124, 31, 37, 0.18), transparent 20rem),
    rgba(18, 13, 12, 0.9) !important;
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.58) !important;
}

body.login-premium :is(.visual-title, .brand h1) {
  color: #f4ead8 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.88), 0 0 28px rgba(154, 31, 45, 0.35) !important;
}

body.login-premium :is(.visual-copy, .contact-line, .register-link, .record-link, .auth-op span, .visual-ledger span, .visual-foot span, .brand-statusline span) {
  color: rgba(232, 213, 180, 0.78) !important;
}

body.login-premium :is(.visual-kicker, .brand-kicker) {
  color: #ead8ac !important;
  background: rgba(111, 22, 31, 0.78) !important;
  border: 1px solid rgba(202, 166, 91, 0.38) !important;
  box-shadow: none !important;
}

body.login-premium :is(.visual-ledger div, .visual-foot span, .brand, .tabs, .auth-op, .brand-statusline span, .form-input, .password-wrap, .field-wrap) {
  border-color: rgba(202, 166, 91, 0.28) !important;
  background:
    linear-gradient(180deg, rgba(242, 221, 170, 0.055), rgba(242, 221, 170, 0.018)),
    rgba(10, 8, 7, 0.58) !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.05) !important;
}

body.login-premium :is(.visual-ledger strong, .auth-op strong, .brand-statusline strong, .visual-foot strong, .form-label) {
  color: #f1e6d0 !important;
}

body.login-premium :is(.form-input, .form-input::placeholder) {
  color: #e5d5bb !important;
}

body.login-premium :is(.tab.active, .submit-btn) {
  color: #f7ead0 !important;
  border-color: rgba(232, 190, 99, 0.62) !important;
  background: linear-gradient(135deg, #781923 0%, #3c1114 58%, #a47c38 100%) !important;
  box-shadow: 0 12px 30px rgba(111, 22, 31, 0.28), inset 0 1px 0 rgba(255, 241, 203, 0.15) !important;
}

body.login-premium .tab {
  color: rgba(232, 213, 180, 0.72) !important;
  border-color: rgba(202, 166, 91, 0.25) !important;
}

body.login-premium.lm-polished.lm-page-login .brand-mark {
  border: 1px solid rgba(226, 197, 126, 0.72) !important;
  border-radius: 8px !important;
  box-shadow:
    0 0 0 4px rgba(8, 5, 5, 0.9),
    0 16px 38px rgba(0, 0, 0, 0.46) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.brand, .tabs, .auth-op, .brand-statusline span) {
  border-color: rgba(202, 166, 91, 0.28) !important;
  background:
    linear-gradient(180deg, rgba(241, 225, 189, 0.06), rgba(241, 225, 189, 0.02)),
    rgba(18, 13, 12, 0.86) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.visual-kicker, .brand-kicker) {
  color: #ead8ac !important;
  background: rgba(111, 22, 31, 0.78) !important;
  border-color: rgba(202, 166, 91, 0.36) !important;
}

@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero {
    background:
      linear-gradient(180deg, rgba(5, 4, 4, 0.46), rgba(5, 4, 4, 0.92)),
      url("/static/site-avatar.webp?v=20260603-black-souls") center top / min(92vw, 520px) auto no-repeat,
      linear-gradient(135deg, #070605, #17100f 62%, #060504) !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-center {
    margin-top: 160px;
    background: rgba(8, 6, 5, 0.68) !important;
  }
}

/* Full-site dark anime skin. Keep business UI dense, but make every surface share the same gothic visual language. */
:root {
  --lm-page-top: #050404;
  --lm-page-mid: #120c0c;
  --lm-page-bottom: #030303;
  --lm-panel: rgba(17, 12, 12, 0.92);
  --lm-panel-2: rgba(42, 18, 19, 0.86);
  --lm-panel-soft: rgba(231, 204, 147, 0.045);
  --lm-line: rgba(202, 166, 91, 0.26);
  --lm-line-strong: rgba(228, 188, 103, 0.48);
  --lm-text: #f1e6d0;
  --lm-muted: rgba(232, 213, 180, 0.76);
  --lm-soft: rgba(210, 185, 140, 0.72);
  --lm-accent: #8d1d2b;
  --lm-accent-2: #caa65b;
  --lm-gold: #d4ad62;
  --lm-good: #a8b884;
  --lm-warn: #d8aa62;
  --lm-danger: #c9504e;
  --lm-shadow: 0 28px 82px rgba(0, 0, 0, 0.58);
}

body,
body.admin-home-skin,
body.inventory-db-page,
body.lm-polished:not(.lm-page-home),
body.login-premium,
body.home-premium {
  color: var(--lm-text) !important;
  background:
    radial-gradient(circle at 16% 8%, rgba(123, 24, 35, 0.28), transparent 28rem),
    radial-gradient(circle at 90% 6%, rgba(202, 166, 91, 0.13), transparent 24rem),
    radial-gradient(circle at 72% 90%, rgba(79, 18, 23, 0.22), transparent 26rem),
    linear-gradient(180deg, var(--lm-page-top) 0%, var(--lm-page-mid) 48%, var(--lm-page-bottom) 100%) !important;
  color-scheme: dark;
}

body::before,
body.admin-home-skin::before,
body.inventory-db-page::before {
  opacity: 0.24 !important;
  background-image:
    linear-gradient(rgba(214, 188, 128, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 188, 128, 0.04) 1px, transparent 1px),
    radial-gradient(circle, rgba(242, 216, 165, 0.13) 0 1px, transparent 1.7px) !important;
  background-size: 76px 76px, 76px 76px, 18px 18px !important;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.92), transparent 94%) !important;
}

body::after,
body.admin-home-skin::after,
body.inventory-db-page::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  opacity: 0.2 !important;
  background:
    linear-gradient(90deg, rgba(5, 4, 4, 0.45), rgba(5, 4, 4, 0.82)),
    url("/static/site-avatar.webp?v=20260603-dark-anime") right 6vw top 8vh / min(40vw, 560px) auto no-repeat !important;
  filter: grayscale(0.2) sepia(0.22);
}

body :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .control-shell, .status-block, .alert-row, .compare-summary, .item-card, .workspace-card, .workspace-side-note, .token-home-card, .fun-card, .billing-card, .admin-card, .admin-shell, .admin-panel, .admin-section, .admin-card, .auth-panel, .auth-visual, .toolbar, .filters, .selected-panel, .result-card, .table-wrap, .list-card, .monitor-card, .platform-row, .data-row, .empty, .empty-state) {
  border-color: var(--lm-line) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(244, 220, 166, 0.06), rgba(244, 220, 166, 0.018)),
    radial-gradient(circle at 12% 0%, rgba(124, 31, 37, 0.16), transparent 20rem),
    rgba(17, 12, 12, 0.88) !important;
  box-shadow:
    0 0 0 1px rgba(255, 245, 212, 0.04) inset,
    0 22px 64px rgba(0, 0, 0, 0.44) !important;
  backdrop-filter: blur(16px);
}

body :is(.topbar, .site-bar, .home-control-rail, .admin-topbar, .toolbar) {
  border-bottom-color: rgba(202, 166, 91, 0.38) !important;
}

body :is(h1, h2, h3, h4, .title, .page-title, .section-title, .panel-title, .hero-title, .brand h1, .brand-title, .visual-title, .admin-title, .selected-title) {
  color: #f4ead8 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.86), 0 0 28px rgba(128, 25, 35, 0.34) !important;
}

body :is(p, small, .muted, .subhint, .hint, .section-desc, .brand p, .hero-copy, .meta, .desc, .description, .caption, .empty-text, .minor) {
  color: var(--lm-muted) !important;
}

body :is(.kicker, .tag, .badge, .pill, .chip, .mini-pill, .status, .label, .eyebrow, .section-note span, .brand-kicker, .visual-kicker) {
  color: #ead8ac !important;
  border-color: rgba(202, 166, 91, 0.38) !important;
  background: linear-gradient(90deg, rgba(104, 19, 28, 0.84), rgba(30, 15, 13, 0.72)) !important;
  box-shadow: none !important;
}

body :is(button, .steam-link, .btn, .link-btn, .action-btn, .filter-btn, .nav-link, .tab, .chip, input[type="button"], input[type="submit"], .submit-btn, .secondary-btn, a.cta) {
  min-height: 36px;
  border: 1px solid rgba(202, 166, 91, 0.28) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(242, 221, 170, 0.055), rgba(242, 221, 170, 0.018)),
    rgba(10, 8, 7, 0.64) !important;
  color: #f1e6d0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.05) !important;
}

body :is(button:hover, .steam-link:hover, .btn:hover, .link-btn:hover, .action-btn:hover, .filter-btn:hover, .nav-link:hover, .tab:hover, a.cta:hover) {
  transform: translateY(-1px);
  border-color: rgba(232, 190, 99, 0.56) !important;
  background:
    linear-gradient(135deg, rgba(105, 21, 30, 0.82), rgba(34, 17, 15, 0.84)) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34) !important;
}

body :is(.primary, .btn.primary, .btn-p, .submit-btn, .tab.active, .active, .is-active, button.primary, a.cta, .primary-action) {
  border-color: rgba(232, 190, 99, 0.62) !important;
  background: linear-gradient(135deg, #781923 0%, #3c1114 58%, #a47c38 100%) !important;
  color: #f7ead0 !important;
  box-shadow: 0 12px 30px rgba(111, 22, 31, 0.28), inset 0 1px 0 rgba(255, 241, 203, 0.15) !important;
}

body :is(input, select, textarea, .form-input, .search-input) {
  border-color: rgba(202, 166, 91, 0.28) !important;
  border-radius: 8px !important;
  background: rgba(7, 6, 5, 0.72) !important;
  color: #f1e6d0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.04) !important;
}

body :is(input::placeholder, textarea::placeholder) {
  color: rgba(232, 213, 180, 0.48) !important;
}

body :is(input:focus, select:focus, textarea:focus, .form-input:focus) {
  border-color: rgba(232, 190, 99, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(202, 166, 91, 0.16), inset 0 1px 0 rgba(255, 244, 214, 0.06) !important;
  outline: none !important;
}

body :is(table, .table, .data-table) {
  border-color: rgba(202, 166, 91, 0.24) !important;
  background: rgba(10, 8, 7, 0.46) !important;
}

body :is(th, td) {
  border-color: rgba(202, 166, 91, 0.13) !important;
}

body th {
  color: rgba(232, 213, 180, 0.86) !important;
  background: rgba(70, 28, 28, 0.36) !important;
}

body tr:hover td {
  background: rgba(123, 24, 35, 0.18) !important;
}

body :is(img[src*="site-avatar"], .brand-logo img, .brand-mark img, .avatar, .home-side-avatar, .home-rail-avatar img, .admin-hero-avatar img, .selected-art img) {
  border-radius: 8px !important;
  border: 1px solid rgba(226, 197, 126, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(8, 5, 5, 0.8), 0 14px 34px rgba(0, 0, 0, 0.42) !important;
}

body :is(.lm-starry-field, .lm-anime-layer) {
  filter: sepia(0.34) saturate(0.72) hue-rotate(326deg);
}

body .lm-cursor-aura {
  background: radial-gradient(circle, rgba(202, 166, 91, 0.18), rgba(119, 24, 35, 0.07) 38%, transparent 68%) !important;
}

body .lm-cursor-trail {
  background: linear-gradient(135deg, #caa65b, #8d1d2b) !important;
  box-shadow: 0 0 18px rgba(202, 166, 91, 0.46) !important;
}

@media (max-width: 760px) {
  body::after,
  body.admin-home-skin::after,
  body.inventory-db-page::after {
    opacity: 0.12 !important;
    background-position: center top !important;
    background-size: min(90vw, 520px) auto !important;
  }

  body :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .auth-panel, .auth-visual, .toolbar, .filters, .selected-panel, .result-card, .table-wrap) {
    border-radius: 8px !important;
  }
}

/* Gwen-inspired dark anime room: lighter glass, stronger avatar art, softer goth palette. */
:root {
  --lm-page-top: #08060b;
  --lm-page-mid: #161019;
  --lm-page-bottom: #070509;
  --lm-panel: rgba(24, 17, 25, 0.72);
  --lm-panel-2: rgba(42, 27, 38, 0.66);
  --lm-panel-soft: rgba(255, 235, 246, 0.055);
  --lm-line: rgba(246, 200, 221, 0.18);
  --lm-line-strong: rgba(245, 190, 216, 0.38);
  --lm-text: #fff1f6;
  --lm-muted: rgba(241, 214, 226, 0.76);
  --lm-soft: rgba(223, 188, 206, 0.68);
  --lm-accent: #9b263d;
  --lm-accent-2: #d3a867;
  --lm-gold: #d7b06d;
  --lm-good: #91c7aa;
  --lm-warn: #d7b06d;
  --lm-danger: #d26373;
  --lm-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

body,
body.admin-home-skin,
body.inventory-db-page,
body.login-premium,
body.home-premium,
body.lm-polished {
  background:
    radial-gradient(circle at 18% 8%, rgba(158, 47, 76, 0.24), transparent 28rem),
    radial-gradient(circle at 84% 12%, rgba(211, 168, 103, 0.10), transparent 24rem),
    radial-gradient(circle at 60% 96%, rgba(80, 42, 80, 0.26), transparent 26rem),
    linear-gradient(180deg, var(--lm-page-top), var(--lm-page-mid) 48%, var(--lm-page-bottom)) !important;
}

body::before,
body.admin-home-skin::before,
body.inventory-db-page::before {
  opacity: 0.2 !important;
  background-image:
    radial-gradient(circle, rgba(255, 234, 246, 0.24) 0 1px, transparent 1.8px),
    linear-gradient(rgba(255, 218, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 218, 235, 0.03) 1px, transparent 1px) !important;
  background-size: 18px 18px, 72px 72px, 72px 72px !important;
}

body::after,
body.admin-home-skin::after,
body.inventory-db-page::after {
  opacity: 0.18 !important;
  background:
    linear-gradient(90deg, rgba(8, 6, 11, 0.58), rgba(8, 6, 11, 0.84)),
    url("/static/site-avatar.webp?v=20260603-gwen-dark-anime") right 5vw top 8vh / min(42vw, 620px) auto no-repeat !important;
  filter: grayscale(0.12) sepia(0.12) saturate(0.9);
}

body :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .control-shell, .status-block, .alert-row, .compare-summary, .item-card, .workspace-card, .workspace-side-note, .token-home-card, .fun-card, .billing-card, .admin-card, .admin-shell, .admin-panel, .admin-section, .auth-panel, .auth-visual, .toolbar, .filters, .selected-panel, .result-card, .table-wrap, .list-card, .monitor-card, .platform-row, .data-row, .empty, .empty-state) {
  border: 1px solid var(--lm-line) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(255, 239, 247, 0.105), rgba(255, 239, 247, 0.038)),
    radial-gradient(circle at 8% 0%, rgba(157, 45, 76, 0.16), transparent 17rem),
    rgba(20, 14, 22, 0.66) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    0 20px 62px rgba(0, 0, 0, 0.36) !important;
  backdrop-filter: blur(18px) saturate(1.05);
}

body :is(.topbar, .site-bar, .home-control-rail, .admin-topbar, .toolbar) {
  background:
    linear-gradient(180deg, rgba(255, 240, 248, 0.12), rgba(255, 240, 248, 0.042)),
    rgba(18, 13, 20, 0.62) !important;
}

body :is(h1, h2, h3, h4, .title, .page-title, .section-title, .panel-title, .hero-title, .brand h1, .brand-title, .visual-title, .admin-title, .selected-title) {
  color: #fff3f7 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.52), 0 0 30px rgba(172, 60, 92, 0.26) !important;
}

body :is(p, small, .muted, .subhint, .hint, .section-desc, .brand p, .hero-copy, .meta, .desc, .description, .caption, .empty-text, .minor) {
  color: var(--lm-muted) !important;
}

body :is(.kicker, .tag, .badge, .pill, .chip, .mini-pill, .status, .label, .eyebrow, .section-note span, .brand-kicker, .visual-kicker) {
  color: #ffe5ef !important;
  border-color: rgba(255, 210, 230, 0.26) !important;
  background:
    linear-gradient(135deg, rgba(136, 34, 58, 0.78), rgba(76, 40, 64, 0.58)) !important;
}

body :is(button, .steam-link, .btn, .link-btn, .action-btn, .filter-btn, .nav-link, .tab, .chip, input[type="button"], input[type="submit"], .submit-btn, .secondary-btn, a.cta) {
  border-color: rgba(246, 200, 221, 0.22) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(255, 239, 247, 0.09), rgba(255, 239, 247, 0.025)),
    rgba(20, 14, 22, 0.56) !important;
  color: #fff1f6 !important;
}

body :is(button:hover, .steam-link:hover, .btn:hover, .link-btn:hover, .action-btn:hover, .filter-btn:hover, .nav-link:hover, .tab:hover, a.cta:hover) {
  border-color: rgba(255, 214, 233, 0.44) !important;
  background:
    linear-gradient(135deg, rgba(148, 42, 70, 0.7), rgba(56, 34, 58, 0.74)) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28), 0 0 22px rgba(158, 47, 76, 0.16) !important;
}

body :is(.primary, .btn.primary, .btn-p, .submit-btn, .tab.active, .active, .is-active, button.primary, a.cta, .primary-action) {
  border-color: rgba(255, 214, 233, 0.44) !important;
  background: linear-gradient(135deg, #9d2d4c 0%, #6f2638 50%, #d3a867 100%) !important;
  color: #fff7f2 !important;
  box-shadow: 0 16px 42px rgba(120, 34, 58, 0.26), inset 0 1px 0 rgba(255, 246, 232, 0.16) !important;
}

body :is(input, select, textarea, .form-input, .search-input) {
  border-color: rgba(246, 200, 221, 0.2) !important;
  background: rgba(13, 10, 15, 0.56) !important;
  color: #fff1f6 !important;
}

body :is(input:focus, select:focus, textarea:focus, .form-input:focus) {
  border-color: rgba(255, 214, 233, 0.54) !important;
  box-shadow: 0 0 0 3px rgba(158, 47, 76, 0.16), 0 0 24px rgba(158, 47, 76, 0.12) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero {
  min-height: clamp(680px, 82vh, 900px);
  background:
    linear-gradient(90deg, rgba(8, 6, 11, 0.74) 0%, rgba(18, 12, 18, 0.38) 48%, rgba(8, 6, 11, 0.86) 100%),
    radial-gradient(circle at 25% 45%, rgba(158, 47, 76, 0.22), transparent 26rem),
    url("/static/site-avatar.webp?v=20260603-gwen-dark-anime") right 7% center / min(48vw, 720px) auto no-repeat,
    linear-gradient(135deg, #08060b, #1a101b 62%, #070509) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center {
  width: min(720px, 100%);
  margin-left: 0;
  background:
    linear-gradient(180deg, rgba(255, 239, 247, 0.105), rgba(255, 239, 247, 0.032)),
    rgba(14, 10, 15, 0.46) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center h1 {
  font-size: clamp(54px, 8vw, 124px);
}

body.home-premium.lm-polished.lm-page-home .home-side-profile .home-side-banner {
  background:
    linear-gradient(90deg, rgba(8, 6, 11, 0.10), rgba(8, 6, 11, 0.62)),
    url("/static/site-avatar.webp?v=20260603-gwen-dark-anime") center 34% / cover no-repeat !important;
}

body.home-premium.lm-polished.lm-page-home .site-quickbar {
  align-items: stretch;
}

body.home-premium.lm-polished.lm-page-home .site-quicklink {
  min-height: 152px;
}

body.login-premium::after {
  opacity: 0.34 !important;
  background:
    linear-gradient(90deg, rgba(8, 6, 11, 0.35), rgba(8, 6, 11, 0.78)),
    url("/static/site-avatar.webp?v=20260603-gwen-dark-anime") left 10% center / min(42vw, 600px) auto no-repeat !important;
}

body.login-premium :is(.auth-visual, .auth-panel) {
  background:
    linear-gradient(180deg, rgba(255, 239, 247, 0.11), rgba(255, 239, 247, 0.04)),
    rgba(20, 14, 22, 0.7) !important;
}

body.login-premium :is(.form-section.active, .form-group, .form-label),
body :is(label, .form-label) {
  min-height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.login-premium .form-section.active {
  display: block !important;
}

body :is(.tab.active, .home-rail-link.is-active, .filter-btn.active, .nav-link.active, button.active, .btn.active, .chip.active, .is-active, .primary, .btn.primary, .btn-p, .submit-btn, button.primary, a.cta, .primary-action) {
  border-color: rgba(255, 214, 233, 0.44) !important;
  background: linear-gradient(135deg, #9d2d4c 0%, #6f2638 50%, #d3a867 100%) !important;
  color: #fff7f2 !important;
  box-shadow: 0 16px 42px rgba(120, 34, 58, 0.26), inset 0 1px 0 rgba(255, 246, 232, 0.16) !important;
}

body :is(img[src*="site-avatar"], .brand-logo img, .brand-mark img, .avatar, .home-side-avatar, .home-rail-avatar img, .admin-hero-avatar img, .selected-art img) {
  border: 1px solid rgba(255, 224, 238, 0.56) !important;
  box-shadow: 0 0 0 3px rgba(14, 10, 15, 0.72), 0 16px 44px rgba(0, 0, 0, 0.36), 0 0 32px rgba(158, 47, 76, 0.18) !important;
}

@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero {
    background:
      linear-gradient(180deg, rgba(8, 6, 11, 0.26), rgba(8, 6, 11, 0.9)),
      url("/static/site-avatar.webp?v=20260603-gwen-dark-anime") center top / min(94vw, 540px) auto no-repeat,
      linear-gradient(135deg, #08060b, #1a101b 62%, #070509) !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-center {
    margin-top: 170px;
  }
}

/* Dark anime border system: lighter than metal, sharper than plain glass. */
:root {
  --lm-anime-edge: rgba(255, 205, 228, 0.34);
  --lm-anime-edge-2: rgba(180, 74, 108, 0.46);
  --lm-anime-gold-edge: rgba(220, 178, 102, 0.42);
  --lm-anime-ink: rgba(10, 7, 12, 0.72);
}

body :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .control-shell, .status-block, .alert-row, .compare-summary, .item-card, .workspace-card, .workspace-side-note, .token-home-card, .fun-card, .billing-card, .admin-card, .admin-shell, .admin-panel, .admin-section, .auth-panel, .auth-visual, .toolbar, .filters, .selected-panel, .result-card, .table-wrap, .list-card, .monitor-card, .platform-row, .data-row, .empty, .empty-state, .site-quicklink, .market-reference-card, .steam-board-card) {
  position: relative;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background:
    linear-gradient(var(--lm-anime-ink), var(--lm-anime-ink)) padding-box,
    linear-gradient(135deg, var(--lm-anime-edge), rgba(255, 205, 228, 0.08) 36%, var(--lm-anime-edge-2) 64%, var(--lm-anime-gold-edge)) border-box !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 246, 0.055),
    inset 0 18px 44px rgba(255, 236, 246, 0.035),
    0 18px 58px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(150, 44, 78, 0.08) !important;
}

body :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .control-shell, .status-block, .auth-panel, .auth-visual, .toolbar, .selected-panel, .result-card, .table-wrap, .site-quicklink)::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 0;
  pointer-events: none;
  border-radius: 6px;
  background:
    linear-gradient(90deg, var(--lm-anime-edge) 0 34px, transparent 34px calc(100% - 34px), var(--lm-anime-gold-edge) calc(100% - 34px)) top left / 100% 1px no-repeat,
    linear-gradient(90deg, var(--lm-anime-gold-edge) 0 34px, transparent 34px calc(100% - 34px), var(--lm-anime-edge-2) calc(100% - 34px)) bottom left / 100% 1px no-repeat,
    linear-gradient(180deg, var(--lm-anime-edge) 0 28px, transparent 28px calc(100% - 28px), var(--lm-anime-gold-edge) calc(100% - 28px)) top left / 1px 100% no-repeat,
    linear-gradient(180deg, var(--lm-anime-gold-edge) 0 28px, transparent 28px calc(100% - 28px), var(--lm-anime-edge-2) calc(100% - 28px)) top right / 1px 100% no-repeat;
  opacity: 0.72;
}

body :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .control-shell, .status-block, .auth-panel, .auth-visual, .toolbar, .selected-panel, .result-card, .table-wrap, .site-quicklink) > * {
  position: relative;
  z-index: 1;
}

body :is(button, .steam-link, .btn, .link-btn, .action-btn, .filter-btn, .nav-link, .tab, .chip, input[type="button"], input[type="submit"], .submit-btn, .secondary-btn, a.cta, .home-rail-link, .home-side-links a) {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background:
    linear-gradient(rgba(22, 15, 23, 0.86), rgba(22, 15, 23, 0.86)) padding-box,
    linear-gradient(135deg, rgba(255, 205, 228, 0.32), rgba(151, 48, 83, 0.30), rgba(220, 178, 102, 0.34)) border-box !important;
}

body :is(button, .steam-link, .btn, .link-btn, .action-btn, .filter-btn, .nav-link, .tab, .chip, input[type="button"], input[type="submit"], .submit-btn, .secondary-btn, a.cta, .home-rail-link, .home-side-links a)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 12%, rgba(255, 232, 244, 0.12) 13% 14%, transparent 15% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 48%);
  opacity: 0.55;
}

body :is(.tab.active, .home-rail-link.is-active, .filter-btn.active, .nav-link.active, button.active, .btn.active, .chip.active, .is-active, .primary, .btn.primary, .btn-p, .submit-btn, button.primary, a.cta, .primary-action) {
  background:
    linear-gradient(135deg, rgba(151, 37, 67, 0.94), rgba(80, 29, 54, 0.94) 52%, rgba(211, 168, 103, 0.9)) padding-box,
    linear-gradient(135deg, rgba(255, 226, 240, 0.62), rgba(211, 168, 103, 0.58)) border-box !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 232, 0.18),
    0 14px 34px rgba(151, 37, 67, 0.26),
    0 0 26px rgba(211, 168, 103, 0.10) !important;
}

html,
html[data-theme="dark"],
html[data-theme="light"],
html:not([data-theme="dark"]) {
  color-scheme: dark !important;
}

html[data-theme="light"] :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .control-shell, .status-block, .auth-panel, .auth-visual, .toolbar, .filters, .selected-panel, .result-card, .table-wrap, .list-card, .monitor-card, .platform-row, .data-row, .empty, .empty-state, .site-quicklink, .market-reference-card, .steam-board-card) {
  background:
    linear-gradient(var(--lm-anime-ink), var(--lm-anime-ink)) padding-box,
    linear-gradient(135deg, var(--lm-anime-edge), rgba(255, 205, 228, 0.08) 36%, var(--lm-anime-edge-2) 64%, var(--lm-anime-gold-edge)) border-box !important;
  border-color: var(--lm-line) !important;
  color: #fff1f6 !important;
}

html[data-theme="light"] :is(button, .steam-link, .btn, .link-btn, .action-btn, .filter-btn, .nav-link, .tab, .chip, input[type="button"], input[type="submit"], .submit-btn, .secondary-btn, a.cta, .home-rail-link, .home-side-links a) {
  background:
    linear-gradient(rgba(22, 15, 23, 0.86), rgba(22, 15, 23, 0.86)) padding-box,
    linear-gradient(135deg, rgba(255, 205, 228, 0.32), rgba(151, 48, 83, 0.30), rgba(220, 178, 102, 0.34)) border-box !important;
  color: #fff1f6 !important;
}

html[data-theme="light"] :is(.primary, .btn.primary, .btn-p, .submit-btn, .tab.active, .active, .is-active, button.primary, a.cta, .primary-action) {
  background:
    linear-gradient(135deg, rgba(151, 37, 67, 0.94), rgba(80, 29, 54, 0.94) 52%, rgba(211, 168, 103, 0.9)) padding-box,
    linear-gradient(135deg, rgba(255, 226, 240, 0.62), rgba(211, 168, 103, 0.58)) border-box !important;
  color: #fff7f2 !important;
}

html[data-theme="light"] :is(input, select, textarea, .form-input, .search-input) {
  background:
    linear-gradient(rgba(13, 10, 15, 0.82), rgba(13, 10, 15, 0.82)) padding-box,
    linear-gradient(135deg, rgba(255, 205, 228, 0.24), rgba(151, 48, 83, 0.18), rgba(220, 178, 102, 0.22)) border-box !important;
  color: #fff1f6 !important;
}

html[data-theme="light"] body,
html:not([data-theme="dark"]) body {
  background:
    radial-gradient(circle at 16% 8%, rgba(123, 24, 35, 0.28), transparent 28rem),
    radial-gradient(circle at 90% 6%, rgba(202, 166, 91, 0.13), transparent 24rem),
    linear-gradient(180deg, var(--lm-page-top) 0%, var(--lm-page-mid) 48%, var(--lm-page-bottom) 100%) !important;
}

body :is(input, select, textarea, .form-input, .search-input) {
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background:
    linear-gradient(rgba(13, 10, 15, 0.82), rgba(13, 10, 15, 0.82)) padding-box,
    linear-gradient(135deg, rgba(255, 205, 228, 0.24), rgba(151, 48, 83, 0.18), rgba(220, 178, 102, 0.22)) border-box !important;
}

body :is(.brand-logo, .brand-mark, .home-rail-avatar, .home-side-avatar, #heroProfileAvatar, .admin-hero-avatar, .selected-art) {
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background:
    linear-gradient(rgba(13, 10, 15, 0.75), rgba(13, 10, 15, 0.75)) padding-box,
    linear-gradient(135deg, rgba(255, 226, 240, 0.74), rgba(151, 48, 83, 0.42), rgba(220, 178, 102, 0.52)) border-box !important;
  box-shadow:
    0 0 0 3px rgba(10, 7, 12, 0.72),
    0 16px 42px rgba(0, 0, 0, 0.36),
    0 0 26px rgba(151, 48, 83, 0.20) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center::before,
body.home-premium.lm-polished.lm-page-home .site-bar::after,
body.home-premium.lm-polished.lm-page-home .home-control-rail::after,
body.home-premium.lm-polished.lm-page-home .home-side-profile::after {
  border: 1px solid rgba(255, 226, 240, 0.34) !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, rgba(151, 37, 67, 0.9), rgba(211, 168, 103, 0.76)) !important;
  color: #fff7f2 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26) !important;
}

/* Final dark lock: no page or interaction should fall back to the old light skin. */
html,
html[data-theme],
html:not([data-theme="dark"]) {
  color-scheme: dark !important;
  background: #050404 !important;
}

html body,
html[data-theme] body,
html:not([data-theme="dark"]) body,
body.home-premium.lm-polished.lm-page-home,
body.login-premium,
body.inventory-db-page,
body.admin-home-skin,
body.lm-polished {
  color: #fff1f6 !important;
  background:
    radial-gradient(circle at 18% 8%, rgba(143, 31, 45, 0.23), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(202, 166, 91, 0.12), transparent 23rem),
    radial-gradient(circle at 60% 96%, rgba(80, 42, 80, 0.18), transparent 25rem),
    linear-gradient(180deg, #050404 0%, #15100f 48%, #050403 100%) !important;
}

html body::before,
body.home-premium.lm-polished.lm-page-home::before,
body.login-premium::before,
body.inventory-db-page::before,
body.admin-home-skin::before {
  opacity: 0.24 !important;
  mix-blend-mode: normal !important;
  background-image:
    linear-gradient(rgba(214, 188, 128, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 188, 128, 0.04) 1px, transparent 1px),
    radial-gradient(circle, rgba(242, 216, 165, 0.12) 0 1px, transparent 1.7px) !important;
  background-size: 76px 76px, 76px 76px, 18px 18px !important;
}

html body::after,
body.home-premium.lm-polished.lm-page-home::after,
body.login-premium::after,
body.inventory-db-page::after,
body.admin-home-skin::after {
  border-color: rgba(202, 166, 91, 0.22) !important;
  box-shadow: inset 0 0 0 1px rgba(242, 216, 165, 0.045) !important;
}

html body :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .control-shell, .status-block, .alert-row, .compare-summary, .item-card, .workspace-card, .workspace-side-note, .token-home-card, .fun-card, .billing-card, .admin-card, .admin-shell, .admin-panel, .admin-section, .auth-shell, .auth-panel, .auth-visual, .toolbar, .filters, .selected-panel, .result-card, .table-wrap, .list-card, .monitor-card, .platform-row, .data-row, .empty, .empty-state, .site-quicklink, .market-reference-card, .steam-board-card, .home-top-brief, .home-board-sidebrief, .workspace-ribbon-card, .panel-worknote, .panel-mini-card, .category-panel, .search-panel, .signal-side-panel, .alert-side-panel, .bulk-purchase-panel, .batch-purchase-card, .market-reference-deck, .market-mover-board, .lm-command-panel, .lm-visual-search-panel, .lm-mobile-dock, .lm-visual-dock button, .lm-mascot-bubble) {
  color: #fff1f6 !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background:
    linear-gradient(rgba(13, 9, 12, 0.84), rgba(13, 9, 12, 0.84)) padding-box,
    linear-gradient(135deg, rgba(255, 205, 228, 0.30), rgba(151, 48, 83, 0.30), rgba(220, 178, 102, 0.34)) border-box !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 246, 0.045),
    0 18px 58px rgba(0, 0, 0, 0.42) !important;
}

html body :is(h1, h2, h3, h4, h5, h6, .title, .page-title, .section-title, .panel-title, .hero-title, .brand h1, .brand-title, .visual-title, .admin-title, .selected-title, strong) {
  color: #fff4f8 !important;
}

html body :is(p, small, label, .muted, .subhint, .hint, .section-desc, .brand p, .hero-copy, .meta, .desc, .description, .caption, .empty-text, .minor, .theme-toggle-hint) {
  color: rgba(241, 214, 226, 0.78) !important;
}

html body :is(.kicker, .tag, .badge, .pill, .chip, .mini-pill, .status, .label, .eyebrow, .section-note span, .brand-kicker, .visual-kicker, .micro-pill, .status-pill, .alert-pill) {
  color: #ffe5ef !important;
  border-color: rgba(255, 210, 230, 0.26) !important;
  background:
    linear-gradient(135deg, rgba(136, 34, 58, 0.78), rgba(76, 40, 64, 0.58)) !important;
}

html body :is(button, .steam-link, .btn, .link-btn, .action-btn, .filter-btn, .nav-link, .tab, .sub-chip, .filter-chip, input[type="button"], input[type="submit"], .submit-btn, .secondary-btn, a.cta, .home-rail-link, .home-side-links a, .theme-toggle) {
  color: #fff1f6 !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background:
    linear-gradient(rgba(22, 15, 23, 0.88), rgba(22, 15, 23, 0.88)) padding-box,
    linear-gradient(135deg, rgba(255, 205, 228, 0.32), rgba(151, 48, 83, 0.30), rgba(220, 178, 102, 0.34)) border-box !important;
  box-shadow: none !important;
}

html body :is(.tab.active, .home-rail-link.is-active, .filter-btn.active, .nav-link.active, button.active, .btn.active, .chip.active, .is-active, .primary, .btn.primary, .btn-p, .submit-btn, button.primary, a.cta, .primary-action) {
  color: #fff7f2 !important;
  background:
    linear-gradient(135deg, rgba(151, 37, 67, 0.94), rgba(80, 29, 54, 0.94) 52%, rgba(211, 168, 103, 0.9)) padding-box,
    linear-gradient(135deg, rgba(255, 226, 240, 0.62), rgba(211, 168, 103, 0.58)) border-box !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 232, 0.18),
    0 14px 34px rgba(151, 37, 67, 0.26) !important;
}

html body :is(input, select, textarea, .form-input, .search-input, .password-wrap, .field-wrap) {
  color: #fff1f6 !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background:
    linear-gradient(rgba(13, 10, 15, 0.86), rgba(13, 10, 15, 0.86)) padding-box,
    linear-gradient(135deg, rgba(255, 205, 228, 0.24), rgba(151, 48, 83, 0.18), rgba(220, 178, 102, 0.22)) border-box !important;
}

html body :is(input::placeholder, textarea::placeholder) {
  color: rgba(241, 214, 226, 0.58) !important;
}

html body :is(select option, select optgroup) {
  color: #fff1f6 !important;
  background: #160f17 !important;
}

html body :is(table, .table) {
  color: #fff1f6 !important;
  background: rgba(13, 9, 12, 0.62) !important;
}

html body :is(th, td) {
  color: inherit !important;
  border-color: rgba(255, 205, 228, 0.12) !important;
  background-color: transparent !important;
}

html body :is(thead, th) {
  background: rgba(255, 205, 228, 0.045) !important;
}

html body :is(tr:hover td, .data-row:hover, .platform-row:hover) {
  background: rgba(151, 37, 67, 0.14) !important;
}

html body :is(.theme-toggle-label) {
  color: #fff4f8 !important;
}

/* Dark anime v2: sharper visual identity over the dark-lock base. */
:root {
  --lm-anime-v2-black: #050405;
  --lm-anime-v2-ink: rgba(15, 8, 12, 0.88);
  --lm-anime-v2-panel: rgba(24, 10, 17, 0.86);
  --lm-anime-v2-panel-2: rgba(42, 14, 25, 0.72);
  --lm-anime-v2-red: #9f2442;
  --lm-anime-v2-red-soft: rgba(159, 36, 66, 0.32);
  --lm-anime-v2-gold: #d4a75c;
  --lm-anime-v2-cyan: #89d6dc;
  --lm-anime-v2-line: rgba(255, 212, 232, 0.28);
  --lm-anime-v2-text: #fff3f7;
  --lm-anime-v2-muted: rgba(242, 218, 229, 0.74);
}

html body,
body.home-premium.lm-polished.lm-page-home,
body.login-premium,
body.inventory-db-page,
body.admin-home-skin,
body.lm-polished {
  color: var(--lm-anime-v2-text) !important;
  background:
    radial-gradient(circle at 12% 6%, rgba(159, 36, 66, 0.28), transparent 30rem),
    radial-gradient(circle at 92% 10%, rgba(212, 167, 92, 0.14), transparent 24rem),
    radial-gradient(circle at 70% 90%, rgba(137, 214, 220, 0.075), transparent 28rem),
    linear-gradient(180deg, #050405 0%, #10080d 44%, #030303 100%) !important;
}

.lm-anime-layer {
  background:
    linear-gradient(115deg, transparent 0 68%, rgba(212, 167, 92, 0.045) 68% 69%, transparent 69%),
    radial-gradient(circle at 18% 12%, rgba(159, 36, 66, 0.18), transparent 18rem),
    radial-gradient(circle at 86% 18%, rgba(137, 214, 220, 0.07), transparent 16rem);
}

.lm-anime-layer::before {
  opacity: 0.3 !important;
  background-image:
    radial-gradient(circle, rgba(255, 229, 241, 0.22) 0 1px, transparent 1.6px),
    linear-gradient(135deg, rgba(212, 167, 92, 0.08) 0 1px, transparent 1px),
    linear-gradient(45deg, rgba(159, 36, 66, 0.07) 0 1px, transparent 1px) !important;
  background-size: 20px 20px, 74px 74px, 92px 92px !important;
}

.lm-anime-layer::after {
  opacity: 0.16 !important;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 212, 232, 0.10) 46px 47px, transparent 47px 94px),
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(137, 214, 220, 0.055) 32px 33px, transparent 33px 66px) !important;
  background-size: auto !important;
}

.lm-anime-spark {
  opacity: 0.62 !important;
  filter:
    drop-shadow(0 0 14px rgba(255, 130, 184, 0.30))
    drop-shadow(0 0 28px rgba(212, 167, 92, 0.14)) !important;
}

.lm-anime-spark::before,
.lm-anime-spark::after {
  background: linear-gradient(90deg, transparent, rgba(255, 238, 247, 0.86), rgba(212, 167, 92, 0.52), transparent) !important;
}

.lm-anime-frame {
  border-radius: 8px !important;
  border-color: rgba(255, 212, 232, 0.18) !important;
  background:
    linear-gradient(135deg, rgba(159, 36, 66, 0.10), transparent 38%),
    repeating-linear-gradient(135deg, rgba(255, 212, 232, 0.06) 0 1px, transparent 1px 12px) !important;
}

html body :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .control-shell, .status-block, .alert-row, .compare-summary, .item-card, .workspace-card, .workspace-side-note, .token-home-card, .fun-card, .billing-card, .admin-card, .admin-shell, .admin-panel, .admin-section, .auth-shell, .auth-panel, .auth-visual, .toolbar, .filters, .selected-panel, .result-card, .table-wrap, .list-card, .monitor-card, .platform-row, .data-row, .empty, .empty-state, .site-quicklink, .market-reference-card, .steam-board-card, .home-top-brief, .home-board-sidebrief, .workspace-ribbon-card, .panel-worknote, .panel-mini-card, .category-panel, .search-panel, .signal-side-panel, .alert-side-panel, .bulk-purchase-panel, .batch-purchase-card, .market-reference-deck, .market-mover-board, .lm-command-panel, .lm-visual-search-panel, .lm-mobile-dock, .lm-visual-dock button, .lm-mascot-bubble) {
  border-radius: 8px !important;
  border-width: 1px !important;
  background:
    linear-gradient(var(--lm-anime-v2-ink), var(--lm-anime-v2-ink)) padding-box,
    linear-gradient(135deg, rgba(255, 212, 232, 0.36), rgba(159, 36, 66, 0.35) 42%, rgba(212, 167, 92, 0.40) 78%, rgba(137, 214, 220, 0.24)) border-box !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 242, 248, 0.045),
    inset 0 20px 54px rgba(255, 212, 232, 0.025),
    0 18px 60px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(159, 36, 66, 0.08) !important;
}

html body :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .control-shell, .status-block, .auth-shell, .auth-panel, .auth-visual, .toolbar, .selected-panel, .result-card, .table-wrap, .site-quicklink, .steam-board-card)::before {
  content: "" !important;
  position: absolute !important;
  inset: 8px !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: 6px !important;
  opacity: 0.86 !important;
  background:
    linear-gradient(90deg, var(--lm-anime-v2-line) 0 28px, transparent 28px calc(100% - 28px), rgba(212, 167, 92, 0.46) calc(100% - 28px)) top left / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(212, 167, 92, 0.42) 0 28px, transparent 28px calc(100% - 28px), rgba(159, 36, 66, 0.52) calc(100% - 28px)) bottom left / 100% 1px no-repeat,
    linear-gradient(180deg, var(--lm-anime-v2-line) 0 24px, transparent 24px calc(100% - 24px), rgba(212, 167, 92, 0.42) calc(100% - 24px)) top left / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(212, 167, 92, 0.42) 0 24px, transparent 24px calc(100% - 24px), rgba(159, 36, 66, 0.52) calc(100% - 24px)) top right / 1px 100% no-repeat !important;
}

html body :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .control-shell, .status-block, .auth-shell, .auth-panel, .auth-visual, .toolbar, .selected-panel, .result-card, .table-wrap, .site-quicklink, .steam-board-card) > * {
  position: relative !important;
  z-index: 1 !important;
}

html body :is(.topbar, .site-bar, .home-control-rail, .toolbar, .admin-topbar) {
  background:
    linear-gradient(rgba(18, 9, 14, 0.88), rgba(18, 9, 14, 0.88)) padding-box,
    linear-gradient(135deg, rgba(255, 212, 232, 0.34), rgba(159, 36, 66, 0.42), rgba(212, 167, 92, 0.38)) border-box !important;
}

html body :is(h1, .brand h1, .brand-title, .visual-title, .lead-title, .hero-title, .page-title, .admin-title) {
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.82),
    0 0 22px rgba(159, 36, 66, 0.26),
    0 0 38px rgba(212, 167, 92, 0.08) !important;
}

html body :is(h2, .section-title, .panel-title, .panel-head h2, .head h2)::after {
  content: "" !important;
  display: inline-block !important;
  width: 32px !important;
  height: 8px !important;
  margin-left: 10px !important;
  border: 1px solid rgba(255, 212, 232, 0.32) !important;
  border-radius: 2px !important;
  background:
    linear-gradient(90deg, var(--lm-anime-v2-red), var(--lm-anime-v2-gold), var(--lm-anime-v2-cyan)) !important;
  box-shadow: 0 0 18px rgba(159, 36, 66, 0.22) !important;
  vertical-align: middle !important;
}

html body :is(.kicker, .tag, .badge, .pill, .chip, .mini-pill, .status, .label, .eyebrow, .section-note span, .brand-kicker, .visual-kicker, .micro-pill, .status-pill, .alert-pill) {
  border-radius: 6px !important;
  background:
    linear-gradient(135deg, rgba(159, 36, 66, 0.80), rgba(57, 24, 39, 0.68) 62%, rgba(212, 167, 92, 0.24)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 242, 248, 0.08) !important;
}

html body :is(button, .steam-link, .btn, .link-btn, .action-btn, .filter-btn, .nav-link, .tab, .sub-chip, .filter-chip, input[type="button"], input[type="submit"], .submit-btn, .secondary-btn, a.cta, .home-rail-link, .home-side-links a, .theme-toggle) {
  border-radius: 8px !important;
  background:
    linear-gradient(rgba(24, 12, 18, 0.90), rgba(24, 12, 18, 0.90)) padding-box,
    linear-gradient(135deg, rgba(255, 212, 232, 0.28), rgba(159, 36, 66, 0.34) 48%, rgba(212, 167, 92, 0.34)) border-box !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 248, 0.07),
    0 10px 26px rgba(0, 0, 0, 0.16) !important;
}

html body :is(button, .steam-link, .btn, .link-btn, .action-btn, .filter-btn, .nav-link, .tab, .sub-chip, .filter-chip, .submit-btn, .secondary-btn, a.cta, .home-rail-link, .home-side-links a, .theme-toggle)::after {
  background:
    linear-gradient(118deg, transparent 0 18%, rgba(255, 232, 244, 0.13) 19% 20%, transparent 21% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent 48%) !important;
}

html body :is(button:hover, .steam-link:hover, .btn:hover, .link-btn:hover, .action-btn:hover, .filter-btn:hover, .nav-link:hover, .tab:hover, a.cta:hover, .home-rail-link:hover, .home-side-links a:hover) {
  transform: translateY(-1px) !important;
  border-color: rgba(255, 224, 238, 0.50) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 248, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.26),
    0 0 22px rgba(159, 36, 66, 0.18) !important;
}

html body :is(.tab.active, .home-rail-link.is-active, .filter-btn.active, .nav-link.active, button.active, .btn.active, .chip.active, .is-active, .primary, .btn.primary, .btn-p, .submit-btn, button.primary, a.cta, .primary-action) {
  background:
    linear-gradient(135deg, rgba(159, 36, 66, 0.98), rgba(82, 25, 46, 0.96) 52%, rgba(212, 167, 92, 0.92)) padding-box,
    linear-gradient(135deg, rgba(255, 226, 240, 0.68), rgba(212, 167, 92, 0.64), rgba(137, 214, 220, 0.28)) border-box !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 232, 0.20),
    0 14px 34px rgba(159, 36, 66, 0.30),
    0 0 30px rgba(212, 167, 92, 0.12) !important;
}

html body :is(input, select, textarea, .form-input, .search-input, .password-wrap, .field-wrap) {
  background:
    linear-gradient(rgba(10, 8, 11, 0.88), rgba(10, 8, 11, 0.88)) padding-box,
    linear-gradient(135deg, rgba(255, 212, 232, 0.25), rgba(159, 36, 66, 0.22), rgba(212, 167, 92, 0.24)) border-box !important;
}

html body :is(.brand-logo, .brand-mark, .home-rail-avatar, .home-side-avatar, #heroProfileAvatar, .admin-hero-avatar, .selected-art, img[src*="site-avatar"]) {
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  background:
    linear-gradient(rgba(10, 8, 11, 0.82), rgba(10, 8, 11, 0.82)) padding-box,
    linear-gradient(135deg, rgba(255, 226, 240, 0.76), rgba(159, 36, 66, 0.46), rgba(212, 167, 92, 0.54)) border-box !important;
  box-shadow:
    0 0 0 3px rgba(5, 4, 5, 0.74),
    0 16px 44px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(159, 36, 66, 0.22) !important;
}

body.lm-alt-wallpaper {
  background:
    radial-gradient(circle at 20% 8%, rgba(137, 214, 220, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 10%, rgba(159, 36, 66, 0.30), transparent 26rem),
    radial-gradient(circle at 50% 95%, rgba(212, 167, 92, 0.12), transparent 24rem),
    linear-gradient(180deg, #030303 0%, #120912 50%, #050405 100%) !important;
}

@media (max-width: 760px) {
  html body :is(h2, .section-title, .panel-title, .panel-head h2, .head h2)::after {
    width: 22px !important;
    margin-left: 7px !important;
  }

  html body :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .control-shell, .status-block, .auth-shell, .auth-panel, .auth-visual, .toolbar, .selected-panel, .result-card, .table-wrap, .site-quicklink) {
    border-radius: 8px !important;
  }
}

/* Unified gothic portrait skin: parchment grain, black lace, muted rose. */
:root {
  --lm-goth-paper: #b8aa99;
  --lm-goth-paper-dim: rgba(184, 170, 153, 0.14);
  --lm-goth-ink: #070607;
  --lm-goth-panel: rgba(18, 14, 15, 0.90);
  --lm-goth-panel-soft: rgba(34, 27, 28, 0.78);
  --lm-goth-rose: #74323a;
  --lm-goth-rose-strong: #9d3f4d;
  --lm-goth-ribbon: #4b1d26;
  --lm-goth-lace: rgba(238, 229, 213, 0.20);
  --lm-goth-gold: #b69b6f;
  --lm-goth-text: #f4eee6;
  --lm-goth-muted: rgba(231, 219, 204, 0.76);
}

html body,
body.lm-polished,
body.home-premium.lm-polished.lm-page-home,
body.login-premium,
body.inventory-db-page,
body.admin-home-skin {
  color: var(--lm-goth-text) !important;
  background:
    radial-gradient(circle at 80% 6%, rgba(116, 50, 58, 0.28), transparent 26rem),
    radial-gradient(circle at 18% 12%, rgba(184, 170, 153, 0.12), transparent 24rem),
    radial-gradient(circle at 62% 86%, rgba(75, 29, 38, 0.24), transparent 28rem),
    repeating-linear-gradient(18deg, rgba(238, 229, 213, 0.018) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #050404 0%, #120d0f 42%, #060506 100%) !important;
}

.lm-starry-field,
.lm-anime-layer {
  background:
    radial-gradient(circle at 72% 8%, rgba(116, 50, 58, 0.22), transparent 24rem),
    radial-gradient(circle at 20% 18%, rgba(184, 170, 153, 0.10), transparent 22rem),
    linear-gradient(180deg, rgba(5, 4, 4, 0.18), rgba(5, 4, 4, 0.78)) !important;
}

.lm-starry-field::before,
.lm-anime-layer::before {
  opacity: 0.34 !important;
  background-image:
    radial-gradient(circle, rgba(244, 238, 230, 0.18) 0 1px, transparent 1.6px),
    repeating-linear-gradient(135deg, rgba(184, 170, 153, 0.055) 0 1px, transparent 1px 12px) !important;
  background-size: 22px 22px, 72px 72px !important;
}

html body :is(.topbar, .site-bar, .rail, .home-control-rail, .home-side-card, .hero, .lead-panel, .panel, .panel-shell, .card, .surface, .module-card, .summary-card, .metric-card, .stat-card, .analysis-card, .control-shell, .status-block, .alert-row, .compare-summary, .item-card, .workspace-card, .workspace-side-note, .token-home-card, .fun-card, .billing-card, .admin-card, .admin-shell, .admin-panel, .admin-section, .auth-shell, .auth-panel, .auth-visual, .toolbar, .filters, .selected-panel, .result-card, .table-wrap, .list-card, .monitor-card, .platform-row, .data-row, .empty, .empty-state, .site-quicklink, .market-reference-card, .steam-board-card, .home-top-brief, .home-board-sidebrief, .workspace-ribbon-card, .panel-worknote, .panel-mini-card, .category-panel, .search-panel, .signal-side-panel, .alert-side-panel, .bulk-purchase-panel, .batch-purchase-card, .market-reference-deck, .market-mover-board, .lm-command-panel, .lm-visual-search-panel, .lm-mobile-dock, .lm-visual-dock button, .lm-mascot-bubble) {
  color: var(--lm-goth-text) !important;
  background:
    linear-gradient(var(--lm-goth-panel), var(--lm-goth-panel)) padding-box,
    linear-gradient(135deg, rgba(238, 229, 213, 0.38), rgba(116, 50, 58, 0.46) 46%, rgba(182, 155, 111, 0.36)) border-box !important;
  box-shadow:
    inset 0 1px 0 rgba(244, 238, 230, 0.07),
    inset 0 -24px 50px rgba(116, 50, 58, 0.055),
    0 18px 58px rgba(0, 0, 0, 0.52) !important;
}

html body :is(.topbar, .site-bar, .home-control-rail, .toolbar, .admin-topbar) {
  background:
    linear-gradient(rgba(12, 9, 10, 0.92), rgba(12, 9, 10, 0.92)) padding-box,
    linear-gradient(135deg, rgba(238, 229, 213, 0.32), rgba(116, 50, 58, 0.52), rgba(182, 155, 111, 0.32)) border-box !important;
}

html body :is(h1, .brand h1, .brand-title, .visual-title, .lead-title, .hero-title, .page-title, .admin-title),
html body :is(h2, .section-title, .panel-title, .panel-head h2, .head h2) {
  color: #fff7ef !important;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.86),
    0 0 22px rgba(116, 50, 58, 0.28) !important;
}

html body :is(p, small, .muted, .meta, .panel-note, .desc, .section-desc) {
  color: var(--lm-goth-muted) !important;
}

html body :is(button, .steam-link, .btn, .link-btn, .action-btn, .filter-btn, .nav-link, .tab, .sub-chip, .filter-chip, input[type="button"], input[type="submit"], .submit-btn, .secondary-btn, a.cta, .home-rail-link, .home-side-links a, .theme-toggle) {
  color: #fff4eb !important;
  background:
    linear-gradient(rgba(22, 15, 17, 0.92), rgba(22, 15, 17, 0.92)) padding-box,
    linear-gradient(135deg, rgba(238, 229, 213, 0.26), rgba(116, 50, 58, 0.44), rgba(182, 155, 111, 0.28)) border-box !important;
}

html body :is(.tab.active, .home-rail-link.is-active, .filter-btn.active, .nav-link.active, button.active, .btn.active, .chip.active, .is-active, .primary, .btn.primary, .btn-p, .submit-btn, button.primary, a.cta, .primary-action) {
  background:
    linear-gradient(135deg, rgba(116, 50, 58, 0.98), rgba(75, 29, 38, 0.98) 55%, rgba(182, 155, 111, 0.86)) padding-box,
    linear-gradient(135deg, rgba(255, 247, 239, 0.56), rgba(116, 50, 58, 0.58), rgba(182, 155, 111, 0.55)) border-box !important;
}

html body :is(.brand-logo, .brand-mark, .home-rail-avatar, .home-side-avatar, #heroProfileAvatar, .admin-hero-avatar, .selected-art, .profile-identity-avatar, .profile-rank-avatar, .profile-avatar-chip.visual img, img[src*="site-avatar"], img[src*="licamiao-avatar"], img[src*="red-idol"]) {
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  background:
    linear-gradient(rgba(7, 6, 7, 0.80), rgba(7, 6, 7, 0.80)) padding-box,
    linear-gradient(135deg, rgba(238, 229, 213, 0.82), rgba(116, 50, 58, 0.62), rgba(182, 155, 111, 0.58)) border-box !important;
  box-shadow:
    0 0 0 3px rgba(7, 6, 7, 0.82),
    0 16px 42px rgba(0, 0, 0, 0.46),
    0 0 30px rgba(116, 50, 58, 0.24) !important;
  object-fit: cover !important;
  object-position: center 36% !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-hero,
body.home-premium.lm-polished.lm-page-home .home-hero,
body.home-premium.lm-polished.lm-page-home .token-home-hero {
  background-image:
    linear-gradient(90deg, rgba(5, 4, 4, 0.96), rgba(5, 4, 4, 0.74) 42%, rgba(5, 4, 4, 0.22)),
    url("/static/site-avatar.webp?v=20260603-gothic-avatar") !important;
  background-position: center, right 7% center !important;
  background-size: auto, min(46vw, 660px) auto !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .gwenlike-hero,
  body.home-premium.lm-polished.lm-page-home .home-hero,
  body.home-premium.lm-polished.lm-page-home .token-home-hero {
    background-image:
      linear-gradient(180deg, rgba(5, 4, 4, 0.58), rgba(5, 4, 4, 0.94) 58%),
      url("/static/site-avatar.webp?v=20260603-gothic-avatar") !important;
    background-position: center top, center top !important;
    background-size: auto, min(94vw, 520px) auto !important;
  }
}

/* Homepage/login repair 2026-06-04: keep the public entry stable on small screens. */
html body .lm-anime-frame {
  max-width: calc(100vw - 24px) !important;
  pointer-events: none !important;
}

html body .lm-anime-frame-a {
  left: clamp(-48px, -5vw, -16px) !important;
}

html body .lm-anime-frame-b {
  right: clamp(-48px, -5vw, -16px) !important;
}

body.login-premium.lm-polished.lm-page-login {
  overflow-x: clip !important;
}

body.login-premium.lm-polished.lm-page-login .auth-shell {
  align-items: stretch !important;
}

body.login-premium.lm-polished.lm-page-login .auth-visual,
body.login-premium.lm-polished.lm-page-login .auth-panel {
  min-width: 0 !important;
}

body.login-premium.lm-polished.lm-page-login .auth-panel {
  display: flex !important;
  flex-direction: column !important;
}

body.login-premium.lm-polished.lm-page-login :is(.field-wrap, .password-wrap) {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 54px !important;
  overflow: hidden !important;
}

body.login-premium.lm-polished.lm-page-login :is(.field-wrap, .password-wrap) .field-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  transform: translateY(-50%) !important;
}

body.login-premium.lm-polished.lm-page-login :is(.field-wrap.has-icon, .password-wrap.has-icon) .form-input {
  width: 100% !important;
  min-height: 54px !important;
  padding-left: 54px !important;
  padding-right: 54px !important;
}

body.login-premium.lm-polished.lm-page-login .password-toggle {
  position: absolute !important;
  top: 50% !important;
  right: 10px !important;
  z-index: 4 !important;
  width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  transform: translateY(-50%) !important;
}

body.login-premium.lm-polished.lm-page-login .password-toggle .password-eye {
  margin: auto !important;
}

body.login-premium.lm-polished.lm-page-login .form-section.active {
  display: grid !important;
  gap: 16px !important;
}

body.login-premium.lm-polished.lm-page-login .form-group {
  display: grid !important;
  gap: 8px !important;
}

body.login-premium.lm-polished.lm-page-login .form-label {
  line-height: 1.25 !important;
}

body.login-premium.lm-polished.lm-page-login .brand-statusline span,
body.login-premium.lm-polished.lm-page-login .auth-op span,
body.login-premium.lm-polished.lm-page-login .visual-foot span {
  font-size: 12px !important;
}

body.login-premium.lm-polished.lm-page-login :is(.lm-typed-line, .lm-visual-dock, .lm-fps-meter, .lm-mascot-bubble, .lm-mobile-dock) {
  display: none !important;
}

@media (max-width: 760px) {
  html body .lm-anime-frame {
    display: none !important;
  }

  body.login-premium.lm-polished.lm-page-login {
    display: block !important;
    min-height: 100vh !important;
    padding: 20px 10px 28px !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-shell {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: min(100%, 430px) !important;
    margin: 0 auto !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-visual {
    min-height: 168px !important;
    padding: 18px !important;
  }

  body.login-premium.lm-polished.lm-page-login .visual-copy,
  body.login-premium.lm-polished.lm-page-login .visual-ledger {
    display: none !important;
  }

  body.login-premium.lm-polished.lm-page-login .visual-title {
    max-width: 72% !important;
    font-size: clamp(36px, 12vw, 52px) !important;
    line-height: 1.02 !important;
  }

  body.login-premium.lm-polished.lm-page-login .visual-foot {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 16px !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-panel {
    padding: 20px 16px !important;
  }

  body.login-premium.lm-polished.lm-page-login .brand {
    align-items: center !important;
    gap: 12px !important;
  }

  body.login-premium.lm-polished.lm-page-login .brand-mark {
    width: 50px !important;
    height: 50px !important;
    flex: 0 0 50px !important;
  }

  body.login-premium.lm-polished.lm-page-login .brand h1 {
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: 1.08 !important;
  }

  body.login-premium.lm-polished.lm-page-login .brand-statusline {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
  }

  body.login-premium.lm-polished.lm-page-login .tabs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  body.login-premium.lm-polished.lm-page-login .tab {
    min-width: 0 !important;
    min-height: 42px !important;
    padding-inline: 4px !important;
    font-size: 15px !important;
  }

  body.login-premium.lm-polished.lm-page-login .auth-ops {
    display: none !important;
  }

  body.login-premium.lm-polished.lm-page-login :is(.field-wrap, .password-wrap) {
    min-height: 52px !important;
  }

  body.login-premium.lm-polished.lm-page-login :is(.field-wrap.has-icon, .password-wrap.has-icon) .form-input {
    min-height: 52px !important;
    padding-left: 52px !important;
    padding-right: 52px !important;
    font-size: 16px !important;
  }

  body.login-premium.lm-polished.lm-page-login .inline-row {
    grid-template-columns: 1fr !important;
  }

  body.login-premium.lm-polished.lm-page-login :is(.footer, .contact-line) {
    text-align: center !important;
  }

  body.login-premium.lm-polished.lm-page-login .lm-visual-dock,
  body.login-premium.lm-polished.lm-page-login .lm-fps-meter {
    display: none !important;
  }
}

/* Full-site UI repair 2026-06-04: keep app pages inside the viewport. */
html,
html body {
  max-width: 100% !important;
  overflow-x: clip !important;
}

html body :is(.lead-panel.hero-stage-shell.gwenlike-live-hero, .gwenlike-bg-layer, .case-home-stage, .case-home-reel-wrap) {
  overflow: hidden !important;
}

body.home-premium .case-home-stage {
  max-width: 100% !important;
  contain: layout paint !important;
  overflow: hidden !important;
}

body.home-premium .gwenlike-petal-canvas {
  inset: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  transform: none !important;
}

body.home-premium .gwenlike-topbar {
  left: auto !important;
  right: auto !important;
  box-sizing: border-box !important;
  max-width: min(980px, calc(100vw - 32px)) !important;
}

body.home-premium .gwenlike-scroll-cue {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 48px !important;
  min-height: 44px !important;
  padding: 0 12px !important;
  left: 50% !important;
  right: auto !important;
  max-width: calc(100vw - 32px) !important;
  transform: translateX(-50%) !important;
}

body.home-premium .home-rail-logout,
body.home-premium .kline-control-btn {
  min-height: 44px !important;
}

body.home-premium .profile-calendar-week {
  font-size: 11px !important;
}

body.admin-home-skin .admin-site-bar.site-bar,
body.admin-home-skin .admin-nav-actions,
body.admin-home-skin .admin-nav-link {
  min-width: 0 !important;
}

body.inventory-db-page .db-toast {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: max(14px, env(safe-area-inset-right, 0px)) !important;
  bottom: max(14px, env(safe-area-inset-bottom, 0px)) !important;
  z-index: 2147482900 !important;
}

@media (max-width: 980px) {
  body:not(.home-premium) .page > .rail .nav {
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow-x: visible !important;
    padding-right: 0 !important;
  }

  body:not(.home-premium) .page > .rail .nav a {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 8px !important;
    white-space: normal !important;
  }

  body:not(.home-premium) .page > .rail .nav :is(strong, small) {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

@media (max-width: 760px) {
  body.home-premium .gwenlike-topbar {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
  }

  body.home-premium .gwenlike-nav,
  body.home-premium .gwenlike-scroll-cue {
    display: none !important;
  }

  body.home-premium .gwenlike-actions {
    min-width: 0 !important;
  }

  body.home-premium .gwenlike-actions .badge {
    max-width: 42vw !important;
  }

  body.admin-home-skin .admin-site-bar.site-bar {
    overflow: hidden !important;
  }

  body.admin-home-skin .admin-nav-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  body.admin-home-skin .admin-nav-link {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
    justify-content: center !important;
  }

  body.inventory-db-page .db-shell,
  body.inventory-db-page .db-card,
  body.inventory-db-page .db-table-shell,
  body.inventory-db-page .db-table-scroll,
  body.inventory-db-page .db-table,
  body.inventory-db-page .db-row {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.inventory-db-page .db-table-scroll {
    overflow-x: hidden !important;
  }

  body.inventory-db-page .db-table {
    width: 100% !important;
  }

  body.inventory-db-page .db-row.head {
    display: none !important;
  }

  body.inventory-db-page .db-row {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 12px !important;
    align-items: start !important;
  }

  body.inventory-db-page .db-row > * {
    min-width: 0 !important;
  }

  body.inventory-db-page .db-row > :nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }

  body.inventory-db-page .db-row > :nth-child(2) {
    grid-column: 2 !important;
  }

  body.inventory-db-page .db-row > :nth-child(n+3) {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(255, 183, 218, 0.16) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.inventory-db-page .db-copy {
    width: 100% !important;
    min-height: 44px !important;
    text-align: left !important;
  }

  body.inventory-db-page .db-toast {
    left: max(12px, env(safe-area-inset-left, 0px)) !important;
    right: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }
}

@media (max-width: 430px) {
  body:not(.home-premium) .page > .rail .nav {
    grid-template-columns: 1fr !important;
  }
}

/* Loop42: tool/database pages read better on phones when their local rail stays
   as a compact top strip instead of becoming a narrow side column. */
@media (max-width: 760px) {
  body:not(.home-premium) .page.lm-project-shell {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    padding-top: 8px !important;
    gap: 10px !important;
  }

  body:not(.home-premium) .page.lm-project-shell > .rail {
    position: sticky !important;
    top: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    padding: 10px !important;
  }

  body:not(.home-premium) .page.lm-project-shell > .rail .brand {
    padding: 10px !important;
  }

  body:not(.home-premium) .page.lm-project-shell > .rail .brand strong {
    font-size: clamp(20px, 7vw, 26px) !important;
  }

  body:not(.home-premium) .page.lm-project-shell > .rail .nav {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(132px, 42vw) !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 8px !important;
    scroll-snap-type: x proximity !important;
  }

  body:not(.home-premium) .page.lm-project-shell > .rail .nav a {
    min-height: 46px !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    scroll-snap-align: start !important;
  }

  body:not(.home-premium) .page.lm-project-shell > .rail .nav small {
    display: none !important;
  }
}

/* Full-site UI repair 2026-06-04: improve tap targets and dense labels. */
body.login-premium.lm-page-login :is(.tab, .password-toggle, .submit-btn, .secondary-btn) {
  min-height: 44px !important;
}

body.login-premium.lm-page-login .password-toggle {
  width: 44px !important;
  height: 44px !important;
}

body.login-premium.lm-page-login :is(.visual-kicker, .auth-op span) {
  font-size: 11px !important;
}

body.admin-home-skin :is(.ghost-link, .solid-link, .primary-btn, .secondary-btn, .danger-btn, .panel-toggle, .admin-nav-link, .home-side-actions a, .home-side-links a, .admin-side-command-grid button, .admin-side-command-grid a) {
  min-height: 44px !important;
}

body.admin-home-skin .home-side-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
}

body.admin-home-skin .home-side-actions a {
  width: 100% !important;
  min-width: 0 !important;
}

body.admin-home-skin :is(.admin-top-brief-head span, .admin-top-brief-grid span, .hero-statuschip span, .stat-card span, .alert-metric span, .alert-insight-card span, .alert-rule-kicker, .alert-rule-stat span, .profit-table th) {
  font-size: 11px !important;
}

body.inventory-db-page :is(.db-btn, .db-tab, .db-copy, .db-field input, .db-field select, #steamIdInput, #searchInput, #stateFilter, #sortSelect, #copyRowsBtn) {
  min-height: 44px !important;
}

body:not(.home-premium) .page :is(.btn, input, select, button) {
  min-height: 44px !important;
}

body.login-premium.lm-polished.lm-page-login :is(.tab, .password-toggle, .submit-btn, .secondary-btn) {
  min-height: 44px !important;
}

body.login-premium.lm-polished.lm-page-login .password-toggle {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
}

body.home-premium.lm-polished .home-rail-logout,
body.home-premium.lm-polished .home-mobile-logout {
  min-height: 44px !important;
}

body.home-premium.lm-polished.lm-page-home :is(.home-side-actions a, .home-side-links a, .gwenlike-toast-close, .gwenlike-icon-btn, .gwenlike-floating-tools button, .profile-calendar-actions button, .kline-control-btn) {
  min-width: 44px !important;
  min-height: 44px !important;
}

body.home-premium.lm-polished.lm-page-home :is(.gwenlike-icon-btn, .gwenlike-floating-tools button) {
  width: 44px !important;
}

body.home-premium.lm-polished.lm-page-home :is(.home-rail-link span, .home-side-card > span, .home-side-status span, .home-top-brief span, .steamdt-official-kicker, .steam-board-stat span, .market-reference-card span, .platform-stat span, .stat-card span) {
  font-size: 11px !important;
}

body.home-premium.lm-polished.lm-page-home :is(.profile-rank-tab, .case-home-select, .case-home-controls button, .steam-card-rate-form input, .steam-card-rate-form button, .kline-control-btn) {
  min-height: 44px !important;
}

body.home-premium.lm-polished.lm-page-home :is(.home-board-sidegrid span, .steamdt-official-side span, .steamdt-official-note span, .steamdt-official-metric span, .board-market-cell span, .board-market-cell small, .kline-meta-chip, .kline-control-btn) {
  font-size: 11px !important;
}

body.home-premium.lm-polished.lm-page-home .steamdt-kline-sub-tabs button {
  min-height: 44px !important;
}

body.home-premium.lm-polished.lm-page-home :is(.board-panel-foot-chip, .steam-total-sub) {
  font-size: 11px !important;
}

/* Full-site UI repair 2026-06-05: final visual bounds and tap target pass. */
html body .lm-anime-layer {
  overflow: clip !important;
  contain: paint !important;
}

html body .lm-anime-frame {
  box-sizing: border-box !important;
  width: min(28vw, 320px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
}

html body .lm-anime-frame-a {
  left: max(16px, env(safe-area-inset-left, 0px)) !important;
  transform: none !important;
}

html body .lm-anime-frame-b {
  right: max(28px, env(safe-area-inset-right, 0px)) !important;
  transform: none !important;
}

body.login-premium.lm-polished.lm-page-login .footer {
  display: grid !important;
  justify-items: center !important;
  gap: 8px !important;
}

body.login-premium.lm-polished.lm-page-login .footer :is(a, [data-auth-tab]) {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  padding: 4px 6px !important;
  line-height: 1.2 !important;
}

body.home-premium.lm-polished.lm-page-home .home-item-chart {
  display: grid !important;
  place-items: stretch !important;
  min-height: 220px !important;
  max-height: 360px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}

body.home-premium.lm-polished.lm-page-home .home-item-chart canvas {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 360px !important;
  object-fit: contain !important;
}

html body :is(.auth-shell, .auth-card, .login-card) {
  max-width: 100% !important;
  overflow-x: clip !important;
}

html body :is(.visual-kicker, .auth-op span, .login-card .visual-kicker, .login-card .auth-op span) {
  font-size: 11px !important;
}

html body .brand-statusline span {
  font-size: 11px !important;
}

html body :is(.footer, .login-card .footer) {
  display: grid !important;
  justify-items: center !important;
  gap: 8px !important;
}

html body :is(.footer a, .footer [data-auth-tab], .login-card .footer a, .login-card .footer [data-auth-tab]) {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  padding: 4px 6px !important;
  line-height: 1.2 !important;
}

html body :is(.auth-card i, .login-card i, .footer i) {
  max-width: calc(100vw - 2px) !important;
}

@media (max-width: 760px) {
  body.admin-home-skin .home-side-actions {
    grid-template-columns: 1fr !important;
  }

  html body :is(.lm-starry-field, .lm-anime-layer) {
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    bottom: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    overflow: clip !important;
    contain: paint !important;
  }

  html body :is(.lm-starry-field::before, .lm-anime-layer::before, .lm-anime-layer::after) {
    inset: 0 !important;
    transform: none !important;
  }

  body.home-premium.lm-page-home .home-control-rail .home-rail-nav {
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding: 0 !important;
    scroll-snap-type: none !important;
  }

  body.home-premium.lm-page-home .home-control-rail .home-rail-link {
    width: 100% !important;
    min-width: 0 !important;
    scroll-snap-align: none !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    justify-items: start !important;
  }
}

@media (max-width: 360px) {
  body.home-premium.lm-page-home .home-control-rail .home-rail-nav {
    grid-template-columns: 1fr !important;
  }
}

/* Anime theme pass 2026-06-05: night-sakura sticker UI. */
html body.lm-polished {
  --lm-anime-ink: #fff7fb;
  --lm-anime-pink: #ff8fbd;
  --lm-anime-rose: #ff5f9f;
  --lm-anime-cyan: #67efe6;
  --lm-anime-mint: #a7ffd6;
  --lm-anime-sun: #ffe37a;
  --lm-anime-violet: #bfa0ff;
  --lm-anime-panel: rgba(38, 13, 32, 0.74);
  --lm-anime-panel-strong: rgba(58, 18, 45, 0.86);
  --lm-anime-line: rgba(255, 185, 220, 0.38);
  --lm-anime-glow: 0 0 0 1px rgba(255, 195, 225, 0.18), 0 22px 58px rgba(255, 95, 159, 0.18), 0 0 34px rgba(103, 239, 230, 0.08);
  color-scheme: dark;
}

html body.lm-polished::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 143, 189, 0.22), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(103, 239, 230, 0.16), transparent 25%),
    radial-gradient(circle at 78% 82%, rgba(255, 227, 122, 0.12), transparent 23%),
    linear-gradient(180deg, rgba(25, 5, 22, 0.62), rgba(5, 4, 12, 0.92));
}

html body.lm-polished::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.32;
  background:
    radial-gradient(circle, rgba(255, 247, 251, 0.72) 0 1px, transparent 1.8px) 10px 12px / 34px 34px,
    linear-gradient(135deg, transparent 0 45%, rgba(255, 143, 189, 0.16) 45% 47%, transparent 47% 100%) 0 0 / 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 82%, transparent);
}

html body.lm-polished :is(.panel, .surface, .card, .list-card, .summary-card, .stat-card, .metric-card, .module-card, .data-row, .home-side-card, .home-item-card, .steam-card-rate-card, .market-reference-card, .admin-top-brief, .alert-insight-card, .db-card, .db-table-shell, .login-card, .auth-card) {
  border-color: var(--lm-anime-line) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(255, 143, 189, 0.2), transparent 34%),
    linear-gradient(180deg, var(--lm-anime-panel-strong), rgba(17, 5, 18, 0.76)) !important;
  box-shadow: var(--lm-anime-glow) !important;
}

html body.lm-polished :is(.panel, .surface, .card, .list-card, .summary-card, .stat-card, .metric-card, .module-card, .data-row, .home-side-card, .home-item-card, .steam-card-rate-card, .market-reference-card, .admin-top-brief, .alert-insight-card, .db-card, .db-table-shell, .login-card, .auth-card)::before {
  border-color: rgba(255, 247, 251, 0.12) !important;
}

html body.lm-polished :is(h1, h2, h3, h4, .brand-name, .hero-title, .login-title, .steamdt-official-value, .home-item-card h4, .db-title h1) {
  color: var(--lm-anime-ink) !important;
  text-shadow:
    0 0 18px rgba(255, 143, 189, 0.28),
    0 0 28px rgba(103, 239, 230, 0.12) !important;
}

html body.lm-polished :is(.badge, .pill, .chip, .kline-meta-chip, .steam-card-rate-chip, .hero-statuschip, .db-tab, .tab, .home-rail-link, .admin-nav-link) {
  border-color: rgba(255, 195, 225, 0.48) !important;
  background:
    linear-gradient(135deg, rgba(255, 143, 189, 0.22), rgba(103, 239, 230, 0.09)),
    rgba(42, 13, 36, 0.7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 8px 22px rgba(255, 95, 159, 0.12) !important;
}

html body.lm-polished :is(.primary, .primary-btn, .submit-btn, .solid-link, .db-btn.primary, button.primary) {
  color: #211019 !important;
  border-color: rgba(255, 236, 180, 0.72) !important;
  background:
    linear-gradient(135deg, var(--lm-anime-pink), var(--lm-anime-sun) 62%, var(--lm-anime-mint)) !important;
  box-shadow:
    0 12px 28px rgba(255, 143, 189, 0.28),
    0 0 22px rgba(255, 227, 122, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}

html body.lm-polished :is(button, .btn, .secondary-btn, .ghost-link, .db-btn, .kline-control-btn, .case-home-controls button, .steam-card-rate-form button):not(.primary):not(.submit-btn) {
  border-color: rgba(191, 160, 255, 0.34) !important;
  background:
    linear-gradient(135deg, rgba(255, 143, 189, 0.13), rgba(103, 239, 230, 0.07)),
    rgba(31, 10, 31, 0.72) !important;
}

html body.lm-polished :is(button, .btn, a, .tab, .home-rail-link, .admin-nav-link, .db-tab) {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, filter 160ms ease;
}

html body.lm-polished :is(button, .btn, a, .tab, .home-rail-link, .admin-nav-link, .db-tab):hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow:
    0 12px 30px rgba(255, 143, 189, 0.2),
    0 0 24px rgba(103, 239, 230, 0.12) !important;
}

html body.lm-polished :is(input, select, textarea, .form-input, .db-field input, .db-field select) {
  color: var(--lm-anime-ink) !important;
  border-color: rgba(255, 195, 225, 0.34) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(18, 7, 22, 0.76) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html body.lm-polished :is(input, select, textarea, .form-input):focus {
  border-color: rgba(103, 239, 230, 0.72) !important;
  box-shadow:
    0 0 0 3px rgba(103, 239, 230, 0.13),
    0 0 24px rgba(255, 143, 189, 0.12) !important;
}

body.login-premium.lm-polished.lm-page-login .auth-card,
html body.lm-polished .login-card {
  position: relative;
}

body.login-premium.lm-polished.lm-page-login .auth-card::after,
html body.lm-polished .login-card::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 14px;
  width: 74px;
  height: 28px;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(circle at 12px 14px, var(--lm-anime-sun) 0 3px, transparent 3.8px),
    radial-gradient(circle at 38px 11px, var(--lm-anime-cyan) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent, rgba(255, 143, 189, 0.4), transparent);
  border-radius: 999px;
  filter: blur(0.2px);
}

body.home-premium.lm-polished.lm-page-home .home-control-rail,
body.admin-home-skin.lm-polished .admin-site-bar,
body.inventory-db-page.lm-polished .db-header {
  border-color: rgba(255, 195, 225, 0.32) !important;
  background:
    linear-gradient(135deg, rgba(255, 143, 189, 0.16), rgba(103, 239, 230, 0.08)),
    rgba(18, 6, 22, 0.82) !important;
  box-shadow: 0 18px 48px rgba(255, 95, 159, 0.16) !important;
}

body.home-premium.lm-polished.lm-page-home .case-home-stage {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 227, 122, 0.2), transparent 32%),
    radial-gradient(circle at 16% 22%, rgba(255, 143, 189, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(42, 13, 36, 0.95), rgba(12, 6, 22, 0.92)) !important;
}

body.home-premium.lm-polished.lm-page-home .case-home-pointer {
  border-top-color: var(--lm-anime-sun) !important;
  filter: drop-shadow(0 0 16px rgba(255, 227, 122, 0.58)) drop-shadow(0 0 24px rgba(255, 143, 189, 0.22)) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.case-home-drop, .skin-row img, .case-home-recent-row img, .avatar, .profile-avatar, .visual-avatar) {
  box-shadow:
    0 0 0 1px rgba(255, 195, 225, 0.22),
    0 10px 24px rgba(255, 95, 159, 0.16) !important;
}

html body.lm-polished ::selection {
  color: #211019;
  background: rgba(255, 227, 122, 0.86);
}

@media (prefers-reduced-motion: reduce) {
  html body.lm-polished :is(button, .btn, a, .tab, .home-rail-link, .admin-nav-link, .db-tab) {
    transition: none !important;
  }

  html body.lm-polished :is(button, .btn, a, .tab, .home-rail-link, .admin-nav-link, .db-tab):hover {
    transform: none !important;
  }
}

@media (max-width: 760px) {
  body.login-premium.lm-polished.lm-page-login .auth-card::after,
  html body.lm-polished .login-card::after {
    right: 12px;
    top: 10px;
    width: 56px;
    opacity: 0.54;
  }

  html body.lm-polished :is(.panel, .surface, .card, .list-card, .summary-card, .stat-card, .metric-card, .module-card, .data-row, .home-side-card, .home-item-card, .steam-card-rate-card, .market-reference-card, .admin-top-brief, .alert-insight-card, .db-card, .db-table-shell, .login-card, .auth-card) {
    box-shadow:
      0 0 0 1px rgba(255, 195, 225, 0.14),
      0 14px 34px rgba(255, 95, 159, 0.14) !important;
  }
}

/* Visual skill audit fixes 2026-06-05: shared auth states and contrast. */
html body.lm-polished :is(.login-card, .auth-card) .password-wrap {
  position: relative !important;
}

html body.lm-polished :is(.login-card, .auth-card) .password-wrap .form-input {
  padding-right: 64px !important;
}

html body.lm-polished :is(.login-card, .auth-card) .password-toggle {
  position: absolute !important;
  left: auto !important;
  right: 10px !important;
  top: 50% !important;
  bottom: auto !important;
  z-index: 4 !important;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  transform: translateY(-50%) !important;
}

html body.lm-polished :is(.login-card, .auth-card) .password-toggle .password-eye {
  color: #ffd7ea !important;
}

html body:has(.login-card) .lm-mobile-dock,
html body:has(.auth-card) .lm-mobile-dock,
html body:has(.auth-panel) .lm-mobile-dock {
  display: none !important;
}

html body.login-premium.lm-polished :is(.auth-panel, .auth-shell) .password-wrap {
  position: relative !important;
}

html body.login-premium.lm-polished :is(.auth-panel, .auth-shell) .password-wrap .form-input {
  padding-right: 64px !important;
}

html body.login-premium.lm-polished :is(.auth-panel, .auth-shell) .password-toggle {
  position: absolute !important;
  left: auto !important;
  right: 10px !important;
  top: 50% !important;
  bottom: auto !important;
  z-index: 4 !important;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  transform: translateY(-50%) !important;
}

html body.login-premium.lm-polished :is(.auth-panel, .auth-shell) .password-toggle .password-eye {
  color: #ffd7ea !important;
}

html body.lm-polished :is(.login-card, .auth-card, body.login-premium) .tab:not(.active) {
  color: rgba(255, 231, 243, 0.8) !important;
}

html body.lm-polished :is(.login-card, .auth-card) :is(.auth-op, .tabs, .footer, .footer span, .footer-meta a) {
  color: rgba(255, 229, 242, 0.76) !important;
}

html body.lm-polished :is(.login-card, .auth-card, .footer) a {
  color: #ff9fca !important;
}

html body.lm-polished :is(.login-card, .auth-card) .contact-line strong {
  color: #ffc5de !important;
}

body.inventory-db-page.lm-polished .db-btn,
html body.lm-polished .db-btn {
  color: #ffc6df !important;
}

body.lm-polished:not(.home-premium) .hero.card {
  overflow: clip !important;
  contain: paint !important;
}

body.lm-polished:not(.home-premium) .hero.card::after {
  right: 12px !important;
  top: 12px !important;
  width: min(220px, 52vw) !important;
  height: min(220px, 52vw) !important;
  box-shadow: 0 0 0 24px rgba(255, 93, 168, 0.045) !important;
}

body.lm-polished:not(.home-premium) .hero.card :is(b, .step b) {
  color: #1a1020 !important;
}

/* Final visual QA fixes 2026-06-05: homepage clipping and mobile readability. */
html:has(body.home-premium.lm-polished.lm-page-home),
body.home-premium.lm-polished.lm-page-home {
  max-width: 100%;
  overflow-x: clip !important;
}

body.home-premium.lm-polished.lm-page-home :is(.case-home-opener, .case-home-stage) {
  max-width: 100%;
  overflow: hidden !important;
  contain: paint;
}

body.home-premium.lm-polished.lm-page-home .mobile-quickdock {
  display: none;
  box-sizing: border-box;
}

body.home-premium.lm-polished.lm-page-home :is(.home-rail-nav span, .home-top-brief span, .lm-shared-rail-footer span, .mobile-quickdock span, .intel-home-metric span) {
  font-size: max(11px, 0.72rem) !important;
}

body.home-premium.lm-polished.lm-page-home :is(.steam-safety-sources a, .site-foot a, .home-rail-footer a) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

/* Homepage animation repair 2026-06-05: keep the GSAP hero layers out of document flow. */
body.home-premium.lm-polished.lm-page-home .lead-panel.hero-stage-shell.gwenlike-live-hero {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  min-height: min(900px, calc(100vh - 24px)) !important;
  height: auto !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active {
  overflow: hidden !important;
}

html:has(body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active) {
  height: 100svh !important;
  overflow: hidden !important;
}

body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active,
body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active .page-wrap.home-console-page {
  height: 100svh !important;
  max-height: 100svh !important;
  min-height: 100svh !important;
}

body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active .home-console-page > :not(#hero-zone):not(.home-control-rail):not(.home-side-dock) {
  display: none !important;
}

body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active .lead-panel.hero-stage-shell.gwenlike-live-hero {
  position: fixed !important;
  inset: 0 !important;
  z-index: 90 !important;
  width: 100vw !important;
  max-width: none !important;
  min-height: 100svh !important;
  height: 100svh !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

body.home-premium.lm-polished.lm-page-home.lm-hero-entry-active :is(
  .home-control-rail,
  .home-side-dock,
  .site-bar,
  .site-quickbar,
  #platform-strip-zone,
  .home-mobile-logout,
  .mobile-quickdock
) {
  display: none !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-live-hero > :is(
  .gwenlike-bg-layer,
  .gwenlike-anime-grid,
  .gwenlike-magic-rings,
  .gwenlike-sticker,
  .gwenlike-petal-canvas,
  .gwenlike-shine,
  .gwenlike-topbar,
  .gwenlike-note,
  .gwenlike-profile-card,
  .gwenlike-floating-tools,
  .gwenlike-fps,
  .gwenlike-scroll-cue,
  .lm-entry-gate
) {
  position: absolute !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-bg-layer {
  inset: -28px !important;
  z-index: -2 !important;
}

body.home-premium.lm-polished.lm-page-home :is(.gwenlike-anime-grid, .gwenlike-magic-rings, .gwenlike-petal-canvas, .gwenlike-shine) {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-topbar {
  top: clamp(14px, 2.4vw, 30px) !important;
  left: clamp(14px, 3vw, 46px) !important;
  right: clamp(14px, 3vw, 46px) !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-center {
  position: relative !important;
  z-index: 3 !important;
  width: min(720px, calc(100% - 32px)) !important;
  margin: 0 auto !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-note {
  top: clamp(88px, 13vh, 132px) !important;
  right: clamp(14px, 3vw, 42px) !important;
  z-index: 5 !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card {
  left: clamp(16px, 5vw, 88px) !important;
  bottom: clamp(22px, 5vw, 70px) !important;
  z-index: 5 !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools {
  right: clamp(14px, 3vw, 42px) !important;
  bottom: clamp(54px, 9vh, 116px) !important;
  z-index: 6 !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-fps {
  left: clamp(14px, 2.8vw, 36px) !important;
  bottom: 14px !important;
  z-index: 6 !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-scroll-cue {
  left: 50% !important;
  bottom: 22px !important;
  z-index: 6 !important;
  transform: translateX(-50%) !important;
}

body.home-premium.lm-polished.lm-page-home .lm-entry-gate {
  left: 50% !important;
  bottom: clamp(42px, 7vh, 82px) !important;
  z-index: 120 !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .lead-panel.hero-stage-shell.gwenlike-live-hero {
    order: -30 !important;
  }

  body.home-premium.lm-polished.lm-page-home .site-bar {
    order: -20 !important;
  }

  body.home-premium.lm-polished.lm-page-home .site-quickbar {
    order: -10 !important;
  }

  body.home-premium.lm-polished.lm-page-home #platform-strip-zone {
    order: -5 !important;
  }

  body.home-premium.lm-polished.lm-page-home .lead-panel.hero-stage-shell.gwenlike-live-hero {
    min-height: 680px !important;
    padding: 12px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-topbar {
    left: 12px !important;
    right: 12px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-center {
    width: min(100%, calc(100vw - 40px)) !important;
    margin-top: 92px !important;
    text-align: left !important;
  }
}

@media (max-width: 760px) {
  html body.admin-home-skin .home-side-dock.admin-side-dock {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
  }

  html body.admin-home-skin .admin-side-command-grid,
  html body.admin-home-skin .home-side-links,
  html body.admin-home-skin .home-side-status {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  html body.admin-home-skin :is(.admin-side-command-grid button, .home-side-links a, .home-side-status div) {
    width: 100% !important;
    min-height: 48px !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  body.home-premium.lm-polished.lm-page-home .mobile-quickdock {
    display: grid;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px);
  }

  body.home-premium.lm-polished.lm-page-home .case-home-reel {
    padding-left: min(38vw, 148px) !important;
    padding-right: min(38vw, 148px) !important;
  }
}

/* Loop6: production home animation guard. The FPS pill is a debug aid and should
   not read as a broken animation state for users. */
body.home-premium.lm-polished.lm-page-home .lead-panel.hero-stage-shell.gwenlike-live-hero {
  grid-row: 1 !important;
  order: -40 !important;
  height: min(820px, calc(100svh - 42px)) !important;
  min-height: 640px !important;
  max-height: 820px !important;
  overflow: hidden !important;
  contain: layout paint !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-petal-canvas {
  max-height: 100% !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-fps {
  display: none !important;
}

body.home-premium.lm-polished.lm-page-home .site-bar {
  grid-row: 2 !important;
  order: -30 !important;
}

body.home-premium.lm-polished.lm-page-home #platform-strip-zone {
  grid-row: 3 !important;
  order: -20 !important;
}

@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .lead-panel.hero-stage-shell.gwenlike-live-hero {
    height: min(680px, calc(100svh - 14px)) !important;
    min-height: 588px !important;
    max-height: 680px !important;
  }
}

/* Loop11: keep the mobile anime hero readable. The note stays as a small
   status chip between the topbar and title instead of covering the headline. */
@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .gwenlike-note {
    top: clamp(132px, 17svh, 156px) !important;
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 9px 36px 9px 13px !important;
    border-radius: 12px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-note strong {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-note p {
    display: none !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-center {
    margin-top: 110px !important;
  }
}

@media (max-width: 420px) {
  body.home-premium.lm-polished.lm-page-home .gwenlike-note {
    top: 134px !important;
    left: 16px !important;
    right: 16px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-center {
    margin-top: 116px !important;
  }
}

/* Loop14: mobile home toolbar sits below the hero cards as a compact strip, not
   a vertical rail that crowds the live status area. */
@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools {
    left: 50% !important;
    right: auto !important;
    bottom: 44px !important;
    z-index: 8 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    width: auto !important;
    max-width: calc(100% - 36px) !important;
    padding: 6px !important;
    border: 1px solid rgba(255, 255, 255, .24) !important;
    border-radius: 999px !important;
    background: rgba(39, 18, 34, .46) !important;
    box-shadow: 0 18px 38px rgba(20, 8, 22, .3) !important;
    backdrop-filter: blur(16px) !important;
    transform: translateX(-50%) !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools button {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
  }
}

/* Loop31: tighten the mobile first viewport so the anime hero reads as one
   composed scene instead of a stack of crowded overlays. */
@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .gwenlike-center h1,
  body.home-premium.lm-polished.lm-page-home .gwenlike-title {
    max-width: 11.5em !important;
    line-height: .98 !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-actions,
  body.home-premium.lm-polished.lm-page-home .gwenlike-center .hero-actions {
    gap: 8px !important;
    margin-top: 12px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-actions :is(a, button),
  body.home-premium.lm-polished.lm-page-home .gwenlike-center .hero-actions :is(a, button) {
    min-height: 42px !important;
    padding: 10px 14px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card {
    left: 18px !important;
    right: 18px !important;
    bottom: 104px !important;
    width: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 420px) {
  body.home-premium.lm-polished.lm-page-home .lead-panel.hero-stage-shell.gwenlike-live-hero {
    min-height: 572px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card {
    bottom: 96px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools {
    bottom: 38px !important;
  }
}

/* Loop50: repair the live hero reading order. The animation was alive, but the
   note/profile overlays could make the first viewport look visually broken. */
body.home-premium.lm-polished.lm-page-home .gwenlike-note {
  max-width: 286px !important;
  border-color: rgba(255, 255, 255, .32) !important;
  background:
    linear-gradient(135deg, rgba(255, 244, 250, .92), rgba(255, 236, 246, .72)),
    rgba(255, 248, 252, .9) !important;
  box-shadow: 0 18px 44px rgba(127, 41, 86, .18), 0 0 0 1px rgba(255, 255, 255, .38) inset !important;
  color: rgba(86, 36, 68, .92) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-note p {
  color: rgba(98, 48, 80, .78) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-note strong {
  color: rgba(82, 32, 65, .94) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card {
  border-color: rgba(255, 255, 255, .34) !important;
  background:
    linear-gradient(135deg, rgba(255, 248, 252, .9), rgba(255, 232, 245, .7)),
    rgba(255, 246, 251, .86) !important;
  box-shadow: 0 22px 54px rgba(101, 40, 76, .2), 0 0 0 1px rgba(255, 255, 255, .42) inset !important;
  color: rgba(72, 31, 58, .94) !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card span {
  color: rgba(87, 42, 70, .78) !important;
}

body.home-premium.lm-polished.lm-page-home #userBadge {
  max-width: min(240px, 22vw) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.home-premium.lm-polished.lm-page-home :is(.gwenlike-toast-close, .gwenlike-floating-tools button, .gwenlike-icon-btn) {
  display: inline-grid !important;
  place-items: center !important;
  line-height: 1 !important;
  overflow: hidden !important;
  text-align: center !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools button {
  width: 48px !important;
  min-width: 48px !important;
  font-size: 18px !important;
}

body.home-premium.lm-polished.lm-page-home .gwenlike-toast-close {
  width: 48px !important;
  min-width: 48px !important;
}

@media (max-width: 760px) {
  body.home-premium.lm-polished.lm-page-home .lead-panel.hero-stage-shell.gwenlike-live-hero {
    height: min(700px, calc(100svh - 10px)) !important;
    min-height: 620px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-note {
    top: 74px !important;
    left: 14px !important;
    right: auto !important;
    width: min(210px, calc(100vw - 112px)) !important;
    max-width: 210px !important;
    padding: 7px 30px 7px 11px !important;
    border-radius: 999px !important;
    z-index: 4 !important;
    white-space: nowrap !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-note strong {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: rgba(82, 32, 65, .95) !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-note p {
    display: none !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-note .gwenlike-toast-close {
    display: none !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-floating-tools button {
    width: 44px !important;
    min-width: 44px !important;
    font-size: 16px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-center {
    z-index: 7 !important;
    margin-top: 142px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card {
    left: 14px !important;
    right: 14px !important;
    bottom: 96px !important;
    z-index: 5 !important;
  }
}

@media (max-width: 420px) {
  body.home-premium.lm-polished.lm-page-home .lead-panel.hero-stage-shell.gwenlike-live-hero {
    min-height: 616px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-note {
    top: 72px !important;
    width: min(190px, calc(100vw - 106px)) !important;
    max-width: 190px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-center {
    margin-top: 138px !important;
  }

  body.home-premium.lm-polished.lm-page-home .gwenlike-profile-card {
    bottom: 88px !important;
  }
}

