:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #fcffff;
  background: #eaf0f3;
}
* { box-sizing: border-box; }
body, p, h1, h2 { margin: 0; }
button, input, a { font: inherit; -webkit-tap-highlight-color: transparent; }
button, a { color: inherit; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #83e3ff;
  outline-offset: 2px;
}
.symbols { display: none; }
svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[hidden] { display: none !important; }
.room { isolation: isolate; color: white; background: #253440; }
.stage, .stage::after, .stage video { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage { z-index: -1; overflow: hidden; }
.stage video { display: block; object-fit: cover; object-position: 50% 35%; }
.stage::after {
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, #0a1b2c65, transparent 21%, transparent 44%, #0818254a 61%, #061420c9 82%, #07121dfc);
}
.room-head, .host, .utilities, .host-copy > span, .live, .disc, .series, .public-label, .actions, .action,
.sheet-head, .choice, .confirm, .chosen {
  display: flex;
  align-items: center;
}
.room-head { justify-content: space-between; gap: 10px; padding: 14px 15px; }
.host {
  gap: 8px;
  min-height: 48px;
  padding: 4px 12px 4px 4px;
  border: 1px solid #ffffff53;
  border-radius: 26px;
  background: #102330ba;
  backdrop-filter: blur(8px);
}
.avatar { display: block; width: 36px; height: 36px; border: 2px solid #ff81ba; border-radius: 50%; object-fit: cover; }
.host-copy { display: grid; gap: 3px; }
.host-copy strong { font-size: 14px; line-height: 1.15; }
.host-copy > span { gap: 5px; font-size: 10px; font-weight: 600; }
.live { gap: 3px; padding: 2px 5px; border-radius: 3px; color: white; background: #c42d72; font: 800 9px/1 Arial, sans-serif; letter-spacing: .04em; }
.live i { width: 4px; height: 4px; border-radius: 50%; background: white; }
.utilities { gap: 5px; }
.disc { width: 44px; height: 44px; justify-content: center; border: 1px solid #ffffff60; border-radius: 50%; background: #13253299; }
.disc svg { width: 18px; height: 18px; }
.stage-notice {
  position: absolute;
  left: 16px;
  top: 77px;
  max-width: calc(100% - 32px);
  border: 1px solid #ffb8d668;
  border-radius: 24px;
  background: #3f173ccf;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 650;
}
.conversation { margin-top: auto; padding: 0 17px max(15px, env(safe-area-inset-bottom)); }
.topic { margin-bottom: 16px; text-shadow: 0 1px 8px #111b1f9c; }
.series { gap: 8px; font-size: 11px; font-weight: 650; letter-spacing: .05em; }
.series img { width: 75px; height: 19px; object-fit: contain; object-position: left center; }
.series i { width: 1px; height: 10px; background: #ffffff80; }
h1 { font-size: clamp(29px, 7.6cqw, 35px); line-height: 1.15; letter-spacing: -.045em; margin-top: 5px; }
.public-label { gap: 5px; color: #f9ecf6; width: fit-content; font-size: 11px; font-weight: 700; }
.public-label svg { width: 13px; height: 13px; }
.log { display: flex; flex-direction: column; gap: 4px; height: 94px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; margin: 7px 0 12px; }
.log p {
  width: fit-content;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 6px;
  color: #fff;
  background: #102334b3;
  font-size: 13px;
  line-height: 1.48;
  overflow-wrap: anywhere;
}
.log b { color: #afe3f0; margin-right: 7px; font-size: 12px; font-weight: 700; }
.log .host-line b, .log .tip-line b { color: #ffb5d7; }
.comment-form { display: flex; align-items: center; gap: 6px; margin-bottom: 9px; }
.comment-form input {
  width: 0;
  height: 44px;
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid #ffffff69;
  border-radius: 22px;
  color: white;
  background: #112633a8;
  font-size: 16px;
}
.comment-form input::placeholder { color: #f2f5f8d9; font-size: 13px; }
.comment-form button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff58; border-radius: 50%; background: #bceefb; color: #155570; }
.comment-form button:disabled { color: #c9d6dd; background: #ffffff15; border-color: #ffffff45; }
.comment-form svg { width: 18px; height: 18px; }
.actions { gap: 8px; }
.action { justify-content: center; gap: 7px; min-height: 47px; border-radius: 13px; font-size: 14px; font-weight: 750; }
.action svg { width: 20px; height: 20px; }
.action.gift { flex: 1; border: 1px solid #ff9fc9b5; background: #5a294acc; color: #ffd5e9; }
.action.private { flex: 1.35; border: 1px solid white; background: #fff7fb; color: #983764; }
#tip-sheet { position: absolute; inset: auto 0 0; width: min(100%,440px); max-width: 100%; max-height: 85%; margin: auto auto 0; padding: 0; border: 0; border-radius: 24px 24px 0 0; background: #fff; color: #102a38; box-shadow: 0 -8px 32px #07182545; }
#tip-sheet::backdrop { background: #07162173; }
@media (min-width: 600px) and (hover: hover) and (pointer: fine) {
  #tip-sheet { position: fixed; bottom: max(12px, calc((100dvh - var(--preview-height) * var(--preview-scale)) / 2)); width: calc(var(--preview-width) * var(--preview-scale)); border-radius: 19px; }
}
.sheet { padding: 9px 18px max(18px, env(safe-area-inset-bottom)); }
.pull { width: 34px; height: 4px; border-radius: 3px; background: #d6dfe4; margin: 0 auto 7px; }
.sheet-head { justify-content: space-between; margin-bottom: 10px; }
.sheet-head h2 { font-size: 21px; }
.sheet-head .disc { background: #eff4f6; border: 0; color: #46616f; }
.choices { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.choice { position: relative; gap: 10px; min-height: 64px; border: 1px solid #dce6eb; border-radius: 12px; padding: 6px 10px 6px 6px; background: #f7fafb; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.choice:has(input:focus-visible) { outline: 2px solid #0e83ac; outline-offset: 2px; }
.choice:has(input:checked) { border-color: #e99dbf; background: #fff5f9; }
.choice img { width: 78px; height: 52px; flex: none; border-radius: 7px; object-fit: cover; }
.choice strong { font-size: 16px; }
.price { margin-left: auto; color: #6b6b74; font-size: 10px; white-space: nowrap; }
.price b { color: #902b58; font-size: 13px; }
.chosen { flex: none; width: 18px; height: 18px; justify-content: center; border: 1px solid #cad7de; border-radius: 50%; }
.choice input:checked ~ .chosen { border-color: #c32f76; background: #c32f76; color: white; }
.choice input:checked ~ .chosen::after { content: "✓"; font-size: 12px; font-weight: 700; }
.tip-note { margin: 11px 0 13px; color: #526571; font-size: 12px; line-height: 1.6; }
.confirm { width: 100%; min-height: 45px; justify-content: center; border: 0; border-radius: 12px; background: #b62970; color: #fff; font-size: 15px; font-weight: 750; }
@container (max-height: 660px) {
  .room-head { padding: 9px 11px; }
  .conversation { padding: 0 12px max(9px, env(safe-area-inset-bottom)); }
  .topic { margin-bottom: 7px; }
  .log { height: 65px; margin: 4px 0 8px; }
  .actions .action { min-height: 44px; }
}
@container (max-height: 460px) {
  .log { height: 40px; }
  .topic .series { display:none; }
}
