* { box-sizing: border-box; }
body { margin: 0; background: #f6f7fa; color: #151932; font: 1rem/1.5 Inter, system-ui, sans-serif; }
main { max-width: 900px; padding: 1.5rem; margin: auto; }
h1, h2, h3 { line-height: 1.1; }
a { color: #3430a0; }
nav { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
nav form, nav button { margin: 0; }
form { margin: .8rem 0; }
button, input, textarea, select { font: inherit; }
button { border: 0; border-radius: .45rem; color: white; background: #3430a0; padding: .45rem .75rem; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #d83b9c; outline-offset: 3px; }
input, textarea, select { max-width: 100%; padding: .35rem; border: 1px solid #a6acc4; border-radius: .35rem; background: white; }
input[type=number] { width: 5rem; }
section, details { background: white; padding: 1rem; margin: 1rem 0; border: 1px solid #dcdfee; border-radius: .6rem; }
fieldset { border: 1px solid #dcdfee; margin-bottom: .5rem; }
.notice { border-left: .3rem solid #3430a0; padding: .5rem .8rem; background: white; }
.avatar { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.players { padding: 0; list-style: none; }
.players li { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
video { max-width: 100%; width: 320px; }
[hidden] { display: none !important; }
.screen { color: #fff; background: #070e32; min-height: 100svh; display: grid; place-items: center; }
.stage { position: relative; width: min(100vw, 177.78vh); aspect-ratio: 16/9; max-width: none; padding: 3%; font-size: clamp(.55rem, min(1.45vw, 2.55vh), 2rem); background: radial-gradient(ellipse at 80% 12%, #263478, transparent 55%), #0b1545; }
.stage header { display: flex; justify-content: space-between; align-items: center; letter-spacing: .1em; }
.stage header strong { font-weight: 950; color: #ffe967; font-size: 1.4em; }
.stage header span, .stage small { font-size: .7em; letter-spacing: .1em; font-weight: 800; }
.stage h1 { font-size: 3em; margin: .2em 0 .4em; }
.stage h2 { font-size: 1.2em; margin: .25em 0; }
.stage nav { position: absolute; bottom: 4%; gap: .5em; }
.stage button { background: #1c2d69; padding: .35em .9em; }
.stage button[aria-pressed=true] { background: #ffe967; color: #111740; }
.hero { margin: 1em 0; padding: 1em 1.4em; border-radius: .45em; background: linear-gradient(115deg, #4322a3, #9e237a 62%, #3639aa); }
.cards, .columns { display: grid; gap: .65em; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards article, .columns > div { min-width: 0; background: #172760; border-radius: .45em; padding: .7em .8em; overflow-wrap: anywhere; }
.cards article { border-top: .24em solid #41e5ee; }
.cards article:nth-child(2) { border-color: #ff74bf; }
.cards article:nth-child(3) { border-color: #ffd747; }
.cards article:nth-child(4) { border-color: #ad89ff; }
.cards ul { padding: 0; list-style: none; margin: .5em 0 0; }
.columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.columns p { margin: .4em 0; font-size: .8em; }
.ranking { padding-left: 2em; max-width: 28em; }
.ranking li { padding: .25em .7em; background: #172760; margin-bottom: .22em; border-radius: .3em; }
.ranking strong { float: right; color: #ffe967; }
body:not(.screen) form label:has(input:not([type=checkbox]), select, textarea) { display: block; }
body:not(.screen) form label > :is(input:not([type=checkbox]), select, textarea) { display: block; margin-top: .25rem; }
body:not(.screen) form :is(p, label) > :is(input:not([type=checkbox]), select, textarea) { display: block; }
.absent { color: #9096ae; }

@font-face {
    font-family: "Just Dance";
    src: url("JustDance-Regular.otf") format("opentype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Just Dance";
    src: url("JustDance-Bold.otf") format("opentype");
    font-weight: 700;
    font-display: swap;
}
body { font-family: "Just Dance", system-ui, sans-serif; background: #f7f7f9; color: #14131a; }
button { background: #4f41ba; }
section, details { border-color: #e9e7ed; border-radius: 1rem; }
.site-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: .75rem max(1.25rem, calc((100vw - 1240px)/2)); background: white; border-bottom: 1px solid #e9e7ed; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; font-weight: 700; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { border-left: 1px solid #e9e7ed; padding-left: .75rem; font-size: .8rem; }
.screen-logo { width: 3em; height: 3em; object-fit: contain; }

@font-face { font-family: Helvetica Neue Local; src: url("HelveticaNeue-Roman.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Helvetica Neue Local; src: url("HelveticaNeue-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Tungsten; src: url("Tungsten-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
body, body.app-shell { font-family: "Helvetica Neue Local", "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3 { font-family: Tungsten, "Helvetica Neue Local", sans-serif; font-weight: 700; }
