.public-input input {
  min-width: 0;
  flex: 1;
  height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 20px;
  color: #fff;
  background: #272727;
  font-size: 13px;
  outline: none;
}
.public-input input:focus { border-color: #666; background: #181818; }
.public-input .chat-send { color: #0f0f0f; background: #f1f1f1; font-size: 14px; }
.public-input .chat-send:disabled { opacity: .45; }
.engine-state { display: none; }
.chat-message.user-public-message { margin: 4px -4px; padding: 8px 4px; border-radius: 6px; background: #263850; }
.chat-message.user-public-message .chat-message__meta strong { color: #8ab4f8; font-weight: 700; }

.right-rail { min-width: 0; }
.right-rail .live-chat-panel { position: relative; top: auto; height: calc(100dvh - 94px); }
.description-box { overflow: hidden; }
.description-box summary { cursor: pointer; list-style: none; }
.description-box summary::-webkit-details-marker { display: none; }
.description-box summary > strong { display: block; }
.description-preview { display: block; margin-top: 9px; line-height: 1.5; }
.show-more { display: block; margin-top: 10px; }
.description-box[open] .description-preview { display: none; }
.description-box[open] .show-more { display: none; }
.description-content { max-width: 820px; padding-top: 8px; font-size: 14px; line-height: 1.65; }
.description-content h2 { margin: 20px 0 8px; font-size: 17px; }
.description-content p { margin: 8px 0; }
.description-content hr { margin: 24px 0; border: 0; border-top: 1px solid #484848; }
.description-content ol,
.description-content ul { margin: 8px 0; padding-left: 24px; }
.description-content li { margin: 5px 0; }
.description-content dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; }
.description-content dd { margin: 0; color: #8ab4f8; }
.collapse-description { display: block; margin-top: 24px; padding: 0; border: 0; color: #f1f1f1; background: transparent; font-weight: 700; cursor: pointer; }
.account-avatar,
.channel-avatar,
.chat-message__avatar.user-avatar-image { display: block; object-fit: cover; }
.recommendations { display: grid; gap: 12px; margin-top: 18px; }
.recommendation-link { display: block; border-radius: 8px; color: inherit; text-decoration: none; }
.recommendation-link:focus-visible { outline: 2px solid #3ea6ff; outline-offset: 3px; }
.recommendation-link article { transition: background-color .16s ease-out; }
.recommendation-link:hover article { background: #1c1c1c; }
.recommendation-tabs { display: flex; gap: 8px; overflow: hidden; }
.recommendation-tabs button { flex: 0 0 auto; padding: 8px 13px; border: 0; border-radius: 8px; color: #fff; background: #272727; font-size: 13px; font-weight: 700; }
.recommendation-tabs button.is-active { color: #0f0f0f; background: #fff; }
.recommendations article { position: relative; display: grid; grid-template-columns: 168px 1fr; gap: 10px; min-width: 0; }
.recommendations article .recommendation-thumbnail { width: 168px; aspect-ratio: 16/9; border-radius: 8px; object-fit: cover; }
.recommendations article strong { display: -webkit-box; overflow: hidden; font-size: 14px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.recommendations article p,
.recommendations article small { display: block; margin: 5px 0 0; color: #aaa; font-size: 12px; }
.recommendation-copy { min-width: 0; }
.recommendations article .recommendation-channel { display: flex; align-items: center; gap: 7px; margin-top: 8px; color: #aaa; }
.recommendations article .recommendation-channel img { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; object-fit: cover; background: #272727; }
.duration { position: absolute; left: 126px; top: 70px; padding: 2px 4px; border-radius: 3px; background: rgba(0,0,0,.8); font-size: 10px; font-weight: 700; }
@media (max-width: 850px) { .right-rail .live-chat-panel { height: 600px; } .recommendations { margin: 18px 12px 0; } }

/* Match the supplied café composition: tall comment frame left, half-body host center-right. */
.stream-chat-overlay { left: 2.8%; top: 3.5%; width: 42.5%; height: 92%; }
.stream-chat-feed { top: 17%; bottom: 6%; gap: 4px; }
.stream-chat-line { padding-bottom: 4px; line-height: 1.35; }
.stream-info-overlay { position: absolute; z-index: 6; top: 3%; right: 2.5%; width: 22%; aspect-ratio: 2.75; display: grid; place-content: center; color: #745c68; text-align: center; pointer-events: none; }
.stream-info-overlay > img,
.character-caption > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.stream-info-overlay span,
.stream-info-overlay strong { position: relative; z-index: 1; display: block; }
.stream-info-overlay span { font-size: clamp(7px, .72vw, 10px); font-weight: 700; }
.stream-info-overlay strong { font-size: clamp(11px, 1.35vw, 19px); }
.character-caption { left: auto; right: 2.5%; top: 16%; bottom: auto; width: 24%; max-width: 24%; min-height: 18%; padding: 0; border-radius: 0; color: #745c68; background: transparent; transform: none; }
.character-caption > div { position: relative; z-index: 1; min-height: 100%; display: grid; place-content: center; padding: 17% 12% 11%; }
.character-caption small { color: #bd748d; }

@media (max-width: 540px) {
  .stream-info-overlay { display: grid; }
  .character-caption { left: auto; right: 2%; top: 16%; width: 27%; min-width: 0; max-width: 27%; font-size: 8px; }
}

.stream-intro { position: absolute; z-index: 30; inset: 0; overflow: hidden; background: #000; }
.stream-intro.is-finished { display: none; }
.waiting-video,
.transition-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.waiting-video { z-index: 1; opacity: 1; }
.transition-video { z-index: 2; opacity: 0; }
.stream-intro.is-transitioning { background: transparent; pointer-events: none; }
.stream-intro.is-transitioning .waiting-video { opacity: 1; }
.stream-intro.is-transitioning .transition-video { opacity: 1; }
.standby-caption { position: absolute; z-index: 4; left: 50%; bottom: 8%; width: min(82%, 720px); padding: 10px 18px; border-radius: 4px; color: #fff; background: rgba(15,15,15,.76); font-size: clamp(12px,1.25vw,18px); line-height: 1.45; text-align: center; transform: translateX(-50%); opacity: 0; transition: opacity .18s ease-out; pointer-events: none; }
.standby-caption.is-visible { opacity: 1; }
