:root {
  --ink: #1e1c3b;
  --muted: #68667e;
  --paper: #fffdf8;
  --cream: #f7f2e8;
  --purple: #6757e8;
  --purple-dark: #493bc2;
  --coral: #ff6f61;
  --yellow: #ffd44d;
  --mint: #50d5bd;
  --blue: #6cc9ff;
  --white: #fff;
  --shadow: 0 24px 70px rgba(37, 31, 91, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 13%, rgba(108, 201, 255, .16) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 18%, rgba(103, 87, 232, .12) 0 3px, transparent 4px),
    var(--paper);
  background-size: 38px 38px, 62px 62px, auto;
  font-family: Inter, ui-rounded, "Arial Rounded MT Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
.skip-link {
  position: fixed; z-index: 9999; left: 1rem; top: 1rem; padding: .8rem 1rem;
  background: var(--ink); color: #fff; transform: translateY(-180%); border-radius: .7rem;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1440px, calc(100% - 64px));
  height: 92px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; border-bottom: 1px solid rgba(30, 28, 59, .1);
}
.brand { display: inline-flex; align-items: center; width: max-content; text-decoration: none; gap: 11px; }
.brand-mark { position: relative; width: 42px; height: 43px; display: inline-block; }
.brand-mark i { position: absolute; display: block; border-radius: 50%; background: var(--purple); box-shadow: inset -3px -4px 0 rgba(37, 28, 139, .2), inset 2px 2px 0 rgba(255,255,255,.35); }
.brand-mark i:nth-child(1) { width: 27px; height: 27px; left: 3px; top: 13px; }
.brand-mark i:nth-child(2) { width: 17px; height: 17px; right: 0; top: 5px; background: var(--coral); }
.brand-mark i:nth-child(3) { width: 11px; height: 11px; left: 8px; top: 0; background: var(--yellow); }
.brand-copy { display: grid; line-height: .84; font-size: 16px; letter-spacing: -.04em; }
.brand-copy strong { font-weight: 900; }
.brand-copy b { color: var(--purple); font-size: 18px; font-weight: 950; }
.header-tagline { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.sound-toggle {
  justify-self: end; border: 0; background: transparent; display: inline-flex; gap: 8px; align-items: center;
  color: var(--ink); font-size: 13px; font-weight: 850; cursor: pointer; padding: 10px 0 10px 12px;
}
.sound-toggle > span:first-child { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(30,28,59,.16); border-radius: 50%; color: var(--purple); }
.sound-toggle[aria-pressed="true"] > span:first-child { color: var(--muted); text-decoration: line-through; }

.hero { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 74px; }
.hero-copy { display: grid; grid-template-columns: minmax(360px, .86fr) 1fr; align-items: end; gap: 60px; margin: 0 auto 34px; width: min(1080px, 100%); }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; font-weight: 900; letter-spacing: .16em; font-size: 11px; color: var(--purple); }
.eyebrow > span { display: inline-block; width: 24px; height: 3px; margin-right: 9px; vertical-align: middle; background: var(--coral); border-radius: 2px; }
h1 { margin: 0; font-size: clamp(64px, 8.8vw, 118px); line-height: .73; letter-spacing: -.09em; font-weight: 1000; }
h1 em, h2 em { color: var(--purple); font-style: normal; }
.hero-intro { max-width: 515px; margin: 0 0 6px; font-size: clamp(17px, 2vw, 23px); line-height: 1.42; letter-spacing: -.025em; font-weight: 680; }

.game-shell { position: relative; width: min(1180px, 100%); margin: 0 auto; border: 8px solid var(--ink); border-radius: 25px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow), 0 7px 0 #0d0c20; }
.game-topbar { height: 40px; padding: 0 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: rgba(255,255,255,.84); background: var(--ink); font-size: 10px; letter-spacing: .13em; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.window-dots i:nth-child(2) { background: var(--yellow); }
.window-dots i:nth-child(3) { background: var(--mint); }
.live-pill { justify-self: end; font-size: 8px; }
.live-pill i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #7df5a4; box-shadow: 0 0 0 4px rgba(125,245,164,.12); }
.canvas-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #86d7f5; isolation: isolate; }
#gameCanvas { display: block; width: 100%; height: 100%; outline: none; touch-action: none; }

.start-panel {
  position: absolute; z-index: 4; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 26px; text-align: center; color: var(--white);
  background: radial-gradient(circle at 50% 39%, rgba(255,255,255,.14), transparent 23%), linear-gradient(135deg, rgba(73,59,194,.94), rgba(103,87,232,.92));
  transition: opacity .35s ease, visibility .35s ease;
}
.start-panel::before, .start-panel::after { content: ""; position: absolute; border: 2px solid rgba(255,255,255,.18); border-radius: 50%; }
.start-panel::before { width: 110px; height: 110px; left: 12%; top: 18%; }
.start-panel::after { width: 48px; height: 48px; right: 15%; bottom: 20%; }
.start-panel.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.start-panel h2 { margin: 7px 0 8px; font-size: clamp(30px, 5vw, 58px); line-height: 1; letter-spacing: -.05em; }
.start-panel p:not(.mini-kicker) { max-width: 500px; margin: 0 0 22px; font-size: clamp(13px, 1.7vw, 18px); line-height: 1.45; color: rgba(255,255,255,.86); }
.start-panel small { margin-top: 12px; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: rgba(255,255,255,.66); }
.mini-kicker { margin: 7px 0 0; font-size: 9px; font-weight: 900; letter-spacing: .18em; color: var(--yellow); }
.play-button { display: inline-flex; align-items: center; gap: 24px; min-width: 190px; justify-content: center; padding: 15px 18px 15px 28px; border: 0; border-radius: 999px; color: var(--ink); background: var(--yellow); box-shadow: 0 7px 0 #e2ad20, 0 15px 30px rgba(27,19,87,.3); font-size: 15px; font-weight: 950; letter-spacing: .12em; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.play-button i { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #fff; background: var(--coral); font-size: 11px; padding-left: 2px; font-style: normal; }
.play-button:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 9px 0 #e2ad20, 0 20px 35px rgba(27,19,87,.35); }
.play-button:active { transform: translateY(5px); box-shadow: 0 2px 0 #e2ad20; }

.mascot-preview { position: relative; width: 106px; height: 105px; filter: drop-shadow(0 13px 14px rgba(25,18,85,.25)); }
.mascot-head { position: absolute; width: 62px; height: 67px; left: 25px; top: 8px; background: #f2b47d; border: 4px solid var(--ink); border-radius: 46% 48% 45% 48%; }
.mascot-head .hair { position: absolute; width: 55px; height: 24px; top: -7px; left: 0; background: var(--ink); border-radius: 60% 45% 40% 10%; transform: rotate(-4deg); }
.mascot-head .hair::after { content: ""; position: absolute; width: 19px; height: 22px; right: -2px; top: 10px; background: var(--ink); clip-path: polygon(0 0,100% 15%,35% 100%); }
.mascot-head .eye { position: absolute; top: 31px; width: 6px; height: 9px; background: var(--ink); border-radius: 50%; }
.mascot-head .eye.left { left: 15px; }.mascot-head .eye.right { left: 37px; }
.mascot-body { position: absolute; width: 73px; height: 45px; bottom: 0; left: 18px; border: 4px solid var(--ink); border-radius: 35px 35px 8px 8px; background: var(--coral); }
.gum-bubble { position: absolute; z-index: 3; left: 67px; top: 47px; width: 35px; height: 35px; border-radius: 50%; background: radial-gradient(circle at 33% 26%, #fff 0 5%, #ffb8df 10%, #ff7fc0 65%, #e354a0 100%); border: 3px solid var(--ink); animation: gumPulse 1.9s ease-in-out infinite; }
@keyframes gumPulse { 50% { transform: scale(1.14); } }

.pause-button, .fullscreen-button { position: absolute; z-index: 3; top: 12px; right: 12px; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: rgba(30,28,59,.45); backdrop-filter: blur(5px); font-weight: 900; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s, transform .15s ease; }
.fullscreen-button { right: 56px; font-size: 16px; }
.game-shell.playing .pause-button, .game-shell.playing .fullscreen-button { opacity: 1; pointer-events: auto; }
.pause-button:hover, .fullscreen-button:hover { transform: scale(1.07); }
.quick-controls { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; margin: 24px auto 0; color: var(--muted); font-size: 11px; font-weight: 800; }
.quick-controls span { display: inline-flex; align-items: center; gap: 5px; }
kbd { min-width: 25px; padding: 5px 7px; border: 1px solid rgba(30,28,59,.18); border-bottom-width: 3px; border-radius: 6px; color: var(--ink); background: #fff; font-family: inherit; font-size: 9px; text-align: center; }
.mobile-hint { display: none !important; }
.mobile-controls { display: none; position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.mobile-controls > div { position: absolute; bottom: max(13px, env(safe-area-inset-bottom)); display: flex; gap: 10px; pointer-events: auto; }
.move-controls { left: max(13px, env(safe-area-inset-left)); }
.action-controls { right: max(13px, env(safe-area-inset-right)); }
.mobile-controls button { width: 56px; height: 56px; padding: 0; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(30,28,59,.5); color: #fff; backdrop-filter: blur(5px); font-size: 24px; font-weight: 900; box-shadow: 0 5px 15px rgba(20,17,63,.22); touch-action: none; user-select: none; }
.mobile-controls button:active, .mobile-controls button.active { transform: scale(.93); background: rgba(103,87,232,.82); }
.mobile-controls button small { display: block; font-size: 7px; letter-spacing: .09em; margin-top: -3px; }
.mobile-controls .bubble-control { width: 66px; height: 66px; background: rgba(255,111,97,.76); }
.bubble-control i { display: block; width: 19px; height: 19px; margin: 0 auto 3px; border-radius: 50%; border: 2px solid #fff; background: rgba(255,174,216,.8); box-shadow: inset 4px 4px 0 rgba(255,255,255,.35); }

.how-to { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 90px 0 105px; border-top: 1px solid rgba(30,28,59,.09); }
.section-heading { display: grid; grid-template-columns: .6fr 1fr; align-items: end; margin-bottom: 44px; }
.section-heading h2 { grid-column: 2; margin: 0; font-size: clamp(39px, 5vw, 67px); line-height: .98; letter-spacing: -.06em; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(30,28,59,.12); border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.78); box-shadow: 0 18px 50px rgba(31,25,83,.08); }
.steps li { position: relative; min-height: 300px; padding: 34px 34px 36px; border-right: 1px solid rgba(30,28,59,.1); }
.steps li:last-child { border: 0; }
.step-number { font-size: 10px; color: var(--purple); font-weight: 950; letter-spacing: .15em; }
.step-icon { display: grid; place-items: center; width: 78px; height: 78px; margin: 28px 0 25px; border-radius: 26px; font-size: 32px; font-weight: 900; background: #eeeafd; color: var(--purple); transform: rotate(-3deg); }
.step-icon.blow { background: #fff1f0; }
.step-icon.blow i { width: 35px; height: 35px; border-radius: 50%; border: 3px solid var(--coral); background: #ffb4d9; box-shadow: inset 6px 6px 0 rgba(255,255,255,.5); }
.step-icon.pop { color: #cf9500; background: #fff7d7; font-size: 42px; }
.steps h3 { margin: 0 0 9px; font-size: 22px; letter-spacing: -.035em; }
.steps p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.promise { width: min(1160px, calc(100% - 48px)); margin: 0 auto 100px; display: grid; grid-template-columns: 1.3fr .7fr; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); }
.promise-card { position: relative; min-height: 410px; padding: clamp(45px, 7vw, 78px); color: #fff; background: linear-gradient(145deg, var(--purple), #5141c9); overflow: hidden; }
.eyebrow.light { color: var(--yellow); }
.promise-card h2 { position: relative; margin: 0 0 35px; font-size: clamp(36px, 5vw, 64px); line-height: .99; letter-spacing: -.055em; }
.promise-card h2 em { color: var(--yellow); }
.promise-card a { position: relative; display: inline-flex; gap: 26px; align-items: center; padding-bottom: 6px; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.45); font-size: 13px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.promise-card a:hover { border-color: var(--yellow); }
.promise-bubble { position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.13); }
.promise-bubble.one { width: 240px; height: 240px; right: -80px; top: -70px; }
.promise-bubble.two { width: 90px; height: 90px; right: 70px; bottom: 30px; }
.stats { display: grid; grid-template-rows: repeat(3, 1fr); background: var(--yellow); }
.stats div { display: flex; align-items: center; padding: 10px 18%; border-bottom: 1px solid rgba(30,28,59,.13); gap: 22px; }
.stats div:last-child { border: 0; }
.stats strong { min-width: 75px; font-size: clamp(45px, 6vw, 72px); line-height: 1; letter-spacing: -.08em; }
.stats span { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }

footer { width: min(1440px, calc(100% - 64px)); min-height: 130px; margin: 0 auto; border-top: 1px solid rgba(30,28,59,.12); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; color: var(--muted); font-size: 11px; }
.brand-footer { filter: grayscale(.2); }
footer > p:nth-of-type(1) { max-width: 400px; text-align: center; line-height: 1.5; }
footer > p a { color: var(--purple); font-weight: 800; text-underline-offset: 3px; }
.copyright { justify-self: end; }

@media (max-width: 820px), (pointer: coarse) {
  .mobile-controls { display: block; }
  .quick-controls span:not(.mobile-hint) { display: none; }
  .mobile-hint { display: inline-flex !important; }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 34px); height: 74px; grid-template-columns: 1fr auto; }
  .header-tagline { display: none; }
  .sound-label { display: none; }
  .hero { width: calc(100% - 24px); padding: 42px 0 56px; }
  .hero-copy { display: block; width: calc(100% - 12px); margin-bottom: 25px; }
  h1 { font-size: clamp(61px, 22vw, 94px); margin-bottom: 25px; }
  .hero-intro { font-size: 16px; max-width: 440px; }
  .game-shell { border-width: 5px; border-radius: 17px; box-shadow: 0 13px 38px rgba(37,31,91,.17), 0 5px 0 #0d0c20; }
  .game-topbar { height: 30px; padding: 0 10px; }
  .game-topbar > strong { font-size: 8px; }
  .live-pill { display: none; }
  .game-topbar { grid-template-columns: 1fr auto 1fr; }
  .mascot-preview { transform: scale(.74); margin: -15px 0 -9px; }
  .start-panel { padding: 12px; }
  .start-panel p:not(.mini-kicker) { max-width: 330px; margin-bottom: 13px; }
  .start-panel small { display: none; }
  .play-button { min-width: 155px; padding: 9px 10px 9px 20px; gap: 16px; font-size: 12px; box-shadow: 0 5px 0 #e2ad20, 0 12px 25px rgba(27,19,87,.25); }
  .play-button i { width: 26px; height: 26px; }
  .quick-controls { margin-top: 17px; }
  .how-to { width: calc(100% - 34px); padding: 65px 0 72px; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 12px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; padding: 28px; border-right: 0; border-bottom: 1px solid rgba(30,28,59,.1); display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; }
  .step-number { position: absolute; top: 15px; right: 17px; }
  .step-icon { grid-row: span 2; width: 58px; height: 58px; margin: 0; border-radius: 19px; font-size: 24px; }
  .step-icon.blow i { width: 27px; height: 27px; }
  .steps h3 { align-self: end; }
  .steps p { font-size: 13px; }
  .promise { width: calc(100% - 34px); margin-bottom: 68px; grid-template-columns: 1fr; }
  .promise-card { min-height: 355px; padding: 48px 30px; }
  .stats { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; }
  .stats div { padding: 24px 7px; flex-direction: column; gap: 8px; text-align: center; border-right: 1px solid rgba(30,28,59,.13); border-bottom: 0; }
  .stats strong { min-width: 0; font-size: 42px; }
  .stats span { font-size: 8px; }
  footer { width: calc(100% - 34px); padding: 32px 0; grid-template-columns: 1fr; gap: 18px; text-align: center; }
  footer .brand { justify-self: center; }
  footer > p:nth-of-type(1) { margin: 0 auto; }
  .copyright { justify-self: center; margin: 0; }
}

@media (max-width: 520px) {
  .canvas-wrap { aspect-ratio: 16/9; }
  .mobile-controls button { width: 48px; height: 48px; font-size: 21px; }
  .mobile-controls .bubble-control { width: 58px; height: 58px; }
  .pause-button, .fullscreen-button { width: 30px; height: 30px; top: 7px; right: 7px; }
  .fullscreen-button { right: 43px; }
  .start-panel h2 { font-size: 29px; }
  .start-panel p:not(.mini-kicker) { font-size: 11px; margin-bottom: 9px; }
  .mini-kicker { font-size: 7px; }
}

.canvas-wrap:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; background: #1e1c3b; }
.canvas-wrap:fullscreen #gameCanvas, .canvas-wrap:fullscreen #shooterCanvas, .canvas-wrap:fullscreen #soloCanvas, .canvas-wrap:fullscreen #mazeCanvas { width: 100%; height: 100%; object-fit: contain; }
.canvas-wrap:fullscreen .mobile-controls { display: block; }

/* Shared internal-page navigation */
.breadcrumb { width: min(1240px, calc(100% - 48px)); margin: 25px auto -34px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 750; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb span { color: rgba(30,28,59,.3); font-size: 15px; }
.breadcrumb strong { color: var(--ink); }

/* Bubble Pop internal page */
.shooter-canvas-wrap { aspect-ratio: 8/5; background: #aeeaff; }
#shooterCanvas { display: block; width: 100%; height: 100%; outline: none; touch-action: none; }
.shooter-start { background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.2), transparent 25%), linear-gradient(135deg, rgba(63,52,179,.96), rgba(104,86,235,.94)); }
.shooter-preview { position: relative; width: 188px; height: 104px; margin-bottom: 2px; filter: drop-shadow(0 13px 15px rgba(25,18,85,.25)); }
.shooter-preview i { position: absolute; display: block; width: 38px; height: 38px; border: 3px solid #24203f; border-radius: 50%; box-shadow: inset 7px 7px 0 rgba(255,255,255,.4), inset -5px -6px 0 rgba(46,35,110,.18); }
.shooter-preview i:nth-child(1) { left: 15px; top: 3px; background: #ff626d; }
.shooter-preview i:nth-child(2) { left: 56px; top: 3px; background: #ffd047; }
.shooter-preview i:nth-child(3) { left: 97px; top: 3px; background: #5c74ef; }
.shooter-preview i:nth-child(4) { left: 138px; top: 3px; background: #45c68d; }
.shooter-preview i:nth-child(5) { left: 36px; top: 38px; background: #a666e8; }
.shooter-preview i:nth-child(6) { left: 77px; top: 38px; background: #35c9de; }
.shooter-preview i:nth-child(7) { left: 118px; top: 38px; background: #ff626d; }
.shooter-preview span { position: absolute; width: 20px; height: 38px; left: 84px; bottom: -6px; border: 3px solid #24203f; border-radius: 10px 10px 5px 5px; background: #fff; }
.shooter-preview span::before { content: ""; position: absolute; width: 25px; height: 25px; left: -5px; top: -18px; border: 3px solid #24203f; border-radius: 50%; background: #ffd047; box-shadow: inset 5px 5px 0 rgba(255,255,255,.5); }
.shooter-controls .touch-hint { display: none; }
.aim-icon { color: var(--coral); background: #fff0ed; font-size: 39px; }
.match-icon { display: flex; gap: 0; background: #edf0ff; }
.match-icon i { display: block; width: 21px; height: 21px; margin: 0 -3px; border: 2px solid #42386d; border-radius: 50%; background: #5c74ef; box-shadow: inset 4px 4px 0 rgba(255,255,255,.45); }
.match-icon i:nth-child(2) { background: #a666e8; transform: translateY(-13px); }
.match-icon i:nth-child(3) { background: #5c74ef; }
.drop-icon { color: #159b78; background: #e5fbf3; }
.shooter-promise .promise-card { background: linear-gradient(145deg, #5545cf, #7060ee); }

/* Bubble Solo internal page */
.solo-canvas-wrap { aspect-ratio: 48/31; background: #dff6f3; }
#soloCanvas { display: block; width: 100%; height: 100%; outline: none; touch-action: none; }
.solo-start { background: radial-gradient(circle at 50% 38%, rgba(255,255,255,.18), transparent 27%), linear-gradient(135deg, rgba(63,52,179,.96), rgba(89,73,211,.94)); }
.solo-preview { position: relative; width: 162px; height: 134px; margin-bottom: 2px; filter: drop-shadow(0 13px 15px rgba(25,18,85,.3)); }
.solo-preview > span { position: absolute; inset: 0 14px 0; border: 5px solid #30204b; border-radius: 50%; background: radial-gradient(circle at 37% 30%, #f2d894, #d19a50 62%, #8e552a); box-shadow: inset 0 0 0 8px rgba(255,235,176,.3); }
.solo-preview i { position: absolute; z-index: 2; display: block; width: 18px; height: 18px; border: 2px solid #211942; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff 0 8%, #a99fff 16%, #6757e8 56%, #211942 100%); box-shadow: 0 4px 5px rgba(49,25,16,.35); }
.solo-preview i:nth-of-type(1) { left: 72px; top: 20px; }
.solo-preview i:nth-of-type(2) { left: 48px; top: 42px; }.solo-preview i:nth-of-type(3) { left: 72px; top: 42px; }.solo-preview i:nth-of-type(4) { left: 96px; top: 42px; }
.solo-preview i:nth-of-type(5) { left: 25px; top: 64px; }.solo-preview i:nth-of-type(6) { left: 48px; top: 64px; }.solo-preview i:nth-of-type(7) { left: 96px; top: 64px; }.solo-preview i:nth-of-type(8) { left: 119px; top: 64px; }
.solo-preview i:nth-of-type(9) { left: 48px; top: 86px; }.solo-preview i:nth-of-type(10) { left: 72px; top: 86px; }.solo-preview i:nth-of-type(11) { left: 96px; top: 86px; }
.solo-preview i:nth-of-type(12) { left: 72px; top: 108px; }.solo-preview i:nth-of-type(13) { left: 96px; top: 108px; }
.solo-toolbar { width: min(680px, 100%); margin: 22px auto 0; display: flex; justify-content: center; gap: 10px; }
.solo-toolbar button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px; border: 1px solid rgba(30,28,59,.17); border-bottom-width: 3px; border-radius: 999px; color: var(--ink); background: #fff; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; cursor: pointer; transition: transform .15s ease, color .15s ease, background .15s ease; }
.solo-toolbar button span { color: var(--purple); font-size: 16px; }
.solo-toolbar button:hover:not(:disabled) { transform: translateY(-2px); color: #fff; background: var(--purple); }
.solo-toolbar button:hover:not(:disabled) span { color: var(--yellow); }
.solo-toolbar button:disabled { opacity: .38; cursor: default; }
.solo-controls { margin-top: 14px; }
.select-icon { background: #eeeafd; }
.select-icon i { width: 37px; height: 37px; border: 4px solid #2a224f; border-radius: 50%; background: radial-gradient(circle at 32% 25%, #fff 0 8%, #a99fff 16%, #6757e8 60%, #211942); box-shadow: 0 6px 8px rgba(34,25,78,.2); }
.jump-icon { color: #b36b2d; background: #fff2d7; font-size: 48px; }
.one-icon { color: #fff; background: var(--mint); font-size: 40px; }
.solo-promise .promise-card { background: linear-gradient(145deg, #4d3fc2, #6958df); }

/* Bubble Maze internal page */
.maze-canvas-wrap { aspect-ratio: 48/31; background: #ece9ff; }
#mazeCanvas { display: block; width: 100%; height: 100%; outline: none; touch-action: none; }
.maze-start { background: radial-gradient(circle at 50% 37%, rgba(255,255,255,.18), transparent 27%), linear-gradient(135deg, rgba(62,49,174,.97), rgba(103,87,232,.95)); }
.maze-preview { position: relative; width: 164px; height: 132px; margin: 0 0 3px; border: 7px solid #6e401f; border-radius: 12px; background: linear-gradient(145deg, #f1d994, #c98d43); box-shadow: inset 0 0 0 6px rgba(255,245,208,.42), 0 14px 18px rgba(28,19,77,.28); transform: rotate(-2deg); }
.preview-maze-line { position: absolute; display: block; border-radius: 4px; background: #714221; box-shadow: inset 1px 1px 0 rgba(255,235,178,.5); }
.preview-maze-line.one { width: 91px; height: 7px; left: 18px; top: 29px; }
.preview-maze-line.two { width: 7px; height: 65px; left: 66px; top: 30px; }
.preview-maze-line.three { width: 74px; height: 7px; right: 13px; top: 82px; }
.preview-maze-line.four { width: 7px; height: 43px; right: 35px; top: 12px; }
.maze-preview i { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 42% 36%, #1b1520, #030207 72%); box-shadow: 0 0 0 3px rgba(93,51,23,.25); }
.maze-preview .h1 { left: 22px; bottom: 16px; }.maze-preview .h2 { left: 91px; top: 48px; }.maze-preview .h3 { right: 17px; bottom: 12px; }
.maze-preview b { position: absolute; left: 25px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0 8%, #e4fbff 15%, #8e949f 49%, #f5f1e8 67%, #2d2d3c 100%); box-shadow: 3px 5px 6px rgba(47,28,14,.35); }
.maze-toolbar { width: min(820px, 100%); margin: 22px auto 0; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.maze-toolbar button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px; border: 1px solid rgba(30,28,59,.17); border-bottom-width: 3px; border-radius: 999px; color: var(--ink); background: #fff; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; cursor: pointer; transition: transform .15s ease, color .15s ease, background .15s ease; }
.maze-toolbar button span { color: var(--purple); font-size: 16px; }
.maze-toolbar button:hover:not(:disabled) { color: #fff; background: var(--purple); transform: translateY(-2px); }
.maze-toolbar button:hover:not(:disabled) span { color: var(--yellow); }
.maze-toolbar button:disabled { opacity: .38; cursor: default; }
.maze-controls { margin-top: 14px; }
.maze-controls .touch-hint { display: none; }
.tilt-icon { color: #4179d8; background: #e9f3ff; font-size: 40px; }
.avoid-icon { background: #fff0e5; }
.avoid-icon i { width: 39px; height: 39px; border: 6px solid #ce9a62; border-radius: 50%; background: #17121d; box-shadow: inset 3px 4px 5px #000; }
.goal-icon { color: #118c70; background: #def9ef; font-size: 44px; }
.maze-promise .promise-card { background: linear-gradient(145deg, #3d32ae, #6c59e4); }

/* Portal home */
.portal-page { overflow-x: hidden; }
.portal-header { position: relative; z-index: 10; }
.portal-nav { justify-self: end; display: flex; align-items: center; gap: 24px; font-size: 11px; font-weight: 850; }
.portal-nav a { text-decoration: none; }
.portal-nav a:not(.nav-play):hover { color: var(--purple); }
.portal-nav .nav-play { display: inline-flex; align-items: center; gap: 14px; padding: 10px 11px 10px 17px; border-radius: 999px; color: #fff; background: var(--ink); }
.portal-nav .nav-play span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: var(--ink); background: var(--yellow); }

.portal-hero { position: relative; width: min(1240px, calc(100% - 48px)); min-height: 610px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 35px; padding: 65px 0 80px; }
.portal-hero::after { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; left: -210px; bottom: -70px; border: 1px solid rgba(103,87,232,.12); border-radius: 50%; box-shadow: 0 0 0 65px rgba(103,87,232,.025), 0 0 0 130px rgba(103,87,232,.018); }
.portal-hero-copy { position: relative; z-index: 2; }
.portal-hero h1 { margin: 0 0 40px; font-size: clamp(80px, 10vw, 137px); line-height: .73; letter-spacing: -.09em; }
.portal-hero-copy > p:not(.eyebrow) { max-width: 580px; margin: 0 0 35px; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); font-weight: 650; line-height: 1.5; letter-spacing: -.02em; }
.portal-cta { display: inline-flex; align-items: center; gap: 24px; padding: 9px 10px 9px 21px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; text-transform: uppercase; font-size: 10px; font-weight: 900; letter-spacing: .12em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.portal-cta span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ink); background: var(--yellow); font-size: 15px; }
.portal-cta:hover { color: #fff; background: var(--ink); transform: translateY(-2px); }

.portal-orbit { position: relative; justify-self: end; width: min(520px, 42vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 29%, #9185ff, #6757e8 58%, #4938bd); box-shadow: 0 34px 80px rgba(73,56,189,.28); }
.portal-orbit::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 37% 31%, rgba(255,255,255,.25) 0 3%, transparent 4%), radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 66%); }
.portal-orbit > p { position: absolute; z-index: 3; left: 16%; top: 25%; margin: 0; color: #fff; font-size: clamp(60px, 7vw, 96px); font-weight: 1000; line-height: .73; letter-spacing: -.1em; transform: rotate(-7deg); text-shadow: 0 8px 0 rgba(47,34,143,.25); }
.portal-orbit > p i { margin-left: 23%; color: var(--yellow); font-style: normal; }
.orbit-ring { position: absolute; z-index: 2; border: 2px solid rgba(255,255,255,.22); border-radius: 50%; }
.ring-one { inset: 7%; }.ring-two { inset: 23%; border-style: dashed; }
.orb { position: absolute; z-index: 4; display: block; border: 4px solid var(--ink); border-radius: 50%; box-shadow: inset 8px 8px 0 rgba(255,255,255,.42), inset -7px -8px 0 rgba(46,35,110,.18), 0 12px 22px rgba(35,26,111,.24); }
.orb-one { width: 71px; height: 71px; right: 9%; top: 10%; background: var(--coral); }
.orb-two { width: 48px; height: 48px; left: 4%; top: 26%; background: var(--yellow); }
.orb-three { width: 57px; height: 57px; right: 5%; bottom: 19%; background: var(--mint); }
.orb-four { width: 36px; height: 36px; left: 20%; bottom: 7%; background: var(--blue); }
.portal-badge { position: absolute; z-index: 5; right: -4%; bottom: 3%; width: 135px; height: 135px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 5px solid var(--ink); border-radius: 50%; color: var(--ink); background: var(--yellow); transform: rotate(7deg); }
.portal-badge strong { font-size: 52px; line-height: 1; letter-spacing: -.08em; }
.portal-badge span { font-size: 9px; font-weight: 900; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; }

.games-selection { padding: 95px max(24px, calc((100vw - 1240px) / 2)) 110px; color: #fff; background: var(--ink); }
.games-heading { max-width: 1160px; margin: 0 auto 54px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 70px; }
.games-heading .eyebrow { color: var(--yellow); }
.games-heading h2 { margin: 0; font-size: clamp(48px, 6vw, 78px); line-height: .93; letter-spacing: -.065em; }
.games-heading h2 em { color: #8d81ff; }
.games-heading > p { max-width: 440px; margin: 0 0 6px; color: rgba(255,255,255,.62); font-size: 16px; line-height: 1.55; }
.portal-games-grid { width: min(1160px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.portal-game-card { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 23px; background: #29264a; transition: transform .25s ease, box-shadow .25s ease; }
.portal-game-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0,0,0,.25); }
.card-visual { position: relative; display: block; height: 345px; overflow: hidden; text-decoration: none; }
.card-label { position: absolute; z-index: 8; left: 22px; top: 22px; padding: 8px 11px; border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: 8px; font-weight: 950; letter-spacing: .13em; }
.play-orb { position: absolute; z-index: 9; right: 25px; bottom: 25px; display: grid; place-items: center; width: 60px; height: 60px; padding-left: 4px; border: 4px solid var(--ink); border-radius: 50%; color: #fff; background: var(--coral); box-shadow: 0 9px 0 rgba(30,28,59,.22); transition: transform .2s ease; }
.card-visual:hover .play-orb { transform: scale(1.09) rotate(-5deg); }
.shooter-visual { background: linear-gradient(155deg, #c8f4ff, #7769eb); }
.shooter-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 90%, rgba(255,255,255,.28), transparent 24%), linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: auto, 38px 38px, 38px 38px; }
.preview-bubbles { position: absolute; z-index: 2; left: 50%; top: 7%; width: 390px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(10, 1fr); gap: 1px; }
.preview-bubbles i { display: block; width: 38px; height: 38px; border: 3px solid var(--ink); border-radius: 50%; background: var(--coral); box-shadow: inset 7px 7px 0 rgba(255,255,255,.42), inset -5px -6px 0 rgba(38,29,103,.17); }
.preview-bubbles i:nth-child(6n+2) { background: var(--yellow); }
.preview-bubbles i:nth-child(6n+3) { background: #5c74ef; }
.preview-bubbles i:nth-child(6n+4) { background: var(--mint); }
.preview-bubbles i:nth-child(6n+5) { background: #a666e8; }
.preview-bubbles i:nth-child(6n) { background: #35c9de; }
.preview-bubbles i:nth-child(n+11):nth-child(-n+20) { transform: translateX(19px); }
.preview-cannon { position: absolute; z-index: 3; left: 50%; bottom: 20px; width: 34px; height: 80px; border: 4px solid var(--ink); border-radius: 17px 17px 8px 8px; background: #fff; transform: translateX(-50%); }
.preview-cannon i { position: absolute; width: 48px; height: 48px; left: -11px; top: -23px; border: 4px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: inset 8px 8px 0 rgba(255,255,255,.5); }
.recre-visual { background: linear-gradient(#afe7f1 0 70%, #e8be7b 70%); }
.recre-visual::before { content: ""; position: absolute; width: 55%; height: 40%; left: 22.5%; top: 14%; border: 8px solid #eee2c7; border-radius: 8px; background: #3e7973; box-shadow: 0 8px 0 rgba(30,28,59,.12); }
.class-board { position: absolute; z-index: 2; top: 29%; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.card-mascot { position: absolute; z-index: 4; left: 24%; bottom: 28px; transform: scale(1.18); }
.mini-gribouille { position: absolute; z-index: 3; display: grid; place-items: center; width: 56px; height: 51px; border: 4px solid var(--ink); border-radius: 50% 46% 43% 48%; color: var(--ink); background: var(--mint); font-size: 24px; font-weight: 1000; letter-spacing: 5px; line-height: .5; }
.mini-gribouille.one { right: 23%; top: 45%; }.mini-gribouille.two { right: 38%; bottom: 19px; width: 45px; height: 42px; background: var(--coral); font-size: 18px; }
.solo-card { grid-column: auto; display: block; }
.solo-card .card-visual { min-height: 0; height: 345px; }
.solo-card .card-info { display: block; padding: 29px 30px 33px; }
.solo-card .card-info p { max-width: none; }
.solo-visual { background: radial-gradient(circle at 50% 46%, #fff8df, #d8f5ee 68%, #8fd5c6); }
.solo-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 14% 20%, rgba(255,255,255,.6), transparent 19%), linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: auto, 38px 38px, 38px 38px; }
.home-solo-board { position: absolute; z-index: 2; left: 50%; top: 50%; width: 285px; height: 285px; transform: translate(-50%, -48%); border: 8px solid #6d3f20; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #f3d995, #d39a51 58%, #8c5429); box-shadow: inset 0 0 0 8px rgba(255,235,176,.42), 0 20px 35px rgba(76,45,24,.28); }
.home-solo-board::after { content: ""; position: absolute; inset: 18px; border: 2px solid rgba(105,58,25,.25); border-radius: 50%; }
.home-solo-board i { position: absolute; z-index: 2; display: block; width: 31px; height: 31px; border: 3px solid #211942; border-radius: 50%; background: radial-gradient(circle at 30% 24%, #fff 0 7%, #afa5ff 15%, #6757e8 55%, #211942 100%); box-shadow: 0 6px 7px rgba(53,27,15,.4); }
.home-solo-board i:nth-child(1) { left: 119px; top: 26px; }
.home-solo-board i:nth-child(2) { left: 78px; top: 66px; }.home-solo-board i:nth-child(3) { left: 119px; top: 66px; }.home-solo-board i:nth-child(4) { left: 160px; top: 66px; }
.home-solo-board i:nth-child(5) { left: 37px; top: 106px; }.home-solo-board i:nth-child(6) { left: 78px; top: 106px; }.home-solo-board i:nth-child(7) { left: 119px; top: 106px; }.home-solo-board i:nth-child(8) { left: 160px; top: 106px; }.home-solo-board i:nth-child(9) { left: 201px; top: 106px; }
.home-solo-board i:nth-child(10) { left: 37px; top: 146px; }.home-solo-board i:nth-child(11) { left: 78px; top: 146px; }.home-solo-board i:nth-child(12) { left: 119px; top: 146px; background: #3d2113; box-shadow: inset 0 4px 5px rgba(0,0,0,.45); }.home-solo-board i:nth-child(13) { left: 160px; top: 146px; }.home-solo-board i:nth-child(14) { left: 201px; top: 146px; }
.home-solo-board i:nth-child(15) { left: 78px; top: 186px; }.home-solo-board i:nth-child(16) { left: 119px; top: 186px; }.home-solo-board i:nth-child(17) { left: 160px; top: 186px; }
.solo-jump-line { position: absolute; z-index: 5; left: 50%; top: 21%; color: #ffd44d; font-size: 70px; font-weight: 900; transform: translateX(-50%) rotate(-7deg); text-shadow: 0 3px 0 #5d3b25; }
.maze-visual { background: radial-gradient(circle at 50% 42%, #f8f0d1, #d6f1e9 68%, #87cfc2); }
.maze-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 20%, rgba(255,255,255,.6), transparent 22%), linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: auto, 38px 38px, 38px 38px; }
.home-maze-board { position: absolute; z-index: 2; left: 50%; top: 51%; width: 300px; height: 255px; transform: translate(-50%, -50%) rotate(-3deg); border: 11px solid #774722; border-radius: 18px; background: linear-gradient(145deg, #f1da97, #c98f49); box-shadow: inset 0 0 0 7px rgba(255,241,196,.5), 0 20px 34px rgba(71,42,22,.3); }
.home-maze-board .maze-wall { position: absolute; z-index: 3; display: block; border-radius: 4px; background: linear-gradient(#f0c978, #79502b); box-shadow: 2px 3px 4px rgba(61,36,18,.3); }
.home-maze-board .w1 { width: 154px; height: 9px; left: 22px; top: 45px; }
.home-maze-board .w2 { width: 9px; height: 113px; left: 101px; top: 46px; }
.home-maze-board .w3 { width: 126px; height: 9px; right: 21px; top: 112px; }
.home-maze-board .w4 { width: 9px; height: 82px; right: 65px; top: 31px; }
.home-maze-board .w5 { width: 155px; height: 9px; left: 36px; bottom: 42px; }
.home-maze-board .w6 { width: 9px; height: 62px; left: 57px; bottom: 42px; }
.home-maze-board .maze-hole { position: absolute; z-index: 2; display: block; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #1b1420, #030207 70%); box-shadow: 0 0 0 4px rgba(96,53,24,.25); }
.home-maze-board .h1 { right: 24px; top: 30px; }.home-maze-board .h2 { left: 132px; top: 76px; }.home-maze-board .h3 { left: 25px; bottom: 25px; }.home-maze-board .h4 { right: 106px; bottom: 20px; }
.home-maze-board .maze-ball { position: absolute; z-index: 5; left: 31px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff 0 8%, #e5faff 16%, #9299a4 48%, #f4f0e7 66%, #2e2d3b 100%); box-shadow: 4px 6px 7px rgba(50,30,17,.4); }
.home-maze-board .maze-goal { position: absolute; z-index: 2; right: 25px; bottom: 18px; width: 35px; height: 35px; border: 6px solid var(--mint); border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.card-info { padding: 29px 30px 33px; }
.card-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; color: rgba(255,255,255,.5); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--mint); }
.card-info h3 { margin: 0 0 10px; font-size: 39px; line-height: 1; letter-spacing: -.055em; }
.card-info p { min-height: 65px; margin: 0 0 24px; color: rgba(255,255,255,.64); font-size: 14px; line-height: 1.55; }
.card-button { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: #fff; text-decoration: none; text-transform: uppercase; font-size: 9px; font-weight: 900; letter-spacing: .12em; transition: color .2s ease, background .2s ease; }
.card-button:hover { color: var(--ink); background: var(--yellow); }
.card-button span { font-size: 16px; }

.portal-benefits { width: min(1160px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(30,28,59,.12); border-top: 0; border-radius: 0 0 20px 20px; background: #fff; box-shadow: 0 20px 55px rgba(34,28,86,.08); }
.portal-benefits div { min-height: 145px; padding: 30px; display: flex; align-items: center; gap: 22px; border-right: 1px solid rgba(30,28,59,.1); }
.portal-benefits div:last-child { border: 0; }
.portal-benefits strong { color: var(--purple); font-size: 11px; letter-spacing: .1em; }
.portal-benefits span { font-size: 12px; font-weight: 900; line-height: 1.35; text-transform: uppercase; letter-spacing: .05em; }
.portal-about { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 115px 0 125px; }
.portal-about > div { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.portal-about h2 { margin: 0; font-size: clamp(50px, 6vw, 78px); line-height: .94; letter-spacing: -.065em; }
.about-copy { padding-top: 8px; columns: 2; column-gap: 35px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.about-copy p { margin: 0 0 20px; break-inside: avoid; }

@media (max-width: 900px) {
  .portal-hero { min-height: 560px; grid-template-columns: 1.15fr .85fr; }
  .portal-orbit { width: 41vw; }
  .portal-badge { width: 108px; height: 108px; }
  .portal-badge strong { font-size: 42px; }
  .preview-bubbles { transform: translateX(-50%) scale(.86); transform-origin: top center; }
  .portal-benefits { grid-template-columns: 1fr 1fr; }
  .portal-benefits div:nth-child(2) { border-right: 0; }
  .portal-benefits div:nth-child(-n+2) { border-bottom: 1px solid rgba(30,28,59,.1); }
}

@media (max-width: 760px) {
  .breadcrumb { width: calc(100% - 34px); margin: 20px auto -22px; }
  .shooter-canvas-wrap { aspect-ratio: 8/5; }
  .shooter-start .shooter-preview { transform: scale(.72); margin: -17px 0 -10px; }
  .shooter-controls span { display: none; }
  .shooter-controls .touch-hint { display: inline-flex; }
  .solo-canvas-wrap { aspect-ratio: 48/31; }
  .solo-start .solo-preview { transform: scale(.68); margin: -24px 0 -18px; }
  .solo-toolbar { margin-top: 16px; gap: 6px; }
  .solo-toolbar button { padding: 8px 11px; font-size: 8px; }
  .solo-controls span { display: none; }
  .solo-controls .touch-hint { display: inline-flex; }
  .maze-canvas-wrap { aspect-ratio: 48/31; }
  .maze-start .maze-preview { transform: rotate(-2deg) scale(.66); margin: -25px 0 -18px; }
  .maze-toolbar { margin-top: 16px; gap: 6px; }
  .maze-toolbar button { padding: 8px 11px; font-size: 8px; }
  .maze-controls span { display: none; }
  .maze-controls .touch-hint { display: inline-flex; }
  .portal-header { grid-template-columns: 1fr auto; }
  .portal-nav a:first-child { display: none; }
  .portal-nav { gap: 0; }
  .portal-nav .nav-play { padding: 8px 9px 8px 14px; }
  .portal-hero { width: calc(100% - 34px); min-height: auto; grid-template-columns: 1fr; padding: 58px 0 72px; }
  .portal-hero h1 { margin-bottom: 30px; font-size: clamp(72px, 23vw, 105px); }
  .portal-hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .portal-orbit { justify-self: center; width: min(410px, 88vw); margin-top: 35px; }
  .portal-badge { right: 0; }
  .games-selection { padding-top: 70px; padding-bottom: 72px; }
  .games-heading { display: block; margin-bottom: 36px; }
  .games-heading > p { margin-top: 25px; font-size: 14px; }
  .portal-games-grid { grid-template-columns: 1fr; }
  .solo-card { grid-column: auto; display: block; }
  .solo-card .card-visual { min-height: 0; height: min(345px, 76vw); }
  .solo-card .card-info { display: block; padding: 29px 30px 33px; }
  .card-visual { height: min(345px, 76vw); }
  .preview-bubbles { transform: translateX(-50%) scale(.78); }
  .card-info h3 { font-size: 33px; }
  .portal-benefits { width: calc(100% - 34px); }
  .portal-benefits div { min-height: 110px; padding: 22px; }
  .portal-about { width: calc(100% - 34px); padding: 80px 0 85px; }
  .portal-about > div { grid-template-columns: 1fr; gap: 30px; }
  .about-copy { columns: 1; }
}

@media (max-width: 460px) {
  .portal-orbit > p { font-size: 59px; }
  .portal-badge { width: 94px; height: 94px; border-width: 4px; }
  .portal-badge strong { font-size: 37px; }
  .portal-badge span { font-size: 7px; }
  .portal-benefits div { flex-direction: column; align-items: flex-start; gap: 9px; }
  .card-info { padding: 25px 23px 28px; }
  .preview-bubbles { transform: translateX(-50%) scale(.68); }
  .card-mascot { left: 17%; }
  .home-solo-board { transform: translate(-50%, -48%) scale(.78); }
  .home-maze-board { transform: translate(-50%, -50%) rotate(-3deg) scale(.82); }
}

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