.site-footer.prism-footer {
  position: relative;
  margin-top: 70px;
  padding: 0;
  border: 1px solid #c4a9e53b;
  border-image: none;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(ellipse at 5% 35%, #7544ff16, transparent 45%), radial-gradient(ellipse at 96% 75%, #37dff214, transparent 45%), linear-gradient(155deg, #271536, #1b102a 55%, #111c2e);
  box-shadow: 0 20px 60px #0e041d55, inset 0 1px #ffffff10;
  content-visibility: auto;
  contain-intrinsic-size: auto 1450px;
}
.prism-footer-scene { position: relative; isolation: isolate; min-height: 400px; aspect-ratio: 3 / 1; background: #27143d; }
.prism-footer-panorama { position: absolute; z-index: -1; inset: 0; display: block; }
.prism-footer-panorama img { display: block; width: 100%; height: 100%; object-fit: contain; }
.prism-footer-invitation { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; width: 47%; padding: 26px 28px; }
.prism-footer-logo { display: block; width: min(330px, 100%); margin-bottom: 20px; }
.prism-footer-logo img { width: 100%; height: auto; filter: drop-shadow(0 4px 7px #16052666); }
.prism-footer-invitation .eyebrow { font-size: .75rem; line-height: 1.5; color: #e0c6f3; margin-bottom: 9px; }
.prism-footer-invitation h2 { margin: 0 0 14px; font-size: clamp(1.7rem, 2.6vw, 2.7rem); line-height: 1.05; color: #ffedcd; text-shadow: 0 3px 12px #14071f77; }
.prism-footer-invitation p { max-width: 365px; margin-bottom: 17px; color: #e8d7f2; font-size: .95rem; line-height: 1.6; }
.prism-footer-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.prism-footer-actions .button { min-height: 44px; padding: 10px 16px; font-size: .875rem; }
.prism-footer-worlds { padding: 32px 28px 30px; border-top: 1px solid #b68de02b; border-bottom: 1px solid #b68de02b; background: linear-gradient(110deg, #54327612, #6a374b15 25%, #68543512 50%, #2b536312 75%, #384f8a1a); }
.prism-footer-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-bottom: 22px; }
.prism-footer-section-heading h2 { font-size: clamp(1.35rem, 1.8vw, 1.8rem); margin: 6px 0 0; }
.prism-footer-section-heading h2, .prism-footer-cast h2, .prism-footer-care h3 { color: #fff0dc; }
.prism-footer-section-heading .eyebrow { font-size: .75rem; margin: 0; }
.prism-footer-section-heading .text-link { font-size: .875rem; white-space: nowrap; }
.prism-footer-world-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.prism-footer-world-grid > a { position: relative; min-width: 0; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid #e6b3cf40; box-shadow: 0 7px 17px #0a041d40; }
.prism-footer-world-grid img { display: block; width: 100%; height: 100%; object-fit: contain; transition: filter 180ms ease; }
.prism-footer-world-grid > a::after { content: ""; position: absolute; inset: 43% 0 0; background: linear-gradient(transparent, #10051df0); }
.prism-footer-world-grid span { position: absolute; z-index: 1; inset: auto 6px 9px; color: #fff0d1; font-size: .875rem; line-height: 1.15; font-weight: 900; text-align: center; text-wrap: balance; text-shadow: 0 2px 3px #16071d; }
.prism-footer-world-grid > a:hover img { filter: brightness(1.13); }
.prism-footer-cast { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 26px; padding: 28px; background: radial-gradient(ellipse at 18% 60%, #a368c726, transparent 60%); }
.prism-footer-cast-intro { display: flex; align-items: center; gap: 12px; }
.prism-footer-cast-intro > img { flex: 0 0 125px; width: 125px; height: 180px; object-fit: contain; filter: drop-shadow(0 10px 12px #10031b88); }
.prism-footer-cast h2 { font-size: clamp(1.35rem, 1.7vw, 1.75rem); line-height: 1.12; margin: 8px 0 12px; }
.prism-footer-cast .eyebrow { font-size: .75rem; }
.prism-footer-cast p { font-size: .95rem; line-height: 1.6; color: #dbc6e5; margin: 0 0 13px; }
.prism-footer-cast .text-link { font-size: .875rem; }
.prism-footer-character-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; align-items: end; }
.prism-footer-character-grid > a { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.prism-footer-character-grid img { display: block; width: 100%; height: 120px; object-fit: contain; filter: drop-shadow(0 6px 7px #10051b66); transition: transform 180ms ease; }
.prism-footer-character-grid strong { color: #ffe1a8; font-size: .875rem; margin-top: 7px; }
.prism-footer-character-grid span { font-size: .75rem; color: #d5bddf; line-height: 1.4; }
.prism-footer-character-grid > a:hover img { transform: translateY(-4px); }
.prism-footer-navigation { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; padding: 22px 28px 32px; border-top: 1px solid #c08eda26; }
.prism-footer-navigation nav { min-width: 0; }
.prism-footer-navigation header { min-height: 100px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 15px; }
.prism-footer-navigation header img { width: 65px; height: 65px; object-fit: contain; filter: drop-shadow(0 4px 5px #12082155); }
.prism-footer-navigation h3 { font-size: 1.06rem; margin: 0; line-height: 1.25; color: #fff0db; letter-spacing: -.025em; }
.prism-footer-navigation a { display: block; width: fit-content; padding: 7px 0; font-size: .875rem; line-height: 1.5; color: #ddc9e9; }
.prism-footer-navigation a:hover { color: #ffdb9c; text-decoration: underline; text-underline-offset: 4px; }
.prism-footer-service-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; padding: 28px; border-top: 1px solid #c08eda26; background: linear-gradient(120deg, #51326220, #4e293e20 30%, #54432b1a 55%, #1d48551c 80%, #32457522); }
.prism-footer-chip-note, .prism-footer-help { display: flex; align-items: center; gap: 17px; min-width: 0; }
.prism-footer-chip-note > img { flex: 0 0 100px; width: 100px; height: 100px; object-fit: contain; filter: drop-shadow(0 7px 8px #15072355); }
.prism-footer-help > img { flex: 0 0 65px; width: 65px; height: 65px; object-fit: contain; }
.prism-footer-service-row .eyebrow { font-size: .75rem; line-height: 1.5; }
.prism-footer-service-row h3 { font-size: 1.15rem; margin: 7px 0 10px; }
.prism-footer-service-row p { color: #ddc9e9; font-size: .95rem; line-height: 1.6; margin-bottom: 12px; }
.prism-footer-service-row .text-link, .prism-footer-help-link { display: block; font-size: .875rem; line-height: 1.6; overflow-wrap: anywhere; }
.prism-footer-help-link { color: #dfcce8; margin-top: 6px; }
.prism-footer-care { display: flex; align-items: center; gap: 18px; margin: 0; padding: 23px 28px; background: #1b102c; border-top: 1px solid #c08eda26; border-bottom: 1px solid #c08eda26; }
.prism-footer-care > img { width: 62px; height: 62px; object-fit: contain; flex-shrink: 0; }
.prism-footer-care > div { flex: 1; }
.prism-footer-care h3 { margin-bottom: 7px; font-size: 1.15rem; }
.prism-footer-care p { color: #dbc4e7; margin: 0; font-size: .95rem; line-height: 1.6; }
.prism-footer-care .button { min-height: 44px; font-size: .875rem; }
.prism-footer-boundary { display: flex; align-items: center; gap: 17px; padding: 24px 28px; }
.prism-footer-boundary > .age-badge { flex: 0 0 44px; width: 44px; height: 44px; min-width: 44px; border-radius: 50%; font-size: 1rem; border: 1px solid #b898c9; color: #f1dbff; display: grid; place-items: center; margin: 0; }
.prism-footer-boundary > div { flex: 1; min-width: 0; }
.prism-footer-boundary strong { color: #ecd6f6; font-size: .875rem; }
.prism-footer-boundary p { color: #ceb9dc; font-size: .8125rem; line-height: 1.7; margin: 8px 0 0; }
.prism-footer-boundary > img { flex: 0 0 65px; width: 65px; height: 65px; object-fit: contain; }
.prism-footer-bottom { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 16px 28px; border-top: 1px solid #a272bf33; color: #d0badf; font-size: .8125rem; line-height: 1.6; background: #160d23; }
.prism-footer-bottom > span { margin-right: auto; }
.prism-footer-bottom a { padding: 6px 0; }
.prism-footer :is(a, button):focus-visible { outline: 3px solid #ffe0a7; outline-offset: 3px; }

@media (max-width: 1250px) {
  .prism-footer-scene { min-height: 0; aspect-ratio: auto; }
  .prism-footer-panorama { position: relative; z-index: 0; aspect-ratio: 3 / 1; }
  .prism-footer-invitation { width: 100%; padding: 24px 28px; background: linear-gradient(120deg, #3b2350, #3e243a 30%, #3b3027 55%, #1c3945 80%, #273957); }
  .prism-footer-logo { width: 300px; max-width: 100%; }
  .prism-footer-invitation h2 { font-size: 2.1rem; }
  .prism-footer-invitation h2 br { display: none; }
  .prism-footer-invitation p { max-width: 700px; font-size: 1rem; }
  .prism-footer-world-grid { gap: 10px; }
  .prism-footer-cast { grid-template-columns: 1fr; gap: 18px; }
  .prism-footer-cast-intro { max-width: 650px; }
  .prism-footer-cast h2 br { display: none; }
  .prism-footer-character-grid { gap: 12px; }
  .prism-footer-character-grid img { height: 140px; }
}
@media (max-width: 1000px) {
  .prism-footer-world-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
  .prism-footer-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .prism-footer-navigation header { min-height: 0; flex-direction: row; align-items: center; gap: 10px; margin-bottom: 12px; }
  .prism-footer-navigation header img { width: 48px; height: 48px; }
  .prism-footer-service-row { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 560px) {
  .site-footer.prism-footer { margin-top: 40px; border-radius: 20px; contain-intrinsic-size: auto 2300px; }
  .prism-footer-invitation { padding: 23px 19px; }
  .prism-footer-logo { width: 270px; margin-bottom: 18px; }
  .prism-footer-invitation h2 { font-size: 1.8rem; }
  .prism-footer-invitation .eyebrow { font-size: .75rem; }
  .prism-footer-actions { width: 100%; }
  .prism-footer-actions .button { flex: 1 1 130px; }
  .prism-footer-worlds { padding: 24px 16px; }
  .prism-footer-world-grid { gap: 10px; }
  .prism-footer-world-grid span { font-size: .75rem; bottom: 7px; left: 4px; right: 4px; }
  .prism-footer-section-heading h2 { font-size: 1.35rem; }
  .prism-footer-cast { padding: 24px 17px; gap: 18px; }
  .prism-footer-cast-intro { gap: 10px; align-items: flex-start; }
  .prism-footer-cast-intro > img { flex-basis: 85px; width: 85px; height: 135px; }
  .prism-footer-cast h2 { font-size: 1.35rem; margin-top: 8px; }
  .prism-footer-cast p { font-size: 1rem; }
  .prism-footer-character-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .prism-footer-character-grid img { height: 135px; }
  .prism-footer-navigation { padding: 22px 18px 26px; gap: 28px 18px; }
  .prism-footer-navigation header { flex-direction: column; align-items: flex-start; min-height: 90px; gap: 8px; }
  .prism-footer-navigation header img { width: 52px; height: 52px; }
  .prism-footer-navigation h3 { font-size: 1rem; }
  .prism-footer-navigation a { font-size: .875rem; padding: 8px 0; }
  .prism-footer-service-row { padding: 24px 17px; }
  .prism-footer-chip-note, .prism-footer-help { gap: 12px; align-items: flex-start; }
  .prism-footer-chip-note > img { flex-basis: 75px; width: 75px; height: 75px; }
  .prism-footer-help > img { flex-basis: 55px; width: 55px; height: 55px; }
  .prism-footer-service-row h3 { font-size: 1.1rem; }
  .prism-footer-service-row p { font-size: 1rem; }
  .prism-footer-care { padding: 23px 18px; flex-wrap: wrap; gap: 12px; }
  .prism-footer-care > img { width: 48px; height: 48px; }
  .prism-footer-care > div { flex-basis: calc(100% - 60px); }
  .prism-footer-care .button { margin-left: 60px; }
  .prism-footer-boundary { padding: 23px 18px; gap: 12px; align-items: flex-start; }
  .prism-footer-boundary > img { display: none; }
  .prism-footer-boundary strong { font-size: .875rem; }
  .prism-footer-boundary p { font-size: .8125rem; }
  .prism-footer-bottom { padding: 16px 18px; gap: 10px 18px; }
  .prism-footer-bottom > span { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .prism-footer-world-grid img, .prism-footer-character-grid img { transition: none; }
  .prism-footer-character-grid > a:hover img { transform: none; }
}
@media (forced-colors: active) {
  .site-footer.prism-footer, .prism-footer-world-grid > a { border: 1px solid CanvasText; }
  .prism-footer-world-grid span { background: Canvas; color: LinkText; text-shadow: none; }
}
