/* SNOOKERBRAIN /live · Etappe 6 — style after the website: dark green and cream, Paralucent, square shapes */
:root {
    --bg-color: #1c4828;     /* dark green */
    --text-color: #fbf8d8;   /* cream */
    --cream-70: rgba(251,248,216,0.7);
    --cream-35: rgba(251,248,216,0.35);
    --cream-20: rgba(251,248,216,0.2);
    --focus: #f9d761;
    --font-main: "paralucent", "Helvetica Neue", Arial, sans-serif;
    --font-cond: "paralucent-condensed", "paralucent", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    font-weight: 300;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

p {
    font-weight: 300;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
    margin: 0 0 2rem;
}

a { color: inherit; }
a:focus-visible, button:focus-visible, input[type="checkbox"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ---------- header ---------- */
header {
    text-align: center;
    margin-bottom: 3rem;
}
.logo { max-width: 120px; margin-bottom: 20px; }

h1 {
    font-weight: 700;
    font-size: 3rem;
    letter-spacing: 0.08em;
    margin: 0.67em 0;
}
h1 a { text-decoration: none; color: var(--text-color); }

h2 {
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* ---------- live indicator (top right): the same badge as on the home page, scoreboard and admin;
   it scrolls away with the page ---------- */
.live-indicator {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 10;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    line-height: 1.2;
    background: rgba(28,72,40,0.6);
    padding: 6px 12px;
    border: 1px solid var(--cream-20);
    border-radius: 4px;
    transition: background 0.3s, border-color 0.3s, opacity 0.3s;
}
.live-indicator:hover { background: rgba(28,72,40,0.9); border-color: rgba(251,248,216,0.6); }

.live-dot {
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    transition: background-color .3s, box-shadow .3s;
}
.live-indicator[data-live="true"] .live-dot {
    background-color: #2ec4b6;
    box-shadow: 0 0 0 0 rgba(46,196,182,0.7);
    animation: pulse-green 1.6s infinite;
}
.live-indicator[data-live="true"] .live-text::after { content: "LIVE"; }
.live-indicator[data-live="false"] .live-dot {
    background-color: #e63946;
    box-shadow: 0 0 0 0 rgba(230,57,70,0.4);
    animation: pulse-red 2.5s infinite;
}
.live-indicator[data-live="false"] .live-text::after { content: "OFFLINE"; }

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46,196,182,0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46,196,182,0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46,196,182,0); }
}
@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230,57,70,0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(230,57,70,0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230,57,70,0); }
}

/* ---------- labels: small, capitals, spaced, light ---------- */
.lbl, label, .queue-box h2, .stream-box h2 {
    display: block;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ---------- now playing / playing next ---------- */
.table-now {
    text-align: center;
    margin: 0 0 3rem;
}
.table-now .lbl { margin-bottom: 1rem; }
.pair {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 1rem;
}
.who { display: block; min-width: 0; }
.who b {
    display: block;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.who small { display: block; font-size: 0.75rem; letter-spacing: 0.18em; opacity: 0.8; margin-top: 0.3rem; }
.who small + small { margin-top: 0; }
.who.empty { font-weight: 700; font-size: 1.8rem; line-height: 1.15; opacity: 0.45; }
.pair .vs { font-size: 0.85rem; letter-spacing: 0.3em; opacity: 0.7; padding-top: 0.6rem; }

/* ---------- challenge box: sign up, your place ---------- */
.challenge-box {
    text-align: center;
    margin: 3rem 0;
    padding: 3rem 2rem;
    border: 1px solid var(--cream-70);
    background: transparent;
}
.challenge-box h2 { margin: 0 0 1.5rem; }
.challenge-box .lead { margin-bottom: 2rem; }
.challenge-box .note { font-size: 1rem; font-weight: 700; margin: -0.5rem 0 1.5rem; }
.challenge-box .small-note { margin: 2rem 0 0; font-size: 0.9rem; opacity: 0.8; }
.challenge-box .ask { font-size: 1rem; margin-bottom: 0.5rem; }

.place { margin: 0 0 1.5rem; }
.place b { display: block; font-size: 5rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; margin: 0.5rem 0; }
.place .me { display: block; font-family: var(--font-cond); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- buttons: transparent with a cream line, inverted on hover ---------- */
.btn {
    display: inline-block;
    background: transparent;
    color: var(--text-color);
    padding: 12px 24px;
    min-height: 48px;
    font-family: var(--font-main);
    font-weight: 300;
    letter-spacing: 0.05em;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 0;
    border: 1px solid var(--text-color);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    margin-top: 1rem;
}
.btn.big { font-size: 1.15rem; padding: 14px 32px; }
.btn:hover { background: var(--text-color); color: var(--bg-color); }
.btn:disabled, .btn:disabled:hover {
    opacity: 0.35;
    background: transparent;
    color: var(--text-color);
    cursor: default;
}
.linkbtn {
    background: none;
    border: 0;
    padding: 0.5rem 0;
    color: var(--text-color);
    font: inherit;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-decoration: underline;
    cursor: pointer;
}

/* ---------- forms ---------- */
form { text-align: left; max-width: 420px; margin: 0 auto; }
form label { margin: 1.25rem 0 0.5rem; }
form label:first-child { margin-top: 0; }
input:not([type="checkbox"]) {
    display: block;
    width: 100%;
    font-family: var(--font-main);
    font-size: 1.15rem;          /* 16 px or more: phones do not zoom in */
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-color);
    background: transparent;
    border: 1px solid var(--cream-70);
    border-radius: 0;
    padding: 12px 14px;
    -webkit-appearance: none;
    appearance: none;
}
/* text fields: a stronger cream line while typing (the yellow focus frame is for keyboard use on buttons and links) */
input:not([type="checkbox"]):focus, input:not([type="checkbox"]):focus-visible { border-color: var(--text-color); box-shadow: inset 0 0 0 1px var(--text-color); outline: none; }
#suPin, #loPin { max-width: 8rem; letter-spacing: 0.4em; }
form .hint { font-size: 0.95rem; opacity: 0.85; margin: 1rem 0 1.25rem; }
label.check {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 1;
    cursor: pointer;
    margin: 0;
}
label.check input { width: 22px; height: 22px; margin: 0.15rem 0 0; flex: none; accent-color: #fbf8d8; }
form .msg { font-size: 1rem; font-weight: 700; min-height: 1.6em; margin: 1rem 0 0; }
form .msg:empty { min-height: 0; margin: 0; }
form .btns { text-align: center; margin-top: 0.5rem; }

/* ---------- the queue ---------- */
.queue-box { margin: 0 0 3rem; }
.queue-box h2 { text-align: center; margin: 0 0 1rem; }
.qlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cream-35); }
.qlist li {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.7rem 0.25rem;
    border-bottom: 1px solid var(--cream-20);
}
.qlist .pos { width: 2rem; flex: none; text-align: right; opacity: 0.7; font-variant-numeric: tabular-nums; }
.qlist .nm {
    flex: 1;
    min-width: 0;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.qlist li.mine { border-left: 2px solid var(--text-color); }
.badge, .tag {
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 2px 7px;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    white-space: nowrap;
}
.badge { margin-left: 0.6rem; vertical-align: 2px; }
.tag { flex: none; }
.queue-box .empty { text-align: center; font-size: 1.05rem; opacity: 0.85; }
.queue-box .other { text-align: center; margin: 1rem 0 0; font-size: 0.9rem; }
#leaveOther { margin-top: 1rem; padding: 1.5rem; border: 1px solid var(--cream-35); }
#leaveOther .btn { margin-top: 1rem; }
[hidden] { display: none !important; }

/* ---------- live stream ---------- */
.stream-box { text-align: center; margin: 0 0 3rem; }
.stream-box h2 { margin: 0 0 1rem; }
.stream-frame { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--cream-70); background: #000; }
.stream-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- the running match with its score ---------- */
.pair.score { align-items: start; }
.pts { display: block; text-align: center; white-space: nowrap; }
.pts .num { display: block; font-weight: 700; font-size: 2.6rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pts i { font-style: normal; font-weight: 300; margin: 0 0.25em; opacity: 0.7; }
.pts small { display: block; font-size: 0.75rem; letter-spacing: 0.18em; opacity: 0.8; margin-top: 0.3rem; }
.who.on b::before { content: ""; display: inline-block; width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--text-color); margin-right: 0.35em; vertical-align: 0.15em; }

/* ---------- links under a box ---------- */
.queue-link { display: block; margin-top: 1.5rem; font-size: 0.9rem; letter-spacing: 0.05em; color: var(--text-color); text-decoration: underline; }
.center { text-align: center; }
.muted, .small { font-size: 0.95rem; opacity: 0.8; }
.empty { text-align: center; font-size: 1.05rem; opacity: 0.85; }

/* ---------- challenge board ---------- */
.board, .ranking { margin: 4rem 0 0; }
.board h2, .ranking h2, .rules h2, .minigame h2 { text-align: center; text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 1.5rem; }
.mlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cream-35); }
.mlist > li { border-bottom: 1px solid var(--cream-20); }
.mrow {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    align-items: baseline;
    gap: 0.25rem 1rem;
    width: 100%;
    padding: 0.8rem 0.25rem;
    background: none;
    border: 0;
    color: var(--text-color);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.mrow:hover .res { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mrow .when { font-size: 0.8rem; letter-spacing: 0.08em; opacity: 0.75; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mrow .res { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; font-family: var(--font-cond); font-size: 1.2rem; letter-spacing: 0.04em; text-transform: uppercase; }
.mrow .pa, .mrow .pb { font-weight: 300; }
.mrow .win { font-weight: 700; }
.mrow .fr { font-family: var(--font-main); font-weight: 700; font-variant-numeric: tabular-nums; }
.mrow .note { grid-column: 2; font-size: 0.75rem; letter-spacing: 0.18em; opacity: 0.8; }
.m.run .mrow .res { font-weight: 700; }
.m.run .mrow .pa, .m.run .mrow .pb { font-weight: 700; }
.mdet { padding: 0.5rem 0.25rem 1.5rem; }
.mdet .meta { font-size: 0.8rem; letter-spacing: 0.15em; opacity: 0.8; margin: 0 0 1rem; }
.mdet .small { margin: 0 0 1rem; }
.mdet h4 { font-size: 0.8rem; font-weight: 300; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; margin: 1.25rem 0 0.5rem; }
.ft { border-collapse: collapse; }
.ft td { padding: 0.2rem 0.5rem 0.2rem 0; font-size: 1rem; }
.ft td.no { opacity: 0.7; padding-right: 1rem; }
.ft td.num { font-variant-numeric: tabular-nums; text-align: right; min-width: 2.2rem; }
.ft td.win { font-weight: 700; }
.ft td.why { font-size: 0.8rem; letter-spacing: 0.1em; opacity: 0.75; padding-left: 0.75rem; }
.brk { list-style: none; margin: 0; padding: 0; }
.brk li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; padding: 0.3rem 0; font-size: 1rem; }
.brk b { min-width: 2.2rem; font-size: 1.15rem; }
.balls { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.ball { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.ball.red { background: #a03132; } .ball.yellow { background: #f9d761; } .ball.green { background: #478872; } .ball.brown { background: #a26029; }
.ball.blue { background: #4e78bc; } .ball.pink { background: #dc778e; } .ball.black { background: #141415; box-shadow: inset 0 0 0 1px var(--cream-35); }
.ball.fb { outline: 1px dashed var(--text-color); outline-offset: 1px; }
.st { width: 100%; max-width: 420px; border-collapse: collapse; }
.st th { font-family: var(--font-cond); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; text-align: right; padding: 0 0 0.4rem 0.75rem; }
.st td { font-size: 0.95rem; padding: 0.25rem 0; border-top: 1px solid var(--cream-20); }
.st td.num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; padding-left: 0.75rem; white-space: nowrap; }
.mdet .links { font-size: 0.9rem; margin: 1.25rem 0 0; }

/* ---------- ranking ---------- */
.rank { width: 100%; border-collapse: collapse; }
.rank th { font-size: 0.75rem; font-weight: 300; letter-spacing: 0.15em; opacity: 0.8; padding: 0 0 0.6rem; text-align: right; }
.rank th.l, .rank td.l { text-align: left; }
.rank th.r, .rank td.r { text-align: right; width: 2.25rem; padding-right: 0.9rem; }
.rank td { padding: 0.65rem 0 0.65rem 0.75rem; border-top: 1px solid var(--cream-20); font-variant-numeric: tabular-nums; text-align: right; }
.rank td.r { padding-left: 0; opacity: 0.75; }
.rank td.l { padding-left: 0; font-family: var(--font-cond); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; overflow-wrap: anywhere; }
.rank td.l a { text-decoration: none; }
.rank td.l a:hover { text-decoration: underline; }
.rank td.num:not(.r) { font-weight: 700; width: 4.5rem; }
.rank tr.mine td.l a::after { content: " · YOU"; font-family: var(--font-main); font-size: 0.7rem; letter-spacing: 0.15em; font-weight: 700; }
.rank .sm { display: none; }
.ranking .legend { font-size: 0.85rem; opacity: 0.8; text-align: center; margin: 1.25rem 0 0; }

/* ---------- player page ---------- */
.player-page { margin: 0 0 2rem; }
.backline { margin: 0 0 2rem; }
.back { font-size: 0.95rem; letter-spacing: 0.05em; }
.player-page .lbl { text-align: center; }
.pname { text-align: center; font-family: var(--font-cond); font-size: 2.6rem; line-height: 1.1; letter-spacing: 0.05em; text-transform: uppercase; margin: 0.4rem 0 0.4rem; overflow-wrap: anywhere; }
.pstatus { text-align: center; font-size: 0.85rem; letter-spacing: 0.18em; margin: 0 0 2rem; }
.card { border: 1px solid var(--cream-70); padding: 2rem 1.5rem; margin: 0 0 2.5rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1rem; text-align: center; }
.grid.sub { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--cream-35); }
.cell .k { display: block; font-size: 0.7rem; letter-spacing: 0.15em; opacity: 0.8; margin-bottom: 0.35rem; }
.cell .v { display: block; font-size: 2rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.grid.sub .cell .v { font-size: 1.5rem; }
.cell .s { display: block; font-size: 0.75rem; letter-spacing: 0.05em; opacity: 0.8; margin-top: 0.2rem; }
.player-page h3 { text-align: center; font-size: 1rem; letter-spacing: 0.15em; text-transform: uppercase; margin: 0 0 1rem; }
.pmatches { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cream-35); }
.pmatches li { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 0.25rem 1rem; align-items: baseline; padding: 0.7rem 0.25rem; border-bottom: 1px solid var(--cream-20); }
.pmatches .when { font-size: 0.8rem; letter-spacing: 0.08em; opacity: 0.75; white-space: nowrap; }
.pmatches .opp { font-family: var(--font-cond); font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; overflow-wrap: anywhere; }
.pmatches .opp a { font-weight: 700; text-decoration: none; }
.pmatches .opp a:hover { text-decoration: underline; }
.pmatches .out { font-size: 0.8rem; letter-spacing: 0.12em; font-weight: 300; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pmatches .out.win { font-weight: 700; }

/* ---------- how it works: big digits ---------- */
.guide { margin-top: 4rem; padding-top: 2rem; }
.guide h2 { text-align: center; text-transform: uppercase; letter-spacing: 0.12em; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15%, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.step { text-align: center; padding-top: 1.5rem; }
.digit { font-size: 3.2rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.step h3 { margin: 0.75rem 0 0.5rem; font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.step p { font-size: 0.9rem; opacity: 0.8; }

/* ---------- rules and the mini-game ---------- */
.rules { margin-top: 4rem; }
.rules ol { max-width: 640px; margin: 0 auto; padding-left: 1.6rem; }
.rules li { font-size: 1.05rem; letter-spacing: 0.04em; line-height: 1.6; margin-bottom: 0.75rem; padding-left: 0.25rem; }
.rules li::marker { font-weight: 700; }
.minigame { margin-top: 4rem; text-align: center; }
.minigame p { margin-bottom: 0.5rem; }

/* ---------- footer ---------- */
footer {
    margin-top: 4rem;
    text-align: center;
    opacity: 0.6;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---------- phones ---------- */
@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .challenge-box { padding: 2rem 1.25rem; }
    .who b, .who.empty { font-size: 1.35rem; }
    .pts .num { font-size: 2rem; }
    .live-indicator { top: 15px; right: 15px; font-size: 0.75rem; padding: 4px 8px; }
    .mrow { grid-template-columns: 1fr; }
    .mrow .note { grid-column: 1; }
    .rank .lg { display: none; }
    .rank .sm { display: inline; }
    .rank td.num:not(.r) { width: 2.6rem; }
    .rank td { padding-left: 0.5rem; }
    .pname { font-size: 2rem; }
    .card { padding: 1.5rem 1rem; }
    .cell .v { font-size: 1.6rem; }
    .grid.sub .cell .v { font-size: 1.25rem; }
    .cell .k { font-size: 0.62rem; letter-spacing: 0.1em; }
    .pmatches li { grid-template-columns: 1fr auto; }
    .pmatches .when { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    .live-indicator .live-dot { animation: none !important; }
    .btn, .live-indicator { transition: none; }
}


.minigame .btn { display: block; width: fit-content; margin: 0 auto; }
.minigame .btn + .btn { margin-top: 1rem; }
.minigame p { margin-bottom: 1.5rem; }

.live-indicator { pointer-events: none; }
/* ---------- Etappe 9: returning players (welcome back, PIN only), profile (skill level, stronger hand), statistics in groups ---------- */
.challenge-box .notme { margin: -1rem 0 1.25rem; text-align: center; }
form .suinfo { font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.5; margin: 0.75rem 0 0; }
form .suinfo:empty { margin: 0; }
.prof { margin: 1.5rem 0; }
.prof > .lbl, .profbox > .lbl { margin-bottom: 0.75rem; }
.choice { margin: 0 0 1rem; }
.choice .clbl { display: block; font-size: 0.75rem; letter-spacing: 0.18em; opacity: 0.8; margin-bottom: 0.4rem; }
.choice .opts { display: flex; }
.choice .opts button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding: 10px 6px;
    margin: 0 0 0 -1px;
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--cream-70);
    border-radius: 0;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
.choice .opts button:first-child { margin-left: 0; }
.choice .opts button[aria-pressed="true"] { position: relative; background: var(--text-color); color: var(--bg-color); border-color: var(--text-color); }
@media (hover: hover) {
    .choice .opts button:hover { background: var(--cream-20); }
    .choice .opts button[aria-pressed="true"]:hover { background: var(--text-color); }
}
.profbox { text-align: left; max-width: 420px; margin: 0 auto 1.5rem; padding: 1.25rem; border: 1px solid var(--cream-35); }
.profbox .small { font-size: 0.9rem; opacity: 0.85; margin: 0 0 1rem; }
.profbox .msg { font-size: 1rem; font-weight: 700; margin: 0 0 0.5rem; }
.profbox .btns { text-align: center; }
.profbox .btn { margin-top: 0.5rem; }
.profedit { margin: 1rem 0 0; }
.pprof { text-align: center; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em; margin: 0 0 0.4rem; }
.player-page .ghead { text-align: center; font-size: 0.75rem; font-weight: 300; letter-spacing: 0.22em; opacity: 0.8; margin: 1.75rem 0 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--cream-35); }
.grid.sub.g { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 0; padding-top: 0; border-top: 0; }
.grid.sub.g .cell { flex: 0 0 calc((100% - 2rem) / 3); min-width: 0; }
.st tr.sh th { text-align: left; font-family: var(--font-main); font-weight: 300; font-size: 0.75rem; letter-spacing: 0.2em; opacity: 0.8; padding: 1.1rem 0 0.35rem; }
.st tbody:first-of-type tr.sh th { padding-top: 0.2rem; }
@media (max-width: 600px) {
    .choice .opts button { font-size: 0.78rem; letter-spacing: 0.05em; padding: 10px 2px; }
    .profbox { padding: 1rem 0.85rem; }
}
.st td.num .pc { font-weight: 300; opacity: 0.75; margin-left: 0.3rem; }
.mdet .st { max-width: 600px; }
