.rb-tur, .rb-tv {
  --tv-ink: #1a2c51; --tv-body: #4d5a8d; --tv-acc: #1e6aff; --tv-sky: #B4DCFF;
  --tv-wa: #25d366; --tv-wa-ink: #08301a; --tv-ease: cubic-bezier(.22, .61, .36, 1);
}

.rb-tur {
  display: inline-flex; align-items: center; gap: 14px; max-width: 100%; box-sizing: border-box;
  margin: 18px 0 6px; padding: 8px 10px 8px 8px; border-radius: 999px;
  background: #fff; color: var(--tv-ink); text-decoration: none; text-align: left;
  box-shadow: 0 14px 34px -18px rgba(14, 42, 96, .45), 0 2px 6px -2px rgba(14, 42, 96, .12);
  font-family: 'Open Sans', system-ui, sans-serif; -webkit-tap-highlight-color: transparent;
  transition: transform .35s var(--tv-ease), box-shadow .35s var(--tv-ease);
}
.rb-tur:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -18px rgba(14, 42, 96, .5), 0 2px 6px -2px rgba(14, 42, 96, .12); }
.rb-tur:active { transform: scale(.98); }
.rb-tur:focus-visible { outline: 3px solid var(--tv-acc); outline-offset: 3px; }
.rb-tur__ring { position: relative; flex: none; width: 60px; height: 60px; border-radius: 50%; padding: 3px; box-sizing: border-box; isolation: isolate; }
.rb-tur__ring::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: conic-gradient(from 200deg, #0f2a5e, #1e6aff, #84d6fb, #2a6cc0, #0f2a5e);
  animation: rb-tur-ring 7s linear infinite;
}
.rb-tur__ring img { display: block; width: 100%; height: 100%; max-width: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2.5px #fff; }
@keyframes rb-tur-ring { to { transform: rotate(1turn); } }
.rb-tur__t { display: grid; gap: 2px; min-width: 0; }
.rb-tur__t b { font-size: 15.5px; line-height: 1.3; font-weight: 700; color: var(--tv-ink); }
.rb-tur__t span { font-size: 13.5px; line-height: 1.35; color: var(--tv-body); }
.rb-tur__go {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border-radius: 50%;
  background: var(--tv-acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23fff' d='M240 128a15.7 15.7 0 0 1-7.6 13.5L88.3 229.7A16 16 0 0 1 64 216.1V39.9a16 16 0 0 1 24.3-13.6l144.1 88.2A15.7 15.7 0 0 1 240 128Z'/%3E%3C/svg%3E") 56% 50% / 15px no-repeat;
  box-shadow: 0 8px 18px -8px rgba(30, 106, 255, .7);
}
@media (max-width: 560px) {
  .rb-tur { display: flex; width: 100%; border-radius: 24px; padding: 10px 12px 10px 10px; }
  .rb-tur__t b { font-size: 15px; }
}

html.rb-tv-open { overflow: hidden; }
.rb-tv {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: #06122b; color: #fff; overflow: hidden;
  font-family: 'Open Sans', system-ui, sans-serif; text-align: left;
}
.rb-tv:not([open]) { display: none; }
.rb-tv::backdrop { background: rgba(4, 12, 30, .86); }
.rb-tv *, .rb-tv *::before, .rb-tv *::after { box-sizing: border-box; }
.rb-tv__box { position: relative; width: 100%; height: 100%; }
.rb-tv__stage { position: absolute; inset: 0; overflow: hidden; background: #0b1e45; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.rb-tv__frames { position: absolute; inset: 0; }
.rb-tv__frames img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0;
  opacity: 0; transition: opacity .55s var(--tv-ease); will-change: transform, opacity;
}
.rb-tv__frames img.is-on { opacity: 1; }
.rb-tv__frames img.kb1 { animation: rb-kb1 6s linear both; }
.rb-tv__frames img.kb2 { animation: rb-kb2 6s linear both; }
@keyframes rb-kb1 { from { transform: scale(1.02); } to { transform: scale(1.12) translate3d(-1.2%, -.8%, 0); } }
@keyframes rb-kb2 { from { transform: scale(1.12) translate3d(1%, .6%, 0); } to { transform: scale(1.02); } }
.rb-tv__vid { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .5s var(--tv-ease); }
.rb-tv__vid.is-on.is-play { opacity: 1; }
.rb-tv.is-paused .rb-tv__frames img, .rb-tv.is-paused .rb-tv__bars .is-now i { animation-play-state: paused; }
.rb-tv__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 14, 36, .55) 0%, rgba(4, 14, 36, 0) 18%),
    linear-gradient(0deg, rgba(4, 14, 36, .86) 0%, rgba(4, 14, 36, .42) 26%, rgba(4, 14, 36, 0) 48%);
}
.rb-tv__bars { position: absolute; z-index: 3; left: 10px; right: 10px; top: calc(10px + env(safe-area-inset-top, 0px)); display: flex; gap: 3px; }
.rb-tv__bars span { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.rb-tv__bars i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.rb-tv__bars .is-done i { transform: none; }
.rb-tv__bars .is-now i { animation: rb-tv-bar var(--tv-dur, 4200ms) linear both; }
.rb-tv.is-still .rb-tv__bars .is-now i { animation: none; transform: none; opacity: .75; }
@keyframes rb-tv-bar { to { transform: none; } }
.rb-tv__top { position: absolute; z-index: 4; left: 14px; right: 8px; top: calc(22px + env(safe-area-inset-top, 0px)); display: flex; align-items: center; gap: 4px; }
.rb-tv__where { flex: 1; margin: 0; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .9); display: flex; gap: 10px; align-items: center; min-width: 0; }
.rb-tv__logo { font-weight: 700; letter-spacing: .08em; font-size: 12px; }
.rb-tv__where span:last-child { opacity: .78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-tv__ic { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.rb-tv__ic svg { width: 22px; height: 22px; fill: currentColor; }
.rb-tv__ic:focus-visible, .rb-tv__arr:focus-visible, .rb-tv__map button:focus-visible, .rb-tv__again:focus-visible, .rb-tv__cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rb-tv__pp { position: relative; width: 14px; height: 16px; }
.rb-tv__pp::before, .rb-tv__pp::after { content: ''; position: absolute; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: #fff; }
.rb-tv__pp::before { left: 1px; } .rb-tv__pp::after { right: 1px; }
.rb-tv.is-paused .rb-tv__pp::after { display: none; }
.rb-tv.is-paused .rb-tv__pp::before { left: 2px; width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.rb-tv.is-still [data-tv-pause] { display: none; }
.rb-tv__zone { position: absolute; z-index: 2; top: 0; bottom: 0; padding: 0; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rb-tv__zone--prev { left: 0; width: 32%; }
.rb-tv__zone--next { right: 0; width: 68%; }
.rb-tv__zone:focus-visible { outline: none; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .6); }
.rb-tv__txt { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 22px calc(34px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.rb-tv__n { margin: 0 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tv-sky); font-variant-numeric: tabular-nums; }
.rb-tv__name { margin: 0 0 8px; font-size: 32px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.rb-tv__cap { margin: 0; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .88); max-width: 34ch; }
.rb-tv__txt > * { animation: rb-tv-up .6s var(--tv-ease) both; }
.rb-tv__txt > :nth-child(2) { animation-delay: .06s; } .rb-tv__txt > :nth-child(3) { animation-delay: .12s; }
@keyframes rb-tv-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rb-tv__q { margin: 16px 0 0; padding: 13px 16px 12px; max-width: 36ch; border-radius: 18px; background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.rb-tv__q[hidden] { display: none; }
.rb-tv__q blockquote { margin: 0; padding: 0; border: 0; font-size: 15px; line-height: 1.45; font-weight: 600; color: #fff; }
.rb-tv__q figcaption { margin-top: 6px; font-size: 12.5px; line-height: 1.3; color: var(--tv-sky); }
.rb-tv__q figcaption::before { content: '★ '; color: #FFC94D; }
.rb-tv__arr, .rb-tv__map { display: none; }

.rb-tv__end {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 22px calc(30px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(80% 50% at 80% 100%, rgba(132, 214, 251, .55), rgba(92, 184, 241, 0) 72%),
    linear-gradient(180deg, rgba(15, 42, 94, .8) 0%, rgba(15, 42, 94, .94) 38%, #173f86 100%);
  animation: rb-tv-in .5s var(--tv-ease) both;
}
@keyframes rb-tv-in { from { opacity: 0; } to { opacity: 1; } }
.rb-tv__end[hidden] { display: none; }
.rb-tv__end-pic { position: absolute; left: 0; right: 0; top: 0; height: min(calc(100vw * .82), 54%); margin: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent); }
.rb-tv__end-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 54, .55) 0%, rgba(8, 22, 54, 0) 26%); }
.rb-tv__end-pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 38%; }
.rb-tv__end-in { position: relative; }
.rb-tv__eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tv-sky); }
.rb-tv__end-h { margin: 0 0 10px; font-size: 34px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.rb-tv__end-p { margin: 0 0 24px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .86); max-width: 36ch; }
.rb-tv__end-b { display: grid; gap: 10px; }
.rb-tv__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 54px; padding: 0 24px;
  border: 0; border-radius: 999px; background: var(--tv-wa); color: var(--tv-wa-ink); cursor: pointer; text-decoration: none;
  font: 700 16px/1.1 'Open Sans', system-ui, sans-serif; box-shadow: 0 8px 22px rgba(20, 140, 70, .34);
  transition: transform .12s, background .18s;
}
.rb-tv__cta:hover { background: #1ebe5b; }
.rb-tv__cta:active { transform: scale(.97); }
.rb-tv__cta svg { width: 21px; height: 21px; fill: #fff; filter: drop-shadow(0 1px 1.5px rgba(10, 70, 38, .45)); }
.rb-tv__end-note { margin: -2px 0 4px; font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .78); text-align: center; }
.rb-tv__again { justify-self: center; margin-top: 4px; padding: 10px 14px; border: 0; background: none; color: rgba(255, 255, 255, .8); font: 600 14.5px/1.2 'Open Sans', system-ui, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.rb-tv__stage.is-end .rb-tv__top { z-index: 6; }
.rb-tv__stage.is-end [data-tv-pause], .rb-tv__stage.is-end [data-tv-where] { visibility: hidden; }
.rb-tv.is-still .rb-tv__frames img { animation: none; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .rb-tur, .rb-tur:hover { transition: none; transform: none; }
  .rb-tur__ring::before, .rb-tv__txt > *, .rb-tv__end { animation: none !important; }
}

@media (min-width: 1024px) {
  .rb-tv { background: transparent; }
  .rb-tv[open] { display: grid; place-items: center; }
  .rb-tv::backdrop { background: rgba(4, 12, 30, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .rb-tv__box { --w: min(1180px, calc(100vw - 200px), calc((100vh - 150px) * 1.6)); width: var(--w); height: auto; }
  .rb-tv__stage { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 10; border-radius: 24px; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .8); touch-action: auto; }
  .rb-tv__bars { left: 20px; right: 20px; top: 16px; }
  .rb-tv__top { left: 24px; right: 14px; top: 28px; }
  .rb-tv__ic { background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); margin-left: 6px; }
  .rb-tv__ic:hover { background: rgba(255, 255, 255, .22); }
  .rb-tv__zone { display: none; }
  .rb-tv__txt { padding: 0 40px 36px; }
  .rb-tv__name { font-size: 44px; }
  .rb-tv__cap { font-size: 18px; max-width: 46ch; }
  .rb-tv__shade { background: linear-gradient(180deg, rgba(4, 14, 36, .5) 0%, rgba(4, 14, 36, 0) 16%), linear-gradient(0deg, rgba(4, 14, 36, .82) 0%, rgba(4, 14, 36, .3) 30%, rgba(4, 14, 36, 0) 50%); }
  .rb-tv__arr {
    display: grid; place-items: center; position: absolute; top: calc(var(--w) * .3125 - 28px); width: 56px; height: 56px; padding: 0;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .2s, transform .3s var(--tv-ease), opacity .2s;
  }
  .rb-tv__arr svg { width: 22px; height: 22px; fill: currentColor; }
  .rb-tv__arr:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
  .rb-tv__arr:disabled { opacity: .25; cursor: default; transform: none; }
  .rb-tv__arr--prev { left: -84px; } .rb-tv__arr--next { right: -84px; }
  .rb-tv__map { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; }
  .rb-tv__map li { margin: 0; padding: 0; }
  .rb-tv__map li::before { content: none; }
  .rb-tv__map button {
    display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .72);
    font: 600 13px/1 'Open Sans', system-ui, sans-serif; transition: background .2s, color .2s, border-color .2s;
  }
  .rb-tv__map button b { font-size: 11px; color: var(--tv-sky); font-variant-numeric: tabular-nums; }
  .rb-tv__map button:hover { background: rgba(255, 255, 255, .14); color: #fff; }
  .rb-tv__map button.is-on { background: #fff; color: #173f86; border-color: #fff; }
  .rb-tv__map button.is-on b { color: var(--tv-acc); }
  .rb-tv__end { justify-content: flex-end; align-items: flex-start; padding: 0 56px 44px; }
  .rb-tv__end-pic { height: 100%; -webkit-mask-image: none; mask-image: none; }
  .rb-tv__end-pic::after { background: linear-gradient(0deg, rgba(15, 42, 94, .97) 0%, rgba(15, 42, 94, .86) 30%, rgba(15, 42, 94, .2) 58%, rgba(15, 42, 94, 0) 72%), linear-gradient(180deg, rgba(8, 22, 54, .5) 0%, rgba(8, 22, 54, 0) 18%); }
  .rb-tv__end-pic img { object-position: 50% 30%; }
  .rb-tv__end-h { font-size: 48px; }
  .rb-tv__end-p { font-size: 18px; max-width: 46ch; }
  .rb-tv__end-b { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
  .rb-tv__cta { width: auto; }
  .rb-tv__end-note { margin: 0; text-align: left; }
  .rb-tv__again { margin: 0; }
}
