.tv-live .tv-corner-code {
  box-sizing: border-box;
  width: 21vh;
  min-width: 112px;
  max-width: 196px;
  margin: .8vh 0 0 auto;
  padding: 4px 4px 6px;
  border-radius: 8px;
  background: #fff9e9;
  color: #24182b;
  font-size: 14px;
  text-align: center;
}
.tv-live .tv-corner-code img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}
main.tv.tv-live .tv-meta {
  justify-content: space-between;
  padding-top: 6px;
  padding-top: max(env(safe-area-inset-top, 0px), clamp(4px, .65vh, 10px));
}
main.tv.tv-live .tv-tools { margin-left: 0; justify-content: flex-start; }
main.tv.tv-live .tv-rank-panel .tv-store-name { text-align: center; }
.tv-live .tv-rank-list { max-height: none; overflow: visible; }
.tv-live .tv-avatar-fallback[hidden] { display: none; }
.tv-live .tv-rank-revives { color: #91efae; font-weight: 750; white-space: nowrap; }
.tv-live.light-surface .tv-rank-revives { color: #12603a; }
.tv-live .tv-rank-status .is-out {
  padding: .1em .38em;
  border-radius: .35em;
  background: #3c1521;
  color: #ff929d;
  font-weight: 850;
  white-space: nowrap;
}
.tv-live.light-surface .tv-rank-status .is-out { background: #ffe3e6; color: #9c1730; }
@media (orientation: portrait) {
  main.tv.tv-live .tv-rank-row { font-size: 2.5vw; font-size: clamp(13px, 2.5vw, 28px); padding: .2em .1em; }
  main.tv.tv-live .tv-corner-code { width: 19vw; min-width: 72px; max-width: 160px; }
  .tv-live .tv-rank-name { display: flex; align-items: baseline; }
  .tv-live .tv-rank-name b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tv-live .tv-rank-name small { flex: none; margin: 0 0 0 .55em; white-space: nowrap; }
}
@media (orientation: landscape) {
  main.tv.tv-live .tv-rank-panel { align-self: start; margin-top: -.5vh; }
  main.tv.tv-live .tv-rank-row { font-size: 2.25vh; font-size: min(1.45vw, 2.25vh); padding: .24em .1em; }
  main.tv.tv-live .tv-rank-panel .tv-store-name { font-size: 4.5vh; }
  main.tv.tv-live .tv-rank-panel .tv-ranking h2 { font-size: 3vh; }
  .tv-live .tv-rank-name { display: flex; align-items: baseline; }
  .tv-live .tv-rank-name b {
    min-width: 0; font-size: 1.49em; line-height: 1.1;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .tv-live .tv-rank-name small { flex: none; margin: 0 0 0 .55em; font-size: .92em; line-height: 1.1; white-space: nowrap; }
  .tv-live .tv-rank-status { font-size: .88em; }
  main.tv.tv-live .tv-corner-code {
    width: 14vh;
    min-width: 78px;
    max-width: 150px;
    margin: 1.2vh 0 1vh auto;
  }
}

.tv-live .tv-moment {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}
.tv-victory {
  display: flex;
  align-items: center;
  justify-content: center;
}
.victory-medal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 88vw;
  text-align: center;
}
.victory-medal svg.ico {
  width: 32vh;
  height: 32vh;
}
.victory-medal span {
  margin-top: 2vh;
  font-size: 5vh;
}
.victory-medal strong {
  margin-top: 2vh;
  max-width: 100%;
  font-size: 12vh;
  line-height: 1.08;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.tv-live .tv-broadcast-scene {
  --broadcast-hue: 13;
  --broadcast-spark: #ffbe91;
  position: fixed;
  isolation: isolate;
  z-index: 20;
  overflow: hidden;
  padding: 18px;
  background: #100c16;
  color: #fff4e4;
  animation: tv-broadcast-veil 4.6s ease both;
}
.tv-kill-scene[data-kill="kill-one"] { --broadcast-hue: 35; }
.tv-kill-scene[data-kill="kill-two"] { --broadcast-hue: 29; }
.tv-kill-scene[data-kill="kill-three"] { --broadcast-hue: 21; }
.tv-kill-scene[data-kill="kill-four"] { --broadcast-hue: 15; }
.tv-kill-scene[data-kill="kill-wipe"] { --broadcast-hue: 342; }
.tv-live .tv-achievement-scene {
  --broadcast-hue: 42;
  --broadcast-spark: #ffe2a6;
  background: radial-gradient(ellipse at 50% 33%, #35271f, #15101a 57%, #0d0a11);
}
.tv-broadcast-impact, .tv-broadcast-rays {
  position: absolute;
  pointer-events: none;
}
.tv-kill-scene .tv-broadcast-impact {
  inset: 0;
  background: radial-gradient(ellipse at 52% 41%, hsla(var(--broadcast-hue), 93%, 42%, .42), transparent 61%);
}
.tv-kill-scene .tv-broadcast-impact::before,
.tv-kill-scene .tv-broadcast-impact::after {
  content: "";
  position: absolute;
  inset: -55% 42%;
  background: linear-gradient(90deg, transparent, hsla(var(--broadcast-hue), 96%, 58%, .28),
    #ffd5bd 49.8%, #fff4ea 50%, hsla(var(--broadcast-hue), 96%, 52%, .12) 51%, transparent);
  animation: tv-kill-strike .96s cubic-bezier(.16, .76, .25, 1) both;
}
.tv-kill-scene .tv-broadcast-impact::after {
  inset-inline: 47%;
  animation: tv-kill-strike-cross 1.06s ease-out .09s both;
}
.tv-achievement-scene .tv-broadcast-impact {
  top: 38%;
  left: 50%;
  width: 45vmin;
  height: 45vmin;
  border-radius: 50%;
  border: 1px solid #ffda8e75;
  box-shadow: 0 0 5vmin #ffb8513d, inset 0 0 6vmin #ffb85129;
  animation: tv-achievement-halo 2.75s cubic-bezier(.15, .68, .27, 1) both;
}
.tv-broadcast-rays {
  top: 41%;
  left: 50%;
  width: 46vmin;
  height: 46vmin;
  transform: translate(-50%, -50%);
}
.tv-kill-scene .tv-broadcast-rays { left: 57%; }
.tv-broadcast-rays i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 39vmin;
  height: 2px;
  transform-origin: 0 50%;
}
.tv-broadcast-rays i::after {
  content: "";
  display: block;
  width: 52%;
  height: 100%;
  margin-left: 36%;
  background: linear-gradient(90deg, transparent, var(--broadcast-spark));
  animation: tv-broadcast-streak 1.85s cubic-bezier(.15, .65, .25, 1) both;
  animation-delay: inherit;
}
.tv-achievement-scene .tv-broadcast-rays i::after,
.tv-kill-scene .tv-broadcast-rays i:nth-child(3n)::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--broadcast-spark);
  box-shadow: 0 0 11px var(--broadcast-spark);
  animation-duration: 3.4s;
}
.tv-broadcast-content {
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 86vw;
  text-align: center;
}
.tv-broadcast-heading {
  color: var(--broadcast-spark);
  font-size: 2.7vmin;
  font-weight: 700;
  letter-spacing: .3em;
  animation: tv-broadcast-rise .6s .12s ease-out both;
}
.tv-broadcast-title {
  display: block;
  max-width: 80vw;
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.tv-kill-scene .tv-broadcast-title {
  margin: .8vmin 0 2.4vmin;
  color: #fff1e0;
  font-size: 22vmin;
  letter-spacing: .04em;
  text-shadow: 0 0 1vmin #fff0cd, 0 0 3vmin hsl(var(--broadcast-hue), 94%, 59%),
    0 0 7vmin hsl(var(--broadcast-hue), 93%, 47%);
  animation: tv-kill-title .77s .26s cubic-bezier(.12, .73, .24, 1) both;
}
.tv-achievement-scene .tv-broadcast-title {
  margin: 3vmin 0 2vmin;
  color: #fff0ce;
  font-size: 7.6vmin;
  text-shadow: 0 0 2.6vmin #e9a95490;
  animation: tv-broadcast-rise .66s .36s ease-out both;
}
.tv-achievement-medal {
  display: grid;
  place-items: center;
  width: 15vmin;
  height: 15vmin;
  margin-top: 3.5vmin;
  border: .45vmin solid #f0ce8b;
  border-radius: 21%;
  background: linear-gradient(145deg, #9d693a, #282033 50%, #503522);
  color: #ffdc8f;
  box-shadow: 0 0 0 .9vmin #f7d99b40, inset 0 0 2.7vmin #ffd47444, 0 0 5vmin #ffc85f63;
  transform: rotate(45deg);
  animation: tv-achievement-medal .75s .1s cubic-bezier(.19, .77, .21, 1) both;
}
.tv-achievement-medal .ico { width: 8vmin; height: 8vmin; transform: rotate(-45deg); }
.tv-broadcast-player {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8vmin;
  max-width: 77vw;
  text-align: left;
  animation: tv-broadcast-rise .62s .59s ease-out both;
}
.tv-broadcast-avatar {
  flex: none;
  padding: .36vmin;
  border: 2px solid var(--broadcast-spark);
  border-radius: 50%;
  box-shadow: 0 0 1.8vmin hsla(var(--broadcast-hue), 90%, 65%, .58);
}
.tv-broadcast-avatar .ava {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9.6vmin;
  height: 9.6vmin;
  border-radius: 50%;
  background: #382837;
  object-fit: cover;
  font-size: 4.7vmin;
  font-weight: 750;
}
.tv-broadcast-identity { display: grid; gap: .25vmin; }
.tv-broadcast-identity b { font-size: 4vmin; line-height: 1.2; overflow-wrap: anywhere; }
.tv-broadcast-identity span { color: #e5ced4; font-size: 2.45vmin; }
@keyframes tv-broadcast-veil {
  0%, 100% { opacity: 0; }
  4%, 87% { opacity: 1; }
}
@keyframes tv-kill-strike {
  0% { opacity: 0; transform: translateX(-28vw) rotate(39deg) scaleX(.25); }
  19% { opacity: .94; }
  100% { opacity: 0; transform: translateX(22vw) rotate(39deg) scaleX(1.4); }
}
@keyframes tv-kill-strike-cross {
  0% { opacity: 0; transform: translateX(17vw) rotate(-64deg) scaleX(.35); }
  24% { opacity: .75; }
  100% { opacity: 0; transform: translateX(-14vw) rotate(-64deg) scaleX(1.2); }
}
@keyframes tv-kill-title {
  0% { opacity: 0; transform: translateX(-6vmin) skewX(-10deg) scale(1.19); }
  43% { opacity: 1; transform: translateX(.8vmin) scale(1.035); }
  100% { opacity: 1; transform: none; }
}
@keyframes tv-achievement-medal {
  from { opacity: 0; transform: rotate(18deg) scale(.55); }
  to { opacity: 1; transform: rotate(45deg) scale(1); }
}
@keyframes tv-achievement-halo {
  from { opacity: .9; transform: translate(-50%, -50%) scale(.44); }
  to { opacity: .34; transform: translate(-50%, -50%) scale(1.23); }
}
@keyframes tv-broadcast-rise {
  from { opacity: 0; transform: translateY(1.8vmin); }
  to { opacity: 1; transform: none; }
}
@keyframes tv-broadcast-streak {
  0% { opacity: 0; transform: translateX(-12vmin) scaleX(.24); }
  23% { opacity: .9; }
  100% { opacity: 0; transform: translateX(20vmin) scaleX(.65); }
}

.tv-live .tv-seat-scene {
  --broadcast-hue: 43;
  --broadcast-spark: #ffda94;
  background: #110e18;
  background: #110e18 radial-gradient(ellipse at 50% 44%, hsla(var(--broadcast-hue), 53%, 29%, .56), #14101c 54%, #0d0a13 84%);
  animation-duration: 3.8s;
}
.tv-live .tv-seat-scene[data-seat-moment="out"] {
  --broadcast-hue: 345;
  --broadcast-spark: #ffb1bd;
}
.tv-live .tv-seat-scene[data-seat-moment="revive"] {
  --broadcast-hue: 153;
  --broadcast-spark: #bfffea;
}
.tv-seat-scene .tv-broadcast-content { gap: 1.15vmin; }
.tv-seat-portrait {
  position: relative;
  margin: 4vmin 0 2.1vmin;
  animation: tv-broadcast-rise .56s .08s ease-out both;
}
.tv-seat-portrait .tv-broadcast-avatar {
  padding: .55vmin;
  box-shadow: 0 0 0 .55vmin hsla(var(--broadcast-hue), 85%, 69%, .26),
    0 0 3.7vmin hsla(var(--broadcast-hue), 92%, 58%, .49);
}
.tv-seat-portrait .ava {
  width: 16vmin;
  height: 16vmin;
  font-size: 7.2vmin;
}
.tv-seat-portrait::before {
  content: "";
  position: absolute;
  inset: -2.65vmin;
  border: 1px solid var(--broadcast-spark);
  border-radius: 50%;
  box-shadow: 0 0 2.5vmin hsla(var(--broadcast-hue), 91%, 62%, .38);
  animation: tv-seat-halo 2.3s .14s cubic-bezier(.16, .73, .25, 1) both;
}
.tv-seat-portrait::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .45vmin;
  height: .45vmin;
  border-radius: 50%;
  box-shadow: -22vmin -6vmin var(--broadcast-spark), -16vmin 8vmin var(--broadcast-spark),
    -10vmin -12vmin var(--broadcast-spark), 14vmin -10vmin var(--broadcast-spark),
    24vmin 4vmin var(--broadcast-spark), 18vmin 12vmin var(--broadcast-spark);
  animation: tv-seat-sparks 2.8s .23s ease-out both;
}
.tv-seat-scene[data-seat-moment="out"] .tv-seat-portrait::before {
  border-style: dashed;
  animation-name: tv-seat-break;
}
.tv-seat-scene[data-seat-moment="revive"] .tv-seat-portrait::before {
  border-bottom-width: .5vmin;
  animation-name: tv-seat-lift;
}
.tv-seat-scene .tv-broadcast-title {
  font-size: 7.6vmin;
  text-shadow: 0 0 2.3vmin hsla(var(--broadcast-hue), 88%, 68%, .53);
  animation: tv-broadcast-rise .54s .28s ease-out both;
}
.tv-seat-caption {
  color: #e9dce4;
  font-size: 3vmin;
  animation: tv-broadcast-rise .55s .38s ease-out both;
}
@keyframes tv-seat-halo {
  from { opacity: .95; transform: scale(.72); }
  to { opacity: .22; transform: scale(1.47); }
}
@keyframes tv-seat-break {
  from { opacity: .92; transform: scale(.84) rotate(-10deg); }
  to { opacity: .18; transform: scale(1.42) rotate(28deg); }
}
@keyframes tv-seat-lift {
  from { opacity: .9; transform: translateY(4vmin) scale(.72); }
  to { opacity: .22; transform: translateY(-2vmin) scale(1.42); }
}
@keyframes tv-seat-sparks {
  from { opacity: 0; transform: scale(.45); }
  21% { opacity: .86; }
  to { opacity: 0; transform: translateY(-2vmin) scale(1.23); }
}
@media (prefers-reduced-motion: reduce) {
  .tv-live .tv-broadcast-scene, .tv-broadcast-heading, .tv-broadcast-scene .tv-broadcast-title,
  .tv-broadcast-player, .tv-achievement-medal, .tv-seat-portrait, .tv-seat-caption { animation: none; }
  .tv-broadcast-impact, .tv-broadcast-rays { display: none; }
  .tv-seat-portrait::before, .tv-seat-portrait::after { display: none; }
}
