@font-face {
  font-family: Philosopher;
  src: url('/site-media/home-philosopher-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Philosopher Bold';
  src: url('/site-media/home-philosopher-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

html.portal-home {
  --pa-home-font: Philosopher, Georgia, serif;
  --pa-font: var(--pa-home-font);
  --pa-home-menu-font: Georgia, 'Times New Roman', serif;
}
html.portal-home[data-home-style="cinema"] {
  --pa-home-menu-font: system-ui, sans-serif;
}
html.portal-home .portal-header-bar :is(.portal-account, .portal-language-toggle, .portal-language-picker button) {
  font-family: var(--pa-home-menu-font);
}

html.portal-home body {
  font-synthesis-weight: none;
}
html.portal-home .portal-header-bar {
  font-synthesis-weight: auto;
}

/* Keep text sharp over the existing scene, including legacy inline theme styles. */
@layer home-text-legibility {
  html.portal-home body,
  html.portal-home body * {
    text-shadow: none !important;
  }
  html.portal-home :is(.pa-heading, .pa-unified-title, .legend-world-identity,
    .pa-v12-copy strong, .pa-v14-day-brand b, .language-text) {
    filter: none !important;
  }
}

html.portal-home :is(#worlds-heading, .world-intro > [data-legend-copy="worldKicker"],
  .pa-section-head > :is(.pa-heading, .pa-kicker)) {
  --pa-home-font: Georgia, 'Times New Roman', serif;
  --pa-font: var(--pa-home-font);
}

@layer home-section-typography {
  html.portal-home :is(#portal-hall, .pa-layout) :is(h3, h4) {
    font-family: 'Philosopher Bold', var(--pa-home-font) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
  }
  html.portal-home #portal-hall .cinema-world-description {
    font-size: 16px !important;
  }
}

html.portal-home {
  --legend-gold: #f2ca8e;
  --legend-soft: #edddc8;
  --legend-edge: #b986566e;
  --legend-surface: #281b1a;
}

html.portal-home .portal-footer .portal-announcement-banners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .65rem 1rem;
  width: min(100%, 112rem);
  margin: 1rem auto 0;
  padding-block-start: .9rem;
  border-top: 1px solid color-mix(in srgb, currentColor 28%, transparent);
}
html.portal-home .portal-footer .portal-announcement-banners a {
  display: block;
  max-width: 100%;
  padding: .22rem;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: .32rem;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
html.portal-home .portal-footer .portal-announcement-banners a:hover {
  border-color: currentColor;
  box-shadow: 0 0 .8rem #ddc48a38;
}
html.portal-home .portal-footer .portal-announcement-banners img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 42px;
  object-fit: contain;
  border-radius: .15rem;
}
html.portal-home[data-portal-scene='day'] {
  --legend-gold: #ffe2aa;
  --legend-surface: #302322;
}
html.portal-home[data-portal-scene='night'] {
  --legend-gold: #d9c6ff;
  --legend-soft: #f0e9ff;
  --legend-edge: #b798dc76;
  --legend-surface: #211b32;
}

html.portal-home body .pa-fixed-header {
  margin-bottom: calc(-1 * var(--portal-header-height)) !important;
}
html.portal-home body .stage {
  --legend-brand-top: clamp(6rem, 15%, 11rem);
  --legend-divider-top: min(15.55cqw, 21rem);
  --legend-divider-height: min(1.8cqw, 2.4rem);
  --legend-copy-base-top: max(34%, calc(var(--legend-brand-top) + var(--legend-divider-top) + var(--legend-divider-height)));
  --legend-copy-top: calc(var(--legend-copy-base-top) + 15px);
  --legend-extra-copy-gap: clamp(.23rem, .55cqw, .64rem);
  --legend-launch-space: clamp(1.5rem, 3.2cqw, 3.8rem);
  --legend-actions-top: calc(var(--legend-copy-top) + max(clamp(4.65rem, 12%, 7.7rem), min(5.8vw, 6.6rem)) + var(--legend-extra-copy-gap) + var(--legend-launch-space));

  width: 100% !important;
  max-width: none !important;
  height: max(47rem, min(43vw, 55rem), 100svh) !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  clip-path: none !important;
}
html.portal-home body .stage > .pa-v12-hero {
  top: 0 !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}
html.portal-home body .stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, #10091065 0%, #16101e25 41%, transparent 73%),
    linear-gradient(0deg, #130d1a57, transparent 24%);
  pointer-events: none;
}
html.portal-home body .stage > :is(.pa-world-tone, .pa-v5-world-divider, .pa-world-title, .pa-v14-day-shade) {
  display: none !important;
}
html.portal-home body .stage > :is(.hit.world, .language-clean, .language-text, .pa-v5-halo) {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
html.portal-home body .stage > .pa-v14-day-brand { top: var(--legend-brand-top) !important; }
html.portal-home body .stage > .pa-v12-copy {
  top: var(--legend-copy-top) !important;
  height: auto !important;
  gap: calc(min(.68cqw, .85rem) + var(--legend-extra-copy-gap)) !important;
}
html.portal-home body .stage > .pa-v12-copy > strong { font-size: min(2.65cqw, 3.35rem) !important; }
html.portal-home[lang='en'] body .stage > .pa-v12-copy > strong[role='heading'] {
  font-size: min(2.3cqw, 3.125rem) !important;
}
html.portal-home body .stage > .pa-v12-copy > span {
  font-size: min(1.42cqw, 1.75rem) !important;
}
html.portal-home body .stage > :is(.hit.start, .hit.choose, .pa-v14-day-domain) { display: none !important; }
html.portal-home body .stage > .pa-v14-day-brand .pa-v22-approved-logo {
  content: var(--legend-hero-logo);
  width: 93%;
  margin-inline: auto;
  aspect-ratio: 480 / 184;
}
html.portal-home body .stage > .pa-v14-day-brand small { top: min(14.1cqw,19rem) !important; }
html.portal-home body .stage > .pa-v14-day-brand .pa-v14-rule { top: var(--legend-divider-top) !important; }
html.portal-home body .stage > .pa-v14-day-brand .pa-v14-rule svg {
  width: calc(var(--legend-divider-height) * .75);
  height: var(--legend-divider-height);
}

.legend-hero-actions {
  --legend-cta-fill: #3b2059;
  position: absolute;
  z-index: 8;
  top: var(--legend-actions-top);
  left: 4.7%;
  display: grid;
  justify-items: center;
  gap: clamp(.45rem, 1vw, .85rem);
  width: min(39%, 52rem);
  font-family: var(--pa-home-font, Georgia, 'Times New Roman', serif);
  text-align: center;
}
html[data-portal-scene='evening'] .legend-hero-actions { --legend-cta-fill: #73170f; }
html[data-portal-scene='night'] .legend-hero-actions { --legend-cta-fill: #2f125e; }
.legend-start {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: clamp(14rem, 66%, 27rem);
  max-width: 100%;
  aspect-ratio: 764 / 160;
  min-height: 44px;
  box-sizing: border-box;
  padding: .45rem .5rem;
  color: #fff1d6;
  background: var(--legend-hero-button) center / 100% 100% no-repeat;
  font: 700 clamp(.94rem, 1.55vw, 1.7rem)/1.08 var(--pa-home-font, Georgia, serif);
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  text-shadow: 0 2px 3px #000d;
}
.legend-start::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 29% 15% 23%;
  background: linear-gradient(transparent, var(--legend-cta-fill) 21%, var(--legend-cta-fill) 77%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.legend-start:hover { color: #fff8e5; filter: brightness(1.12); }
.legend-start:focus-visible { outline: 2px solid var(--legend-gold); outline-offset: 3px; }
.legend-stats {
  --legend-panel-tint: #221719e8;
  position: relative;
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--legend-edge);
  border-radius: .45rem;
  padding: 0 .24rem;
  background-image: linear-gradient(var(--legend-panel-tint), var(--legend-panel-tint)), var(--legend-hero-panel);
  background-position: center, center 49%;
  background-size: 100% 100%, 100% 320%;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 2px var(--legend-surface), 0 4px 12px #0005;
  color: var(--legend-gold);
  text-shadow: 0 1px 3px #000;
}
.legend-stats dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  min-height: 52px;
  margin: 0;
}
.legend-stats dl > div {
  min-width: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .2rem;
  padding: .3rem clamp(2px, 1cqw, 8px);
}
.legend-stats dl > div + div { border-inline-start: 1px solid var(--legend-edge); }
.legend-stats dl > .legend-stats-world {
  grid-column: 1 / -1;
  padding: .65rem .25rem;
  border-bottom: 1px solid var(--legend-edge);
}
.legend-stats dl > .legend-stats-world + div { border-inline-start: none; }
.legend-stats dt {
  color: #f0e9ff;
  font: 600 clamp(.54rem, 2.5cqw, .76rem)/1.13 var(--pa-home-font, system-ui, sans-serif);
  text-shadow: 0 1px 3px #000;
}
.legend-stats dd {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .32rem;
  margin: 0;
  font: 700 clamp(.8rem, 3.9cqw, 1.24rem)/1 var(--pa-home-font, Georgia, serif);
  font-variant-numeric: tabular-nums;
}
.legend-stats-world dd {
  flex-direction: column;
  gap: .24rem;
  text-align: center;
}
.legend-world-heading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  margin-block-end: .12rem;
}
.legend-world-identity { font: 700 clamp(1rem, 4.6cqw, 1.85rem)/1.14 var(--pa-home-font, Georgia, serif); }
.legend-world-date { font: 700 clamp(.67rem, 2.6cqw, .86rem)/1.22 var(--pa-home-font, Georgia, serif); }
.legend-visually-hidden, .legend-status-text, .legend-stat-full {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.legend-stat-short { white-space: nowrap; }
@container (width <= 19.5rem) {
  .legend-stats dl > div { padding-inline: 2px; }
}
@container (width >= 35rem) {
  .legend-stat-full { position: static; width: auto; height: auto; clip-path: none; }
  .legend-stat-short { display: none; }
}
.legend-status {
  display: inline-flex;
  align-items: center;
  color: var(--legend-soft);
}
.legend-status::before {
  content: '';
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: currentColor;
  opacity: .78;
}
.legend-status[data-live='online'] { color: #b8e3a4; }
.legend-status[data-live='offline'] { color: #efb1a4; }

html[data-portal-scene='day'] .legend-start {
  color: #382507;
  text-shadow: 0 1px #fff9;
}
html[data-portal-scene='day'] .legend-start::before { content: none; }
html[data-portal-scene='day'] .legend-start:hover { filter: brightness(1.06); }
html[data-portal-scene='day'] .legend-start:focus-visible { outline-color: #a87522; }
html[data-portal-scene='day'] .legend-stats {
  --legend-panel-tint: #fff5e2ce;
  border-color: #b28443;
  box-shadow: inset 0 0 0 2px #fff5e2a8, 0 4px 12px #0005;
  color: #4b310d;
  text-shadow: none;
}
html[data-portal-scene='day'] .legend-stats .legend-status { color: #533b20; }
html[data-portal-scene='day']:not([data-home-style='cinema']) .legend-stats dt:not(.legend-visually-hidden) {
  background: #382f4c;
  box-shadow: 0 0 0 2px #382f4c;
  border-radius: .12rem;
}
html[data-portal-scene='day'] .legend-status[data-live='online'] { color: #235025; }
html[data-portal-scene='day'] .legend-status[data-live='offline'] { color: #862c27; }
html[data-portal-scene='night'] .legend-stats { --legend-panel-tint: #18142ae8; }
.legend-domain {
  display: flex;
  align-items: center;
  gap: .7em;
  color: #ffe6bd;
  font-size: clamp(.68rem, 1vw, 1.2rem);
  font-weight: 600;
  letter-spacing: .32em;
  text-shadow: 0 1px 3px #000;
}
.legend-domain::before, .legend-domain::after {
  content: '';
  width: clamp(1.5rem, 4vw, 4.2rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--legend-gold));
}
.legend-domain::after { transform: rotate(180deg); }

.legend-benefits {
  --benefits-divider: color-mix(in srgb, var(--legend-gold) 82%, var(--legend-surface));
  position: relative;
  z-index: 4;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  min-block-size: clamp(4.4rem, 4.6vw, 5.65rem);
  margin: 0;
  padding: .9rem clamp(.6rem, 5vw, 6rem);
  border-block: 1px solid var(--benefits-divider);
  box-shadow: inset 0 2px var(--legend-edge), inset 0 -2px var(--legend-edge);
  background: repeating-linear-gradient(135deg, transparent 0 8px, #fff1 8px 9px),
    linear-gradient(var(--legend-surface), #0f0e13);
  list-style: none;
  color: var(--legend-gold);
  text-shadow: 0 1px 2px #000;
}
.legend-benefits > li {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.15rem, 1vw, .8rem);
  padding-inline: .32rem;
  text-align: center;
  font: 400 16px/1.2 var(--pa-home-font, Georgia, serif);
}
.legend-benefits > li + li { border-inline-start: 1px solid var(--legend-edge); }
.legend-benefits img {
  width: clamp(36px, 4.4vw, 64px);
  height: clamp(30px, 3.2vw, 46px);
  flex: 0 0 auto;
  object-fit: contain;
}
.legend-benefit-copy { min-width: 0; overflow-wrap: anywhere; }
.legend-benefit-copy > span { color: #ffd964; }
.legend-benefit-title-short { display: none; }
.legend-benefit-copy small {
  display: block;
  margin-top: .24rem;
  color: rgba(255, 255, 255, 0.4);
  font: 400 14px/1.24 var(--pa-home-font, system-ui, sans-serif);
}
@media (width < 1200px) {
  .legend-benefits > li { flex-direction: column; gap: .2rem; }
}
@media (width <= 840px) {
  .legend-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: .68rem clamp(.45rem, 2vw, 1rem);
  }
  .legend-benefits > li {
    display: grid;
    grid-template-rows: 26px 1fr;
    align-items: start;
    justify-content: stretch;
    justify-items: center;
    gap: .25rem;
    padding-inline: .2rem;
    font-size: clamp(.75rem, 3.6vw, 1rem);
  }
  .legend-benefits > li:nth-child(n+4),
  .legend-benefit-title-full { display: none; }
  .legend-benefit-copy > span:not(.legend-benefit-title-full) {
    display: block;
    white-space: nowrap;
    overflow-wrap: normal;
  }
  .legend-benefits img { width: 42px; height: 26px; }
  .legend-benefit-copy { width: 100%; }
  .legend-benefit-copy small { font-size: clamp(.7rem, 3.3vw, .875rem); }
}

html.portal-home body #portal-hall.legend-worlds {
  --world-art: var(--world-art-evening);
  --world-crown: var(--world-crown-evening);
  --world-sky: var(--world-sky-evening);
  --world-crown-overlap: clamp(16px, 2.3cqw, 44px);
  --world-gold: #ffdfad;
  --world-text: #fff1e1;
  --world-shadow: #201218;
  --world-edge: #c77b44;
  --world-halo: #ff9f5a75;
  --world-heading-center: 68.6%;
  --world-cards-top: .204;
  --world-kicker-size: .87cqw;
  --world-title-size: clamp(22px, 2.459cqw, 52px);
  --world-title-gap: .45cqw;
  --world-intro-height: calc(100cqw * 875 / 1672 * var(--world-cards-top));
  --world-top-offset: calc(26px - (var(--world-intro-height) - var(--world-kicker-size) * 1.25 - var(--world-title-size) * 1.13 - var(--world-title-gap)) / 2);
  --world-main-x: 10.07%;
  --world-main-y: 84.24%;
  --world-main-width: 22.69%;
  --world-main-height: 7.3%;
  --world-name-x: 5%;
  --world-name-y: 71.6%;
  --world-name-width: 32.5%;
  --world-name-height: 10.2%;
  --world-left-copy: 46.42%;
  --world-right-copy: 70.69%;
  --world-top-copy: 35.46%;
  --world-bottom-copy: 72.07%;
  --world-copy-width: 20.23%;
  --world-left-action: 50.67%;
  --world-right-action: 74.82%;
  --world-top-action: 46.70%;
  --world-bottom-action: 82.85%;
  --world-action-width: 12.2%;
  --world-left-image: 59.2%;
  --world-right-image: 90.7%;
  --world-top-image: 24.4%;
  --world-bottom-image: 67.3%;
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto !important;
  padding: 0;
  overflow: hidden;
  aspect-ratio: auto;
  container-type: inline-size;
  background: var(--world-shadow);
  color: var(--world-text);
  font-family: var(--pa-home-font, Georgia, 'Times New Roman', serif);
}
html.portal-home[data-portal-scene='day'] body #portal-hall.legend-worlds {
  --world-art: var(--world-art-day);
  --world-crown: var(--world-crown-day);
  --world-sky: var(--world-sky-day);
  --world-shadow: #211b20;
  --world-edge: #d2a561;
  --world-halo: #ffd38680;
  --world-cards-top: .179;
  --world-main-x: 10.01%;
  --world-main-y: 85.17%;
  --world-main-width: 21.54%;
  --world-main-height: 7.65%;
  --world-name-x: 5%;
  --world-name-y: 73.7%;
  --world-name-width: 31.5%;
  --world-name-height: 10.2%;
  --world-left-copy: 46.12%;
  --world-right-copy: 71.12%;
  --world-top-copy: 36.38%;
  --world-bottom-copy: 72.65%;
  --world-copy-width: 20.8%;
  --world-right-action: 75.24%;
  --world-top-action: 46.47%;
  --world-bottom-action: 83.55%;
  --world-left-image: 58.4%;
  --world-right-image: 91.5%;
  --world-top-image: 21.8%;
}
html.portal-home[data-portal-scene='night'] body #portal-hall.legend-worlds {
  --world-art: var(--world-art-night);
  --world-crown: var(--world-crown-night);
  --world-sky: var(--world-sky-night);
  --world-shadow: #161326;
  --world-edge: #a98ade;
  --world-halo: #b990ff73;
  --world-heading-center: 67.5%;
  --world-cards-top: .195;
  --world-main-x: 7.58%;
  --world-main-y: 84.01%;
  --world-main-width: 22.63%;
  --world-main-height: 7.53%;
  --world-name-x: 3.5%;
  --world-name-y: 72.7%;
  --world-name-width: 30.5%;
  --world-name-height: 10.1%;
  --world-left-copy: 44.30%;
  --world-right-copy: 70.39%;
  --world-top-copy: 36.62%;
  --world-bottom-copy: 72.65%;
  --world-copy-width: 21%;
  --world-left-action: 48.79%;
  --world-right-action: 74.39%;
  --world-top-action: 47.28%;
  --world-bottom-action: 84.01%;
  --world-action-width: 12.57%;
  --world-left-image: 56%;
  --world-right-image: 90%;
  --world-top-image: 23.2%;
}
#portal-hall.legend-worlds::before,
#portal-hall.legend-worlds::after { content: none; }
.world-crown {
  --world-crown-size: clamp(64px, 10.7cqw, 206px);
  position: relative;
  z-index: 1;
  height: max(0px, var(--world-top-offset));
  pointer-events: none;
}
.world-crown::before {
  content: '';
  position: absolute;
  inset: auto 0 calc(-1 * var(--world-crown-overlap));
  height: calc(var(--world-crown-size) + var(--world-crown-overlap));
  background: var(--world-crown) center top / 100% 100% no-repeat;
  mask-image: linear-gradient(#000 0 calc(100% - var(--world-crown-overlap)), transparent);
}
.world-layout {
  position: relative;
  aspect-ratio: 1672 / 875;
  margin-block-start: min(0px, var(--world-top-offset));
  background: var(--world-art) center / 100% 100% no-repeat;
}
.world-intro { isolation: isolate; }
.world-intro::before {
  content: '';
  position: absolute;
  inset: -10% 5% -3% 29%;
  z-index: -1;
  background: linear-gradient(#13102422, #15112455), var(--world-sky) center 54% / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 14% 87%, transparent),
    linear-gradient(transparent, #000 15% 87%, transparent);
  mask-composite: intersect;
  pointer-events: none;
}
.legend-worlds :is(.world-intro p, .world-intro h2, .world-server-name, .world-feature h3, .world-feature p) {
  margin: 0;
  padding: 0;
}
.world-intro p, .world-server-name, .world-feature-copy {
  text-align: center;
  text-shadow: 0 2px 3px #08050d;
}
.world-intro :is(p, h2), .world-feature h3, .world-server-name {
  color: var(--world-gold);
}
.world-intro :is(p, h2), .world-server-name { text-transform: uppercase; }
.world-intro p { font: 400 var(--world-kicker-size)/1.25 var(--pa-font); letter-spacing: .16em; }
.legend-worlds .world-intro h2 {
  text-align: center;
  font: 400 var(--world-title-size)/1.13 var(--pa-font);
  letter-spacing: .06em;
  filter: drop-shadow(0 3px 6px #080508);
}
.world-feature { min-width: 0; }
.world-feature h3 { font-weight: 700; line-height: 1.06; }
.world-feature p { line-height: 1.17; text-wrap: balance; }
.world-features { margin: 0; padding: 0; list-style: none; }
.world-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35em;
  padding: .1em .4em;
  box-sizing: border-box;
  border-radius: .3em;
  color: var(--world-gold);
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 2px #08050d;
}
.world-link:is(:hover, :focus-visible) {
  color: #fff7e8;
  box-shadow: inset 0 0 .85em var(--world-halo), 0 0 .7em var(--world-halo);
}
.world-link:focus-visible { outline: 2px solid var(--world-gold); outline-offset: 2px; }

@media (min-width: 861px) {
  .world-server { display: contents; }
  .world-server-link, .world-server-name, .world-feature-copy, .world-feature-link {
    position: absolute;
    box-sizing: border-box;
  }
  .world-server-name {
    display: grid;
    place-items: center;
  }
  .world-intro {
    position: absolute;
    z-index: 2;
    inset: 0 0 auto;
    box-sizing: border-box;
    height: var(--world-intro-height);
    padding-inline-start: calc(2 * var(--world-heading-center) - 100%);
    display: grid;
    justify-items: center;
    align-content: center;
    gap: var(--world-title-gap);
  }
  .world-intro::after {
    content: '';
    position: absolute;
    left: var(--world-heading-center);
    top: calc(50% + 2.85cqw);
    width: 24cqw;
    height: 1px;
    translate: -50% 0;
    background: linear-gradient(90deg, transparent, var(--world-edge), var(--world-gold), var(--world-edge), transparent);
    box-shadow: 0 0 .45em var(--world-halo);
  }
  .world-server-name {
    position: absolute;
    inset: 0 auto auto 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  :is([data-custom-world-name], html[data-home-editor-preview] .world-server) .world-server-name {
    left: var(--world-name-x);
    top: var(--world-name-y);
    width: var(--world-name-width);
    height: var(--world-name-height);
    clip-path: none;
    background: var(--world-shadow);
    font-size: 4.2cqw;
    font-weight: 700;
  }
  .world-server-link {
    left: var(--world-main-x);
    top: var(--world-main-y);
    width: var(--world-main-width);
    height: var(--world-main-height);
    font-size: 1.68cqw;
  }
  .world-feature {
    --copy-x: var(--world-left-copy);
    --copy-y: var(--world-top-copy);
    --action-x: var(--world-left-action);
    --action-y: var(--world-top-action);
  }
  .world-feature:nth-child(even) { --copy-x: var(--world-right-copy); --action-x: var(--world-right-action); }
  .world-feature:nth-child(n+3) { --copy-y: var(--world-bottom-copy); --action-y: var(--world-bottom-action); }
  .world-feature-copy {
    left: var(--copy-x);
    top: var(--copy-y);
    width: var(--world-copy-width);
    height: 9.7%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .36cqw;
    padding-inline: .4cqw;
    background: radial-gradient(ellipse, var(--world-shadow) 9%, transparent 74%);
  }
  .world-feature h3 { font-size: 1.72cqw; }
  .world-feature p { font-size: 1.17cqw; }
  .world-feature-link {
    left: var(--action-x);
    top: var(--action-y);
    width: var(--world-action-width);
    height: max(23px, 4.8%);
    font-size: 1.18cqw;
  }
  .world-link {
    background: radial-gradient(ellipse, #141323 16%, transparent 64%);
  }
}

@media (max-width: 860px) {
  .world-crown {
    --world-crown-size: clamp(55px, 13.5cqw, 108px);
    height: max(0px, calc(40px - 1.5rem));
  }
  .world-layout {
    aspect-ratio: auto;
    margin-block-start: 0;
    padding: .55rem clamp(.65rem, 3vw, 1.75rem) 1.35rem;
    background: radial-gradient(ellipse at 50% 0, var(--world-halo), transparent 32%), var(--world-shadow);
  }
  .world-intro { position: relative; z-index: 2; padding: .5rem 0 .9rem; }
  .world-intro::before { inset: -.8rem -3% 0; }
  .legend-worlds .world-intro p { font-size: clamp(.68rem, 2.3cqw, 1rem); letter-spacing: .09em; }
  .legend-worlds .world-intro h2 { padding-top: .35rem; font-size: clamp(1.5rem, 6.2cqw, 2.65rem); line-height: 1.05; }
  .world-server {
    max-width: 28rem;
    margin: 0 auto 1rem;
    border: 1px solid var(--world-edge);
    border-radius: .7rem;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 0 1.4rem #0c0810a0;
  }
  .world-server::before {
    content: '';
    display: block;
    aspect-ratio: 2 / 1;
    background: linear-gradient(transparent 58%, var(--world-shadow)), var(--world-art) 3% 6% / 260% auto no-repeat;
  }
  .legend-worlds .world-server-name {
    position: relative;
    margin: -.7em 0 .2em;
    font-size: clamp(1.85rem, 9.5cqw, 3.4rem);
    font-weight: 700;
    line-height: 1.06;
  }
  .world-server-link { margin: 0 auto .75rem; width: min(11rem, 84%); }
  .world-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(.45rem, 2.4cqw, 1rem);
    max-width: 40rem;
    margin: 0 auto;
  }
  .world-feature {
    --image-x: var(--world-left-image);
    --image-y: var(--world-top-image);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 0 .38rem .55rem;
    border: 1px solid var(--world-edge);
    border-radius: .48rem;
    box-shadow: inset 0 0 0 2px #0b0712, 0 .25rem .9rem #09070ba9;
  }
  .world-feature:nth-child(even) { --image-x: var(--world-right-image); }
  .world-feature:nth-child(n+3) { --image-y: var(--world-bottom-image); }
  .world-feature::before {
    content: '';
    display: block;
    width: calc(100% + .76rem);
    aspect-ratio: 2.55 / 1;
    background: linear-gradient(transparent 72%, var(--world-shadow)),
      var(--world-art) var(--image-x) var(--image-y) / 420% auto no-repeat;
  }
  .world-feature-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    width: 100%;
    padding: .42rem .2rem .58rem;
  }
  .world-feature h3 { font-size: clamp(.9rem, 4.15cqw, 1.3rem); }
  .world-feature p { font-size: clamp(.75rem, 2.96cqw, .95rem); }
  .world-link {
    min-height: 44px;
    padding: .35rem .5rem;
    border: 1px solid var(--world-edge);
    border-radius: .33rem;
    background: linear-gradient(#3a2b38, #191421);
    font-size: clamp(.79rem, 3.35cqw, .96rem);
  }
  .world-feature-link { width: 100%; max-width: 10rem; }
}

html.portal-home #pa-news .pa-feature > img { object-fit: cover !important; object-position: 76% top !important; }
#pa-news [data-cms-news-hidden] { display: none !important; }
html[data-home-editor-preview] [data-editor-selected] { outline: 2px solid #63a4ff; outline-offset: -3px; }
html[data-home-editor-preview] [contenteditable="plaintext-only"] { cursor: text; pointer-events: auto; }
html[data-home-editor-preview] [contenteditable="plaintext-only"]:is(:hover, :focus-visible) {
  outline: 2px solid #69a8ff;
  outline-offset: 3px;
}
html.portal-home .pa-layout #pa-files {
  --files-art-width: max(100%, 470px);
  --files-art-height: max(265px, 56.25vw);
  --files-art-image: var(--files-large);
  background:
    linear-gradient(180deg, #100e1833, transparent 27%, #100e18aa 60%, var(--legend-surface))
      top center / 100% var(--files-art-height) no-repeat,
    var(--files-art-image) top center / var(--files-art-width) auto no-repeat,
    var(--legend-surface) !important;
}
@media (max-width: 1250px) {
  html.portal-home .pa-layout #pa-files {
    --files-art-image: image-set(var(--files-standard) 1x, var(--files-large) 2x);
  }
}
@media (max-width: 640px) {
  html.portal-home .pa-layout #pa-files {
    --files-art-image: image-set(var(--files-compact) 1x, var(--files-standard) 2x, var(--files-large) 3x);
  }
}
html.portal-home #b26-market-listings[hidden] { display: none !important; }
html.portal-home #pa-exchange button:disabled { cursor: not-allowed; opacity: .85; }
html.portal-home #pa-exchange .b27-hall-icon {
  border-radius: 0;
  mask-image: none;
  mix-blend-mode: normal;
  filter: drop-shadow(0 1px 4px var(--bx-flare));
}
html.portal-home #pa-exchange [data-b27-quick='weapon'] .b27-hall-icon {
  filter: drop-shadow(0 0 4px #7bc9ff8c);
}
html.portal-home #pa-files :is(.pa-download, .pa-registration) {
  border: 1px solid var(--legend-edge);
  box-shadow: inset 0 0 0 2px #170f12, 0 8px 24px #0005;
}
html.portal-home #pa-files .pa-file-note { color: var(--legend-soft); line-height: 1.5; }
html.portal-home #pa-files .pa-download-action {
  white-space: normal !important;
  overflow-wrap: anywhere;
  text-align: center;
  box-sizing: border-box;
  font-size: clamp(.72rem, 1.02cqw, 1rem) !important;
  line-height: 1.2;
  padding-inline: .45rem;
}
html.portal-home[lang='uk'] #pa-files .pa-download {
  padding-inline-end: max(10.5cqw, 6rem);
}
html.portal-home[lang='uk'] #pa-files .pa-download-action {
  width: max(8cqw, 4.8rem);
  white-space: nowrap !important;
  overflow-wrap: normal;
  padding-inline: .2rem;
}
@media (max-width: 650px) {
  html.portal-home[lang='uk'] #pa-files .pa-download { padding-inline-end: max(24cqw, 5.75rem); }
  html.portal-home[lang='uk'] #pa-files .pa-download-action { width: max(19cqw, 4.8rem); }
}

@media (width > 1920px) {
  html.portal-home {
    background: var(--portal-base);
  }
  html.portal-home body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(#100d127a, #100d12d0), var(--portal-image) center / cover no-repeat;
  }

  html.portal-home body .stage {
    --hero-gutter: max(5.5vw, calc((100% - var(--portal-presentation-width)) / 2 + 2rem));
    --hero-copy-width: clamp(43rem, 34vw, 68rem);
    display: grid;
    grid-template-columns: var(--hero-copy-width) 1fr;
    grid-template-rows: repeat(3, auto);
    align-content: center;
    gap: clamp(.65rem, .58vw, 1.4rem) 0;
    padding: calc(var(--portal-header-height) + 3rem) var(--hero-gutter) 3rem !important;
    height: auto !important;
    min-height: max(46rem, 100svh);
  }
  html.portal-home body .stage > .pa-v12-hero {
    object-position: center top !important;
  }
  html.portal-home body .stage::after {
    background: linear-gradient(90deg, #151019b8, #16101e88 30%, transparent 64%),
      linear-gradient(0deg, #130d1a72, transparent 24%);
  }

  html.portal-home body .stage > :is(.pa-v14-day-brand, .pa-v12-copy, .legend-hero-actions) {
    grid-column: 1;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0;
    margin: 0;
  }
  html.portal-home body .stage > .pa-v14-day-brand { grid-row: 1; }
  html.portal-home body .stage > .pa-v14-day-brand .pa-v22-approved-logo {
    width: min(94%, max(32rem, 63svh));
  }
  html.portal-home body .stage > .pa-v14-day-brand :is(small, .pa-v14-rule) {
    position: static;
    margin-inline: auto !important;
  }
  html.portal-home body .stage > .pa-v14-day-brand small {
    display: block;
    font-size: clamp(.95rem, .64vw, 1.375rem);
  }
  html.portal-home body .stage > .pa-v14-day-brand .pa-v14-rule {
    margin-block-start: .7rem !important;
  }
  html.portal-home body .stage > .pa-v12-copy {
    grid-row: 2;
    gap: clamp(.55rem, .57vw, 1.35rem) !important;
    padding-block-start: .4rem;
  }
  html.portal-home body .stage > .pa-v12-copy > strong[role='heading'] {
    font-size: clamp(2.8rem, calc(1.3vw + 1.6rem), 4.4rem) !important;
    white-space: normal;
  }
  html.portal-home[lang='en'] body .stage > .pa-v12-copy > strong[role='heading'] {
    font-size: clamp(2.65rem, 1.9vw, 4rem) !important;
  }
  html.portal-home body .stage > .pa-v12-copy > span {
    font-size: clamp(1.4rem, .92vw, 2rem) !important;
    white-space: normal;
  }
  html.portal-home[data-portal-scene='day'] body .stage > .pa-v12-copy > :is(strong, span) {
    color: #fff0d4 !important;
    -webkit-text-fill-color: #fff0d4 !important;
    background: none !important;
    text-shadow: 0 2px 5px #171011;
  }
  html.portal-home body .stage > .legend-hero-actions {
    grid-row: 3;
    gap: clamp(.55rem, .7vw, 1.5rem);
  }
  .legend-start {
    width: clamp(25rem, calc(6vw + 19rem), 32rem);
    font-size: clamp(1.7rem, .95vw, 2rem);
  }
  .legend-stats dt { font-size: clamp(.9rem, .52vw, 1.1rem); }
  .legend-stats dd { font-size: clamp(1.05rem, .74vw, 1.6rem); }
  .legend-world-date { font-size: clamp(.8rem, .48vw, 1rem); }
  .legend-benefits {
    padding-inline: max(1.5rem, calc((var(--legend-band-width, 100%) - var(--portal-presentation-width)) / 2 + 1.5rem));
  }
  html.portal-home:not([data-home-style='cinema']) .pa-layout > .legend-benefits {
    width: var(--legend-band-width, 100%);
    margin-inline: calc((100% - var(--legend-band-width, 100%)) / 2);
  }
  html.portal-home body #portal-hall.legend-worlds,
  html.portal-home body .pa-layout { max-width: var(--portal-presentation-width); }
}

@media (max-width: 760px) {
  html.portal-home body .stage {
    --legend-brand-top: clamp(7rem, 22%, 13.5rem);
    --legend-divider-top: 31.15cqw;
    --legend-copy-base-top: max(40%, calc(var(--legend-brand-top) + 35cqw));
    --legend-launch-space: clamp(1.65rem, 4.5cqw, 2.3rem);
    --legend-actions-top: calc(var(--legend-copy-top) + clamp(4.4rem, 12%, 7rem) + 2 * var(--legend-extra-copy-gap) + var(--legend-launch-space));
    height: max(46rem, 105vw, 100svh) !important;
  }
  html.portal-home body .stage > .pa-v12-hero { object-position: 78% top !important; }
  html.portal-home body .stage::after {
    background: linear-gradient(90deg, #110b1380, #17101d35 62%, transparent),
      linear-gradient(0deg, #130d1a66, transparent 30%);
  }
  html.portal-home body .stage > .pa-v14-day-brand { left: 12% !important; width: 76% !important; }
  html.portal-home body .stage > .pa-v14-day-brand small { top: 28.4cqw !important; font-size: 2.5cqw; }
  html.portal-home body .stage > .pa-v12-copy { width: 88% !important; left: 6% !important; gap: calc(.4rem + var(--legend-extra-copy-gap)) !important; text-align: center; }
  html.portal-home body .stage > .pa-v12-copy::before {
    content: '';
    position: absolute;
    inset: -.65rem -.25rem;
    z-index: -1;
    background: radial-gradient(ellipse, #130c13bf, transparent 74%);
    pointer-events: none;
  }
  html.portal-home body .stage > .pa-v12-copy strong { font-size: clamp(1rem, 4.6cqw, 2rem) !important; white-space: normal; }
  html.portal-home[lang='en'] body .stage > .pa-v12-copy > strong[role='heading'] {
    font-size: clamp(1rem, 4.6cqw, 2rem) !important;
  }
  html.portal-home body .stage > .pa-v12-copy span { font-size: clamp(.73rem, 2.75cqw, 1.15rem) !important; white-space: normal; }
  .legend-hero-actions { left: 7%; width: 86%; gap: .55rem; }
  .legend-start { width: min(76%, 22rem); font-size: clamp(.95rem, 3.5vw, 1.3rem); }
  html.portal-home .pa-landscape-files { background-position: center, center, center, center top; }
  html.portal-home #pa-files .pa-file-note { font-size: clamp(.72rem, 2.6cqw, .94rem); }
  html.portal-home body :is(.b26-chips, .b26-cta) { justify-content: center !important; justify-items: center !important; }
  html.portal-home body .b26-cta > button { margin-inline: auto; }
}
@media (width > 760px) and (height <= 760px) {
  html.portal-home body .stage {
    --legend-brand-top: clamp(5.5rem, 11%, 8rem);
    --legend-launch-space: clamp(1.4rem, 2vw, 1.9rem);
    height: max(41rem, min(43vw, 51rem), 100svh) !important;
  }
  html.portal-home:not([data-home-style='cinema']) body .stage {
    height: max(43rem, min(43vw, 51rem), calc(100svh + 2rem)) !important;
  }
  .legend-start { width: clamp(14rem, 59%, 25rem); }
}
@media (width <= 760px) and (height <= 680px) {
  html.portal-home body .stage {
    --legend-brand-top: max(6.5rem, 18%);
    --legend-copy-base-top: max(36%, calc(var(--legend-brand-top) + 35cqw));
    --legend-launch-space: 1.2rem;
    height: max(40rem, 105vw, 100svh) !important;
  }
}
@media (width <= 420px) {
  .legend-stats { width: calc(100% + 8vw); }
}
.cms-home-text {
  margin-inline: auto;
  max-width: 76rem;
  padding: clamp(1.2rem, 4vw, 3rem);
  background: #221613;
  border-block: 1px solid #a77b4f;
  color: #ffe7bd;
  white-space: pre-line;
}

.legend-world-alpha { color: #ffce74; }
html[data-portal-scene='day']:not([data-home-style='cinema']) .legend-world-alpha { color: #80500c; }

.legend-beta-clock {
  margin: .35rem .25rem .55rem;
  padding-top: .55rem;
  border-top: 1px solid var(--legend-edge);
  text-align: center;
}
.legend-beta-clock > strong {
  display: block;
  font: 700 clamp(.83rem, 3.2cqw, 1.22rem)/1.2 var(--pa-home-font, Georgia, serif);
  letter-spacing: .045em;
}
.legend-beta-clock small { display: block; margin-top: .15rem; font: 600 .69rem/1.25 var(--pa-home-font, system-ui, sans-serif); }
.legend-beta-clock[data-countdown-ended] > :is(strong, .legend-clock-units) { display: none; }
.legend-clock-units {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .28rem;
  width: min(25rem, 100%);
  margin: .42rem auto 0;
}
.legend-clock-units > div {
  display: grid;
  place-items: center;
  gap: .16rem;
  padding: .26rem .1rem;
  border: 1px solid #c294647a;
  border-radius: .35rem;
  background: #0c1527e8;
  color: #ffce87;
  text-shadow: 0 1px 2px #000;
}
.legend-clock-units b { color: #fff5df; font: 700 clamp(1rem, 4.5cqw, 1.7rem)/1 var(--pa-home-font, Georgia, serif); font-variant-numeric: tabular-nums; }
.legend-clock-units span { font: 650 clamp(.48rem, 2.2cqw, .65rem)/1.12 var(--pa-home-font, system-ui,sans-serif); text-transform: uppercase; }

html.portal-home:not([data-home-style='cinema']) body .stage { padding-bottom: 0; }
@media (width > 760px) and (width < 2200px) {
  html.portal-home:not([data-home-style='cinema']) body .stage { height: max(53rem, calc(100svh + 5rem)) !important; }
  html.portal-home:not([data-home-style='cinema']) body .stage .legend-hero-actions { gap: .38rem; }
}
@media (width <= 760px) {
  html.portal-home:not([data-home-style='cinema']) body .stage { height: max(46rem, 110vw, calc(100svh + 3rem)) !important; }
}

.pa-home-events {
  color: #fff3e0;
  box-sizing: border-box;
  position: relative;
  z-index: 4;
  width: min(100% - 2rem, var(--portal-presentation-width, 98rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5.2rem) 0 clamp(2rem, 4.5vw, 4rem);
}

/* The page already reserves space for the fixed header via scroll-padding-top. */
html.portal-home body :is(#portal-hall.legend-worlds, #pa-news, #pa-files, #pa-exchange, #pa-events-start) {
  scroll-margin-top: 0;
}
#pa-news > .pa-section-head { margin-block-end: .375rem; }
.pa-home-events .pa-heading { margin: 0; }
.pa-home-events-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.9rem, 2.7vw, 2.6rem); }
.pa-home-event {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  box-sizing: border-box;
  min-width: 0;
  min-height: clamp(25rem, 40vw, 40rem);
  overflow: hidden;
  border: 1px solid #c8a4776b;
  border-radius: .8rem;
  background: #112438;
  box-shadow: 0 12px 30px #08111d80;
}
.pa-home-event::after { content:''; position:absolute; z-index:-1; inset:0; background:linear-gradient(transparent 26%,#0d213763 44%,#081726eb 72%,#0b1b2bf7); }
.pa-home-event img { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; object-position:center top; }
.pa-home-event time { position:absolute; inset:.95rem auto auto 0; padding:.55rem .8rem; border-left:2px solid #eac689; border-radius:0 .48rem .48rem 0; background:#102239ee; color:#ffce87; font:700 .77rem/1.1 var(--pa-home-font, system-ui,sans-serif); text-transform:uppercase; }
.pa-home-event-copy { display:grid; justify-items:center; grid-template-rows:auto minmax(3.5em,auto) auto; gap:.8rem; text-align:center; padding:10rem clamp(.72rem,1.6vw,1.6rem) 1.5rem; text-shadow:0 1px 4px #000; }
.pa-home-event h3 { margin:0; font:700 clamp(1.05rem,1.8vw,1.78rem)/1.18 var(--pa-home-font, Georgia,serif); overflow-wrap:anywhere; }
.pa-home-event p,
[data-home-style="cinema"] #portal-hall .cinema-world-layout .world-feature p {
  margin:0; font:500 clamp(.83rem,1vw,1rem)/1.45 var(--pa-home-font, system-ui,sans-serif); color:#e4e8ed; overflow-wrap:anywhere;
}
.pa-home-events-actions { display: flex; justify-content: center; margin-block-start: .5rem; }
.pa-home-events :is(.pa-home-event, .pa-home-events-actions) a,
[data-home-style="cinema"] #portal-hall .cinema-world-layout .world-link {
  display:inline-flex; align-items:center; gap:.6rem; justify-content:center;
  box-sizing:border-box; min-height:2.8rem; max-width:100%; padding:.64rem 1.05rem;
  border:1px solid #d4a979; border-radius:.55rem; box-shadow:inset 0 0 0 2px #e4b88233;
  color:#ffdfaf; background:#132841; font:700 .95rem/1.15 var(--pa-home-font, Georgia,serif); text-decoration:none;
}
.pa-home-events :is(.pa-home-event, .pa-home-events-actions) a:is(:hover,:focus-visible),
[data-home-style="cinema"] #portal-hall .cinema-world-layout .world-link:is(:hover,:focus-visible) {
  background:#233d5e; border-color:#ffe0ac; color:#fff0d0; box-shadow:inset 0 0 0 2px #e4b88233;
}
.pa-home-events .pa-home-events-actions a { background:rgb(19 40 65 / 68%); }
.pa-home-events .pa-home-events-actions a:is(:hover,:focus-visible) { background:rgb(35 61 94 / 82%); }
@media (580px < width <= 920px) {
  .pa-home-events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pa-home-event:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - clamp(.9rem, 2.7vw, 2.6rem)) / 2); }
}
@media (width <= 580px) {
  .pa-home-events-grid { grid-template-columns:minmax(0,1fr); max-width:28rem; margin:auto; }
  .pa-home-event { min-height:26rem; }
}
