/* Dvojlov: parta pod kódem — čekárna, pozvánka, výsledky. Stejné třídy a rozložení jako zápas „Třída nebo skupina“ ve Slovolovu
   (slovolov/match.css, třídy sm-*), jen barvy a tokeny Dvojlovu. Dvousloupcové rozložení od 760 px (kód a QR vlevo, hráči a Start vpravo). */
.dv-wide { max-width: min(1100px, 100%); }
.dv-fine { margin: 0; font-size: 13px; color: var(--dv-ink2); }
.dv-empty { margin: 0; font-size: 14px; color: var(--dv-ink2); }
.dv-kicker { margin: 0; text-align: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dv-ink2); }
.sm-mid { text-align: center; margin: 0; }
.dv-page h3 { margin: 6px 0 2px; }
.sm-name { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 800; }
.sm-name input, .sm-codeform input { min-width: 0; height: 46px; padding: 0 12px; border: 2px solid var(--dv-line); border-radius: 12px; font: inherit; font-size: 16px; color: var(--dv-ink); background: var(--dv-surface); }
.sm-codeform { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.sm-codeform input { text-transform: uppercase; letter-spacing: .25em; text-align: center; font-weight: 900; }
.sm-codeform input::placeholder { letter-spacing: .1em; font-weight: 700; }
.sm-codeform .dv-btn { width: auto; min-height: 46px; padding: 6px 16px; }
.sm-code { display: flex; justify-content: center; gap: 6px; }
.sm-code span { display: grid; place-items: center; width: clamp(50px, 15vw, 76px); aspect-ratio: 1; border-radius: 50%; font-size: clamp(30px, 9vw, 46px); font-weight: 900; color: #1c2230; background: var(--dv-card); box-shadow: 0 4px 0 var(--dv-edge), 0 8px 14px rgba(80, 50, 0, .25); }
.sm-qr { margin: 2px auto; padding: 6px; border-radius: 14px; background: #fff; line-height: 0; }
.sm-qr img { display: block; width: 100%; max-width: 240px; height: auto; }
.sm-url { margin: 0; text-align: center; font-size: 14px; font-weight: 800; word-break: break-all; }
.sm-wait { margin: 0; text-align: center; font-weight: 800; }
.sm-dots::after { content: "🃏"; display: inline-block; animation: dvBob 1.4s ease-in-out infinite; }
.sm-split { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.sm-join, .sm-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sm-roster, .sm-board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.sm-roster li { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 3px 8px; border-radius: 10px; background: var(--dv-surface-2); }
.sm-roster li.off, .sm-board li.off { opacity: .55; }
.sm-roster li.me { box-shadow: inset 0 0 0 2px var(--dv-primary); }
.sm-roster b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-roster small { font-size: 12px; color: var(--dv-ink2); }
.sm-kick { width: 30px; height: 30px; border: 0; border-radius: 50%; color: var(--dv-ink); background: #fde4e7; font-size: 13px; cursor: pointer; }
.sm-again { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 14px; background: color-mix(in srgb, var(--dv-ok) 16%, transparent); }
.sm-again small { color: var(--dv-ink2); }
.sm-board li { display: grid; grid-template-columns: 26px 28px minmax(0, 1.1fr) minmax(0, 1fr) auto 50px; align-items: center; gap: 6px; min-height: 36px; padding: 3px 8px; border-radius: 10px; background: var(--dv-surface-2); font-size: clamp(14px, 2.2vmin, 22px); }
.sm-board.final li { grid-template-columns: 26px 28px minmax(0, 1fr) auto auto 50px; }
.sm-board li.me { background: var(--dv-gold); color: #4a3200; }
.sm-board b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-board small { font-size: .78em; opacity: .85; white-space: nowrap; }
.sm-rk { font-weight: 900; text-align: center; }
.sm-sc { font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; }
.sm-bar { height: 9px; border-radius: 9px; background: rgba(120, 80, 20, .16); overflow: hidden; }
.sm-bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--dv-gold), var(--dv-primary)); }
.sm-av { font-size: 20px; text-align: center; }
.sm-session { margin: 14px 0 4px; padding: 10px; border-radius: 14px; border: 2px solid var(--dv-gold); }
.sm-session h3 { margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.sm-session h3 small { font-size: .7em; font-weight: 400; opacity: .8; }
.sm-wins { white-space: nowrap; font-weight: 700; }
.sm-podium { display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin-top: 12px; }
.sm-step { position: relative; flex: 1; max-width: 170px; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.sm-step b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-step small { font-weight: 800; font-size: 14px; }
.sm-step > i { position: absolute; top: -22px; font-style: normal; font-size: 24px; }
.sm-avatar { font-size: 40px; line-height: 1.15; }
.sm-plinth { display: grid; place-items: center; width: 100%; margin-top: 3px; border-radius: 10px 10px 0 0; font-size: 22px; font-weight: 900; color: #4a3200; background: var(--dv-gold); }
.sm-step.s1 .sm-plinth { height: 70px; } .sm-step.s2 .sm-plinth { height: 48px; background: #d6dbe4; } .sm-step.s3 .sm-plinth { height: 34px; background: #e9c39b; }
@media (min-width: 760px) { .sm-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
/* žebříček dne: řádky jako ve Slovolovu (sl-rows / sl-row) */
.dv-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; max-height: 56vh; overflow-y: auto; }
.dv-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; background: var(--dv-surface-2); }
.dv-row.me { background: var(--dv-gold); color: #4a3200; }
.dv-pos { min-width: 26px; text-align: center; font-weight: 900; }
.dv-who2 { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.dv-who2 b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv-who2 em { font-style: normal; font-weight: 600; }
.dv-val { font-weight: 900; font-variant-numeric: tabular-nums; }
.dv-report { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--dv-ink2); cursor: pointer; }
