/* The parent's screens before the game (Kimmi Dev, 30.11): sign in, and "who is playing?". The app's own look (app/home):
   the hero's blue with its rays, white surfaces with a solid foot, an orange main button, five sizes, one corner. */
:root { --t1: 14px; --t2: 17px; --t3: 22px; --t4: 30px; --t5: 40px; --r: 14px; --foot: 5px; --navy: #0b2f78;
  --surface-sh: 0 var(--foot) 0 var(--k-edge), 0 18px 32px #06205a59; }
html { height: 100%; background: radial-gradient(90% 80% at 30% 40%, #4aa8ff 0%, #2478f0 38%, #1554c8 70%, #0d3a96 100%) fixed; }
body { margin: 0; min-height: 100%; font-family: var(--k-font); font-weight: 600; color: var(--k-ink); -webkit-tap-highlight-color: transparent; display: grid; place-items: center; }
body::before { content: ''; position: fixed; inset: -25%; pointer-events: none; opacity: .13; z-index: -1;
  background: repeating-conic-gradient(from 0deg at 50% 50%, #fff 0deg 6deg, transparent 6deg 18deg); animation: rays 90s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.title { margin: 0; color: #fff; font-size: var(--t5); font-weight: 700; text-align: center; text-shadow: 0 3px 0 var(--navy), 0 8px 18px #06205a66; }
.sub { margin: 8px 0 0; color: #e2ecff; font-size: var(--t2); text-align: center; text-shadow: 0 2px 0 #0b2f7888; }
.card { background: var(--k-paper); border-radius: var(--r); box-shadow: var(--surface-sh); }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 28px; border-radius: var(--r); background: var(--k-accent); color: #fff; font-weight: 700; font-size: var(--t3); box-shadow: 0 var(--foot) 0 var(--k-accent-edge); }
.primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--k-accent-edge); }
.primary:disabled { opacity: .6; transform: none; }
.ghost { color: var(--k-ink-soft); font-size: var(--t2); text-decoration: underline; }
.field { width: 100%; box-sizing: border-box; height: 58px; padding: 0 18px; border: 0; border-radius: var(--r); background: #f3f6fb; color: var(--k-ink); font: inherit; font-size: var(--t3); font-weight: 700; box-shadow: inset 0 0 0 2px #dde5f0; outline: none; }
.field:focus { box-shadow: inset 0 0 0 3px var(--k-accent); background: #fff; }
.msg { min-height: 1.4em; margin: 0; font-size: var(--t2); color: var(--k-ink-soft); text-align: center; }
.msg.err { color: #c2361b; }
/* (the rays as one square bigger than the screen's diagonal: no cut edges as they turn) */
body::before { inset: auto; left: 50%; top: 50%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; }
