/* Stjær Spillet: fælles udseende til minispillene. Store knapper, ingen tekst man skal kunne læse. */
:root { --sj-ink: #1d3557; --sj-sky: #7fd3ee; --sj-grass: #8ed15a; --sj-sun: #ffd23f; --sj-go: #2e9e4f; --sj-paper: #ffffff; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; display: flex; flex-direction: column; background: var(--sj-grass); color: var(--sj-ink); overflow: hidden;
       font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
       -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
[hidden] { display: none !important; }

.sj-top, .sj-bottom { flex: none; display: flex; align-items: center; gap: .6rem; z-index: 2;
    padding-left: max(.6rem, env(safe-area-inset-left, 0px)); padding-right: max(.6rem, env(safe-area-inset-right, 0px)); }
.sj-top { justify-content: space-between; padding-top: calc(.5rem + env(safe-area-inset-top, 0px)); padding-bottom: .3rem; }
.sj-bottom { justify-content: center; min-height: 92px; padding-top: .3rem; padding-bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); }
.sj-group { display: flex; align-items: center; gap: .5rem; }

.sj-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 60px; height: 60px; padding: 0 .7rem;
    border: 4px solid #fff; border-radius: 999px; background: var(--sj-paper); color: var(--sj-ink);
    font: inherit; font-size: 1.9rem; line-height: 1; text-decoration: none; cursor: pointer;
    box-shadow: 0 4px 0 rgba(29, 53, 87, .28), 0 6px 14px rgba(0, 0, 0, .16); transition: transform .08s; }
.sj-btn:active { transform: translateY(3px) scale(.96); box-shadow: 0 1px 0 rgba(29, 53, 87, .28); }
.sj-btn:focus-visible { outline: 4px dashed var(--sj-ink); outline-offset: 3px; }
.sj-btn-go { min-width: 84px; height: 84px; background: var(--sj-go); color: #fff; font-size: 2.6rem; animation: sj-pulse 1.4s ease-in-out infinite; }
.sj-btn-go span { transform: translateX(3px); }
.sj-avatar { font-size: 2.1rem; }
.sj-name { font-size: 1.1rem; font-weight: 700; max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: .3rem; }
@keyframes sj-pulse { 50% { transform: scale(1.09); } }

@media (prefers-reduced-motion: reduce) { .sj-btn-go { animation: none; } }
