html.viewer-ready #app { visibility: visible; }
#app { visibility: hidden; }
#app-loading { display: flex; min-height: 60vh; align-items: center; justify-content: center; padding: 24px; color: #eee5e9; background: #111114; font-size: 17px; line-height: 1.5; }
html.viewer-ready #app-loading { display: none; }
.rs-video-box { position: relative; }
.viewer-access-status {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  background: rgba(10, 10, 14, .88);
  color: #fff;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
}
.viewer-access-status strong { font-size: clamp(20px, 4vw, 27px); }
.viewer-access-status span { max-width: 32ch; color: #dad7d3; }
.viewer-access-status button { min-height: 48px; margin-top: 8px; }
.viewer-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  font-size: 16px;
}
.viewer-price strong { color: #e8b96b; font-size: 20px; }
.dialog [data-act="viewer-confirm"] { min-height: 48px; font-size: 16px; }
.viewer-shop-state { max-width: 720px; margin: 24px auto; padding: clamp(22px, 5vw, 36px); }
.viewer-shop-state h2 { font-size: clamp(22px, 5vw, 29px); line-height: 1.25; }
.viewer-shop-state p { margin: 12px 0 22px; color: #cac6c4; font-size: 16px; line-height: 1.65; }
.viewer-shop-state button { min-height: 48px; }
.viewer-shop-state button + button { margin-left: 10px; }
.viewer-catalog-state { max-width: 720px; margin: clamp(48px, 10vw, 110px) auto; padding: clamp(28px, 7vw, 50px); text-align: center; }
.viewer-catalog-state h1 { font-size: clamp(24px, 5vw, 34px); }
.viewer-catalog-state p { margin: 16px 0 25px; color: #c9c4c2; font-size: 16px; line-height: 1.6; }
.viewer-catalog-state button { min-height: 48px; }
@media (max-width: 640px) {
  .viewer-access-status { padding: 22px; font-size: 15px; }
  .viewer-access-status button { width: min(100%, 240px); }
  .viewer-shop-state button + button { margin: 10px 0 0; }
}
