:root {
  --op-bg: #080A0C;
  --op-bg-secondary: #0D1013;
  --op-sidebar: #0B0D0F;
  --op-panel: #111417;
  --op-card: #171B1F;
  --op-card-hover: #1B2025;
  --op-border: #2B3036;
  --op-border-light: #373D43;
  --op-white: #FFFFFF;
  --op-text: #F5F5F5;
  --op-text-secondary: #B6BBC0;
  --op-muted: #777E85;
  --op-orange: #FF5A00;
  --op-orange-light: #FF6A00;
  --op-orange-dark: #B83F00;
  --op-success: #26D167;
  --op-danger: #FF453A;
  --op-warning: #FF9500;
}

* { box-sizing: border-box; }
/* Prefer viewport units so short pages (Messages) still fill the kiosk WebView */
html {
  height: 100%;
  height: 100vh;
  height: 100dvh;
}
body {
  margin: 0;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--op-bg);
  color: var(--op-text);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

/* Open Time "please pay at the counter" banner, pinned to the top of the client monitor */
.pay-notice {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 18px;
  background: linear-gradient(90deg, var(--op-orange-dark), var(--op-orange));
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .01em;
  text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,.45);
  animation: payNoticePulse 1.6s ease-in-out infinite;
}
.pay-notice[hidden] { display: none; }
.pay-notice svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@keyframes payNoticePulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.22); } }
body.has-pay-notice .shell { padding-top: 46px; }

/* Same notice, pushed on demand from the counter */
.pay-pop {
  position: fixed; inset: 0; z-index: 2100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.72); backdrop-filter: blur(3px);
}
.pay-pop[hidden] { display: none; }
.pay-pop-box {
  width: min(460px, calc(100vw - 32px));
  padding: 28px 26px; text-align: center;
  background: var(--op-card); border: 1px solid var(--op-orange);
  border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.pay-pop-box svg {
  width: 44px; height: 44px; margin-bottom: 10px;
  fill: none; stroke: var(--op-orange); stroke-width: 2; stroke-linecap: round;
}
.pay-pop-box h2 { margin: 0 0 8px; font-size: 20px; color: var(--op-orange); letter-spacing: .02em; }
.pay-pop-box p { margin: 0 0 20px; font-size: 15px; line-height: 1.5; color: var(--op-text); }
.pay-pop-box button {
  padding: 10px 34px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--op-orange); color: #fff; font-weight: 700; font-size: 14px;
}
.pay-pop-box button:hover { background: var(--op-orange-light); }

.onlypass-logo {
  height: 52px;
  width: auto;
  max-height: 56px;
  object-fit: contain;
  display: block;
  background: transparent;
}
.onlypass-logo.lg { height: 96px; max-height: 96px; }
.onlypass-logo.sm { height: 40px; max-height: 40px; }

.shell {
  --side-w: 248px;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-columns: var(--side-w) 1fr;
  grid-template-rows: 64px minmax(0, 1fr);
  transition: grid-template-columns .22s ease;
}
html.op-collapsed .shell,
.shell.collapsed { --side-w: 72px; }
.topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Right pad clears the kiosk WinForms minimize overlay (42px + inset). */
  padding: 0 68px 0 22px;
  background: var(--op-bg-secondary);
  border-bottom: 1px solid var(--op-border);
  position: relative;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 1;
}
.brand-lockup .onlypass-logo {
  margin-right: 1px;
}
.brand-text { display: flex; flex-direction: column; justify-content: center; }
.brand-lockup .name,
.brand-lockup h1 {
  font-weight: 800;
  font-size: 22px;
  line-height: .92;
  letter-spacing: -.03em;
  margin: 0;
}
.brand-lockup .name span,
.brand-lockup h1 span { color: var(--op-orange); }
.brand-lockup .name.is-shop {
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1.25;
  max-width: min(420px, 44vw);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
}
.brand-lockup small,
.brand-text .sub {
  display: block;
  color: var(--op-muted);
  letter-spacing: .18em;
  font-size: 8px;
  margin-top: 2px;
  font-weight: 700;
}
.tagline {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 16px;
  color: #E8EAED;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  white-space: nowrap;
  pointer-events: none;
}
.tagline i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--op-orange);
  flex: 0 0 5px;
}
.top-right { display: flex; align-items: center; gap: 14px; color: var(--op-text-secondary); z-index: 1; }
.top-right .sep { width: 1px; height: 18px; background: var(--op-border-light); }
.user-chip {
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 4px 0;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar {
  background: var(--op-sidebar);
  border-right: 1px solid var(--op-border);
  padding: 12px 12px 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  transition: padding .22s ease;
}
.side-toggle {
  width: 32px;
  height: 32px;
  margin: 0 0 10px 4px;
  border: 1px solid var(--op-border);
  border-radius: 8px;
  background: var(--op-card);
  color: var(--op-text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 32px;
  transition: background .2s ease, color .2s ease, transform .22s ease;
}
.side-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}
.side-toggle:hover { background: var(--op-card-hover); color: #fff; }
html.op-collapsed .side-toggle,
.shell.collapsed .side-toggle { margin-left: auto; margin-right: auto; }
.side-kicker {
  color: var(--op-muted);
  font-size: 10px;
  letter-spacing: .16em;
  padding: 6px 12px 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  max-height: 40px;
  opacity: 1;
  transition: opacity .18s ease, max-height .22s ease, padding .22s ease;
}
.nav a { position: relative; }
.nav-badge, .tile-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--op-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.nav-badge[hidden], .need-n[hidden], .tile-badge[hidden] { display: none !important; }
.tile { position: relative; }
.tile-badge { top: 8px; right: 8px; }
a[data-go] { cursor: pointer; }
.nav { display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow-x: hidden; overflow-y: auto; }
.side-promos { display: grid; gap: 4px; }
.side-promos[hidden] { display: none !important; }
.nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px; color: var(--op-text-secondary); font-weight: 600;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, padding .22s ease;
}
.nav a svg {
  width: 16px; height: 16px; flex: 0 0 16px;
  stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.nav-label {
  white-space: nowrap;
  overflow: hidden;
  max-width: 140px;
  min-width: 0;
  opacity: 1;
  transition: opacity .16s ease, max-width .22s ease, flex-basis .22s ease;
}
.nav a:hover {
  background: var(--op-card);
  color: #fff;
}
.nav a.active {
  background: var(--op-orange);
  color: #fff;
}
.nav a.active:hover { box-shadow: 0 6px 16px rgba(255,90,0,.28); }
.nav a.active svg { stroke: #fff; }
.side-ad { margin-top: auto; flex: 0 0 auto; align-self: stretch; padding: 8px 2px 0; max-height: 198px; overflow: hidden; }
.side-ad-h {
  display: flex; justify-content: space-between; align-items: center;
  color: #8b939c; font-size: 11px; font-weight: 600;
  padding: 0 4px 6px;
}
.side-ad-card {
  background: #12161c;
  border: 1px solid #24303a;
  border-radius: 12px;
  overflow: hidden;
  height: 168px;
  max-height: 168px;
}
.side-ad-card .adsbygoogle,
.side-ad-card iframe { display: block; width: 100% !important; height: 168px !important; max-height: 168px !important; }
.side-foot { margin-top: 0; padding: 14px 10px 6px; border-top: 0; overflow: hidden; }
.side-foot strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  opacity: 1;
  transition: opacity .18s ease;
}
.side-foot span { color: var(--op-muted); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; }
.side-foot i { display: block; width: 28px; height: 3px; background: var(--op-orange); border-radius: 2px; margin-top: 10px; }

html.op-collapsed .sidebar,
.shell.collapsed .sidebar { padding: 12px 8px 16px; }
html.op-collapsed .side-kicker,
.shell.collapsed .side-kicker {
  opacity: 0;
  max-height: 0;
  padding: 0;
}
html.op-collapsed .nav a,
.shell.collapsed .nav a,
html.op-collapsed .nav .side-promo,
.shell.collapsed .nav .side-promo {
  justify-content: center;
  padding: 12px 0;
  gap: 0;
}
html.op-collapsed .nav-label,
.shell.collapsed .nav-label {
  max-width: 0;
  width: 0;
  min-width: 0;
  flex: 0 0 0;
  opacity: 0;
  pointer-events: none;
}
html.op-collapsed .nav a:hover,
.shell.collapsed .nav a:hover {
  transform: translateY(-2px) scale(1.08);
}
html.op-collapsed .nav-badge,
.shell.collapsed .nav-badge {
  top: 4px;
  right: 10px;
}
html.op-collapsed .side-foot strong,
html.op-collapsed .side-foot span,
.shell.collapsed .side-foot strong,
.shell.collapsed .side-foot span {
  opacity: 0;
  height: 0;
}
html.op-collapsed .side-ad,
.shell.collapsed .side-ad { display: none; }
html.op-collapsed .side-foot,
.shell.collapsed .side-foot {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding: 14px 0 6px;
}
html.op-collapsed .side-foot i,
.shell.collapsed .side-foot i { margin-top: 0; }

.content {
  padding: 16px 22px 18px;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.content > * { flex-shrink: 0; }
/* Messages (and similar fill pages): stretch to the bottom of the kiosk shell */
.content:has(.msg-page) {
  overflow: hidden;
}
.content > .msg-page {
  flex: 1 1 0%;
  min-height: 0;
  align-self: stretch;
}

.session-warn {
  display: none;
  background: rgba(255,90,0,.08);
  border: 1px solid var(--op-orange);
  color: #ffb48a;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-weight: 600;
}
.session-warn.show { display: flex; align-items: center; gap: 10px; }
.session-warn p { margin: 0; flex: 1; }
.session-warn .warn-ico {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,90,0,.18);
  color: var(--op-orange);
}
.session-warn .x { margin-left: auto; background: none; border: 0; color: var(--op-muted); font-size: 20px; cursor: pointer; }
.order-flag {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; padding: 12px 16px; border-radius: 10px;
  background: var(--op-orange); color: #fff; font-weight: 800; font-size: 16px;
  letter-spacing: .01em; text-decoration: none; cursor: pointer;
}
.order-flag:hover { filter: brightness(1.05); color: #fff; }
.order-flag[hidden] { display: none; }
.time-corner {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(17, 20, 23, .92); color: var(--op-orange);
  border: 1px solid var(--op-orange); font-weight: 800; font-size: 18px;
  pointer-events: none; letter-spacing: .04em;
}
.time-corner[hidden] { display: none; }
.logout-promo { margin: 12px 0 0; color: #ffb48a; font-weight: 700; }
.pr-low, .cf-stock { display: block; color: var(--op-orange); font-size: 12px; font-weight: 700; }
.lock-clock { color: var(--op-orange); font-size: 72px; font-weight: 800; line-height: 1; margin: 0 0 8px; letter-spacing: .03em; }

.hero { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.hello { margin: 0; color: var(--op-text-secondary); font-size: 18px; }
.hello strong { display: block; color: #fff; font-size: 34px; line-height: 1.1; }
.hello em { display: block; font-style: normal; color: var(--op-muted); font-size: 13px; margin-top: 4px; }
html.is-dash-photo body { background: var(--dash-photo) center / cover no-repeat fixed; }
html.is-dash-photo .topbar,
html.is-dash-photo .sidebar { background: color-mix(in srgb, var(--op-bg-secondary) 86%, transparent); }
html[data-dash-theme="light"] .hello strong,
html[data-dash-theme="light"] .tagline,
html[data-dash-theme="light"] .top-right { color: var(--op-text); }
.brand-lockup .onlypass-logo.is-shop { height: 36px; width: 36px; object-fit: contain; border-radius: 8px; }
.shop-mark {
  flex: none; width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--op-orange) 22%, #111);
  border: 1px solid color-mix(in srgb, var(--op-orange) 45%, #333);
  color: var(--op-orange); font-weight: 800; font-size: 12px; letter-spacing: .04em;
}
.acct-brand {
  margin: 0 auto 12px;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
  text-align: left;
}
.acct-brand .brand-text {
  min-width: 0;
  flex: 1 1 auto;
}
.acct-brand .name.is-shop {
  max-width: none;
  width: 100%;
  font-size: 14px;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
}
.when { text-align: right; color: var(--op-text-secondary); }
.when b { display: block; color: var(--op-text-secondary); font-weight: 500; font-size: 13px; }
.when #phClock { display: block; color: #fff; font-size: 28px; font-weight: 800; margin-top: 2px; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 12px; }
.stat {
  background: var(--op-card);
  border: 1px solid var(--op-border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 96px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.stat-ico {
  width: 36px; height: 36px; flex: 0 0 36px;
  display: grid; place-items: center;
  color: var(--op-text-secondary);
}
.stat-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stat .lbl { color: var(--op-text-secondary); font-size: 13px; margin-bottom: 6px; }
.stat .val { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat .val.orange { color: var(--op-orange); }
.stat .units { display: flex; gap: 18px; color: var(--op-muted); font-size: 9px; letter-spacing: .08em; margin-top: 4px; }

.tiles { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.tile {
  background: var(--op-card);
  border: 1px solid var(--op-border);
  border-radius: 12px;
  padding: 16px 8px 14px;
  min-height: 86px;
  text-align: center;
  position: relative;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tile:hover {
  background: var(--op-card-hover);
  transform: translateY(-4px);
  border-color: rgba(255,90,0,.45);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}
.tile svg { width: 22px; height: 22px; stroke: var(--op-text-secondary); fill: none; stroke-width: 1.8; margin: 0 auto; display: block; transition: transform .2s ease, stroke .2s ease; }
.tile:hover svg { transform: scale(1.12); stroke: var(--op-orange); }
.tile strong { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .06em; color: var(--op-text-secondary); font-weight: 700; transition: color .2s ease; }
.tile:hover strong { color: #fff; }
.stat:hover { transform: translateY(-3px); border-color: rgba(255,90,0,.35); box-shadow: 0 8px 18px rgba(0,0,0,.22); }

.bp-hero, .bp-page, .bp-modal {
  background:
    radial-gradient(ellipse 55% 140% at 0% 50%, rgba(255,90,0,.42), transparent 58%),
    radial-gradient(ellipse 40% 80% at 100% 0%, rgba(255,90,0,.18), transparent 50%),
    linear-gradient(90deg, #1c0d06 0%, #0c0d10 48%, #08090b 100%);
  border: 1px solid var(--op-orange);
  color: #fff;
}
.bp-hero {
  border-radius: 16px;
  padding: 12px 18px;
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) auto 220px;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease;
}
.bp-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(255,90,0,.22);
  filter: saturate(1.08);
}
.bp-left { display: flex; gap: 12px; align-items: center; }
.bp-crown {
  height: 52px; width: 52px; object-fit: contain; display: block; background: transparent;
  transition: transform .3s ease;
}
.bp-hero:hover .bp-crown { animation: bpCrown .7s ease-in-out infinite; }
@keyframes bpCrown {
  0%, 100% { transform: translateY(0) rotate(-6deg) scale(1); }
  50% { transform: translateY(-5px) rotate(6deg) scale(1.08); }
}
.bp-title { font-size: 22px; font-weight: 800; letter-spacing: .06em; }
.bp-season { color: var(--op-text-secondary); margin-top: 2px; font-size: 13px; }
.bp-copy { flex: 1; min-width: 0; }
.bp-progress-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; width: 100%; }
.bp-xp-wrap { flex: 1; min-width: 140px; }
.bp-level { color: var(--op-orange); font-weight: 800; font-size: 22px; white-space: nowrap; }
.bp-level small { display: block; color: var(--op-muted); font-size: 9px; letter-spacing: .14em; font-weight: 700; }
.bp-xp { color: #fff; font-size: 12px; margin-bottom: 6px; font-weight: 600; }
.bp-mid { border-left: 1px solid rgba(255,255,255,.12); border-right: 1px solid rgba(255,255,255,.12); padding: 0 18px; }
.bp-up { color: var(--op-text-secondary); font-size: 12px; margin-bottom: 10px; }
.bp-rewards { display: flex; gap: 8px; }
.bp-reward {
  width: 78px; text-align: center; color: var(--op-text-secondary); font-size: 10px; line-height: 1.25;
  background: transparent;
  border: 0;
  border-radius: 10px;
  padding: 2px 4px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.bp-hero:hover .bp-reward { transform: translateY(-4px); }
.bp-reward:hover { border-color: var(--op-orange); background: rgba(255,90,0,.12); }
.bp-reward img {
  width: 56px; height: 56px; object-fit: contain;
  display: block; margin: 0 auto 6px; background: transparent;
  transition: transform .22s ease;
}
.bp-reward:hover img { transform: scale(1.12); }
.bp-right { text-align: right; }
.bp-cta-copy { color: var(--op-orange); font-weight: 800; letter-spacing: .04em; margin-bottom: 12px; font-size: 13px; }
.bp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.bp-hero:hover .bp-btn, .bp-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 22px rgba(255,90,0,.38);
  filter: brightness(1.08);
}
.bp-btn svg { width: 18px; height: 18px; fill: #fff; }

.bar { height: 8px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--op-orange-light), var(--op-orange)); transition: box-shadow .25s ease, filter .25s ease; }
.bp-hero:hover .bar span { filter: brightness(1.15); box-shadow: 0 0 14px rgba(255,90,0,.55); }

.hm-cafe { margin-top: 18px; padding-bottom: 10px; flex-shrink: 0; }
.hm-cafe-head {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin-bottom: 16px;
}
.hm-cafe-title { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.hm-cafe-ico {
  width: 20px; height: 20px; margin-top: 4px; color: #fff;
  display: grid; place-items: center; flex: 0 0 auto;
}
.hm-cafe-ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-cafe-title h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.15; }
.hm-cafe-title p { margin: 3px 0 0; color: #8b9299; font-size: 12px; }
.hm-cafe-nav { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; justify-content: flex-end; }
.hm-cafe-tabs { display: flex; gap: 8px; flex-wrap: nowrap; }
.hm-cafe-tabs button {
  border: 0; background: #16181c; color: #d0d5da; border-radius: 999px;
  padding: 8px 16px; font-weight: 700; font-size: 13px; cursor: pointer; line-height: 1.2;
}
.hm-cafe-tabs button.on { background: #ff6a00; color: #fff; }
.hm-cafe-more {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid #e8eaed; background: transparent; color: #fff;
  font-weight: 700; font-size: 13px; white-space: nowrap;
}
.hm-cafe-more span { color: #fff; }
.hm-cafe-more:hover { border-color: #fff; background: rgba(255,255,255,.04); }
.hm-cafe-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.hm-cafe-empty { grid-column: 1 / -1; color: var(--op-muted); margin: 0; padding: 18px 0; }
.hm-cafe-card {
  background: transparent; border: 0; border-radius: 0;
  padding: 0; display: flex; flex-direction: column; min-width: 0;
}
.hm-cafe-card[hidden] { display: none !important; }
.hm-cafe-pic {
  height: 148px; border-radius: 14px; background: transparent; overflow: hidden;
  display: grid; place-items: center; margin-bottom: 12px;
}
.hm-cafe-pic img { max-width: 100%; max-height: 148px; width: auto; height: auto; object-fit: contain; }
.hm-cafe-pic .ph svg { width: 36px; height: 36px; stroke: var(--op-muted); fill: none; stroke-width: 1.6; }
.hm-cafe-card strong { font-size: 15px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.hm-cafe-card em {
  color: #8b9299; font-style: normal; font-size: 12px; line-height: 1.35; margin: 4px 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hm-cafe-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.hm-cafe-buy b { font-size: 15px; font-weight: 800; color: #fff; }
.hm-order {
  height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: #ff6a00; color: #fff;
  font-weight: 800; font-size: 12px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.hm-order svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 1.8; }
.hm-order:hover { background: #ff7a1a; }
@media (max-width: 1400px) {
  .hm-cafe-head { flex-wrap: wrap; }
  .hm-cafe-nav { flex-wrap: wrap; }
  .hm-cafe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hm-cafe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bp-modal {
  width: 760px;
  max-width: calc(100% - 32px);
  border-radius: 18px;
  padding: 22px 26px 24px;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(255,90,0,.55), transparent 58%),
    linear-gradient(180deg, #2a1206 0%, #120d0b 38%, #08090b 100%);
}
.bp-modal-logo { margin-bottom: 8px; }
.bp-modal-head { display: flex; justify-content: center; align-items: center; gap: 10px; text-align: left; margin: 6px 0 16px; }
.bp-modal-head img { height: 48px; width: 48px; object-fit: contain; background: transparent; }
.bp-modal-head h2 { margin: 0; font-size: 28px; letter-spacing: .08em; }
.bp-modal-head p { margin: 2px 0 0; color: var(--op-orange); font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.bp-modal-welcome { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.bp-modal-welcome strong { display: block; font-size: 20px; }
.bp-modal-welcome span { color: var(--op-text-secondary); font-size: 13px; }
.bp-season-tag { text-align: right; }
.bp-season-tag b { display: block; color: var(--op-orange); letter-spacing: .12em; }
.bp-season-tag em { color: var(--op-muted); font-style: normal; font-size: 11px; }
.bp-modal-stats { display: grid; grid-template-columns: 1.5fr .7fr; gap: 10px; margin-bottom: 18px; }
.bp-level-card, .bp-next-card, .bp-item {
  background: rgba(8,10,12,.55);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
}
.bp-level-card {
  display: grid;
  grid-template-columns: 48px auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.bp-level-card img { height: 36px; width: 36px; object-fit: contain; background: transparent; }
.bp-next-card { padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; }
.bp-modal-stats { display: grid; grid-template-columns: 1.7fr .55fr; gap: 10px; margin-bottom: 18px; }
.bar { height: 10px; }
.bp-next-card { padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.bp-next-card span { color: var(--op-text-secondary); font-size: 12px; }
.bp-next-card strong { color: var(--op-orange); font-size: 26px; }
.bp-featured-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.bp-featured-head h3, .bp-featured-title { margin: 0; font-size: 14px; }
.bp-featured-head a { color: var(--op-orange); font-size: 13px; font-weight: 700; }
.bp-item {
  position: relative;
  padding: 18px 12px 14px;
  text-align: center;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(8,10,12,.55);
  border: 1px solid rgba(255,255,255,.08);
}
.bp-item img { height: 72px; width: auto; max-width: 100%; object-fit: contain; margin: 4px auto 10px; display: block; background: transparent; }
.bp-item strong { font-size: 14px; font-weight: 800; color: #fff; }
.bp-pts { color: #ffb48a; font-size: 12px; font-style: normal; font-weight: 800; }
.bp-item span { display: block; color: var(--op-muted); font-size: 12px; margin-top: 6px; }
.bp-tier {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 5px;
  color: #8b939c; font-size: 12px; font-weight: 600; margin-top: 6px;
}
.bp-tier svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.bp-item.is-locked { opacity: .92; }
.bp-item.is-claimed {
  background: linear-gradient(180deg, #10261a 0%, #0c1a13 100%);
  border-color: #1f8a4d;
  box-shadow: 0 0 0 1px rgba(47, 211, 111, .12), 0 10px 24px rgba(16, 80, 40, .18);
}
.bp-item.is-ready {
  border: 2px solid transparent;
  background:
    linear-gradient(#14181d, #14181d) padding-box,
    conic-gradient(from var(--promo-a), #24303a 0deg, #ff5a00 32deg, #ffc08a 58deg, #ff5a00 86deg, #24303a 130deg) border-box;
  box-shadow: 0 0 14px rgba(255,90,0,.35);
  animation: promo-run 1.6s linear infinite;
}
.bp-badge {
  position: absolute; top: 10px; left: 10px; width: 22px; height: 22px;
}
.bp-badge svg { width: 22px; height: 22px; fill: #2fd36f; }
.bp-badge svg path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bp-tick {
  position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; color: #2fd36f;
}
.bp-tick svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bp-claimed {
  margin-top: 10px !important;
  height: 28px; padding: 0 12px; border-radius: 999px;
  background: #14351f; color: #2fd36f !important; border: 1px solid #1f8a4d;
  display: inline-flex !important; align-items: center; gap: 6px;
  font-size: 12px !important; font-weight: 800;
}
.bp-claimed svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.bp-claim { margin-top: 10px; height: 32px; padding: 0 16px; border-radius: 8px; font-size: 12px; }
.bp-toast {
  display: flex; align-items: center; gap: 12px;
  background: #123322; border: 1px solid #1f8a4d; color: #d8f7e6;
  border-radius: 10px; padding: 12px 14px; margin: 0 0 16px;
}
.bp-toast-ico { width: 28px; height: 28px; flex: 0 0 auto; }
.bp-toast-ico svg { width: 28px; height: 28px; fill: #2fd36f; }
.bp-toast-ico svg path { fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.bp-toast b { display: block; color: #fff; font-size: 14px; font-weight: 800; }
.bp-toast small { display: block; color: #b7f0d0; font-size: 12px; margin-top: 2px; }
.bp-toast-x {
  margin-left: auto; border: 0; background: none; color: #d8f7e6;
  font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px;
}
.bp-modal-actions { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.bp-page { border-radius: 16px; padding: 22px 26px; }
.bp-page .bp-grid { margin-top: 12px; }
.bp-grid-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}

.btn { border: 0; border-radius: 8px; padding: 10px 16px; cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease; }
.btn-primary { background: var(--op-orange); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(255,90,0,.32); }
.btn-secondary { background: #22262b; color: #fff; border: 1px solid var(--op-border); }
.btn-secondary:hover { background: #2b3138; transform: translateY(-1px); }
.btn-danger { background: var(--op-danger); color: #fff; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.btn-wide { width: 100%; }

.window, .card, .info, .order, .acct-card {
  background: var(--op-card);
  border: 1px solid var(--op-border);
  border-radius: 10px;
}
.window { padding: 18px; }
.window-title { margin: 0 0 8px; font-size: 18px; }
.page-sub { margin: 0 0 16px; color: var(--op-text-secondary); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.field { display: grid; grid-template-columns: 130px 1fr; gap: 8px; align-items: center; }
.field.stack { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.field label { color: var(--op-text-secondary); font-size: 12px; }
.field input, .field textarea, .field select {
  background: #12151a; color: #fff; border: 1px solid var(--op-border);
  border-radius: 8px; padding: 9px 10px; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--op-orange); }
.field input[readonly] { color: var(--op-text-secondary); }
.form-grid .span-2 { grid-column: 1 / -1; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.action { background: var(--op-card); border: 1px solid var(--op-border); border-radius: 8px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; }
.action input[type=number] { width: 88px; background: #12151a; color: #fff; border: 1px solid var(--op-border); border-radius: 6px; padding: 6px 8px; }

.tips ul { margin: 8px 0 0; padding: 0; list-style: none; }
.tips li { position: relative; padding-left: 18px; margin: 4px 0; }
.tips li::before { content: "✓"; position: absolute; left: 0; color: var(--op-orange); font-weight: 800; }

.alert { padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }
.alert-ok { background: #123322; color: #b7f0d0; }
.alert-err { background: #3a1a16; color: #ffc9c0; }

.acct-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 14px; }
.acct-main { display: grid; gap: 14px; }
.otp-row { display: flex; gap: 8px; align-items: center; }
.otp-row input { flex: 1; }
.acct-card { padding: 18px; text-align: center; }
.acct-card .meta { text-align: left; margin-top: 14px; color: var(--op-text-secondary); font-size: 12px; }
.acct-card .meta b { display: block; color: #fff; font-size: 14px; margin: 2px 0 8px; }

.chat-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 12px; min-height: calc(100vh - 140px); }
.convo { padding: 12px; }
.convo a { display: block; padding: 10px; border-radius: 8px; color: var(--op-text-secondary); margin-bottom: 4px; }
.convo a.active { background: rgba(255,90,0,.16); color: #fff; }
.chat { display: grid; grid-template-rows: auto 1fr auto; }
.chat-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--op-border); margin-bottom: 10px; }
.online { width: 8px; height: 8px; border-radius: 50%; background: var(--op-success); }
.chat-log { overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.bubble { max-width: 70%; padding: 10px 12px; border-radius: 10px; }
.bubble.staff { background: #1a1f24; align-self: flex-start; }
.bubble.me { background: var(--op-orange); color: #fff; align-self: flex-end; }
.bubble time { display: block; opacity: .75; font-size: 11px; margin-top: 4px; }
.chat-input { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--op-border); }
.chat-input input { flex: 1; background: #12151a; color: #fff; border: 1px solid var(--op-border); border-radius: 8px; padding: 10px 12px; }

.tips { color: var(--op-text-secondary); font-size: 13px; margin: 12px 0; }
.counter { color: var(--op-muted); font-size: 12px; text-align: right; }

.cafeteria { display: grid; grid-template-columns: 1fr 300px; gap: 14px; }
.cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cat { background: #12151a; border: 1px solid var(--op-border); color: var(--op-text-secondary); border-radius: 8px; padding: 7px 12px; }
.cat.active { background: var(--op-orange); color: #fff; border-color: var(--op-orange); }

/* Client Orders (under Product) */
.co-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.co-title { display: flex; align-items: flex-start; gap: 12px; }
.co-title h1 { margin: 0; font-size: 28px; }
.co-title p { margin: 4px 0 0; color: var(--op-text-secondary); }
.co-ico {
  width: 36px; height: 36px; flex: 0 0 36px;
  display: grid; place-items: center; color: var(--op-orange);
}
.co-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.co-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.co-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.co-chips button {
  background: #12151a; border: 1px solid var(--op-border); color: var(--op-text);
  border-radius: 99px; padding: 8px 14px; font-weight: 700; font-size: 13px; cursor: pointer;
}
.co-chips button.on { background: var(--op-orange); border-color: var(--op-orange); color: #fff; }
.co-panel {
  background: var(--op-panel); border: 1px solid var(--op-border); border-radius: 14px;
  padding: 6px 16px; min-height: 220px;
}
.co-empty { text-align: center; padding: 48px 16px; color: var(--op-text-secondary); }
.co-empty b { display: block; color: var(--op-text); font-size: 18px; margin-bottom: 6px; }
.co-empty p { margin: 0 0 16px; }
.co-none { margin: 24px 0; color: var(--op-text-secondary); text-align: center; }
.co-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--op-border);
}
.co-row:last-child { border-bottom: 0; }
.co-main { min-width: 0; display: grid; gap: 2px; }
.co-main strong { font-size: 15px; }
.co-main small { color: var(--op-text-secondary); font-size: 12px; }
.co-main em { font-style: normal; font-size: 12px; color: var(--op-muted); }
.co-total { font-weight: 800; white-space: nowrap; }
.co-st {
  justify-self: end; min-width: 92px; text-align: center;
  border-radius: 99px; padding: 6px 10px; font-size: 12px; font-weight: 800; font-style: normal;
}
.co-st.st-New { background: rgba(59, 130, 246, .18); color: #60a5fa; }
.co-st.st-Preparing { background: rgba(245, 158, 11, .18); color: #fbbf24; }
.co-st.st-Completed { background: rgba(41, 199, 111, .18); color: #29c76f; }
@media (max-width: 720px) {
  .co-row { grid-template-columns: 1fr auto; }
  .co-st { grid-column: 1 / -1; justify-self: start; }
}

.pr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.pr-title { display: flex; align-items: flex-start; gap: 12px; }
.pr-title h1 { margin: 0; font-size: 28px; }
.pr-title p { margin: 4px 0 0; color: var(--op-text-secondary); }
.pr-ico {
  width: 36px; height: 36px; flex: 0 0 36px;
  display: grid; place-items: center; color: var(--op-orange);
}
.pr-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pr-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.pr-cats { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.pr-cat {
  background: #12151a; border: 1px solid var(--op-border); color: #fff;
  border-radius: 99px; padding: 8px 16px; font-weight: 700; font-size: 13px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.pr-cat:hover { transform: translateY(-1px); border-color: var(--op-orange); }
.pr-cat.active { background: var(--op-orange); color: #fff; border-color: var(--op-orange); }
.pr-search {
  width: 260px; flex: 0 0 260px;
  display: flex; align-items: center; gap: 8px;
  background: #12151a; border: 1px solid var(--op-border); border-radius: 99px;
  padding: 0 14px;
}
.pr-search svg { width: 16px; height: 16px; stroke: var(--op-muted); fill: none; stroke-width: 1.8; flex: 0 0 16px; }
.pr-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: #fff;
  padding: 10px 0; outline: none;
}
.pr-body { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
.pr-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.pr-card {
  background: #12151a; border: 1px solid var(--op-border); border-radius: 14px;
  padding: 12px 12px 14px; display: grid; gap: 8px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pr-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,90,0,.45);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}
.pr-card[hidden] { display: none !important; }
.pr-card-media {
  height: 124px; display: grid; place-items: center;
  background: transparent; border-radius: 10px;
}
.pr-card-media img {
  max-height: 112px; max-width: 100%; object-fit: contain;
  display: block; background: transparent;
}
.pr-card-ph { color: var(--op-muted); display: grid; place-items: center; }
.pr-card-ph svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.pr-card strong { font-size: 13px; font-weight: 700; }
.pr-card em { color: var(--op-orange); font-style: normal; font-weight: 800; font-size: 14px; }
.pr-card .btn { width: 100%; padding: 8px 10px; border-radius: 9px; }
.pr-empty { color: var(--op-muted); padding: 48px 0; text-align: center; }
.pr-order {
  background: var(--op-card); border: 1px solid var(--op-border); border-radius: 16px;
  padding: 16px; position: sticky; top: 12px;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.pr-order.catch {
  border-color: var(--op-orange);
  box-shadow: 0 0 0 1px rgba(255,90,0,.45), 0 12px 28px rgba(255,90,0,.18);
}
.pr-order-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.pr-order-head h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 18px; }
.pr-order-head h3 svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.pr-clear {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; color: var(--op-text-secondary); cursor: pointer; font-weight: 700; font-size: 13px;
}
.pr-clear svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.pr-clear:hover { color: #fff; }
.pr-clear[disabled] { opacity: .45; cursor: default; }
.pr-order-cols {
  display: grid; grid-template-columns: 40px minmax(0,1.2fr) 56px 58px 62px;
  color: var(--op-muted); font-size: 12px; font-weight: 700;
  padding: 0 0 8px; border-bottom: 1px solid var(--op-border);
}
.pr-order-cols span:first-child { grid-column: 1 / 3; }
.pr-order-empty {
  text-align: center; color: var(--op-muted); padding: 28px 8px 20px;
}
.pr-order-empty svg { width: 42px; height: 42px; stroke: currentColor; fill: none; stroke-width: 1.6; margin: 0 auto 8px; display: block; opacity: .7; }
.pr-order-empty strong { display: block; color: var(--op-text-secondary); margin-bottom: 4px; }
.pr-lines { display: grid; gap: 10px; padding: 10px 0; max-height: 360px; overflow: auto; }
.pr-line {
  display: grid; grid-template-columns: 40px minmax(0,1.2fr) 56px 58px 62px; gap: 6px;
  align-items: center; font-size: 12px;
}
.pr-line img {
  width: 40px; height: 40px; object-fit: contain; background: #0e1115;
  border-radius: 8px; border: 1px solid var(--op-border);
}
.pr-line .ph {
  width: 40px; height: 40px; border-radius: 8px; background: #0e1115;
  border: 1px solid var(--op-border); display: grid; place-items: center; color: var(--op-muted);
}
.pr-line .ph svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.pr-line strong { font-size: 12px; line-height: 1.25; display: block; }
.pr-line em { font-style: normal; font-weight: 800; color: #fff; text-align: right; }
.pr-qty { display: flex; align-items: center; gap: 4px; }
.pr-qty button {
  width: 22px; height: 22px; border-radius: 6px; background: #222; color: #fff;
  border: 1px solid var(--op-border);
}
.pr-fly {
  position: fixed; z-index: 80; pointer-events: none; object-fit: contain;
  border-radius: 12px;
  transition: transform .58s cubic-bezier(.22,.82,.28,1), opacity .58s ease;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.5));
}
.pr-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin: 8px 0 12px; font-size: 16px; padding-top: 10px; border-top: 1px solid var(--op-border);
}
.pr-subtotal strong { color: var(--op-orange); font-size: 20px; }
.pr-pay-row { display: grid; gap: 8px; }
.pr-pay { gap: 8px; padding: 12px 16px; border-radius: 10px; }
.pr-pay svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.pr-note {
  margin-top: 14px; background: #12151a; border: 1px solid var(--op-border);
  border-radius: 12px; padding: 12px 14px;
}
.pr-note strong { display: flex; align-items: center; gap: 8px; color: var(--op-orange); margin-bottom: 8px; }
.pr-note svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.pr-note ul { margin: 0; padding: 0 0 0 16px; color: var(--op-text-secondary); font-size: 12px; line-height: 1.55; }
.pr-modal {
  width: 420px; background: var(--op-card); border: 1px solid var(--op-border);
  border-radius: 16px; padding: 22px 24px;
}
.pr-modal h2 { margin: 0 0 12px; }
.pr-modal p { color: var(--op-text-secondary); margin: 6px 0; }
.pr-modal p strong { color: #fff; }
.pr-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,90,0,.16), transparent 38%),
    var(--op-bg);
}
.auth-card { width: 420px; background: var(--op-card); border: 1px solid var(--op-border); border-radius: 14px; padding: 36px 32px 28px; text-align: center; }
.auth-lockup { justify-content: center; gap: 6px; margin-bottom: 6px; }
.auth-lockup .onlypass-logo { margin: 0; height: 88px; max-height: 88px; }
.auth-lockup h1, .auth-lockup .name { font-size: 40px; letter-spacing: -.03em; text-align: left; }
.auth-lockup .sub { text-align: left; margin-top: 4px; }
.auth-card .sub { color: var(--op-muted); letter-spacing: .22em; font-size: 11px; margin: 6px 0 0; }
.auth-card .sub.thin { letter-spacing: .12em; margin-bottom: 8px; }
.auth-tag { color: var(--op-text-secondary); font-size: 11px; letter-spacing: .12em; margin: 0 0 18px; }
.auth-foot { color: var(--op-muted); font-size: 11px; margin: 18px 0 0; }
.auth-card .field { text-align: left; margin-bottom: 12px; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tabs a { flex: 1; padding: 8px; border-radius: 8px; border: 1px solid var(--op-border); color: var(--op-text-secondary); }
.tabs a.active { border-color: var(--op-orange); color: #fff; }
.extra { display: flex; justify-content: space-between; color: var(--op-muted); font-size: 12px; margin: 8px 0 16px; }

body.lg-body { overflow: auto; background: #07080a; }
.lg-ads-count {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  margin: 0; padding: 8px 12px; border-radius: 999px;
  background: rgba(11, 15, 20, .82); border: 1px solid rgba(255,90,0,.45);
  color: #d7dde3; font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.lg-page .lg-ads-count.lg-shut,
.lg-page .lg-shut {
  position: static !important;
  right: auto;
  bottom: auto;
  display: block;
  width: 100%;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  z-index: auto;
  color: #9aa2aa;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.lg-page .lg-shut[hidden] { display: none !important; }
.lg-branch { margin: 0 0 22px; }
.lg-branch h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.lg-branch .sub { letter-spacing: .28em; font-size: 10px; color: #9aa2aa; margin-top: 6px; font-weight: 700; }
.lg-powered {
  position: fixed;
  right: 22px;
  bottom: 16px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(7, 8, 10, .88);
  border: 1px solid #2a3036;
  color: #8b939c;
  font-size: 12px;
  font-weight: 600;
}
.lg-powered img { height: 28px; width: auto; }
.lg-powered b { color: #fff; font-size: 20px; letter-spacing: -.04em; line-height: .9; }
.lg-powered b span { color: #ff5a00; }
.lg-adwall {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: #000;
}
.lg-adwall[hidden] { display: none; }
.lg-adwall img, .lg-adwall video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.lg-adwall-dismiss {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.lg-adwall-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 28px 22px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  color: #fff;
  font-weight: 700;
}
.lg-page.is-maint .lg-form { pointer-events: none; }
.lg-ads-count[hidden] { display: none; }
.lg-ads-count b { color: #ff8a3d; }
.lg-ad-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  background: #000;
  overflow: hidden;
}
.lg-ad-stage img,
.lg-ad-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #000;
}
.lg-ad-empty {
  margin: 0;
  color: #8b939c;
  font-size: 14px;
  font-weight: 600;
}
.lg-ad-empty[hidden] { display: none; }
.lg-maint {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: rgba(7, 8, 10, .94);
  color: #fff;
  pointer-events: auto;
  overflow: auto;
}
.lg-maint[hidden] { display: none; }
.lg-maint-card {
  width: min(560px, 100%);
  display: grid;
  gap: 12px;
  padding: 22px 22px 18px;
  border: 1px solid #2a3640;
  border-radius: 18px;
  background: #12181f;
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
}
.lg-maint-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.lg-maint-head strong {
  font-size: 24px; letter-spacing: -.03em; font-weight: 800;
}
.lg-maint-head span {
  color: #ff5a00; font-size: 13px; font-weight: 800;
}
.lg-maint-sub {
  margin: 0; color: #8b939c; font-size: 13px; font-weight: 600; line-height: 1.45;
}
.lg-maint-pass {
  display: grid; gap: 6px; color: #c5ccd3; font-size: 12px; font-weight: 700;
}
.lg-maint-pass input {
  height: 42px; border-radius: 10px; border: 1px solid #2a3640;
  background: #0c1116; color: #fff; padding: 0 12px; font-weight: 600;
}
.lg-maint-pass input:focus {
  outline: none; border-color: #ff5a00; box-shadow: 0 0 0 3px rgba(255,90,0,.16);
}
.lg-maint-err {
  margin: 0; color: #ff7b7b; font-size: 12px; font-weight: 700;
}
.lg-maint-err[hidden] { display: none; }
.lg-maint-list {
  max-height: min(42vh, 360px); overflow: auto;
  border: 1px solid #24303a; border-radius: 12px; background: #0c1116; padding: 8px;
}
.lg-maint-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lg-maint-list li {
  padding: 10px 12px; border-radius: 10px; border: 1px solid #1c242c; background: #12181f;
}
.lg-maint-list b { display: block; color: #ff5a00; font-size: 11px; }
.lg-maint-list em { display: block; font-style: normal; color: #8b939c; font-size: 11px; font-weight: 700; }
.lg-maint-list p { margin: 6px 0 8px; color: #fff; font-size: 14px; font-weight: 600; white-space: pre-wrap; }
.lg-maint-list button {
  height: 34px; padding: 0 12px; border: 0; border-radius: 8px;
  background: #ff5a00; color: #fff; font-weight: 800; cursor: pointer;
}
.lg-maint-list button:hover { background: #ff6a00; }
.lg-maint-list button:disabled { opacity: .55; cursor: default; }
.lg-maint-list .ok { color: #4ade80; font-size: 12px; font-weight: 800; }
.lg-maint-list .fixed { color: #60a5fa; font-size: 12px; font-weight: 800; }
.lg-maint-empty { margin: 14px 8px; color: #8b939c; font-size: 13px; font-weight: 600; text-align: center; }
.lg-maint-refresh {
  height: 40px; border-radius: 10px; border: 1px solid #ff5a00;
  background: transparent; color: #ff5a00; font-weight: 800; cursor: pointer;
}
.lg-maint-refresh:hover { background: #191108; }
.lg-update {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 72;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.lg-update[hidden] { display: none; }
.maint-flag {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2100;
  padding: 8px 14px;
  border-radius: 999px;
  background: #b45309;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  pointer-events: none;
}
.maint-flag[hidden] { display: none !important; }
.lg-page {
  --lg-orange: #ff5a00;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #f3f5f7;
  background:
    radial-gradient(ellipse 42% 36% at 8% -4%, rgba(255,90,0,.22), transparent 58%),
    radial-gradient(ellipse 38% 32% at 92% 108%, rgba(255,90,0,.16), transparent 55%),
    #07080a;
}
.lg-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.lg-ring {
  position: absolute;
  border: 1.6px solid rgba(255,90,0,.42);
  border-radius: 50%;
}
.lg-ring.a { width: 980px; height: 980px; top: -560px; left: -340px; }
.lg-ring.b { width: 1180px; height: 1180px; top: -640px; left: -420px; opacity: .7; }
.lg-ring.c { width: 1380px; height: 1380px; top: -720px; left: -500px; opacity: .45; }
.lg-ring.d { width: 1100px; height: 1100px; bottom: -640px; left: 8%; opacity: .55; }
.lg-ring.e { width: 1320px; height: 1320px; bottom: -760px; left: 2%; opacity: .32; }
.lg-ring.f { width: 920px; height: 920px; right: -280px; bottom: -520px; opacity: .4; }
.lg-split {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(0, 1.18fr);
  min-height: 0;
}
.lg-left {
  display: grid;
  place-items: center;
  padding: 28px 24px 12px 48px;
}
.lg-form { width: 100%; max-width: 400px; }
.lg-lockup { gap: 0; margin: 0 0 28px; }
.lg-lockup .onlypass-logo { height: 52px; max-height: 52px; width: auto; object-fit: contain; margin-right: 1px; }
.lg-lockup h1 { font-size: 42px; letter-spacing: -.04em; line-height: .9; }
.lg-lockup .sub { letter-spacing: .32em; font-size: 10px; color: #9aa2aa; margin-top: 6px; }
.lg-hello { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.lg-lead { margin: 8px 0 22px; color: #8b939c; font-size: 14px; }
.lg-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #10151a;
  border: 1px solid #2c333b;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}
.lg-tabs a {
  text-align: center;
  padding: 11px 8px 12px;
  color: #8b939c;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
.lg-tabs a.active { color: #fff; border-bottom-color: var(--lg-orange); }
.lg-input {
  position: relative;
  display: block;
  margin-bottom: 12px;
}
.lg-input > svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #8b939c;
  pointer-events: none;
}
.lg-input input {
  width: 100%;
  height: 46px;
  background: #12161b;
  color: #fff;
  border: 1px solid #2c333b;
  border-radius: 10px;
  padding: 0 42px 0 42px;
  font-size: 14px;
}
.lg-input input::placeholder { color: #7d868f; }
.lg-input input:focus { outline: none; border-color: var(--lg-orange); box-shadow: 0 0 0 3px rgba(255,90,0,.12); }
.lg-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #8b939c;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.lg-eye svg { width: 18px; height: 18px; }
.lg-eye svg[hidden] { display: none; }
.lg-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 16px;
  font-size: 13px;
}
.lg-check { display: flex; align-items: center; gap: 8px; color: #c5ccd3; cursor: pointer; }
.lg-check input { accent-color: var(--lg-orange); width: 15px; height: 15px; }
.lg-forgot {
  color: var(--lg-orange); font-weight: 600; cursor: pointer;
  background: none; border: 0; padding: 0; font: inherit;
}
.lg-forgot-bg {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(4, 6, 10, .72);
  display: grid; place-items: center; padding: 20px;
}
.lg-forgot-bg[hidden] { display: none !important; }
.lg-forgot-win {
  width: min(420px, calc(100vw - 28px));
  background: #12161c;
  border: 1px solid #2a3340;
  border-radius: 14px;
  padding: 16px 16px 14px;
  color: #e8eef4;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .45);
}
.lg-forgot-win header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.lg-forgot-win h3 { margin: 0; flex: 1; font-size: 17px; font-weight: 800; }
.lg-forgot-x {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid #2a3340;
  background: #1a212b; color: #d5dde6; font-size: 20px; line-height: 1; cursor: pointer;
}
.lg-forgot-lead { margin: 0 0 12px; color: #9aa6b2; font-size: 13px; line-height: 1.45; }
.lg-forgot-field { display: grid; gap: 6px; margin-bottom: 10px; font-size: 12px; font-weight: 700; color: #9aa6b2; }
.lg-forgot-field input {
  height: 42px; border-radius: 10px; border: 1px solid #2a3340; background: #0c1016;
  color: #f1f5f9; padding: 0 12px; font: inherit; font-weight: 600;
}
.lg-forgot-err { margin: 4px 0 10px; color: #ffb48a; font-size: 13px; font-weight: 700; }
.lg-forgot-err.ok { color: #7ddea8; }
.lg-forgot-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.lg-forgot-ghost, .lg-forgot-go {
  height: 38px; border-radius: 10px; padding: 0 14px; font: inherit; font-weight: 700; cursor: pointer;
}
.lg-forgot-ghost { border: 1px solid #2a3340; background: #1a212b; color: #e8eef4; }
.lg-forgot-go { border: 0; background: #ff5a00; color: #fff; }
.lg-forgot-go[hidden], .lg-forgot-ghost[hidden] { display: none !important; }
.lg-forgot-go:disabled { opacity: .55; cursor: default; }
.lg-submit {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: var(--lg-orange);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(255,90,0,.28);
}
.lg-submit svg { width: 18px; height: 18px; }
.lg-submit:hover { filter: brightness(1.06); }
.lg-submit:disabled { opacity: .7; cursor: default; }
.lg-role {
  margin: 22px 0 0;
  text-align: center;
  color: #7a838c;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lg-role::before, .lg-role::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #242a30;
}
.lg-role a { color: #c5ccd3; font-weight: 700; }
.lg-page.is-light .lg-role a { color: #667078; }
.lg-right {
  display: flex;
  flex-direction: column;
  padding: 18px 36px 8px 8px;
  min-width: 0;
  min-height: 0;
}
.lg-theme {
  align-self: flex-end;
  display: flex;
  background: #14181d;
  border: 1px solid #2a3036;
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 12px;
}
.lg-theme button {
  border: 0;
  background: transparent;
  color: #8b939c;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.lg-theme button.on { background: #0b0d10; color: #fff; }
.lg-preview {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #090a0c;
  border: 1px solid #23282e;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.lg-mini-head {
  display: grid;
  grid-template-columns: 176px 1fr;
  align-items: center;
  gap: 0;
  padding: 0;
}
.lg-mini-head .lg-mini-brand {
  background: #0c0e11;
  padding: 14px 14px 8px;
  height: 100%;
}
.lg-mini-head .lg-mini-user {
  justify-content: flex-end;
  padding: 12px 16px 8px;
}
.lg-mini-wrap {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 176px 1fr;
}
.lg-mini-side {
  background: #0c0e11;
  border-right: 1px solid #1e2328;
  padding: 6px 10px 16px;
}
.lg-mini-brand { display: flex; align-items: center; gap: 2px; }
.lg-mini-brand .onlypass-logo { height: 32px; max-height: 32px; width: auto; object-fit: contain; }
.lg-mini-brand .name { font-weight: 800; font-size: 16px; line-height: .9; letter-spacing: -.03em; }
.lg-mini-brand .name span { color: var(--lg-orange); }
.lg-mini-brand .sub { letter-spacing: .16em; font-size: 6px; color: #8b939c; margin-top: 3px; }
.lg-mini-nav { display: grid; gap: 4px; }
.lg-mini-nav button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9aa2aa;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.lg-mini-nav svg { width: 16px; height: 16px; flex: 0 0 16px; }
.lg-mini-nav button.on { background: rgba(255,90,0,.12); color: var(--lg-orange); box-shadow: inset 3px 0 0 var(--lg-orange); }
.lg-mini-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.lg-slides { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.lg-slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  overflow: hidden; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: #0c0e12;
  transition: opacity .35s ease;
}
.lg-slide.on { opacity: 1; pointer-events: auto; }
.lg-shot {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}
.lg-mini-user { display: flex; align-items: center; gap: 8px; color: #d5dbe1; font-size: 12px; font-weight: 600; }
.lg-bell { width: 28px; height: 28px; border: 0; background: transparent; color: #c5ccd3; display: grid; place-items: center; padding: 0; }
.lg-bell svg { width: 16px; height: 16px; }
.lg-ava {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--lg-orange); color: #fff; font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
}
.lg-who small { color: #8b939c; font-size: 10px; }
.lg-mini-body { padding: 8px 16px 16px; }
.lg-greet { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.lg-greet h3 { margin: 0; font-size: 22px; }
.lg-greet p { margin: 4px 0 0; color: #8b939c; font-size: 12px; }
.lg-ready {
  display: inline-flex; align-items: center; gap: 6px;
  background: #12351f; color: #3ee07a; border-radius: 999px;
  padding: 6px 10px; font-size: 12px; font-weight: 700;
}
.lg-ready i { width: 7px; height: 7px; border-radius: 50%; background: #3ee07a; display: block; }
.lg-home-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lg-home-stats article {
  background: #161a1f;
  border: 1px solid #262c33;
  border-radius: 12px;
  padding: 10px 12px;
}
.lg-home-stats span { display: block; color: #9aa2aa; font-size: 11px; font-weight: 600; }
.lg-home-stats b { display: block; margin-top: 6px; font-size: 20px; letter-spacing: -.03em; }
.lg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lg-stats article {
  background: #161a1f;
  border: 1px solid #262c33;
  border-radius: 12px;
  padding: 12px;
}
.lg-stat-k { display: flex; align-items: center; gap: 7px; color: #9aa2aa; font-size: 12px; }
.lg-stat-k svg {
  width: 28px; height: 28px; padding: 5px; box-sizing: border-box;
  border: 1px solid #2c333b; border-radius: 8px; background: #12161b;
}
.lg-stat-r { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 8px; }
.lg-stat-r b { font-size: 28px; letter-spacing: -.04em; line-height: 1; }
.lg-stat-r .up { color: #3ee07a; font-size: 11px; font-weight: 700; text-align: right; }
.lg-stat-r .warn { color: var(--lg-orange); font-size: 11px; font-weight: 700; }
.lg-stat-r small { display: block; color: #7a838c; font-weight: 500; }
.lg-bp {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #4a1c08, #1c1410 32%, #14171b);
  border: 1px solid #3a2416;
}
.lg-bp-l { display: flex; align-items: center; gap: 10px; }
.lg-crown {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--lg-orange); display: grid; place-items: center;
}
.lg-crown svg { width: 18px; height: 18px; }
.lg-bp-l strong { display: block; font-size: 14px; white-space: nowrap; }
.lg-bp-l em { color: #9aa2aa; font-style: normal; font-size: 12px; white-space: nowrap; }
.lg-bp-r { text-align: right; }
.lg-bp-r b { display: block; font-size: 13px; }
.lg-bp-r span { color: var(--lg-orange); font-size: 12px; font-weight: 700; }
.lg-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.lg-shortcuts > span {
  display: flex; align-items: center; gap: 10px;
  background: #161a1f; border: 1px solid #262c33; border-radius: 12px; padding: 12px;
  color: #fff; font-weight: 700; font-size: 13px;
}
.lg-shortcuts svg { width: 18px; height: 18px; color: #c5ccd3; }
.lg-shortcuts small { display: block; color: #8b939c; font-weight: 500; font-size: 11px; margin-top: 2px; }
.lg-shortcuts i { margin-left: auto; color: #8b939c; font-style: normal; }
.lg-promo {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 18px 8px 4px 4px;
}
.lg-promo h2 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.lg-promo p { margin: 6px 0 0; color: #8b939c; font-size: 13px; }
.lg-dots { display: flex; gap: 6px; margin-top: 12px; }
.lg-dots button {
  width: 8px; height: 8px; border-radius: 50%; background: #3a4148; border: 0; padding: 0; cursor: pointer;
}
.lg-dots button.on { background: var(--lg-orange); }
.lg-promo-r { display: grid; justify-items: end; gap: 10px; }
.lg-next {
  border: 0; background: var(--lg-orange); color: #fff; font-weight: 800;
  border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: 12px;
}
.lg-dash-cafe { margin-top: 10px; }
.lg-dash-cafe-h { color: #9aa2aa; font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.lg-dash-cafe-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.lg-dash-item { background: #161a1f; border: 1px solid #262c33; border-radius: 10px; padding: 8px; text-align: center; }
.lg-dash-item img, .lg-dash-item .ph { width: 100%; height: 52px; object-fit: contain; display: block; margin: 0 auto 6px; }
.lg-dash-item .ph { background: #12161b; border-radius: 8px; }
.lg-dash-item strong { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-dash-item em { color: var(--lg-orange); font-style: normal; font-size: 11px; font-weight: 800; }
.lg-pr-head h3 { margin: 0; font-size: 18px; }
.lg-pr-head p { margin: 4px 0 10px; color: #8b939c; font-size: 12px; }
.lg-pr-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lg-pr-cats span {
  background: #161a1f; border: 1px solid #262c33; border-radius: 999px;
  padding: 4px 10px; font-size: 11px; font-weight: 700; color: #c5ccd3;
}
.lg-pr-cats span.on { background: var(--lg-orange); color: #fff; border-color: var(--lg-orange); }
.lg-pr-wrap { display: grid; grid-template-columns: 1fr 160px; gap: 10px; }
.lg-pr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lg-pr-grid article {
  background: #161a1f; border: 1px solid #262c33; border-radius: 10px; padding: 8px;
  display: grid; gap: 6px;
}
.lg-pr-grid img, .lg-pr-grid .ph { width: 100%; height: 56px; object-fit: contain; }
.lg-pr-grid .ph { background: #12161b; border-radius: 8px; }
.lg-pr-grid strong { font-size: 11px; line-height: 1.2; }
.lg-pr-grid em { color: var(--lg-orange); font-style: normal; font-weight: 800; font-size: 12px; }
.lg-pr-grid button {
  border: 0; background: var(--lg-orange); color: #fff; border-radius: 8px;
  font-size: 11px; font-weight: 800; padding: 5px 0; cursor: default;
}
.lg-pr-cart {
  background: #161a1f; border: 1px solid #262c33; border-radius: 10px; padding: 10px;
}
.lg-pr-cart strong { display: block; font-size: 13px; margin-bottom: 6px; }
.lg-pr-cart p { margin: 0; color: #8b939c; font-size: 11px; }
.ui { height: 100%; display: flex; flex-direction: column; background: #0c0e12; color: #f3f5f7; }
.ui-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 36px; padding: 0 12px; border-bottom: 1px solid #1e2328; flex-shrink: 0;
}
.ui-brand { display: flex; align-items: center; gap: 0; min-width: 0; }
.ui-brand img { height: 22px; margin-right: -3px; }
.ui-brand b { display: block; font-size: 14px; letter-spacing: -.04em; line-height: 1; }
.ui-brand span { color: var(--lg-orange); }
.ui-brand small { display: block; color: #8b939c; font-size: 6px; letter-spacing: .16em; margin-top: 2px; }
.ui-pin { display: flex; align-items: center; gap: 5px; color: #c5ccd3; font-size: 11px; font-weight: 700; min-width: 0; }
.ui-pin svg { width: 12px; height: 12px; stroke: var(--lg-orange); fill: none; stroke-width: 1.8; flex: 0 0 12px; }
.ui-pin span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-user { display: flex; align-items: center; gap: 7px; color: #d5dbe1; font-size: 11px; font-weight: 700; }
.ui-user > svg { width: 14px; height: 14px; color: #c5ccd3; }
.ui-user i {
  width: 22px; height: 22px; border-radius: 50%; background: var(--lg-orange); color: #fff;
  display: grid; place-items: center; font-style: normal; font-size: 8px; font-weight: 800;
}
.ui-row { flex: 1; min-height: 0; display: grid; grid-template-columns: 128px 1fr; }
.ui-side { background: #0a0c10; border-right: 1px solid #1e2328; padding: 10px 8px; }
.ui-side nav { display: grid; gap: 3px; }
.ui-side nav span {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px;
  color: #9aa2aa; font-size: 12px; font-weight: 700;
}
.ui-side nav svg { width: 15px; height: 15px; flex: 0 0 15px; }
.ui-side nav span.on { background: rgba(255,90,0,.12); color: var(--lg-orange); box-shadow: inset 3px 0 0 var(--lg-orange); }
.ui-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 10px 14px 12px; overflow: hidden; }
.ui-greet { display: flex; justify-content: space-between; align-items: flex-start; }
.ui-greet.tight { margin-bottom: 0; }
.ui-greet h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.ui-greet p { margin: 3px 0 0; color: #8b939c; font-size: 12px; }
.ui-ready {
  display: inline-flex; align-items: center; gap: 6px;
  background: #12351f; color: #3ee07a; border-radius: 999px;
  padding: 5px 10px; font-size: 11px; font-weight: 800; font-style: normal;
}
.ui-ready b { width: 7px; height: 7px; border-radius: 50%; background: #3ee07a; }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.ui-stats article { background: #14181d; border: 1px solid #232a31; border-radius: 10px; padding: 8px 10px; }
.ui-stat-k { display: flex; align-items: center; gap: 7px; }
.ui-stat-k small { color: #9aa2aa; font-size: 10px; font-weight: 700; }
.ui-stat-k .ico {
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; flex: 0 0 22px;
}
.ui-stat-k .ico svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.ui-stat-k .ico.blue { background: #16324a; color: #5aa8ff; }
.ui-stat-k .ico.gold { background: #3a2d10; color: #f0c14b; }
.ui-stat-k .ico.green { background: #14351f; color: #3ee07a; }
.ui-stat-k .ico.purple { background: #2a1842; color: #c084fc; }
.ui-stat-k .ico.sky { background: #16324a; color: #67d4ff; }
.ui-stat-k .ico.white { background: #23282e; color: #e8edf2; }
.ui-stats b { display: block; margin-top: 6px; font-size: 18px; letter-spacing: -.03em; line-height: 1; }
.ui-bp {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; border-radius: 10px;
  background: linear-gradient(90deg, #4a1c08, #1c1410 38%, #14171b); border: 1px solid #3a2416;
}
.ui-bp-l { display: flex; align-items: center; gap: 8px; }
.ui-crown { width: 28px; height: 28px; border-radius: 8px; background: var(--lg-orange); display: grid; place-items: center; }
.ui-crown svg { width: 15px; height: 15px; fill: #fff; stroke: none; }
.ui-bp-l strong { display: block; font-size: 13px; }
.ui-bp-l em { color: #9aa2aa; font-style: normal; font-size: 11px; }
.ui-bp-r { text-align: right; }
.ui-bp-r b { display: block; font-size: 12px; }
.ui-bp-r em { color: var(--lg-orange); font-style: normal; font-size: 11px; font-weight: 800; }
.ui-menu-h { display: flex; justify-content: space-between; align-items: center; color: #c5ccd3; font-size: 12px; font-weight: 700; }
.ui-menu-h em { color: var(--lg-orange); font-style: normal; font-size: 11px; font-weight: 800; }
.ui-menu { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ui-menu div { text-align: center; min-width: 0; }
.ui-menu img, .ui-menu .ph, .ui-grid img, .ui-grid .ph {
  height: 58px; width: 100%; object-fit: contain; display: block; margin: 0 auto 6px;
}
.ui-menu .ph, .ui-grid .ph { background: #161a1f; border-radius: 8px; }
.ui-menu strong, .ui-grid strong {
  display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ui-menu em, .ui-grid em { color: var(--lg-orange); font-style: normal; font-size: 11px; font-weight: 800; }
.ui-lead { margin: 0; color: #8b939c; font-size: 12px; }
.ui-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-cats span {
  background: #161a1f; border: 1px solid #262c33; border-radius: 999px;
  padding: 4px 9px; font-size: 11px; font-weight: 700; color: #c5ccd3;
}
.ui-cats span.on { background: var(--lg-orange); color: #fff; border-color: var(--lg-orange); }
.ui-shop { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 128px; gap: 12px; }
.ui-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 10px; align-content: start; overflow: hidden; }
.ui-grid article { min-width: 0; display: grid; gap: 3px; text-align: left; }
.ui-grid img, .ui-grid .ph { height: 54px; }
.ui-grid button {
  border: 0; background: var(--lg-orange); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 800; padding: 5px 0; margin-top: 2px;
}
.ui-cart { padding: 2px 0 0 4px; }
.ui-cart b { display: block; margin-bottom: 6px; font-size: 13px; }
.ui-cart small { color: #8b939c; font-size: 11px; line-height: 1.4; }
.ui-lb .ui-row { grid-template-columns: 118px 1fr 108px; }
.ui-admin {
  display: flex; align-items: center; gap: 2px; padding: 4px 8px;
  border-bottom: 1px solid #1e2328; overflow: hidden; flex-shrink: 0;
}
.ui-admin span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 58px; height: 38px; color: #9aa2aa; font-size: 8px; font-weight: 700; border-radius: 8px;
}
.ui-admin span.on { background: rgba(255,90,0,.12); color: var(--lg-orange); }
.ui-admin svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.ui-admin .more { letter-spacing: .2em; font-size: 12px; }
.ui-tools, .ui-setup {
  background: #0a0c10; border-right: 1px solid #1e2328; padding: 8px 8px 10px;
  overflow: hidden; display: flex; flex-direction: column; gap: 5px; min-width: 0;
}
.ui-setup { border-right: 0; border-left: 1px solid #1e2328; }
.ui-tools small, .ui-setup small { color: #8b939c; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.ui-tools p, .ui-setup p { margin: 0; color: #6d767e; font-size: 9px; line-height: 1.3; }
.ui-tpl { display: flex; align-items: center; gap: 6px; color: #c5ccd3; font-size: 10px; font-weight: 700; padding: 3px 2px; }
.ui-tpl i { width: 6px; height: 6px; border-radius: 50%; background: #3a4148; }
.ui-tpl.on { color: #fff; }
.ui-tpl.on i { background: var(--lg-orange); }
.ui-tools button, .ui-setup button, .ui-tools .pair button {
  border: 1px solid #2a3036; background: #12161b; color: #d5dbe1;
  border-radius: 7px; font-size: 9px; font-weight: 800; padding: 5px 6px;
}
.ui-tools .ghost { width: 100%; text-align: left; }
.ui-tools .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ui-tools .orange, .ui-setup .orange {
  width: 100%; border: 0; background: var(--lg-orange); color: #fff; border-radius: 8px;
}
.ui-tools .presets { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ui-tools .presets span {
  background: #12161b; border: 1px solid #262c33; border-radius: 6px;
  padding: 4px 3px; text-align: center; font-size: 8px; font-weight: 700; color: #c5ccd3;
}
.ui-setup label { display: flex; justify-content: space-between; color: #9aa2aa; font-size: 10px; }
.ui-setup label b { color: #fff; }
.ui-setup .sw { display: flex; align-items: center; justify-content: space-between; color: #c5ccd3; font-size: 9px; font-weight: 700; }
.ui-setup .sw::after {
  content: ""; width: 22px; height: 12px; border-radius: 999px; background: #2a3036;
}
.ui-setup .sw.on::after { background: var(--lg-orange); }
.ui-setup .sel { background: #14181d; border: 1px solid #262c33; border-radius: 8px; padding: 6px; }
.ui-setup .sel strong { display: block; font-size: 11px; }
.ui-setup .sel em { color: #8b939c; font-style: normal; font-size: 10px; }
.ui-canvas { min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 6px 8px 8px; }
.ui-canvas-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ui-canvas-h b { font-size: 11px; letter-spacing: .06em; }
.ui-canvas-h em {
  font-style: normal; background: #12161b; border: 1px solid #2a3036; border-radius: 6px;
  padding: 2px 7px; font-size: 10px; font-weight: 700; color: #c5ccd3;
}
.ui-toolbar { display: flex; flex-wrap: wrap; gap: 4px; margin: 5px 0 6px; }
.ui-toolbar span {
  background: #12161b; border: 1px solid #262c33; border-radius: 6px;
  padding: 2px 6px; font-size: 8px; font-weight: 700; color: #c5ccd3;
}
.ui-floor {
  flex: 1; min-height: 0; padding: 8px; border-radius: 10px;
  display: flex; flex-direction: column; gap: 7px;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 18px 18px,
    #0b0e12;
  border: 1px solid #262c33;
}
.ui-desks { display: grid; grid-template-columns: 120px 1fr auto; gap: 8px; align-items: center; }
.ui-desks b {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 26px; border-radius: 6px; background: #f4efe6; color: #1a1a1a;
  font-size: 9px; letter-spacing: .08em; position: relative;
}
.ui-desks b svg { width: 12px; height: 12px; stroke: #1a1a1a; fill: none; stroke-width: 1.7; }
.ui-desks .cashier i {
  position: absolute; right: 6px; bottom: -3px; width: 7px; height: 7px;
  border-radius: 50%; background: #f4efe6; border: 1px solid #c9b8a0;
}
.ui-desks em {
  color: #8b939c; font-style: normal; font-size: 8px; font-weight: 800;
  letter-spacing: .12em; display: flex; align-items: center; gap: 5px;
}
.ui-desks em span { width: 6px; height: 6px; border-radius: 50%; background: #3ee07a; }
.ui-rooms { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.3fr .85fr; gap: 7px; }
.ui-right { display: grid; grid-template-rows: 1fr 1.05fr; gap: 7px; min-height: 0; }
.ui-rooms section {
  min-height: 0; border-radius: 9px; padding: 6px; border: 1px solid #3b82f6;
  background: rgba(12,18,28,.72); display: flex; flex-direction: column;
}
.ui-rooms section.is-vip { border-color: #f4a300; background: rgba(40,32,10,.5); }
.ui-rooms section.is-tourney { border-color: #8b5cf6; background: rgba(28,18,48,.5); }
.ui-rooms h4 {
  margin: 0 0 5px; display: flex; align-items: center; gap: 5px;
  font-size: 8px; letter-spacing: .08em; font-weight: 800; color: #c5ccd3;
}
.ui-rooms section.is-vip h4 { color: #f4a300; }
.ui-rooms section.is-tourney h4 { color: #c4b5fd; }
.ui-rooms h4 svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.ui-pcs { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); grid-template-rows: repeat(4, minmax(0,1fr)); gap: 4px; }
.ui-pcs.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: repeat(2, minmax(0,1fr)); gap: 6px 10px; padding: 2px 8px; }
.ui-pcs.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); grid-template-rows: repeat(2, minmax(0,1fr)); }
.ui-pc {
  min-height: 0; border-radius: 6px; background: #151c24; border: 1px solid #24303a;
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9aa3ad;
}
.ui-pc svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.ui-pc b { font-size: 8px; line-height: 1.1; }
.ui-pc small { font-size: 7px; }
.ui-pc.on { color: #ff5a00; }
.ui-pc.on svg rect { fill: #ff5a00; }
.ui-pc:not(.on) svg rect { fill: #6b7280; }
.lg-lb { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.lg-lb-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 2px 4px 8px;
}
.lg-lb-h h3 { margin: 0; font-size: 13px; letter-spacing: .08em; font-weight: 800; }
.lg-lb-h span {
  background: #0c1012; border: 1px solid #2a2f36; border-radius: 8px;
  padding: 4px 10px; font-size: 11px; font-weight: 700; color: #c5ccd3;
}
.lg-lb-canvas {
  flex: 1; min-height: 0; border-radius: 12px; padding: 10px 12px 12px;
  border: 1px solid #262c33;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 22px 22px,
    #0b0e12;
  display: flex; flex-direction: column; gap: 10px;
}
.lg-lb-top { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 10px; }
.lg-lb-desk {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; border-radius: 8px; font-size: 10px; font-weight: 800; letter-spacing: .08em;
  background: #f4efe6; color: #1a1a1a; border: 1px solid #c9b8a0;
}
.lg-lb-desk.is-cashier { max-width: 150px; border-color: #ff5a00; box-shadow: inset 0 0 0 1px rgba(255,90,0,.25); }
.lg-lb-desk.is-snack { background: #f7f3ec; }
.lg-lb-desk svg { width: 16px; height: 16px; stroke: #1a1a1a; fill: none; stroke-width: 1.6; }
.lg-lb-top em { color: #8b939c; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .16em; padding-right: 8px; }
.lg-lb-rooms { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.35fr .9fr; gap: 10px; }
.lg-lb-side { min-height: 0; display: grid; grid-template-rows: 1fr 1.15fr; gap: 10px; }
.lg-lb-zone {
  position: relative; min-height: 0; border-radius: 10px; padding: 8px 8px 10px;
  border: 1px solid #3b82f6; background: rgba(12, 18, 28, .72);
  display: flex; flex-direction: column;
}
.lg-lb-zone::before, .lg-lb-zone::after {
  content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #3ee07a;
}
.lg-lb-zone::before { top: 6px; right: 8px; }
.lg-lb-zone::after { bottom: 6px; left: 8px; }
.lg-lb-zone.is-vip { border-color: #f4a300; background: rgba(40, 32, 10, .55); }
.lg-lb-zone.is-tourney { border-color: #8b5cf6; background: rgba(28, 18, 48, .55); }
.lg-lb-zone h4 {
  margin: 0 0 8px; display: flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: .08em; font-weight: 800; color: #c5ccd3;
}
.lg-lb-zone.is-vip h4 { color: #f4a300; }
.lg-lb-zone.is-tourney h4 { color: #c4b5fd; }
.lg-lb-zone h4 svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.lg-lb-pcs { flex: 1; min-height: 0; display: grid; gap: 6px; }
.lg-lb-pcs.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); }
.lg-lb-pcs.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(1, minmax(0, 1fr)); }
.lg-lb-pcs.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 4px 16px; }
.lg-lb-pc {
  min-height: 0; border-radius: 8px; background: #151c24; border: 1px solid #24303a;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  color: #9aa3ad;
}
.lg-lb-pc svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.lg-lb-pc b { font-size: 9px; font-weight: 800; line-height: 1.1; }
.lg-lb-pc small { font-size: 8px; font-weight: 700; color: #8b939c; }
.lg-lb-pc.is-online { color: #ff5a00; }
.lg-lb-pc.is-online svg rect { fill: #ff5a00; }
.lg-lb-pc.is-online small { color: #ff5a00; }
.lg-lb-pc.is-offline svg rect { fill: #6b7280; }
.lg-lb-bar { height: 10px; margin: 8px 6px; border-radius: 2px; background: #14181f; border: 1px solid #2a2440; box-shadow: inset 0 0 0 1px rgba(139,92,246,.25); }
.lg-floor-empty { color: #8b939c; text-align: center; padding: 40px 12px; }
.lg-grow { color: #c5ccd3; font-size: 11px; font-weight: 800; letter-spacing: .18em; white-space: nowrap; }
.lg-grow b { color: var(--lg-orange); margin: 0 2px; }
.lg-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 240px 16px 48px;
  color: #6d767e;
  font-size: 12px;
}
.lg-foot a { color: #8b939c; }
.lg-foot em { margin: 0 8px; font-style: normal; color: #4b535b; }
.lg-page.is-light {
  color: #121417;
  background:
    radial-gradient(ellipse 42% 36% at 8% -4%, rgba(255,90,0,.14), transparent 58%),
    #f3f4f6;
}
.lg-page.is-light .lg-hello,
.lg-page.is-light .lg-branch h1,
.lg-page.is-light .lg-tabs a.active,
.lg-page.is-light .lg-promo h2 { color: #121417; }
.lg-page.is-light .lg-powered { background: rgba(255,255,255,.92); border-color: #d5dbe1; color: #667078; }
.lg-page.is-light .lg-powered b { color: #121417; }
.lg-page.is-light .lg-lead,
.lg-page.is-light .lg-tabs a,
.lg-page.is-light .lg-role { color: #667078; }
.lg-page.is-light .lg-input input { background: #fff; color: #121417; border-color: #d5dbe1; }
.lg-page.is-light .lg-tabs { background: #fff; border-color: #d5dbe1; }
.lg-page.is-light .lg-theme { background: #e8eaed; border-color: #d5dbe1; }
.lg-page.is-light .lg-theme button.on { background: #fff; color: #121417; }
.lg-page.is-light .lg-preview { background: #fff; border-color: #e4e7eb; }
.lg-page.is-light .lg-mini-side { background: #f7f8fa; border-right-color: #e4e7eb; }
.lg-page.is-light .lg-mini-nav button { color: #5c656d; }
.lg-page.is-light .lg-stats article,
.lg-page.is-light .lg-home-stats article,
.lg-page.is-light .lg-dash-item,
.lg-page.is-light .lg-pr-grid article,
.lg-page.is-light .lg-pr-cart,
.lg-page.is-light .lg-shortcuts > span { background: #f7f8fa; border-color: #e4e7eb; color: #121417; }
.lg-page.is-light .lg-stat-r b { color: #121417; }
.lg-page.is-light .lg-greet h3 { color: #121417; }
.lg-page.is-light .lg-foot,
.lg-page.is-light .lg-foot a { color: #667078; }
.lg-page .lg-form .alert { margin-bottom: 12px; }

@media (max-width: 1180px) {
  .lg-split { grid-template-columns: minmax(0, 1fr); }
  .lg-right { min-height: 420px; }
  .lg-left { padding: 28px 16px 16px; }
  .lg-foot { padding: 8px 20px 72px; }
  .lg-branch h1 { font-size: 28px; }
}
@media (max-width: 700px) {
  .auth-card, .lock-card { width: min(420px, calc(100vw - 24px)); }
  .al-split { grid-template-columns: minmax(0, 1fr); padding: 64px 12px 12px; }
  .al-title { font-size: 40px; }
}

.al-page {
  --lg-orange: #ff5a00;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #f3f5f7;
  background:
    radial-gradient(ellipse 48% 42% at 12% -8%, rgba(255,90,0,.28), transparent 58%),
    radial-gradient(ellipse 36% 30% at 92% 108%, rgba(255,90,0,.12), transparent 55%),
    #07080a;
}
.al-theme {
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 3;
  display: flex;
  background: #14181d;
  border: 1px solid #2a3036;
  border-radius: 999px;
  padding: 3px;
}
.al-theme button {
  border: 0;
  background: transparent;
  color: #8b939c;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.al-theme button.on { background: #0b0d10; color: #fff; }
.al-split {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(560px, 1.2fr) minmax(420px, .8fr);
  min-height: 0;
  padding: 72px 48px 8px;
  gap: 28px;
}
.al-show { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 20px 0 28px; }
.al-lockup { margin: 0 0 28px; }
.al-kicker {
  margin: 0 0 10px;
  color: #8b939c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
}
.al-title {
  margin: 0;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
}
.al-title span { color: var(--lg-orange); }
.al-lead { margin: 16px 0 28px; color: #8b939c; font-size: 16px; max-width: 34ch; line-height: 1.5; }
.al-feats { display: flex; gap: 28px; flex-wrap: wrap; }
.al-feats article { display: flex; flex-direction: column; gap: 4px; min-width: 88px; }
.al-feats span {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; color: var(--lg-orange);
}
.al-feats svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.al-feats b { font-size: 14px; }
.al-feats small { color: #8b939c; font-size: 12px; }
.al-preview {
  flex: 1;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  background: #090a0c;
  border: 1px solid #23282e;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.al-preview .lg-slides { flex: 1; min-height: 220px; }
.al-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px 12px;
  color: #8b939c;
  font-size: 12px;
  font-weight: 600;
}
.al-preview-bar .lg-dots { margin: 0; }
.al-panel {
  display: grid;
  place-items: center;
  min-width: 0;
}
.al-card {
  width: 100%;
  max-width: 440px;
  background: #0c0e12;
  border: 1px solid #23282e;
  border-radius: 28px;
  padding: 36px 32px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.al-card-brand { justify-content: center; margin: 0 0 18px; }
.al-form { width: 100%; max-width: 400px; }
.al-shield {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--lg-orange);
  background: rgba(255,90,0,.1);
  border: 1px solid rgba(255,90,0,.28);
}
.al-shield svg { width: 26px; height: 26px; }
.al-hello { margin: 0; text-align: center; font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.al-access { margin: 8px 0 22px; text-align: center; color: #8b939c; font-size: 14px; }
.al-page.is-light .al-card { background: #fff; border-color: #e4e7eb; }
.al-page.is-light .al-title span { color: #ff5a00; }
.al-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #6d767e;
  font-size: 13px;
}
.al-or::before, .al-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #242a30;
}
.al-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #d7dde3;
  font-weight: 700;
  font-size: 14px;
}
.al-back svg { width: 18px; height: 18px; }
.al-back:hover { color: #fff; }
.al-note {
  margin: 18px 0 0;
  text-align: center;
  color: #6d767e;
  font-size: 12px;
  line-height: 1.45;
}
.al-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 48px 16px;
  color: #6d767e;
  font-size: 12px;
}
.al-foot a { color: #8b939c; }
.al-foot em { margin: 0 8px; font-style: normal; color: #4b535b; }
.al-page.is-light {
  color: #121417;
  background:
    radial-gradient(ellipse 48% 42% at 12% -8%, rgba(255,90,0,.16), transparent 58%),
    #f3f4f6;
}
.al-page.is-light .al-title,
.al-page.is-light .al-hello { color: #121417; }
.al-page.is-light .al-feats small,
.al-page.is-light .al-lead,
.al-page.is-light .al-access,
.al-page.is-light .al-kicker,
.al-page.is-light .al-note,
.al-page.is-light .al-or,
.al-page.is-light .al-foot,
.al-page.is-light .al-foot a { color: #667078; }
.al-page.is-light .al-theme { background: #e8eaed; border-color: #d5dbe1; }
.al-page.is-light .al-theme button.on { background: #fff; color: #121417; }
.al-page.is-light .al-preview { background: #fff; border-color: #e4e7eb; }
.al-page.is-light .al-back { color: #121417; }
.al-page.is-light .al-or::before,
.al-page.is-light .al-or::after { background: #d5dbe1; }
.al-page .al-form .alert { margin-bottom: 12px; }

@media (max-width: 1180px) {
  .al-split { grid-template-columns: 1fr; padding: 72px 20px 12px; }
  .al-show { display: none; }
  .al-foot { padding: 8px 20px 20px; }
}

.lock {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,90,0,.16), transparent 38%),
    var(--op-bg);
}
.lock-card { width: 420px; text-align: center; background: var(--op-card); border: 1px solid var(--op-border); border-radius: 14px; padding: 36px 28px; }
.lock-card .auth-lockup { margin-left: auto; margin-right: auto; }
.lock-card .status { color: var(--op-orange); letter-spacing: .12em; font-size: 12px; }

.modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,.78);
  display: grid; place-items: center; z-index: 40;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}
.modal-bg.show { opacity: 1; visibility: visible; pointer-events: auto; }
.modal {
  position: relative;
  transform: translateY(22px) scale(.96);
  opacity: 0;
  transition: transform .34s cubic-bezier(.22,1,.36,1), opacity .28s ease;
}
.modal-bg.show .modal {
  transform: none;
  opacity: 1;
}
.modal .x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.bp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.empty { color: var(--op-muted); padding: 24px 0; text-align: center; }
.session { max-width: 520px; display: grid; gap: 8px; margin-bottom: 16px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 10px; align-items: center; }
.kv span { color: var(--op-text-secondary); }
.kv b { background: #12151a; border: 1px solid var(--op-border); border-radius: 8px; padding: 8px 10px; }
.kv b.accent { color: var(--op-orange); }

.ex-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.ex-title { display: flex; align-items: flex-start; gap: 12px; }
.ex-title h1 { margin: 0; font-size: 28px; }
.ex-title p { margin: 4px 0 0; color: var(--op-text-secondary); }
.ex-ico {
  width: 36px; height: 36px; flex: 0 0 36px;
  display: grid; place-items: center; color: var(--op-orange);
}
.ex-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ex-crumb { color: var(--op-muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.ex-crumb a:hover { color: #fff; }
.ex-crumb strong { color: var(--op-orange); font-weight: 700; }
.ex-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.ex-stat {
  background: var(--op-card);
  border: 1px solid var(--op-border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 88px;
}
.ex-stat .lbl { color: var(--op-text-secondary); font-size: 12px; margin-bottom: 6px; }
.ex-stat .val { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ex-stat .val.orange { color: var(--op-orange); }
.ex-stat .units { display: flex; gap: 10px; color: var(--op-muted); font-size: 8px; letter-spacing: .08em; margin-top: 4px; }
.ex-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 14px; align-items: start; }
.ex-panel {
  background: var(--op-card);
  border: 1px solid var(--op-border);
  border-radius: 14px;
  padding: 18px 18px 16px;
}
.ex-panel-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.ex-panel-head h2 { margin: 0; font-size: 18px; }
.ex-panel-head p { margin: 3px 0 0; color: var(--op-text-secondary); font-size: 13px; }
.ex-options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 10px; }
.ex-opt, .ex-custom {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 12px;
  border: 1px solid var(--op-border);
  border-radius: 12px;
  background: #12151a;
  cursor: pointer;
}
.ex-opt input, .ex-custom input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.ex-opt .dot, .ex-custom .dot {
  width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px;
  border: 2px solid var(--op-border-light); border-radius: 50%;
  box-shadow: inset 0 0 0 3px #12151a;
}
.ex-opt.selected, .ex-custom.selected {
  border-color: var(--op-orange);
  background: rgba(255,90,0,.08);
}
.ex-opt.selected .dot, .ex-custom.selected .dot {
  border-color: var(--op-orange);
  background: var(--op-orange);
}
.ex-opt-copy { display: grid; gap: 2px; min-width: 0; }
.ex-opt-copy strong { font-size: 14px; }
.ex-opt-copy b { color: var(--op-orange); font-size: 18px; }
.ex-opt-copy em { color: var(--op-muted); font-style: normal; font-size: 11px; }
.ex-custom { align-items: flex-start; }
.ex-custom-body { flex: 1; min-width: 0; }
.ex-custom-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.ex-custom-head strong { display: block; }
.ex-units {
  display: inline-flex;
  background: #0d1013;
  border: 1px solid var(--op-border);
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 auto;
}
.ex-units button {
  border: 0;
  background: transparent;
  color: var(--op-text-secondary);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
}
.ex-units button.active {
  background: var(--op-orange);
  color: #fff;
}
.ex-custom-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ex-custom-row input[type=number] {
  width: min(240px, 100%); background: #0d1013; color: #fff;
  border: 1px solid var(--op-border); border-radius: 8px; padding: 10px 12px;
}
.ex-custom-hint {
  display: block;
  color: var(--op-danger);
  font-size: 12px;
  min-height: 16px;
  margin-top: 8px;
}
.ex-calc { text-align: right; }
.ex-calc em { display: block; color: var(--op-muted); font-style: normal; font-size: 12px; }
.ex-calc b { color: var(--op-orange); font-size: 16px; }
.ex-kv { margin: 0; display: grid; gap: 10px; }
.ex-kv div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.ex-kv dt { color: var(--op-text-secondary); }
.ex-kv dd { margin: 0; font-weight: 700; }
.ex-kv dd.orange { color: var(--op-orange); }
.ex-new {
  margin: 16px 0;
  padding-top: 14px;
  border-top: 1px solid var(--op-border);
  display: grid;
  gap: 12px;
}
.ex-new span { display: block; color: var(--op-text-secondary); font-size: 13px; margin-bottom: 4px; }
.ex-new strong { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.ex-new .units { display: flex; gap: 12px; color: var(--op-muted); font-size: 8px; letter-spacing: .08em; margin-top: 4px; }
.ex-note { margin: 0 0 12px; color: #ffb48a; font-size: 13px; font-weight: 700; line-height: 1.4; }
.ex-confirm { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; margin-bottom: 8px; }
.ex-confirm svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; }
.ex-summary .btn-secondary { padding: 12px 16px; }

.fb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.fb-title { display: flex; align-items: flex-start; gap: 12px; }
.fb-title h1 { margin: 0; font-size: 28px; }
.fb-title p { margin: 4px 0 0; color: var(--op-text-secondary); }
.fb-ico {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: grid; place-items: center; color: var(--op-orange);
}
.fb-ico svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fb-ico.lg svg { width: 32px; height: 32px; }
.fb-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 14px; align-items: start; }
.fb-panel, .fb-card {
  background: var(--op-card);
  border: 1px solid var(--op-border);
  border-radius: 14px;
}
.fb-panel { padding: 18px 18px 16px; }
.fb-label { display: block; font-weight: 700; margin-bottom: 8px; }
.fb-panel textarea {
  width: 100%; min-height: 220px; resize: vertical;
  background: #0E1216; color: #fff;
  border: 1px solid var(--op-border); border-radius: 10px;
  padding: 14px 14px 28px; line-height: 1.5;
}
.fb-panel textarea:focus { outline: none; border-color: var(--op-orange); }
.fb-panel .counter { margin-top: -22px; margin-bottom: 12px; padding-right: 12px; position: relative; }
.fb-tips { color: var(--op-text-secondary); margin: 8px 0 18px; }
.fb-tips p { margin: 0 0 8px; }
.fb-tips ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fb-tips li { position: relative; padding-left: 22px; }
.fb-tips li::before { content: "✓"; position: absolute; left: 0; color: var(--op-orange); font-weight: 800; }
.fb-submit { gap: 8px; padding: 13px 16px; font-size: 15px; }
.fb-submit svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; }
.fb-mine { margin-top: 18px; }
.fb-mine h2 { margin: 0 0 10px; font-size: 16px; }
.fb-mine-empty { margin: 0; color: var(--op-text-secondary); }
.fb-mine-item { border-top: 1px solid var(--op-border); padding: 12px 0; }
.fb-mine-item header { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.fb-mine-item time { color: var(--op-text-secondary); font-size: 12px; }
.fb-mine-item b { font-size: 12px; }
.fb-mine-item b.is-unread { color: #ff5a00; }
.fb-mine-item b.is-read { color: #9ca3af; }
.fb-mine-item b.is-replied { color: #29c76f; }
.fb-mine-item > p { margin: 0; white-space: pre-wrap; }
.fb-mine-reply { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #12181f; }
.fb-mine-reply span { display: block; color: #ff5a00; font-size: 11px; font-weight: 800; margin-bottom: 4px; }
.fb-mine-reply p { margin: 0; }
.fb-side { display: grid; gap: 12px; }
.fb-card { padding: 16px 16px 14px; display: flex; gap: 12px; align-items: flex-start; }
.fb-card h3 { margin: 0 0 6px; font-size: 16px; }
.fb-card p { margin: 0; color: var(--op-text-secondary); font-size: 13px; line-height: 1.5; }
.fb-next { display: block; position: relative; overflow: hidden; }
.fb-steps { list-style: none; margin: 14px 0 0; padding: 0; counter-reset: step; display: grid; gap: 14px; max-width: 62%; }
.fb-steps li { position: relative; padding-left: 36px; }
.fb-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--op-orange); color: #fff;
  font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}
.fb-steps li:not(:last-child)::after {
  content: "";
  position: absolute; left: 10px; top: 24px; bottom: -12px;
  width: 2px; background: rgba(255,90,0,.35);
}
.fb-steps b { display: block; font-size: 13px; }
.fb-steps span { display: block; color: var(--op-text-secondary); font-size: 12px; margin-top: 2px; }
.fb-thanks {
  position: absolute; right: 10px; top: 54px;
  width: 120px; text-align: center;
}
.fb-doc { width: 86px; height: 94px; display: block; margin: 0 auto; }
.fb-check {
  position: absolute; right: 8px; top: 52px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--op-orange); color: #fff;
  display: grid; place-items: center;
}
.fb-check svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.2; }
.fb-thanks em {
  display: block; margin-top: 6px;
  font-family: Caveat, "Segoe Script", cursive;
  font-size: 28px; font-style: normal; font-weight: 700;
  color: #d8dde2; transform: rotate(-8deg);
}
.fb-together { align-items: center; }
.fb-together p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fb-together i { width: 5px; height: 5px; border-radius: 50%; background: var(--op-orange); display: inline-block; }

.msg-page {
  flex: 1 1 0%;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.msg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; flex: 0 0 auto; }
.msg-title { display: flex; align-items: flex-start; gap: 12px; }
.msg-title h1 { margin: 0; font-size: 28px; }
.msg-title p { margin: 4px 0 0; color: var(--op-text-secondary); }
.msg-ico {
  width: 42px; height: 42px; flex: 0 0 42px; color: var(--op-orange);
  display: grid; place-items: center;
}
.msg-ico svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.msg-grid {
  display: grid;
  grid-template-columns: 340px minmax(0,1fr);
  gap: 14px;
  flex: 1 1 0%;
  min-height: calc(100dvh - 160px);
  height: 100%;
  align-content: stretch;
}
.msg-list, .msg-thread {
  background: var(--op-card);
  border: 1px solid var(--op-border);
  border-radius: 14px;
  min-height: 0;
  height: auto;
  align-self: stretch;
}
.msg-list { padding: 14px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.msg-search {
  display: flex; align-items: center; gap: 8px;
  background: #0E1216; border: 1px solid var(--op-border); border-radius: 10px;
  padding: 0 12px; margin-bottom: 12px;
}
.msg-search svg { width: 16px; height: 16px; stroke: var(--op-muted); fill: none; stroke-width: 2; flex: 0 0 16px; }
.msg-search input { flex: 1; background: none; border: 0; color: #fff; padding: 10px 0; outline: none; }
.msg-filters { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: nowrap; }
.msg-filters button {
  border: 0; border-radius: 8px; padding: 7px 10px; cursor: pointer;
  background: #12151a; color: var(--op-text-secondary); font-weight: 700; font-size: 12px;
  white-space: nowrap; flex: 1;
}
.msg-filters button.active { background: var(--op-orange); color: #fff; }
.msg-convo { display: flex; flex-direction: column; gap: 6px; overflow: auto; flex: 1; min-height: 0; }
.msg-item {
  display: grid; grid-template-columns: 44px minmax(0,1fr) auto;
  gap: 10px; align-items: center; text-align: left;
  width: 100%; border: 1px solid transparent; background: transparent;
  color: inherit; border-radius: 12px; padding: 10px; cursor: pointer;
}
.msg-item:hover { background: #12151a; }
.msg-item.active { background: rgba(255,90,0,.12); border-color: var(--op-orange); }
.msg-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--op-orange); color: #fff; flex: 0 0 42px;
}
.msg-avatar.sm { width: 28px; height: 28px; flex-basis: 28px; }
.msg-avatar.lg { width: 46px; height: 46px; flex-basis: 46px; }
.msg-avatar.tone { background: #1c2228; color: var(--op-text-secondary); }
.msg-avatar svg { width: 58%; height: 58%; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.msg-item-copy { min-width: 0; }
.msg-item-copy strong { display: block; font-size: 14px; }
.msg-item-copy .preview { display: block; color: var(--op-text-secondary); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.online-txt { display: inline-block; color: var(--op-success); font-size: 11px; font-style: normal; font-weight: 700; margin: 2px 0; }
.msg-item-meta { display: grid; justify-items: end; gap: 6px; }
.msg-item-meta time { color: var(--op-muted); font-size: 11px; }
.msg-unread {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: var(--op-orange); color: #fff; font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
}
.msg-unread[hidden] { display: none !important; }
.msg-thread {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.msg-thread > .msg-thread-head { grid-row: 1; }
.msg-thread > .msg-log,
.msg-thread > .alert { grid-row: 2; min-height: 0; }
.msg-thread > .msg-composer { grid-row: 3; }
.msg-thread > .msg-media { grid-row: 1 / -1; }
.msg-thread-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--op-border);
}
.msg-thread-who { flex: 1; min-width: 0; }
.msg-thread-who strong { display: block; }
.msg-thread-who span { color: var(--op-text-secondary); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.msg-thread-who em { font-style: normal; color: var(--op-success); font-weight: 700; }
.online.off { background: var(--op-muted); }
.msg-thread-actions { display: flex; gap: 8px; }
.msg-thread-actions button {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--op-border);
  background: #12151a; color: var(--op-text-secondary); display: grid; place-items: center;
  cursor: pointer; transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.msg-thread-actions button:hover, .msg-thread-actions button.active {
  color: #fff; border-color: var(--op-orange); background: #1a1f25;
  transform: translateY(-1px);
}
.msg-thread-actions svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.msg-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 300px;
  background: #0e1115; border-left: 1px solid var(--op-border);
  transform: translateX(110%);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  z-index: 6;
  display: grid; grid-template-rows: auto auto 1fr;
  pointer-events: none;
}
.msg-media.open { transform: none; pointer-events: auto; }
.msg-media-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--op-border);
}
.msg-media-head strong { font-size: 14px; }
.msg-media-head button {
  width: 32px; height: 32px; border: 0; background: none; color: #fff;
  font-size: 22px; cursor: pointer; line-height: 1;
}
.msg-media-tabs { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--op-border); }
.msg-media-tabs button {
  flex: 1; border: 1px solid var(--op-border); background: #12151a; color: var(--op-text-secondary);
  border-radius: 8px; padding: 7px 8px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.msg-media-tabs button.active { color: #fff; border-color: var(--op-orange); background: rgba(255,90,0,.12); }
.msg-media-body { overflow: auto; padding: 12px; display: grid; gap: 8px; align-content: start; }
.msg-media-empty { color: var(--op-muted); text-align: center; padding: 28px 12px; font-size: 13px; line-height: 1.5; }
.msg-media-card {
  display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center;
  background: #12151a; border: 1px solid var(--op-border); border-radius: 10px; padding: 8px 10px;
}
.msg-media-card img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; background: #000; }
.msg-media-card .ico {
  width: 40px; height: 40px; border-radius: 8px; background: #1a1f25;
  display: grid; place-items: center; color: var(--op-orange);
}
.msg-media-card .ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.msg-media-card a { color: #fff; font-size: 12px; font-weight: 700; word-break: break-all; }
.msg-media-card span { display: block; color: var(--op-muted); font-size: 11px; margin-top: 2px; }
.msg-log { overflow: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.msg-day {
  align-self: center; background: #12151a; border-radius: 99px;
  padding: 4px 12px; color: var(--op-muted); font-size: 11px; font-weight: 700;
}
.msg-row { display: flex; gap: 8px; align-items: flex-end; max-width: 78%; }
.msg-row.staff { align-self: flex-start; }
.msg-row.me { align-self: flex-end; }
.msg-row .bubble { margin: 0; max-width: none; }
.msg-row .bubble time { opacity: .7; font-size: 10px; margin-top: 4px; }
.msg-composer {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-top: 1px solid var(--op-border);
  flex-shrink: 0;
  background: var(--op-card);
}
.msg-attach, .msg-send {
  width: 42px; height: 42px; border: 0; border-radius: 12px;
  display: grid; place-items: center; cursor: pointer; flex: 0 0 42px;
}
.msg-attach { background: #12151a; color: var(--op-text-secondary); border: 1px solid var(--op-border); }
.msg-attach[disabled] { opacity: .5; cursor: default; }
.msg-send { background: var(--op-orange); color: #fff; }
.msg-attach svg, .msg-send svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.msg-composer input {
  flex: 1; background: #0E1216; color: #fff; border: 1px solid var(--op-border);
  border-radius: 12px; padding: 12px 14px; outline: none;
}
.msg-composer input:focus { border-color: var(--op-orange); }

@media (max-width: 1100px) {
  .stats { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .products, .bp-grid, .pr-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .acct-wrap, .acct-main, .chat-wrap, .cafeteria, .pr-body, .bp-hero, .ex-grid, .ex-stats, .fb-grid, .msg-grid { grid-template-columns: 1fr; }
  .msg-grid { grid-template-rows: minmax(180px, 34vh) minmax(280px, 1fr); }
  .ex-options { grid-template-columns: 1fr 1fr; }
  .bp-mid { border-left: 0; padding-left: 0; }
}
@media (max-width: 991px) {
  .shell { grid-template-rows: 60px 1fr; }
  .tagline { display: none; }
  .form-grid, .field { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.promo-avail {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  background: rgba(0,0,0,.55);
}
.promo-avail[hidden] { display: none !important; }
@property --promo-a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes promo-run { to { --promo-a: 360deg; } }
.promo-avail .ok-win {
  width: min(420px, 92vw);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 18px;
  background:
    linear-gradient(#171b1f, #171b1f) padding-box,
    conic-gradient(from var(--promo-a), #24303a 0deg, #ff5a00 32deg, #ffc08a 58deg, #ff5a00 86deg, #24303a 130deg) border-box;
  box-shadow: 0 0 16px rgba(255,90,0,.35);
  animation: promo-run 1.6s linear infinite;
}
.nav .side-promo {
  display: none;
  width: 100%;
  appearance: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  border: 2px solid transparent;
}
.nav .side-promo[hidden] { display: none !important; }
.nav .side-promo.live {
  display: flex;
  overflow: visible;
  background:
    linear-gradient(#14181d, #14181d) padding-box,
    conic-gradient(from var(--promo-a), #24303a 0deg, #ff5a00 32deg, #ffc08a 58deg, #ff5a00 86deg, #24303a 130deg) border-box;
  box-shadow: 0 0 14px rgba(255,90,0,.35);
  animation: promo-run 1.6s linear infinite;
}
.nav .side-promo .hot-tag {
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: #ff5a00;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nav .side-promo svg {
  width: 16px; height: 16px; flex: 0 0 16px;
  stroke: #ff5a00; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.nav a.need-act,
.tile.need-act,
.bp-btn.need-act {
  position: relative;
  overflow: visible;
  color: #fff;
  border: 2px solid transparent;
  background:
    linear-gradient(#14181d, #14181d) padding-box,
    conic-gradient(from var(--promo-a), #24303a 0deg, #ff5a00 32deg, #ffc08a 58deg, #ff5a00 86deg, #24303a 130deg) border-box;
  box-shadow: 0 0 14px rgba(255,90,0,.35);
  animation: promo-run 1.6s linear infinite;
}
.bp-btn.need-act { background:
  linear-gradient(#ff5a00, #ff5a00) padding-box,
  conic-gradient(from var(--promo-a), #7a2c00 0deg, #fff 28deg, #ffd2b0 52deg, #ff5a00 86deg, #7a2c00 130deg) border-box;
}
.need-n {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: #fff; color: #ff5a00; font-size: 11px; font-weight: 800;
  display: inline-grid; place-items: center; line-height: 1;
}
.nav a.need-act .nav-badge { background: #fff; color: #ff5a00; }
.promo-avail h3 { margin: 0 0 10px; }
.promo-avail .ok-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.promo-avail .ok-done { background: #ff5a00; color: #fff; border: 0; border-radius: 8px; min-height: 36px; padding: 0 14px; font-weight: 700; cursor: pointer; }
.lg-look-slogan,
.lg-look-clock,
.lg-look-pc { display: none; }
.lg-chrome, .lg-hero, .lg-giant { display: none; }
.lg-page[data-look] .lg-chrome {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  position: absolute; z-index: 6; top: 22px; left: 28px; right: 28px; pointer-events: none;
}
.lg-page[data-look] .lg-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.lg-page[data-look] .lg-brand b {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: #ff5a00; color: #fff; font-size: 16px; font-weight: 800;
}
.lg-page[data-look] .lg-brand strong { display: block; font-size: 16px; letter-spacing: -.02em; line-height: 1.1; }
.lg-page[data-look] .lg-brand small { display: block; font-size: 9px; letter-spacing: .14em; opacity: .75; }
.lg-page[data-look] .lg-chrome-r { display: flex; align-items: center; gap: 14px; color: #fff; text-align: right; }
.lg-page[data-look] .lg-when b { display: block; font-size: 22px; letter-spacing: -.03em; }
.lg-page[data-look] .lg-when small { display: block; font-size: 11px; opacity: .75; }
.lg-page[data-look] .lg-pcchip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-weight: 700; font-size: 13px;
}
.lg-page[data-look] .lg-branch { display: none; }
.lg-page.lg-look-photo .lg-hero,
.lg-page.lg-look-light .lg-hero,
.lg-page.lg-look-esports .lg-hero,
.lg-page.lg-look-cinematic .lg-hero,
.lg-page.lg-look-console .lg-hero {
  display: block; position: absolute; z-index: 4; left: 6vw; top: 38%;
  margin: 0; max-width: 46vw; color: #fff; font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 750; letter-spacing: -.04em; line-height: .95;
}
.lg-giant { position: absolute; z-index: 2; left: 4vw; bottom: 10vh; margin: 0; max-width: 78vw;
  font-size: clamp(64px, 14vw, 200px); font-weight: 850; letter-spacing: -.07em; line-height: .8; }

.lg-page.lg-look-photo {
  background:
    linear-gradient(90deg, rgba(7,8,10,.2), rgba(7,8,10,.55)),
    var(--lg-photo, radial-gradient(circle at 30% 40%, #3a2418, #120e0c 62%)) center / cover no-repeat;
}
.lg-page.lg-look-photo .lg-fx { display: none; }
.lg-page.lg-look-photo .lg-split { grid-template-columns: 1fr; }
.lg-page.lg-look-photo .lg-left { justify-items: end; padding-right: 7vw; }
.lg-page.lg-look-photo .lg-form {
  background: rgba(12,14,16,.72);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 22px 22px 16px;
  backdrop-filter: blur(8px);
}
.lg-page.lg-look-photo .lg-right { display: none; }
.lg-page.lg-look-photo .lg-brand b { background: #1f8a70; }

.lg-page.lg-look-split .lg-right {
  margin: 18px 28px 18px 0;
  border: 1px solid #2a3036;
  border-radius: 16px;
  background: #101418;
  overflow: hidden;
}

.lg-page.lg-look-light {
  color: #1c2126;
  background: #f3f4f6;
}
.lg-page.lg-look-light .lg-fx { display: none; }
.lg-page.lg-look-light .lg-split { grid-template-columns: 1fr; place-items: center; }
.lg-page.lg-look-light .lg-right { display: none; }
.lg-page.lg-look-light .lg-chrome,
.lg-page.lg-look-light .lg-hero { color: #1c2126; }
.lg-page.lg-look-light .lg-brand,
.lg-page.lg-look-light .lg-chrome-r { color: #1c2126; }
.lg-page.lg-look-light .lg-pcchip { background: #fff; border-color: #e4e7ea; color: #1c2126; }
.lg-page.lg-look-light .lg-brand b { background: #16a34a; }
.lg-page.lg-look-light .lg-hero { left: 6vw; top: 28%; }
.lg-page.lg-look-light .lg-form {
  width: min(420px, 92vw);
  background: #fff;
  border: 1px solid #e4e7ea;
  border-radius: 18px;
  padding: 28px 26px 18px;
  box-shadow: 0 18px 40px rgba(16,18,20,.06);
}

.lg-page.lg-look-esports {
  background:
    linear-gradient(160deg, #2a1230 0%, #120814 42%, #071018 100%);
}
.lg-page.lg-look-esports .lg-fx { display: none; }
.lg-page.lg-look-esports .lg-form { border-left: 4px solid #ff4fa3; }
.lg-page.lg-look-esports .lg-submit { background: #ff4fa3; }
.lg-page.lg-look-esports .lg-brand b { background: #ff4fa3; }
.lg-page.lg-look-esports .lg-split { grid-template-columns: 1fr; }
.lg-page.lg-look-esports .lg-left { justify-items: end; padding-right: 7vw; }
.lg-page.lg-look-esports .lg-right { display: none; }

.lg-page.lg-look-cinematic .lg-fx { display: none; }
.lg-page.lg-look-cinematic .lg-split { grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); }
.lg-page.lg-look-cinematic .lg-right {
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.45)),
    var(--lg-photo, linear-gradient(160deg, #1a120c, #07080a)) center / cover no-repeat;
}
.lg-page.lg-look-cinematic .lg-theme,
.lg-page.lg-look-cinematic .lg-preview,
.lg-page.lg-look-cinematic .lg-promo { display: none; }
.lg-page.lg-look-cinematic .lg-look-slogan { display: none; }
.lg-page.lg-look-cinematic .lg-split { grid-template-columns: 1fr; }
.lg-page.lg-look-cinematic .lg-left { justify-items: end; padding-right: 6vw; }
.lg-page.lg-look-cinematic .lg-right { display: none; }
.lg-page.lg-look-cinematic {
  background:
    radial-gradient(circle at 72% 42%, #f97316 0 12%, transparent 13%),
    linear-gradient(#1a1030, #12081f);
}

.lg-page.lg-look-billboard .lg-fx { display: none; }
.lg-page.lg-look-billboard { background: #f5c400; color: #111; }
.lg-page.lg-look-billboard .lg-split { grid-template-columns: 1fr; }
.lg-page.lg-look-billboard .lg-right { display: none; }
.lg-page.lg-look-billboard .lg-left { align-content: center; }
.lg-page.lg-look-billboard .lg-hero { display: block; color: #111; top: 18%; left: 4vw; font-size: clamp(32px, 4vw, 52px); }
.lg-page.lg-look-billboard .lg-giant { display: block; color: #111; }
.lg-page.lg-look-billboard .lg-brand,
.lg-page.lg-look-billboard .lg-chrome-r { color: #111; }
.lg-page.lg-look-billboard .lg-pcchip { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.1); color: #111; }
.lg-page.lg-look-billboard .lg-brand b { background: #111; color: #f5c400; }
.lg-page.lg-look-billboard .lg-left { justify-items: end; padding-right: 6vw; align-content: center; }
.lg-page.lg-look-billboard .lg-form { max-width: 420px; background: #fff; color: #111; border-radius: 18px; padding: 22px; }

.lg-page.lg-look-grid .lg-fx { display: none; }
.lg-page.lg-look-grid {
  background:
    linear-gradient(rgba(7,8,10,.55), rgba(7,8,10,.72)),
    repeating-linear-gradient(90deg, #1d4ed8 0 18%, #16a34a 18% 36%, #f59e0b 36% 54%, #db2777 54% 72%, #7c3aed 72% 100%);
  background-size: auto, 100% 33.33%;
}
.lg-page.lg-look-grid .lg-split { place-items: center; grid-template-columns: 1fr; }
.lg-page.lg-look-grid .lg-right { display: none; }
.lg-page.lg-look-grid .lg-form {
  background: rgba(10,12,14,.88);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 22px;
}

.lg-page.lg-look-console { background: #10141c; }
.lg-page.lg-look-console .lg-fx { display: none; }
.lg-page.lg-look-console .lg-split { grid-template-columns: 1fr 1fr; }
.lg-page.lg-look-console .lg-left { background: #f5c400; color: #111; }
.lg-page.lg-look-console .lg-branch h1,
.lg-page.lg-look-console .lg-hello,
.lg-page.lg-look-console .lg-lead { color: #111; }
.lg-page.lg-look-console .lg-right {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px;
  background: #5b21b6;
}
.lg-page.lg-look-console .lg-theme,
.lg-page.lg-look-console .lg-preview,
.lg-page.lg-look-console .lg-promo { display: none; }
.lg-page.lg-look-console { background: linear-gradient(90deg, #2f6bff 46%, #0c0e12 46%); }
.lg-page.lg-look-console .lg-left { background: transparent; }
.lg-page.lg-look-console .lg-right { background: transparent; display: block; }
.lg-page.lg-look-console .lg-branch h1,
.lg-page.lg-look-console .lg-hello,
.lg-page.lg-look-console .lg-lead { color: inherit; }
.lg-page.lg-look-console .lg-form {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 4;
  background: #161a20; color: #fff; border-radius: 16px; padding: 22px; width: min(380px, 86vw);
}
.lg-page.lg-look-console .lg-hello,
.lg-page.lg-look-console .lg-lead { color: #fff; }
.lg-page.lg-look-console .lg-hero { left: 4vw; top: auto; bottom: 12vh; max-width: 36vw; font-size: clamp(22px, 2.4vw, 32px); }
.lg-page.lg-look-console .lg-look-pc {
  display: block; position: absolute; left: 4vw; top: 28%; margin: 0; color: #fff;
  font-size: clamp(48px, 8vw, 140px); font-weight: 800; letter-spacing: -.05em; line-height: .85;
  max-width: 38vw; word-break: break-word;
}
.lg-page.lg-look-console .lg-look-clock {
  display: block; position: absolute; right: 6vw; top: 22%; margin: 0; color: #fff;
  font-size: clamp(36px, 5vw, 72px); font-weight: 750; letter-spacing: -.04em;
}
.lg-page[data-accent] .lg-submit,
.lg-page[data-accent].lg-look-esports .lg-submit,
.lg-page[data-accent] .lg-brand b,
.lg-page[data-accent].lg-look-esports .lg-brand b { background: var(--lg-orange); }
.lg-page[data-accent].lg-look-esports .lg-form { border-left-color: var(--lg-orange); }
.lg-page[data-card="left"] .lg-left { justify-items: start; padding-left: 6vw; }
.lg-page[data-card="center"] .lg-left { justify-items: center; padding-left: 24px; padding-right: 24px; }
.lg-page[data-card="right"] .lg-left,
.lg-page[data-card="dock"] .lg-left { justify-items: end; padding-right: 6vw; }
.lg-page[data-cardstyle="translucent"] .lg-form {
  background: rgba(16, 20, 24, .55);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 18px 16px 8px;
  backdrop-filter: blur(8px);
}
.lg-page.is-light[data-cardstyle="translucent"] .lg-form { background: rgba(255,255,255,.72); }
.lg-page.is-setcard .lg-theme { display: none !important; }
.lg-page[data-look] .lg-notice {
  position: absolute; z-index: 7; left: 28px; right: 28px; height: 32px; overflow: hidden;
  border-radius: 8px; background: rgba(0,0,0,.5); color: #fff; font-size: 13px; line-height: 32px;
}
.lg-page[data-notice="top"] .lg-notice { top: 74px; }
.lg-page[data-notice="bottom"] .lg-notice { bottom: 52px; }
.lg-notice[hidden] { display: none !important; }
.lg-notice span { display: inline-block; padding-left: 100%; white-space: nowrap; animation: lg-note var(--lg-note, 18s) linear infinite; }
@keyframes lg-note { to { transform: translateX(-100%); } }

.lg-sub { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; margin: 8px 0 12px; background: rgba(255,255,255,.04); border-radius: 10px; padding: 3px; }
.lg-sub button { border: 0; background: transparent; color: #c5ccd3; border-radius: 8px; min-height: 30px; font: inherit; font-size: 12px; cursor: pointer; }
.lg-sub button.on { background: #1c2228; color: #fff; }
.lg-rates { display: flex; flex-direction: column; gap: 8px; }
.lg-rate { display: flex; justify-content: space-between; gap: 10px; align-items: center; text-align: left; width: 100%; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); color: inherit; border-radius: 12px; padding: 10px 12px; font: inherit; cursor: pointer; }
.lg-rate.off { cursor: default; opacity: .72; }
.lg-rate b { display: block; font-size: 13px; }
.lg-rate small, .lg-rate em { display: block; font-style: normal; font-size: 11px; color: #9aa3ad; }
.lg-rate em.on { color: #3dd68c; }
.lg-rate strong { font-size: 16px; }
.lg-rate-note { margin: 4px 0 0; font-size: 11px; color: #9aa3ad; }
.lg-sheet { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; background: rgba(0,0,0,.45); }
.lg-sheet[hidden] { display: none; }
.lg-sheet-card { width: min(420px, 92vw); background: #171b20; color: #f3f5f7; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.lg-sheet-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.lg-sheet-card header button { border: 0; background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.lg-offer { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-bottom: 12px; }
.lg-offer > b { font-size: 28px; }
.lg-offer em.on { color: #3dd68c; font-style: normal; font-size: 12px; }
.lg-choice { display: block; width: 100%; text-align: left; margin-top: 8px; border: 1px solid rgba(255,255,255,.1); background: #12161a; color: inherit; border-radius: 12px; padding: 12px; font: inherit; cursor: pointer; }
.lg-choice b, .lg-choice span { display: block; }
.lg-choice span { color: #9aa3ad; font-size: 12px; }
.lg-sheet-acts { display: flex; gap: 8px; margin-top: 12px; }
.lg-sheet-acts button, .lg-sheet-card .go { min-height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: #12161a; color: #fff; font: inherit; font-weight: 700; cursor: pointer; padding: 0 14px; }
.lg-sheet-card .go { flex: 1; background: #ff5a00; border-color: #ff5a00; }
.lg-sheet-card .go.wide { width: 100%; margin-top: 12px; }
.lg-sheet-err { color: #ff8d7a; font-size: 13px; }
.lg-ok { color: #3dd68c; }
.lg-bill { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 13px; }
.lg-tell { border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.lg-tell small { display: block; letter-spacing: .08em; font-size: 10px; color: #9aa3ad; }
.lg-page.is-light .lg-sub button.on { background: #fff; color: #1c2126; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
#lgKioskScreen { position: fixed; inset: 0; z-index: 30; width: 100%; height: 100%; border: 0; background: #050607; }
#lgKioskScreen[hidden] { display: none !important; }
