.sc-scene {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: clamp(375px, 30vw, 495px);
  margin: 0 0 20px;
  padding: 0;
  border-radius: 20px;
  overflow: clip;
  background: #152330;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-style: normal;
  --sc-orange: #ff873e;
  --sc-menu-bg: #151c27;
  --sc-menu-ink: #edf2f9;
  --sc-menu-muted: #adbacb;
  --sc-menu-line: #344052;
  --sc-menu-input: #0e141e;
  --sc-menu-link: #ffb57e;
}
html[data-cscom-theme="light"] .sc-scene {
  --sc-menu-bg: #fff;
  --sc-menu-ink: #1c2b40;
  --sc-menu-muted: #53647a;
  --sc-menu-line: #d7e0eb;
  --sc-menu-input: #f5f7fa;
  --sc-menu-link: #9f4008;
}
.sc-scene *, .sc-scene *::before, .sc-scene *::after { box-sizing: border-box; }
.sc-scene [hidden] { display: none !important; }
.sc-scene :is(button,input,a,p) { font-family: inherit; font-style: normal; }
.sc-scene button { cursor: pointer; }
.sc-scene svg { display: block; flex: none; width: 17px; height: 17px; }
.sc-scene a { text-decoration: none; }
.sc-scene :is(a,button,input):focus-visible { outline: 2px solid #ffb47f; outline-offset: 3px; }
.sc-scene .scene-art, .sc-scene [data-scene-art], .sc-scene .scene-art::after { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.sc-scene .scene-art { z-index: -1; overflow: hidden; pointer-events: none; container-type: size; }
.sc-scene .scene-art::after {
  content: '';
  background: linear-gradient(0deg, #080f1cca, #0d16252b 48%, transparent 72%), linear-gradient(90deg, #09132391, #10203540 43%, transparent 69%);
  box-shadow: inset 0 0 0 1px #c6d5e12b;
}
.sc-layered-art {
  --art-fit-x: 50%;
  --art-fit-y: 22%;
}
.sc-backdrop-frame {
  position: absolute;
  left: var(--art-fit-x);
  top: var(--art-fit-y);
  translate: calc(0% - var(--art-fit-x)) calc(0% - var(--art-fit-y));
  width: max(100%, calc(100cqh * var(--art-ratio)));
  aspect-ratio: var(--art-ratio);
}
.sc-backdrop { display: block; width: 100%; height: 100%; }
.sc-lantern {
  position: absolute; left: var(--lantern-x); top: var(--lantern-y);
  width: 6%; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(ellipse, #fff4bbcf 0%, #ffe2a394 7%, #ffb45f5c 23%, #ff813122 47%, transparent 70%);
  mix-blend-mode: screen;
  animation: sc-lantern-glow 3.7s ease-in-out infinite alternate;
}
.sc-layered-art[data-scene-art="cs2"] .sc-lantern { width: 5%; aspect-ratio: 3 / 1; }
.sc-layered-art[data-scene-art="css"] .sc-lantern { width: 3%; aspect-ratio: 3 / 4; }
.sc-layered-art[data-scene-art="standoff2"] .sc-lantern {
  background: radial-gradient(ellipse, #daffffd6, #97edffa8 9%, #58c8f559 24%, #278dcd24 45%, transparent 70%);
}
.sc-character {
  position: absolute; display: block;
  bottom: -1px; right: 2.4%; width: auto; height: 96%; max-width: 52%;
  object-fit: contain; object-position: right bottom;
  animation: sc-character-arrive 850ms cubic-bezier(.2,.72,.23,1) both;
}
.sc-holiday-art .sc-character { height: 83%; right: 2%; }
@keyframes sc-character-arrive {
  from { transform: translateX(30%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes sc-lantern-glow {
  0%, 60% { opacity: .38; }
  23%, 76%, 100% { opacity: .88; }
  48%, 85% { opacity: .58; }
}
.sc-scene .sc-controls {
  display: grid; grid-template-columns: auto auto 1fr; align-items: start; gap: 8px;
  margin: clamp(14px, 2.15cqw, 30px) clamp(16px, 2.6cqw, 42px) 0;
  visibility: hidden;
}
.sc-scene[data-scene-ready] .sc-controls { visibility: visible; }
.sc-scene .sc-tools, .sc-scene .sc-rotation, .sc-scene .sc-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 41px;
  border: 1px solid #dceaff63;
  padding: 7px 12px;
  gap: 8px;
  border-radius: 9px;
  background: #101925de;
  color: #fff;
  font-size: 13px; font-weight: 600; line-height: 1.45;
}
.sc-scene .sc-tools { justify-self: end; }
.sc-scene .sc-tools:hover, .sc-scene .sc-rotation:hover { background: #19283bf5; border-color: #fff; }
.sc-scene .sc-switcher { display: flex; padding: 3px; gap: 2px; }
.sc-switcher [role="tab"] {
  background: transparent; color: #f1f4fa; border: 0; border-radius: 6px;
  padding: 0 clamp(8px, .9cqw, 15px); margin: 0; min-height: 33px; white-space: nowrap;
  font-size: 13px; font-weight: 700; line-height: 1.2;
}
.sc-switcher [role="tab"]:hover { color: #fff; background: #ffffff22; }
.sc-switcher [role="tab"][aria-selected="true"] { color: #24170d; background: var(--sc-orange); }
.sc-scene .sc-switcher [role="tab"]:focus-visible { outline-offset: -2px; outline-color: currentColor; }
.sc-scene .sc-rotation { width: 41px; padding: 0; }
.sc-scene .sc-rotation svg { width: 16px; height: 16px; }
.sc-rotation .sc-play-icon, .sc-rotation[data-paused] .sc-pause-icon { display: none; }
.sc-rotation[data-paused] .sc-play-icon { display: block; }
.sc-scene .sc-content { margin: 0 clamp(22px, 4.1cqw, 66px) clamp(24px, 3.9cqw, 58px); }
.sc-scene .sc-content article { max-width: min(64%, 720px); }
.sc-scene .sc-content h2 {
  margin: 0; padding: 0;
  color: #fff !important;
  font-family: 'Exo 2', sans-serif;
  font-style: normal; font-weight: 700;
  font-size: clamp(37px, 4.5cqw, 68px);
  line-height: 1.07; letter-spacing: -.026em;
  text-shadow: 0 2px 14px #06132155;
  text-wrap: balance;
}
.sc-scene .sc-content p {
  max-width: 49ch; margin: 12px 0 0; padding: 0;
  color: #eef3f9 !important;
  font-size: clamp(13px, 1.08cqw, 16px); font-weight: 500; line-height: 1.65;
  text-shadow: 0 1px 5px #091322b0;
}
.sc-scene .sc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: clamp(16px,1.6cqw,24px); }
.sc-scene .sc-actions :is(a,button) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 45px; padding: 10px 16px; margin: 0;
  border: 1px solid transparent; border-radius: 9px;
  font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: none;
}
.sc-scene .sc-actions .sc-download { color: #21150a !important; background: var(--sc-orange); }
.sc-scene .sc-actions .sc-download:hover { background: #ff9d60; }
.sc-scene .sc-actions .sc-catalog { background: #101c2dc9; color: #fff !important; border-color: #e5efff70; }
.sc-scene .sc-actions .sc-catalog:hover { background: #23364bea; border-color: #fff; }
.sc-scene .sc-actions .sc-trailer { padding-inline: 8px; gap: 7px; color: #fff; background: transparent; text-shadow: 0 1px 4px #06101a; }
.sc-scene .sc-trailer span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #ffffff9e; border-radius: 50%; }
.sc-scene .sc-trailer svg { width: 11px; height: 11px; fill: currentColor; }
.sc-scene .sc-trailer:hover { text-decoration: underline; }
.sc-scene .sc-fallback { margin: 0 18px 18px; }
.sc-scene .sc-fallback a { color: #fff; text-decoration: underline; }
.sc-scene dialog[data-scene-dialog] {
  inset: 0; width: min(520px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 32px); overflow-y: auto;
  margin: auto; padding: clamp(18px, 4vw, 28px);
  background: var(--sc-menu-bg); color: var(--sc-menu-ink); border: 1px solid var(--sc-menu-line); border-radius: 16px;
  box-shadow: 0 24px 80px #03091066;
}
.sc-scene dialog:not([open]) { display: none; }
.sc-scene dialog::backdrop { background: #071022b8; backdrop-filter: blur(4px); }
.sc-scene dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 0 0 10px; border-bottom: 1px solid var(--sc-menu-line); }
.sc-scene dialog h2, .sc-scene dialog h3 { margin: 0; padding: 0; color: var(--sc-menu-ink); font: 700 25px/1.2 'Exo 2',sans-serif; letter-spacing: -.25px; }
.sc-scene dialog h3 { font-size: 19px; margin-bottom: 13px; }
.sc-scene dialog h4, .sc-scene .sc-subhead label { margin: 0; color: var(--sc-menu-ink); font: 700 13px/1.5 Manrope,sans-serif; }
.sc-scene dialog h4 { margin: 19px 0 6px; }
.sc-scene dialog button, .sc-scene dialog nav a { display: inline-flex; justify-content: center; align-items: center; min-height: 40px; padding: 8px 12px; border: 1px solid var(--sc-menu-line); border-radius: 8px; background: var(--sc-menu-input); color: var(--sc-menu-ink); font-size: 13px; font-weight: 700; }
.sc-scene dialog [data-scene-close] { width: 38px; min-height: 38px; padding: 0; }
.sc-scene dialog button:hover, .sc-scene dialog nav a:hover { border-color: var(--sc-orange); }
.sc-scene dialog form, .sc-scene .sc-subhead, .sc-scene dialog nav { display: flex; gap: 7px; }
.sc-scene .sc-subhead { justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; }
.sc-scene .sc-subhead a { display: inline-flex; align-items: center; gap: 3px; color: var(--sc-menu-link); font-size: 12px; font-weight: 700; }
.sc-scene .sc-subhead svg { width: 12px; height: 12px; }
.sc-scene dialog form { margin: 0; }
.sc-scene dialog input[type="search"] {
  min-width: 0; flex: 1; min-height: 41px; margin: 0; padding: 8px 10px; border: 1px solid var(--sc-menu-line) !important; border-radius: 8px;
  background: var(--sc-menu-input) !important; color: var(--sc-menu-ink) !important; -webkit-text-fill-color: var(--sc-menu-ink) !important; font-size: 13px;
}
.sc-scene dialog input[type="search"]::placeholder { color: var(--sc-menu-muted) !important; -webkit-text-fill-color: var(--sc-menu-muted) !important; opacity: 1; }
.sc-scene dialog dl { display: flex; flex-wrap: wrap; gap: 8px 25px; margin: 0; }
.sc-scene dialog :is(dt,dd) { margin: 0; font-size: 13px; line-height: 1.6; }
.sc-scene dialog dt { color: var(--sc-menu-muted); font-weight: 500; }
.sc-scene dialog dd { color: var(--sc-menu-ink); font-weight: 700; }
.sc-scene dialog nav { flex-wrap: wrap; }
.sc-scene dialog nav a { min-height: 37px; font-size: 12px; }
@container (max-width: 780px) {
  .sc-scene .sc-content article { max-width: 75%; }
  .sc-scene .sc-content p { max-width: 42ch; }
  .sc-character { right: -2%; max-width: 57%; height: 88%; }
}
@container (max-width: 620px) {
  .sc-scene .sc-controls { grid-template-columns: auto 1fr; row-gap: 6px; }
  .sc-scene .sc-switcher { grid-column: 1 / -1; justify-self: stretch; }
  .sc-scene .sc-tools { justify-self: start; }
  .sc-switcher [role="tab"] { flex: 1 1 auto; padding-inline: 4px; font-size: 12px; }
  .sc-layered-art { --art-fit-x: 80%; }
}
@container (max-width: 520px) {
  .sc-scene .sc-controls { margin: 12px 12px 0; }
  .sc-tools-suffix { display: none; }
  .sc-scene .sc-content { position: relative; margin: 0 17px 22px; }
  .sc-character {
    right: -8%; bottom: 19%; height: 69%; max-width: 90%;
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  }
  .sc-holiday-art .sc-character { right: 1%; bottom: 25%; height: 55%; max-width: 80%; }
  .sc-scene .sc-content article { max-width: 100%; }
  .sc-scene .sc-content h2 { font-size: clamp(29px,8.4cqw,39px); line-height: 1.1; }
  .sc-scene .sc-content p { max-width: 36ch; margin-top: 8px; line-height: 1.55; font-size: 13px; }
  .sc-scene .scene-art::after { background: linear-gradient(0deg,#050e1bf5, #091528bb 29%, #08132230 66%, #0e1c3020); }
  .sc-scene .sc-actions { gap: 5px; margin-top: 14px; }
  .sc-scene .sc-actions :is(a,button) { min-height: 41px; padding: 7px 9px; gap: 5px; font-size: 12px; }
  .sc-scene .sc-actions .sc-trailer { padding-inline: 4px; }
  .sc-scene .sc-actions a svg { width: 15px; height: 15px; }
}
@container (max-width: 350px) {
  .sc-scene .sc-tools { width: 41px; padding: 0; }
  .sc-tools-label { display: none; }
}
@media(max-width: 575px) {
  .sc-scene { min-height: 425px; border-radius: 15px; }
}
@media(prefers-reduced-motion: reduce) {
  .sc-character, .sc-lantern { animation: none; }
  .sc-lantern { opacity: .65; }
}

.sc-scene dialog .cs16-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.sc-scene dialog .cs16-sections a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  min-height: 65px;
  padding: 10px;
  border: 1px solid var(--sc-menu-line);
  border-radius: 10px;
  background: var(--sc-menu-input);
  color: var(--sc-menu-ink);
  text-align: left;
  text-decoration: none;
}
.sc-scene dialog .cs16-sections a:is(:hover,:focus-visible) {
  border-color: var(--sc-orange);
  color: var(--sc-menu-ink);
}
.sc-scene dialog .cs16-section-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 36px;
  border-radius: 8px;
  color: var(--sc-menu-link);
  background: color-mix(in srgb, var(--sc-orange) 13%, transparent);
}
.sc-scene dialog .cs16-section-icon svg { width: 19px; height: 19px; }
.sc-scene dialog .cs16-sections strong {
  display: block;
  font: 700 15px/1.35 'Exo 2', sans-serif;
  color: var(--sc-menu-ink);
}
.sc-scene dialog .cs16-sections small {
  display: block;
  margin-top: 2px;
  font: 500 11px/1.45 Manrope, sans-serif;
  color: var(--sc-menu-muted);
}
.sc-scene dialog .cs16-menu-more {
  width: 100%; min-width: 0; margin: 14px 0 0; padding: 0;
  border: 0; border-top: 1px solid var(--sc-menu-line);
  border-radius: 0; background: transparent; box-shadow: none;
}
.sc-scene dialog .cs16-menu-more > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-height: 44px; margin: 0; padding: 8px 2px 0;
  border: 0; background: transparent; color: var(--sc-menu-muted);
  list-style: none; cursor: pointer; font: 600 12px/1.45 Manrope, sans-serif;
}
.sc-scene dialog .cs16-menu-more > summary:is(:hover,:focus-visible) { color: var(--sc-menu-link); }
.sc-scene dialog .cs16-menu-more > summary:focus-visible { outline: 2px solid var(--sc-orange); outline-offset: 1px; }
.sc-scene dialog .cs16-menu-more > summary::marker { content: ''; }
.sc-scene dialog .cs16-menu-more > summary::-webkit-details-marker,
.sc-scene dialog .cs16-menu-more > summary::before, .sc-scene dialog .cs16-menu-more > summary::after { display: none !important; content: none !important; }
.sc-scene dialog .cs16-menu-more > summary svg { width: 15px; height: 15px; }
.sc-scene dialog .cs16-menu-more[open] > summary { margin-bottom: 10px; }
.sc-scene dialog .cs16-menu-more[open] > summary svg { transform: rotate(180deg); }
.sc-scene [data-scene-extra="cs16"]:not([hidden]) ~ .sc-other-shortcuts { display: none; }
@media (max-width: 540px) {
  .sc-scene dialog .cs16-sections { grid-template-columns: 1fr; gap: 5px; }
  .sc-scene dialog .cs16-sections a { min-height: 50px; padding: 6px 10px; }
}
