:root {
  --portal-navy: #202b73;
  --portal-navy-dark: #121a54;
  --portal-purple: #6f61bd;
  --portal-purple-soft: #ddd6fa;
  --portal-pink: #f35f92;
  --portal-pink-dark: #d84679;
  --portal-gold: #f3c94f;
  --portal-mint: #8edcc6;
  --portal-sky: #7fcce9;
  --portal-ink: #4e4776;
  --portal-muted: #777087;
  --portal-paper: #fffdf9;
  --portal-shadow: 0 30px 90px rgba(8, 15, 57, .45);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--portal-navy-dark);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--portal-ink);
  background:
    radial-gradient(circle at 75% 21%, rgba(144, 160, 237, .72), transparent 27%),
    radial-gradient(circle at 32% 84%, rgba(242, 115, 166, .22), transparent 30%),
    linear-gradient(145deg, #5664ba, #263579 54%, #172361);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255,183,211,.84) 0 1px, transparent 1.8px);
  background-position: 0 0, 22px 31px;
  background-size: 49px 49px, 77px 77px;
}

button,
a { font: inherit; }

img { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 14px;
  top: -60px;
  padding: 11px 15px;
  border-radius: 10px;
  color: #fff;
  background: var(--portal-navy-dark);
  transition: top .18s ease;
}

.skip-link:focus { top: 14px; }

.portal-desktop {
  position: relative;
  min-height: 100vh;
  padding: 20px 20px 82px 154px;
  isolation: isolate;
}

.desktop-rainbow {
  position: fixed;
  z-index: -1;
  right: -190px;
  bottom: -360px;
  width: 690px;
  height: 690px;
  border: 48px solid rgba(255, 126, 170, .25);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(247, 210, 91, .2),
    0 0 0 82px rgba(115, 218, 193, .2),
    0 0 0 122px rgba(118, 183, 231, .19),
    0 0 0 162px rgba(192, 166, 239, .19);
}

.desktop-cloud {
  position: fixed;
  z-index: -1;
  width: 150px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  filter: drop-shadow(0 7px 7px rgba(10,21,76,.17));
}

.desktop-cloud::before,
.desktop-cloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
}

.desktop-cloud::before { left: 28px; width: 68px; height: 68px; }
.desktop-cloud::after { right: 21px; width: 51px; height: 51px; }
.cloud-a { right: 15%; top: 8%; }
.cloud-b { left: 19%; bottom: 13%; transform: scale(.72); }

.portal-shortcuts {
  position: fixed;
  z-index: 5;
  left: 12px;
  top: 17px;
  bottom: 66px;
  width: 126px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  scrollbar-width: none;
}

.portal-shortcut {
  min-height: 79px;
  padding: 6px 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  text-shadow: 0 2px 4px rgba(10,20,76,.7);
  font-size: 10px;
  line-height: 1.15;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.portal-shortcut:hover,
.portal-shortcut[aria-current="page"] {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.15);
  box-shadow: inset 0 1px rgba(255,255,255,.2), 0 9px 18px rgba(12,20,72,.16);
  transform: translateY(-1px);
}

.shortcut-icon {
  position: relative;
  width: 49px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #b8a9ef, #7660bd);
  box-shadow: inset 0 2px rgba(255,255,255,.42), 0 7px 12px rgba(15,24,77,.25);
  font-size: 21px;
  text-shadow: none;
}

.shortcut-icon.folder::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 4px;
  top: -7px;
  width: 23px;
  height: 10px;
  border-radius: 6px 6px 0 0;
  background: inherit;
}

.portal-shortcut:nth-child(2) .shortcut-icon { background: linear-gradient(145deg, #ffe175, #e9ae3c); }
.portal-shortcut:nth-child(3) .shortcut-icon { background: linear-gradient(145deg, #b6efd9, #60bea8); }
.portal-shortcut:nth-child(4) .shortcut-icon { background: linear-gradient(145deg, #ffc0d5, #e35f91); }
.portal-shortcut:nth-child(5) .shortcut-icon { background: linear-gradient(145deg, #b9dcff, #718bcf); }

.portal-window {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 20px;
  background: rgba(255,253,249,.98);
  box-shadow: var(--portal-shadow), inset 0 2px #fff, 0 0 0 7px rgba(100,91,177,.17);
  animation: windowEnter .32s cubic-bezier(.18,.8,.25,1) both;
}

.portal-window.is-minimized { display: none; }

@keyframes windowEnter {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
}

.portal-titlebar {
  min-height: 48px;
  padding: 0 10px 0 15px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background:
    radial-gradient(circle at 20px 12px, rgba(255,255,255,.38) 0 1px, transparent 2px),
    linear-gradient(100deg, #484a9f, #6e61c0 58%, #8d6ecb);
  box-shadow: inset 0 1px rgba(255,255,255,.32), 0 4px 13px rgba(42,35,112,.2);
}

.titlebar-app {
  min-width: 0;
  display: flex;
  gap: 9px;
  align-items: center;
}

.titlebar-app > span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.2);
  box-shadow: inset 0 1px rgba(255,255,255,.32);
}

.titlebar-app div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.titlebar-app b {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.titlebar-app small { font: 9px/1.2 Arial, sans-serif; opacity: .72; }

.window-controls { display: flex; gap: 5px; }

.window-control {
  width: 31px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 7px;
  color: #4e438f;
  background: linear-gradient(#e1d8ff, #c9bdf3);
  box-shadow: inset 0 1px rgba(255,255,255,.72), 0 2px 5px rgba(35,31,103,.22);
  cursor: pointer;
  text-decoration: none;
  font-size: 17px;
  line-height: 1;
}

.window-control.close { color: #fff; background: linear-gradient(#ff91b2, #e95788); }

.portal-addressbar {
  min-height: 46px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #e8e4f3;
  background: linear-gradient(#f8f6fc, #f1eef8);
}

.address-home,
.address-copy {
  width: 34px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #d9d2ec;
  border-radius: 8px;
  color: #675b9e;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
}

.address-field {
  min-width: 0;
  height: 30px;
  padding: 0 12px;
  display: flex;
  gap: 7px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d8d2e8;
  border-radius: 8px;
  color: #716987;
  background: #fff;
  box-shadow: inset 0 1px 3px rgba(64,48,116,.06);
  font: 11px/1 Arial, sans-serif;
  white-space: nowrap;
}

.address-field b { color: #49a184; font-size: 10px; }
.address-field span { overflow: hidden; text-overflow: ellipsis; }

.portal-content {
  position: relative;
  min-height: 560px;
  padding: 34px;
  background:
    radial-gradient(circle at 95% 7%, rgba(255,205,224,.38), transparent 23%),
    radial-gradient(rgba(102,91,180,.065) .8px, transparent 1px),
    var(--portal-paper);
  background-size: auto, 18px 18px, auto;
}

.page-hero {
  min-height: 320px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(105,84,171,.14);
  border-radius: 25px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.64), transparent 28%),
    linear-gradient(145deg, #eee8ff, #ffe8f1 57%, #e1f7ef);
  box-shadow: inset 0 1px #fff, 0 18px 38px rgba(75,56,137,.12);
}

.page-hero.compact { min-height: 270px; }

.page-eyebrow {
  margin: 0 0 8px;
  color: var(--portal-pink-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.45px;
}

.page-hero h1 {
  max-width: 710px;
  margin: 0;
  color: #51478d;
  font-size: clamp(37px, 5.5vw, 64px);
  line-height: .97;
  letter-spacing: -2.3px;
  text-wrap: balance;
}

.page-hero-copy > p:not(.page-eyebrow) {
  max-width: 650px;
  margin: 15px 0 0;
  color: #6e6782;
  font: 16px/1.55 Arial, sans-serif;
}

.hero-actions {
  margin-top: 19px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.portal-button {
  min-height: 43px;
  padding: 11px 16px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #ff7ba7, #d9467a);
  box-shadow: 0 5px 0 #b93666, 0 11px 20px rgba(191,53,106,.18), inset 0 1px rgba(255,255,255,.42);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  transition: transform .16s ease, box-shadow .16s ease;
}

.portal-button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #b93666, 0 14px 24px rgba(191,53,106,.22), inset 0 1px rgba(255,255,255,.42); }
.portal-button.secondary { color: #62569a; background: #fff; box-shadow: 0 4px 0 #ddd5ef, 0 10px 18px rgba(72,54,128,.12); }

.hero-visual {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
}

.hero-visual::before { width: 210px; height: 210px; }
.hero-visual::after { width: 260px; height: 260px; border: 2px dashed rgba(239,91,144,.3); background: transparent; }

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(280px, 92%);
  max-height: 285px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(66,42,118,.2));
}

.hero-visual.square img { border: 5px solid #fff; border-radius: 24px; object-fit: cover; }

.section-heading {
  margin: 31px 0 15px;
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
}

.section-heading h2 { margin: 0; color: #51477f; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.7px; }
.section-heading p { max-width: 560px; margin: 0; color: #837b91; font: 12px/1.45 Arial, sans-serif; text-align: right; }

.channel-grid,
.download-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.channel-card,
.info-card,
.download-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(100,81,163,.14);
  border-radius: 19px;
  background: rgba(255,255,255,.9);
  box-shadow: inset 0 1px #fff, 0 13px 26px rgba(69,52,127,.1);
}

.info-card h2 { margin: 12px 0 7px; color: #554b83; font-size: 20px; }
.info-card p { margin: 0; color: #7a7289; font: 12px/1.5 Arial, sans-serif; }

.channel-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.channel-card:hover { transform: translateY(-3px); box-shadow: inset 0 1px #fff, 0 18px 31px rgba(69,52,127,.15); }
.channel-card .channel-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: #6458aa; font-size: 22px; }
.channel-card.youtube .channel-icon { background: #ed4a56; }
.channel-card.tiktok .channel-icon { background: #27263b; }
.channel-card.x .channel-icon { background: #5261ae; }
.channel-card strong { margin-top: 13px; color: #554b85; font-size: 18px; }
.channel-card small { margin-top: 4px; color: #898198; font: 11px/1.35 Arial, sans-serif; }
.channel-card b:last-child { margin-top: auto; padding-top: 12px; color: var(--portal-pink-dark); font-size: 11px; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.game-tile {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(100,81,163,.14);
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 1px #fff, 0 15px 29px rgba(69,52,127,.11);
}

.game-art { position: relative; height: 180px; overflow: hidden; background: linear-gradient(145deg,#e9e3ff,#ffe4ef); }
.game-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.game-art.music img { object-position: center 38%; }
.game-tile-content { padding: 18px; }
.status-chip { display: inline-flex; padding: 5px 8px; border-radius: 999px; color: #3c8f78; background: #e2f7f0; font-size: 9px; font-weight: 900; letter-spacing: .6px; }
.game-tile h2 { margin: 10px 0 7px; color: #554b83; font-size: 20px; line-height: 1.06; }
.game-tile p { min-height: 48px; margin: 0 0 14px; color: #7a7289; font: 12px/1.45 Arial, sans-serif; }
.game-tile .portal-button { width: 100%; }

.download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.download-card { position: relative; overflow: hidden; }
.download-card > span { position: absolute; z-index: 2; top: 30px; left: 30px; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(87,73,145,.9); font-size: 9px; font-weight: 900; letter-spacing: .7px; }
.download-card picture,
.download-card img { width: 100%; display: block; }
.download-card img { aspect-ratio: 1; object-fit: cover; border: 4px solid #fff; border-radius: 15px; box-shadow: 0 10px 21px rgba(67,50,123,.14); }
.download-card h2 { margin: 16px 0 7px; color: #554b83; font-size: 22px; }
.download-card p { margin: 0 0 15px; color: #7b7389; font: 12px/1.5 Arial, sans-serif; }
.download-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.feature-banner {
  margin-top: 18px;
  padding: 21px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(105,84,171,.15);
  border-radius: 20px;
  background: linear-gradient(135deg,#e5f7f0,#f0eaff 57%,#ffe8f0);
  box-shadow: inset 0 1px #fff, 0 13px 27px rgba(67,50,123,.1);
}

.feature-banner img { width: 112px; height: 112px; object-fit: cover; border: 4px solid #fff; border-radius: 17px; box-shadow: 0 8px 17px rgba(58,44,111,.14); }
.feature-banner h2 { margin: 0 0 6px; color: #554b83; font-size: 22px; }
.feature-banner p { margin: 0; color: #776e87; font: 12px/1.45 Arial, sans-serif; }

.story-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: 21px;
  align-items: start;
}

.story-card,
.character-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(100,81,163,.14);
  border-radius: 21px;
  background: #fff;
  box-shadow: inset 0 1px #fff, 0 15px 30px rgba(69,52,127,.11);
}

.story-card h2 { margin: 0 0 14px; color: #554b83; font-size: 28px; }
.story-lines { display: grid; gap: 8px; }
.story-lines p { margin: 0; padding: 10px 12px; border-radius: 12px; color: #70677f; background: #f8f4fb; font: 13px/1.45 Arial, sans-serif; }
.story-lines p:nth-child(even) { background: #fff0f5; }
.personality-chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.personality-chips span { padding: 7px 10px; border: 1px solid #e3ddef; border-radius: 999px; color: #665a90; background: #fff; font-size: 10px; font-weight: 900; }
.character-card picture,
.character-card img { width: 100%; display: block; }
.character-card img { border: 4px solid #fff; border-radius: 16px; box-shadow: 0 12px 27px rgba(73,54,129,.14); }
.character-card figcaption { margin-top: 10px; color: #81798d; font: 11px/1.4 Arial, sans-serif; text-align: center; }

.parent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.parent-card { padding: 22px; border: 1px solid rgba(100,81,163,.14); border-radius: 20px; background: #fff; box-shadow: inset 0 1px #fff, 0 14px 29px rgba(69,52,127,.1); }
.parent-card.wide { grid-column: 1 / -1; }
.parent-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg,#826fc8,#5e50a4); box-shadow: inset 0 1px rgba(255,255,255,.34); font-size: 22px; }
.parent-card:nth-child(2) .parent-icon { background: linear-gradient(145deg,#72d2b7,#3ca087); }
.parent-card:nth-child(3) .parent-icon { background: linear-gradient(145deg,#ff8ab1,#d94b7e); }
.parent-card:nth-child(4) .parent-icon { background: linear-gradient(145deg,#f6d55f,#d69c2f); }
.parent-card h2 { margin: 13px 0 8px; color: #554b83; font-size: 22px; }
.parent-card p { margin: 0; color: #766e85; font: 13px/1.55 Arial, sans-serif; }
.parent-card ul { margin: 12px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.parent-card li { position: relative; padding-left: 21px; color: #766e85; font: 12px/1.45 Arial, sans-serif; }
.parent-card li::before { content: "✓"; position: absolute; left: 0; color: #47a488; font-weight: 900; }

.license-panel {
  margin-top: 18px;
  padding: 23px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid #edd57e;
  border-radius: 20px;
  background: linear-gradient(145deg,#fffbe1,#fff4bd);
  box-shadow: inset 0 1px #fff, 0 14px 27px rgba(119,86,29,.1);
}

.license-panel > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; color: #fff; background: linear-gradient(145deg,#f5ce51,#d99b2f); font-size: 25px; }
.license-panel h2 { margin: 0 0 7px; color: #665483; font-size: 21px; }
.license-panel p { margin: 0; color: #786d7e; font: 12px/1.5 Arial, sans-serif; }
.license-panel a { color: #6454a0; font-weight: 900; }

.safe-note {
  margin-top: 18px;
  padding: 15px 17px;
  display: flex;
  gap: 11px;
  align-items: center;
  border: 1px solid #cbe8de;
  border-radius: 15px;
  color: #5e756d;
  background: #edf9f5;
  font: 12px/1.45 Arial, sans-serif;
}

.safe-note strong { color: #398c75; }

.privacy-status,
.policy-panel,
.policy-sources {
  margin-top: 18px;
  padding: 23px;
  border: 1px solid rgba(100,81,163,.14);
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 1px #fff, 0 14px 29px rgba(69,52,127,.1);
}

.privacy-status { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 17px; align-items: center; border-color: #e1c989; background: linear-gradient(145deg,#fffbed,#fff7d3); }
.privacy-status > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; color: #fff; background: linear-gradient(145deg,#e8bc49,#c8862a); font-size: 25px; box-shadow: inset 0 1px rgba(255,255,255,.4); }
.privacy-status h2, .policy-panel h2, .policy-sources h2 { margin: 0 0 7px; color: #5e538a; font-size: 22px; }
.privacy-status p:not(.page-eyebrow), .policy-panel > p, .policy-footnote { margin: 0; color: #746c80; font: 12px/1.6 Arial,sans-serif; }
.privacy-page .parent-grid { margin-top: 18px; }
.privacy-page code { padding: 2px 5px; border-radius: 5px; color: #6253a1; background: #f0edfa; font: 700 11px ui-monospace,Consolas,monospace; }
.privacy-table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid #ece8f3; border-radius: 14px; }
.privacy-table { width: 100%; min-width: 760px; border-collapse: collapse; font: 11px/1.5 Arial,sans-serif; }
.privacy-table th { padding: 12px; color: #62578a; background: #f5f2fb; text-align: left; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.privacy-table td { padding: 12px; border-top: 1px solid #eeeaf4; color: #746d80; vertical-align: top; }
.privacy-table td:first-child { color: #514878; font-weight: 800; }
.policy-footnote { margin-top: 13px !important; padding: 12px 14px; border-radius: 11px; background: #f6f4fa; }
.privacy-contact { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 14px; align-items: center; margin: 14px 0; padding: 16px; border: 1px solid #cce6de; border-radius: 15px; background: #effaf6; }
.privacy-contact > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg,#68c7ad,#3f9e86); font-size: 21px; }
.privacy-contact h3 { margin: 0 0 5px; color: #3d7869; font-size: 15px; }
.privacy-contact p { margin: 0; color: #658078; font: 11px/1.5 Arial,sans-serif; }
.privacy-contact a { color: #347d69; font: 900 12px/1.5 Arial,sans-serif; }
.privacy-contact button { margin-top: 9px; padding: 7px 12px; border: 1px solid #79bfae; border-radius: 9px; color: #286d5b; background: #fff; box-shadow: 0 2px 0 #c8e6de; font: 900 11px/1.2 Arial,sans-serif; cursor: pointer; }
.privacy-contact button:hover { color: #fff; background: #459f88; }
.privacy-contact button:focus-visible { outline: 3px solid rgba(69,159,136,.3); outline-offset: 2px; }
.privacy-contact button:disabled { cursor: wait; opacity: .68; }
.policy-sources ul { display: grid; gap: 8px; margin: 13px 0 0; padding: 0; list-style: none; }
.policy-sources a { color: #6253a1; font: 800 12px/1.45 Arial,sans-serif; }

.portal-taskbar {
  position: fixed;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 53px;
  padding: 7px 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.42);
  color: #fff;
  background: linear-gradient(90deg, rgba(54,57,138,.97), rgba(31,42,111,.98));
  box-shadow: 0 -8px 24px rgba(12,21,70,.18), inset 0 1px rgba(255,255,255,.17);
  backdrop-filter: blur(14px);
}

.task-start,
.task-open,
.task-info {
  min-height: 37px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 9px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 1px rgba(255,255,255,.18);
}

.task-start { padding: 0 13px; background: linear-gradient(#ff7ca5,#e75585); font-weight: 900; }
.task-start b { color: #ffe066; }
.task-open { min-width: 210px; padding: 0 13px; font-size: 11px; }
.task-open[aria-pressed="true"] { background: rgba(255,255,255,.21); box-shadow: inset 0 2px 5px rgba(23,27,91,.25); }
.task-spacer { flex: 1; }
.task-info { width: 35px; padding: 0; justify-content: center; font-weight: 900; }
.task-clock { min-width: 78px; padding: 0 8px; font: 10px/1.2 Arial, sans-serif; text-align: right; }

.portal-toast {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: 68px;
  max-width: calc(100% - 32px);
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 12px;
  color: #fff;
  background: rgba(50,43,112,.94);
  box-shadow: 0 12px 30px rgba(10,18,62,.27);
  transform: translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  font: 12px/1.35 Arial, sans-serif;
}

.portal-toast.is-visible { opacity: 1; transform: translateY(0); }

.portal-page a:focus-visible,
.portal-page button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.portal-content a:focus-visible,
.portal-content button:focus-visible,
.portal-addressbar a:focus-visible,
.portal-addressbar button:focus-visible {
  outline-color: #41366f;
}

@media (max-width: 960px) {
  .portal-desktop { padding: 111px 14px 78px; }
  .portal-shortcuts {
    position: absolute;
    left: 11px;
    right: 11px;
    top: 10px;
    bottom: auto;
    width: auto;
    height: 91px;
    padding: 2px 3px 7px;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .portal-shortcut { min-width: 88px; min-height: 79px; flex: 0 0 88px; }
  .portal-window { width: 100%; }
  .page-hero { grid-template-columns: minmax(0, 1fr) 270px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .portal-content { padding: 20px; min-height: 500px; }
  .page-hero { min-height: 0; padding: 23px; grid-template-columns: 1fr; }
  .hero-visual { min-height: 220px; grid-row: 1; }
  .hero-visual img { max-height: 230px; }
  .page-hero-copy { grid-row: 2; text-align: center; }
  .page-hero-copy > p:not(.page-eyebrow) { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .section-heading p { text-align: left; }
  .game-grid,
  .download-grid,
  .info-grid,
  .parent-grid,
  .story-layout { grid-template-columns: 1fr; }
  .parent-card.wide { grid-column: auto; }
  .feature-banner { grid-template-columns: 86px minmax(0,1fr); }
  .feature-banner img { width: 86px; height: 86px; }
  .feature-banner .portal-button { grid-column: 1 / -1; width: 100%; }
  .task-open { min-width: 0; max-width: 180px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

@media (max-width: 480px) {
  .portal-desktop { padding-inline: 8px; }
  .portal-content { padding: 13px; }
  .portal-titlebar { min-height: 45px; padding-left: 9px; }
  .titlebar-app small { display: none; }
  .address-field { padding-inline: 8px; }
  .page-hero { padding: 18px; border-radius: 20px; }
  .page-hero h1 { font-size: clamp(34px, 12vw, 47px); }
  .channel-grid { grid-template-columns: 1fr; }
  .channel-card:last-child { grid-column: auto; }
  .download-card,
  .story-card,
  .character-card,
  .parent-card { padding: 16px; }
  .download-card > span { top: 24px; left: 24px; }
  .license-panel { grid-template-columns: 1fr; }
  .privacy-status { grid-template-columns: 1fr; }
  .task-start { padding: 0 9px; }
  .task-start span { display: none; }
  .task-clock { min-width: 62px; padding-inline: 3px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
