/* The SSO plan page (/sso-ms). Joel's Arcade neon look, from privacy.html.
   No fonts, scripts or images from anywhere else (see its CSP in src/index.ts). */
:root {
  --cyan: #00f0ff;
  --pink: #ff2d95;
  --yellow: #ffe600;
  --green: #39ff14;
  --ink: #d7eef2;
  --bg: #05010f;
  --panel: rgba(8, 2, 24, 0.78);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100%;
  background: radial-gradient(ellipse at top, #0a0220 0%, var(--bg) 70%, #000 100%) fixed;
  background-color: var(--bg);
  font-family: 'Courier New', monospace;
  color: var(--ink);
  letter-spacing: .3px;
  line-height: 1.65;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  overflow-wrap: break-word;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 80;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, .12) 3px 4px);
}
a { color: var(--cyan); }
a:hover { color: var(--yellow); }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 16px; }
[id] { scroll-margin-top: 76px; } /* clear the sticky header on #kids / #grown-ups */

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: bold;
}
.skip:focus { top: 12px; color: var(--bg); }

header {
  position: sticky; top: 0; z-index: 90;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  background: rgba(5, 1, 15, .86); border-bottom: 1px solid rgba(0, 240, 255, .2);
  padding-top: env(safe-area-inset-top);
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.brand {
  font-weight: bold; letter-spacing: 3px; color: var(--pink); text-shadow: 0 0 10px var(--pink);
  font-size: clamp(15px, 3.4vw, 20px); white-space: nowrap;
}
.brand span { color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }
.chip {
  font-weight: bold; letter-spacing: 2px; font-size: 14px; color: var(--bg); background: var(--green);
  padding: 8px 14px; border-radius: 8px; box-shadow: 0 0 14px rgba(57, 255, 20, .6); white-space: nowrap;
}

.hero { text-align: center; padding: 44px 0 10px; }
h1 {
  font-size: clamp(40px, 12vw, 72px); letter-spacing: 6px; color: var(--pink); line-height: 1.1;
  text-shadow: 0 0 16px var(--pink), 4px 4px 0 var(--cyan);
}
.tagline { text-wrap: balance; color: var(--yellow); text-shadow: 0 0 8px var(--yellow); letter-spacing: 2px; margin: 12px 0 0; font-size: 16px; }
.jump { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 22px 0 0; }
.jump a {
  text-decoration: none; font-weight: bold; letter-spacing: 1px; padding: 10px 16px; border-radius: 10px;
  border: 2px solid currentColor; min-width: 150px;
}
.jump a:first-child { color: var(--green); }
.jump a:last-child { color: var(--cyan); }
.jump a:hover { color: var(--yellow); }

h2.part {
  font-size: clamp(24px, 6vw, 32px); letter-spacing: 3px; margin: 36px 0 6px; text-transform: uppercase;
}
.kids h2.part { color: var(--green); text-shadow: 0 0 10px var(--green); }
.grown h2.part { color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }

section {
  background: var(--panel); border: 2px solid rgba(0, 240, 255, .25); border-radius: 14px;
  padding: 20px 20px 14px; margin: 16px 0; box-shadow: 0 0 20px rgba(0, 240, 255, .08);
}
section.kid { border-color: rgba(57, 255, 20, .45); box-shadow: 0 0 22px rgba(57, 255, 20, .1); }
h3 { color: var(--yellow); letter-spacing: 1px; font-size: clamp(18px, 4.6vw, 22px); margin: 0 0 10px; line-height: 1.3; }
.kids h3 { font-size: clamp(20px, 5.2vw, 24px); }
p { margin-bottom: 12px; font-size: 16px; }
.kids p, .kids li { font-size: 17px; }
ul { margin: 0 0 12px 22px; }
li { margin: 6px 0; font-size: 16px; }
strong { color: #fff; }

.games {
  list-style: none; margin: 0 0 12px; display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.games li {
  margin: 0; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(0, 240, 255, .35);
  background: rgba(0, 240, 255, .06); color: #fff;
}
.games li::before { content: "🎮 "; }

table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 9px 8px; border-bottom: 1px solid rgba(0, 240, 255, .15); }
th { color: var(--pink); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
td:first-child { color: var(--yellow); font-weight: bold; width: 3.5em; }
td:last-child { white-space: nowrap; }
tr.now td { background: rgba(255, 45, 149, .1); }
.st { display: inline-block; padding: 2px 8px; border-radius: 6px; font-weight: bold; font-size: 14px; }
.st.done { color: var(--green); border: 1px solid rgba(57, 255, 20, .6); }
.st.now { color: var(--bg); background: var(--pink); }
.st.next { color: var(--yellow); border: 1px solid rgba(255, 230, 0, .6); }
.st.later { color: var(--ink); border: 1px solid rgba(215, 238, 242, .4); }

@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { border-bottom: 1px solid rgba(0, 240, 255, .2); padding: 10px 0; }
  td { border: none; padding: 2px 0; width: auto; }
  td:first-child { width: auto; }
  td:first-child::before { content: "Phase "; }
  td:last-child { white-space: normal; margin-top: 4px; }
  tr.now { background: rgba(255, 45, 149, .1); border-radius: 8px; padding: 10px 8px; }
  tr.now td { background: none; }
}

.contact { border-color: rgba(255, 230, 0, .45); }
.updated { text-align: center; opacity: .8; font-size: 13px; margin-top: 10px; }
footer {
  border-top: 1px solid rgba(0, 240, 255, .2); margin-top: 30px; text-align: center; font-size: 14px; opacity: .85;
  padding: 26px 0 calc(40px + env(safe-area-inset-bottom));
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
