:root {
  --live: #c5221f;
  --live-bg: #fdecea;
}

body {
  background: var(--mist);
}

.svc {
  padding: 3rem 0 6rem;
  background: var(--mist);
}

.svc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.svc-rail {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.svc-id {
  order: 1;
}

.svc-nav {
  order: 2;
}

.svc-extra {
  order: 3;
  display: grid;
  gap: 0.9rem;
}

.svc-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc-id h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.svc-id p:last-child {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

.svc-nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}

.svc-nav a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-left: -1px;
  padding: 0.7rem 0 0.7rem 1.1rem;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, padding 0.3s var(--ease);
}

.svc-nav .n {
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.svc-nav a:hover {
  color: var(--navy);
  padding-left: 1.4rem;
}

.svc-nav a[aria-current="true"] {
  border-left-color: var(--gold);
  color: var(--navy);
}

.svc-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.svc-sub svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.svc-live {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--live-bg);
  color: var(--live);
  text-decoration: none;
}

.svc-live[hidden] {
  display: none;
}

.svc-live-text {
  display: grid;
  min-width: 0;
}

.svc-live small {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.svc-live strong {
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--navy);
}

.pulse {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(197, 34, 31, 0.5);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(197, 34, 31, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 34, 31, 0);
  }
}

.svc-block {
  scroll-margin-top: calc(var(--header-h) + 5rem);
}

.svc-block + .svc-block {
  margin-top: 5rem;
}

.svc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.svc-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
}

.svc-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.preview-note {
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(217, 160, 58, 0.55);
  border-radius: 999px;
  background: #fff8e4;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
}

.preview-note[hidden] {
  display: none;
}

.theatre {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
}

.theatre > * {
  min-width: 0;
}

.theatre-main,
.upnext {
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 30px 50px -38px rgba(3, 27, 59, 0.4);
}

.theatre-main {
  overflow: hidden;
}

.stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
}

.stage iframe,
.stage .facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.facade {
  display: block;
  padding: 0;
  background: none;
  cursor: pointer;
}

.thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background:
    radial-gradient(60% 80% at 80% 10%, rgba(240, 195, 90, 0.18), transparent 70%),
    linear-gradient(135deg, hsl(213 80% calc(14% + var(--k, 0) * 2.5%)), hsl(216 62% calc(26% + var(--k, 0) * 2.5%)));
}

.thumb::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin: -12px 0 0 -8px;
  border-left: 22px solid rgba(255, 255, 255, 0.35);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}

.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.thumb img.is-missing {
  visibility: hidden;
}

.facade .thumb {
  height: 100%;
  border-radius: 0;
  aspect-ratio: auto;
}

.play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: linear-gradient(0deg, rgba(3, 27, 59, 0.5), rgba(3, 27, 59, 0) 55%);
}

.play-btn {
  position: relative;
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 36px -14px rgba(3, 27, 59, 0.6);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.play-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -13px 0 0 -9px;
  border-left: 24px solid var(--navy);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.facade:hover .play-btn,
.facade:focus-visible .play-btn {
  transform: scale(1.08);
  box-shadow: 0 0 0 7px rgba(217, 160, 58, 0.4), 0 20px 36px -14px rgba(3, 27, 59, 0.6);
}

.stage-info {
  padding: 1.5rem 1.75rem 1.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.badge[hidden] {
  display: none;
}

.badge--live {
  background: var(--live-bg);
  color: var(--live);
}

.badge--live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
}

.stage-info h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.meta {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.desc {
  margin-top: 1rem;
  max-height: 4.9em;
  overflow: hidden;
  color: var(--text);
  line-height: 1.65;
  white-space: pre-line;
  transition: max-height 0.4s var(--ease);
}

.desc.is-open {
  max-height: 60em;
}

.desc a {
  color: var(--royal);
  overflow-wrap: anywhere;
}

.link-btn {
  margin-top: 0.4rem;
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: var(--royal);
  font: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.link-btn[hidden] {
  display: none;
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn-sm {
  font-family: inherit;
  cursor: pointer;
}

.upnext {
  position: relative;
  min-height: 380px;
}

.upnext-in {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0.9rem 0.9rem;
}

.upnext h3 {
  margin: 0.2rem 0.5rem 0.9rem;
  font-size: 1.45rem;
}

.upnext ol {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 0.15rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
}

.rail-item {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  width: 100%;
  padding: 0.55rem;
  border: 0;
  border-radius: 12px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.rail-item:hover,
.rail-item[aria-current="true"] {
  background: var(--mist);
}

.rail-item[aria-current="true"] {
  box-shadow: inset 3px 0 0 var(--gold);
}

.rail-item .thumb {
  border-radius: 8px;
}

.rail-item .thumb::before {
  transform: scale(0.7);
}

.rail-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.rail-meta {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.dur,
.tag-live,
.tag-soon {
  position: absolute;
  z-index: 2;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.dur {
  right: 0.5rem;
  bottom: 0.5rem;
  background: rgba(3, 27, 59, 0.88);
  color: var(--white);
}

.tag-live,
.tag-soon {
  left: 0.5rem;
  bottom: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-live {
  background: var(--live);
  color: var(--white);
}

.tag-soon {
  background: var(--white);
  color: var(--navy);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.search {
  position: relative;
  flex: 1 1 240px;
  max-width: 380px;
}

.search::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1.1rem;
  width: 11px;
  height: 11px;
  margin-top: -7px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  pointer-events: none;
}

.search::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 1.1rem;
  width: 7px;
  height: 2px;
  margin: 6px 0 0 9px;
  background: var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}

.search input,
.select select {
  width: 100%;
  border: 1px solid rgba(6, 42, 87, 0.2);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search input {
  padding: 0.8rem 1rem 0.8rem 2.8rem;
}

.search input:focus,
.select select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(27, 74, 140, 0.16);
}

.select select {
  padding: 0.8rem 2.6rem 0.8rem 1.1rem;
  appearance: none;
  -webkit-appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23062a57' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 1.1rem center;
  cursor: pointer;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips[hidden] {
  display: none;
}

.chip {
  padding: 0.6rem 1.1rem;
  border: 1px solid rgba(6, 42, 87, 0.2);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.chip:hover {
  border-color: var(--navy);
}

.chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.chip small {
  margin-left: 0.4rem;
  font-size: 0.82rem;
  opacity: 0.7;
}

.count {
  min-height: 1.4em;
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.9rem 1.5rem;
}

.vcard {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.vcard .thumb {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.vcard:hover .thumb,
.vcard:focus-visible .thumb {
  transform: translateY(-4px);
  box-shadow: 0 24px 32px -22px rgba(3, 27, 59, 0.55);
}

.vcard:hover .thumb img {
  transform: scale(1.05);
}

.vcard .play {
  background: rgba(3, 27, 59, 0.22);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vcard:hover .play,
.vcard:focus-visible .play {
  opacity: 1;
}

.vcard .play-btn {
  width: 58px;
  height: 58px;
}

.vcard .play-btn::before {
  margin: -10px 0 0 -6px;
  border-left-width: 17px;
  border-top-width: 10px;
  border-bottom-width: 10px;
}

.vcard h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.85rem 0 0.3rem;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.vmeta {
  font-size: 0.88rem;
  color: var(--muted);
}

.more {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.more .btn {
  min-width: 11rem;
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
}

.more .btn[hidden] {
  display: none;
}

.more .btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.sk {
  border-radius: 12px;
  background: linear-gradient(90deg, #e5eaf2 25%, #f2f5f9 37%, #e5eaf2 63%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease infinite;
}

@keyframes shimmer {
  from {
    background-position: 100% 50%;
  }
  to {
    background-position: 0 50%;
  }
}

.sk-line {
  height: 0.9rem;
  margin-top: 0.7rem;
}

.sk-line.w60 {
  width: 60%;
}

.state {
  padding: 2.75rem 1.5rem;
  border: 1px dashed rgba(6, 42, 87, 0.25);
  border-radius: 16px;
  background: var(--white);
  text-align: center;
  color: var(--muted);
}

.state strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

.state p {
  max-width: 28rem;
  margin: 0 auto 1.25rem;
}

.state .btn {
  cursor: pointer;
  font-family: inherit;
}

.state--wide {
  grid-column: 1 / -1;
}

.feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.post {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.post:hover,
.post:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 32px 42px -30px rgba(3, 27, 59, 0.5);
}

.post--media {
  aspect-ratio: 4 / 5;
  color: var(--white);
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(240, 195, 90, 0.2), transparent 70%),
    linear-gradient(160deg, var(--royal), var(--navy-deep));
}

.post--feature {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.post--media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.post--media img.is-missing {
  visibility: hidden;
}

.post--media:hover img {
  transform: scale(1.05);
}

.post--media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 27, 59, 0.9), rgba(3, 27, 59, 0.05) 62%);
}

.post-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.6rem;
}

.post--media .post-body {
  justify-content: flex-end;
}

.post-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.post-tag {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.post--media .post-tag {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.post-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
}

.post-play {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 26px -12px rgba(3, 27, 59, 0.6);
  transition: transform 0.4s var(--ease);
}

.post-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -9px 0 0 -5px;
  border-left: 15px solid var(--navy);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.post:hover .post-play {
  transform: scale(1.1);
}

.post h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.15;
  color: inherit;
}

.post--feature h3 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
}

.post-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

.post--media .post-excerpt {
  color: rgba(255, 255, 255, 0.85);
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.post-meta {
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--muted);
}

.post--media .post-meta {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.78);
}

.post--blog .post-body {
  justify-content: space-between;
  padding: 1.75rem;
}

.post-read {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.icon-btn {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.icon-btn:hover:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.ib-close::before,
.ib-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.ib-close::before {
  transform: rotate(45deg);
}

.ib-close::after {
  transform: rotate(-45deg);
}

.ib-prev::before,
.ib-next::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.ib-prev::before {
  margin-left: 3px;
  transform: rotate(-45deg);
}

.ib-next::before {
  margin-right: 3px;
  transform: rotate(135deg);
}

body.modal-open {
  overflow: hidden;
}

.vmodal {
  width: min(1100px, 94vw);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
}

.vmodal::backdrop {
  background: rgba(3, 27, 59, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.vmodal[open] {
  animation: pop 0.35s var(--ease);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

.vmodal-wrap {
  position: relative;
}

.vclose {
  position: absolute;
  top: -56px;
  right: 0;
}

.vmodal-box {
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
}

.vstage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.vstage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vmodal-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.5rem 1.5rem;
}

.vmodal-text {
  flex: 1 1 320px;
  min-width: 0;
}

.vmodal-text h3 {
  margin-bottom: 0.3rem;
  font-size: 1.5rem;
}

.vmodal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.reader {
  width: min(780px, 100%);
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--white);
  box-shadow: -30px 0 60px -30px rgba(3, 27, 59, 0.45);
}

.reader::backdrop {
  background: rgba(3, 27, 59, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.reader[open] {
  display: flex;
  flex-direction: column;
  animation: sheet 0.4s var(--ease);
}

@keyframes sheet {
  from {
    opacity: 0;
    transform: translateX(48px);
  }
}

.reader-bar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.reader-pos {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.reader-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reader-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.reader-article {
  max-width: 46rem;
  padding: 2.25rem clamp(1.25rem, 4vw, 3rem) 4rem;
}

.reader-article h2 {
  margin: 0.9rem 0 0.7rem;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.08;
}

.reader-meta {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.rg {
  position: relative;
  margin: 0 0 2rem;
}

.rg-track {
  display: flex;
  overflow-x: auto;
  border-radius: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rg-track::-webkit-scrollbar {
  display: none;
}

.rg figure {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  background: linear-gradient(160deg, var(--mist-deep), var(--mist));
  scroll-snap-align: center;
}

.rg img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}

.rg img.is-missing {
  visibility: hidden;
  min-height: 260px;
}

.rg figcaption {
  padding: 0.7rem 0.25rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.rg-btn {
  position: absolute;
  top: 40%;
  z-index: 2;
  box-shadow: 0 12px 22px -10px rgba(3, 27, 59, 0.5);
}

.rg-prev {
  left: 0.75rem;
}

.rg-next {
  right: 0.75rem;
}

.rg-count {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(3, 27, 59, 0.75);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
}

.rv {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 1.5rem;
  overflow: hidden;
  border-radius: 16px;
  background: var(--navy-deep);
}

.rv iframe,
.rv .facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.prose {
  font-size: 1.1rem;
  line-height: 1.8;
}

.prose > * + * {
  margin-top: 1.2em;
}

.prose h3,
.prose h4 {
  margin-top: 1.8em;
  font-size: 1.6rem;
}

.prose a {
  color: var(--royal);
  text-underline-offset: 3px;
}

.prose blockquote {
  margin-left: 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--navy);
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.prose img {
  height: auto;
  border-radius: 12px;
}

.prose figcaption {
  font-size: 0.9rem;
  color: var(--muted);
}

.reader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.75rem;
  z-index: 200;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.95rem;
  box-shadow: 0 18px 36px -14px rgba(3, 27, 59, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease), visibility 0.3s;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 1180px) {
  .theatre {
    grid-template-columns: minmax(0, 1fr);
  }

  .upnext {
    min-height: 0;
  }

  .upnext-in {
    position: static;
    padding: 1.25rem 1rem 1rem;
  }

  .upnext ol {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    scroll-snap-type: x proximity;
  }

  .rail-item {
    flex: 0 0 min(260px, 72vw);
    grid-template-columns: 1fr;
    scroll-snap-align: start;
  }

  .rail-title {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

@media (max-width: 1080px) {
  .svc {
    padding-top: 2rem;
  }

  .svc-layout {
    display: block;
  }

  .svc-rail {
    display: contents;
  }

  .svc-id {
    margin-bottom: 1.5rem;
  }

  .svc-extra {
    margin-bottom: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, max-content));
  }

  .svc-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 60;
    margin: 0 -1.5rem 2.25rem;
    padding: 0.65rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: rgba(244, 246, 250, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .svc-nav ol {
    display: flex;
    gap: 0.5rem;
    border: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .svc-nav a {
    gap: 0.5rem;
    margin: 0;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(6, 42, 87, 0.18);
    border-radius: 999px;
    background: var(--white);
    white-space: nowrap;
  }

  .svc-nav a:hover {
    padding-left: 1rem;
  }

  .svc-nav a[aria-current="true"] {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
  }

  .svc-block {
    scroll-margin-top: calc(var(--header-h) + 4.5rem);
  }

  .svc-block + .svc-block {
    margin-top: 4rem;
  }
}

@media (max-width: 900px) {
  .feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .feed {
    grid-template-columns: 1fr;
  }

  .post--feature {
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }

  .svc-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .stage-info {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .play-btn {
    width: 68px;
    height: 68px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .search {
    max-width: none;
  }

  .vclose {
    top: -52px;
  }

  .vmodal-info {
    padding: 1rem 1.1rem 1.25rem;
  }

  .vmodal-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .reader-nav .btn {
    display: none;
  }

  .toast {
    bottom: 5rem;
    max-width: calc(100% - 2rem);
    text-align: center;
  }
}

.toolbar[hidden],
.stage-actions [hidden] {
  display: none;
}

.channel-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.5rem 0.6rem 0.75rem;
}

.channel-card p {
  margin: 0;
  color: var(--muted);
}

.channel-card .btn {
  justify-self: start;
}
