:root {
  --bg: #ececf1;
  --bg-2: #ffffff;
  --ink: #121216;
  --muted: #5c5c66;
  --line: rgba(18, 18, 22, 0.1);
  --rent: #148a3c;
  --rent-ink: #ffffff;
  --lite: #0f766e;
  --lite-ink: #ffffff;
  --glow: rgba(20, 138, 60, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  color-scheme: light;
  font-family: Poppins, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
}

a { color: inherit; }

.top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.mark {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-size: 16px;
  color: var(--rent);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.chip-rent { color: var(--rent); }
.chip-lite { color: var(--lite); }
.chip-uc { color: #d97706; }

.admin-menu {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

a.menu-btn { display: flex; align-items: center; text-decoration: none; }

.menu-btn {
  min-height: 72px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.text-back {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 999px;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--ink);
  background: rgba(244, 241, 230, 0.06);
}

main {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
  flex: 1 0 auto;
}

.hero { padding: 12px 0 8px; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--rent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 12vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.lead {
  margin: 18px 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.products {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px 20px;
  box-shadow: var(--shadow);
}

.card-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.card-rent .card-kicker { color: var(--rent); }
.card-lite .card-kicker { color: var(--lite); }

.card h2 {
  margin: 8px 0 10px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.handle { color: var(--ink); white-space: nowrap; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #16a34a 0%, #84cc16 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(22, 163, 74, 0.25);
}

.btn-lite {
  background: linear-gradient(135deg, #0f766e 0%, #2dd4bf 100%);
  color: #042f2e;
  box-shadow: none;
}

.btn:hover { filter: brightness(1.05); }
.btn:focus-visible,
.top-nav a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.steps {
  margin-top: 28px;
  padding: 22px 20px;
  border-top: 1px solid var(--line);
}

.steps h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.steps ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}

.steps li + li { margin-top: 8px; }

footer {
  width: min(1180px, calc(100% - 32px));
  margin: auto auto 0;
  padding: 28px 0 88px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer p { margin: 0; }

.showcase { margin-top: 32px; }

.showcase-head {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
}

.showcase-head h2,
.panel h2,
.steps h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.count {
  margin: 0;
  color: var(--rent);
  font-size: 20px;
  font-weight: 700;
}

.hint {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.filter,
.nav-button,
.btn-ghost {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  padding: 8px 14px;
  cursor: pointer;
}

.filter[aria-pressed="true"] {
  background: var(--rent);
  color: var(--rent-ink);
  border-color: transparent;
}

.nav-button { border-radius: 999px; padding: 8px 10px; }

.empty {
  margin: 16px 0 0;
  padding: 22px 18px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
}

.shelf {
  display: grid;
  justify-content: start;
  gap: 12px;
  margin-top: 16px;
  align-items: stretch;
}

#shelf {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 156px), 1fr));
  gap: 10px;
}

.catalog-card {
  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: 3 / 4;
  height: auto;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #0c100c;
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: transform 0.18s ease;
}

.catalog-card:hover,
.catalog-card:focus-visible { transform: translateY(-3px); }

.catalog-card.is-rent { box-shadow: inset 3px 0 0 var(--rent), inset 0 0 0 1px var(--line); }
.catalog-card.is-lite { box-shadow: inset 3px 0 0 var(--lite), inset 0 0 0 1px var(--line); }

.catalog-cover {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  width: auto;
  max-height: none;
  overflow: hidden;
  background: #0c100c;
}

.catalog-cover img,
.catalog-cover video,
.catalog-cover .video-preview,
.catalog-cover .video-preview video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: scale(1.02);
}

.catalog-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 8, 0.15) 0%, rgba(8, 10, 8, 0.05) 38%, rgba(8, 10, 8, 0.88) 100%);
  pointer-events: none;
}

.catalog-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  padding: 8px 8px 9px;
  pointer-events: none;
}

.catalog-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(12, 16, 12, 0.72);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.is-rent .catalog-tag { color: var(--rent); }
.is-lite .catalog-tag { color: var(--lite); }

.catalog-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.catalog-num {
  margin: 0;
  font-size: 20px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.catalog-price {
  margin: 0;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(12, 16, 12, 0.72);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.is-rent .catalog-price { color: var(--rent); }
.is-lite .catalog-price { color: var(--lite); }

.catalog-note {
  margin: 0;
  max-width: 100%;
  color: rgba(244, 241, 230, 0.82);
  font-size: 11px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-cover-empty { background: #141914; }

.account {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.account.catalog-card {
  padding: 0;
  background: #0c100c;
}

.account .btn { margin-top: auto; }

.account-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.account-num {
  margin: 0;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }

.pill {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-rent { color: var(--rent); background: rgba(214, 255, 74, 0.12); }
.pill-lite { color: var(--lite); background: rgba(142, 240, 210, 0.12); }
.pill-free { color: var(--rent); background: rgba(214, 255, 74, 0.08); }
.pill-busy { color: var(--muted); background: rgba(244, 241, 230, 0.06); }

.account-note {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.account-note strong { color: var(--text); font-weight: 750; }
.account-note a { color: inherit; text-decoration: underline; }

.panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

textarea { min-height: 96px; resize: vertical; }

.form-error {
  min-height: 1.2em;
  margin: 0;
  color: #b42318;
}

button.btn,
.btn-ghost {
  width: 100%;
  border-radius: 14px;
  cursor: pointer;
}

button.btn { border: 0; }

.btn-ghost { color: var(--ink); }

.admin-actions { display: flex; gap: 8px; margin-top: 12px; }

.btn-danger { color: #ffb4a8; }

.steps h2 { margin-bottom: 12px; }

a.btn-inline {
  width: fit-content;
  min-width: 210px;
  padding-left: 22px;
  padding-right: 22px;
}

.search { margin-top: 18px; }

.search input {
  min-height: 56px;
  border-radius: 16px;
  background: var(--bg-2);
}

.channels { margin-top: 32px; }

.channel-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.social {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 132px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(244, 241, 230, 0.04), transparent 42%),
    var(--bg-2);
  border: 1px solid var(--line);
}

.social strong {
  font-size: 32px;
  letter-spacing: -0.04em;
}

.social span { color: var(--muted); }

.social-rent { box-shadow: inset 0 3px 0 var(--rent); }
.social-lite { box-shadow: inset 0 3px 0 var(--lite); }

.account .gallery {
  margin: -16px -16px 14px;
}

.stage {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #0c100c;
}

.stage img,
.stage video,
.thumb img,
.thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 8px;
}

.thumb {
  position: relative;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0c100c;
}

.thumb.is-on { outline: 2px solid var(--rent); outline-offset: 1px; }

.thumb-remove {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  min-height: 26px;
  border: 0;
  border-radius: 8px;
  background: rgba(16, 20, 15, 0.88);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}

.prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.prices li {
  padding: 8px;
  border-radius: 12px;
  background: rgba(244, 241, 230, 0.04);
}

.prices span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.prices strong { font-size: 15px; }

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-ok { color: var(--lite); }

.composer .album,
.account > .album {
  border-radius: 16px;
  overflow: hidden;
}

.account > .album {
  margin: -16px -16px 14px;
  border-radius: 18px 18px 0 0;
}

.album {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  min-height: 160px;
  background: #0c100c;
}

.album-2,
.album-3,
.album-many { grid-template-columns: 1fr 1fr; }

.album-3 .album-cell:first-child { grid-column: 1 / -1; }

.album.is-drop { outline: 2px solid var(--rent); outline-offset: 2px; }

.album-cell,
.album-add {
  position: relative;
  min-height: 120px;
  overflow: hidden;
  background: #0c100c;
}

.album-cell img,
.album-cell video {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  display: block;
}

.album-add {
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  background: rgba(244, 241, 230, 0.05);
}

.album-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 20, 15, 0.82);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.album-cell.is-pending { opacity: 0.55; }

.caption-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
}

.emoji-btn,
.emoji-pick {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.emoji-btn {
  min-width: 76px;
  border-radius: 14px;
  padding: 8px;
}

.emoji-panel {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(244, 241, 230, 0.04);
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
}

.emoji-pick {
  min-height: 40px;
  border-radius: 10px;
  font-size: 22px;
}

.premium-row { display: grid; gap: 8px; }

.tg-emoji {
  width: 1.35em;
  height: 1.35em;
  max-width: 22px;
  max-height: 22px;
  vertical-align: -0.25em;
  object-fit: contain;
}

.copy {
  margin-top: 14px;
  max-width: 36rem;
  line-height: 1.45;
}

.support {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
}

.support-open,
.support-close,
.support-q {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.support-open {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--rent);
  color: var(--rent-ink);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.support-panel {
  width: 100%;
  max-height: min(70vh, 480px);
  overflow: auto;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.support-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.support-close {
  background: transparent;
  color: var(--muted);
  padding: 6px 0;
}

.support-list { display: grid; gap: 8px; }

.support-q {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  text-align: left;
  background: #f1f5f9;
  color: var(--ink);
}

.support-q[aria-expanded="true"] { background: rgba(22, 163, 74, 0.12); }

.support-a,
.support-empty {
  margin: 8px 2px 0;
  color: var(--muted);
  line-height: 1.45;
}

@media (min-width: 700px) {
  .shelf:not(#shelf) { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 760px) {
  .products,
  .channel-list { grid-template-columns: 1fr 1fr; }
  .card { min-height: 240px; display: flex; flex-direction: column; }
  .card .btn { margin-top: auto; }
}

body.home,
body.home[data-line="lite"] {
  background: #f8fafc;
}

body.home .home-stage {
  display: grid;
  gap: 22px;
  padding-top: 18px;
  min-width: 0;
}

body.home h1 {
  font-size: clamp(48px, 8vw, 72px);
  letter-spacing: -0.04em;
}

body.home[data-line="rent"] h1 { color: var(--rent); }
body.home[data-line="lite"] h1 { color: var(--lite); }

.mode {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.mode::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--rent);
  transition: transform 0.28s ease, background 0.28s ease;
}

body.home[data-line="lite"] .mode::before {
  transform: translateX(100%);
  background: var(--lite);
}

.mode button {
  position: relative;
  z-index: 1;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
}

.mode button[aria-selected="true"] { color: var(--rent-ink); }
body.home[data-line="lite"] .mode button[aria-selected="true"] { color: var(--lite-ink); }

.hour-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.hour {
  min-height: 42px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.hour[aria-pressed="true"] {
  background: var(--rent);
  color: #fff;
  border-color: transparent;
}

.stage-count {
  min-height: 1.2em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.reel-wrap { min-width: 0; }

.reel-title {
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.reel-empty {
  margin: 0;
  color: var(--muted);
}

.reel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 240px);
  align-items: start;
  gap: 12px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.reel::-webkit-scrollbar { display: none; }

.video-preview {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 140px;
}

.video-preview video {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.video-preview-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(16, 20, 15, 0.72);
}

.video-preview-mark::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 16px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--ink);
}

.poster { cursor: pointer; }
.account-openable { cursor: pointer; }

body.account-open { overflow: hidden; }

.account-view {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
}

.account-view[hidden] { display: none; }

.account-sheet {
  --plyr-color-main: #d6ff4a;
  --plyr-video-control-color: #f4f1e6;
  --plyr-video-control-color-hover: #172000;
  --plyr-video-control-background-hover: #d6ff4a;
  --plyr-badge-background: #d6ff4a;
  --plyr-badge-text-color: #172000;
  --plyr-range-thumb-background: #d6ff4a;
  --plyr-font-family: inherit;
  --plyr-control-radius: 10px;
  --plyr-video-background: #070907;
  position: relative;
  width: min(520px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 0;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(214, 255, 74, 0.08), transparent 60%),
    var(--bg-2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), inset 0 3px 0 var(--rent);
}

.account-sheet.is-lite {
  --plyr-color-main: #8ef0d2;
  --plyr-video-control-background-hover: #8ef0d2;
  --plyr-badge-background: #8ef0d2;
  --plyr-range-thumb-background: #8ef0d2;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(142, 240, 210, 0.1), transparent 60%),
    var(--bg-2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), inset 0 3px 0 var(--lite);
}

.account-gallery { position: relative; }

.account-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #070907;
}

.account-stage-empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(160px 90px at 50% 42%, rgba(214, 255, 74, 0.16), transparent 70%),
    #070907;
}

.account-sheet.is-lite .account-stage-empty {
  background:
    radial-gradient(160px 90px at 50% 42%, rgba(142, 240, 210, 0.18), transparent 70%),
    #070907;
}

.account-stage-empty span {
  font-size: 56px;
  font-weight: 760;
  letter-spacing: -0.05em;
}

.account-stage .plyr,
.account-stage .plyr__video-wrapper {
  height: 100%;
  margin: 0;
  border-radius: 0;
}

.account-view-close {
  position: sticky;
  top: 12px;
  z-index: 4;
  margin: 12px 0 -40px 12px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 16, 12, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.account-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0 0 3px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(12, 16, 12, 0.78);
  color: var(--ink);
  font: inherit;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.account-arrow-prev { left: 12px; }
.account-arrow-next { right: 12px; }

.account-slide-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(12, 16, 12, 0.72);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.account-player {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  background: #070907;
  object-fit: contain;
}

.account-copy { padding: 16px 16px 18px; }

.account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-line {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(12, 16, 12, 0.72);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-line.is-rent { color: var(--rent); }
.account-line.is-lite { color: var(--lite); }

.account-sheet .account-note {
  margin-top: 12px;
  color: rgba(244, 241, 230, 0.86);
}

.account-sheet .prices { margin-top: 12px; }

.account-sheet h2 {
  margin: 0;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.order-box { margin-top: 16px; }

.order-form,
.order-done {
  display: grid;
  gap: 10px;
}

.order-title {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
}

.order-hours {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.order-hour {
  display: grid;
  gap: 2px;
  min-height: 52px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(244, 241, 230, 0.04);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.order-hour span {
  color: var(--muted);
  font-size: 12px;
}

.order-hour strong { font-size: 15px; }

.order-hour[aria-pressed="true"] {
  border-color: var(--rent);
  background: rgba(214, 255, 74, 0.12);
}

.account-sheet.is-lite .order-hour[aria-pressed="true"] {
  border-color: var(--lite);
  background: rgba(142, 240, 210, 0.12);
}

.order-sum,
.order-state {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.order-form .btn { margin-top: 0; }

.order-manager { margin-top: 4px; }

.order-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.order-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-2);
}

.order-card h2 {
  margin: 0;
  font-size: 20px;
}

.order-card p { margin: 0; }

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.order-actions .btn,
.order-actions .btn-ghost {
  width: auto;
  min-height: 40px;
  margin: 0;
  padding: 8px 14px;
}

.poster {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.poster-busy { opacity: 0.62; }

.poster-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0c100c;
}

.poster-media img,
.poster-media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-media-empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: var(--rent);
}

body.home[data-line="lite"] .poster-media-empty {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  color: var(--lite);
}

.poster-media-empty span {
  font-size: 42px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

body.catalog main.desk {
  width: min(1240px, calc(100% - 24px));
  margin: 12px auto 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 240px minmax(280px, 340px) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: calc(100vh - 128px);
}

.desk-list,
.desk-detail,
.desk-media {
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #141a14;
}

.desk-list,
.desk-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  max-height: calc(100vh - 128px);
}

.desk-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.desk-list h1 {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.desk-count {
  margin: 0;
  min-width: 32px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(214, 255, 74, 0.16);
  color: var(--rent);
  font-size: 13px;
  font-weight: 760;
}

.desk-list .search { margin: 0; }

.desk-list .search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.desk-list .search input { min-height: 44px; }

.desk-list .filters { margin: 0; }

.desk-list .filter {
  min-height: 32px;
  padding: 4px 10px;
  font-size: 13px;
}

.desk-list .empty {
  margin: 0;
  padding: 14px 12px;
}

.desk-accounts {
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: auto;
  min-height: 0;
  padding-right: 2px;
}

.desk-account {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 720;
  text-align: left;
  cursor: pointer;
}

.desk-account[aria-selected="true"] {
  border-color: rgba(214, 255, 74, 0.55);
  background: linear-gradient(90deg, rgba(214, 255, 74, 0.2), rgba(214, 255, 74, 0.05));
}

.desk-number {
  margin: 0;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.desk-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.desk-price {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.desk-price[aria-pressed="true"] {
  border-color: rgba(214, 255, 74, 0.7);
  background: rgba(214, 255, 74, 0.14);
  color: var(--rent);
}

.desk-detail.is-lite .desk-price[aria-pressed="true"] {
  border-color: rgba(142, 240, 210, 0.7);
  background: rgba(142, 240, 210, 0.14);
  color: var(--lite);
}

.desk-note {
  flex: 1;
  min-height: 80px;
  overflow: auto;
}

.desk-note .account-note { margin: 0; color: rgba(244, 241, 230, 0.88); }

.desk-action { margin-top: auto; }

.desk-rent {
  width: 100%;
  margin-top: 0;
}

.desk-rent:disabled {
  opacity: 0.55;
  cursor: default;
}

.desk-done {
  margin: 0;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(214, 255, 74, 0.12);
  color: var(--ink);
  font-weight: 720;
  line-height: 1.4;
}

.desk-media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  max-height: calc(100vh - 128px);
}

.desk-stage {
  position: relative;
  flex: 1;
  min-height: 280px;
  overflow: hidden;
  border-radius: 16px;
  background: #070907;
}

.desk-stage-empty {
  display: grid;
  place-items: center;
}

.desk-stage-empty span {
  font-size: 48px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.desk-stage .plyr,
.desk-stage .plyr__video-wrapper {
  height: 100%;
  margin: 0;
  border-radius: 0;
}

.desk-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #070907;
}

.desk-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  max-height: 168px;
  overflow: auto;
}

.desk-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid transparent;
  background: #070907;
  cursor: pointer;
}

.desk-thumb[aria-pressed="true"] { border-color: var(--rent); }
.desk-media.is-lite .desk-thumb[aria-pressed="true"] { border-color: var(--lite); }

.desk-thumb img,
.desk-thumb .video-preview,
.desk-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

@media (max-width: 980px) {
  body.catalog main.desk {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .desk-list,
  .desk-detail,
  .desk-media {
    max-height: none;
  }

  .desk-accounts { max-height: 280px; }
  .desk-stage { min-height: 220px; flex: none; aspect-ratio: 4 / 3; }
  .desk-note { max-height: 240px; flex: none; }
}

.poster-body { padding: 12px 14px 14px; }

.poster-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.poster-top strong { font-size: 20px; }
.poster-top span { color: var(--muted); font-size: 13px; }

.poster-price {
  margin: 6px 0 0;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

body.home[data-line="rent"] .poster-price { color: var(--rent); }
body.home[data-line="lite"] .poster-price { color: var(--lite); }

.poster-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  white-space: pre-wrap;
}

@media (min-width: 900px) {
  body.home .home-stage {
    grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
    align-items: start;
    gap: 36px;
  }

  .reel-wrap { grid-column: 2; grid-row: 1; }
  .reel { grid-auto-columns: 240px; }
}

body.catalog {
  background: #f8fafc;
  color: #1a1a2e;
  font-family: Poppins, "Segoe UI", sans-serif;
}

body.catalog main.shop {
  width: min(1180px, calc(100% - 32px));
  padding: 36px 0 64px;
}

.shop-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.shop-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-head h1 {
  margin: 0;
  color: #1a1a2e;
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.shop-desc {
  margin: 12px auto 0;
  max-width: 560px;
  color: #64748b;
  font-size: 16px;
}

.shop .search { max-width: 460px; margin: 22px auto 0; }

.shop .search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.shop .search input {
  min-height: 52px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: #1a1a2e;
}

.shop .filters {
  justify-content: center;
  margin-top: 18px;
}

.shop .filter {
  min-height: 40px;
  padding: 8px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  background: #fff;
  color: #64748b;
  font-weight: 500;
}

.shop .filter[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, #16a34a 0%, #84cc16 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(22, 163, 74, 0.25);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: #1a1a2e;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover,
.product-card:focus-visible {
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.product-image img,
.product-image video,
.product-image .video-preview,
.product-image .video-preview video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.product-image-empty {
  display: grid;
  place-items: center;
  height: 100%;
  color: #16a34a;
  font-size: 36px;
  font-weight: 700;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 14px;
  border-radius: 50px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-badge.rent { background: linear-gradient(135deg, #16a34a 0%, #84cc16 100%); }
.product-badge.lite { background: linear-gradient(135deg, #0f766e 0%, #2dd4bf 100%); }

.product-info { padding: 20px; }

.product-category {
  margin: 0 0 6px;
  color: #16a34a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card.is-lite .product-category,
.product-card.is-lite .price-current { color: #0f766e; }

.product-name {
  margin: 0 0 10px;
  color: #1a1a2e;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.product-note {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.product-price { margin: 0; }

.price-current {
  color: #16a34a;
  font-size: 20px;
  font-weight: 700;
}

.add-to-cart-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a 0%, #84cc16 100%);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 10px 30px rgba(22, 163, 74, 0.25);
}

.shop .empty {
  border-color: #e2e8f0;
  background: #fff;
  color: #64748b;
}

body.catalog footer { color: #64748b; }

.account-sheet {
  font-family: Poppins, "Segoe UI", sans-serif;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: #1a1a2e;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.account-sheet.is-lite { background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12); }

.account-sheet h2,
.account-sheet .order-title { color: #1a1a2e; }

.account-sheet .account-note,
.account-sheet .order-sum,
.account-sheet .order-state { color: #64748b; }

.account-line {
  background: rgba(22, 163, 74, 0.1);
}

.account-line.is-rent { color: #16a34a; }
.account-line.is-lite { color: #0f766e; background: rgba(15, 118, 110, 0.1); }

.account-sheet .order-hour {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: #1a1a2e;
}

.account-sheet .order-hour span { color: #64748b; }
.account-sheet .order-hour strong { color: #16a34a; }

.account-sheet .order-hour[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, #16a34a 0%, #84cc16 100%);
  box-shadow: 0 10px 30px rgba(22, 163, 74, 0.25);
}

.account-sheet .order-hour[aria-pressed="true"] span,
.account-sheet .order-hour[aria-pressed="true"] strong { color: #fff; }

.account-sheet.is-lite .order-hour[aria-pressed="true"] {
  background: linear-gradient(135deg, #0f766e 0%, #2dd4bf 100%);
  box-shadow: none;
}

.account-sheet .btn {
  border-radius: 16px;
  background: linear-gradient(135deg, #16a34a 0%, #84cc16 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(22, 163, 74, 0.25);
}

.account-sheet .btn-lite {
  background: linear-gradient(135deg, #0f766e 0%, #2dd4bf 100%);
  color: #042f2e;
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .product-image { height: 160px; }
}

@media (max-width: 520px) {
  .products-grid { grid-template-columns: 1fr; }
}

.theme-switch {
  position: relative;
  display: block;
  flex: none;
  width: 56px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #dfe0e6;
  cursor: pointer;
}

html[data-theme="dark"] .theme-switch {
  background: #464b5c;
}

.theme-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #fff;
  color: #1a1c24;
  transform: translateX(0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease, color 0.25s ease;
}

html[data-theme="dark"] .theme-knob {
  background: #14161a;
  color: #edeef0;
  transform: translateX(24px);
}

.theme-knob svg {
  position: absolute;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.2s ease;
}

.theme-sun { opacity: 1; }

.theme-knob .theme-moon {
  fill: currentColor;
  stroke: none;
  opacity: 0;
}

html[data-theme="dark"] .theme-sun { opacity: 0; }
html[data-theme="dark"] .theme-moon { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .theme-knob,
  .theme-knob svg { transition: none; }
}

html[data-theme="dark"] {
  --bg: #07070a;
  --bg-2: #121216;
  --ink: #f5f5f7;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.08);
  --rent: #3ee07a;
  --rent-ink: #07140c;
  --lite: #7dffe0;
  --lite-ink: #04221c;
  --glow: rgba(62, 224, 122, 0.2);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

body,
body.home,
body.home[data-line="lite"],
body.catalog {
  color: var(--ink);
  font-family: Poppins, "Segoe UI", sans-serif;
  background:
    radial-gradient(820px 420px at 88% -8%, var(--glow), transparent 62%),
    radial-gradient(640px 380px at -8% 18%, var(--glow), transparent 58%),
    var(--bg);
}

h1, h2, .mark, .shop-head h1, .account-sheet h2, .poster-top strong, .product-name {
  font-family: Poppins, "Segoe UI", sans-serif;
}

.top {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.mark { color: var(--ink); letter-spacing: 0.08em; }

.chip, .top-nav a {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 70%, transparent);
  color: var(--ink);
}

.chip-rent { color: var(--rent); }
.chip-lite { color: var(--lite); }
.chip-uc { color: #e2b15a; }

main { width: min(1180px, calc(100% - 32px)); }

body.home h1 {
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--ink);
}

body.home[data-line="rent"] h1,
body.home[data-line="lite"] h1 { color: var(--ink); }

.lead, .shop-desc, .product-note, .account-sheet .account-note,
.account-sheet .order-sum, .account-sheet .order-state { color: var(--muted); }

.host-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.host-points article,
.poster,
.product-card,
.account-sheet,
.account-sheet.is-lite,
.support-panel,
.card,
.panel,
.mode,
.shop .empty {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 88%, white) 0%, var(--bg-2) 100%);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.host-points article { padding: 22px 20px 20px; }
.host-points h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.04em; }
.host-points p { margin: 0; color: var(--muted); line-height: 1.45; }

.mode::before,
body.home[data-line="lite"] .mode::before { background: var(--rent); }
body.home[data-line="lite"] .mode::before { background: var(--lite); }
.mode button[aria-selected="true"],
body.home[data-line="lite"] .mode button[aria-selected="true"] { color: var(--rent-ink); }

.hour,
.shop .filter,
.shop .search input,
.account-sheet .order-hour,
.menu-btn,
input,
select,
textarea,
.support-q {
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  color: var(--ink);
  border-color: var(--line);
}

.hour[aria-pressed="true"],
.shop .filter[aria-pressed="true"],
.account-sheet .order-hour[aria-pressed="true"],
.account-sheet.is-lite .order-hour[aria-pressed="true"] {
  background: var(--rent);
  color: var(--rent-ink);
  border-color: transparent;
  box-shadow: none;
}

.account-sheet.is-lite .order-hour[aria-pressed="true"] {
  background: var(--lite);
  color: var(--lite-ink);
}

.btn,
.btn-lite,
.account-sheet .btn,
.account-sheet .btn-lite,
.add-to-cart-btn,
.support-open {
  background: var(--rent);
  color: var(--rent-ink);
  border-radius: 16px;
  box-shadow: 0 12px 30px var(--glow);
}

.btn-lite,
.account-sheet .btn-lite {
  background: var(--lite);
  color: var(--lite-ink);
}

.shop-head { text-align: left; max-width: none; }
.shop-tag {
  background: transparent;
  color: var(--rent);
  border-radius: 0;
  padding: 0;
  letter-spacing: 0.16em;
}
.shop-head h1 {
  color: var(--ink);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.05em;
}
.shop .search { margin-left: 0; }
.shop .search input { border-width: 1px; border-radius: 16px; }
.shop .filters { justify-content: flex-start; }
.shop .filter { border-width: 1px; font-weight: 600; }

.product-card:hover,
.product-card:focus-visible {
  border-color: color-mix(in srgb, var(--rent) 55%, var(--line));
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-image,
.poster-media-empty,
body.home[data-line="lite"] .poster-media-empty {
  background:
    radial-gradient(120px 80px at 50% 40%, var(--glow), transparent 70%),
    var(--bg);
}

.product-badge,
.product-badge.rent { background: var(--rent); color: var(--rent-ink); }
.product-badge.lite { background: var(--lite); color: var(--lite-ink); }
.product-category,
.price-current,
.poster-price,
body.home[data-line="rent"] .poster-price,
body.home[data-line="lite"] .poster-price,
.product-card.is-lite .product-category,
.product-card.is-lite .price-current,
.account-sheet .order-hour strong { color: var(--rent); }
.account-sheet .order-hour[aria-pressed="true"] strong,
.account-sheet .order-hour[aria-pressed="true"] span { color: var(--rent-ink); }
.account-sheet.is-lite .order-hour[aria-pressed="true"] strong,
.account-sheet.is-lite .order-hour[aria-pressed="true"] span { color: var(--lite-ink); }

.account-line,
.account-line.is-rent,
.account-line.is-lite {
  background: color-mix(in srgb, var(--rent) 14%, transparent);
  color: var(--rent);
}
.account-line.is-lite {
  background: color-mix(in srgb, var(--lite) 16%, transparent);
  color: var(--lite);
}

.support-q[aria-expanded="true"] { background: color-mix(in srgb, var(--rent) 18%, transparent); }
footer { border-top: 1px solid var(--line); color: var(--muted); }
body.catalog footer { color: var(--muted); }

@media (min-width: 900px) {
  body.home .home-stage {
    grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
    align-items: start;
  }
  .stage-copy { grid-column: 1; grid-row: 1; }
  .reel-wrap { grid-column: 2; grid-row: 1; }
  .host-points { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .host-points { grid-template-columns: 1fr; }
}

.lobby {
  display: grid;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.lobby-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: stretch;
  min-height: calc(100vh - 140px);
}

.lobby-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 8px 8px;
}

.lobby-brand {
  margin: 0 0 18px;
  color: var(--rent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.home .lobby-title {
  margin: 0;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.lobby-lead {
  max-width: 34rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.lobby-status {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.lobby-console {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 88%, white), var(--bg-2));
  box-shadow: var(--shadow);
}

body.home .lobby-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.home .lobby-mode::before { display: none; }

body.home .lobby-mode button {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  color: var(--muted);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 20px;
}

body.home .lobby-mode button[aria-selected="true"] {
  background: var(--rent);
  color: var(--rent-ink);
  border-color: transparent;
}

body.home .lobby-hours {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

body.home .lobby-hours .hour {
  min-height: 64px;
  border-radius: 16px;
  font-size: 16px;
}

.lobby-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lobby-cta .btn { margin-top: 0; }

.lobby-floor-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.lobby-floor h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
}

body.home .lobby-list {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: 1fr;
  gap: 12px;
  overflow: visible;
  padding: 0;
}

body.home .lobby-list .poster {
  flex-direction: row;
  align-items: stretch;
  min-height: 0;
}

body.home .lobby-list .poster-media,
body.home .lobby-list .poster-media-empty {
  width: 168px;
  aspect-ratio: auto;
  min-height: 112px;
  flex: none;
}

body.home .lobby-list .poster-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

@media (max-width: 860px) {
  .lobby-hero { grid-template-columns: 1fr; min-height: 0; }
  body.home .lobby-list .poster { flex-direction: column; }
  body.home .lobby-list .poster-media,
  body.home .lobby-list .poster-media-empty { width: 100%; aspect-ratio: 16 / 9; }
}

body.home .blank {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 24px 0 36px;
}

.blank-rail {
  position: absolute;
  top: 24px;
  right: 0;
  margin: 0;
  color: var(--rent);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

body.home .blank h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(64px, 11vw, 148px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.06em;
}

.blank-foot p {
  max-width: 28rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .blank-rail { position: static; writing-mode: horizontal-tb; margin-bottom: 24px; }
  body.home .blank { min-height: calc(100vh - 220px); }
}

.home-wall {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.banner-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2.4vw, 28px);
  background:
    radial-gradient(90% 120% at 78% 18%, color-mix(in srgb, var(--rent) 16%, transparent), transparent 58%),
    var(--bg-2);
  touch-action: pan-y;
}

.banner-track {
  display: flex;
  align-items: stretch;
}

.banner-slide {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: clamp(168px, 28vw, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.4vw, 28px) clamp(12px, 3vw, 36px);
}

.banner-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 18px);
  max-width: 100%;
  min-width: 0;
}

body.home .home-wall .banner-slide h1,
body.home .home-wall .banner-slide .banner-copy {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  max-width: 11em;
  font-size: clamp(20px, 2.6vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
}

.banner-slide img {
  height: clamp(132px, 26vw, 260px);
  width: auto;
  max-width: min(42%, 190px);
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  flex: none;
  display: block;
  pointer-events: none;
  user-select: none;
}

.banner-slide.banner-slide-full {
  position: relative;
  min-height: 0;
  padding: 0;
  display: block;
}

.banner-frame:has(.banner-slide-full) {
  border: 0;
  background: transparent;
}

.banner-slide.banner-slide-full img {
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}

.banner-slide.banner-slide-full .banner-dark { display: none; }
.banner-slide.banner-slide-full .banner-light { display: block; }
html[data-theme="dark"] .banner-slide.banner-slide-full .banner-dark { display: block; }
html[data-theme="dark"] .banner-slide.banner-slide-full .banner-light { display: none; }

.banner-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 18px;
  margin: 12px 0 8px;
}

.banner-frame > .banner-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  margin: 0;
  min-height: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, #000 42%, transparent);
}

.home-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin: 12px 0 8px;
}

.home-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

.home-chip--stars {
  gap: 8px;
  padding-inline: 14px 16px;
  border-color: color-mix(in srgb, var(--ink) 10%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 14%, transparent), transparent 55%),
    color-mix(in srgb, var(--bg-2) 82%, transparent);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 35%, transparent) inset,
    0 10px 24px color-mix(in srgb, #000 10%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-chip--stars:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 40%, transparent) inset,
    0 14px 28px color-mix(in srgb, #000 14%, transparent);
}

.home-chip-star {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: #22c55e;
  filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.75));
}

html[data-theme="dark"] .home-chip--stars {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 55%),
    rgba(24, 24, 28, 0.72);
  color: #f5f5f7;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 28px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .home-chip--stars,
html:not([data-theme="dark"]) .home-chip--stars {
  border-color: rgba(18, 18, 22, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55)),
    rgba(255, 255, 255, 0.72);
  color: #121216;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 22px rgba(18, 18, 22, 0.08);
}

footer.site-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  align-items: start;
  justify-content: space-between;
  gap: 28px 40px;
}

.site-foot-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  grid-template-areas:
    "community docs"
    "channels stubs";
  align-items: start;
  justify-self: end;
  column-gap: 28px;
  row-gap: 10px;
  width: min(100%, 460px);
  max-width: 100%;
}

.site-foot-copy {
  display: grid;
  justify-items: start;
  gap: 4px;
  width: min(100%, 28rem);
  max-width: 100%;
  min-width: 0;
  text-align: left;
}

.site-foot-copy p {
  max-width: 100%;
  overflow-wrap: break-word;
}

.site-foot-kicker { grid-area: community; }
.site-foot-docs { grid-area: docs; }
.site-foot-channels { grid-area: channels; }
.site-foot-stubs { grid-area: stubs; }

.site-foot-channels,
.site-foot-stubs {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.site-foot-channel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.site-foot-channel span,
.site-foot-stubs p {
  min-width: 0;
  overflow-wrap: break-word;
}

.site-foot-stubs p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

@media (max-width: 800px) {
  footer.site-foot {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .site-foot-side {
    order: 1;
    justify-self: stretch;
    width: 100%;
    column-gap: 16px;
  }
  .site-foot-copy { order: 2; }
}

.site-foot .tg-mark,
.site-foot .foot-mark {
  width: 18px;
  height: 18px;
  flex: none;
  object-fit: contain;
  display: block;
}

.site-foot-kicker {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.site-foot-title {
  color: var(--ink);
  font-weight: 650;
}

.site-foot-docs {
  flex: none;
  align-self: flex-start;
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
}

.auth-screen {
  display: flex;
  justify-content: center;
}

.auth-login {
  width: min(420px, 100%);
}

.auth-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 14px;
  text-align: right;
}

.auth-note {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.auth-aside .btn {
  width: auto;
  max-width: 100%;
  margin-top: 0;
}

.auth-stubs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.auth-stub {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.auth-soon {
  margin: 12px 0 0;
  color: var(--muted);
}

.auth-pass {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(148px, 220px);
  gap: 10px 12px;
  align-items: start;
}

.auth-hints {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.auth-hints li.is-ok { color: var(--rent); }
.auth-hints li.is-bad { color: #b42318; }

@media (max-width: 640px) {
  .auth-pass { grid-template-columns: minmax(0, 1fr); }
}

.banner-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: color-mix(in srgb, var(--muted) 50%, transparent);
  cursor: pointer;
}

.banner-dots button[aria-current="true"] {
  width: 22px;
  background: var(--rent);
}

.top {
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 18px;
}

.top .mark,
.top .theme-switch { flex: none; }

.top-search {
  position: relative;
  flex: 0 1 360px;
  width: 360px;
  max-width: 360px;
  min-width: 160px;
  margin: 0;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.top-search .search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.top-search input {
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
  padding: 8px 16px 8px 40px;
}

.top-links,
.tabbar {
  display: flex;
  align-items: center;
}

.top-links {
  gap: 2px;
  margin-left: auto;
}

.nav-item,
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 72px;
  padding: 4px 8px;
  border-radius: 14px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
}

.nav-item svg,
.tabbar svg,
.search-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item svg,
.tabbar svg {
  width: 22px;
  height: 22px;
}

.nav-item:hover,
.tabbar a:hover,
.nav-item[aria-current="page"],
.tabbar a[aria-current="page"] {
  color: var(--ink);
}

.nav-item[aria-current="page"],
.tabbar a[aria-current="page"] {
  background: color-mix(in srgb, var(--bg-2) 82%, transparent);
}

.tabbar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 30;
  justify-content: space-around;
  gap: 4px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.text-page {
  width: min(720px, calc(100% - 32px));
  margin: 28px auto 56px;
}

.text-page h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
}

.text-page p,
.text-page li {
  color: var(--muted);
  line-height: 1.55;
}

.text-page ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.text-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.text-page .btn {
  width: auto;
  min-width: 200px;
  margin-top: 0;
}

.rules-page {
  width: min(980px, calc(100% - 32px));
}

.rules-page h1 {
  max-width: 16ch;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.missing-page {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.missing-code {
  margin: 0 0 8px;
  color: var(--rent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.missing-page .home-more { margin-top: 22px; }

.rules-note {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--rent) 40%, var(--line));
  border-radius: 16px;
  background: color-mix(in srgb, var(--rent) 14%, transparent);
  color: var(--ink);
  font-weight: 600;
}

.rules-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-2) 80%, transparent);
  color: var(--ink);
}

.rules-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--rent);
  color: var(--rent-ink);
  font-weight: 700;
  line-height: 1;
}

.rules-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 16px;
}

.rules-list p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 720px) {
  .rules-page { width: min(720px, calc(100% - 24px)); }
  .rules-page h1 { max-width: none; font-size: 30px; }
  .rules-list { grid-template-columns: 1fr; }
  .rules-list li { padding: 14px; }
}

@media (max-width: 820px) {
  .top { gap: 8px; padding: 10px 12px; }
  .top .mark { order: 1; }
  .top .top-search {
    order: 2;
    flex: 1 1 auto;
    width: auto;
    max-width: none;
  }
  .top .theme-switch { order: 3; }
  .top-links { display: none; }
  .tabbar { display: flex; }
  body:has(.tabbar) { padding-bottom: 96px; }
  body:has(.tabbar) .support { bottom: 108px; }
}

.home-picks {
  width: 100%;
  margin: 8px auto 0;
  overflow: hidden;
  touch-action: pan-y;
}

.home-picks-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.home-picks-track > .acct,
.home-picks-track > .home-more-card {
  flex: 0 0 calc((100% - 56px) / 5);
  width: auto;
  min-width: 0;
}

.home-picks-track .acct .btn {
  width: 100%;
  margin-top: 4px;
}

.acct-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.acct-actions .btn {
  min-height: 44px;
  margin-top: 0;
  padding: 10px 8px;
  font-size: 14px;
}

.acct-actions .btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.home-more-card {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 180px;
  padding: 18px;
  border-radius: 22px;
  background: var(--rent);
  color: var(--rent-ink);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
}

.home-picks-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 18px;
  margin: 12px 0 0;
}

.home-picks-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: color-mix(in srgb, var(--muted) 50%, transparent);
  cursor: pointer;
}

.home-picks-dots button[aria-current="true"] {
  width: 22px;
  background: var(--rent);
}

.home-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(390px, 100%);
  margin: 14px auto 0;
  min-height: 48px;
  border-radius: 999px;
  background: var(--rent);
  color: var(--rent-ink);
  text-decoration: none;
  font-weight: 700;
}

.banner-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
}

.banner-row img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.banner-row p { margin: 0; }

.banner-row .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 640px) {
  .banner-row { grid-template-columns: 72px 1fr; }
  .banner-row .row-actions { grid-column: 1 / -1; }
}

label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

label.check input {
  width: 20px;
  min-height: 20px;
  padding: 0;
}

.home-wall .product-image { height: 168px; }
.home-wall .product-info { padding: 16px; }
.home-wall .product-price { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }

.media-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.shop-desc a { color: var(--rent); }

.acct {
  display: flex;
  width: 100%;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-2);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.acct.is-busy { opacity: 0.72; }

.acct-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg) 70%, #000);
}

.acct-media img,
.acct-media video,
.acct-media .video-preview,
.acct-media .video-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acct-media .video-preview {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.acct-media .video-preview video { min-height: 0; }

.acct-media-empty {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px;
  color: var(--muted);
  text-align: center;
}

.acct-tag,
.acct-state,
.acct-flag {
  font-size: 11px;
  font-weight: 700;
}

.acct-tag,
.acct-state {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.acct-tag,
.acct-flag {
  background: #e2b15a;
  color: #1a1204;
}

.acct-tag { left: 10px; }

.acct-state {
  right: 10px;
  background: rgba(8, 10, 16, 0.72);
  color: #fff;
}

.acct-state.is-free {
  background: var(--rent);
  color: var(--rent-ink);
}

.acct-dots {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.acct-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.acct-dots button[aria-current="true"] {
  width: 16px;
  background: #fff;
}

.acct-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.acct-line {
  margin: 0;
  color: var(--rent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.acct.is-lite .acct-line { color: var(--lite); }

.acct-name {
  margin: 0;
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 22px;
  line-height: 1.15;
}

.pick-open {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.pick-copy {
  display: grid;
  gap: 6px;
  padding: 14px 14px 8px;
}

.pick-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.pick-price {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.acct.pick .acct-name { font-size: 18px; }

.acct.pick .acct-actions {
  padding: 0 14px 14px;
}

.account-wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
}

.account-hero-media .account-stage {
  border-radius: 28px;
}

.account-hero-media .account-player {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.account-hero-copy h1 {
  margin: 6px 0 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.account-back {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.account-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.account-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-2) 80%, transparent);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.account-badge.is-free {
  background: var(--rent);
  color: var(--rent-ink);
}

.account-badge.is-tag {
  background: #e2b15a;
  color: #1a1204;
}

.account-from {
  margin: 18px 0 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.account-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.account-hero-actions .btn {
  width: auto;
  min-width: 148px;
}

.account-section {
  margin-top: 36px;
}

.account-section h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-story {
  max-width: 42rem;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .account-hero { grid-template-columns: 1fr; gap: 18px; }
  .account-hero-actions .btn { flex: 1; }
}

.acct-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acct-stats.is-live {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.acct-stats li {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 4px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  text-align: center;
}

.acct-stats strong {
  font-size: 16px;
  line-height: 1.1;
}

.acct-stats span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.acct-stats.is-live li {
  position: relative;
  padding: 0;
  background: transparent;
}

.acct-stat {
  display: grid;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.acct-stat[aria-pressed="true"] {
  outline: 1px solid var(--rent);
}

.acct-tip-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.acct-tip {
  position: absolute;
  z-index: 4;
  left: 0;
  top: calc(100% + 6px);
  width: max-content;
  max-width: 240px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  white-space: pre-line;
  max-height: 220px;
  overflow: auto;
  box-shadow: var(--shadow);
}

.acct-stats li:nth-child(3n) .acct-tip {
  left: auto;
  right: 0;
}

.acct-stats li:nth-child(3n + 2) .acct-tip {
  left: 50%;
  transform: translateX(-50%);
}

.acct-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acct-prices li {
  display: flex;
  gap: 6px;
  align-items: baseline;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
}

.acct-prices span { color: var(--muted); }

.acct-prices .is-night {
  border-color: color-mix(in srgb, var(--lite) 55%, var(--line));
}

.acct-note {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.acct-flag {
  display: inline-flex;
  width: fit-content;
  margin: 10px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
}

.account-copy .acct-stats { margin-top: 12px; }

@media (max-width: 800px) {
  .home-picks-track > .acct,
  .home-picks-track > .home-more-card {
    flex-basis: 100%;
  }
}

.account-sheet,
.account-sheet.is-lite {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--bg-2);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.account-sheet h2,
.account-sheet .order-title { color: var(--ink); }

.account-sheet .account-note,
.account-sheet .order-sum,
.account-sheet .order-state { color: var(--muted); }

.account-sheet .order-hour {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  color: var(--ink);
}

.account-sheet .order-hour span { color: var(--muted); }
.account-sheet .order-hour strong { color: var(--ink); }

.account-sheet .order-hour[aria-pressed="true"] {
  border-color: transparent;
  background: var(--rent);
  box-shadow: none;
}

.account-sheet .order-hour[aria-pressed="true"] span,
.account-sheet .order-hour[aria-pressed="true"] strong { color: var(--rent-ink); }

.account-sheet.is-lite .order-hour[aria-pressed="true"] {
  background: var(--lite);
  box-shadow: none;
}

.account-sheet.is-lite .order-hour[aria-pressed="true"] span,
.account-sheet.is-lite .order-hour[aria-pressed="true"] strong { color: var(--lite-ink); }

.account-sheet .btn {
  border-radius: 14px;
  background: var(--rent);
  color: var(--rent-ink);
  box-shadow: none;
}

.account-sheet .btn-lite {
  background: var(--lite);
  color: var(--lite-ink);
}

.item-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.item-tools input,
.item-tools select {
  flex: 1 1 220px;
  min-height: 44px;
}

.item-card .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.item-card .btn,
.item-card .text-back {
  min-height: 36px;
  margin: 0;
  font-size: 14px;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.item-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
}

.item-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
}

.item-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
}

#shelf.products-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 720px) {
  #shelf.products-grid { grid-template-columns: 1fr; }
}

.pay-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pay-actions .btn,
.pay-actions .btn-ghost,
.pay-actions .btn-lite {
  width: auto;
  margin-top: 0;
  min-height: 48px;
}

.order-label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.order-label input,
.order-label textarea,
.order-form textarea,
.order-actions input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
}

.order-form textarea { min-height: 88px; resize: vertical; }

.quick-row,
.set-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick-chip,
.set-row .filter {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.pay-qr {
  display: block;
  width: 180px;
  height: 180px;
  margin-top: 8px;
  border-radius: 16px;
  background: #fff;
}

.zoom-box,
.share-box {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

main.chat-page { width: min(960px, calc(100% - 32px)); }

.chat-desk {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.chat-list, .chat-thread {
  display: grid;
  gap: 8px;
  align-content: start;
}

.chat-list a {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  color: inherit;
  text-decoration: none;
}

.chat-list a[aria-current="true"] { border-color: var(--rent); }

.chat-list strong, .chat-thread h1 { margin: 0; font-size: 18px; }

.chat-list span, .checkout-account p, .checkout-balance, .checkout-total span { color: var(--muted); }

.checkout {
  display: grid;
  gap: 16px;
}

.checkout-account {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-2);
}

.checkout-account img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
}

.checkout-account h1 { margin: 0; font-size: 28px; }

.checkout-hours, .pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkout-hours button, .pay-methods button {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
}

.checkout-hours .btn-ghost, .pay-methods .btn-ghost {
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.checkout-balance, .checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}

.checkout-total strong { font-size: 28px; color: var(--ink); }

.profile-page { width: min(640px, calc(100% - 32px)); }

.profile-card { display: grid; gap: 14px; }

.profile-id {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.profile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
  flex: 0 0 auto;
}

.profile-id h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.profile-logout {
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-2);
}

.profile-row span { color: var(--muted); font-size: 14px; }

.profile-row strong {
  display: block;
  margin-top: 2px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.profile-tenure strong { font-size: 22px; margin-top: 0; }

.profile-balance .btn {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  white-space: nowrap;
}

.profile-block h2 {
  margin: 8px 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.profile-empty { margin: 0; color: var(--muted); }

.purchase {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-2);
}

.purchase + .purchase { margin-top: 8px; }

.purchase strong { font-size: 16px; }

.purchase span { color: var(--muted); font-size: 13px; }

.profile-chats { display: grid; gap: 8px; }

.profile-chats a {
  color: var(--ink);
  text-decoration: none;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
}

.topup-page { width: min(560px, calc(100% - 32px)); }

.topup-back {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.topup-page h1 { margin: 0; font-size: 32px; }

@media (max-width: 800px) {
  .chat-desk { grid-template-columns: 1fr; }
  .chat-desk.is-open .chat-list { display: none; }
  .chat-desk:not(.is-open) .chat-thread { display: none; }
}

.chat-log {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  margin-top: 8px;
}

.chat-line {
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  line-height: 1.4;
}

.chat-line.is-manager { background: color-mix(in srgb, var(--rent) 16%, transparent); }

.set-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 40;
  width: min(440px, calc(100% - 32px));
  margin: 0;
  transform: translateX(-50%);
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.issue-time {
  margin: 8px 0 0;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.share-box .btn-ghost,
.pay-actions .btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
}

.screen-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.screen-links a,
.screen-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.zoom-gate {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.zoom-gate h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.zoom-status {
  margin: 0;
  font-weight: 650;
}

.zoom-status.is-online { color: var(--rent); }

.zoom-details { display: grid; gap: 8px; }

.menu-btn[aria-pressed="true"] { outline: 2px solid var(--rent); }

body.admin main {
  width: min(720px, calc(100% - 28px));
}

body.admin h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 650;
  letter-spacing: -0.045em;
}

body.admin .lead {
  max-width: 42em;
  margin-top: 8px;
}

body.admin #lock {
  margin-top: 8vh;
}

body.admin .admin-menu {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.admin .menu-btn {
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
}

body.admin .admin-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-2) 90%, transparent);
}

body.admin .admin-card .account-num {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

body.admin .admin-card .account-note {
  margin: 0;
  font-size: 13px;
}

body.admin .admin-actions .btn-ghost {
  width: auto;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
}

body.admin .panel {
  gap: 14px;
}

body.admin fieldset {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

@media (max-width: 640px) {
  body.admin .admin-menu { grid-template-columns: 1fr; }
  body.admin #lock { margin-top: 4vh; }
}

