/* ---------- Naslepo: the blind game (guess cards, taste sheet, verdicts, the Chuťový pohár board) ---------- */
:root {
    --medal-gold: #ffd257; --medal-gold-2: #b07a12;
    --medal-silver: #e2e7ec; --medal-silver-2: #7d8893;
    --medal-bronze: #d08a55; --medal-bronze-2: #7a4520;
    /* Verdicts: green = Přímá trefa, yellow = Kategorie (not the orange accent), muted red = Vedle. */
    --verdict-direct: var(--ok);
    --verdict-partial: #f3d34a;
    --verdict-miss: #e8766c;
}
:root[data-theme="light"] { --verdict-partial: #8a6400; --verdict-miss: #b23b31; }
/* Daylight fills: the bright hue as the tint, the dark one for border, icon and text. */
.is-direct { --vf: var(--verdict-direct); }
.is-partial { --vf: var(--verdict-partial); }
.is-miss { --vf: var(--verdict-miss); }
[data-theme="light"] .is-direct { --vf: #7fcf8b; }
[data-theme="light"] .is-partial { --vf: #f3d34a; }
[data-theme="light"] .is-miss { --vf: #f08a80; }
[data-theme="light"] :is(.nose-stat--direct, .verdict-count--direct) { --vf: #7fcf8b; }
[data-theme="light"] :is(.nose-stat--partial, .verdict-count--partial) { --vf: #f3d34a; }
[data-theme="light"] :is(.nose-stat--miss, .verdict-count--miss) { --vf: #f08a80; }
[data-theme="light"] .nose-stat { background: color-mix(in oklab, var(--vf) 24%, var(--bg-raised)); }
[data-theme="light"] .verdict-count { background: color-mix(in oklab, var(--vf) 30%, transparent); }

/* Verdicts: icon in a round badge, the colour never alone. */
.verdict { display: inline-flex; align-items: center; gap: 4px; color: var(--v); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.verdict--direct { --v: var(--verdict-direct); }
.verdict--partial { --v: var(--verdict-partial); }
.verdict--miss { --v: var(--verdict-miss); }
.verdict__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in oklab, var(--v) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--v) 45%, transparent); }
.verdict__icon .icon { width: 15px; height: 15px; }
.verdict--sm .verdict__icon { width: 18px; height: 18px; box-shadow: none; background: none; }
.verdict--sm .verdict__icon .icon { width: 14px; height: 14px; }

.verdict-counts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.verdict-count { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 0 8px 0 5px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--v) 60%, transparent); background: color-mix(in oklab, var(--v) 16%, transparent); font-size: var(--step--1); color: var(--text); }
.verdict-count--direct { --v: var(--verdict-direct); }
.verdict-count--partial { --v: var(--verdict-partial); }
.verdict-count--miss { --v: var(--verdict-miss); }
.verdict-count .icon { width: 14px; height: 14px; }
.verdict-count--direct .icon { color: var(--verdict-direct); }
.verdict-count--partial .icon { color: var(--verdict-partial); }
.verdict-count--miss .icon { color: var(--verdict-miss); }

/* A pick as a tag: verdict, tone dot, family · taste. */
.pick-tag { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 2px 10px 2px 6px; border-radius: 14px; border: 1px solid color-mix(in oklab, var(--tone) 38%, transparent); background: color-mix(in oklab, var(--tone) 14%, var(--bg-raised)); color: var(--text); font-size: var(--step--1); font-weight: 700; line-height: 1.2; }
.pick-tag__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--tone); }
.pick-tag__taste { color: var(--text-2); font-weight: 600; }
.pick-tag .verdict { margin-right: -2px; }
.pick-tag:not(:has(.verdict)) { padding-left: 10px; }
/* Judged: the verdict is the chip's colour (tinted fill, border, icon); the family dot steps aside. */
.pick-tag.is-direct { --v: var(--verdict-direct); }
.pick-tag.is-partial { --v: var(--verdict-partial); }
.pick-tag.is-miss { --v: var(--verdict-miss); }
.pick-tag:is(.is-direct, .is-partial, .is-miss) { border: 1.5px solid color-mix(in oklab, var(--v) 75%, transparent); background: color-mix(in oklab, var(--v) 20%, var(--bg-raised)); }
.pick-tag:is(.is-direct, .is-partial, .is-miss) .pick-tag__dot { display: none; }
.pick-tag:is(.is-direct, .is-partial, .is-miss) .pick-tag__taste { color: color-mix(in oklab, var(--v) 40%, var(--text)); }
.pick-tag:is(.is-direct, .is-partial, .is-miss) .verdict__icon { color: var(--v); }
[data-theme="light"] .pick-tag:is(.is-direct, .is-partial, .is-miss) { background: color-mix(in oklab, var(--vf) 30%, var(--bg-raised)); }
[data-theme="light"] .pick-tag:is(.is-direct, .is-partial, .is-miss) .pick-tag__taste { color: color-mix(in oklab, var(--v) 70%, var(--text)); }

/* ---------- Guess cards: three fixed slots, so picking never moves the grid ---------- */
.guess-slots { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.guess-slots > li { display: grid; min-width: 0; }
.guess-slot {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    min-width: 0;
    min-height: 76px;
    padding: 8px 9px;
    border: 1px solid color-mix(in oklab, var(--tone, var(--line)) 55%, transparent);
    border-radius: var(--radius-s);
    background: color-mix(in oklab, var(--tone, var(--surface-2)) 22%, var(--bg-raised));
    color: var(--text);
    font: inherit;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}
button.guess-slot { cursor: pointer; transition: transform 0.1s, border-color 0.15s; }
button.guess-slot:active { transform: scale(0.97); }
button.guess-slot:focus-visible { outline: 2px solid var(--tone); outline-offset: 2px; }
.guess-slot--empty { display: grid; place-items: center; justify-content: center; align-content: center; border: 1px dashed var(--line-strong); background: transparent; color: var(--text-3); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-2); opacity: 0.6; }
.guess-slot__family { display: flex; align-items: flex-start; gap: 6px; min-width: 0; }
.guess-slot__dot { flex: none; width: 10px; height: 10px; margin-top: 3px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 3px color-mix(in oklab, var(--tone) 22%, transparent); }
.guess-slot__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.guess-slot__taste { overflow: hidden; font-size: 12px; font-weight: 700; color: color-mix(in oklab, var(--tone) 55%, var(--text)); white-space: nowrap; text-overflow: ellipsis; }
.guess-slot__more { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 800; color: var(--accent-2); }
.guess-slot__more .icon { width: 13px; height: 13px; }

/* After the reveal: the same cards with their verdict. */
.guess-slots--result .guess-slot { min-height: 96px; padding-top: 6px; }
.guess-slot.is-direct { --v: var(--verdict-direct); }
.guess-slot.is-partial { --v: var(--verdict-partial); }
.guess-slot.is-miss { --v: var(--verdict-miss); }
.guess-slot:is(.is-direct, .is-partial, .is-miss) { border: 1.5px solid color-mix(in oklab, var(--v) 80%, transparent); background: color-mix(in oklab, var(--v) 18%, var(--bg-raised)); }
.guess-slot:is(.is-direct, .is-partial, .is-miss) .guess-slot__dot { display: none; }
.guess-slot:is(.is-direct, .is-partial, .is-miss) .guess-slot__taste { color: color-mix(in oklab, var(--v) 45%, var(--text)); }
[data-theme="light"] .guess-slot:is(.is-direct, .is-partial, .is-miss) { background: color-mix(in oklab, var(--vf) 28%, var(--bg-raised)); }
[data-theme="light"] .guess-slot:is(.is-direct, .is-partial, .is-miss) .guess-slot__taste { color: color-mix(in oklab, var(--v) 75%, var(--text)); }
.guess-slot.is-direct { box-shadow: 0 0 18px -6px color-mix(in oklab, var(--v) 70%, transparent); }
.guess-slot__verdict { display: flex; align-items: center; justify-content: space-between; }
.guess-slot__pts { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-1); line-height: 1; color: var(--v); }
.guess-slot__word { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--v); }
.guess-slots--result .guess-slot--empty { min-height: 96px; opacity: 0.35; }

.blind-result__total { height: 32px; padding: 0 12px; font-size: var(--step-0); }
.blind-result__total b { font-family: var(--font-display); font-weight: var(--display-weight); }
.blind-result__sum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.truth-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.truth-list__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.truth-list__taste { display: inline-flex; align-items: center; gap: 3px; font-size: var(--step--1); font-weight: 600; color: var(--text-2); }
.truth-list__taste.is-named { color: var(--ok); font-weight: 800; }
.truth-list__taste .icon { width: 14px; height: 14px; }

/* The first look at a revealed guess (reveal controller). */
.blind-result.is-fresh .guess-slots--result .guess-slot { animation: slot-in 0.45s var(--ease-out, ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
@keyframes slot-in { from { opacity: 0; transform: translateY(10px) rotateX(55deg); } to { opacity: 1; transform: none; } }

/* The family grid tile shows the taste chosen in it. */
.blind-grid__label { display: grid; gap: 2px; }
.blind-grid__taste { font-size: 11px; font-weight: 700; color: color-mix(in oklab, var(--tone) 45%, var(--text)); }
.blind-grid__taste:empty { display: none; }
.blind-guess.is-closed .blind-grid, .blind-guess.is-closed .guess-slots { opacity: 0.5; pointer-events: none; }
.blind-guess__status[data-state="closed"] { color: var(--accent-2); }

/* ---------- Taste sheet ---------- */
.taste-sheet .modal__head { gap: var(--space-2); }
.taste-sheet .modal__head h3 { flex: 1; min-width: 0; }
.taste-sheet__dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--tone, var(--accent)); box-shadow: 0 0 0 4px color-mix(in oklab, var(--tone, var(--accent)) 22%, transparent); }
.taste-sheet__body { display: grid; gap: var(--space-4); }
.taste-sheet__any { display: flex; align-items: center; gap: var(--space-3); width: 100%; min-height: 52px; padding: 0 var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-m); background: var(--bg-sunken); color: var(--text); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.taste-sheet__any[hidden] { display: none; }
.taste-sheet__any-label { flex: 1; }
.taste-sheet__radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); }
.taste-sheet__any[aria-pressed="true"] { border-color: var(--tone, var(--accent)); background: color-mix(in oklab, var(--tone, var(--accent)) 16%, var(--bg-raised)); }
.taste-sheet__any[aria-pressed="true"] .taste-sheet__radio { border-color: var(--tone, var(--accent)); box-shadow: inset 0 0 0 4px var(--bg-raised); background: var(--tone, var(--accent)); }
.taste-sheet__pts { flex: none; font-size: 12px; font-weight: 800; color: var(--text-3); }
.taste-sheet__exact { display: grid; gap: var(--space-2); }
.taste-sheet__head { display: flex; align-items: baseline; justify-content: space-between; }
.taste-sheet__head[hidden] { display: none; }
.taste-sheet__head .eyebrow { margin: 0; }
.taste-sheet__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.taste-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border: 1px solid color-mix(in oklab, var(--tone) 40%, transparent); border-radius: 999px; background: color-mix(in oklab, var(--tone) 12%, var(--bg-raised)); color: var(--text); font: inherit; font-size: var(--step--1); font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color 0.15s, transform 0.1s; }
.taste-chip:active { transform: scale(0.96); }
.taste-chip:focus-visible, .taste-sheet__any:focus-visible { outline: 2px solid var(--tone, var(--accent)); outline-offset: 2px; }
.taste-chip__check { display: none; width: 15px; height: 15px; }
.taste-chip[aria-pressed="true"] { border-color: var(--tone); background: color-mix(in oklab, var(--tone) 45%, var(--bg-raised)); }
.taste-chip[aria-pressed="true"] .taste-chip__check { display: block; }
.taste-chip:disabled, .taste-sheet__any:disabled { cursor: default; opacity: 0.45; border-style: dashed; }
.taste-sheet[open] { max-height: min(72dvh, 640px); }

/* ---------- Places and medals ---------- */
.medal { --m1: var(--medal-gold); --m2: var(--medal-gold-2); display: inline-grid; place-items: center; width: 30px; height: 34px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(160deg, var(--m1), var(--m2)); color: #1b1206; font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 1; filter: drop-shadow(0 0 6px color-mix(in oklab, var(--m1) 55%, transparent)); }
.medal--silver { --m1: var(--medal-silver); --m2: var(--medal-silver-2); }
.medal--bronze { --m1: var(--medal-bronze); --m2: var(--medal-bronze-2); }
.medal--lg { width: 44px; height: 50px; font-size: 22px; }
.place { display: inline-block; min-width: 30px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-2); line-height: 1; text-align: center; color: var(--text-3); }
.place--1 { color: var(--medal-gold); }
.place--2 { color: var(--medal-silver); }
.place--3 { color: var(--medal-bronze); }
[data-theme="light"] .place--1 { color: var(--medal-gold-2); }
[data-theme="light"] .place--2 { color: var(--medal-silver-2); }
[data-theme="light"] .place--3 { color: var(--medal-bronze-2); }
.place--none { font-size: var(--step-1); }

.reveal-meter { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step--1); color: var(--text-2); }
.reveal-meter__pips { display: inline-flex; gap: 1px; }
.reveal-meter__pips .icon { width: 18px; height: 18px; color: var(--text-3); opacity: 0.45; }
.reveal-meter__pips .icon.is-on { color: var(--accent-2); opacity: 1; filter: drop-shadow(0 0 4px var(--glow)); }
.reveal-meter__bar { display: inline-flex; align-items: center; gap: 6px; }
.reveal-meter__bar .icon { width: 18px; height: 18px; color: var(--accent-2); }
.reveal-meter__bar i { position: relative; width: 72px; height: 6px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.reveal-meter__bar i::after { content: ""; position: absolute; inset: 0; width: var(--pct); border-radius: inherit; background: var(--accent); }

.split-bar { display: flex; height: 8px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.split-bar i { width: var(--w); }
.split-bar__direct { background: var(--verdict-direct); }
.split-bar__partial { background: var(--verdict-partial); }
.split-bar__miss { background: var(--verdict-miss); }

/* ---------- Chuťový pohár: the event board ---------- */
.nose-board { display: grid; gap: var(--space-4); scroll-margin-top: 80px; }
.nose-board__aside, .nose-board__main { display: grid; gap: var(--space-4); align-content: start; min-width: 0; }
.nose-board__head { display: grid; gap: var(--space-2); }
.nose-board__head h2 { font-size: var(--step-2); }
.nose-board__state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.nose-board__state .chip .icon { width: 14px; height: 14px; }
.nose-board__none { margin: 0; }
.nose-board__empty { padding: var(--space-5) var(--space-3); }
.nose-board__rest { margin: 0; }

.nose-list { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.nose-list__gap { height: 0; margin: 2px 24px; border-top: 2px dotted var(--line-strong); }
.nose-list__more > summary { min-height: 44px; }
.nose-row__btn {
    display: grid;
    grid-template-columns: 32px 36px minmax(0, 1fr) auto 16px;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 60px;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg-raised);
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.nose-row__btn:hover { border-color: var(--line-strong); }
.nose-row__btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.nose-row.is-me .nose-row__btn { border-color: color-mix(in oklab, var(--accent) 65%, var(--line)); background: linear-gradient(90deg, var(--accent-soft), var(--bg-raised) 75%); }
.nose-row__btn .avatar { --size: 36px; }
.nose-row__place { display: grid; place-items: center; }
.nose-row__main { display: grid; gap: 3px; min-width: 0; }
.nose-row__name { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nose-row__name b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nose-row__me { flex: none; height: 20px; padding: 0 7px; font-size: 11px; }
.nose-row__meta { min-height: 18px; }
.nose-row__wait { display: inline-flex; align-items: center; gap: 4px; font-size: var(--step--1); color: var(--text-3); }
.nose-row__wait .icon { width: 14px; height: 14px; }
.nose-row__pts { display: grid; justify-items: end; line-height: 1; }
.nose-row__pts b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-2); }
.nose-row__pts small { font-size: 11px; font-weight: 700; color: var(--text-3); }
.nose-row__chev { width: 16px; height: 16px; color: var(--text-3); }

/* Podium: gold across the phone, silver and bronze side by side; 2-1-3 steps from 640px. */
/* A real podium at every width: 2nd left, 1st in the middle and highest, 3rd right, each a size smaller, on metal plinths. */
.nose-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 6px; margin: 0; padding: 0; list-style: none; --plinth-1: 52px; --plinth-2: 36px; --plinth-3: 24px; }
.nose-podium__step { --m1: var(--medal-gold); --m2: var(--medal-gold-2); display: grid; gap: var(--space-2); align-content: start; min-width: 0; animation: step-rise 0.5s var(--ease-out, ease-out) both; animation-delay: calc(var(--i, 0) * 140ms); }
.nose-podium__step--gold { order: 2; --plinth: var(--plinth-1); }
.nose-podium__step::after { content: attr(data-place); display: grid; place-items: center; height: var(--plinth, var(--plinth-3)); margin-top: calc(-1 * var(--space-2) - 1px); border-radius: 0 0 var(--radius-m) var(--radius-m); background: linear-gradient(180deg, color-mix(in oklab, var(--m1) 80%, white), var(--m1) 35%, var(--m2)); color: color-mix(in oklab, var(--m2) 40%, black); font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(var(--plinth, 24px) * 0.55); line-height: 1; box-shadow: inset 0 1px 0 color-mix(in oklab, white 50%, transparent); }
.nose-podium__step .nose-podium__person { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.nose-podium__step--silver { --m1: var(--medal-silver); --m2: var(--medal-silver-2); order: 1; --plinth: var(--plinth-2); }
.nose-podium__step--bronze { --m1: var(--medal-bronze); --m2: var(--medal-bronze-2); order: 3; --plinth: var(--plinth-3); }
.nose-podium__step:only-child { grid-column: 2; }
/* Sizes fall with the place. */
.nose-podium__step--silver .nose-podium__avatar .avatar { --size: 44px; }
.nose-podium__step--bronze .nose-podium__avatar .avatar { --size: 38px; }
.nose-podium__step--bronze .nose-podium__pts b { font-size: var(--step-1); }
.nose-podium__step:not(.nose-podium__step--gold) .nose-podium__name b { font-size: var(--step--1); }
.nose-podium__step:not(.nose-podium__step--gold) .nose-podium__person { padding: var(--space-3) 6px; }
.nose-podium__step--gold .nose-podium__avatar .avatar { --size: 56px; }
/* The champion's own crown already crowns the winner. */
.nose-podium__person:has(.avatar[class*="is-champion-"]) .nose-podium__crown { display: none; }
.nose-podium .nose-podium__foot .chip, .nose-podium .nose-podium__foot .count { font-size: 11px; }
/* The hit counts stay centred in the card, also when the narrow middle step stacks them, and share one width so a stack lines up. */
.nose-podium__foot .verdict-counts { justify-content: center; gap: 4px; }
.nose-podium__foot .verdict-count { justify-content: center; min-width: 3.75em; padding-inline: 6px; }
.nose-podium__shared { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--m1); text-align: center; }
[data-theme="light"] .nose-podium__shared { color: var(--m2); }
.nose-podium__person {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 6px;
    width: 100%;
    min-width: 0;
    padding: var(--space-4) var(--space-3);
    border: 1px solid color-mix(in oklab, var(--m1) 55%, var(--line));
    border-radius: var(--radius-l);
    background: radial-gradient(110% 90% at 50% 0%, color-mix(in oklab, var(--m1) 20%, transparent), transparent 70%), var(--bg-raised);
    color: var(--text);
    font: inherit;
    text-align: center;
    cursor: pointer;
}
.nose-podium__step--gold .nose-podium__person { padding: var(--space-5) var(--space-4); box-shadow: 0 0 40px -14px color-mix(in oklab, var(--m1) 80%, transparent); }
.nose-podium__person:focus-visible { outline: 2px solid var(--m1); outline-offset: 2px; }
.nose-podium__person.is-me { border-color: var(--accent); }
.nose-podium__crown { color: var(--m1); line-height: 0; }
.nose-podium__crown .icon { width: 28px; height: 28px; filter: drop-shadow(0 0 8px color-mix(in oklab, var(--m1) 70%, transparent)); }
.nose-podium__avatar { position: relative; display: grid; place-items: center; }
.nose-podium__avatar .avatar { box-shadow: 0 0 0 3px var(--m1); }
.nose-podium__avatar .avatar:not(.avatar--lg) { --size: 48px; }
.nose-podium__avatar .medal { position: absolute; right: -14px; bottom: -8px; }
.nose-podium__name { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; min-width: 0; max-width: 100%; }
.nose-podium__name b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; text-wrap: balance; }
@media (max-width: 419px) {
    .nose-podium__step--gold .nose-podium__person { padding-inline: var(--space-3); }
    .nose-podium .nose-podium__step--gold .nose-podium__name b { font-size: var(--step-0); }
}
.nose-podium__step--gold .nose-podium__name b { font-size: var(--step-1); }
.nose-podium__pts { color: var(--text-2); font-size: var(--step--1); font-weight: 700; }
.nose-podium__pts b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-2); color: var(--text); }
.nose-podium__step--gold .nose-podium__pts b { font-size: var(--step-3); color: var(--m1); }
[data-theme="light"] .nose-podium__step--gold .nose-podium__pts b { color: var(--m2); }
.nose-podium__foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; }
@keyframes step-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (min-width: 640px) {
    .nose-podium { gap: var(--space-3); --plinth-1: 84px; --plinth-2: 56px; --plinth-3: 36px; }
    .nose-podium__step--gold .nose-podium__person { padding-block: var(--space-6, 32px); }
    .nose-podium__step--gold .nose-podium__avatar .avatar { --size: 72px; }
    .nose-podium__step--silver .nose-podium__avatar .avatar { --size: 56px; }
    .nose-podium__step--bronze .nose-podium__avatar .avatar { --size: 48px; }
    .nose-podium__step:not(.nose-podium__step--gold) .nose-podium__person { padding: var(--space-4) var(--space-3); }
    .nose-podium__step:not(.nose-podium__step--gold) .nose-podium__name b { font-size: var(--step-0, 1rem); }
}
@media (min-width: 900px) {
    .nose-board { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; column-gap: var(--space-6, 32px); }
    .nose-board:not(.is-final) .nose-board__aside { position: static; }
    /* Once final the podium takes the whole width, the rest of the table under it. */
    .nose-board.is-final { grid-template-columns: minmax(0, 1fr); }
    .nose-board.is-final .nose-podium { max-width: 960px; width: 100%; justify-self: center; }
}

/* ---------- Person sheet ---------- */
.nose-person { display: grid; gap: var(--space-4); }
.nose-person__hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); }
.nose-person__avatar { position: relative; display: grid; }
/* The sheet scrolls from here: room for a champion's crown and bezel inside it. */
.nose-person__hero:has(.is-champion-1, .is-champion-2, .is-champion-3) { padding-top: 44px; padding-left: 10px; }
.nose-person__avatar .medal { position: absolute; right: -10px; bottom: -6px; }
.nose-person__text { display: grid; gap: 2px; min-width: 0; }
.nose-person__text p { margin: 0; }
.nose-person__place { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.nose-person__pts { color: var(--text-2); font-weight: 700; }
.nose-person__pts b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-3); line-height: 1; color: var(--text); }
.nose-person__profile { display: inline-flex; align-items: center; gap: 4px; justify-self: start; min-height: 32px; }
.nose-person__profile .icon { width: 14px; height: 14px; }
.nose-person__eyebrow { margin: 0; }
.nose-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.nose-stat { --v: var(--verdict-direct); display: grid; justify-items: start; gap: 2px; min-width: 0; padding: var(--space-3); border-radius: var(--radius-m); border: 1px solid color-mix(in oklab, var(--v) 30%, var(--line)); background: color-mix(in oklab, var(--v) 8%, var(--bg-raised)); }
.nose-stat--partial { --v: var(--verdict-partial); }
.nose-stat--miss { --v: var(--verdict-miss); }
.nose-stat__icon { color: var(--v); line-height: 0; }
.nose-stat__icon .icon { width: 18px; height: 18px; }
.nose-stat b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-2); line-height: 1; }
.nose-stat span:last-child { font-size: 11px; font-weight: 700; color: var(--text-3); overflow-wrap: anywhere; }
.nose-bowls { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.nose-bowl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: var(--space-3); padding: var(--space-2) 0; border-top: 1px solid var(--line); }
.nose-bowl:first-child { border-top: 0; }
.nose-bowl .cover-tile { --tile: 44px; }
.nose-bowl.is-none { opacity: 0.6; }
.nose-bowl__main { display: grid; gap: 6px; min-width: 0; }
.nose-bowl__title { overflow-wrap: anywhere; }
.nose-bowl__wait { display: inline-flex; align-items: center; gap: 4px; }
.nose-bowl__wait .icon { width: 14px; height: 14px; }
.nose-bowl__picks { display: flex; flex-wrap: wrap; gap: 6px; }
.nose-bowl__pts { min-width: 28px; padding-top: 2px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-1); text-align: right; }
/* What a revealed bowl really was: tastes in their colour, the ones the guest named ticked and quiet. */
.nose-truth { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.nose-truth__label { margin-right: 2px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.truth-chip { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 1px 10px 1px 8px; border-radius: 12px; border: 1px solid color-mix(in oklab, var(--tone) 50%, transparent); background: color-mix(in oklab, var(--tone) 20%, var(--bg-raised)); color: color-mix(in oklab, var(--tone) 58%, var(--tone-ink)); font-size: 12px; font-weight: 700; line-height: 1.2; }
.truth-chip__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.truth-chip.is-caught { border-color: color-mix(in oklab, var(--verdict-direct) 30%, transparent); background: transparent; color: var(--text-3); font-weight: 600; }
.truth-chip .icon { flex: none; width: 13px; height: 13px; margin-left: -2px; color: var(--verdict-direct); }
[data-theme="light"] .truth-chip:not(.is-caught) { border-color: color-mix(in oklab, var(--tone) 60%, transparent); background: color-mix(in oklab, var(--tone) 22%, var(--bg-raised)); color: color-mix(in oklab, var(--tone) 48%, var(--tone-ink)); }

/* ---------- One bowl's guessing on the event page ---------- */
.bowl-tips { display: grid; gap: var(--space-2); }
.bowl-tips__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.bowl-tips__head .eyebrow { display: inline-flex; align-items: center; gap: 4px; margin: 0; }
.bowl-tips__head .eyebrow .icon { width: 14px; height: 14px; }
.bowl-tips__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.bowl-tips__best { display: inline-flex; align-items: center; gap: 4px; font-size: var(--step--1); color: var(--text-2); }
.bowl-tips__best .icon { width: 15px; height: 15px; color: var(--medal-gold); }
.bowl-tips__best .num { font-weight: 800; color: var(--verdict-direct); }
.bowl-tips__truth { display: flex; flex-wrap: wrap; gap: 6px; }
.bowl-tips__truth .tag { height: auto; min-height: 28px; padding-block: 3px; white-space: normal; border-radius: 14px; }
.bowl-tips__list { display: grid; gap: var(--space-2); margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.bowl-tips__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: var(--space-2); }
.bowl-tips__who-main { display: grid; gap: 4px; min-width: 0; }
.bowl-tips__picks { display: flex; flex-wrap: wrap; gap: 4px; }
.bowl-tips__pts { font-family: var(--font-display); font-weight: var(--display-weight); }

/* ---------- Switcher: the reveal and the way to the board ---------- */
.bowl-switch__reveal b { margin-left: auto; }
.bowl-switch__board { color: var(--medal-gold); }
[data-theme="light"] .bowl-switch__board { color: var(--medal-gold-2); }

@media (prefers-reduced-motion: reduce) {
    .blind-result.is-fresh .guess-slots--result .guess-slot, .nose-podium__step { animation: none; }
}
.bowl-tips__label { display: inline-flex; align-items: center; gap: 4px; margin-right: var(--space-2); font-size: var(--step--1); font-weight: 800; color: var(--text-2); }
.bowl-tips__label .icon { width: 14px; height: 14px; color: var(--verdict-direct); }
.nose-board__phase { font-size: var(--step--1); font-weight: 700; color: var(--text-2); }
.nose-board__phase--final { font-weight: 800; color: var(--text); }
.nose-board__phase--final .icon { width: 14px; height: 14px; color: var(--medal-gold); }
[data-theme="light"] .nose-board__phase--final .icon { color: var(--medal-gold-2); }

/* ---------- Champions: the podium of the latest blind evening, crowned wherever the person shows ---------- */
.is-champion-1 { --m1: var(--medal-gold); --m2: var(--medal-gold-2); --m-hi: #fff4cf; --m-glow: color-mix(in oklab, var(--medal-gold) 55%, transparent); --crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1.5 -1.5 35 30'%3E%3Cdefs%3E%3ClinearGradient id='m' x1='0' y1='0' x2='.35' y2='1'%3E%3Cstop offset='0' stop-color='%23fff4cf'/%3E%3Cstop offset='.4' stop-color='%23ffd257'/%3E%3Cstop offset='1' stop-color='%23a8700c'/%3E%3C/linearGradient%3E%3CradialGradient id='e' cx='.35' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffe0b8'/%3E%3Cstop offset='.45' stop-color='%23ff6b1a'/%3E%3Cstop offset='1' stop-color='%23a33400'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M4.2 20.6 2 7.6l7.4 5.6L16 2.6l6.6 10.6L30 7.6l-2.2 13Z' fill='url(%23m)' stroke='%234f3300' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M9.4 13.2 16 2.6l6.6 10.6' fill='none' stroke='%23fff4cf' stroke-opacity='.55' stroke-width='.8' stroke-linejoin='round'/%3E%3Crect x='3.4' y='21.2' width='25.2' height='4.8' rx='1.6' fill='url(%23m)' stroke='%234f3300' stroke-width='1.3'/%3E%3Cg fill='%23fff4cf' stroke='%234f3300' stroke-width='1'%3E%3Ccircle cx='2' cy='7.6' r='2'/%3E%3Ccircle cx='16' cy='2.6' r='2.1'/%3E%3Ccircle cx='30' cy='7.6' r='2'/%3E%3C/g%3E%3Ccircle cx='16' cy='23.6' r='1.9' fill='url(%23e)' stroke='%234f3300' stroke-width='.8'/%3E%3Cg fill='%23fff4cf'%3E%3Ccircle cx='9.6' cy='23.6' r='.95'/%3E%3Ccircle cx='22.4' cy='23.6' r='.95'/%3E%3C/g%3E%3C/svg%3E"); }
.is-champion-2 { --m1: var(--medal-silver); --m2: var(--medal-silver-2); --m-hi: #ffffff; --m-glow: color-mix(in oklab, var(--medal-silver) 45%, transparent); --crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1.5 -1.5 35 30'%3E%3Cdefs%3E%3ClinearGradient id='m' x1='0' y1='0' x2='.35' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.4' stop-color='%23e2e7ec'/%3E%3Cstop offset='1' stop-color='%2376818c'/%3E%3C/linearGradient%3E%3CradialGradient id='e' cx='.35' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffe0b8'/%3E%3Cstop offset='.45' stop-color='%23ff6b1a'/%3E%3Cstop offset='1' stop-color='%23a33400'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M4.2 20.6 2 7.6l7.4 5.6L16 2.6l6.6 10.6L30 7.6l-2.2 13Z' fill='url(%23m)' stroke='%23353d45' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M9.4 13.2 16 2.6l6.6 10.6' fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='.8' stroke-linejoin='round'/%3E%3Crect x='3.4' y='21.2' width='25.2' height='4.8' rx='1.6' fill='url(%23m)' stroke='%23353d45' stroke-width='1.3'/%3E%3Cg fill='%23ffffff' stroke='%23353d45' stroke-width='1'%3E%3Ccircle cx='2' cy='7.6' r='2'/%3E%3Ccircle cx='16' cy='2.6' r='2.1'/%3E%3Ccircle cx='30' cy='7.6' r='2'/%3E%3C/g%3E%3Ccircle cx='16' cy='23.6' r='1.9' fill='url(%23e)' stroke='%23353d45' stroke-width='.8'/%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='9.6' cy='23.6' r='.95'/%3E%3Ccircle cx='22.4' cy='23.6' r='.95'/%3E%3C/g%3E%3C/svg%3E"); }
.is-champion-3 { --m1: var(--medal-bronze); --m2: var(--medal-bronze-2); --m-hi: #ffd9b8; --m-glow: color-mix(in oklab, var(--medal-bronze) 50%, transparent); --crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1.5 -1.5 35 30'%3E%3Cdefs%3E%3ClinearGradient id='m' x1='0' y1='0' x2='.35' y2='1'%3E%3Cstop offset='0' stop-color='%23ffd9b8'/%3E%3Cstop offset='.4' stop-color='%23d08a55'/%3E%3Cstop offset='1' stop-color='%2374401c'/%3E%3C/linearGradient%3E%3CradialGradient id='e' cx='.35' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffe0b8'/%3E%3Cstop offset='.45' stop-color='%23ff6b1a'/%3E%3Cstop offset='1' stop-color='%23a33400'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M4.2 20.6 2 7.6l7.4 5.6L16 2.6l6.6 10.6L30 7.6l-2.2 13Z' fill='url(%23m)' stroke='%233a1f0c' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M9.4 13.2 16 2.6l6.6 10.6' fill='none' stroke='%23ffd9b8' stroke-opacity='.55' stroke-width='.8' stroke-linejoin='round'/%3E%3Crect x='3.4' y='21.2' width='25.2' height='4.8' rx='1.6' fill='url(%23m)' stroke='%233a1f0c' stroke-width='1.3'/%3E%3Cg fill='%23ffd9b8' stroke='%233a1f0c' stroke-width='1'%3E%3Ccircle cx='2' cy='7.6' r='2'/%3E%3Ccircle cx='16' cy='2.6' r='2.1'/%3E%3Ccircle cx='30' cy='7.6' r='2'/%3E%3C/g%3E%3Ccircle cx='16' cy='23.6' r='1.9' fill='url(%23e)' stroke='%233a1f0c' stroke-width='.8'/%3E%3Cg fill='%23ffd9b8'%3E%3Ccircle cx='9.6' cy='23.6' r='.95'/%3E%3Ccircle cx='22.4' cy='23.6' r='.95'/%3E%3C/g%3E%3C/svg%3E"); }

/*
 * Inside out: the face, the guest's own Žár ring (kept, so every level still reads), a faceted metal bezel whose
 * sheen slowly circles, a crown on top and a halo. Shape and motion, not colour alone: Žár 13 and 14 are golden too.
 */
:is(.avatar, .champion-ring):is(.is-champion-1, .is-champion-2, .is-champion-3) {
    --bezel: clamp(2.5px, calc(var(--size) * 0.1), 6px);
    --gap: 4.5px;
    --crown-w: max(14px, calc(var(--size) * 0.74));
    --star: calc(var(--size) * 0.24);
    position: relative;
    isolation: isolate;
    margin-inline-end: calc(var(--bezel) + 1px);
}
.avatar:is(.is-champion-1, .is-champion-2, .is-champion-3) {
    box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 3.5px var(--rank, var(--m2)), 0 0 calc(var(--size) * 0.7) calc(var(--size) * 0.18) var(--m-glow);
}
:is(.avatar, .champion-ring):is(.is-champion-1, .is-champion-2, .is-champion-3)::before {
    content: '';
    position: absolute;
    inset: calc(-1 * (var(--gap) + var(--bezel)));
    z-index: 1;
    border-radius: 50%;
    background:
        radial-gradient(farthest-side, rgb(0 0 0 / 0.5) calc(100% - var(--bezel)), transparent calc(100% - var(--bezel) + 0.8px), transparent calc(100% - 0.8px), rgb(0 0 0 / 0.45)),
        conic-gradient(from 20deg, color-mix(in oklab, var(--m2) 70%, black), var(--m1) 7%, var(--m-hi) 11%, var(--m1) 15%, var(--m2) 24%, var(--m1) 31%, color-mix(in oklab, var(--m2) 70%, black) 38%, var(--m1) 45%, var(--m-hi) 50%, var(--m1) 55%, color-mix(in oklab, var(--m2) 70%, black) 63%, var(--m1) 70%, var(--m-hi) 75%, var(--m1) 80%, var(--m2) 90%, color-mix(in oklab, var(--m2) 70%, black));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--bezel) - 0.5px), #000 calc(100% - var(--bezel)));
    mask: radial-gradient(farthest-side, transparent calc(100% - var(--bezel) - 0.5px), #000 calc(100% - var(--bezel)));
    animation: champion-sheen 8s linear infinite;
    pointer-events: none;
}
:is(.avatar, .champion-ring):is(.is-champion-1, .is-champion-2, .is-champion-3)::after {
    /* One layer box over the avatar: the crown resting on the bezel, a sparkle off each shoulder. */
    content: '';
    position: absolute;
    z-index: 2;
    left: calc(var(--size) * -0.45);
    right: calc(var(--size) * -0.45);
    top: calc(-1 * (var(--crown-w) * 30 / 35 + var(--gap) + var(--bezel) * 0.45));
    bottom: 45%;
    background: var(--crown) 50% 0 / var(--crown-w) auto no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.4 3.6 10.6 12 12-8.4 1.4-11.1 4.6-12 12-.9-7.4-3.6-10.6-12-12C8.4 10.6 11.1 7.4 12 0Z' fill='%23fffbea'/%3E%3C/svg%3E") 4% 62% / var(--star) var(--star) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.4 3.6 10.6 12 12-8.4 1.4-11.1 4.6-12 12-.9-7.4-3.6-10.6-12-12C8.4 10.6 11.1 7.4 12 0Z' fill='%23fffbea'/%3E%3C/svg%3E") 96% 38% / calc(var(--star) * 0.75) calc(var(--star) * 0.75) no-repeat;
    filter: drop-shadow(0 1px 0.5px rgb(0 0 0 / 0.55)) drop-shadow(0 0 3px var(--m-glow));
    animation: champion-crown 3.6s ease-in-out infinite alternate, champion-twinkle 3.2s ease-in-out infinite;
    pointer-events: none;
}
/* Compact rows (TV, rater faces, 20px avatars) have no room above: the crown sits tilted on the bezel's shoulder instead. */
.avatar--xs:is(.is-champion-1, .is-champion-2, .is-champion-3) { --gap: 1.5px; box-shadow: 0 0 0 1.5px var(--bg), 0 0 10px 2px var(--m-glow); }
:is(.avatar--xs, .tv-nose .avatar, .raters__face .avatar):is(.is-champion-1, .is-champion-2, .is-champion-3)::after {
    left: calc(var(--size) * -0.36);
    top: calc(var(--size) * -0.34);
    right: auto;
    bottom: auto;
    width: max(12px, calc(var(--size) * 0.6));
    aspect-ratio: 35 / 30;
    background: var(--crown) center / contain no-repeat;
    rotate: -28deg;
    animation: champion-crown 3.6s ease-in-out infinite alternate;
}
/* The /ja Žár ring is drawn inside its box: the bezel hugs it. */
.champion-ring { --size: 64px; display: inline-grid; border-radius: 50%; }
.champion-ring:is(.is-champion-1, .is-champion-2, .is-champion-3) { --gap: 1.5px; box-shadow: 0 0 34px 6px var(--m-glow); }
/* The crown stays inside the /ja panel, clear of the caption chip above it. */
.me-head__panel:has(.champion-ring:is(.is-champion-1, .is-champion-2, .is-champion-3)) { padding-top: 56px; margin-top: var(--space-2); }
@keyframes champion-sheen { to { rotate: 1turn; } }
@keyframes champion-twinkle {
    0%, 100% { background-size: var(--crown-w) auto, var(--star) var(--star), 0px 0px; }
    25%, 75% { background-size: var(--crown-w) auto, calc(var(--star) * 0.35) calc(var(--star) * 0.35), calc(var(--star) * 0.35) calc(var(--star) * 0.35); }
    50% { background-size: var(--crown-w) auto, 0px 0px, calc(var(--star) * 0.75) calc(var(--star) * 0.75); }
}
@keyframes champion-crown {
    from { filter: drop-shadow(0 1px 0.5px rgb(0 0 0 / 0.6)) drop-shadow(0 0 2px var(--m-glow)); }
    to { filter: drop-shadow(0 1px 0.5px rgb(0 0 0 / 0.6)) drop-shadow(0 0 calc(var(--size) * 0.2) var(--m-glow)); }
}

/* The champion's name on their profile in polished metal. */
.guest-head:is(.is-champion-1, .is-champion-2, .is-champion-3) { padding-top: 40px; }
.guest-head:is(.is-champion-1, .is-champion-2, .is-champion-3) > span:last-child {
    background: linear-gradient(100deg, var(--m1) 0%, var(--m-hi) 18%, var(--m1) 36%, color-mix(in oklab, var(--m1) 65%, var(--m2)) 55%, var(--m1) 75%, var(--m-hi) 90%, var(--m1)) 0 0 / 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 14px var(--m-glow));
    animation: champion-text 9s linear infinite;
}
[data-theme="light"] .guest-head:is(.is-champion-1, .is-champion-2, .is-champion-3) > span:last-child {
    background-image: linear-gradient(100deg, var(--m2) 0%, color-mix(in oklab, var(--m2) 55%, var(--m1)) 20%, color-mix(in oklab, var(--m2) 80%, black) 45%, var(--m2) 70%, color-mix(in oklab, var(--m2) 55%, var(--m1)) 90%, var(--m2));
    filter: none;
}
@keyframes champion-text { to { background-position: -250% 0; } }

/* The caption: a metal-rimmed pill with the crown and a glint passing over it now and then. */
.champion-chip {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; gap: 8px; justify-self: start; max-width: 100%;
    min-height: 34px; margin-top: 8px; padding: 4px 14px 4px 9px; border-radius: 999px;
    border: 1.5px solid transparent;
    background:
        linear-gradient(90deg, color-mix(in oklab, var(--m1) 16%, var(--bg-raised)), var(--bg-raised) 80%) padding-box,
        linear-gradient(100deg, var(--m2), var(--m1) 30%, var(--m-hi) 50%, var(--m1) 70%, var(--m2)) border-box;
    box-shadow: 0 0 22px -6px var(--m-glow);
    color: var(--text); font-size: var(--step--1); font-weight: 700; text-decoration: none;
}
.champion-chip:hover { color: var(--text); box-shadow: 0 0 26px -4px var(--m-glow); }
.champion-chip::after {
    content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 45%;
    background: linear-gradient(105deg, transparent, color-mix(in oklab, var(--m-hi) 32%, transparent) 50%, transparent);
    translate: -110% 0;
    animation: champion-glint 6s ease-in-out infinite;
}
@keyframes champion-glint { 0%, 55% { translate: -110% 0; } 85%, 100% { translate: 330% 0; } }
.champion-chip__crown { flex: none; width: 24px; aspect-ratio: 35 / 30; background: var(--crown) center / contain no-repeat; filter: drop-shadow(0 0 4px var(--m-glow)); }
.champion-chip span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
    :is(.avatar, .champion-ring):is(.is-champion-1, .is-champion-2, .is-champion-3)::before,
    :is(.avatar, .champion-ring):is(.is-champion-1, .is-champion-2, .is-champion-3)::after,
    .guest-head:is(.is-champion-1, .is-champion-2, .is-champion-3) > span:last-child,
    .champion-chip::after { animation: none; }
}

/* ---------- Chuťový pohár on a profile ---------- */
.cup { display: grid; gap: var(--space-3); }
.cup__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.cup__head .me-section__title { margin: 0; }
.cup__tally { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cup__tally li { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--text-2); }
.cup__tally .medal { width: 22px; height: 25px; font-size: 12px; }
.cup-list { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.cup-row { --m1: var(--line-strong); }
.cup-row--gold { --m1: var(--medal-gold); }
.cup-row--silver { --m1: var(--medal-silver); }
.cup-row--bronze { --m1: var(--medal-bronze); }
.cup-row__link { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 14px; align-items: center; gap: 10px; min-height: 64px; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--bg-raised); color: var(--text); text-decoration: none; }
.cup-row__link:hover { color: var(--text); border-color: var(--line-strong); }
.cup-row__link:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.cup-row:is(.cup-row--gold, .cup-row--silver, .cup-row--bronze) .cup-row__link { border-color: color-mix(in oklab, var(--m1) 55%, var(--line)); background: linear-gradient(100deg, color-mix(in oklab, var(--m1) 14%, var(--bg-raised)), var(--bg-raised) 60%); }
.cup-row--gold .cup-row__link { box-shadow: 0 0 24px -12px var(--medal-gold); }
.cup-row__place { display: grid; place-items: center; }
.cup-row__live { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); }
.cup-row__live .icon { width: 18px; height: 18px; }
.cup-row__main { display: grid; gap: 3px; min-width: 0; }
.cup-row__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cup-row__meta { font-size: var(--step--1); color: var(--text-2); }
.cup-row__meta b { color: var(--text); }
.cup-row__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
.cup-row__zar { height: 24px; padding: 0 8px; font-size: 12px; }
.cup-row__pts { display: grid; justify-items: end; line-height: 1; }
.cup-row__pts b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-2); }
.cup-row__pts small { font-size: 11px; font-weight: 700; color: var(--text-3); }
.cup-row__chev { width: 14px; height: 14px; color: var(--text-3); }
.cup__more > summary { min-height: 44px; }
/* Za korunkou: the same rows as the cup, a hookah instead of a medal and the bowls instead of points. */
.packer-history__sum { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font-size: var(--step--1); font-weight: 700; color: var(--text-2); }
.packer-history__sum > b { color: var(--text); }
.packer-history__avg { display: inline-flex; align-items: center; gap: 6px; }
.packer-history__avg b { color: var(--accent-2); }
.packer-row__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); }
.packer-row__icon .icon { width: 18px; height: 18px; }
.packer-row .cup-row__stats { gap: 8px; }
