/* Archive, presentation and service pages share the site typography. */
.news-card .card-image > img {
  object-position: var(--news-image-position, center);
}
.reading .article-cover {
  object-fit: contain;
  background: #191421;
}
.editorial { --accent: var(--lime); }
.editorial h2 { text-wrap: balance; }
.editorial .text-link { color: var(--accent); }
.editorial-lead { color: var(--quiet); max-width: 72ch; margin: -4px 0 20px; }
.references { margin-top: 11px; font-size: 12px; color: var(--muted); }
.credit { color: var(--quiet); font-size: 11px; text-decoration: underline; text-decoration-color: #ffffff4d; text-underline-offset: 3px; }
.credit:hover { color: var(--accent, var(--lime)); text-decoration-color: currentColor; }
.heritage-hero, .ema-hero, .school-hero, .top-hero {
  position: relative; isolation: isolate; display: grid; align-items: end; overflow: hidden;
  min-height: clamp(380px, 48vw, 600px); background: #20172d; border: 1px solid var(--stroke); border-radius: 14px;
}
.cover-image { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; z-index: -2; }
.ema-hero::after, .school-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg,#100b17f7 0%,#100b17d9 23%,#100b1738 68%), linear-gradient(0deg,#100b17c9,transparent 48%);
}
.hero-copy { padding: clamp(22px, 5.2vw, 76px); position: relative; }
.hero-copy .eyebrow { display: block; color: var(--accent); }
.hero-copy h1 { font: 840 clamp(33px, 7.1vw, 105px)/.98 var(--display); letter-spacing: -.08em; margin: 11px 0 16px; overflow-wrap: anywhere; }
.hero-copy p { max-width: 44ch; font-size: clamp(15px, 1.78vw, 22px); color: var(--quiet); }
.hero-copy .actions { margin-top: clamp(15px, 2.6vw, 32px); }
.hero-credit { color: #ece5f5; position: absolute; bottom: 12px; right: 15px; font-size: 11px; }
.editorial .button.primary { background: var(--accent); border-color: var(--accent); color: #17140e; }
.editorial .button.primary:hover { filter: brightness(1.1); }

.heritage-hero {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); align-items: center;
  background: radial-gradient(ellipse at 78% 46%, #352735 0%, #22192b 40%, #16101f 75%);
}
.heritage-hero .hero-copy { padding-block: clamp(28px, 4vw, 58px); padding-inline-end: 14px; }
.heritage-hero h1 { margin-top: 0; font-size: clamp(42px, 6.55vw, 98px); }
.heritage-hero .heritage-lead { max-width: 36ch; color: var(--ink); text-wrap: pretty; }
.heritage-lead a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.heritage-origin { display: grid; gap: 9px; margin-top: 18px; }
.heritage-origin p { max-width: 58ch; font-size: clamp(13px, 1.18vw, 16px); }
.heritage-ident {
  position: relative; isolation: isolate; display: grid; place-items: center; justify-self: center;
  width: min(100%, 520px); aspect-ratio: 1;
}
.heritage-ident::before, .heritage-ident::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.heritage-ident::before {
  inset: 3%;
  background: repeating-radial-gradient(circle, transparent 0 27px, #d5b47725 27px 28px, transparent 29px 41px),
              radial-gradient(circle, #d39b4752 0%, #8f5b3c42 34%, transparent 72%);
  mask-image: radial-gradient(circle, #000 48%, transparent 73%);
}
.heritage-ident::after {
  inset: 13%; border: 1px solid #efd79b45;
  box-shadow: 0 0 40px #d79c4824, inset 0 0 34px #eab15e1a;
}
.heritage-mark { width: 58%; height: auto; display: block; filter: drop-shadow(0 16px 22px #090608b8); }
.history-track { display: grid; gap: 15px; }
.history-story { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: clamp(18px,4vw,54px); align-items: center;
  border: 1px solid var(--stroke); border-radius: 10px; background: #1b1426; padding: clamp(16px,3vw,39px); }
.history-story:nth-child(even) .history-story-text { order: 2; }
.history-story:not(:has(figure)) { grid-template-columns: minmax(0, 1fr); }
.history-story h3 { font: 780 clamp(18px, 2.6vw, 35px)/1.12 var(--display); letter-spacing: -.066em; margin: 7px 0 12px; }
.heritage-year { color: var(--accent); font: 630 clamp(19px,3.3vw,43px)/1 var(--display); letter-spacing: -.06em; }
.history-story p { color: var(--quiet); max-width: 57ch; }
.history-story figure { margin: 0; }
.history-story figure img { aspect-ratio: 1.8; width: 100%; max-height: 310px; object-fit: cover; border-radius: 7px; }
.history-story figure.logo-figure img { object-fit: contain; background: #17101f; padding: 21px; }
#history-2007 figure img { aspect-ratio: 16 / 9; max-height: none; }
.history-story figure figcaption { margin-top: 6px; color: var(--muted); font-size: 11px; }
.logo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--gap); }
.logo-exhibit { background: var(--panel); border: 1px solid var(--stroke); border-radius: 8px; overflow: hidden; }
.exhibit-frame { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1.75; padding: 18px; background: radial-gradient(at 50% 80%,#31233e,#150f1d); border: 0; }
.exhibit-frame:hover { background: #352641; }
.exhibit-frame img { width: 100%; height: 100%; max-height: 136px; object-fit: contain; }
.exhibit-frame span { position: absolute; top: 7px; right: 8px; width: 25px; height: 25px; color: var(--accent); }
.exhibit-label { padding: 13px; }
.exhibit-label h3 { font-size: 17px; line-height: 1.21; margin-block: 4px; }
.exhibit-label p { color: var(--quiet); font-size: 13px; margin-bottom: 7px; }
.image-dialog { color: var(--ink); background: #1b1426; border: 1px solid var(--stroke); border-radius: 10px; width: min(560px,calc(100vw - 35px)); max-height: 85dvh; padding: 16px; }
.image-dialog::backdrop { background: #0b0910cd; }
.image-dialog form { display: flex; justify-content: flex-end; }
.image-dialog img { width: 100%; height: min(290px,43vh); object-fit: contain; margin: 12px 0; }
.image-dialog h2 { font-size: 21px; }
.image-dialog p { color: var(--quiet); }

.ema-editorial, .top-editorial { --accent: #f2ca86; }
.ema-hero { min-height: clamp(340px, 42vw, 540px); }
.ema-hero .cover-image { object-position: 59% 54%; }
.ema-hero .hero-copy h1 { font-size: clamp(33px, 6.2vw, 90px); }
.ema-years { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.ema-year-select { display: grid; place-items: center; min-width: 67px; min-height: 44px; padding: 8px 13px; border: 1px solid #e6bc683b;
 border-radius: 5px; background: #241b2c; color: #e0d7e8; font-weight: 780; }
.ema-year-select[aria-current], .ema-year-select:hover { border-color: var(--accent); color: var(--accent); }
.ema-year-select[aria-current] { background: var(--accent); color: #261b11; }
.ema-year-panel { background: #18121f; border: 1px solid var(--stroke); border-radius: 12px; overflow: hidden; margin-bottom: 15px; }
.ema-feature { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); background: linear-gradient(145deg,#251929,#1a141e); }
.ema-poster { min-height: 225px; display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden; background: #201728; }
.ema-poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#0e0b12ce,transparent 49%); pointer-events: none; }
.ema-poster img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; z-index: -2; }
.poster-play { display: grid; place-items: center; width: 54px; height: 54px; color: #17140e; background: var(--accent); border-radius: 50%; }
.poster-play .play { margin-left: 2px; }
.ema-poster:hover .poster-play { filter: brightness(1.19); }
.poster-caption { position: absolute; left: 12px; bottom: 11px; color: #f9f4fc; font-size: 12px; }
.ema-feature-content { padding: clamp(18px, 3.1vw, 44px); }
.ema-feature-content .eyebrow { color: var(--accent); }
.ema-feature-content h2 { font: 830 clamp(42px, 6.7vw, 94px)/.98 var(--display); letter-spacing: -.075em; margin-block: 5px 11px; }
.ema-feature-content p { color: var(--quiet); margin-bottom: 13px; font-size: 14px; }
.ema-feature-content .ema-meta { font-weight: 710; color: #fff1d4; }
.ema-feature-content .footnote { margin-bottom: 0; }
.ema-winners { padding: clamp(16px,3.1vw,41px); }
.ema-winners h2 { font-size: clamp(20px,2.4vw,33px); }
.ema-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0; }
.ema-nomination { background: #211828; border: 1px solid #ffffff13; border-radius: 6px; padding: 11px 13px; overflow-wrap: anywhere; }
.ema-nomination dt { color: var(--accent); font-weight: 650; font-size: 11px; line-height: 1.25; margin-bottom: 5px; }
.ema-nomination dd { margin: 0; font-weight: 780; line-height: 1.25; }
.ema-performers { margin-top: 20px; }
.ema-performers h3 { margin: 0 0 5px; font-size: 16px; }
.ema-performers p { margin-bottom: 0; }

.award-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center;
  gap: clamp(22px, 4vw, 54px); padding: clamp(19px, 3.4vw, 46px);
  background: #1b1426; border: 1px solid var(--stroke); border-radius: 12px;
}
.award-hero .hero-copy { padding: 0; }
.award-hero h1 { font-size: clamp(30px, 4.4vw, 64px); }
.award-hero .text-link { display: inline-block; margin-bottom: 11px; }
.award-hero figure { min-width: 0; margin: 0; }
.award-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 7px; }
.award-hero figcaption { margin-top: 7px; font-size: 11px; color: var(--muted); }
.award-story p { max-width: 72ch; color: var(--quiet); }
.award-clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.award-clip { overflow: hidden; background: #1b1426; border: 1px solid var(--stroke); border-radius: 9px; }
.award-clip-copy { padding: 15px 17px 18px; }
.award-clip-copy p { margin: 6px 0 0; color: var(--quiet); }
.award-clip-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.award-clip-title h3 { margin: 0; font-size: clamp(16px, 2vw, 22px); }
.award-clip-title span { flex-shrink: 0; color: var(--muted); font-size: 12px; }

.video-link { padding: 0; background: none; border: 0; font: inherit; cursor: pointer; }
.video-link .play { vertical-align: -.06em; }
.video-player { aspect-ratio: 16/9; background: #09070d; }
.video-player iframe { display: block; border: 0; width: 100%; height: 100%; }
.video-dialog {
  width: min(880px, calc((100dvh - 100px) * 16 / 9), calc(100vw - 22px));
  max-height: calc(100dvh - 22px); padding: 0; color: var(--ink); background: #1b1426;
  border: 1px solid var(--stroke); border-radius: 10px;
}
.video-dialog::backdrop { background: #09070de8; }
.video-dialog-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px;
}
.video-dialog-header h2 { margin: 0; font-size: clamp(14px, 2.4vw, 20px); }

@media (max-width: 760px) {
  .award-hero, .award-clips { grid-template-columns: 1fr; }
}

.top-editorial { --accent: #f2cb88; }
.top-hero { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); align-items: stretch;
  min-height: clamp(395px, 42vw, 560px); border-color: #bda17936; background: radial-gradient(at 90% 10%,#30231c,#101015 68%); }
.top-hero .hero-copy { align-self: center; padding-right: 6px; }
.top-hero .hero-copy h1 { font-size: clamp(20px, 4.15vw, 64px); letter-spacing: -.075em; overflow-wrap: normal; }
.top-hero h1 span { display: block; white-space: nowrap; }
.top-hero h1 span:first-child { font-size: 1.27em; }
.top-object { overflow: hidden; position: relative; isolation: isolate; }
.top-object::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#141116,transparent 40%); }
.top-object img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 50%; }
.top-summary { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; padding: clamp(17px,3vw,37px) 0; border-bottom: 1px solid #f2cb883b; align-items: center; }
.top-summary p { max-width: 47ch; font-size: clamp(16px,2vw,24px); line-height: 1.35; }
.top-fields { display: flex; flex-wrap: wrap; gap: 7px; justify-content: end; }
.top-fields span { border: 1px solid #f2cb885c; color: #ffeacc; font-size: 12px; padding: 5px 9px; border-radius: 5px; }
.top-packages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.top-package,.top-steps > div { background: #211820; border: 1px solid #f2cb882e; padding: clamp(13px,2.1vw,25px); border-radius: 8px; }
.top-package span,.top-steps span { color: var(--accent); font-weight: 800; }
.top-package h3,.top-steps h3 { font-size: 21px; line-height: 1.2; margin: 6px 0 8px; }
.top-package p,.top-steps p { color: var(--quiet); font-size: 14px; }
.top-films { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.top-hosts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: var(--gap); }
.top-person { margin: 0; border: 1px solid #f2cb8835; border-radius: 7px; overflow: hidden; background: #201821; }
.top-person img { width: 100%; aspect-ratio: 1.06; object-fit: cover; object-position: center 30%; }
.top-person figcaption { padding: 10px; min-height: 60px; line-height: 1.23; }
.top-person span { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.top-faq { background: linear-gradient(110deg,#221921,#18141c); border: 1px solid #f2cb8830; border-radius: 10px; padding: clamp(16px,3vw,42px); }
.top-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.top-rule { margin-top: 18px; border-top: 1px solid #f2cb8830; padding-top: 12px; }
.top-rule summary { cursor: pointer; font-weight: 730; }
.top-rule p { margin-top: 8px; color: var(--quiet); }

.school-editorial { --accent: #c8fbed; }
.school-status { display: flex; align-items: center; gap: 8px; background: #16312c; border: 1px solid #8de3c955;
  border-radius: 6px; color: #c9f7e9; padding: 10px 15px; margin-bottom: 13px; flex-wrap: wrap; }
.school-status .status-dot { background: #a4ffe2; margin-right: 1px; }
.school-status > span:last-child { color: #d8e9e5; font-size: 13px; }
.school-hero { background: #172724; }
.school-hero::after { background: linear-gradient(90deg,#101d1dfb 0%,#101d1ded 35%,#101d1d36 100%),linear-gradient(0deg,#101d1dc4,transparent 65%); }
.school-hero .hero-copy h1 { font-size: clamp(35px, 6.4vw, 92px); }
.school-feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); overflow: hidden; border: 1px solid #a4ffe24a; border-radius: 11px; background: #162823; }
.school-feature > div { padding: clamp(17px,4vw,53px); }
.school-feature h2 { font: 790 clamp(26px,4vw,56px)/1.02 var(--display); letter-spacing: -.067em; margin: 7px 0 12px; }
.school-feature p { color: var(--quiet); max-width: 60ch; margin-bottom: 12px; }
.school-feature .eyebrow { color: var(--accent); }
.school-method { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.school-method article { padding: clamp(14px,3vw,28px); background: #1a2626; border: 1px solid #a4ffe232; border-radius: 7px; }
.school-method h3 { font-size: 20px; line-height: 1.2; margin-bottom: 6px; }
.school-method p { color: var(--quiet); }
.school-editorial .chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }

.contact-index { margin: -13px 0 24px; }
.contact-team { display: grid; grid-template-columns: minmax(240px,.68fr) minmax(0,1.7fr); gap: var(--gap); padding: clamp(17px,3.35vw,43px) 0; border-top: 1px solid var(--stroke); }
.contact-team-intro h2 { font: 780 clamp(23px,2.65vw,37px)/1.08 var(--display); letter-spacing: -.06em; overflow-wrap: anywhere; }
.contact-team-intro p { color: var(--quiet); max-width: 38ch; margin-top: 8px; }
.contact-team-people { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.contact-person { min-height: 140px; display: grid; gap: 9px; justify-items: start; align-items: start; background: #201829; border: 1px solid var(--stroke); padding: 14px; border-radius: 7px; overflow-wrap: anywhere; }
.contact-person.lead-contact { border-color: #d9ff6961; background: #292632; }
.contact-person h3 { font-size: 22px; letter-spacing: -.035em; margin-top: 4px; line-height: 1.14; }
.contact-person p { color: var(--quiet); font-size: 12px; line-height: 1.25; }
.contact-person .contact-links { gap: 2px; align-self: end; }
.contact-call { color: var(--accent); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 700; }
.contact-call:hover { text-decoration: underline; }

.geo-heading { display: flex; justify-content: space-between; gap: 15px; align-items: end; margin-bottom: 17px; }
.geo-heading h1 { font: 825 clamp(32px,5.2vw,74px)/1.05 var(--display); letter-spacing: -.076em; margin: 5px 0 11px; overflow-wrap: anywhere; }
.geo-heading p { color: var(--quiet); max-width: 60ch; }
.geo-explorer { background: #1a1325; border: 1px solid var(--stroke); border-radius: 12px; overflow: hidden; }
.geo-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; background: #21182e; border-bottom: 1px solid var(--stroke); padding: 11px; }
.geo-country-label { display: inline-flex; align-items: center; gap: 8px; color: var(--quiet); font-size: 13px; }
.geo-country-label select { min-height: 37px; background: #181222; color: var(--ink); border: 1px solid var(--stroke); border-radius: 5px; padding-inline: 8px; max-width: 180px; }
.geo-workspace { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(225px,1fr); }
.geo-display { position: relative; isolation: isolate; min-height: 425px; overflow: hidden; background: radial-gradient(ellipse at 52% 44%,#31234a,#15101f 73%); }
.geo-display canvas { height: 100%; min-height: 425px; width: 100%; display: block; cursor: grab; touch-action: none; }
.geo-display canvas.is-dragging { cursor: grabbing; }
.geo-display[data-mode=map] canvas { cursor: default; touch-action: pan-y; }
.geo-pins { position: absolute; inset: 0; pointer-events: none; }
.geo-pin { position: absolute; pointer-events: auto; width: 24px; height: 24px; transform: translate(-50%,-50%); border: 0; background: none; border-radius: 50%; }
.geo-pin::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #daf877; box-shadow: 0 0 0 3px #ccff6033; }
.geo-pin:hover,.geo-pin[aria-pressed=true] { z-index: 2; }
.geo-pin[aria-pressed=true]::before { inset: 5px; background: #f5db8e; box-shadow: 0 0 0 5px #f5db8e38; }
.geo-hint { position: absolute; left: 10px; bottom: 15px; pointer-events: none; color: #eee3fa; font-size: 11px; background: #1c1326ca; padding: 4px 8px; border-radius: 4px; }
.geo-controls { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 4px; }
.geo-controls .button { padding: 0; width: 34px; min-height: 34px; background: #251b32; }
.geo-display[data-mode=map] [data-geo-rotate] { display: none; }
.geo-side { border-left: 1px solid var(--stroke); padding: clamp(12px,2.5vw,29px); }
.geo-side h2 { font: 790 clamp(18px,2.25vw,30px)/1.09 var(--display); letter-spacing: -.06em; margin-block: 6px 11px; overflow-wrap: anywhere; }
.geo-service { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 7px 0; border-bottom: 1px solid var(--stroke); font-size: 13px; }
.geo-service strong { color: var(--ink); }
.geo-service span { display: block; color: var(--muted); font-size: 11px; }
.geo-service em { color: var(--accent); font-style: normal; }
.geo-global { margin-top: 13px; }
.geo-location-list { padding: 10px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; align-content: start; }
.geo-location-list button { text-align: left; justify-content: start; min-height: 37px; padding: 6px 8px; white-space: normal; overflow-wrap: anywhere; }
.geo-location-list button[aria-pressed=true] { border-color: var(--accent); color: var(--accent); }
.geo-catalogue { scroll-margin-top: 10px; }

@media (max-width: 900px) {
  .logo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .top-packages { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .top-hosts { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 690px) {
  .heritage-hero, .ema-hero, .school-hero { min-height: 370px; }
  .hero-copy { padding-bottom: 37px; }
  .heritage-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .heritage-hero .hero-copy { padding: 24px 20px 10px; }
  .heritage-ident { width: min(80%, 290px); }
  .hero-credit { bottom: 7px; right: 8px; font-size: 10px; }
  .history-story, .ema-feature, .school-feature, .contact-team, .geo-workspace { grid-template-columns: 1fr; }
  .history-story:nth-child(even) .history-story-text { order: 0; }
  .history-story figure img { max-height: 210px; }
  .logo-grid,.ema-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .top-hero { min-height: 0; grid-template-columns: 1fr; }
  .top-hero .hero-copy { padding-right: 18px; }
  .top-hero .top-object { height: 225px; order: -1; }
  .top-object::after { background: linear-gradient(0deg,#141116,transparent 36%); }
  .top-hero .hero-copy h1 { font-size: clamp(20px, 6.05vw, 50px); }
  .top-summary { grid-template-columns: 1fr; }
  .top-fields { justify-content: start; }
  .top-hosts { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .geo-side { border-left: 0; border-top: 1px solid var(--stroke); }
  .geo-display, .geo-display canvas { min-height: 335px; }
}
@media (max-width: 440px) {
  .hero-copy h1 { font-size: clamp(33px,9.2vw,55px); }
  .ema-year-select { min-width: 51px; padding-inline: 8px; }
  .ema-grid { grid-template-columns: 1fr; }
  .logo-exhibit .exhibit-label { padding: 10px; }
  .exhibit-label h3 { font-size: 15px; }
  .top-hosts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .top-films,.top-packages { grid-template-columns: 1fr; }
  .top-steps,.school-method,.contact-team-people { grid-template-columns: 1fr; }
  .geo-heading { flex-direction: column; align-items: start; }
  .geo-hint { top: 10px; bottom: auto; }
  .geo-location-list { grid-template-columns: 1fr 1fr; }
  .header-inner { gap: 8px; }
}

/* Five alternative home layouts share the same live and archive actions. */
.home[data-home-layout] { --home-accent: var(--lime); }
.home-title .eyebrow { text-wrap: balance; }
.home-picker { position: relative; z-index: 4; flex: 0 0 auto; }
.home-picker summary { cursor: pointer; list-style: none; padding: 8px 13px; color: var(--quiet); border: 1px solid var(--stroke); background: #22192d; border-radius: 5px; font-size: 12px; font-weight: 720; }
.home-picker summary::-webkit-details-marker { display: none; }
.home-picker summary::after { content: " ▾"; color: var(--home-accent); }
.home-options { position: absolute; top: calc(100% + 6px); right: 0; width: min(300px,calc(100vw - 32px)); padding: 7px; border: 1px solid #ffffff30; border-radius: 7px; background: #21182d; box-shadow: 0 14px 32px #0007; }
.home-option { display: block; text-align: left; width: 100%; border: 1px solid transparent; color: var(--ink); background: transparent; border-radius: 4px; padding: 8px 9px; }
.home-option strong { display: block; }
.home-option span { display: block; color: var(--quiet); font-size: 11px; }
.home-option:hover,.home-option[aria-pressed=true] { background: #382c44; border-color: #d4ff724b; }
.watch-switch { display: flex; flex-wrap: wrap; gap: 5px; }
.watch-switch .live-pill,.watch-switch .archive-pill { font-size: 11px; text-transform: none; letter-spacing: 0; }
.watch-switch button[aria-pressed=true] { background: var(--home-accent); border-color: var(--home-accent); color: #17150e; }
.watch-switch button[aria-pressed=true] .status-dot { background: #17150e; }
.watch-archive-photo,.watch-stage[data-mode=archive] > .watch-photo:not(.watch-archive-photo) { display: none; }
.watch-stage[data-mode=archive] .watch-archive-photo { display: block; }
.home .watch-copy .button.primary { background: var(--home-accent); border-color: var(--home-accent); }
.home-side-chat,.home-side-edit { display: none; min-width: 0; padding: clamp(17px, 2.4vw, 35px); border: 1px solid var(--stroke); border-radius: 8px; align-content: center; }
.home-side-chat { background: radial-gradient(at 91% 12%,#4c282a,#251a2b); }
.home-side-edit { background: radial-gradient(at 83% 30%,#31224b,#1c1529 68%); }
.home-side-chat h2,.home-side-edit h2 { font: 760 clamp(23px,3.05vw,44px)/1.06 var(--display); letter-spacing: -.07em; margin-block: 6px 12px; }
.home-side-chat p { color: var(--quiet); }
.home-chat-action { margin-top: 19px; }
.home-side-chat .button.primary { background: var(--home-accent); border-color: var(--home-accent); }
.home-edit-link { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--stroke); font-weight: 700; }
.home-edit-link span:last-child { color: var(--home-accent); }
.home-edit-link:hover { color: var(--home-accent); }
.home[data-home-layout=cinema] { --home-accent: #f2cc87; }
.home[data-home-layout=cinema] .feature { grid-template-columns: 1fr; }
.home[data-home-layout=cinema] .watch-stage { min-height: clamp(390px,48vw,645px); }
.home[data-home-layout=cinema] .watch-stage::after { background: linear-gradient(0deg,#0d0916f5 1%,#0d0916a4 42%,#100c161a 80%); }
.home[data-home-layout=cinema] .watch-copy { width: 100%; text-align: center; padding-bottom: clamp(21px,4vw,55px); }
.home[data-home-layout=cinema] .watch-copy h2 { margin-inline: auto; max-width: 26ch; }
.home[data-home-layout=cinema] .watch-copy .actions { justify-content: center; }
.home[data-home-layout=cinema] .guide-list { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 6px; }
.home[data-home-layout=cinema] .guide-list .slot { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 8px; border: 1px solid var(--stroke); border-radius: 5px; }
.home[data-home-layout=cinema] .guide-list .slot-current { align-self: start; }
.home[data-home-layout=guide] .feature { grid-template-columns: minmax(230px, .84fr) minmax(0,1.42fr); }
.home[data-home-layout=guide] .guide-card { grid-column: 1; grid-row: 1; }
.home[data-home-layout=guide] .watch-stage { grid-column: 2; grid-row: 1; }
.home[data-home-layout=guide] .guide-list .slot { padding-block: 13px; }
.home[data-home-layout=chat] { --home-accent: #ffab94; }
.home[data-home-layout=chat] .home-side-chat,
.home[data-home-layout=today] .home-side-edit { display: grid; }
.home[data-home-layout=chat] .guide-card,
.home[data-home-layout=today] .guide-card { display: none; }
.home[data-home-layout=today] { --home-accent: #d6c7ff; }
.home[data-home-layout=today] .feature { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
.home[data-home-layout=chat] .watch-stage::after { background: linear-gradient(0deg,#210f20ef,#210f2066 57%,#210f2030); }
.home[data-home-layout=today] .watch-stage::after { background: linear-gradient(0deg,#170f28f5,#170f2875 59%,#170f2830); }
.geo-cable { color: var(--quiet); font-size: 11px; margin-top: 8px; }
@media (max-width: 760px) {
  .home-picker { align-self: start; }
  .home-options { left: 0; right: auto; }
  .home[data-home-layout=guide] .feature,.home[data-home-layout=today] .feature { grid-template-columns: 1fr; }
  .home[data-home-layout=guide] .watch-stage { grid-column: 1; grid-row: 1; }
  .home[data-home-layout=guide] .guide-card { grid-column: 1; grid-row: 2; }
  .home[data-home-layout=cinema] .guide-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home[data-home-layout=cinema] .watch-stage { min-height: 342px; }
}
@media (max-width: 420px) {
  .watch-programme { display: none; }
  .home-title .eyebrow { display: block; font-size: 10px; }
}

/* Live playback replaces the cover while the local stream is running. */
.watch-stage.has-live-screen {
  min-height: 0;
  justify-content: flex-start;
  align-self: start;
  background: #0c0a0e;
}
.watch-stage.has-live-screen > .watch-copy,
.watch-stage.has-live-screen > .watch-photo { display: none; }
.watch-stage.has-live-screen::after { display: none; }
.watch-stage.has-live-screen .watch-top { padding: 8px 12px; border-bottom: 1px solid var(--stroke); }
.live-screen iframe { border: 0; }
.live-screen :is(video, iframe) { display: block; width: 100%; aspect-ratio: 16 / 9; background: black; }
.player-message { padding: 9px 12px; background: var(--panel); color: var(--quiet); font-size: 13px; }
.live-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; padding: 8px 12px; }
.live-tools .button { min-height: 36px; }
.home[data-home-layout=cinema] .watch-stage.has-live-screen { min-height: 0; }

.geo-layer-bar { display: flex; align-items: center; justify-content: space-between; gap: 9px; flex-wrap: wrap; border-bottom: 1px solid var(--stroke); padding: 10px 11px; }
.geo-layer-bar > span { color: var(--muted); font-size: 12px; }
.geo-layer-bar .chip span { margin-left: 6px; opacity: .8; }
.geo-explorer[data-layer=kartina] { --accent: #ffd28d; }
.geo-explorer[data-layer=kartina] .chip[aria-pressed=true] { background: var(--accent); border-color: var(--accent); }
.geo-explorer[data-layer=kartina] .geo-pin::before { background: #fed08b; box-shadow: 0 0 0 3px #fadc7e33; }
.geo-explorer[data-layer=kartina] .status-dot { background: #fed08b; }
.geo-explorer[data-layer=kz] .geo-pin::before { background: #dcff70; inset: 8px; }
.geo-explorer[data-layer=kz] .geo-pin[aria-pressed=true]::before { inset: 5px; }
.geo-display { height: clamp(390px, 47vw, 605px); min-height: 0; }
.geo-display canvas { min-height: 0; }
.geo-side,.geo-location-list { max-height: clamp(390px,47vw,605px); overflow-y: auto; }
.geo-location-list .button { flex-direction: column; align-items: start; gap: 2px; }
.geo-location-list .button small { color: var(--quiet); font-size: 10px; font-weight: 400; }
.geo-city-picker { background: #21182e; border-top: 1px solid var(--stroke); }
.geo-city-picker summary { display: flex; align-items: center; gap: 8px; padding: 11px; cursor: pointer; }
.geo-city-picker summary::-webkit-details-marker { display: none; }
.geo-city-picker summary strong { color: var(--ink); font-size: 14px; }
.geo-city-picker summary span { color: var(--quiet); font-size: 12px; margin-left: auto; }
.geo-city-picker summary::after { content: ""; width: 7px; height: 7px; border: solid var(--accent); border-width: 0 1px 1px 0; transform: rotate(45deg); margin: -4px 3px 0; }
.geo-city-picker[open] summary::after { transform: rotate(225deg); margin-top: 2px; }
.geo-city-picker .geo-city-options { grid-template-columns: repeat(auto-fill,minmax(min(100%,135px),1fr)); max-height: 215px; padding: 1px 11px 11px; }
.geo-city-empty { color: var(--quiet); font-size: 12px; padding: 0 11px 11px; }
.geo-point-note { font-size: 12px; color: var(--quiet); margin: 0 0 10px; }
.geo-source { font-size: 11px; margin-top: 10px; }
@media (max-width: 690px) {
  .geo-display { height: clamp(300px,76vw,470px); }
  .geo-side,.geo-location-list { max-height: 440px; }
}
