.is-feed .feed-card,
.home-feed--arena,
.kb-live {
  width: min(94vw, 46rem);
  flex-shrink: 0;
  min-height: min-content;
}

@media (min-width: 1100px) {
  .is-feed .feed-card,
  .home-feed--arena,
  .kb-live {
    width: min(92vw, 58rem);
  }
}

.home-feed--arena .feed-head {
  position: relative;
  z-index: 8;
}

.home-feed--arena .feed-head h2 {
  color: #dbd8ff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
}

.event-card {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  contain: layout style;
  color: inherit;
  text-decoration: none;
  border-radius: 1.15rem;
}

.event-card__stage {
  position: relative;
  padding-top: 0;
  overflow: hidden;
}

.event-card__art {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  container-type: inline-size;
  container-name: event-art;
}

.event-card__art > picture,
.event-card__char-figure > picture {
  display: contents;
}

.event-card__frame {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.7rem;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.event-card__meta {
  position: absolute;
  z-index: 4;
  top: 0.45rem;
  inset-inline: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  pointer-events: none;
}

.event-card__status,
.event-card__timer {
  position: static;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  margin: 0;
  min-width: 0;
  padding: 0.32rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(6, 8, 10, 0.62);
  color: #f3f5ee;
  font-size: 0.74rem;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  overflow: hidden;
  white-space: nowrap;
}

.event-card__status {
  flex: 1 1 auto;
  max-width: calc(100% - 6.4rem);
}

.event-card__status [data-event-status] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-card__live-dot {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: #ffd24a;
  box-shadow: 0 0 10px rgba(255, 210, 74, 0.9);
  animation: event-dot-pulse 1.6s ease-in-out infinite;
}

.event-card.is-live .event-card__live-dot,
.event-card__live-dot.is-on {
  background: #6a37ff;
  box-shadow: 0 0 10px rgba(106, 55, 255, 0.95);
}

.event-card.is-live .event-card__status {
  color: #dbd0ff;
}

.event-card__timer {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

.event-card__timer svg,
.event-glass svg,
.event-fee-btn svg {
  width: 0.92rem;
  height: 0.92rem;
  flex-shrink: 0;
}

.event-card__char-stack {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  height: 100%;
  max-width: 64%;
  width: auto;
  overflow: visible;
  pointer-events: none;
}

.event-card__char-breath {
  position: relative;
  height: 100%;
  width: max-content;
  transform-origin: 50% 100%;
  animation: event-char-idle 5.2s ease-in-out infinite;
}

.event-card__char-glow {
  position: absolute;
  inset: -5%;
  background: radial-gradient(
    ellipse at 52% 42%,
    rgba(255, 196, 72, 0.92) 0%,
    rgba(232, 150, 28, 0.5) 46%,
    transparent 86%
  );
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: 0;
  -webkit-mask-image: var(--event-char-mask);
  mask-image: var(--event-char-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: event-gold-glow 10s ease-in-out infinite;
}

.event-card__char-figure {
  position: relative;
  z-index: 1;
  height: 100%;
}

.event-card__char {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
}

.event-card__char-sheen {
  display: none !important;
}

.event-card__hud {
  position: absolute;
  z-index: 3;
  left: 0.5rem;
  right: auto;
  bottom: 0.55rem;
  width: min(46%, 13.5rem);
  max-width: calc(100% - 52%);
  display: grid;
  gap: 0.28rem;
  justify-items: start;
  pointer-events: none;
}

.event-card__pay {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.28rem;
  align-items: flex-start;
  max-width: 100%;
}

.event-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  max-width: 100%;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.85rem;
  background: rgba(6, 8, 10, 0.62);
  color: #f3f5ee;
  font-size: 0.78rem;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px) saturate(1.25);
}

.event-glass span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-glass--prize {
  color: #a8aaf5;
}

.event-fee-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.4rem 0.7rem;
  border: 1px solid #8f70ff;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #6b2ebb 0%, #4a1691 100%);
  color: #f4fff0;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  opacity: 0.78;
  cursor: default;
}

.feed-more.is-demo {
  color: rgba(152, 138, 255, 0.72);
  font-size: 0.72rem;
}

.home-feed--float {
  width: min(100%, 58rem);
  max-width: 100%;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-feed--float .feed-head {
  padding-inline: 0.35rem;
}

.home-swipe.is-peek {
  overflow: hidden;
  border-radius: 0;
}

.home-swipe.is-peek .home-swipe__track {
  gap: 0.7rem;
  margin-inline-start: 11%;
}

.home-swipe.is-peek .home-swipe__slide {
  flex: 0 0 78%;
  width: 78%;
  min-width: 78%;
  padding: 0.1rem 0 0.2rem;
  overflow: visible;
}

.home-swipe.is-peek .home-swipe__slide.is-current .event-card {
  box-shadow: 0 0 0 1px rgba(152, 138, 255, 0.42), 0 16px 32px rgba(0, 0, 0, 0.28);
}

.home-swipe.is-pair {
  overflow: hidden;
}

.home-swipe.is-pair .home-swipe__slide {
  padding: 0.15rem 1.9rem 0.2rem;
  overflow: hidden;
}

@media (min-width: 720px) {
  .home-swipe.is-peek .home-swipe__slide {
    flex-basis: min(22.5rem, 70%);
    width: min(22.5rem, 70%);
    min-width: min(22.5rem, 70%);
  }

  .home-swipe.is-pair .home-swipe__track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    direction: rtl;
    transform: none !important;
    transition: none;
  }

  .home-swipe.is-pair .home-swipe__slide {
    min-width: 0;
    flex: none;
    padding: 0;
    overflow: hidden;
  }

  .home-swipe.is-pair .home-swipe__nav,
  .feed-card:has(.home-swipe.is-pair) .home-swipe__pager {
    display: none;
  }
}

@media (min-width: 1100px) {
  .home-swipe.is-peek .home-swipe__slide {
    flex-basis: min(26rem, 58%);
    width: min(26rem, 58%);
    min-width: min(26rem, 58%);
  }
}

.kb-live {
  align-items: stretch;
  margin-inline: auto;
}

.kb-live--hub.kb-tour {
  width: min(100%, 46rem);
}

.kb-live .feed-card,
.kb-live__head,
.kb-live__player,
.kb-live__chat,
.kb-live__donate,
.kb-live__cols {
  width: 100%;
}

.kb-live__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin: 0;
  color: #c9d2e4;
  font-size: 0.78rem;
  font-weight: 700;
}

.kb-live__player {
  position: relative;
  padding: 0.7rem;
  border: 1px solid rgba(210, 210, 220, 0.22);
  border-radius: 0.9rem;
  background: rgba(18, 18, 22, 0.48);
  box-shadow: inset 3px 0 0 rgba(200, 200, 210, 0.45), 0 16px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.kb-live__notch {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border-color: rgba(228, 228, 234, 0.55);
  border-style: solid;
  opacity: 0.8;
}

.kb-live__notch--tl { top: 0; right: 0; border-width: 2px 2px 0 0; }
.kb-live__notch--tr { top: 0; left: 0; border-width: 2px 0 0 2px; }
.kb-live__notch--bl { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.kb-live__notch--br { bottom: 0; left: 0; border-width: 0 0 2px 2px; }

.kb-live__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 0.55rem;
  background: #0c0c10;
}

.kb-live__screen iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.kb-live__idle {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.3rem;
  text-align: center;
  color: #dbd8ff;
  letter-spacing: 0.06em;
}

.kb-live__idle small {
  color: rgba(219, 216, 255, 0.7);
  letter-spacing: 0;
}

.kb-live__cols {
  display: grid;
  gap: 0.75rem;
  width: 100%;
}

.kb-live__log {
  display: grid;
  gap: 0.55rem;
  max-height: 18rem;
  overflow: auto;
  padding: 0.2rem 0.45rem 0.2rem 0.1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--kb-scroll-thumb) var(--kb-scroll-track);
}

.kb-live__log::-webkit-scrollbar {
  width: 0.42rem;
}

.kb-live__log::-webkit-scrollbar-track {
  background: var(--kb-scroll-track-image);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--kb-scroll-border);
}

.kb-live__log::-webkit-scrollbar-thumb {
  background: var(--kb-scroll-thumb-image);
  border-radius: 999px;
}

.kb-live__item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  text-align: right;
}

.kb-live__bubble {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 10.75rem;
  width: fit-content;
  max-width: min(78%, 24rem);
  min-height: 2.85rem;
  padding: 0.42rem 0.62rem 0.5rem;
  border-radius: 0.28rem 0.95rem 0.95rem 0.95rem;
  background: rgba(10, 16, 10, 0.72);
  direction: rtl;
  text-align: right;
  box-shadow:
    inset 0 0 0 1px rgba(150, 140, 255, 0.14),
    0 6px 16px rgba(0, 0, 0, 0.18);
}

.kb-live__item.is-own .kb-live__bubble {
  background: linear-gradient(160deg, rgba(60, 49, 121, 0.88), rgba(22, 38, 18, 0.82));
  box-shadow:
    inset 0 0 0 1px rgba(150, 140, 255, 0.34),
    0 0 14px rgba(163, 128, 255, 0.08);
}

/* System donation rows (server-flagged via LiveChat.amount, never from user text). */
.kb-live__item.is-donate .kb-live__bubble {
  gap: 0.16rem;
  min-width: 11.5rem;
  background: linear-gradient(135deg, rgba(92, 64, 6, 0.92) 0%, rgba(58, 18, 64, 0.9) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 214, 90, 0.7),
    0 0 18px rgba(255, 196, 40, 0.28),
    0 0 26px rgba(255, 70, 190, 0.16);
}

.kb-live__donate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  width: fit-content;
  padding: 0.08rem 0.45rem 0.1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe36a 0%, #f5b82e 100%);
  color: #2a1600;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.3;
}

.kb-live__donate-badge svg {
  width: 0.85rem;
  height: 0.85rem;
}

.kb-live__item.is-donate .kb-live__name {
  margin: 0.1rem 0 0;
  color: #fff3c4;
  font-size: 0.8rem;
}

.kb-live__donate-amount {
  color: #ffe36a;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 0 12px rgba(255, 214, 90, 0.55);
}

.kb-live__item.is-donate .kb-live__bubble p {
  color: #fbe9c4;
  font-size: 0.82rem;
}

.kb-live__chat-status {
  margin: 0 0 0.4rem;
  color: #ffb4a8;
  font-size: 0.78rem;
  font-weight: 700;
}

.kb-live__avatar {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  margin-top: 0.12rem;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: rgba(8, 14, 8, 0.7);
  box-shadow: 0 0 0 1px rgba(180, 210, 255, 0.32);
}

.kb-live__item .kb-avatar {
  width: 2.25rem;
  height: 2.25rem;
  margin-top: 0.12rem;
}

.kb-live__name {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 0 0.18rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #dbd8ff;
  line-height: 1.2;
  text-align: right;
}

.kb-live__bubble p {
  margin: 0;
  color: #c6c4e8;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: right;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.kb-live__when {
  flex: 0 0 auto;
  max-width: 5.6rem;
  margin: 0 0 0.18rem;
  font-size: 0.55rem;
  line-height: 1.3;
  color: rgba(198, 196, 232, 0.42);
  text-align: end;
  white-space: nowrap;
}

.kb-live__composer {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.kb-live__composer .auth-btn {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0.48rem 0.9rem;
}

.kb-live__composer input,
.kb-live__donate input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.7rem;
  background: rgba(8, 10, 8, 0.62);
  color: inherit;
  font: inherit;
}

.kb-live__label {
  margin: 0.45rem 0 0.25rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.kb-live__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.kb-live__chip {
  padding: 0.32rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 10, 8, 0.55);
  color: inherit;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.kb-live__chip.is-active {
  border-color: rgba(74, 167, 255, 0.7);
  color: #d7e7ff;
}

.kb-live__donate .auth-btn {
  width: 100%;
  margin-top: 0.7rem;
}

.kb-live__chip,
.kb-live__composer input,
.kb-live__donate input,
.event-glass {
  border: var(--kb-art-control-border);
  border-radius: var(--kb-art-btn-radius);
  background: var(--kb-art-control-bg);
}

.kb-live__player {
  border: var(--kb-art-panel-border);
  border-radius: var(--kb-art-radius);
  background: var(--kb-art-panel-bg);
  box-shadow: var(--kb-art-shadow);
}

@keyframes event-char-sheen {
  0%, 62% { background-position: -80% 50%; opacity: 0; }
  68% { opacity: 1; }
  86% { background-position: 160% 50%; opacity: 1; }
  92%, 100% { background-position: 160% 50%; opacity: 0; }
}

@keyframes event-gold-glow {
  0%, 58% { opacity: 0; }
  68% { opacity: 0.95; }
  90%, 100% { opacity: 0; }
}

@keyframes event-char-idle {
  0%, 100% { transform: scale3d(1, 1, 1) translate3d(0, 0, 0); }
  48% { transform: scale3d(1.004, 1.012, 1) translate3d(0, -0.45%, 0); }
}

@keyframes event-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.22); opacity: 0.72; }
}

@media (min-width: 860px) {
  .kb-live__cols {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }

  .kb-live__log {
    max-height: min(28rem, 46dvh);
  }
}

@media (min-width: 1100px) {
  .home-feed--posts .home-swipe.is-pair .home-swipe__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .event-card__char-stack {
    height: 100%;
    right: 0;
    max-width: 62%;
  }

  .event-card__hud {
    left: 0.45rem;
    right: auto;
    width: min(48%, 12rem);
    max-width: calc(100% - 50%);
  }

  .event-card__status,
  .event-card__timer,
  .event-glass,
  .event-fee-btn {
    font-size: 0.62rem;
    padding: 0.24rem 0.45rem;
  }
}

@container event-art (max-width: 22rem) {
  .event-card__status,
  .event-card__timer,
  .event-glass,
  .event-fee-btn {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    gap: 0.22rem;
  }

  .event-card__hud {
    width: min(48%, 11rem);
    gap: 0.2rem;
  }

  .event-card__char-stack {
    max-width: 60%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-card__char-sheen,
  .event-card__char-glow,
  .event-card__char-breath,
  .event-card__live-dot {
    animation: none;
  }
}

.kb-live-cats {
  margin: 0;
}

.kb-live-cats .kb-tour-search__chips {
  justify-content: center;
  flex-wrap: wrap;
}

.kb-live-cats .kb-tour-chip img {
  width: 0.92rem;
  height: 0.92rem;
  object-fit: contain;
}

.kb-live-star {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 6.4rem;
  padding: 0.85rem 1rem;
  border: var(--kb-art-panel-border);
  border-radius: var(--kb-art-radius);
  background: var(--kb-art-panel-bg);
  color: inherit;
  text-decoration: none;
}

.kb-live-star img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(180, 210, 255, 0.28);
}

.kb-live-star strong {
  display: block;
  color: #eef1f8;
}

.kb-live-star small {
  color: #c9d2e4;
}

.kb-live-rules .auth-btn,
.kb-live-create .auth-btn {
  border: 1px solid rgba(210, 220, 255, 0.38);
  background: linear-gradient(180deg, rgba(48, 50, 62, 0.96) 0%, rgba(18, 18, 26, 0.96) 100%);
  color: #f4f7ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 14px rgba(120, 170, 255, 0.18);
}

.kb-live-create {
  display: grid;
  gap: 0.45rem;
}

.kb-live-create input,
.kb-live-create select {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(210, 220, 255, 0.16);
  border-radius: 0.8rem;
  background: rgba(8, 10, 16, 0.85);
  color: #f4fbff;
  font: inherit;
}

.kb-live-when {
  display: grid;
  gap: 0.45rem;
}

.kb-live-when__row {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr 0.75fr;
  gap: 0.4rem;
}

.kb-live-when__row:last-child {
  grid-template-columns: 1fr 1fr;
}

.kb-live-when__item {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.kb-live-when__item span {
  color: #c9d2e4;
  font-size: 0.72rem;
}

.kb-tour-hint {
  margin: 0;
  color: #c9d2e4;
  font-size: 0.78rem;
  line-height: 1.5;
}

.kb-tour-when {
  display: grid;
  gap: 0.55rem;
}

.kb-tour-when__days {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.kb-tour-when__day {
  min-height: 2.5rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(210, 220, 255, 0.2);
  border-radius: 0.8rem;
  background: rgba(8, 10, 16, 0.85);
  color: #eef4ff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.kb-tour-when__day.is-on {
  border-color: rgba(143, 112, 255, 0.55);
  background: linear-gradient(180deg, rgba(107, 46, 187, 0.42) 0%, rgba(74, 22, 145, 0.42) 100%);
}

.kb-tour-when__day:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.kb-tour-when__date {
  margin: 0;
  color: #a8aaf5;
  font-size: 0.86rem;
  font-weight: 800;
}

.kb-tour-fund {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.kb-tour-fund img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.kb-tour-fund:disabled,
.kb-tour-submit:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

.kb-tour-pay__acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.kb-tour-note__ok.is-ghost {
  border-color: rgba(210, 220, 255, 0.22);
  background: rgba(8, 10, 16, 0.85);
  color: #eef4ff;
  box-shadow: none;
}

.kb-art-pick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.15rem 0 0.55rem;
}

.kb-art-pick.is-char {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kb-art-pick__tile {
  display: grid;
  gap: 0.28rem;
  justify-items: center;
  margin: 0;
  padding: 0.35rem 0.35rem 0.4rem;
  border: 1px solid rgba(210, 220, 255, 0.16);
  border-radius: 0.85rem;
  background: rgba(8, 10, 16, 0.85);
  color: #dce7ff;
  font: inherit;
  cursor: pointer;
}

.kb-art-pick__tile img {
  display: block;
  width: 100%;
  height: 3.6rem;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.55rem;
}

.kb-art-pick.is-char .kb-art-pick__tile img {
  height: 4.6rem;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
}

.kb-art-pick__tile span {
  font-size: 0.68rem;
  font-weight: 700;
}

.kb-art-pick__tile.is-on {
  border-color: rgba(255, 210, 110, 0.7);
  box-shadow: 0 0 14px rgba(255, 190, 70, 0.28);
}

.kb-live-rules .composer-back {
  justify-self: start;
  margin-bottom: 0.35rem;
}

.kb-live__raised {
  margin: 0.35rem 0 0;
  color: #ffe08a;
  font-size: 0.86rem;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(255, 200, 80, 0.35);
}

.kb-live__raised b {
  font-weight: 800;
}

.kb-tour-banner__chip.is-donate {
  color: #ffe08a;
}

.kb-live__burst {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.35rem;
  background: radial-gradient(circle at center, rgba(8, 12, 24, 0.55), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.kb-live__burst[hidden] {
  display: none !important;
}

.kb-live__burst.is-on {
  opacity: 1;
  transform: scale(1);
}

.kb-live__burst img {
  width: 7.2rem;
  height: 7.2rem;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 0 0 3px rgba(210, 220, 255, 0.35),
    0 0 28px rgba(70, 160, 255, 0.45);
}

.kb-live__burst strong {
  color: #f4fbff;
  font-size: 1.05rem;
}

.kb-live__burst b {
  color: #ffe08a;
  font-size: 1.35rem;
  text-shadow: 0 0 16px rgba(255, 200, 80, 0.45);
}

.kb-tour-lock {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(181, 160, 255, 0.28);
  border-radius: 0.9rem;
  background: rgba(12, 28, 18, 0.72);
}

.kb-tour-lock strong {
  color: #e8ffe8;
  font-size: 0.95rem;
}

.kb-tour-lock span {
  color: #dbc8f0;
  font-size: 0.86rem;
  font-weight: 700;
}

.kb-tour-lock small {
  color: #9bb8a4;
  font-size: 0.78rem;
}

.kb-tour-code {
  margin: 0.35rem 0 0;
  color: #988aff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.kb-tour-share-card {
  display: grid;
  gap: 0.55rem;
}

.kb-tour-share__prize {
  margin: 0.2rem 0 0;
  color: #edd7ff;
  font-weight: 800;
  text-align: center;
}

.kb-tour-room__card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.kb-tour-room__back {
  display: flex;
  justify-content: center;
  margin: 0;
}

/* Live hub: small floating "become a streamer" shortcut next to the title. */
.kb-live-hero__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.kb-live-hero__title .auth-title {
  margin: 0;
  min-width: 0;
}

.kb-live-go {
  flex: 0 0 auto;
  display: inline-grid;
  justify-items: center;
  gap: 0.18rem;
  padding: 0;
  border: 0;
  background: none;
  color: #ffe36a;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(255, 210, 74, 0.45);
  pointer-events: auto;
}

.kb-live-go svg {
  width: 1.7rem;
  height: 1.7rem;
  filter: drop-shadow(0 0 8px rgba(255, 80, 200, 0.55));
}

.kb-live-go:focus-visible {
  outline: 2px solid rgba(255, 227, 106, 0.7);
  outline-offset: 3px;
  border-radius: 0.5rem;
}

/* J2: custom banner tile + upload hint */
.kb-art-pick__tile.is-upload {
  border-style: dashed;
  border-color: rgba(150, 200, 255, 0.4);
}

.kb-art-pick__plus {
  display: grid;
  place-items: center;
  width: 100%;
  height: 3.6rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, rgba(90, 140, 255, 0.18), rgba(190, 90, 255, 0.18));
  color: #bcd6ff;
}

.kb-art-pick__plus svg {
  width: 1.7rem;
  height: 1.7rem;
}

.kb-art-pick__tile.is-upload.has-file .kb-art-pick__plus {
  display: none;
}

.kb-art-upload {
  display: grid;
  gap: 0.35rem;
  margin: -0.2rem 0 0.7rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(150, 200, 255, 0.2);
  border-radius: 0.85rem;
  background: rgba(8, 12, 22, 0.75);
}

.kb-art-upload__btn {
  justify-self: start;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #3d7bff, #a24dff);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.kb-art-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.kb-art-upload__hint {
  margin: 0;
  color: #a9b8d6;
  font-size: 0.72rem;
  line-height: 1.7;
}

.kb-art-upload__error {
  margin: 0;
  color: #ff8a8a;
  font-size: 0.75rem;
  font-weight: 700;
}

.kb-tour-banner .event-card__frame.is-custom,
.event-card__frame.is-custom {
  opacity: 0.94;
}
