/* Таблицы чемпионата: один шаблон колонок для заголовка и строк. */
.champ-table { width:100%; max-width:100%; min-width:0; overflow:hidden; border:1px solid var(--border-gold); border-radius:12px; background:var(--bg-elevated); color:var(--fg-1); font-variant-numeric:tabular-nums; }
.champ-table-controls { display:none; gap:8px; padding:8px 12px; border-bottom:1px solid var(--border-1); }
.champ-table-head,.champ-table-row { display:grid; grid-template-columns:var(--champ-columns); align-items:center; gap:var(--layout-cell-gap, clamp(4px,.65vw,10px)); padding:10px 12px; }
.champ-table-head { border-bottom:1px solid var(--border-gold); background:var(--bg-sunken); }
.champ-table-row { border-bottom:1px solid var(--border-1); min-height:66px; }
.champ-table-heading,.champ-table-cell { min-width:0; overflow-wrap:anywhere; }
.champ-table-heading { color:var(--fg-2); font:700 10px/1.3 var(--font-sans); letter-spacing:.02em; text-transform:uppercase; }
.champ-table-heading > span,.champ-table-heading button { display:flex; align-items:center; gap:3px; min-width:0; white-space:normal; overflow:visible; }
.champ-table-heading button { width:100%; border:0; padding:4px 0; background:transparent; color:inherit; font:inherit; text-transform:inherit; cursor:pointer; }
.champ-table-heading button { min-width:0; min-height:44px; padding:8px 2px; }
.champ-table-heading button > span:first-of-type,.champ-table-heading > span > span { min-width:0; overflow:visible; text-overflow:clip; white-space:normal; }
.champ-table-heading .champ-icon { width:15px; height:15px; flex:none; }
.champ-table-heading.is-active { color:var(--accent); }
.champ-table-cell { font-size:13px; line-height:1.4; }
.champ-table-cell--place { color:var(--accent); font-weight:700; }
.champ-table-cell .champ-clan-badge { min-width:0; max-width:100%; white-space:normal; }
.champ-table-cell .champ-clan-badge > span:last-child { white-space:normal; overflow-wrap:anywhere; }
.champ-table-cell--name sup { color:var(--accent); margin-left:3px; }
.champ-table .champ-strength-cell { display:flex; flex-wrap:wrap; align-items:center; gap:2px 5px; }
.champ-table .champ-strength-cell strong { font-size:16px; }
.champ-table .champ-strength-cell small { font-size:10px; color:var(--fg-2); }
.champ-table .champ-strength-cell > span { font-size:11px; white-space:nowrap; }
.champ-table .champ-form { display:flex; flex-wrap:wrap; gap:2px; }
.champ-table .champ-form .champ-icon { width:15px; height:15px; }
.champ-table-why { min-height:36px; border:0; background:transparent; color:var(--fg-2); cursor:pointer; font-size:12px; }
.champ-table-detail { padding:12px 18px; border-bottom:1px solid var(--border-gold); background:var(--bg-sunken); }
.champ-table-detail p { margin:0; }
.champ-table-empty { margin:0; padding:24px; color:var(--fg-2); }
.champ-table-mobile-top,.champ-table-mobile-metrics { display:none; }
@media (max-width:700px) {
  .champ-table .champ-table-head,.champ-table .champ-table-cell { display:none; }
  .champ-table-row { display:block; min-width:0; padding:16px; }
  .champ-table-mobile-top { display:grid; grid-template-columns:36px minmax(0,1fr); gap:12px; align-items:start; }
  .champ-table-mobile-top > b { color:var(--accent); font-size:18px; }
  .champ-table-mobile-top > div { min-width:0; overflow-wrap:anywhere; }
  .champ-table-mobile-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:14px; }
  .champ-table-mobile-metrics > div { display:flex; flex-direction:column; min-width:0; gap:4px; }
  .champ-table-mobile-metrics > div > span { display:flex; align-items:center; gap:5px; color:var(--fg-2); font-size:12px; }
  .champ-table-mobile-metrics > div > span .champ-icon { width:16px; height:16px; }
  .champ-table-mobile-metrics strong { min-width:0; overflow-wrap:anywhere; font-size:14px; }
  .champ-table-why { margin-top:8px; }
}
.champ-table-fighter { display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px; min-width:0; }
.champ-table-fighter .champ-fighter-name { min-width:0; }
.champ-table-cell small,.champ-table-mobile-top small { display:block; }
.champ-table-mobile-sort { display:none; }
@media (max-width:700px) {
  .champ-table-controls { display:flex; align-items:center; }
  .champ-table-mobile-sort { display:flex; align-items:center; gap:8px; flex:1; min-width:0; font-size:12px; }
  .champ-table-mobile-sort select { min-width:0; flex:1; min-height:44px; border:1px solid var(--border-gold); border-radius:8px; background:var(--bg-elevated); color:var(--fg-1); }
  .champ-table-fighter { align-items:flex-start; }
}
.champ-table .champ-strength-cell strong { color:var(--accent); }
.champ-table .champ-strength-cell .is-up { color:#57bb83; }
.champ-table .champ-strength-cell .is-down { color:#df7777; }
.champ-table .champ-table-why { display:block; padding:2px 0; min-height:26px; }
.champ-table .champ-table-why { min-width:44px; min-height:44px; }
.champ-table .champ-table-why--mobile { display:none; }
@media (max-width:700px) {
  .champ-table .champ-table-why--mobile { display:block; min-height:44px; }
}

/* Рейтинг одинаков в обеих темах: тёмная подложка и светлое золото. */
.champ-power.portrait-rating,
.theme-day .champ-power.portrait-rating { background:#0b1428; border:1px solid #b98435; color:#ffd77a; }
.champ-power .portrait-rating-icon,
.champ-power .portrait-rating-val,
.theme-day .champ-power .portrait-rating-icon,
.theme-day .champ-power .portrait-rating-val,
.theme-day .champ-content .champ-power .portrait-rating-icon { color:#ffd77a; }

.theme-day .champ-table .champ-strength-cell .is-up { color:#17603f; }
.theme-day .champ-table .champ-strength-cell .is-down { color:#8b2f30; }
.theme-day .champ-content { --fg-muted:#4c5c83; }
.champ-content .champ-league-tabs button[aria-selected=true],
.champ-content .champ-table-tools button[aria-pressed=true],
.champ-content .champ-switch button[aria-pressed=true],
.champ-content .champ-analysis-sort button[aria-pressed=true],
.champ-content .champ-clans-sort button[aria-pressed=true],
.theme-switch button.active { background:#ffe79a; color:var(--fg-on-gold); }
.champ-content .champ-league-tabs button,.champ-content .champ-table-tools button,
.champ-content .champ-table-tools input,.theme-switch button { min-height:44px; }
.champ-content .champ-table-tools input { min-width:44px; }
.site-profile button,.site-profile summary,
.site-profile details > div a,.site-profile details > div button { min-height:44px; }
.champ-fire-grid .champ-tempo-bars span { position:relative; isolation:isolate; overflow:hidden; background:#1e3145; }
.champ-fire-grid .champ-tempo-bars span::before { content:''; position:absolute; z-index:-1; inset:0 auto 0 0; width:var(--heat-width); background:#893f2f; }
.champ-games-podium-place,.theme-day .champ-games-podium-place { background:#141d33; border-color:#b98435; --gold-text-gradient:var(--gold-gradient-h); }
.champ-games-podium-place.place-1,.theme-day .champ-games-podium-place.place-1 { background:#302819; }
.champ-games-podium-place :is(small,.champ-games-podium-name),.theme-day .champ-games-podium-place :is(small,.champ-games-podium-name) { color:var(--c-white); }
.champ-games-podium-place :is(.champ-games-podium-medal,strong,.council-info-link),.theme-day .champ-games-podium-place :is(.champ-games-podium-medal,strong,.council-info-link) { color:var(--c-gold-soft); text-shadow:none; }
.champ-games-podium-name { width:100%; max-width:100%; font:700 clamp(16px,2vw,23px) var(--font-display); }
.champ-games-podium-logo { width:20px; height:20px; flex:none; object-fit:contain; }
.theme-day .site-footer .bottom { color:#425078; }
.theme-day .champ-league-hero--first-a .page-hero-subtitle { color:#fff4dc; text-shadow:0 1px 4px #07111f; }
.theme-day .champ-content .champ-chronicle-round h3 small,
.theme-day .champ-content .champ-chronicle-time small,
.theme-day .champ-content .champ-chronicle-event > div > small,
.theme-day .champ-content .champ-team-detail article > small,
.theme-day .champ-content .champ-analysis-values small { color:#344265; }
.champ-oracle-pending-open { display:inline-flex; align-items:center; min-height:44px; padding:8px 12px; border:1px solid var(--border-gold); border-radius:8px; text-decoration:none; }
.theme-day .champ-oracle-pending-open { color:#33240d; background:#ffe79a; border-color:#8d6629; }
@media (max-width:700px) { .mobile-theme button { min-height:44px; } }

@media (max-width:700px) {
  .champ-games-podium { grid-template-columns:1fr; }
  .champ-games-podium-place,.champ-games-podium-place.place-1 { min-height:110px; padding:14px; }
  .champ-games-podium-place.place-1 { order:-1; }
  .champ-content .champ-analysis-ledger .champ-analysis-fighter { grid-template-columns:28px minmax(0,1fr) max-content; gap:8px; align-items:start; }
  .champ-content .champ-analysis-ledger .champ-analysis-fighter > .champ-fighter-name { grid-column:2; grid-row:1/3; }
  .champ-content .champ-analysis-ledger .champ-analysis-fighter > .champ-analysis-clan { grid-column:2; grid-row:3; }
  .champ-content .champ-analysis-ledger .champ-analysis-fighter > .champ-analysis-cell[data-key="rating"] { grid-column:3; grid-row:1; }
  .champ-content .champ-analysis-ledger .champ-analysis-fighter > .champ-analysis-cell[data-key="damage"] { grid-column:3; grid-row:2; }
  .champ-content .champ-analysis-ledger .champ-analysis-fighter > .champ-analysis-cell[data-key="kills"] { grid-column:2; grid-row:4; }
  .champ-content .champ-analysis-ledger .champ-analysis-fighter > .champ-analysis-cell[data-key="revives_done"] { grid-column:3; grid-row:4; }
  .champ-content .champ-analysis-ledger .champ-analysis-fighter > .champ-analysis-more { grid-column:2/4; grid-row:5; }
  .champ-content .champ-analysis-ledger .champ-analysis-fighter .council-stats { display:block; overflow:visible; text-overflow:clip; white-space:normal; }
  .champ-content .champ-analysis-ledger .champ-analysis-fighter .champ-name-unit,
  .champ-content .champ-analysis-ledger .champ-analysis-fighter .council-name { overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:anywhere; }
  .champ-record-card { padding:10px; }
  .champ-table-row.has-fighter { display:grid; grid-template-columns:24px minmax(0,1fr) 112px; column-gap:4px; row-gap:8px; align-items:start; padding:12px 7px; }
  .champ-table-row.has-fighter .champ-table-mobile-top,
  .champ-table-row.has-fighter .champ-table-mobile-top > div,
  .champ-table-row.has-fighter .champ-table-fighter { display:contents; }
  .champ-table-row.has-fighter .champ-table-mobile-top > b { grid-column:1; grid-row:1; font-size:15px; line-height:1.4; }
  .champ-table-row.has-fighter .champ-fighter-name { grid-column:2; grid-row:1/3; min-width:0; width:100%; justify-content:start; }
  .champ-table-row.has-fighter .champ-table-fighter > .champ-power,
  .champ-table-row.has-fighter .champ-table-fighter > .champ-power-empty { grid-column:3; grid-row:1; justify-self:end; margin:0; }
  .champ-content .champ-table-row.has-fighter .champ-table-fighter > .champ-power { grid-column:3; grid-row:1; justify-self:end; width:112px; min-height:28px; margin:0; padding:3px 6px; font-size:13px; text-align:right; }
  .champ-table-row.has-fighter .champ-table-mobile-metrics { display:contents; }
  .champ-table-row.has-fighter .champ-table-mobile-metrics > div { grid-column:1/-1; display:flex; flex-direction:column; gap:4px; min-width:0; }
  .champ-table-row.has-fighter .champ-table-mobile-metrics > .champ-table-mobile-metric--primary { grid-column:3; grid-row:2; align-items:flex-end; text-align:right; margin:0; gap:2px; }
  .champ-table-row.has-fighter.no-power .champ-table-mobile-metrics > .champ-table-mobile-metric--primary { grid-row:1/3; align-self:center; }
  .champ-table-row.has-fighter .champ-table-mobile-metric--primary > span { justify-content:flex-end; font-size:11px; }
  .champ-table-row.has-fighter .champ-table-mobile-metric--primary strong { white-space:nowrap; font-size:13px; }
  .champ-table-row.has-fighter .champ-table-mobile-metric--primary strong > .champ-power { margin:0; }
  .champ-table-row.has-fighter .champ-table-mobile-metrics > .champ-table-mobile-metric--rating,
  .champ-table-row.has-fighter .champ-table-mobile-metrics > .champ-table-mobile-metric--level,
  .champ-table-row.has-fighter .champ-table-mobile-metrics > .champ-table-mobile-metric--path { display:none; }
  .champ-table-row.has-fighter .champ-table-why--mobile { grid-column:1/-1; }
  .champ-content .champ-table-row.has-fighter .champ-fighter-name .council-name-row { flex-wrap:nowrap; align-items:baseline; gap:2px; }
  .champ-content .champ-table-row.has-fighter .champ-fighter-name .champ-name-unit { display:flex; flex:0 1 auto; min-width:0; align-items:baseline; gap:6px; white-space:nowrap; }
  .champ-content .champ-table-row.has-fighter .champ-fighter-name .champ-name-unit .council-name { display:inline; flex:0 1 auto; min-width:0; max-width:100%; overflow-wrap:break-word; word-break:normal; hyphens:none; font-size:16px; line-height:1.3; }
  .champ-content .champ-table-row.has-fighter .champ-fighter-name .council-stats { display:flex; align-items:center; gap:3px; min-width:0; max-width:100%; margin:5px 0 0; overflow:visible; text-overflow:clip; white-space:nowrap; font-size:11px; }
  .champ-content .champ-table-row.has-fighter .champ-fighter-name .council-stats .champ-path { white-space:nowrap; font-size:11px; }
}

/* Keep the complete fighter identity in every table, card and comment. */
.champ-fighter-name .council-name-row,
.champ-content .champ-fighter-name .council-name-row { display:inline-flex; flex-wrap:nowrap; align-items:baseline; gap:6px; width:max-content; max-width:100%; min-width:0; }
.champ-fighter-name .council-name-row > .council-clan-logo,
.champ-content .champ-fighter-name .council-name-row > .council-clan-logo { align-self:baseline; vertical-align:baseline; }
.champ-fighter-name .champ-name-unit,
.champ-content .champ-fighter-name .council-name-row > .champ-name-unit { display:inline-flex; flex:0 1 auto; width:max-content; min-width:0; max-width:100%; white-space:nowrap; line-height:1.3; }
.champ-fighter-name .champ-name-unit .nick-race-tag,
.champ-content .champ-fighter-name .champ-name-unit .nick-race-tag { display:inline; margin:0 4px 0 0; vertical-align:baseline; }
.champ-fighter-name .champ-name-unit .council-name,
.champ-content .champ-fighter-name .champ-name-unit .council-name { display:inline; max-width:none; overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:break-word; word-break:normal; font-size:18px; line-height:1.3; vertical-align:baseline; }
.champ-fighter-name--compact .champ-name-unit .council-name,
.champ-content .champ-fighter-name--compact .champ-name-unit .council-name { font-size:14px; }
.champ-fighter-name .champ-name-unit .council-info-link,
.champ-content .champ-fighter-name .champ-name-unit .council-info-link { display:inline-flex; flex:none; align-items:center; justify-content:center; width:22px; height:22px; margin-left:0; vertical-align:baseline; }
.champ-mini-table .champ-name-unit { min-width:0; }

.champ-content .champ-scouting .champ-scout-grid { align-items:stretch; }
.champ-content .champ-scouting .champ-scout-card { height:100%; }
.champ-scout-card-main { grid-template-columns:minmax(0,1fr) max-content; align-items:start; }
.champ-scout-card-main > .champ-power { justify-self:end; align-self:start; }
.champ-content .champ-scout-card .council-name-row { flex-wrap:nowrap; }
.champ-content .champ-scout-card .champ-name-unit { display:block; white-space:normal; }
.champ-scout-reason { align-self:flex-start; margin-top:auto; border-color:#b98435; }
.champ-games-option-list .champ-games-button small,
.theme-day .champ-games-option-list .champ-games-button small { opacity:1; color:inherit; font-size:12px; }
.champ-games-comment-reactions button { min-width:44px; min-height:44px; justify-content:center; }

@media (max-width:700px) {
  .champ-content .champ-table-row.has-fighter .champ-fighter-name .champ-name-unit { display:inline-flex; flex:0 1 auto; white-space:nowrap; }
  .champ-content .champ-table-row.has-fighter .champ-fighter-name .champ-name-unit .council-name { display:inline; max-width:none; overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:break-word; font-size:18px; }
}

/* Card actions use available card width at every route that renders ChampMatchCard. */
.champ-content .champ-pair-actions { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)); align-items:stretch; gap:8px; min-width:0; width:100%; }
.champ-content .champ-pair-actions .champ-action { display:flex; min-width:0; width:100%; min-height:44px; white-space:normal; overflow-wrap:anywhere; }
.champ-journey-section .champ-tour-actions,.champ-content .champ-tour-actions { align-items:stretch; }
.champ-journey-section .champ-tour-actions .champ-action,.champ-content .champ-tour-actions .champ-action { min-height:44px; }
@media (max-width:700px) {
  .champ-content .champ-pair-actions,.champ-content .champ-tour-actions,.champ-journey-section .champ-tour-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; width:100%; }
  .champ-content .champ-pair-actions .champ-action:last-child:nth-child(odd),
  .champ-content .champ-tour-actions .champ-action:last-child:nth-child(odd),
  .champ-journey-section .champ-tour-actions .champ-action:last-child:nth-child(odd) { grid-column:1/-1; }
  .champ-content .champ-tour-actions .champ-action,.champ-journey-section .champ-tour-actions .champ-action { width:100%; white-space:normal; }
}

/* One ink and one solid gold surface for selected controls, chips and steps. */
:is(.btn-primary,.badge.gold,.champ-action--primary,.champ-action.is-primary,.champ-games-button.is-primary,.champ-games-button[aria-pressed="true"],.champ-games-tabs button[aria-selected="true"],.champ-games-steps li.is-current,.champ-scout-reason,.champ-games-next .is-current,.champ-games-comment-reactions button[aria-pressed="true"],.champ-games-comment-tools button[aria-expanded="true"],.champ-games-bet-confirm,.champ-games-confirmed,.champ-games-beta-note,.champ-games-guide-icon,.champ-games-guide-benefits,.champ-tour.is-current .champ-tour-number,.champ-countdown-inline,.champ-replay-controls > span,.champ-show-more:hover) { background:var(--button-accent-bg); color:var(--button-accent-fg); }
.theme-day :is(.champ-games-button.is-primary,.champ-games-button[aria-pressed="true"],.champ-games-tabs button[aria-selected="true"]) { background:var(--button-accent-bg); color:var(--button-accent-fg); }
.champ-content :is(.champ-games-button.is-primary,.champ-games-button[aria-pressed="true"]) { background:var(--button-accent-bg); color:var(--button-accent-fg); }
.champ-content .champ-action--primary,.champ-content .champ-action.is-primary { background:var(--button-accent-bg); color:var(--button-accent-fg); }
.champ-games-guide .champ-games-guide-benefits p,.champ-games-option-list .champ-games-button[aria-pressed="true"] small { color:inherit; }
.champ-games-button[aria-pressed="true"]:disabled,.theme-day .champ-games-button[aria-pressed="true"]:disabled { background:var(--button-accent-bg); color:var(--button-accent-fg); }
.champ-portal-overview button,.champ-journey-section button,.champ-next-section button { min-width:44px; min-height:44px; }
.champ-replay-attendance-note { margin:0; }
.champ-games-ledger > div > span { min-width:0; overflow-wrap:anywhere; }
.champ-games-me .champ-games-player { grid-template-columns:minmax(0,1fr); }
.champ-games-player-stats { grid-template-columns:repeat(4,minmax(0,1fr)); }
.champ-games-player-stats > div { overflow:visible; }
.champ-games-player-stats :is(small,span,a) { overflow-wrap:normal; word-break:normal; }
.champ-games-player-stats strong { overflow:visible; white-space:nowrap; font-size:clamp(26px,3vw,42px); }
.champ-games-level-progress { width:100%; height:8px; accent-color:var(--accent); }
.champ-games-badge-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:12px; }
.champ-games-badge { min-width:0; padding:16px; border:1px solid var(--border-gold); border-radius:13px; background:var(--bg-elevated); color:var(--fg-2); opacity:.82; overflow-wrap:anywhere; }
.champ-games-badge.is-earned { color:var(--fg-1); opacity:1; box-shadow:0 0 0 1px var(--accent-soft); }
.champ-games-badge-emoji { display:block; font-size:32px; margin-bottom:8px; filter:grayscale(1); }
.champ-games-badge.is-earned .champ-games-badge-emoji { filter:none; }
.champ-games-badge h3 { margin:0 0 6px; color:inherit; font:700 17px var(--font-serif); }
.champ-games-badge p { margin:0 0 10px; line-height:1.4; }
.champ-games-badge small { color:var(--accent); }
.champ-games-badge-progress { display:grid; gap:4px; margin:0 0 10px; font-size:12px; color:var(--fg-1); }
.champ-games-badge-progress progress { width:100%; height:6px; accent-color:var(--accent); }
@media (max-width:700px) { .champ-games-player-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:400px) { .champ-games-player-stats { grid-template-columns:1fr; } .champ-games-badge-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .champ-games-badge { padding:12px; } }

/* Приглашение войти ради уведомлений бота: карточка раздела, текст слева, кнопка справа; на телефоне — столбцом. */
.champ-notify-invite { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:16px 24px; margin:0 0 32px; padding:22px 26px; border:1px solid var(--border-gold); border-radius:18px; background:var(--bg-elevated); }
.champ-notify-invite h3 { margin:6px 0 10px; font-family:var(--font-serif); font-weight:600; font-size:28px; line-height:1.15; color:var(--fg-1); }
.champ-notify-invite ul { margin:0; padding:0; list-style:none; display:grid; gap:6px; color:var(--fg-2); font-size:15px; line-height:1.4; }
.champ-notify-invite .champ-games-button { min-height:44px; white-space:nowrap; }
.champ-notify-quiet { margin:22px 0; padding:18px; border:1px solid var(--border-gold); border-radius:12px; }
.champ-notify-quiet h3 { margin:0 0 8px; }
.champ-notify-quiet-times,.champ-notify-quiet-modes { display:flex; flex-wrap:wrap; gap:12px 24px; margin:14px 0; }
.champ-notify-quiet-times label { display:flex; align-items:center; gap:8px; }
.champ-notify-quiet select { min-height:40px; padding:6px 10px; }
@media (max-width:700px) {
  .champ-notify-invite { grid-template-columns:1fr; }
  .champ-notify-invite .champ-games-button { width:100%; justify-content:center; }
}

/* Карточка следующего боя на телефоне: значок над именем клана, имя на всю ширину своей колонки
   и переносится только по словам — иначе «Царство Небесно-е» и «BLACK DEATH» рвались посреди слова. */
@media (max-width:700px) {
  .champ-next-card .champ-matchup .champ-clan-badge--md { flex-direction:column; align-items:center; text-align:center; gap:8px; min-width:0; }
  .champ-next-card .champ-matchup { align-items:start; }
  .champ-next-card .champ-matchup .champ-clan-badge--md > span:not(.champ-clan-mark) { width:100%; overflow-wrap:normal; word-break:normal; hyphens:manual; font-size:clamp(14px,4vw,22px); line-height:1.15; }
}

/* Every framed clan icon stays inside its own frame, including small table frames. */
.champ-clan-mark > img { display:block; width:calc(100% - 6px); height:calc(100% - 6px); max-width:100%; max-height:100%; object-fit:contain; image-rendering:pixelated; transform:none; }
.champ-games-pick-logo { box-sizing:border-box; padding:4px; object-fit:contain; image-rendering:pixelated; }

/* Forecast comparison: fixed number columns leave the center track its remaining width. */
.champ-content .champ-compare-values { display:grid; grid-template-columns:76px minmax(0,1fr) 76px; gap:8px; align-items:center; min-width:0; }
.champ-content .champ-compare-values > b { display:block; min-width:0; font:700 12px/1.3 var(--font-sans); font-variant-numeric:tabular-nums; white-space:nowrap; }
.champ-content .champ-compare-values > b:last-child { text-align:right; }
.champ-content .champ-compare-track { min-width:0; }
.champ-content .champ-compare-track.is-empty { visibility:hidden; }
.champ-content .champ-path-summary--empty { display:flex; align-items:center; min-height:130px; }
.champ-content .champ-path-summary--empty p { margin:0; color:var(--fg-1); line-height:1.5; }
.champ-content .champ-forecast-why p { margin:0 0 12px; }
.champ-content .champ-forecast-why ul { margin:0; padding-left:20px; }
.champ-content .champ-forecast-why li + li { margin-top:8px; }
@media (max-width:700px) {
  .champ-content .champ-scout-card-main { grid-template-columns:minmax(0,1fr); }
  .champ-content .champ-scout-card-main > .champ-power { justify-self:start; }
  .champ-content .champ-games-poll .champ-games-pick > span { width:100%; min-width:0; font-size:clamp(12px,3.2vw,14px); overflow-wrap:normal; word-break:normal; hyphens:none; white-space:normal; }
}

/* Принятая ставка лежит на золоте: весь текст тёмный. Вторая строка («500 очков · результат
   появится после боя») наследовала светлый цвет абзаца раздела и на золоте не читалась (скрин 11.10). */
.champ-games-confirmed, .champ-games-confirmed strong, .champ-games-confirmed p, .champ-games-confirmed small { color:var(--fg-on-gold); }
.champ-games-confirmed p { opacity:.82; font-weight:500; }
/* Подтверждение ставки — тот же светлый золотой фон, текст и ссылки тёмные (владелец 14.10.2026: «сливается белое на белом»). */
.champ-games-bet-confirm, .champ-games-bet-confirm p, .champ-games-bet-confirm strong, .champ-games-bet-confirm small, .champ-games-bet-confirm a, .champ-games-bet-confirm a *, .champ-games-bet-confirm button:not(.is-primary) { color:var(--fg-on-gold) !important; }
.champ-games-bet-confirm p { font-weight:500; }
.champ-games-bet-confirm button:not(.is-primary) { background:transparent !important; border:1px solid rgba(42,28,6,.45) !important; box-shadow:none !important; }
.champ-games-bet-confirm button:not(.is-primary):hover { background:rgba(42,28,6,.08) !important; }

/* iPhone/iPad: Safari сам приближает страницу, когда фокус попадает в поле со шрифтом мельче
   16 px (у нас было 13 px у сумм ставок и списков), — после этого страница «ездит» влево-вправо
   (жалоба владельца 11.10.2026). Правило только для iOS: @supports(-webkit-touch-callout). */
@supports (-webkit-touch-callout: none) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size:max(16px, 1em) !important; }
}

/* Ник в тексте статьи: как слово, а не плашка. Цвет — раса, пунктир — «можно нажать». */
.nick-inline { position:relative; display:inline-flex; align-items:center; gap:6px; width:max-content; max-width:100%; min-width:0; vertical-align:middle; }
.nick-inline-btn { all:unset; cursor:pointer; display:inline; color:var(--race-color, #FFE79A); font-weight:600;
  border-bottom:1px dotted currentColor; line-height:inherit; }
.theme-day .nick-inline-btn { color:var(--race-color-day, #6B4410); }
.nick-inline-btn:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:2px; }
.nick-inline-logo { display:inline-block; width:14px; height:14px; max-width:100%; max-height:100%; margin:0 3px 0 0; vertical-align:-2px; image-rendering:pixelated; object-fit:contain; }
.fighter-clan-mark, .nick-line .nick-fit-fixed:is(img,svg), .champ-fighter-clan-link img { max-width:100%; max-height:100%; object-fit:contain; }
.nick-pop { position:absolute; left:0; top:calc(100% + 6px); z-index:40; display:grid; gap:6px; width:max-content;
  min-width:220px; max-width:min(300px, calc(100vw - 32px)); padding:12px 14px; border:1px solid var(--border-gold);
  border-radius:12px; background:var(--bg-elevated); box-shadow:0 10px 28px rgba(0,0,0,.45); color:var(--fg-1);
  font:400 14px/1.4 var(--font-sans); white-space:normal; text-align:left; }
.nick-pop-head { display:flex; align-items:center; gap:6px; font-size:16px; }
.nick-pop-head b { font-family:var(--font-serif); font-size:18px; color:var(--fg-1); }
.nick-pop-meta { color:var(--fg-2); }
.nick-pop-links { display:flex; flex-wrap:wrap; gap:6px 14px; }
.nick-pop-links a { color:var(--accent); text-decoration:underline; min-height:32px; display:inline-flex; align-items:center; }
@media (max-width:700px) {
  .nick-pop { position:fixed; left:16px; right:16px; bottom:16px; top:auto; max-width:none; width:auto; }
}

/* Карточка боя «VS»: значки кланов — крупные квадраты (владелец 11.10: «зачем иконки сплющило»).
   Прежнее width:auto на телефоне сжимало рамку в узкую капсулу, а значок внутри становился мелким. */
.champ-matchup .champ-clan-badge--md > .champ-clan-mark { width:64px; height:64px; border-radius:12px; flex:none; align-self:center; }
@media (max-width:700px) { .champ-matchup .champ-clan-badge--md > .champ-clan-mark { width:56px; height:56px; } }

/* Таблицы бойцов: на широком экране рейтинг — только в своей колонке. Копия под ником нужна
   лишь на телефоне, где колонки рейтинга нет (жалоба 12.10: рейтинг дважды и вылезал за колонку). */
@media (min-width:701px) {
  .champ-table-row:has(> .champ-table-cell--rating) .champ-table-fighter > :is(.champ-power,.champ-power-empty) { display:none; }
  .champ-table-cell--rating { min-width:0; }
  .champ-table-cell--rating .champ-power { max-width:100%; box-sizing:border-box; }
}
/* Имя клана в ячейке таблицы переносится только по словам («Инквизици-я» на 878 px). */
.champ-table-cell--clan .champ-clan-badge > span:not(.champ-clan-mark) { overflow-wrap:normal; word-break:normal; hyphens:manual; }

/* Телефон: ник с расой, значком и «i» — на всю ширину строки, рейтинг и главный показатель — ниже, рядом.
   Раньше справа стояла колонка рейтинга 112 px, ник ужимался до ~157 px, и даже «JonCarter» не влезал:
   «i» уезжала на новую строку, «LVL 20 · путь» обрезался (владелец 12.10: «место же есть, в одну строку»). */
@media (max-width:700px) {
  .champ-table-row.has-fighter { grid-template-columns:24px minmax(0,1fr) auto; }
  .champ-table-row.has-fighter .champ-fighter-name { grid-column:2/-1; grid-row:1; }
  .champ-table-row.has-fighter .champ-table-fighter > :is(.champ-power,.champ-power-empty),
  .champ-content .champ-table-row.has-fighter .champ-table-fighter > .champ-power { grid-column:2; grid-row:2; justify-self:start; width:auto; text-align:left; }
  .champ-table-row.has-fighter .champ-table-mobile-metrics > .champ-table-mobile-metric--primary,
  .champ-table-row.has-fighter.no-power .champ-table-mobile-metrics > .champ-table-mobile-metric--primary { grid-column:3; grid-row:2; align-self:center; }
  .champ-table-row.has-fighter.no-power .champ-table-mobile-metrics > .champ-table-mobile-metric--primary { grid-column:2/-1; align-items:flex-start; text-align:left; }
}
/* Таблица на широком экране: ник со значком и «i» — целой строкой, рейтинг под ним, а не рядом. */
.champ-table-fighter > .champ-fighter-name { flex:1 1 100%; }

/* Герои недели: лидеры номинаций под таблицей урона (12.10.2026). Строка «номинация · боец · значение»
   на всю ширину колонки: в плитке 2×2 длинный ник переносил «i» на новую строку. */
.champ-week-leaders { display:flex; flex-direction:column; gap:8px; margin-top:16px; }
.champ-week-leader { display:grid; grid-template-columns:190px minmax(0,1fr) auto; align-items:center; gap:14px; min-width:0; padding:12px 18px; border:1px solid var(--border-gold); border-radius:12px; background:var(--bg-elevated); color:var(--fg-1); }
.champ-week-leader-label { display:flex; align-items:center; gap:6px; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--fg-2); font-weight:700; white-space:nowrap; }
.champ-week-leader-label .champ-icon { width:18px; height:18px; flex:none; }
.champ-week-leader .champ-fighter-name { min-width:0; }
.champ-week-leader-value { font-family:var(--font-display); font-size:24px; line-height:1; color:var(--fg-1); font-variant-numeric:tabular-nums; text-align:right; white-space:nowrap; }
@media (max-width:560px) {
  .champ-week-leader { grid-template-columns:minmax(0,1fr) auto; row-gap:8px; }
  .champ-week-leader-label { grid-column:1 / -1; }
}

/* Кнопки тура («Карточка матча», «История боя») — одной ширины, по самой широкой (12.10.2026). */
@media (min-width:701px) {
  .champ-journey-section .champ-tour-actions,.champ-content .champ-tour-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; }
  .champ-journey-section .champ-tour-actions .champ-action,.champ-content .champ-tour-actions .champ-action { width:100%; justify-content:center; }
}
.champ-tour-end a.champ-action:hover { text-decoration:none; }
/* One grid contract for every ChampTable, including cards nested in records. */
.champ-table-head,.champ-table-row{gap:12px;padding-inline:16px}
.champ-table-head{min-height:58px}
.champ-table-row{min-height:72px}
.champ-table-heading,.champ-table-cell{min-width:0}
.champ-table-heading>span,.champ-table-heading button{white-space:normal;overflow:visible;line-height:1.3}
.champ-table-heading button>span:first-of-type,.champ-table-heading>span>span{overflow:visible;text-overflow:clip}
.champ-table-cell>.champ-table-fighter{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.champ-table-cell .champ-clan-badge>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}
.champ-table-cell .champ-pair-line{display:grid;grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);align-items:center;gap:8px;min-width:0}
.champ-table-cell .champ-pair-line>.champ-clan-badge{min-width:0}
.champ-table-cell .champ-pair-line>strong{justify-self:center;text-align:center;min-width:76px;font-variant-numeric:tabular-nums}
.champ-table-cell--hit>span{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.champ-table-cell--hit .champ-icon,.champ-table-heading .champ-icon{width:18px;height:18px;flex:none}
@media(max-width:700px){.champ-table-row{min-height:116px;padding:16px}.champ-table-mobile-top{align-items:center}.champ-table-mobile-metrics{align-items:start}.champ-table-cell>.champ-table-fighter{display:flex}.champ-table-mobile-top .champ-pair-line{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr)}}
.champ-ratings-hub{padding-top:24px}
.champ-ratings-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:10px;scrollbar-width:thin}
.champ-ratings-tabs button{flex:none;min-height:44px;padding:8px 16px;border:1px solid var(--border-gold);border-radius:12px;background:var(--bg-elevated);color:var(--fg-1);font:700 13px var(--font-sans);cursor:pointer}
.champ-ratings-tabs button[aria-selected=true]{background:var(--gold-gradient-h);color:var(--fg-on-gold)}
.champ-ratings-scope{display:flex;align-items:center;gap:8px;padding-top:12px;color:var(--fg-2);font-size:13px}
.champ-ratings-scope>span{margin-right:5px}
.champ-ratings-own{position:sticky;top:80px;z-index:8;display:flex;align-items:center;gap:8px;margin-bottom:16px;padding:12px 16px;border:1px solid var(--border-gold-strong);border-radius:12px;background:var(--bg-elevated);color:var(--fg-1);box-shadow:var(--shadow-2);font-weight:700;font-variant-numeric:tabular-nums}
.champ-ratings-podium-art{position:relative;width:88px;height:88px;margin:2px auto 8px}
.champ-ratings-avatar{width:88px;height:88px;object-fit:cover;border:2px solid var(--border-gold-strong);border-radius:50%;background:#0b1730}
.champ-ratings-emblem{position:absolute;right:-6px;bottom:-4px;width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 2px 4px #000)}
.champ-rank-level{display:inline-flex;align-items:center;gap:6px;min-width:0}.champ-rank-level img{width:27px;height:27px;object-fit:contain}
.champ-rank-medal{font-variant-numeric:tabular-nums;font-weight:700}
.champ-rankings-table .champ-table-cell--result{font-variant-numeric:tabular-nums;white-space:nowrap}
.champ-games-podium-place{display:grid;justify-items:center;align-content:center;gap:6px;min-width:0;min-height:246px}
.champ-games-podium-place .council-name{background-image:linear-gradient(90deg,#ffe4a4,#fff3d3,#ffe4a4)!important}
.champ-games-podium-place .champ-fighter-name{max-width:100%}
@media(max-width:700px){.champ-games-podium-place{min-height:150px}.champ-ratings-own{top:66px}.champ-ratings-scope{flex-wrap:wrap}}
.champ-journey-section .champ-tour { grid-template-columns:54px minmax(0,1fr); align-items:start; gap:12px 20px; }
.champ-journey-section .champ-tour-main { grid-column:2; min-width:0; }
.champ-journey-section .champ-tour-end { grid-column:2; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px 16px; min-width:0; text-align:left; }
.champ-journey-section .champ-tour-end time { grid-column:1; }
.champ-journey-section .champ-result { grid-column:2; justify-self:end; max-width:100%; min-width:0; padding:8px 12px; font-size:clamp(13px,1.35vw,18px); line-height:1.25; white-space:normal; }
.champ-journey-section .champ-result .champ-icon { width:22px; height:22px; flex:none; }
.champ-journey-section .champ-result span { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px; }
.champ-journey-section .champ-result small { font:500 12px var(--font-sans); letter-spacing:0; }
.champ-journey-section .champ-tour-actions { grid-column:1/-1; justify-content:start; }
@media(max-width:700px){.champ-journey-section .champ-tour{grid-template-columns:44px minmax(0,1fr);gap:10px 12px}.champ-journey-section .champ-tour-end{grid-column:1/-1;grid-template-columns:1fr}.champ-journey-section .champ-result{grid-column:1;justify-self:start}.champ-journey-section .champ-tour-actions{grid-column:1}}

/* Строка ника: значок, раса и информация не сжимаются; размер меняет useNickFit. */
.nick-line { display:inline-flex !important; flex-wrap:nowrap !important; align-items:center; gap:6px; width:max-content; max-width:100%; min-width:0; white-space:nowrap !important; }
.nick-line .nick-fit-fixed { flex:none !important; white-space:nowrap; }
.nick-line .nick-fit-text { display:block !important; flex:0 1 auto !important; min-width:0 !important; max-width:100% !important; overflow:hidden !important; text-overflow:ellipsis !important; white-space:nowrap !important; overflow-wrap:normal !important; word-break:normal !important; }
.nick-line .council-identity { display:contents; }
.nick-line .champ-name-unit { display:inline-flex !important; flex:0 1 auto !important; flex-wrap:nowrap !important; width:max-content; min-width:0; max-width:100%; align-items:center !important; gap:6px; white-space:nowrap !important; }
.nick-line .champ-name-unit .nick-fit-text { font-size:18px; }
.champ-fighter-name--compact .nick-line .nick-fit-text { font-size:14px; }
.nick-line .top-nick { display:inline-flex; flex:0 1 auto; min-width:0; max-width:100%; gap:4px; white-space:nowrap; }
.nick-line .top-nick-name { min-width:0; }
.nick-line .nick-inline-logo { margin:0; }
.nick-inline .nick-line { flex:0 1 auto; width:max-content; max-width:100%; }
.nick-inline .nick-inline-info { flex:none; margin:0; }
.top-nick-row.nick-line { width:max-content; max-width:100%; gap:6px; }
.top-nick-row .top-info-link { flex:none; margin:0; }
.council-card .nick-line { justify-content:center; }
.council-card .nick-line .council-name { white-space:nowrap !important; }
.hud-nickline.nick-line { width:auto; }
.pro-nickline.nick-line { width:265px; }
.nick-line .hud-info { margin-left:auto; }
.site-profile .nick-line { width:auto; max-width:100%; }
.mobile-profile .nick-line { width:auto; max-width:100%; vertical-align:middle; }
.site-profile .nick-line img { width:18px; height:18px; object-fit:contain; }
.champ-games-podium-place .nick-line { justify-content:center; }
.house-gallery-head b { min-width:0; }
.house-cmp .house-panel-title .nick-line { flex:0 1 auto; }
.cm-meta .cm-nick-line { width:auto; vertical-align:middle; }
.cm-meta .cm-nick-line .clan-info-link { margin-left:0; }
.kit-author-inline.nick-line { width:auto; max-width:100%; vertical-align:middle; }
.kit-author-inline .clan-info-link { margin-left:0; }
.champ-fighter-name .council-stats,.champ-content .champ-fighter-name .council-stats { overflow:visible; text-overflow:clip; white-space:normal; }
@media (min-width:641px) and (max-width:900px) {
  .champ-tour-grid span,.champ-tour-grid small { white-space:normal; overflow-wrap:anywhere; }
}

/* Название клана в ячейке таблицы переносится только между словами: общее overflow-wrap:anywhere ячеек
   рвало «Государ|ство», «MEGADI|GGERS» (12.10.2026). */
.champ-table-cell .champ-clan-badge,.champ-table-cell .champ-clan-badge *{ overflow-wrap:normal !important; word-break:normal !important; }
/* Планшетная ширина: широкая таблица прокручивается внутри своего блока, а не обрезается (12.10.2026). */
@media (min-width:701px) and (max-width:1099px) { .champ-content .champ-table { overflow-x:auto; } }

/* Зал славы и социальный профиль */
.champ-social-hall,.champ-social-invite,.champ-social-chest,.champ-social-week{border:1px solid var(--border-gold);border-radius:20px;background:var(--bg-elevated);box-shadow:0 18px 50px rgba(4,13,31,.12);overflow:hidden;margin-bottom:22px}
.champ-social-hall{position:relative}.champ-social-cover{min-height:220px;background-size:cover;background-position:center;position:relative;display:flex;align-items:flex-end;gap:24px;padding:25px 32px;color:#fff;isolation:isolate}.champ-social-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,13,31,.48),transparent 60%);z-index:-1}.champ-social-overline{position:absolute;top:24px;left:32px;font:700 11px var(--font-sans);letter-spacing:.22em;text-transform:uppercase;color:#e8cf93}.champ-social-overline i{margin:0 10px;font-style:normal}.champ-social-identity{display:flex;align-items:center;gap:20px;min-width:0;flex:1}.champ-social-identity>div{min-width:0}.champ-social-name{font:700 clamp(24px,3vw,38px) var(--font-serif);line-height:1.18}.champ-social-name :is(a,span){color:#fff}.champ-social-title{display:block;margin-top:8px;font:italic 19px var(--font-serif);color:#eed79a}.champ-social-avatar{position:relative;display:grid;place-items:center;flex:none;width:116px;height:116px;border:5px solid #a8734d;border-radius:50%;background:#11223d;box-shadow:0 6px 28px #0009}.champ-social-avatar.tier-silver{border-color:#c3d3de}.champ-social-avatar.tier-gold{border-color:#e9bb53}.champ-social-avatar.tier-radiant{border-color:#ffe59a;box-shadow:0 0 0 3px #f4c96c77,0 0 38px #ffe29a99}.champ-social-avatar>img:first-child{width:100%;height:100%;object-fit:cover;border-radius:50%}.champ-social-level{position:absolute;right:-17px;bottom:-13px;width:52px;height:52px;border:2px solid #d9b568;border-radius:50%;box-shadow:0 2px 12px #0009}.champ-social-pinned{display:flex;gap:8px;align-self:flex-end}.champ-social-body{padding:26px 32px 32px}.champ-social-glory{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:13px;color:var(--fg-2)}.champ-social-glory b{color:var(--accent);font-size:17px}.champ-social-glory progress{grid-column:1/-1;width:100%;height:8px;accent-color:var(--accent)}.champ-social-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:22px 0}.champ-social-stats>div{min-width:0;padding:14px;border:1px solid var(--border-gold);border-radius:12px;background:var(--bg);display:grid;gap:4px}.champ-social-stats small{color:var(--fg-2);font-size:11px}.champ-social-stats strong{font:700 clamp(14px,1.5vw,21px) var(--font-serif);color:var(--fg-1);overflow-wrap:anywhere}.champ-social-actions,.champ-social-tabs{display:flex;gap:10px;flex-wrap:wrap}.champ-social-actions button:disabled{opacity:.6}.champ-social-tabs{border-bottom:1px solid var(--border-gold);margin:22px 0;padding-bottom:8px}.champ-social-tabs button{padding:11px 14px;background:none;border:0;border-radius:8px;color:var(--fg-2);font:700 14px var(--font-sans);cursor:pointer}.champ-social-tabs button[aria-selected=true]{background:var(--accent-soft);color:var(--accent)}.champ-social-medal{position:relative;display:inline-grid;place-items:center;flex:none;width:72px;height:72px;border-radius:50%;overflow:hidden;border:2px solid #b99a5a;background:#17233b;box-shadow:0 3px 12px #0003}.champ-social-medal img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) brightness(.55)}.champ-social-medal.is-earned img{filter:none}.champ-social-medal.is-secret img{filter:brightness(0)}.champ-social-medal.is-secret b{position:absolute;color:#e8d9ae;font:700 32px var(--font-serif)}.champ-social-medal.is-large{width:64px;height:64px}.champ-social-medal.is-small{width:48px;height:48px}.champ-social-badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.champ-social-badges article{display:flex;align-items:center;gap:12px;min-width:0;padding:12px;border:1px solid var(--border-gold);border-radius:12px;background:var(--bg);opacity:.8}.champ-social-badges article.is-earned{opacity:1;box-shadow:inset 0 0 20px var(--accent-soft)}.champ-social-badges article>div{min-width:0}.champ-social-badges h3{margin:0 0 4px;font:700 16px var(--font-serif);color:var(--fg-1)}.champ-social-badges p{margin:0 0 6px;font-size:12px;line-height:1.35;color:var(--fg-2)}.champ-social-badges small{color:var(--accent);font-size:11px}.champ-social-soon,.champ-social-invite{padding:30px;color:var(--fg-2)}.champ-social-invite h2{margin:8px 0;color:var(--fg-1);font:700 clamp(22px,3vw,32px) var(--font-serif)}.champ-social-invite>div{display:flex;gap:10px;flex-wrap:wrap}.champ-social-settings{display:grid;gap:18px}.champ-social-settings h3{margin:10px 0 0;color:var(--fg-1);font:700 21px var(--font-serif)}.champ-social-settings h3 small{font:400 12px var(--font-sans);color:var(--fg-2)}.champ-social-cover-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.champ-social-cover-picker button{position:relative;min-width:0;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#07152b;color:#fff;cursor:pointer}.champ-social-cover-picker button[aria-pressed=true]{border-color:#e8bb63;box-shadow:0 0 0 2px #e8bb6355}.champ-social-cover-picker img{display:block;width:100%;height:75px;object-fit:cover}.champ-social-cover-picker button:disabled img{filter:brightness(0)}.champ-social-cover-picker span{display:block;padding:6px;font-size:11px}.champ-social-field,.champ-social-policy label{display:grid;gap:8px;color:var(--fg-1);font-weight:700}.champ-social-field select,.champ-social-policy select{width:100%;padding:10px;border:1px solid var(--border-gold);border-radius:8px;background:var(--bg);color:var(--fg-1)}.champ-social-pin-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.champ-social-pin-picker button{display:flex;align-items:center;gap:8px;text-align:left;border:1px solid var(--border-gold);border-radius:9px;padding:8px;background:var(--bg);color:var(--fg-1);cursor:pointer}.champ-social-pin-picker button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.champ-social-check{display:flex;align-items:center;gap:9px;color:var(--fg-1)}.champ-social-policy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.champ-social-policy small{color:var(--fg-2)}.champ-social-chest,.champ-social-week{display:flex;align-items:center;gap:22px;padding:18px 26px}.champ-social-chest>img,.champ-social-week>img{width:148px;height:148px;object-fit:contain;flex:none}.champ-social-chest h2,.champ-social-week h2{margin:4px 0;font:700 27px var(--font-serif);color:var(--fg-1)}.champ-social-chest p,.champ-social-week p{margin:6px 0;color:var(--fg-2)}.champ-social-chest small,.champ-social-week small{display:block;margin:9px 0;color:var(--fg-2);font-size:12px}.champ-social-chest.state-ready{box-shadow:0 0 0 1px var(--accent),0 0 30px var(--accent-soft)}.champ-social-chest.state-ready>img{animation:chest-sway 3s ease-in-out infinite}.champ-social-chest.state-opened>img{animation:chest-appear .7s both}.champ-social-week{align-items:flex-start}.champ-social-week>img{width:120px;height:120px}.champ-social-week>div{flex:1}.champ-social-week ul{list-style:none;padding:0;margin:12px 0;display:grid;gap:7px}.champ-social-week li{display:flex;gap:10px;align-items:center;color:var(--fg-2)}.champ-social-week li b{color:var(--accent)}.champ-social-week li strong{margin-left:auto;color:var(--accent)}.champ-social-week li.is-done span{text-decoration:line-through;opacity:.7}.header-player-chest{width:22px;height:22px;object-fit:contain}.champ-footer-crest{display:inline-flex;align-items:center;gap:6px}.champ-secret-rune{border:0;background:none;color:var(--accent);opacity:.32;font-size:18px;cursor:pointer;animation:rune-glint 5s ease-in-out infinite}.champ-secret-rune:hover,.champ-secret-rune:focus-visible{opacity:1}.champ-social-ceremony-backdrop{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:16px;background:rgba(2,8,21,.8);backdrop-filter:blur(8px)}.champ-social-ceremony{position:relative;isolation:isolate;overflow:hidden;width:min(100%,480px);padding:42px 25px;text-align:center;border:1px solid #d7ac5b;border-radius:24px;background:radial-gradient(circle at 50% 32%,#263e5b,#09172e 65%);box-shadow:0 0 90px #e4b86455;color:#fff}.champ-social-ceremony>.eyebrow{position:relative;color:#efd08b}.champ-social-ceremony>img{position:relative;display:block;width:clamp(130px,35vw,180px);height:auto;margin:20px auto 12px;border-radius:50%;box-shadow:0 0 35px #f3c86a88}.champ-social-ceremony h2{position:relative;margin:8px 0;font:700 34px var(--font-serif);color:#f7e5bc}.champ-social-ceremony p{position:relative;color:#f0cb7f;font-size:21px;font-weight:700}.champ-social-ceremony>div:last-of-type{position:relative;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.champ-social-ceremony small{display:block;margin-top:15px;color:#c8c5b9}.champ-social-rays{position:absolute;z-index:-1;left:50%;top:38%;width:500px;height:500px;transform:translate(-50%,-50%);background:repeating-conic-gradient(from 0deg,transparent 0 12deg,#e8bb6333 15deg 19deg,transparent 23deg 30deg);mask-image:radial-gradient(circle,transparent 0 65px,#000 110px,transparent 240px);animation:social-rays 30s linear infinite}.champ-social-particles i{position:absolute;left:50%;top:40%;width:3px;height:3px;border-radius:50%;background:#f9d88e;box-shadow:0 0 8px #ffe9a5;animation:social-spark calc(2s + var(--i)*.15s) ease-in-out infinite alternate}@keyframes social-rays{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes social-spark{to{opacity:.1;transform:translateY(-30px)}}@keyframes chest-sway{50%{transform:rotate(-4deg) translateY(-4px)}}@keyframes chest-appear{from{transform:scale(.8);filter:brightness(2)}to{transform:scale(1);filter:brightness(1)}}@keyframes rune-glint{50%{opacity:.7;text-shadow:0 0 9px var(--accent)}}
@media(max-width:800px){.champ-social-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.champ-social-cover-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.champ-social-cover{min-height:140px;display:block;padding:45px 16px 14px}.champ-social-overline{top:13px;left:16px}.champ-social-identity{gap:12px}.champ-social-avatar{width:70px;height:70px;border-width:3px}.champ-social-level{width:34px;height:34px;right:-9px;bottom:-7px}.champ-social-title{font-size:14px}.champ-social-pinned{position:absolute;right:12px;bottom:8px;gap:3px}.champ-social-pinned .champ-social-medal{width:35px;height:35px}.champ-social-body{padding:17px}.champ-social-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.champ-social-stats>div{padding:10px}.champ-social-badges{grid-template-columns:1fr}.champ-social-chest,.champ-social-week{gap:8px;padding:15px}.champ-social-chest>img,.champ-social-week>img{width:80px;height:80px}.champ-social-chest h2,.champ-social-week h2{font-size:20px}.champ-social-policy{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.champ-social-rays,.champ-social-particles i,.champ-social-chest.state-ready>img,.champ-social-chest.state-opened>img,.champ-secret-rune{animation:none!important}}

/* The footer rune is ordinary text for contrast purposes, not faded decoration. */
.champ-secret-rune{color:var(--fg-2);opacity:1}
.champ-secret-rune:hover,.champ-secret-rune:focus-visible{color:var(--accent);opacity:1}
.champ-social-tabs button:disabled{opacity:.48;cursor:default}.champ-social-chest.state-opened{position:relative}.champ-social-chest.state-opened:after{content:"";position:absolute;left:34px;top:20px;width:150px;height:150px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,#ffe8a6aa,transparent 68%);animation:chest-flash .9s ease-out both}@keyframes chest-flash{from{opacity:1;transform:scale(.3)}to{opacity:0;transform:scale(1.8)}}@media(prefers-reduced-motion:reduce){.champ-social-chest.state-opened:after{animation:none;display:none}}
.champ-social-cover .champ-clan-badge{display:inline-flex;margin-top:6px;color:#f5e6c5;background:rgba(6,15,32,.46);border-color:#e7c98277}.champ-social-name .champ-fighter-name{font:inherit}.champ-social-name .council-stats{color:#e9d9b9}
.champ-social-streak-icons{display:inline-flex;gap:3px;margin-right:5px;vertical-align:middle}.champ-social-streak-icons i{display:block;width:13px;height:17px}.champ-social-streak-icons .is-flame{background:linear-gradient(#f4cc6c,#d56939);clip-path:polygon(48% 0,76% 35%,83% 17%,100% 60%,75% 100%,25% 100%,0 62%,28% 34%,28% 58%)}.champ-social-streak-icons .is-shield{background:linear-gradient(#d7e7ee,#8cb5d4);clip-path:polygon(50% 0,100% 20%,91% 70%,50% 100%,9% 70%,0 20%)}
.champ-social-avatar.tier-radiant:after{content:"";position:absolute;inset:-8px;border-radius:50%;border:2px solid transparent;background:conic-gradient(from 0deg,transparent 0 70%,#fff2b7 78%,transparent 88%) border-box;mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);mask-composite:exclude;pointer-events:none;animation:social-avatar-glint 7s linear infinite}.champ-social-chest.state-opened:before{content:"";position:absolute;left:40px;top:15px;width:140px;height:140px;pointer-events:none;background:radial-gradient(circle,#ffe4a7 0 2px,transparent 3px) 0 0/27px 31px,radial-gradient(circle,#f6be5b 0 2px,transparent 3px) 8px 8px/38px 35px;animation:chest-spark .95s ease-out both}@keyframes chest-spark{from{opacity:1;transform:scale(.4) rotate(-12deg)}to{opacity:0;transform:scale(1.6) rotate(9deg)}}@media(prefers-reduced-motion:reduce){.champ-social-avatar.tier-radiant:after,.champ-social-chest.state-opened:before{animation:none;display:none}}

@keyframes social-avatar-glint{to{transform:rotate(360deg)}}
.champ-social-badge-progress{display:grid;gap:3px;margin:5px 0;color:var(--fg-2);font-size:11px}.champ-social-badge-progress progress{width:100%;height:5px;accent-color:var(--accent)}

/* Обложка остаётся тёмной в обеих темах, поэтому весь текст на ней светлый. */
.champ-social-cover:after{background:linear-gradient(0deg,rgba(4,11,27,.72),transparent 75%)}
.champ-social-copy,.champ-social-name,.champ-social-name .champ-fighter-name{min-width:0;max-width:100%}
.champ-social-name .nick-line .nick-fit-text{font-size:clamp(22px,3vw,32px)}
.champ-social-name .council-name{background:none!important;background-image:none!important;-webkit-text-fill-color:#fff!important;color:#fff!important;text-shadow:0 2px 7px #000c}
.champ-social-name .nick-race-tag,.champ-social-name .council-info-link{color:#f5deb0!important;-webkit-text-fill-color:#f5deb0!important}
.champ-social-name .council-stats,.champ-social-name .champ-path,.champ-social-name .champ-path--unknown{color:#f4e8ce!important;-webkit-text-fill-color:#f4e8ce!important;text-shadow:0 1px 5px #000c}
.champ-social-name .council-stats{display:flex;align-items:center;gap:3px;margin:8px 0 0 24px;max-width:calc(100% - 24px);min-height:20px;line-height:1.4;white-space:nowrap}
.champ-social-pinned{flex-direction:column;align-items:flex-end;gap:5px}
.champ-social-pinned-medals{display:flex;gap:8px}
.champ-social-pin-hint{max-width:220px;color:#f5deb0;font:500 11px/1.35 var(--font-sans);text-align:right;text-shadow:0 1px 5px #000c}
.champ-social-pin-hint:hover{color:#fff}
.champ-social-glory b,.champ-social-stats strong{font-variant-numeric:lining-nums tabular-nums;font-family:var(--font-sans)}
@media(max-width:550px){
  .champ-social-cover{display:flex;flex-direction:column;align-items:stretch;gap:14px;min-height:0;padding:48px 18px 18px}
  .champ-social-overline{left:18px}
  .champ-social-identity{flex-direction:column;align-items:flex-start;gap:14px;width:100%}
  .champ-social-avatar{width:78px;height:78px}
  .champ-social-copy{width:100%}
  .champ-social-name .nick-line{width:max-content;max-width:100%}
  .champ-social-name .council-stats{margin-top:8px}
  .champ-social-pinned{position:static;align-items:flex-start;gap:7px}
  .champ-social-pinned-medals{gap:7px}
  .champ-social-pinned .champ-social-medal{width:44px;height:44px}
  .champ-social-pin-hint{max-width:none;text-align:left}
}

/* Подарки и сундуки */
.champ-social-stats:not(.is-detail){grid-template-columns:repeat(7,minmax(0,1fr))}
@media(max-width:800px){.champ-social-stats:not(.is-detail){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:550px){.champ-social-stats:not(.is-detail){grid-template-columns:repeat(2,minmax(0,1fr))}}
.champ-gift-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:14px;margin:20px 0;min-width:0}
.champ-gift-card{--gift-glow:#9eacc4;position:relative;min-width:0;display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--gift-glow);border-radius:15px;background:linear-gradient(145deg,rgba(24,39,68,.95),rgba(9,18,35,.95));box-shadow:inset 0 0 20px rgba(255,255,255,.04);overflow:hidden}
.champ-gift-card.rarity-uncommon{--gift-glow:#b7c7dc}.champ-gift-card.rarity-rare{--gift-glow:#5796ef}.champ-gift-card.rarity-epic{--gift-glow:#ae71e9}.champ-gift-card.rarity-legendary{--gift-glow:#e8bc62}.champ-gift-card.rarity-mythic{--gift-glow:#ed82d4;background:linear-gradient(130deg,#16284f,#42265b,#142d44);animation:champ-mythic-border 5s linear infinite}
.champ-gift-card.rarity-legendary::before{content:"";position:absolute;inset:-60%;pointer-events:none;background:linear-gradient(105deg,transparent 43%,#ffe6a033 50%,transparent 57%);transform:translateX(-70%);animation:champ-gift-shine 4s ease-in-out infinite}@keyframes champ-gift-shine{50%,100%{transform:translateX(70%)}}
@keyframes champ-mythic-border{50%{filter:hue-rotate(80deg)}}
.champ-gift-card.is-spoiled>img{filter:grayscale(1) sepia(.35);opacity:.68}
.champ-gift-card>img{width:100%;max-height:165px;object-fit:contain;border-radius:10px}
.champ-gift-card-text{display:flex;flex-direction:column;gap:4px}.champ-gift-card-text strong{color:var(--gold,#efc875)}.champ-gift-card-text small,.champ-gift-card small{color:var(--fg-muted,#aab4ca)}.champ-gift-card-text p{margin:4px 0;overflow-wrap:anywhere}
.champ-gift-card-actions,.champ-gift-card-reactions,.champ-gift-subtabs{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}
.champ-gift-card-actions button,.champ-gift-card-reactions button{color:inherit;background:rgba(255,255,255,.08);border:1px solid rgba(232,188,98,.35);border-radius:8px;padding:7px 9px;cursor:pointer}
.champ-gift-card-reactions button[aria-pressed=true]{border-color:#efc875;background:rgba(239,200,117,.24)}
.champ-gift-overlay{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:14px;background:rgba(2,6,17,.83);backdrop-filter:blur(7px)}
.champ-gift-dialog{width:min(900px,100%);max-height:min(92dvh,900px);overflow:auto;background:#0d1830;color:#f5e9d2;border:1px solid #bf9751;border-radius:18px;padding:20px;box-shadow:0 24px 80px rgba(0,0,0,.6)}
.champ-gift-dialog-head{display:flex;justify-content:space-between;align-items:center}.champ-gift-dialog-head h2{margin:0}.champ-gift-dialog-head button{font-size:28px;background:none;border:0;color:inherit;cursor:pointer}
.champ-gift-field{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;margin:14px 0;color:#e7d4ad}.champ-gift-field input,.champ-gift-field textarea{width:100%;background:#091426;color:#fff;border:1px solid #71684e;border-radius:8px;padding:10px;resize:vertical}.champ-gift-field textarea{min-height:74px}
.champ-gift-categories{display:flex;flex-wrap:wrap;gap:5px;padding:5px 0 11px}.champ-gift-categories button{flex:none;border:1px solid #52627b;border-radius:20px;padding:7px 12px;background:#172944;color:#fff;cursor:pointer}.champ-gift-categories button[aria-selected=true]{border-color:#e9bb60;background:#59472b}
.champ-gift-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(142px,1fr));gap:10px;max-height:320px;overflow:auto;padding:4px}.champ-gift-picker button{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:8px;color:#f4eddc;background:#182946;border:1px solid #54637b;border-radius:11px;cursor:pointer}.champ-gift-picker button[aria-pressed=true]{outline:2px solid #ecc16a}.champ-gift-picker img{width:96px;height:96px;object-fit:contain}.champ-gift-picker strong{font-size:13px}.champ-gift-picker small{font-size:11px;color:#ccd2db}.champ-gift-picker em{font-size:11px;color:#f6cd71}
.champ-gift-preview{display:flex;gap:12px;align-items:center;margin:15px 0;padding:10px;border:1px solid #aa8c52;border-radius:10px}.champ-gift-preview img{width:76px;height:76px;object-fit:contain}.champ-gift-preview div{display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
.champ-gift-confirm{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.champ-gift-confirm p{width:100%}.champ-gift-generous{margin-top:20px;padding:12px;border:1px solid #a48449;border-radius:10px}
.champ-chests-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}.champ-chest{text-align:center;padding:18px 13px;border:1px solid #927a4c;border-radius:18px;background:radial-gradient(circle at 50% 10%,rgba(213,168,77,.2),transparent 56%),#101d35}.champ-chest.rarity-silver{border-color:#aab9d2}.champ-chest.rarity-gold{border-color:#e5b560}.champ-chest h2{font-size:22px;margin:0 0 4px}.champ-chest>strong{display:block;margin-bottom:13px;color:#eac671}.champ-chest .champ-games-button{margin:auto}.champ-chest details{margin-top:12px;text-align:left}.champ-chest summary{cursor:pointer}.champ-chest table{width:100%;font-size:12px}.champ-chest td:last-child{text-align:right;white-space:nowrap}
.champ-chest-pedestal{position:relative;display:grid;place-items:center;min-height:210px;background:radial-gradient(ellipse at 50% 90%,rgba(246,197,90,.25),transparent 55%)}.champ-chest-pedestal>img{width:min(100%,220px);height:200px;object-fit:contain;position:relative;z-index:1}.champ-chest-pedestal .phase-shake{animation:champ-chest-shake .8s ease}.champ-chest-flash{position:absolute;inset:0;background:radial-gradient(circle,#fff6c2 0,#f4cd69 20%,transparent 65%);animation:champ-chest-flash .35s both;z-index:2}
@keyframes champ-chest-shake{0%,100%{transform:translateY(0) rotate(0)}20%{transform:translateY(-26px) rotate(-5deg)}40%{transform:translateY(3px) rotate(5deg)}60%{transform:translateY(-13px) rotate(-4deg)}80%{transform:translateY(0) rotate(3deg)}}@keyframes champ-chest-flash{from{opacity:0;transform:scale(.3)}50%{opacity:1}to{opacity:0;transform:scale(1.6)}}
.champ-chest-particles,.champ-chest-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.champ-chest-particles i,.champ-chest-confetti i{position:absolute;top:50%;left:50%;width:6px;height:10px;background:#fbdc8a;animation:champ-particle 1.5s ease-out forwards;transform:rotate(calc(var(--i)*21deg))}.champ-chest-confetti i{background:hsl(calc(var(--i)*35deg) 85% 65%);animation-duration:2.4s}@keyframes champ-particle{to{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(550deg)}}
.champ-chest-reveal{position:relative;text-align:center;padding:18px;margin:20px 0;border:1px solid #ccae68;border-radius:15px;background:radial-gradient(circle at center,rgba(233,190,87,.16),#111d34 68%)}.champ-chest-reveal.rarity-mythic{background:radial-gradient(circle,#74539b,#122a48 65%);animation:champ-mythic-border 4s linear infinite}.champ-chest-reel-window{position:relative;width:100%;max-width:720px;overflow:hidden;margin:20px auto;border:2px solid #c9a258;border-radius:13px;padding:12px 0;background:#0a1326}.champ-chest-arrow{position:absolute;left:50%;top:0;z-index:3;color:#ffd668;font-size:28px;transform:translateX(-50%);text-shadow:0 2px 9px #fff}.champ-chest-reel{display:flex;gap:12px;width:max-content;transition:transform 4.5s cubic-bezier(.08,.7,.07,1)}.champ-chest-reel-card{flex:0 0 96px;height:105px;border:1px solid #867151;border-radius:8px;background:#172a48}.champ-chest-reel-card img{width:96px;height:96px;object-fit:contain}.champ-chest-prize{position:relative;display:grid;justify-items:center;gap:10px;animation:champ-prize-in .55s ease both}.champ-chest-prize>img{width:170px;height:170px;object-fit:contain;border-radius:16px;box-shadow:0 0 50px #d4ac61}.champ-chest-reveal.rarity-mythic .champ-chest-prize>img{box-shadow:0 0 60px #e083f4}.champ-chest-prize>div:not(.champ-chest-confetti){display:flex;flex-wrap:wrap;justify-content:center;gap:8px}@keyframes champ-prize-in{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}.champ-chest-feed p{margin:6px 0;padding:8px;border-bottom:1px solid rgba(255,255,255,.1)}
.champ-chest-reveal.rarity-mythic.phase-result::before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:conic-gradient(from 0deg,#e887ef,#76d0ff,#ffe77d,#91e6b4,#e887ef);mix-blend-mode:screen;animation:champ-rainbow-flash 1s ease-out both}@keyframes champ-rainbow-flash{from{opacity:.9;transform:scale(.35)}to{opacity:0;transform:scale(1.4)}}
.champ-chest-reveal.rarity-rare .champ-chest-prize>img{box-shadow:0 0 45px #659de8}.champ-chest-reveal.rarity-epic .champ-chest-prize>img{box-shadow:0 0 50px #aa72e4}.champ-chest-reveal.rarity-legendary .champ-chest-prize>img{box-shadow:0 0 58px #f3ca60}.champ-chest-reveal.rarity-mythic .champ-chest-prize>img{box-shadow:0 0 65px #d178ed,0 0 85px #7ecaff}
@media(max-width:700px){.champ-chests-grid{grid-template-columns:1fr}.champ-chest-pedestal{min-height:160px}.champ-chest-pedestal>img{height:150px}.champ-gift-dialog{padding:13px}.champ-gift-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.champ-gift-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.champ-gift-card>img{max-height:130px}}
@media(max-width:390px){.champ-gift-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.champ-gift-card{padding:7px}.champ-gift-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.champ-gift-picker img{width:88px;height:88px}.champ-gift-dialog{max-height:95dvh}}
@media(prefers-reduced-motion:reduce){.champ-chest-pedestal .phase-shake,.champ-chest-flash,.champ-chest-particles i,.champ-chest-confetti i,.champ-chest-prize,.champ-gift-card.rarity-mythic,.champ-gift-card.rarity-legendary::before,.champ-chest-reveal.rarity-mythic,.champ-chest-reveal.rarity-mythic.phase-result::before{animation:none!important}.champ-gift-card.rarity-legendary::before,.champ-chest-reveal.rarity-mythic.phase-result::before{display:none}.champ-chest-reel{transition:none!important}}
/* Сундуки: витрина и общая сцена открытия. */
.champ-chest-balances{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0 18px}.champ-chest-balances>span{display:flex;align-items:center;gap:12px;padding:10px 18px;border:1px solid #9b7b49;border-radius:12px;background:#101b31;color:#d4d9e6}.champ-chest-balances>span b{font-size:22px;color:#ffe4a5}.champ-chest-bonus,.champ-chest-daily-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0;padding:20px 24px;border:1px solid #eacb80;border-radius:17px;background:radial-gradient(circle at 80% 50%,#92734455,transparent 48%),linear-gradient(110deg,#213356,#10203d);box-shadow:0 0 28px #d9a95033;color:#fff}.champ-chest-bonus>div{display:grid;gap:5px}.champ-chest-bonus strong{font:700 clamp(18px,2.4vw,26px) var(--font-serif);color:#ffdf91}.champ-chest-bonus span{color:#e7d9bd}.champ-chest-bonus .champ-games-button,.champ-chest-daily-banner .champ-games-button,.champ-social-chest.state-ready .champ-games-button{animation:champ-bonus-pulse 2s ease-in-out infinite}@keyframes champ-bonus-pulse{50%{transform:scale(1.04);box-shadow:0 0 25px #ffdc80aa}}.champ-chest-daily-banner strong{color:#ffe4a5;font-size:20px}.champ-chest{overflow:hidden;transition:transform .3s,border-color .3s}.champ-chest:hover{transform:translateY(-4px);border-color:#ffe1a4}.champ-chest-pedestal{isolation:isolate;perspective:900px;background:radial-gradient(ellipse at 50% 88%,#e6ae4e44,transparent 57%)}.champ-chest.rarity-silver .champ-chest-pedestal{background:radial-gradient(ellipse at 50% 88%,#8cb8eb55,transparent 57%)}.champ-chest.rarity-gold .champ-chest-pedestal{background:radial-gradient(ellipse at 50% 88%,#ffe28455,transparent 57%)}.champ-chest-pedestal:after,.champ-scene-pedestal:after{content:"";position:absolute;left:20%;right:20%;bottom:9%;height:20px;border-radius:50%;background:#020712aa;filter:blur(9px)}.champ-chest-pedestal>img{animation:champ-case-sway 5s ease-in-out infinite;filter:drop-shadow(0 18px 14px #05091899)}@keyframes champ-case-sway{0%,100%{transform:rotateY(-8deg) rotateX(4deg) translateZ(5px) translateY(0)}50%{transform:rotateY(8deg) rotateX(4deg) translateZ(16px) translateY(-9px)}}.champ-chest details{border-top:1px solid #8e784c;padding-top:10px}.champ-chest summary{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#f8db9c;font-weight:700;list-style:none}.champ-chest summary::-webkit-details-marker{display:none}.champ-details-arrow{display:inline-grid;place-items:center;font-size:24px;line-height:1;transition:transform .2s ease}.champ-chest details[open] .champ-details-arrow{transform:rotate(90deg)}.champ-chest-chances{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.champ-chest-chances span{padding:4px 7px;border-radius:20px;background:#ffffff12;font-size:11px}.champ-chest-contents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:300px;overflow:auto}.champ-chest-contents .champ-scene-item{width:auto;height:110px}.champ-chest-contents .champ-scene-item-art{height:77px}.champ-chest-contents .champ-scene-item img{height:70px}.champ-chest-feed a{color:#f5cc7e}.champ-social-chest.state-ready{cursor:pointer}.champ-social-chest.state-ready:focus-visible{outline:3px solid #ffe39a}.champ-social-chest.state-ready .champ-games-button{font-size:17px;padding:12px 20px}.champ-social-chest.state-opened:after,.champ-social-chest.state-opened:before{display:none}.champ-chest-action-links{display:flex;flex-wrap:wrap;gap:7px}.champ-chest-action-links a{padding:8px 10px;border:1px solid #aa8a55;border-radius:9px;color:#f4d495;text-decoration:none}.champ-chest-action-links a:hover{background:#ffffff18}
.champ-chest-scene{--scene-glow:#e1ad63;--scene-rgb:225,173,99;position:fixed;inset:0;z-index:12000;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:center;background:#050a17;color:#fff;perspective:900px}.champ-chest-scene.rarity-rare{--scene-glow:#5b9af7;--scene-rgb:91,154,247}.champ-chest-scene.rarity-epic{--scene-glow:#ba7bfa;--scene-rgb:186,123,250}.champ-chest-scene.rarity-legendary{--scene-glow:#f7c85e;--scene-rgb:247,200,94}.champ-chest-scene.rarity-mythic{--scene-glow:#f4a1ff;--scene-rgb:244,161,255}.champ-scene-vignette{position:absolute;inset:0;z-index:-2;background:radial-gradient(ellipse at 50% 42%,#1e3157 0,#090f22 52%,#02040a 100%)}.champ-scene-rays,.champ-scene-result-rays{position:absolute;z-index:-1;left:50%;top:45%;width:min(110vmax,1100px);aspect-ratio:1;transform:translate(-50%,-50%);background:repeating-conic-gradient(from 0deg,transparent 0deg 13deg,rgba(var(--scene-rgb),.13) 15deg 18deg,transparent 20deg 30deg);mask-image:radial-gradient(circle,transparent 0 10%,#000 26%,transparent 66%);animation:champ-scene-rays 24s linear infinite}@keyframes champ-scene-rays{to{transform:translate(-50%,-50%) rotate(360deg)}}.champ-scene-sparks{position:absolute;inset:0;pointer-events:none}.champ-scene-sparks i{position:absolute;left:var(--x);top:var(--y);width:3px;height:3px;border-radius:50%;background:#fff3c6;box-shadow:0 0 10px 3px var(--scene-glow);opacity:.5;animation:champ-scene-spark calc(2.2s + var(--n)*.037s) ease-in-out var(--delay) infinite alternate}@keyframes champ-scene-spark{to{opacity:.1;transform:translate3d(13px,-34px,0) scale(.3)}}.champ-scene-top{position:relative;z-index:4;width:100%;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 24px}.champ-scene-top strong{font:700 clamp(18px,3vw,28px) var(--font-serif);color:#ffdf9e}.champ-scene-top>div{display:flex;gap:10px}.champ-scene-sound,.champ-scene-close,.champ-scene-skip{border:1px solid #e1c07788;border-radius:10px;padding:8px 12px;background:#091628bb;color:#ffe9b8;cursor:pointer}.champ-scene-close{font-size:27px;line-height:20px}.champ-scene-center{position:relative;z-index:2;display:grid;justify-items:center;align-content:center;flex:1;min-height:0;width:100%;text-align:center;transition:transform .4s,opacity .4s}.champ-scene-center h2{font:700 clamp(21px,4vw,33px) var(--font-serif);color:#ffdfa4;text-shadow:0 2px 20px #000;margin:0 0 18px}.champ-scene-pedestal{position:relative;display:grid;place-items:center;width:min(80vw,500px);height:min(53vh,430px);margin:0 auto 10px;background:radial-gradient(ellipse at 50% 70%,rgba(var(--scene-rgb),.23),transparent 60%);transform-style:preserve-3d}.champ-scene-pedestal img{position:relative;z-index:1;width:min(80vw,420px);height:min(48vh,390px);object-fit:contain;filter:drop-shadow(0 24px 18px #020713aa) drop-shadow(0 0 35px rgba(var(--scene-rgb),.5));animation:champ-scene-sway 5s ease-in-out infinite;will-change:transform}.champ-scene-pedestal:after{bottom:4%}@keyframes champ-scene-sway{0%,100%{transform:rotateY(-8deg) rotateX(4deg) translateZ(10px) translateY(0)}50%{transform:rotateY(8deg) rotateX(4deg) translateZ(25px) translateY(-10px)}}.champ-scene-open{font-size:20px;padding:14px 30px;box-shadow:0 0 28px #eabe69aa}.champ-chest-scene.phase-shake .champ-scene-center{animation:champ-scene-rattle 1.2s both}.champ-chest-scene.phase-shake .champ-scene-pedestal img{animation:champ-scene-impact 1.2s both}@keyframes champ-scene-rattle{0%,20%{transform:translate3d(0,0,0)}40%{transform:translate3d(2px,1px,0)}56%{transform:translate3d(-4px,-2px,0)}70%{transform:translate3d(5px,3px,0)}80%{transform:translate3d(-7px,-3px,0)}90%{transform:translate3d(8px,3px,0)}100%{transform:translate3d(0,0,0)}}@keyframes champ-scene-impact{0%{transform:rotateY(-8deg)}45%{transform:rotateY(5deg) rotateZ(-3deg)}75%{transform:rotateY(-7deg) rotateZ(5deg)}89%{transform:translateY(-45px) scale(1.09)}100%{transform:translateY(0) scale(1)}}.champ-chest-scene.phase-burst .champ-scene-pedestal img{animation:champ-scene-jump .4s ease-out both}@keyframes champ-scene-jump{50%{transform:translateY(-48px) scale(1.12)}to{transform:translateY(0)}}.champ-scene-flash{position:absolute;z-index:8;inset:0;background:#fff;animation:champ-scene-white .35s ease-out both;pointer-events:none}@keyframes champ-scene-white{0%,100%{opacity:0}42%{opacity:.9}}.champ-scene-ring{position:absolute;z-index:3;left:50%;top:48%;width:120px;height:120px;border:3px solid #fff9d5;border-radius:50%;box-shadow:0 0 30px #ffdf85;animation:champ-scene-wave .8s ease-out both;pointer-events:none}@keyframes champ-scene-wave{from{opacity:1;transform:translate(-50%,-50%) scale(.3)}to{opacity:0;transform:translate(-50%,-50%) scale(12)}}.champ-scene-explosion{position:absolute;z-index:3;left:50%;top:45%;pointer-events:none}.champ-scene-explosion i{position:absolute;width:7px;height:14px;background:#ffdf8e;box-shadow:0 0 8px #fff3c2;animation:champ-scene-burst .8s ease-out both}@keyframes champ-scene-burst{to{opacity:0;transform:rotate(var(--angle)) translateY(calc(-1 * var(--distance))) rotate(540deg)}}.champ-chest-scene.phase-reel .champ-scene-center{position:absolute;top:10%;height:28%;opacity:.55;transform:scale(.7)}.champ-scene-reel{position:absolute;z-index:3;left:0;right:0;top:50%;height:196px;overflow:hidden;border-block:2px solid #dcb773;background:#08162a;box-shadow:0 0 40px #000,0 0 65px rgba(var(--scene-rgb),.3);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}.champ-scene-track{display:flex;gap:12px;width:max-content;padding:13px 0;transform:translate3d(0,0,0);will-change:transform,opacity}.champ-scene-item{--item-glow:#94a7c0;position:relative;flex:0 0 120px;width:120px;height:166px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;overflow:hidden;border:1px solid var(--item-glow);border-bottom:5px solid var(--item-glow);border-radius:9px;background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--item-glow) 30%,transparent),#10213b 70%);box-shadow:inset 0 0 18px #ffffff12;color:#f5ebd6;transform:translateZ(0)}.champ-scene-item.rarity-uncommon{--item-glow:#5bcf83}.champ-scene-item.rarity-rare{--item-glow:#5b98f0}.champ-scene-item.rarity-epic{--item-glow:#bc75f1}.champ-scene-item.rarity-legendary{--item-glow:#efc35d}.champ-scene-item.rarity-mythic{--item-glow:#e596f5;background:conic-gradient(from 20deg,#302655,#155377,#6a356d,#302655)}.champ-scene-item.rarity-sparks{--item-glow:#eed38a}.champ-scene-item-art{display:grid;place-items:center;width:100%;height:132px;background:radial-gradient(circle,#ffffff18,transparent 65%)}.champ-scene-item img{width:100%;height:120px;object-fit:contain;filter:drop-shadow(0 10px 10px #0009)}.champ-scene-item>span{width:100%;padding:0 4px 4px;font-size:11px;line-height:1.15;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.champ-scene-marker{position:absolute;z-index:5;left:50%;width:0;height:0;filter:drop-shadow(0 0 8px #ffe8a2);transform:translateX(-50%)}.champ-scene-marker.top{top:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:23px solid #ffdc74}.champ-scene-marker.bottom{bottom:0;border-left:12px solid transparent;border-right:12px solid transparent;border-bottom:23px solid #ffdc74}.champ-scene-skip{position:absolute;z-index:5;bottom:24px;left:50%;transform:translateX(-50%)}.champ-scene-skip:disabled{opacity:.5;cursor:default}.champ-scene-error{position:absolute;z-index:7;bottom:16px;left:50%;transform:translateX(-50%);color:#ffd2c6;background:#481d25;padding:8px 15px;border-radius:8px}.champ-chest-scene.phase-result .champ-scene-reel{opacity:.14;filter:brightness(.35)}.champ-scene-result{position:relative;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:min(90vw,660px);flex:1;min-height:0;text-align:center}.champ-scene-result-rays{z-index:-1;top:39%;width:min(75vmax,700px);background:repeating-conic-gradient(transparent 0 11deg,rgba(var(--scene-rgb),.45) 13deg 17deg,transparent 20deg 30deg);mask-image:radial-gradient(circle,transparent 0 10%,#000 23%,transparent 61%)}.champ-chest-scene.rarity-mythic .champ-scene-result-rays{background:repeating-conic-gradient(#ef87ff66,#83cdff66 18deg,#ffe98d66 34deg,#ef87ff66 48deg)}.champ-scene-result-card{display:grid;place-items:center;width:min(42vh,270px);height:min(42vh,270px);border:2px solid var(--scene-glow);border-bottom-width:7px;border-radius:20px;background:radial-gradient(circle,rgba(var(--scene-rgb),.3),#0e1a30 70%);box-shadow:0 0 50px rgba(var(--scene-rgb),.6);animation:champ-scene-prize .85s cubic-bezier(.18,.9,.22,1) both;backface-visibility:hidden}.champ-scene-result-card img{width:94%;height:94%;object-fit:contain;filter:drop-shadow(0 18px 13px #0008)}@keyframes champ-scene-prize{from{opacity:0;transform:perspective(900px) rotateY(180deg) scale(.45) translateZ(-180px)}to{opacity:1;transform:perspective(900px) rotateY(0) scale(1) translateZ(0)}}.champ-scene-result small{color:var(--scene-glow);letter-spacing:.16em;text-transform:uppercase}.champ-scene-result h2{margin:0;font:700 clamp(23px,4vw,40px) var(--font-serif);color:#ffe1a7;text-shadow:0 2px 20px #000}.champ-scene-result p{margin:3px 0 12px;color:#d9dce7}.champ-scene-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:600px}.champ-scene-mythic{color:#fff;font:900 clamp(21px,5vw,38px) var(--font-serif);letter-spacing:.08em;text-shadow:0 0 20px #e881ff,0 0 35px #8ccaff;animation:champ-scene-mythic .8s ease-out both}@keyframes champ-scene-mythic{from{opacity:0;transform:scale(1.6)}to{opacity:1;transform:scale(1)}}.champ-scene-confetti{position:absolute;inset:0;pointer-events:none}.champ-scene-confetti i{position:absolute;left:var(--x);top:-10%;width:7px;height:12px;background:hsl(calc(var(--i)*47deg) 90% 70%);animation:champ-scene-confetti 3s linear var(--delay) both}@keyframes champ-scene-confetti{to{opacity:0;transform:translateY(85vh) rotate(650deg)}}.champ-scene-spark-icon{display:block;width:55%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fff 0,#fff4b6 13%,#e7aa4e 35%,#b16a2d 62%,transparent 70%);box-shadow:0 0 30px #ffdb86}.champ-chest-scene.rarity-mythic.phase-result:before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:conic-gradient(#b9a3ff,#91dcff,#ffe5a0,#f8a4d4,#b9a3ff);animation:champ-scene-white .65s ease-out both;mix-blend-mode:screen}
@media(max-width:600px){.champ-chest-bonus,.champ-chest-daily-banner{padding:14px;flex-direction:column;align-items:stretch}.champ-chest-bonus .champ-games-button,.champ-chest-daily-banner .champ-games-button{width:100%}.champ-chest-scene .champ-scene-top{padding:10px 12px}.champ-scene-top strong{font-size:17px}.champ-scene-sound{font-size:12px}.champ-scene-pedestal{height:46vh;width:94vw}.champ-scene-pedestal img{width:90vw;height:42vh}.champ-scene-reel{height:139px;top:52%}.champ-scene-track{gap:8px;padding:9px 0}.champ-scene-item{flex-basis:88px;width:88px;height:118px}.champ-scene-item-art{height:92px}.champ-scene-item img{height:84px}.champ-scene-item>span{font-size:9px}.champ-scene-result{width:96vw;padding:2px 6px 48px}.champ-scene-result-card{width:min(32vh,220px);height:min(32vh,220px)}.champ-scene-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.champ-scene-actions .champ-games-button{min-height:44px;font-size:12px;padding:7px}.champ-scene-result h2{font-size:24px}.champ-scene-result p{font-size:12px}.champ-scene-skip{bottom:18px}.champ-social-chest{align-items:flex-start}}
@media(max-width:390px){.champ-scene-result-card{width:min(29vh,190px);height:min(29vh,190px)}.champ-scene-result{gap:3px}.champ-scene-open{font-size:17px}.champ-chest-action-links a{font-size:12px}}
@media(prefers-reduced-motion:reduce){.champ-chest-pedestal>img,.champ-scene-rays,.champ-scene-sparks i,.champ-scene-pedestal img,.champ-scene-result-rays,.champ-scene-result-card,.champ-scene-confetti i,.champ-scene-mythic,.champ-chest-bonus .champ-games-button,.champ-chest-daily-banner .champ-games-button,.champ-social-chest.state-ready .champ-games-button{animation:none!important}}
.champ-gift-card{isolation:isolate}.champ-gift-card:after{content:"";position:absolute;z-index:-1;left:18%;right:18%;top:24px;height:130px;border-radius:50%;background:radial-gradient(circle,var(--gift-glow),transparent 69%);opacity:.28;filter:blur(15px);pointer-events:none}.champ-gift-card>img,.champ-gift-picker img,.champ-gift-preview img{position:relative;filter:drop-shadow(0 13px 10px #020611aa);object-fit:contain}.champ-gift-card>img{align-self:center;animation:champ-gift-float 5s ease-in-out infinite}@keyframes champ-gift-float{50%{transform:translateY(-6px)}}.champ-chest-scene.phase-reel .champ-scene-reel:after{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 17px,#d6ecff14 18px 20px,transparent 22px 48px);mix-blend-mode:screen;animation:champ-reel-blur 6.7s linear both}@keyframes champ-reel-blur{0%,22%{opacity:.7}65%{opacity:.15}100%{opacity:0}}.champ-chest-scene.rarity-mythic .champ-scene-result-rays:after{content:"";position:absolute;inset:8%;background:repeating-conic-gradient(from 8deg,#ffd99966 0 4deg,transparent 7deg 17deg,#a5bfff55 20deg 23deg,transparent 27deg 34deg);mask-image:radial-gradient(circle,transparent 0 15%,#000 28%,transparent 65%);animation:champ-scene-rays 13s linear reverse infinite}@media(prefers-reduced-motion:reduce){.champ-gift-card>img,.champ-chest-scene.phase-reel .champ-scene-reel:after,.champ-chest-scene.rarity-mythic .champ-scene-result-rays:after{animation:none!important}}
.header-player-actions .header-player-chest-ready{color:#ffe0a0;background:linear-gradient(90deg,#66502288,#1a304f);box-shadow:inset 0 0 0 1px #dfb96a88}.header-player-actions .header-player-chest-ready img{animation:champ-case-sway 3s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.header-player-actions .header-player-chest-ready img{animation:none}}
/* Прозрачные предметы стоят в свете своей редкости, без подложки изображения. */
.champ-gift-card,.champ-gift-picker button,.champ-gift-preview,.champ-scene-item,.champ-scene-result-card{--art-glow:#aab6cc;--art-rgb:170,182,204}
.champ-gift-card.rarity-uncommon,.treasury-feed-card.rarity-uncommon,.champ-gift-picker .rarity-uncommon,.champ-scene-item.rarity-uncommon{--art-glow:#6bd995;--art-rgb:107,217,149}
.champ-gift-card.rarity-rare,.treasury-feed-card.rarity-rare,.champ-gift-picker .rarity-rare,.champ-scene-item.rarity-rare,.champ-chest-scene.rarity-rare .champ-scene-result-card{--art-glow:#65a8ff;--art-rgb:101,168,255}
.champ-gift-card.rarity-epic,.treasury-feed-card.rarity-epic,.champ-gift-picker .rarity-epic,.champ-scene-item.rarity-epic,.champ-chest-scene.rarity-epic .champ-scene-result-card{--art-glow:#bc80f2;--art-rgb:188,128,242}
.champ-gift-card.rarity-legendary,.treasury-feed-card.rarity-legendary,.champ-gift-picker .rarity-legendary,.champ-scene-item.rarity-legendary,.champ-chest-scene.rarity-legendary .champ-scene-result-card{--art-glow:#f4cc6d;--art-rgb:244,204,109}
.champ-gift-card.rarity-mythic,.treasury-feed-card.rarity-mythic,.champ-gift-picker .rarity-mythic,.champ-scene-item.rarity-mythic,.champ-chest-scene.rarity-mythic .champ-scene-result-card{--art-glow:#ee99fa;--art-rgb:238,153,250}
.champ-gift-card,.champ-gift-card.rarity-mythic,.champ-gift-picker button,.champ-gift-preview,.champ-scene-item,.champ-scene-item.rarity-mythic,.champ-scene-result-card{background:radial-gradient(ellipse at 50% 38%,rgba(var(--art-rgb),.23),transparent 56%),linear-gradient(180deg,#0b1730 6%,color-mix(in srgb,var(--art-glow) 38%,#112039) 100%);border-color:rgba(var(--art-rgb),.55);border-bottom:5px solid var(--art-glow)}
.champ-gift-card.rarity-mythic{animation:none}
.champ-gift-card::after,.champ-gift-picker button::after,.champ-gift-preview::after,.champ-scene-item-art::before,.champ-scene-result-card::before{content:"";position:absolute;z-index:0;left:14%;right:14%;top:10%;height:74%;background:radial-gradient(ellipse,rgba(var(--art-rgb),.55),transparent 70%);filter:blur(16px);pointer-events:none}
.champ-gift-card::before,.champ-gift-picker button::before,.champ-gift-preview::before,.champ-scene-item-art::after,.champ-scene-result-card::after{content:"";position:absolute;z-index:0;left:22%;right:22%;top:142px;height:14px;border-radius:50%;background:#02060fc4;filter:blur(8px);pointer-events:none}
.champ-gift-card.rarity-legendary::before{inset:auto;left:22%;right:22%;top:142px;height:14px;transform:none;animation:none;background:#02060fc4}
.champ-gift-card>img,.champ-gift-picker img,.champ-gift-preview img,.champ-scene-item img,.champ-scene-result-card img{z-index:1;position:relative;border:0;border-radius:0;background:transparent;box-shadow:none;filter:drop-shadow(0 15px 13px #030712aa)}
.champ-gift-card>img{height:165px;width:100%}.champ-gift-card>*:not(img){position:relative;z-index:1}
.champ-gift-picker button{isolation:isolate}.champ-gift-picker button::before{top:83px;height:10px}.champ-gift-picker button::after{top:0;height:100px}.champ-gift-picker button>*{position:relative;z-index:1}
.champ-gift-preview{position:relative;isolation:isolate}.champ-gift-preview::before{left:20px;right:auto;top:78px;width:60px;height:8px}.champ-gift-preview::after{left:5px;right:auto;top:0;width:90px;height:95px}.champ-gift-preview>*{position:relative;z-index:1}
.champ-chest-pedestal,.champ-scene-pedestal{background:radial-gradient(ellipse at 50% 78%,rgba(var(--scene-rgb,225,173,99),.24),transparent 62%)}
.champ-chest-pedestal::before,.champ-scene-pedestal::before{content:"";position:absolute;inset:14% 10%;border-radius:50%;background:radial-gradient(ellipse,rgba(var(--scene-rgb,225,173,99),.38),transparent 70%);filter:blur(28px);animation:champ-pedestal-breathe 3.5s ease-in-out infinite alternate;pointer-events:none}
@keyframes champ-pedestal-breathe{to{opacity:.5;transform:scale(.88)}}
.champ-scene-reel{perspective:1200px;transform-style:preserve-3d;animation:champ-reel-emerge .52s cubic-bezier(.17,.86,.23,1) both}
@keyframes champ-reel-emerge{from{opacity:0;transform:scale(.6) translateY(-35px)}to{opacity:1;transform:scale(1) translateY(0)}}
.champ-scene-track{transform-style:preserve-3d}.champ-scene-item{transform-style:preserve-3d;will-change:transform,opacity;transition:none}.champ-scene-item-art{position:relative;isolation:isolate;background:none}.champ-scene-item-art::after{top:106px;left:22%;right:22%;height:9px}.champ-scene-item-art::before{inset:8% 8% auto;height:80%}.champ-scene-item>span{position:relative;z-index:1}
.champ-scene-motion-blur{position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;backdrop-filter:blur(2px);background:repeating-linear-gradient(90deg,transparent 0 29px,#cfe4ff12 31px 34px,transparent 37px 59px)}
.champ-chest-scene.phase-reel .champ-scene-center{animation:champ-chest-exit .65s ease-out both}
@keyframes champ-chest-exit{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:.35;transform:translateY(-14vh) scale(.52)}}
.champ-chest-scene.phase-burst .champ-scene-pedestal img{animation:champ-scene-open-hit .42s ease-out both}
@keyframes champ-scene-open-hit{0%{transform:scale(.94) rotateY(-8deg)}45%{transform:scale(1.18) rotateY(4deg) translateY(-28px)}100%{transform:scale(1) translateY(-8px)}}
.champ-scene-result-card{position:relative;isolation:isolate;overflow:hidden;transform-style:preserve-3d}.champ-scene-result-card::before{inset:8% 8% auto;height:84%}.champ-scene-result-card::after{top:auto;bottom:17px;height:15px}.champ-scene-result-card img{width:90%;height:90%;animation:champ-result-float 4s ease-in-out infinite alternate}
@keyframes champ-result-float{to{transform:translateY(-9px)}}
.champ-scene-result-card img::after{display:none}.champ-scene-result-card:focus-visible{outline:3px solid #fff}
.champ-scene-result-card{background-image:linear-gradient(110deg,transparent 35%,#ffffff4d 47%,transparent 54%),radial-gradient(ellipse at 50% 38%,rgba(var(--art-rgb),.25),transparent 58%),linear-gradient(180deg,#0b1730 5%,color-mix(in srgb,var(--art-glow) 42%,#112039));background-size:260% 100%,100% 100%,100% 100%;animation:champ-scene-prize .85s cubic-bezier(.18,.9,.22,1) both,champ-result-glint 1.25s ease-out .5s both}
@keyframes champ-result-glint{from{background-position:130% 0,0 0,0 0}to{background-position:-120% 0,0 0,0 0}}
@media(max-width:600px){.champ-scene-item-art::after{top:73px}.champ-gift-card::before{top:116px}}
@media(prefers-reduced-motion:reduce){.champ-gift-card>img,.champ-scene-result-card img,.champ-scene-result-card,.champ-scene-reel,.champ-chest-scene.phase-reel .champ-scene-center,.champ-chest-pedestal::before,.champ-scene-pedestal::before,.champ-chest-scene.phase-burst .champ-scene-pedestal img{animation:none!important;transform:none!important}.champ-scene-motion-blur,.champ-chest-scene.phase-reel .champ-scene-reel::after{display:none}.champ-scene-item{transform:none!important;opacity:1!important}}
@media(prefers-reduced-motion:reduce){.champ-chest:hover{transform:none}.champ-chest-scene,.champ-scene-reel,.champ-chest-pedestal{perspective:none}.champ-chest-pedestal>img,.champ-scene-pedestal img{transform:none!important}.champ-gift-card.rarity-legendary::before{animation:none!important}}
/* WebGL chest stage; controls and prize copy stay accessible above the canvas. */
.champ-chest-pedestal:hover>img{transform:perspective(850px) rotateY(-13deg) rotateX(7deg) translateZ(18px) translateY(-5px);animation:none;transition:transform .3s ease}
.champ-chest-scene.is-3d{background:#050b19}
.champ-scene-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0;display:block;pointer-events:none}
.champ-chest-scene.is-3d .champ-scene-vignette{z-index:-1}
.champ-chest-scene.is-3d .champ-scene-rays,.champ-chest-scene.is-3d .champ-scene-sparks,.champ-chest-scene.is-3d .champ-scene-pedestal,.champ-chest-scene.is-3d .champ-scene-result-rays,.champ-chest-scene.is-3d .champ-scene-confetti,.champ-chest-scene.is-3d .champ-scene-result-card{display:none}
.champ-chest-scene.is-3d .champ-scene-center h2,.champ-chest-scene.is-3d .champ-scene-center button{pointer-events:auto}
.champ-chest-scene.is-3d .champ-scene-center h2{background:#0712269c;border-radius:12px;padding:5px 14px}
.champ-chest-scene.is-3d .champ-scene-result h2,.champ-chest-scene.is-3d .champ-scene-result p,.champ-chest-scene.is-3d .champ-scene-result small,.champ-chest-scene.is-3d .champ-scene-result .champ-scene-actions,.champ-chest-scene.is-3d .champ-scene-result .champ-scene-mythic{position:relative;z-index:4;pointer-events:auto;text-shadow:0 2px 10px #02050e,0 0 20px #02050e}

/* The canvas owns the chest and prize; keep all controls in their own lower area. */
.champ-chest-scene.is-3d .champ-scene-center{position:absolute;inset:0;z-index:2;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:12px;padding:70px 16px clamp(24px,5vh,48px);pointer-events:none;transform:none}
.champ-chest-scene.is-3d .champ-scene-center h2{max-width:min(94vw,680px);margin:0;padding:5px 16px;background:#06101ed9;text-wrap:balance;line-height:1.15}
.champ-chest-scene.is-3d .champ-scene-open{min-height:58px;min-width:min(280px,88vw);box-shadow:0 0 20px #eabe6970}
.champ-chest-scene.is-3d.phase-reel .champ-scene-center{display:none}
.champ-chest-scene.is-3d .champ-scene-result{position:absolute;inset:0;z-index:4;width:100%;height:100%;max-width:none;display:flex;justify-content:flex-end;align-items:center;gap:6px;padding:70px 18px clamp(23px,5vh,48px);pointer-events:none}
.champ-chest-scene.is-3d .champ-scene-result h2{max-width:94vw;white-space:normal;line-height:1.1;text-wrap:balance}
.champ-chest-scene.is-3d .champ-scene-result p{max-width:90vw;margin:0 0 5px;text-wrap:balance}
.champ-chest-scene.is-3d .champ-scene-result .champ-scene-actions{max-width:720px}
.champ-chest-scene.is-3d .champ-scene-result .champ-scene-mythic{position:absolute;top:12%;left:0;right:0}
.champ-chest-scene.is-3d .champ-scene-skip{bottom:16px}
@media(max-width:600px){
  .champ-chest-scene.is-3d .champ-scene-center{gap:8px;padding:64px 12px 30px}
  .champ-chest-scene.is-3d .champ-scene-center h2{font-size:21px;max-width:94vw}
  .champ-chest-scene.is-3d .champ-scene-open{min-height:49px;font-size:17px;padding:10px 18px}
  .champ-chest-scene.is-3d .champ-scene-result{gap:4px;padding:58px 12px 20px}
  .champ-chest-scene.is-3d .champ-scene-result h2{font-size:23px}
  .champ-chest-scene.is-3d .champ-scene-result p{font-size:12px;line-height:1.25}
  .champ-chest-scene.is-3d .champ-scene-result .champ-scene-actions{max-width:365px;gap:6px}
  .champ-chest-scene.is-3d .champ-scene-result .champ-games-button{min-height:42px}
}
@media(prefers-reduced-motion:reduce){.champ-chest-pedestal:hover>img{transform:none;transition:none}}

/* Общение и общий Страж */
.champ-dm-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:#a63535;color:#fff;font-size:11px;font-weight:800}
.champ-guardian{display:grid;grid-template-columns:minmax(130px,210px) 1fr;gap:24px;align-items:center}.champ-guardian>img{width:100%;max-height:220px;object-fit:contain}.champ-guardian progress{width:100%;height:18px;accent-color:#d8a64d;transition:width .5s}.champ-guardian-top{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.champ-guardian-top span{white-space:nowrap}.champ-guardian small{display:block;margin-top:12px}
.champ-messages{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:16px;min-height:60vh}.champ-messages:not(.has-dialog){grid-template-columns:1fr}.champ-messages-list,.champ-messages-dialog{min-width:0}.champ-messages-thread{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:9px;align-items:center;padding:12px;border-bottom:1px solid rgba(210,175,104,.22);text-decoration:none}.champ-messages-thread>span:nth-child(2){min-width:0}.champ-messages-thread small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.champ-messages-thread time{font-size:12px}.champ-messages-thread b{grid-column:3;justify-self:end;border-radius:20px;background:#a63535;color:white;padding:2px 7px}.champ-messages-avatar{width:42px;height:42px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#253451}.champ-messages-avatar img{width:100%;height:100%;object-fit:cover}.champ-messages-dialog{display:flex;flex-direction:column;position:relative}.champ-messages-dialog>header{display:flex;align-items:center;gap:14px;border-bottom:1px solid rgba(210,175,104,.25);padding-bottom:12px}.champ-messages-dialog>header>button{margin-left:auto}.champ-messages-menu{position:absolute;right:8px;top:55px;z-index:3;display:grid;gap:8px;background:#15253e;border:1px solid #9d7840;padding:12px;border-radius:8px}.champ-messages-history{flex:1;min-height:240px;max-height:55vh;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:16px 4px}.champ-messages-date{text-align:center;font-size:12px;opacity:.7}.champ-messages-bubble{max-width:min(75%,580px);align-self:flex-start;padding:10px 13px;border-radius:14px 14px 14px 3px;background:#263650;overflow-wrap:anywhere}.champ-messages-bubble.is-mine{align-self:flex-end;border-radius:14px 14px 3px 14px;background:#5c492d}.champ-messages-bubble p{white-space:pre-wrap;margin:0 0 4px}.champ-messages-bubble small{display:block;text-align:right}.champ-messages-bubble>div{display:flex;gap:10px;margin-top:5px}.champ-messages-bubble button{background:none;border:0;color:#e8c985;font-size:11px;cursor:pointer}.champ-messages-compose{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.champ-messages-compose label{min-width:0}.champ-messages-compose label span{float:right}.champ-messages-compose textarea{display:block;width:100%;min-height:72px;resize:vertical}.champ-messages-compose>small{grid-column:1/-1}
@media(max-width:700px){.champ-guardian{grid-template-columns:90px 1fr;gap:12px}.champ-guardian>img{align-self:start}.champ-messages{display:block}.champ-messages.has-dialog .champ-messages-list{display:none}.champ-messages-dialog{min-height:70vh}.champ-messages-history{max-height:calc(100dvh - 300px);min-height:45vh}.champ-messages-bubble{max-width:85%}.champ-messages-compose{position:sticky;bottom:0;padding:8px 0;background:#111d31}}

/* Рулетка остаётся чёткой и на запасной 2D-сцене. */
.champ-scene-motion-blur{display:none}

/* Gift and fighter profile refresh */
.champ-gift-grid{align-items:stretch;grid-template-columns:repeat(auto-fill,minmax(205px,1fr))}
.champ-gift-card{min-height:320px;padding:13px 14px 15px;overflow:visible;color:#f4f0e9}
.champ-gift-art{height:160px;display:grid;place-items:center;position:relative;isolation:isolate}
.champ-gift-art:before{content:"";position:absolute;inset:8%;border-radius:50%;background:radial-gradient(circle,var(--art-glow),transparent 65%);opacity:.3;filter:blur(13px);z-index:-1}
.champ-gift-art img{width:100%;height:145px;object-fit:contain;filter:drop-shadow(0 13px 9px #03071090);animation:champ-gift-float 5s ease-in-out infinite}
.champ-gift-card:after,.champ-gift-card:before{display:none!important}
.champ-gift-card-text{flex:1;gap:8px;min-width:0}
.champ-gift-title{display:flex;gap:6px;align-items:flex-start;min-width:0;line-height:1.2}.champ-gift-title strong{font-size:16px;min-width:0;overflow-wrap:anywhere}.champ-gift-serial{display:inline-flex;align-items:center;white-space:nowrap;padding:2px 5px;border:1px solid #d6b97888;border-radius:5px;color:#f6dfa2;font-size:11px;font-weight:700}
.champ-gift-chips{display:flex;flex-wrap:wrap;gap:5px}.champ-gift-chips span{display:inline-flex;padding:3px 6px;border:1px solid #ffffff40;border-radius:20px;color:#e4e9f1;font-size:10px;line-height:1.2}.champ-gift-chips .champ-gift-rarity{color:var(--art-glow);border-color:var(--art-glow)}
.champ-gift-origin{display:flex;align-items:center;gap:4px;min-width:0;color:#d6dfec;font-size:12px}.champ-gift-origin .champ-fighter-name{min-width:0}.champ-gift-origin .council-stats{display:none}.champ-gift-origin .nick-line{max-width:100%}.champ-gift-card blockquote,.champ-feed-event blockquote{margin:0;color:#d4d8e4;font:italic 12px/1.45 var(--font-serif);overflow-wrap:anywhere}.champ-gift-date{margin-top:auto;font-size:11px}
.champ-gift-menu{position:absolute!important;right:9px;top:9px;z-index:5!important}.champ-gift-menu>button{width:29px;height:29px;border-radius:50%;border:1px solid #c7b68a88;background:#12213ce0;color:#fff;cursor:pointer;font-size:19px}.champ-gift-menu [role=menu]{position:absolute;right:0;top:32px;min-width:178px;padding:5px;border:1px solid var(--border-gold);border-radius:9px;background:#101d34;box-shadow:0 12px 28px #0008}.champ-gift-menu [role=menu] button{display:block;width:100%;padding:8px;text-align:left;background:none;border:0;border-radius:5px;color:#fff;cursor:pointer;font-size:12px}.champ-gift-menu [role=menu] button:hover{background:#ffffff1e}
.champ-gift-steps{display:flex;gap:7px;margin:18px 0}.champ-gift-steps button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px;border:1px solid #6f7790;border-radius:9px;background:#14243d;color:#ddd;cursor:pointer}.champ-gift-steps button[aria-current=step]{border-color:#f4c874;background:#58452b;color:#fff}.champ-gift-steps button:disabled{opacity:.48;cursor:default}.champ-gift-steps b{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#e5c379;color:#1b2231}.champ-gift-suggestions{display:grid;gap:5px;max-height:310px;overflow:auto}.champ-gift-suggestions>button{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #66738d;border-radius:9px;background:#182945;color:#fff;cursor:pointer;text-align:left}.champ-gift-suggestions img,.champ-gift-suggestion-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#293c60}.champ-gift-recipient{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#e8d4af}.champ-gift-recipient button{background:none;border:0;color:#f6d17e;cursor:pointer}.champ-gift-hint{margin:18px 0 0;color:#bfcadd;font-size:12px;line-height:1.45}.champ-gift-sent{display:grid;place-items:center;min-height:270px;text-align:center}.champ-gift-sent span{font-size:80px;animation:champ-gift-send 1s ease-in forwards}.champ-gift-sent strong{font:700 26px var(--font-serif);color:#ffe4a5}@keyframes champ-gift-send{to{transform:translate(160px,-100px) rotate(20deg) scale(.4);opacity:0}}
.champ-social-header-actions{display:flex;gap:8px;flex-wrap:wrap;align-self:flex-end}.champ-social-cover{flex-wrap:wrap}.champ-social-identity{flex-basis:390px}.champ-social-body{min-width:0}.champ-profile-counters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:17px 0 22px}.champ-profile-counters button{min-width:0;display:grid;justify-items:center;gap:3px;padding:12px 7px;border:1px solid var(--border-gold);border-radius:13px;background:var(--bg);color:var(--fg-1);cursor:pointer}.champ-profile-counters button:hover{border-color:var(--accent);transform:translateY(-2px)}.champ-profile-counters strong{font:700 clamp(18px,2.2vw,26px) var(--font-sans);font-variant-numeric:lining-nums tabular-nums}.champ-profile-counters small{color:var(--fg-2);font-size:11px}.champ-profile-icon,.champ-profile-icon-fallback{width:35px;height:35px;object-fit:contain;display:grid;place-items:center;font-size:25px;color:var(--accent)}
.champ-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.champ-profile-main{min-width:0}.champ-profile-aside-wrap{min-width:0}.champ-profile-aside{display:grid;align-content:start;gap:12px}.champ-profile-aside section{min-width:0;padding:15px;border:1px solid var(--border-gold);border-radius:13px;background:var(--bg)}.champ-profile-aside h3{margin:0 0 12px;color:var(--fg-1);font:700 17px var(--font-serif)}.champ-profile-aside dl{margin:0;display:grid;gap:8px}.champ-profile-aside dl div{display:flex;justify-content:space-between;gap:9px;font-size:12px}.champ-profile-aside dt{color:var(--fg-2)}.champ-profile-aside dd{margin:0;text-align:right;color:var(--fg-1);font-weight:700}.champ-profile-shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.champ-profile-shelf button{aspect-ratio:1;padding:3px;border:1px solid var(--border-gold);border-radius:8px;background:var(--bg-elevated);cursor:pointer}.champ-profile-shelf img{width:100%;height:100%;object-fit:contain}.champ-profile-text-button{padding:10px 0 0;border:0;background:none;color:var(--accent);cursor:pointer}.champ-profile-friend{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:8px 0;font-size:12px}.champ-profile-friend .champ-fighter-name{min-width:0}.champ-profile-friend .council-stats{display:none}.champ-profile-medals{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:10px;justify-items:center}.champ-profile-medal{display:grid;width:100%;max-width:120px;aspect-ratio:1}.champ-profile-medal>*{width:100%!important;height:100%!important}.champ-profile-medals-count{color:var(--fg-muted);font-size:.8em}.champ-profile-mobile-aside{display:none}.champ-social-empty{display:grid;justify-items:start;gap:8px;padding:20px;color:var(--fg-2)}.champ-social-empty p{margin:0}.champ-social-empty .champ-profile-icon{width:56px;height:56px}.champ-social-tabs{margin-top:0}.champ-social-tabs button{white-space:nowrap}.champ-profile-gift-tools{display:flex;justify-content:space-between;align-items:start;gap:10px;flex-wrap:wrap}.champ-profile-gift-tools .champ-gift-categories{flex:1;max-width:100%;overflow:auto}.champ-profile-gift-tools .champ-gift-categories button[aria-pressed=true]{border-color:#e9bb60;background:#59472b}.champ-profile-gift-tools select{padding:8px;border:1px solid var(--border-gold);border-radius:7px;background:var(--bg);color:var(--fg-1)}.champ-profile-badge-progress{display:grid;gap:8px;margin:12px 0 18px;color:var(--fg-1)}.champ-profile-badge-progress progress{width:100%;height:9px;accent-color:var(--accent)}
.champ-profile-feed{display:grid;gap:14px}.champ-feed-event{display:flex;gap:14px;padding:17px;border:1px solid var(--border-gold);border-radius:14px;background:var(--bg);animation:champ-feed-enter .4s ease-out both}.champ-feed-art{width:100px;height:100px;flex:none;display:grid;place-items:center;border-radius:12px;background:radial-gradient(circle,#d6ba7950,transparent 70%)}.champ-feed-art img{width:100%;height:100%;object-fit:contain}.champ-feed-content{min-width:0;display:grid;align-content:start;gap:5px}.champ-feed-content small{color:var(--fg-2)}.champ-feed-content h3,.champ-feed-content p{margin:0;color:var(--fg-1)}.champ-feed-content h3{font:700 17px var(--font-serif)}.champ-feed-content p{display:flex;gap:5px;align-items:center;flex-wrap:wrap;font-size:13px}.champ-feed-reactions{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.champ-feed-reactions button{padding:5px 7px;border:1px solid var(--border-gold);border-radius:17px;background:var(--bg-elevated);color:var(--fg-1);cursor:pointer}.champ-feed-reactions button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.champ-feed-reactions button:disabled{cursor:default;opacity:.75}.champ-profile-toast{position:fixed;right:20px;bottom:20px;z-index:1300;padding:11px 18px;border:1px solid #d8bb75;border-radius:9px;background:#12213c;color:#fff;box-shadow:0 12px 30px #0007}@keyframes champ-feed-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1099px){.champ-profile-layout{grid-template-columns:1fr}.champ-profile-aside-wrap{display:none}.champ-profile-mobile-aside{display:block;padding:0 20px 20px}.champ-profile-mobile-aside summary{padding:12px;border:1px solid var(--border-gold);border-radius:9px;color:var(--fg-1);cursor:pointer}.champ-profile-mobile-aside .champ-profile-aside{margin-top:10px;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.champ-social-cover{gap:12px}.champ-social-header-actions{width:100%}.champ-social-header-actions>*{flex:1;text-align:center}.champ-profile-counters{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.champ-profile-counters button{padding:8px 3px}.champ-profile-counters .champ-profile-icon{width:27px;height:27px}.champ-social-tabs{overflow:auto;flex-wrap:nowrap}.champ-profile-mobile-aside .champ-profile-aside{grid-template-columns:1fr}.champ-gift-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.champ-gift-card{padding:8px;min-height:290px}.champ-gift-art{height:125px}.champ-gift-art img{height:120px}.champ-gift-title strong{font-size:13px}.champ-gift-origin{font-size:10px}.champ-gift-card blockquote{font-size:11px}.champ-feed-art{width:74px;height:74px}.champ-feed-event{gap:8px;padding:10px}.champ-social-body{padding:14px}}
@media(prefers-reduced-motion:reduce){.champ-gift-art img,.champ-gift-sent span,.champ-feed-event{animation:none!important}}
.champ-gift-inventory-actions{display:flex;gap:4px;margin-top:auto}.champ-gift-inventory-actions button{flex:1;min-width:0;padding:6px 3px;border:1px solid #dbc27e88;border-radius:6px;background:#ffffff14;color:#fff;cursor:pointer;font-size:11px}
.champ-gift-suggestions>[role=option]{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #66738d;border-radius:9px;background:#182945;color:#fff;cursor:pointer;text-align:left}.champ-gift-suggestions>[role=option]:focus-visible{outline:2px solid #f1ca76}.champ-gift-origin .champ-fighter-name .nick-line{width:auto;max-width:100%}
.champ-fighter-clan-link{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:none;text-decoration:none}.champ-fighter-clan-link img{width:18px;height:18px;object-fit:contain}.champ-fighter-clan-initial{display:grid;place-items:center;width:18px;height:18px;border:1px solid #d6b76b;border-radius:50%;background:#1c3155;color:#ffe7a9;font:bold 11px var(--font-serif)}
.champ-gift-origin{white-space:nowrap;overflow:hidden}.champ-gift-origin .champ-fighter-name{overflow:hidden}.champ-gift-origin .nick-fit-text{overflow:hidden;text-overflow:ellipsis}
.champ-gift-origin .champ-profile-icon,.champ-gift-origin .champ-profile-icon-fallback,.champ-feed-content p .champ-profile-icon,.champ-feed-content p .champ-profile-icon-fallback{width:17px;height:17px;flex:none;font-size:14px}
/* Games guide, balances and illustrated controls */
.champ-ico{display:inline-block;flex:none;object-fit:contain;vertical-align:middle}.champ-ico-fallback,.champ-profile-icon-fallback{display:inline-block;flex:none;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f8dda0,#8a5c31 70%,#263653);box-shadow:inset 0 0 0 1px #e5c379}
.champ-rules-help{position:relative}.champ-rules-help .champ-games-link{min-height:30px;padding:0;text-align:left;font-size:12px}.champ-rules-popover{position:relative;z-index:4;margin-top:5px;padding:12px;border:1px solid var(--border-gold);border-radius:10px;background:var(--bg-elevated);color:var(--fg-1);box-shadow:0 9px 22px #0004;font-size:12px}.champ-rules-popover p{margin:0 0 8px}.champ-rules-popover a{color:var(--accent)}.champ-rules-sources{display:grid;gap:6px;list-style:none;margin:8px 0;padding:0}.champ-rules-sources li{display:flex;align-items:center;gap:7px;color:var(--fg-1);font-size:13px}.champ-rules-sources .champ-ico{width:20px;height:20px}
.champ-balance-tile{display:flex!important;align-items:flex-start;gap:10px;min-width:0;padding:12px;border:1px solid var(--border-gold);border-radius:12px;background:var(--bg-elevated);color:var(--fg-1)}.champ-balance-tile>div{display:grid;gap:3px;min-width:0}.champ-balance-tile small{color:var(--fg-2);font-size:12px}.champ-balance-tile strong{color:var(--fg-1);font:700 clamp(23px,2.3vw,33px)/1.1 var(--font-display);font-variant-numeric:tabular-nums}.champ-balance-tile span{color:var(--fg-2);font-size:11px}.champ-balance-tile a{font-size:12px}.header-player-balances{grid-template-columns:1fr!important}.header-player-balances>.champ-balance-tile{height:auto;min-height:0;padding:8px}.header-player-balances .champ-balance-tile .champ-ico{width:26px;height:26px}.header-player-balances .champ-balance-tile strong{font-size:19px}.header-player-balances .champ-balance-tile .champ-rules-help{display:none}.champ-games-player-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.champ-games-player-stats>.champ-balance-tile{height:auto}.champ-games-player-stats .champ-balance-tile span{font:12px var(--font-sans)}.champ-profile-balances,.champ-chest-balances,.champ-guide-currencies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 20px}
.champ-guide-link a{display:inline-flex;align-items:center;gap:7px;color:var(--accent)}.champ-guide .champ-block{margin-bottom:18px}.champ-guide .champ-block h2{display:flex;align-items:center;gap:9px}.champ-guide-levels{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px}.champ-guide-levels>div{display:grid;gap:4px;padding:9px;border:1px solid var(--border-gold);border-radius:10px;background:var(--bg-elevated)}.champ-guide-levels img{width:54px;height:54px;object-fit:contain}.champ-guide-levels span,.champ-guide-levels small{color:var(--fg-2)}.champ-guide-boxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.champ-guide-boxes>div{display:grid;justify-items:center;padding:12px;border:1px solid var(--border-gold);border-radius:12px;text-align:center}.champ-guide-boxes img{height:100px;width:100%;object-fit:contain}.champ-guide-boxes small{color:var(--accent)}
.champ-preserve-overlay{position:fixed;inset:0;z-index:1500;display:grid;place-items:center;padding:16px;background:#0009}.champ-preserve-dialog{width:min(100%,430px);padding:20px;border:1px solid var(--border-gold);border-radius:16px;background:var(--bg-elevated);color:var(--fg-1);box-shadow:0 15px 50px #0008}.champ-preserve-dialog h3{display:flex;align-items:center;gap:7px;margin:0}.champ-preserve-dialog p{line-height:1.5}.champ-preserve-dialog>div{display:flex;gap:8px;flex-wrap:wrap}.champ-gift-chips .champ-ico{margin-right:3px}.champ-gift-balance{display:flex;align-items:center;gap:6px;color:var(--fg-1);font-variant-numeric:tabular-nums}.champ-gift-recipient{display:flex;align-items:center;gap:9px}.champ-gift-recipient>span:nth-child(2){flex:1;min-width:0}.champ-gift-recipient small,.champ-gift-suggestions small{display:block;color:var(--fg-2);font-size:11px}.champ-gift-selected-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;overflow:hidden;border:1px solid var(--border-gold);border-radius:50%}.champ-gift-selected-avatar img{width:100%;height:100%;object-fit:cover}.champ-gift-suggestions>[role=option]{width:100%}.champ-gift-suggestions>[role=option][aria-selected=true]{outline:2px solid var(--accent)}.champ-gift-suggestions>[role=option]:disabled{opacity:.55;cursor:not-allowed}.champ-smile-wrap{position:relative;display:inline-block}.champ-smile-trigger{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border-gold);border-radius:8px;background:var(--bg-elevated);cursor:pointer}.champ-smile-popover{position:absolute;z-index:1200;bottom:calc(100% + 5px);left:0;display:grid;grid-template-columns:repeat(4,34px);gap:3px;padding:7px;border:1px solid var(--border-gold);border-radius:10px;background:var(--bg-elevated);box-shadow:0 10px 30px #0008}.champ-smile-popover button{width:34px;height:34px;border:0;border-radius:6px;background:transparent;cursor:pointer;font-size:19px}.champ-smile-popover button:hover{background:var(--accent-soft)}
@media(min-width:1151px){.site-header .inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:8px}.site-header .nav{min-width:0;width:100%;overflow:hidden}.site-header .header-actions{min-width:0;max-width:100%;justify-self:end}.site-header .site-profile{min-width:0}.site-header .header-player-menu{max-width:200px}.site-header .header-player-trigger{max-width:200px;width:200px;min-width:0;overflow:hidden}.header-player-trigger-lines{display:grid;min-width:0;flex:1;overflow:hidden}.header-player-trigger-lines .nick-line{min-width:0;width:max-content;max-width:100%}.header-player-trigger-balances{display:flex;align-items:center;gap:3px;overflow:hidden;white-space:nowrap;color:var(--fg-2);font-size:10px;font-variant-numeric:tabular-nums}.header-player-trigger-balances .champ-ico{width:14px;height:14px}}@media(min-width:1151px) and (max-width:1279px){.site-header .header-player-menu,.site-header .header-player-trigger{max-width:60px;width:60px}.header-player-trigger-balances{display:none}.header-player-trigger-lines .nick-fit-text{display:none!important}}@media(max-width:700px){.champ-games-player-stats,.champ-profile-balances,.champ-chest-balances,.champ-guide-currencies,.champ-guide-boxes{grid-template-columns:1fr 1fr}.champ-guide-boxes>div:last-child{grid-column:1/-1}}@media(max-width:430px){.champ-profile-balances,.champ-chest-balances,.champ-guide-currencies{grid-template-columns:1fr}.champ-smile-popover{left:auto;right:0}}
.header-player-balances .champ-balance-tile .champ-rules-help{display:block}.header-player-balances .champ-rules-popover{max-width:100%}.header-player-balances .champ-balance-tile span{line-height:1.25}
.champ-guide-gift-prices{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:6px}.champ-guide-gift-prices span{padding:7px;border:1px solid var(--border-gold);border-radius:7px;color:var(--fg-1);font-size:12px}
.champ-gift-suggestions>[role=option][aria-disabled=true]{opacity:.55;cursor:not-allowed}.champ-gift-suggestions>[role=option] .champ-fighter-name{min-width:0}.champ-gift-suggestions>[role=option]>span:last-child{min-width:0}
.champ-balance-tile{flex-direction:row!important}
/* Описание резервирует две строки: длинный текст у одной плитки не сдвигает кнопку «Как заработать» относительно соседних. */
.champ-balance-tile>div>span{min-height:2.6em;min-height:2lh}
@media(min-width:1151px){.header-player-dropdown{max-height:calc(100vh - 75px);overflow-y:auto;overscroll-behavior:contain}}
.champ-weekly-tasks h2{display:flex;align-items:center;gap:8px}.champ-weekly-tasks>div{display:grid;gap:7px}.champ-weekly-tasks p{display:flex;align-items:center;gap:8px;margin:0;padding:8px;border:1px solid var(--border-gold);border-radius:8px}.champ-weekly-tasks p span{flex:1}.champ-weekly-tasks p strong{font-size:12px;color:var(--accent)}.champ-weekly-tasks small{display:block;margin-top:8px;color:var(--fg-2)}#champ-weekly-tasks,#champ-guardian{scroll-margin-top:95px}

/* Игровая дизайн-система */
.champ-content{--game-space-1:8px;--game-space-2:12px;--game-space-3:16px;--game-space-4:24px;--game-space-5:32px;--game-radius-s:12px;--game-radius-m:16px;--game-radius-l:20px}
.champ-content :is(input,textarea,select,button){font-family:var(--font-sans)}
.champ-content :is(input,textarea,select):focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-color:var(--accent)}
.champ-content :is(strong,b,.champ-stat-tile,.champ-guardian-hero){font-variant-numeric:lining-nums tabular-nums}
.champ-ico{display:inline-block;flex:none;object-fit:contain;vertical-align:middle}
.champ-card{position:relative;min-width:0;padding:24px;border:1px solid var(--border-gold);border-radius:var(--game-radius-l,20px);background:linear-gradient(145deg,color-mix(in srgb,var(--bg-elevated) 92%,white 8%),var(--bg-elevated) 45%,color-mix(in srgb,var(--bg-sunken) 80%,var(--bg-elevated)));box-shadow:inset 0 1px color-mix(in srgb,var(--accent) 20%,transparent),0 15px 35px rgba(2,8,24,.16)}
.champ-card:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;border-top:1px solid color-mix(in srgb,var(--accent) 35%,transparent);opacity:.8}
.champ-section-title{display:flex;align-items:center;gap:12px;min-width:0;margin-bottom:16px}.champ-section-title>div:nth-child(2){min-width:0;flex:1}.champ-section-title h2{margin:0;color:var(--fg-1);font:600 clamp(20px,2vw,28px)/1.2 var(--font-serif)}.champ-section-title p{margin:4px 0 0;color:var(--fg-2);font:400 13px/1.4 var(--font-sans)}.champ-section-action{margin-left:auto}
.champ-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;position:relative;min-width:0;border:1px solid var(--border-gold);border-radius:12px;text-align:center;text-decoration:none;cursor:pointer;font:700 14px/1.2 var(--font-sans);transition:transform .18s,box-shadow .18s,background .18s;overflow:hidden}.champ-btn>span{position:relative}.champ-btn.is-s{min-height:34px;padding:7px 11px;font-size:12px}.champ-btn.is-m{min-height:42px;padding:10px 16px}.champ-btn.is-l{min-height:50px;padding:13px 22px;font-size:16px}.champ-btn.is-primary{color:#2f210c;background:var(--gold-gradient-h);box-shadow:inset 0 1px #fff7c4,0 4px 0 #775528,0 9px 20px #0003}.champ-btn.is-primary:before{content:"";position:absolute;inset:-100% auto -100% -55%;width:35%;transform:rotate(22deg);background:linear-gradient(90deg,transparent,#fff9,transparent);transition:left .35s}.champ-btn.is-primary:hover:before{left:130%}.champ-btn.is-secondary{color:var(--fg-1);background:linear-gradient(160deg,color-mix(in srgb,var(--bg-elevated) 85%,white),var(--bg-sunken));box-shadow:inset 0 1px #ffffff20,0 4px 12px #0002}.champ-btn.is-ghost,.champ-btn.is-icon{color:var(--fg-1);background:transparent;border-color:transparent}.champ-btn.is-icon{width:42px;padding:8px}.champ-btn.is-icon>span:empty{display:none}.champ-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #0004}.champ-btn:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 2px 6px #0004}.champ-btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.champ-btn:disabled,.champ-btn[aria-busy=true]{opacity:.55;cursor:wait}
.champ-chip{display:inline-flex;align-items:center;gap:5px;min-height:23px;padding:2px 8px;border:1px solid var(--border-gold);border-radius:99px;background:#f3e1ac;color:#24324a;-webkit-text-fill-color:currentColor;font:600 11px/1.2 var(--font-sans);white-space:nowrap}.champ-chip.is-new{color:#24324a;background:#f3e1ac}.champ-chip.is-expiry{background:#f3e1ac}
.champ-stat-tile{display:flex!important;align-items:flex-start;gap:12px;padding:16px!important;border-radius:16px;min-height:112px}.champ-stat-tile>div{display:grid;align-content:start;gap:3px;min-width:0}.champ-stat-tile small{font-size:12px;color:var(--fg-2)}.champ-stat-tile strong{font:700 clamp(23px,2.5vw,32px)/1 var(--font-sans);color:var(--fg-1)}.champ-stat-tile span{font-size:12px;color:var(--fg-2)}.champ-stat-tile .champ-rules-help{margin-top:2px}
.champ-xp{position:relative;display:grid;gap:8px;min-width:0;padding:16px 20px;border:1px solid var(--border-gold);border-radius:16px;background:linear-gradient(140deg,var(--bg-elevated),var(--bg-sunken));box-shadow:inset 0 1px #ffffff1d,0 8px 22px #0002}.champ-xp-track,.champ-guardian-meter{height:15px;overflow:hidden;position:relative;border:1px solid color-mix(in srgb,var(--accent) 55%,transparent);border-radius:99px;background:linear-gradient(#030b1d,#26334b);box-shadow:inset 0 2px 5px #000a,0 1px #fff2}.champ-xp-track>span,.champ-guardian-meter>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(180deg,#fff0ab 0%,#e9bf67 30%,#b77930 75%,#e8bd64);box-shadow:inset 0 2px #fff9,0 0 15px #e6b65e99;transition:width .6s ease}.champ-xp-help{font-size:12px;color:var(--fg-2)}.champ-xp-help summary{color:var(--accent);cursor:pointer}.champ-xp-help p{margin:6px 0 0}.champ-xp.is-compact{padding:9px 11px;gap:5px}.champ-xp.is-compact .champ-xp-track{height:8px}
/* Профиль */
.champ-social-cover{min-height:260px;align-content:end}.champ-social-avatar{width:112px;height:112px}.champ-social-body{display:grid;gap:16px}.champ-social-body>.champ-xp{margin:0}.champ-profile-counters{margin:0;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.champ-profile-counters button{min-height:94px;border-radius:16px;background:linear-gradient(145deg,var(--bg-elevated),var(--bg-sunken));box-shadow:inset 0 1px #fff2,0 7px 18px #0002}.champ-profile-counters button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.champ-profile-counters strong{font-family:var(--font-sans)}.champ-profile-aside section{border-radius:16px;background:linear-gradient(140deg,var(--bg-elevated),var(--bg-sunken))}.champ-profile-wallet>div:last-child{display:grid;gap:8px}.champ-profile-wallet .champ-stat-tile{min-height:0;padding:9px!important}.champ-profile-wallet .champ-stat-tile>.champ-ico{width:24px;height:24px}.champ-profile-wallet .champ-stat-tile strong{font-size:22px}.champ-profile-friend b{display:flex;align-items:center;gap:3px;color:var(--accent)}.champ-profile-badge-progress .champ-xp-track{width:100%}.champ-feed-event.is-gift .champ-feed-art{width:110px;height:110px}.champ-feed-event.is-badge .champ-feed-art{box-shadow:inset 0 0 20px #f5cb7088,0 0 20px #f5cb7033}.champ-feed-reactions button{border:0;background:transparent;display:flex;align-items:center;gap:3px}.champ-feed-reactions button:hover,.champ-feed-reactions button[aria-pressed=true]{background:var(--accent-soft)}.champ-profile-combat{display:grid;gap:16px;margin-top:24px}.champ-profile-combat .champ-fighter-summary{margin:0}.champ-profile-combat .champ-fighter-battles{margin:0}
/* Кабинет */
.champ-games-player{display:grid;gap:16px}.champ-games-player .champ-xp{width:100%}.champ-games-player-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.champ-games-player-stats .champ-balance-tile{min-width:0;border-radius:16px}.champ-me-daily-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}.champ-me-daily-grid>*{min-width:0;height:100%;margin:0!important}.champ-me-daily-grid .champ-social-chest{display:flex;flex-direction:column}.champ-me-daily-grid .champ-social-chest>img{width:110px;height:105px;align-self:center}.champ-me-daily-grid .champ-guardian{display:flex;flex-direction:column;gap:10px}.champ-me-daily-grid .champ-guardian>img{width:95px;height:90px;align-self:center}.champ-me-daily-grid .champ-guardian>.champ-section-title{margin:0}.champ-me-daily-grid .champ-guardian>div{width:100%}.champ-games-tabs{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:thin}.champ-games-tabs button{flex:1 0 auto!important;min-width:0;white-space:nowrap}.champ-games-ledger-section{margin-top:24px}
/* Страж и сообщения */
.champ-guardian{display:grid;grid-template-columns:minmax(100px,190px) minmax(0,1fr);gap:24px;align-items:center}.champ-guardian>div{min-width:0}.champ-guardian-meter{height:16px}.champ-guardian-top{display:grid;gap:4px;align-items:stretch}.champ-guardian-top>strong{display:block;margin:6px 0;color:var(--fg-1);font:600 17px var(--font-serif)}.champ-guardian-hero{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:7px;align-items:center;min-height:33px}.champ-guardian-place{position:relative;display:grid;place-items:center}.champ-guardian-place b{position:absolute;font-size:10px;color:#35230e}.champ-guardian-hero>.champ-fighter-name{min-width:0}.champ-guardian-hero>strong{white-space:nowrap;color:var(--accent);font-size:13px}.champ-guardian-hero>strong small{display:inline;color:var(--fg-2);font-size:10px}.champ-messages{grid-template-columns:minmax(240px,300px) minmax(0,1fr)}.champ-messages-list,.champ-messages-dialog{background:linear-gradient(160deg,var(--bg-elevated),var(--bg-sunken))}.champ-messages-dialog>header{min-height:58px}.champ-messages-person{min-width:0;display:grid;gap:3px}.champ-messages-person small{color:var(--fg-2);font-size:11px}.champ-message-more{display:grid;place-items:center;width:33px;height:33px;flex:none;border:1px solid var(--border-gold)!important;border-radius:9px!important;background:var(--bg-elevated)!important;color:var(--accent)!important;font-size:20px!important;line-height:1;cursor:pointer}.champ-messages-bubble{max-width:70%;position:relative;padding:12px 14px;border:1px solid #ffffff1a;box-shadow:0 6px 14px #0002}.champ-message-actions{position:absolute;top:3px;right:3px;margin:0!important;opacity:0;transition:opacity .15s}.champ-messages-bubble:hover .champ-message-actions,.champ-messages-bubble:focus-within .champ-message-actions,.champ-message-actions:has([aria-expanded=true]){opacity:1}.champ-message-actions .champ-message-more{width:26px;height:26px;font-size:16px!important;background:color-mix(in srgb,var(--bg-elevated) 80%,transparent)!important}.champ-message-actions-popover{position:absolute;z-index:5;top:28px;right:0;display:grid;min-width:135px;padding:5px;border:1px solid var(--border-gold);border-radius:9px;background:var(--bg-elevated);box-shadow:0 10px 24px #0005}.champ-message-actions-popover button{padding:7px;text-align:left;white-space:nowrap}.champ-messages-compose textarea{background:var(--bg-sunken);color:var(--fg-1);border:1px solid var(--border-gold);border-radius:12px;padding:12px;font:400 14px/1.5 var(--font-sans)}.champ-messages-compose>.champ-smile-wrap{align-self:end}.champ-messages-compose>.champ-games-button{grid-column:1/-1}.champ-messages-compose>small{color:var(--fg-2)}
/* Подарки */
.champ-gift-field input,.champ-gift-field textarea{font:400 15px/1.45 var(--font-sans);background:var(--bg-sunken);color:var(--fg-1);border:1px solid var(--border-gold);border-radius:12px;padding:12px}.champ-gift-field input:focus-visible,.champ-gift-field textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.champ-gift-card{border-radius:16px}.champ-gift-card .champ-gift-serial,.champ-gift-card .champ-gift-chips>span{border-radius:99px}.champ-gift-card .champ-gift-menu>button{width:32px;height:32px;border-radius:9px;background:var(--bg-elevated);border:1px solid var(--border-gold);color:var(--accent)}.champ-gift-postcard{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.champ-gift-postcard>div{min-width:0;min-height:132px;padding:12px;border:1px solid var(--border-gold);border-radius:16px;background:linear-gradient(140deg,var(--bg-elevated),var(--bg-sunken));box-shadow:inset 0 1px #fff3}.champ-gift-postcard-item{display:grid;grid-template-columns:95px 1fr;gap:9px;align-items:center}.champ-gift-postcard-item img{width:95px;height:100px;object-fit:contain}.champ-gift-postcard-item>div,.champ-gift-postcard-person>div{display:grid;gap:7px;min-width:0}.champ-gift-postcard-person{display:flex;align-items:center;gap:10px}.champ-gift-postcard-person>img{width:50px;height:50px;border-radius:50%;object-fit:cover}.champ-gift-postcard-note{grid-column:1/-1;min-height:0!important;font:italic 18px/1.4 var(--font-serif);color:var(--fg-1)}.champ-gift-sent{animation:champ-gift-flight .65s ease-out both}@keyframes champ-gift-flight{from{opacity:.3;transform:translate(-35px,15px) scale(.85)}to{opacity:1;transform:none}}
/* Справочник */
.champ-guide-currencies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.champ-guide-levels>div,.champ-guide-boxes>div{border-radius:16px;background:linear-gradient(140deg,var(--bg-elevated),var(--bg-sunken));box-shadow:inset 0 1px #fff2}.champ-guide h2 .champ-ico{vertical-align:middle}
@media(max-width:900px){.champ-me-daily-grid{grid-template-columns:1fr 1fr}.champ-me-daily-grid>.champ-guardian{grid-column:1/-1;display:grid;grid-template-columns:110px 1fr}.champ-games-player-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.champ-card{padding:16px}.champ-social-cover{min-height:260px!important}.champ-social-avatar{width:112px!important;height:112px!important}.champ-profile-counters{grid-template-columns:repeat(3,minmax(0,1fr))}.champ-profile-counters button{min-height:82px}.champ-me-daily-grid{grid-template-columns:1fr}.champ-me-daily-grid>.champ-guardian{grid-column:auto}.champ-games-tabs{margin-inline:-10px}.champ-games-tabs button{font-size:12px;min-height:42px;padding-inline:12px}.champ-guardian{grid-template-columns:75px minmax(0,1fr);gap:9px}.champ-guardian>img{width:75px}.champ-guardian-hero{grid-template-columns:25px minmax(0,1fr) auto}.champ-guardian-hero>strong small{display:none}.champ-messages-bubble{max-width:70%}.champ-gift-postcard{grid-template-columns:1fr}.champ-gift-postcard-note{grid-column:auto}.champ-guide-currencies{grid-template-columns:1fr}}
@media(max-width:375px){.champ-gift-postcard-item{grid-template-columns:75px 1fr}.champ-gift-postcard-item img{width:75px}.champ-messages-history{padding-inline:0}}
@media(prefers-reduced-motion:reduce){.champ-btn,.champ-btn.is-primary:before,.champ-xp-track>span,.champ-guardian-meter>span,.champ-message-actions,.champ-gift-sent{animation:none!important;transition:none!important}}
.header-player-status>.champ-xp{border:0;box-shadow:none;background:transparent;padding:0}.header-player-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.header-player-balances .champ-stat-tile{min-height:0;padding:7px!important;display:grid!important;gap:3px}.header-player-balances .champ-stat-tile>.champ-ico{width:20px;height:20px}.header-player-balances .champ-stat-tile strong{font-size:15px}.header-player-balances .champ-stat-tile span,.header-player-balances .champ-rules-help{display:none}
@media(min-width:1151px) and (max-width:1279px){.site-header .header-player-menu,.site-header .header-player-trigger{max-width:155px;width:155px}.site-header .header-player-trigger .nick-line .nick-fit-text{display:inline!important}.header-player-trigger-balances{display:flex}.site-header .nav{font-size:clamp(10px,.8vw,12px)}}
.champ-profile-counters .champ-stat--game{display:grid;justify-items:center;gap:3px;border:0;background:none;padding:0;box-shadow:none}.champ-profile-counters .champ-stat--game>span{display:grid;justify-items:center;gap:3px}.champ-profile-counters .champ-stat--game b{font:700 clamp(18px,2vw,26px)/1.1 var(--font-sans);color:var(--fg-1)}.champ-profile-counters .champ-stat--game small{font:400 11px var(--font-sans);color:var(--fg-2)}.champ-profile-counters .champ-stat--game .champ-ico{width:32px;height:32px}.champ-gift-chips .champ-chip{font-size:10px}
.champ-guide{display:grid;gap:16px}.champ-guide>.champ-card{margin:0}.champ-guide .champ-section-title{margin-bottom:12px}.champ-guide .champ-card>p{color:var(--fg-2);line-height:1.6}.champ-guide .champ-rules-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin-top:18px}.champ-guide .champ-rules-sources li{display:flex;align-items:flex-start;gap:9px;min-width:0;line-height:1.45}.champ-guide .champ-rules-sources .champ-ico{width:26px;height:26px}.champ-guide-levels>div{min-width:0;min-height:156px;align-content:start;padding:12px;text-align:center;justify-items:center}.champ-guide-levels img{width:68px;height:68px}.champ-guide-levels b{font:600 15px/1.2 var(--font-serif);color:var(--fg-1)}.champ-guide-levels span,.champ-guide-levels small{font-size:11px}.champ-guide-gift-art{display:flex;align-items:center;justify-content:center;gap:24px;min-height:135px;margin:12px 0;border:1px solid var(--border-gold);border-radius:16px;background:radial-gradient(ellipse at 50% 90%,#e8bd6b36,transparent 65%),var(--bg-sunken)}.champ-guide-gift-art img{width:100px;height:115px;object-fit:contain;filter:drop-shadow(0 10px 10px #0005)}.champ-guide-guardian{float:left;width:135px;height:130px;object-fit:contain;margin:0 22px 10px 0}
@media(max-width:700px){.champ-guide .champ-rules-sources{grid-template-columns:1fr}.champ-guide-gift-art img{width:27%;height:100px}.champ-guide-guardian{width:95px;height:95px;margin-right:12px}}
.header-player-balances{grid-template-columns:repeat(3,minmax(0,1fr))!important}.header-player-balances>.champ-stat-tile{height:auto;min-width:0}.header-player-balances .champ-stat-tile small,.header-player-balances .champ-stat-tile strong{white-space:nowrap}

/* Кабинет К3: четыре самостоятельные карточки после ближайших действий. */
.champ-me-daily-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.champ-me-daily-grid>.champ-guardian{grid-column:auto}
.champ-profile-chests{display:flex;flex-direction:column;gap:14px;padding:20px;min-width:0}
.champ-profile-chests-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}
.champ-profile-chests h2{display:flex;align-items:center;gap:7px;margin:0;color:var(--fg-1);font:600 27px var(--font-serif)}
.champ-profile-chests-balance{display:inline-flex;align-items:center;gap:5px;color:var(--fg-2);font-size:13px;white-space:nowrap}
.champ-profile-chests-balance strong{color:var(--accent);font-size:16px}
.champ-profile-chests-bonus{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border:1px solid var(--accent);border-radius:14px;background:linear-gradient(110deg,var(--accent-soft),var(--bg-elevated));box-shadow:inset 0 1px #fff3,0 0 20px var(--accent-soft)}
.champ-profile-chests-bonus>div{display:grid;gap:3px;min-width:0}.champ-profile-chests-bonus strong{color:var(--accent);font-size:14px}.champ-profile-chests-bonus small{color:var(--fg-2);font-size:12px}.champ-profile-chests-bonus .champ-btn{flex:none}
.champ-profile-chests-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.champ-profile-chest{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:10px 7px;border:1px solid var(--border-gold);border-radius:14px;background:linear-gradient(145deg,var(--bg-elevated),var(--bg-sunken));text-align:center;box-shadow:inset 0 1px #fff2}
.champ-profile-chest>img{display:block;width:100%;height:92px;object-fit:contain;filter:drop-shadow(0 8px 9px #0006)}
.champ-profile-chest h3{margin:0;color:var(--fg-1);font:600 15px/1.2 var(--font-serif)}
.champ-profile-chest-price{display:inline-flex;align-items:center;justify-content:center;gap:3px;color:var(--accent);font-size:12px;font-weight:700;white-space:nowrap}
.champ-profile-chest .champ-btn{width:100%;min-height:37px;margin-top:auto;padding:6px 4px;font-size:12px;line-height:1.15;white-space:normal}
.champ-profile-chest .champ-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;animation:none}
.champ-profile-chests-all{align-self:flex-start;color:var(--accent);font-weight:700;font-size:13px;text-decoration:none}.champ-profile-chests-all:hover{text-decoration:underline}
@media(max-width:900px){.champ-me-daily-grid{grid-template-columns:1fr}.champ-me-daily-grid>.champ-guardian{grid-column:auto}}
@media(max-width:600px){.champ-profile-chests{padding:16px}.champ-profile-chests-grid{grid-template-columns:1fr}.champ-profile-chest{display:grid;grid-template-columns:70px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:3px 8px;padding:8px 10px;text-align:left}.champ-profile-chest>img{grid-row:1/3;width:70px;height:66px}.champ-profile-chest h3{grid-column:2}.champ-profile-chest-price{grid-column:2;justify-content:flex-start}.champ-profile-chest .champ-btn{grid-column:3;grid-row:1/3;width:105px;min-height:43px;margin:0}.champ-profile-chests-bonus{align-items:stretch;flex-direction:column}.champ-profile-chests-bonus .champ-btn{width:100%}}
.champ-gift-chips .champ-chip{padding:3px 7px;color:#24324a;background:#f3e1ac}.champ-gift-chips .champ-chip>span{padding:0;border:0;color:inherit}.champ-gift-chips .champ-chip.is-rarity{color:#24324a;background:#f3e1ac;border-color:var(--art-glow)}.champ-gift-chips .champ-gift-rarity{color:#24324a;-webkit-text-fill-color:currentColor;background:#f3e1ac;border-color:var(--art-glow)}.champ-gift-chips .champ-chip.is-new{color:#24324a;background:#f3e1ac}
.champ-stat-tile a{color:var(--accent);font-size:12px;text-decoration:none}.champ-stat-tile a:hover{text-decoration:underline}
.champ-messages-bubble,.champ-messages-bubble p,.champ-messages-bubble small{color:#f5efe6}.champ-messages-menu{background:var(--bg-elevated);border-color:var(--border-gold);color:var(--fg-1)}.champ-message-actions-popover button{color:var(--fg-1);font-family:var(--font-sans)}.champ-message-actions-popover button:hover{background:var(--accent-soft)}.theme-day .champ-messages-bubble{background:#264568}.theme-day .champ-messages-bubble.is-mine{background:#75552c}
@media(prefers-reduced-motion:reduce){.champ-btn:hover:not(:disabled),.champ-btn:active:not(:disabled),.champ-next-steps li :is(a,button):hover{transform:none}.champ-xp-track>span,.champ-guardian-meter>span{transition:none}}
.theme-day .champ-gift-dialog{background:var(--bg-elevated);color:var(--fg-1);border-color:var(--border-gold)}.theme-day .champ-gift-postcard>div{background:linear-gradient(145deg,var(--bg-elevated),var(--bg-sunken))}.theme-day .champ-gift-postcard-note{color:var(--fg-1)}
.champ-games-button,.champ-content .champ-games-button{border-color:var(--border-gold);border-radius:12px;color:var(--fg-1);background:linear-gradient(150deg,var(--bg-elevated),var(--bg-sunken));box-shadow:inset 0 1px #fff2,0 4px 12px #0002;transition:transform .18s,box-shadow .18s,background .18s}.champ-games-button:hover:not(:disabled):not(.is-primary):not([aria-pressed="true"]),.champ-content .champ-games-button:hover:not(:disabled):not(.is-primary):not([aria-pressed="true"]){transform:translateY(-2px);background:linear-gradient(150deg,color-mix(in srgb,var(--bg-elevated) 85%,var(--accent)),var(--bg-sunken));box-shadow:inset 0 1px #fff3,0 8px 18px #0003}.champ-games-button:active:not(:disabled){transform:translateY(1px)}.champ-games-button.is-primary,.champ-content .champ-games-button.is-primary,.champ-games-button[aria-pressed=true]{color:#30210c;border-color:#d4a65a;background:var(--gold-gradient-h);box-shadow:inset 0 1px #fff7c4,0 4px 0 #775528,0 9px 20px #0003}.theme-day .champ-games-button,.theme-day .champ-content .champ-games-button{color:var(--fg-1);border-color:var(--border-gold);background:linear-gradient(150deg,var(--bg-elevated),var(--bg-sunken))}.theme-day .champ-games-button.is-primary,.theme-day .champ-content .champ-games-button.is-primary,.theme-day .champ-games-button[aria-pressed=true]{color:#30210c;background:var(--gold-gradient-h)}.champ-games-button:disabled{opacity:.55;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){.champ-games-button:hover:not(:disabled),.champ-content .champ-games-button:hover:not(:disabled),.champ-games-button:active:not(:disabled){transform:none}}
.champ-games-unverified-settings{margin:24px 0;padding:14px;border:1px solid var(--border-gold);border-radius:16px;background:var(--bg-elevated)}.champ-games-unverified-settings summary{display:flex;align-items:center;gap:8px;color:var(--fg-1);cursor:pointer}.champ-games-unverified-settings .champ-btn{margin-top:14px}

/* Fixed dark artwork keeps its own light text in both themes. */
.champ-chest,.theme-day .champ-chest{--fg-1:var(--fg-on-dark);--fg-2:var(--fg-on-dark-muted);color:var(--fg-on-dark)}
.champ-chest h2,.theme-day .champ-chest h2{color:var(--fg-on-dark)}
.champ-chest-price{display:flex!important;align-items:center;justify-content:center;gap:7px;color:#ffe5a3!important;font-variant-numeric:tabular-nums}
.champ-chest .champ-btn{margin:auto}
.champ-chest .champ-btn.is-primary,.champ-chest .champ-games-button.is-primary{color:var(--fg-on-gold);background:var(--gold-gradient-h)}
.champ-chest summary{color:var(--fg-on-dark)}
.champ-chest-chances span{color:var(--fg-on-dark);background:#172a48}
.champ-chest-contents .champ-scene-item{min-width:0;color:var(--fg-on-dark)}

/* The reel controls take their own rows, so moving cards never pass under a pointer. */
.champ-chest-scene.phase-reel .champ-scene-center{display:none}
/* Card size follows viewport width, while the reel keeps its place on short screens. */
.champ-scene-reel-layout{--reel-card-w:260px;--reel-card-h:min(350px,38dvh);--reel-gap:22px;--reel-font:16px;position:relative;z-index:4;flex:1;min-height:0;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:8px 0}
.champ-scene-reel-layout .champ-scene-marker{position:relative;left:auto;top:auto;bottom:auto;flex:none;width:32px;height:22px;transform:none;background:#ffdc74;filter:drop-shadow(0 0 8px #ffe8a2)}
.champ-scene-reel-layout .champ-scene-marker.top{border:0;clip-path:polygon(0 0,100% 0,50% 100%)}
.champ-scene-reel-layout .champ-scene-marker.bottom{border:0;clip-path:polygon(50% 0,100% 100%,0 100%)}
.champ-scene-reel-layout .champ-scene-reel{position:relative;left:auto;right:auto;top:auto;flex:none;width:100%;max-width:100vw;height:calc(var(--reel-card-h) + 24px);perspective:none;transform-style:flat;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);animation:none}
.champ-scene-reel-layout .champ-scene-track{gap:var(--reel-gap);padding:12px 0;transform-style:flat}
.champ-scene-reel-layout .champ-scene-item{display:grid;grid-template-rows:minmax(0,1fr) calc(3.51em + 14px);flex:0 0 var(--reel-card-w);width:var(--reel-card-w);height:var(--reel-card-h);min-height:0;transform:none;transform-style:flat;will-change:auto;font-size:var(--reel-font);overflow:hidden}
.champ-scene-reel-layout .champ-scene-item-art{min-height:0;height:100%;overflow:hidden;display:grid;place-items:center}
.champ-scene-reel-layout .champ-scene-item img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain}
.champ-scene-reel-layout .champ-scene-item>span{display:-webkit-box;width:100%;height:calc(3.51em + 14px);min-height:0;padding:7px 8px;box-sizing:border-box;font-size:inherit;line-height:1.17;text-align:center;white-space:normal;overflow:hidden;overflow-wrap:anywhere;text-overflow:clip;-webkit-box-orient:vertical;-webkit-line-clamp:3;background:linear-gradient(180deg,#111c2a44,#101929dd)}
.champ-scene-reel-layout .champ-scene-skip{position:relative;left:auto;bottom:auto;flex:none;transform:none;margin:0}
.champ-scene-reel-layout .champ-scene-skip[hidden]{display:none}
.champ-chest-scene.phase-reel .champ-scene-reel::after{display:none}
.champ-chest-scene.is-3d.phase-reel .champ-scene-canvas{display:none}
.champ-chest-scene.is-3d .champ-scene-reel-layout .champ-scene-skip{bottom:auto;pointer-events:auto}
.champ-chest-scene .champ-scene-sparks,.champ-chest-scene .champ-scene-rays{z-index:0;pointer-events:none}
.champ-scene-reel.is-reveal-pause .champ-scene-item:not(.is-prize){opacity:.35;transition:opacity .25s}
.champ-scene-reel.is-reveal-pause .champ-scene-item.is-prize{position:relative;z-index:1;box-shadow:0 0 24px var(--scene-glow,#ffe2a4);animation:champ-reel-prize-pulse .75s ease-in-out infinite alternate}
@keyframes champ-reel-prize-pulse{to{filter:brightness(1.28);box-shadow:0 0 42px var(--scene-glow,#ffe2a4)}}
@media(max-width:1599px){.champ-scene-reel-layout{--reel-card-w:220px;--reel-card-h:min(300px,38dvh);--reel-gap:18px;--reel-font:15px}}
@media(max-width:1199px){.champ-scene-reel-layout{--reel-card-w:180px;--reel-card-h:min(245px,38dvh);--reel-gap:16px;--reel-font:14px}}
@media(max-width:767px){.champ-scene-reel-layout{--reel-card-w:150px;--reel-card-h:min(205px,38dvh);--reel-gap:14px;--reel-font:13px}.champ-scene-reel-layout .champ-scene-marker{width:28px;height:19px}}
@media(max-width:600px){.champ-scene-reel-layout{--reel-card-w:132px;--reel-card-h:min(182px,38dvh);--reel-gap:12px;--reel-font:13px}.champ-scene-reel-layout .champ-scene-marker{width:26px;height:18px}}
@media(prefers-reduced-motion:reduce){.champ-scene-reel.is-reveal-pause .champ-scene-item.is-prize{animation:none}}
.champ-chest-feed{display:grid;gap:8px}
.champ-chest-feed p{display:flex;align-items:center;gap:12px;margin:0;padding:8px 12px;border:1px solid var(--border-gold);border-radius:12px;background:var(--bg-elevated);color:var(--fg-1)}
.champ-chest-feed p>img{width:54px;height:54px;object-fit:contain;flex:none}
.champ-chest-feed-empty{display:grid;justify-items:center;gap:8px;padding:24px;border:1px dashed var(--border-gold);border-radius:16px;color:var(--fg-2)}
.champ-chest-feed-empty img{width:104px;height:104px;object-fit:contain;opacity:.65}
.champ-guide-levels{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.champ-guide-levels>div{min-height:172px}
.champ-guide-levels img{width:78px;height:78px}
.champ-guide-gift-prices{display:table;width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.champ-guide-gift-prices caption{text-align:left;color:var(--fg-2);margin-bottom:8px}
.champ-guide-gift-prices th,.champ-guide-gift-prices td{padding:9px 12px;border-bottom:1px solid var(--border-1);text-align:left;color:var(--fg-1)}
.champ-guide-gift-prices thead th{background:var(--bg-sunken);color:var(--fg-2)}
.champ-guide-gift-prices td .champ-ico{vertical-align:middle}
@media(max-width:900px){.champ-guide-levels{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.champ-guide-levels{grid-template-columns:repeat(2,minmax(0,1fr))}.champ-guide-levels>div{min-height:156px}}

.champ-gift-card{--fg-1:var(--fg-on-dark);--fg-2:var(--fg-on-dark-muted);--fg-muted:var(--fg-on-dark-muted);color:var(--fg-on-dark)}
.champ-gift-card :is(p,blockquote,small){color:var(--fg-on-dark-muted)}
.champ-gift-card .champ-gift-serial{color:#4d310a;background:#ffe3a2}
.champ-feed-event blockquote{color:var(--fg-2)}
.theme-day .champ-games-podium-place{--fg-1:var(--fg-on-dark);--fg-2:var(--fg-on-dark-muted)}
.theme-day .champ-games-podium-place small{color:var(--fg-on-dark-muted)}
.theme-day .champ-games-podium-place .champ-fighter-name .council-name{background-image:linear-gradient(90deg,#ffe4a4,#fff3d3,#ffe4a4)!important}
.champ-games-button.is-primary,.champ-content .champ-games-button.is-primary,.champ-btn.is-primary,.btn.btn-primary{background:var(--gold-gradient-h);color:var(--fg-on-gold)}

.champ-oracle-table .champ-table-row{align-items:center}
.champ-oracle-table .champ-table-cell:is(.champ-table-cell--favorite,.champ-table-cell--actual,.champ-table-cell--hit){line-height:1.45}
.champ-oracle-table .champ-table-cell--match .champ-pair-line{grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr)}
.champ-oracle-table .champ-table-cell--match .champ-clan-badge{display:inline-flex;overflow:hidden;white-space:nowrap}
.champ-oracle-table .champ-table-cell--match .champ-clan-badge>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.champ-oracle-table .champ-table-cell--match .champ-pair-line>strong{min-width:76px;text-align:center}
@media(max-width:700px){.champ-oracle-table .champ-table-mobile-top .champ-pair-line{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr)}}


.champ-social-tabs button[aria-selected=true]{color:var(--fg-on-gold)}


.champ-oracle-table .champ-table-mobile-top .champ-pair-line>.champ-clan-badge{min-width:0;overflow:hidden;white-space:nowrap}
.champ-oracle-table .champ-table-mobile-top .champ-pair-line>.champ-clan-badge>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.theme-day :is(.champ-gift-card,.champ-games-podium-place,.champ-social-cover){--race-hm:var(--race-hm-on-dark);--race-el:var(--race-el-on-dark);--race-or:var(--race-or-on-dark);--race-gn:var(--race-gn-on-dark);--race-gb:var(--race-gb-on-dark);--race-hb:var(--race-hb-on-dark);--race-dr:var(--race-dr-on-dark);--race-neutral:var(--race-neutral-on-dark)}

.theme-day .champ-messages-bubble{--race-hm:var(--race-hm-on-dark);--race-el:var(--race-el-on-dark);--race-or:var(--race-or-on-dark);--race-gn:var(--race-gn-on-dark);--race-gb:var(--race-gb-on-dark);--race-hb:var(--race-hb-on-dark);--race-dr:var(--race-dr-on-dark);--race-neutral:var(--race-neutral-on-dark)}

/* Итог матча: одна система для пути клана, карточек и кабинета. */
.champ-result{display:inline-flex;align-items:center;gap:9px;max-width:100%;min-width:0;padding:9px 13px;border:1px solid #b89145;border-radius:10px;background:linear-gradient(110deg,#fbe5a3,#c88b2e 80%,#f6d88f);color:#261805;box-shadow:0 0 20px rgba(247,185,74,.24),inset 0 1px rgba(255,255,255,.6);font:800 17px/1.18 var(--font-display);letter-spacing:.025em;white-space:normal}
.champ-result .champ-icon{width:25px;height:25px;flex:none}
.champ-result-copy{display:grid;gap:3px;min-width:0}
.champ-result-main{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px;overflow-wrap:anywhere;hyphens:auto}
.champ-result-score{font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}
.champ-result small{color:inherit;opacity:.88;font:600 11px/1.2 var(--font-sans);letter-spacing:0}
.champ-result--sm{padding:7px 10px;font-size:15px}
.champ-result--sm .champ-icon{width:21px;height:21px}
.champ-result--loss{color:#fff0f3;background:linear-gradient(125deg,#642637,#351421);border-color:#bb7485;box-shadow:0 0 18px rgba(128,36,61,.26),inset 0 1px rgba(255,255,255,.13)}
.champ-result--draw{color:#192a40;background:linear-gradient(115deg,#f0f3f7,#a8b7c9 80%,#e5ebf3);border-color:#8c9db3;box-shadow:0 0 16px rgba(174,194,214,.18),inset 0 1px rgba(255,255,255,.6)}
.champ-result--unknown{color:#ffe4b0;background:#493312;border-color:#dba34b;border-style:dashed;box-shadow:0 0 13px rgba(219,163,75,.18)}
.champ-result--scheduled{color:#f1f4f8;background:#17283f;border-color:#8699b1;box-shadow:inset 0 1px rgba(255,255,255,.08)}
.champ-result--postponed{color:#ffe0a5;background:#49300e;border-color:#d6983f;box-shadow:0 0 15px rgba(214,152,63,.15)}
.champ-result--live{color:#fff0f2;background:#4c1724;border-color:#dc6375;box-shadow:0 0 16px rgba(220,71,92,.2)}
.champ-result--live::before{content:'';width:9px;height:9px;flex:none;border-radius:50%;background:#ff7483;box-shadow:0 0 0 4px rgba(255,116,131,.22);animation:champ-live-pulse 1.5s ease-in-out infinite}
@keyframes champ-live-pulse{50%{box-shadow:0 0 0 8px rgba(255,116,131,0);opacity:.6}}
.champ-pair-result{display:flex;justify-content:flex-start;margin:12px 0;min-width:0}
.champ-games-result-badge{grid-column:1/-1;min-width:0}
.champ-journey-section .champ-tour{grid-template-columns:54px minmax(0,1fr);align-items:start;gap:12px 20px}
.champ-journey-section .champ-tour-main{grid-column:2;min-width:0}
.champ-journey-section .champ-tour-end{grid-column:2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px 15px;min-width:0;text-align:left}
.champ-journey-section .champ-tour-end time{grid-column:1;min-width:0}
.champ-journey-section .champ-result{grid-column:2;grid-row:1;justify-self:end;max-width:100%;min-width:0;padding:7px 10px;font-size:15px;line-height:1.18}
.champ-journey-section .champ-result .champ-icon{width:21px;height:21px}
.champ-journey-section .champ-result-copy{display:grid;gap:3px}
.champ-journey-section .champ-result-main{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px}
.champ-journey-section .champ-result small{font:600 11px/1.2 var(--font-sans);letter-spacing:0}
.champ-journey-section .champ-tour-actions{grid-column:1/-1;justify-content:flex-start}
.champ-badges-dev .container{max-width:1180px}
.champ-badges-dev h1{color:var(--fg-1);font:700 clamp(30px,5vw,48px) var(--font-display)}
.champ-badges-dev-variant{margin:26px 0;padding:20px;border:1px solid var(--border-gold);border-radius:15px;background:var(--bg-overlay)}
.champ-badges-dev-variant h2{margin:0 0 14px;color:var(--accent);font:700 22px var(--font-display)}
.champ-badges-dev-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}
.champ-badges-dev-sides>div{display:grid;justify-items:start;align-content:start;gap:10px;min-width:0;padding:15px;border:1px solid var(--border-1);border-radius:10px;background:var(--bg-sunken)}
.champ-badges-dev-sides small{color:var(--fg-2);overflow-wrap:anywhere}
.champ-badges-dev .champ-timeline{max-width:none}
.champ-badges-dev .champ-tour{margin:0}
@media(max-width:700px){.champ-journey-section .champ-tour{grid-template-columns:44px minmax(0,1fr);gap:10px 12px}.champ-journey-section .champ-tour-end{grid-column:1/-1;grid-template-columns:minmax(0,1fr)}.champ-journey-section .champ-tour-end time,.champ-journey-section .champ-result,.champ-journey-section .champ-tour-actions{grid-column:1;grid-row:auto;justify-self:start}.champ-badges-dev-sides{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.champ-result--live::before{animation:none}}
.champ-journey-section .champ-result .champ-result-copy{display:grid;gap:3px}
.champ-journey-section .champ-result .champ-result-main{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px}
.champ-badges-dev-sides .champ-pair-line{width:100%;margin:0;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:7px}
.champ-badges-dev-sides .champ-clan-badge{font-size:13px}
.champ-badges-dev-sides .champ-clan-mark{width:28px;height:28px}
.champ-badges-dev-sides .champ-pair-line strong{font-size:14px}
.champ-badges-dev-sides .champ-vs{width:40px;height:40px}
/* Выбор бойца в подарках и новых диалогах */
.champ-recipient-picker{position:relative;min-width:0}.champ-recipient-picker .champ-gift-field{display:grid;gap:5px}.champ-recipient-picker input{width:100%;min-width:0}.champ-recipient-picker .champ-gift-suggestions{position:absolute;z-index:20;top:100%;left:0;width:100%;max-height:min(48dvh,360px);overflow-y:auto;margin:5px 0 8px;padding:6px;border:1px solid var(--border-gold);border-radius:12px;background:var(--bg-elevated);box-shadow:0 12px 32px #0007}.champ-recipient-heading{margin:7px 2px 3px;padding:5px 8px;border-bottom:1px solid var(--border-gold);color:var(--accent);font:600 13px var(--font-sans)}.champ-recipient-picker .champ-gift-suggestions>[role=option]{min-height:48px;display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:7px 9px;border:0;border-radius:8px;background:transparent}.champ-recipient-picker .champ-gift-suggestions>[role=option]:hover,.champ-recipient-picker .champ-gift-suggestions>[role=option][aria-selected=true]{background:var(--accent-soft);outline:1px solid var(--border-gold)}.champ-recipient-picker .champ-gift-suggestions>[role=option]>img,.champ-recipient-picker .champ-gift-suggestions>[role=option]>.champ-ico{width:28px;height:28px;border-radius:50%;object-fit:cover}.champ-recipient-picker .champ-gift-suggestions>[role=option]>span{min-width:0}.champ-recipient-picker .champ-fighter-name{min-width:0}.champ-recipient-notice{display:block;margin:6px 0;color:var(--accent);font-size:12px}.champ-recipient-selected{padding:10px;border:1px solid var(--border-gold);border-radius:12px;background:var(--bg-elevated)}.champ-messages-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.champ-messages-list-head h2{margin:0}.champ-messages-new{margin:12px 0;padding:12px;border:1px solid var(--border-gold);border-radius:12px;background:var(--bg-sunken)}.champ-messages-new>.champ-games-button{margin-top:8px}
/* Gift dialog layout: keep search results in the dialog's scroll flow. */
.champ-gift-dialog .champ-recipient-picker .champ-gift-suggestions{position:relative;top:auto;left:auto;width:100%;max-height:360px;overscroll-behavior:contain;margin:8px 0 0;box-shadow:none}
.champ-gift-dialog .champ-recipient-picker .champ-gift-field{margin-bottom:0}
.champ-recipient-picker .champ-fighter-name .council-name{background-image:none;color:var(--fg-1);-webkit-text-fill-color:var(--fg-1)}
.champ-recipient-picker .champ-gift-suggestions>[role=option] .nick-race-tag.champ-race{color:var(--race-color)!important;-webkit-text-fill-color:var(--race-color)!important;filter:none!important}
.theme-day .champ-recipient-picker .champ-gift-suggestions>[role=option] .nick-race-tag.champ-race{color:var(--race-color-day)!important;-webkit-text-fill-color:var(--race-color-day)!important}
.champ-fighter-name .council-name:has(mark){background-image:none;color:var(--fg-1);-webkit-text-fill-color:var(--fg-1)}
.champ-fighter-name .council-name mark{padding:0 1px;border-radius:2px;background:rgba(255,214,120,.22);color:inherit;-webkit-text-fill-color:inherit;text-decoration:underline;text-decoration-color:currentColor;text-underline-offset:2px}
.theme-day .champ-fighter-name .council-name mark{background:rgba(180,120,20,.18);color:#2a1a00;-webkit-text-fill-color:#2a1a00}
.champ-recipient-picker .champ-gift-suggestions>[role=option][aria-selected=true]{background:#253753}
.theme-day .champ-recipient-picker .champ-gift-suggestions>[role=option][aria-selected=true]{background:#f4e8cf}
/* Gift dialog text and disabled controls use the same contrast roles as the theme. */
.champ-gift-dialog{--gift-step-bg:#14243d;--gift-step-fg:#ddd;--gift-step-current-bg:#58452b;--gift-step-current-fg:#fff;--gift-step-number-bg:#e5c379;--gift-step-number-fg:#1b2231;--gift-disabled-bg:#34435a;--gift-disabled-fg:#f2e4c9}
.theme-day .champ-gift-dialog{--gift-step-bg:var(--bg-sunken);--gift-step-fg:var(--fg-2);--gift-step-current-bg:#58452b;--gift-step-current-fg:#fff;--gift-step-number-bg:#e5c379;--gift-step-number-fg:#1b2231;--gift-disabled-bg:var(--bg-sunken);--gift-disabled-fg:var(--fg-2)}
.champ-gift-dialog .champ-gift-steps button{background:var(--gift-step-bg);color:var(--gift-step-fg)}
.champ-gift-dialog .champ-gift-steps button[aria-current=step]{background:var(--gift-step-current-bg);color:var(--gift-step-current-fg)}
.champ-gift-dialog .champ-gift-steps button:disabled{opacity:1;cursor:default}
.champ-gift-dialog .champ-gift-steps b{background:var(--gift-step-number-bg);color:var(--gift-step-number-fg)}
.theme-day .champ-gift-dialog .champ-gift-field,.theme-day .champ-messages-new .champ-gift-field{color:var(--fg-1)}
.champ-gift-dialog .champ-gift-recipient{color:var(--fg-1)}
.champ-gift-dialog .champ-gift-recipient button{color:var(--accent);font-weight:600}
.champ-gift-dialog .champ-gift-hint{color:var(--fg-2)}
.champ-gift-dialog .champ-games-button.is-primary:disabled{opacity:1;background:var(--gift-disabled-bg);color:var(--gift-disabled-fg);box-shadow:none}
.champ-gift-dialog{display:grid;gap:15px;align-content:start}.champ-gift-dialog>*{min-width:0;margin-block:0}.champ-gift-dialog .champ-gift-steps,.champ-gift-dialog>.champ-gift-field,.champ-gift-dialog>.champ-gift-preview,.champ-gift-dialog>.champ-gift-postcard,.champ-gift-dialog>.champ-gift-hint{margin-block:0}.champ-gift-dialog>.champ-games-button{justify-self:start;max-width:100%}
.champ-messages-new{display:grid;gap:15px;align-content:start}.champ-messages-new>.champ-games-button{margin:0;justify-self:start;max-width:100%}
.champ-gift-menu [role=menu] button:disabled{opacity:.55;cursor:not-allowed;white-space:normal}.champ-gift-menu [role=menu] button:disabled:hover{background:none}
.champ-gift-picker button{height:100%}
.champ-gift-picker button strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere;line-height:1.25;min-height:2.5em;max-width:100%}
.champ-gift-picker button small{margin-top:auto}
.champ-gift-postcard-item>img{width:95px;height:100px;object-fit:contain}
.champ-gift-postcard-item .champ-gift-postcard-price{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.champ-gift-postcard-price .champ-ico,.champ-gift-postcard-price .champ-ico-fallback{width:18px;height:18px;flex:none}
.champ-gift-postcard-item .champ-gift-postcard-rarity{justify-self:start;width:max-content;max-width:100%;border-color:transparent;color:#23344d;background:#dce5f2}
.champ-gift-postcard-rarity.rarity-uncommon{color:#17452d;background:#bcebd1}
.champ-gift-postcard-rarity.rarity-rare{color:#153d73;background:#bfdcff}
.champ-gift-postcard-rarity.rarity-epic{color:#442367;background:#e5cefa}
.champ-gift-postcard-rarity.rarity-legendary{color:#614112;background:#ffe1a1}
.champ-gift-postcard-rarity.rarity-mythic{color:#68264f;background:#f6c8e8}
@media(max-width:600px){.champ-gift-overlay{top:var(--champ-gift-visual-top,0px);bottom:auto;height:var(--champ-gift-visual-height,100dvh);padding:0;place-items:stretch}.champ-gift-dialog{width:100%;height:100%;max-height:100%;border-radius:0;overflow-y:auto;overscroll-behavior:contain}.champ-gift-dialog .champ-recipient-picker .champ-gift-suggestions{max-height:var(--champ-gift-suggestions-height,min(360px,45dvh))}}
@media(max-width:600px){.champ-gift-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.champ-gift-steps button{min-width:0;flex-direction:column;gap:3px;padding:5px 2px;font-size:10px}}
@media(max-width:375px){.champ-gift-postcard-item>img{width:75px}}
@media(max-width:375px){.champ-recipient-picker .champ-gift-suggestions{width:100%;max-width:100%;margin-inline:0}.champ-recipient-picker .champ-gift-suggestions>[role=option]{min-height:48px}.champ-messages-list-head{flex-wrap:wrap}}

/* Shared design-system primitives: equal rows, anchored actions and semantic states. */
.ui-card-grid{display:grid;grid-auto-rows:1fr;align-items:stretch;gap:var(--grid-gap)}
.ui-equal-card{display:flex;flex-direction:column;height:100%;min-width:0}
.ui-card-description{min-height:calc(var(--card-description-lines) * 1lh)}
.ui-card-actions{display:flex;align-items:stretch;gap:var(--space-2);margin-top:auto;padding-top:var(--card-action-gap)}
.ui-action-block{display:grid;align-content:start;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--border-gold);border-radius:var(--radius-4);background:var(--bg-elevated)}
.ui-status{display:inline-flex;align-items:center;width:max-content;max-width:100%;min-height:28px;padding:4px 9px;border-radius:var(--radius-full);background:var(--status-neutral-bg);color:var(--status-neutral-fg);font:700 var(--fs-12)/1.2 var(--font-sans)}
.ui-status.is-success{background:var(--status-success-bg);color:var(--status-success-fg)}
.ui-status.is-warning{background:var(--status-warning-bg);color:var(--status-warning-fg)}
.ui-status.is-danger{background:var(--status-danger-bg);color:var(--status-danger-fg)}
.ui-button{display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-height);padding:8px 14px;border:1px solid var(--border-gold);border-radius:var(--radius-3);background:var(--button-accent-bg);color:var(--button-accent-fg);font:700 var(--fs-14)/1.2 var(--font-sans);cursor:pointer}
.ui-button:hover:not(:disabled){background:var(--button-accent-hover-bg);color:var(--button-accent-hover-fg)}
.ui-button:active:not(:disabled){background:var(--button-accent-active-bg);color:var(--button-accent-active-fg)}
.ui-button:focus-visible{background:var(--button-accent-focus-bg);color:var(--button-accent-focus-fg)}
.ui-button:disabled{background:var(--button-disabled-bg);color:var(--button-disabled-fg);cursor:not-allowed}

/* Current steps: a single layout for links, the daily button and compact profiles. */
.champ-next-steps{margin:0;padding:16px;border:1px solid var(--border-gold);border-radius:16px;background:var(--bg-elevated);color:var(--fg-1)}
.champ-weekly-wins{margin-top:16px;padding:20px;border:1px solid var(--border-gold);background:linear-gradient(145deg,var(--bg-elevated),var(--bg-sunken));color:var(--fg-1)}
.champ-weekly-wins.is-best{box-shadow:0 0 0 2px var(--accent-soft),var(--glow-gold)}
.champ-weekly-wins.is-warning{border-color:#d99a27;background:linear-gradient(145deg,var(--bg-elevated),color-mix(in srgb,#d99a27 13%,var(--bg-sunken)))}
.champ-weekly-wins-rates{color:var(--fg-2)}.champ-weekly-wins-result strong{font:600 clamp(20px,3vw,28px)/1.25 var(--font-serif);color:var(--accent)}
.champ-weekly-wins-dev{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.champ-weekly-wins-dev>div{min-width:0}.champ-weekly-wins-dev .champ-weekly-wins{height:calc(100% - 52px)}
@media(max-width:700px){.champ-weekly-wins{padding:16px}.champ-weekly-wins-dev{grid-template-columns:1fr}}
.champ-next-steps .champ-section-title{margin-bottom:12px}
.champ-next-steps ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:12px;list-style:none;margin:0;padding:0}
.champ-next-steps li{display:flex;min-width:0;margin:0}
.champ-next-steps li .champ-task-button-wrap{display:flex;align-items:center;gap:8px;width:100%;height:100%;min-width:0}
.champ-next-steps li .champ-task-trigger{box-sizing:border-box;display:grid;grid-template-columns:32px minmax(0,1fr);align-content:stretch;align-items:start;gap:10px;width:100%;height:100%;min-width:0;min-height:112px;padding:14px;flex:1 1 auto;border:1px solid var(--border-gold);border-radius:16px;background:linear-gradient(145deg,var(--bg-elevated),var(--bg-sunken));box-shadow:inset 0 1px #fff2,0 8px 18px #0002;color:var(--fg-1);font:inherit;text-align:left;text-decoration:none;cursor:pointer}
.champ-next-steps li .champ-task-trigger:hover{border-color:var(--accent);background:var(--button-accent-hover-bg);color:var(--button-accent-hover-fg);-webkit-text-fill-color:currentColor}
.champ-next-steps li .champ-task-trigger:active{background:var(--button-accent-active-bg);color:var(--button-accent-active-fg);-webkit-text-fill-color:currentColor}
.champ-next-steps li .champ-task-trigger:focus-visible{background:var(--button-accent-focus-bg);color:var(--button-accent-focus-fg);-webkit-text-fill-color:currentColor}
.champ-next-steps li :is(.champ-task-trigger,.champ-task-help):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.champ-next-steps li .champ-task-copy{display:grid;grid-template-rows:minmax(0,1fr) auto;align-self:stretch;align-content:stretch;justify-items:start;gap:10px;min-width:0}
.champ-next-steps li .champ-task-trigger strong{max-width:100%;font-size:14px;line-height:1.35;font-weight:600;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.champ-next-steps li .champ-chip{align-self:end;max-width:100%;white-space:normal;text-align:left}
.champ-next-steps li .champ-chip>span{white-space:normal;overflow-wrap:anywhere}
.champ-next-steps.is-compact ul{grid-template-columns:repeat(2,minmax(0,1fr))}
.champ-next-steps.is-compact li .champ-task-trigger{min-height:88px;padding:10px}
@media(max-width:700px){.champ-next-steps ul,.champ-next-steps.is-compact ul{grid-template-columns:1fr}.champ-next-steps li .champ-task-trigger{min-height:78px;padding:12px}}

/* Light-gold interactive surfaces always use dark ink in both themes. */
:is(.champ-task-trigger:hover,.champ-social-tabs button[aria-selected=true],.champ-social-pin-picker button[aria-pressed=true],.champ-recipient-picker .champ-gift-suggestions>[role=option]:hover,.champ-recipient-picker .champ-gift-suggestions>[role=option][aria-selected=true],.champ-message-actions-popover button:hover,.champ-quick-grid a:hover,.champ-quick-grid a:focus-visible,.champ-nav-leagues>div a:hover,.champ-nav-leagues>div a.active){color:var(--fg-on-gold);-webkit-text-fill-color:currentColor}
:is(.champ-recipient-picker .champ-gift-suggestions>[role=option]:hover,.champ-recipient-picker .champ-gift-suggestions>[role=option][aria-selected=true]) small{color:inherit}
.champ-next-steps li .champ-task-help{box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important;min-height:26px!important;max-height:26px!important;padding:0!important;flex:0 0 26px!important;line-height:1!important;text-align:center;text-indent:0;background:#0f1d38;color:#f3f6ff;-webkit-text-fill-color:currentColor;border-color:#b98435;box-shadow:0 2px 8px #0006}
.champ-next-steps li .champ-task-help:hover{background:#0f1d38;color:#f3f6ff;-webkit-text-fill-color:currentColor;border-color:#b98435;box-shadow:0 2px 8px #0006}

/* Level progress: title and remaining glory share the emblem row. */
.champ-xp-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.champ-xp-current,.champ-xp-next{display:flex;align-items:center;gap:10px;min-width:0}
.champ-xp-current{flex:1}
.champ-xp-current strong{font:600 clamp(16px,2vw,22px)/1.25 var(--font-serif);color:var(--fg-1)}
.champ-xp-next{justify-content:flex-end;text-align:right;color:var(--fg-2);font-size:12px}
.champ-xp-head img{width:42px;height:42px;flex:none;object-fit:contain;filter:drop-shadow(0 0 9px #eabb67aa)}
.champ-xp-next img{opacity:.55;filter:grayscale(.35)}
.champ-xp.is-compact .champ-xp-head img{width:26px;height:26px}
.champ-xp.is-compact .champ-xp-current strong{font-size:14px}
.champ-xp.is-compact .champ-xp-next{font-size:10px}
@media(max-width:600px){.champ-xp-head{align-items:flex-start;gap:8px}.champ-xp-current strong{font-size:16px}.champ-xp-next{max-width:42%;font-size:11px}.champ-xp-head img{width:34px;height:34px}}

/* Full-width profile counters and plain currency captions. */
.champ-profile-counters{grid-template-columns:repeat(4,minmax(0,1fr));width:100%}
.champ-chest-balances .champ-stat-tile>div>span{display:block;padding:0;border:0;border-radius:0;background:none;color:var(--fg-2);font-size:12px}
@media(max-width:600px){.champ-profile-counters{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Records need the full content width for readable fighter names and match pairs. */
.champ-records-page .champ-record-grid{grid-template-columns:1fr}
.champ-records-page .champ-record-card{min-width:0}
.champ-records-table .champ-table-row,.champ-records-table .champ-table-head{grid-template-columns:48px minmax(0,1.4fr) minmax(96px,.6fr);gap:16px;padding-inline:16px}
.champ-records-table--match .champ-table-row,.champ-records-table--match .champ-table-head{grid-template-columns:48px minmax(0,1.4fr) minmax(96px,.6fr) minmax(0,1.2fr)}
.champ-records-table .champ-table-cell--nick .champ-fighter-name{width:100%}
/* Контракт: заголовок «Рекорд» и значения выровнены одинаково. */
.champ-records-table .champ-table-heading:nth-child(3),.champ-records-table .champ-table-cell--value{text-align:right}
.champ-records-table .champ-table-heading:nth-child(3) button{justify-content:flex-end}
.champ-rankings-table .champ-table-heading:last-child>span{justify-content:flex-end}
.champ-record-value{display:grid;justify-items:end;gap:3px;font-variant-numeric:lining-nums tabular-nums}
.champ-record-value strong{color:var(--accent);font-size:20px;line-height:1.2;white-space:nowrap}
.champ-record-value small{color:var(--fg-2);font-size:11px}
.champ-records-match{display:grid;gap:5px;min-width:0}
.champ-records-match>span{display:flex;align-items:center;gap:4px;flex-wrap:wrap;min-width:0}
.champ-records-match>span .champ-clan-badge{white-space:normal;min-width:0;max-width:100%;align-items:center}
.champ-records-match>span .champ-clan-badge>span:last-child{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal;word-break:normal}
.champ-records-match a,.champ-longest-table .champ-table-cell--link a,.champ-longest-table .champ-table-mobile-metric--link a{display:inline-flex;align-items:center;min-height:44px;color:var(--accent)}
.champ-longest-pair{display:grid;gap:5px;min-width:0}
.champ-longest-pair>span{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.champ-longest-pair .champ-clan-badge{white-space:normal;min-width:0;max-width:100%}
.champ-longest-pair .champ-clan-badge>span:last-child{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal;word-break:normal}
.champ-longest-pair small{color:var(--fg-2)}
@media(min-width:641px) and (max-width:999px){
 .champ-content .champ-records-table,.champ-content .champ-longest-table{overflow:hidden}
 .champ-records-table--match .champ-table-row,.champ-records-table--match .champ-table-head{grid-template-columns:48px minmax(0,1.4fr) minmax(96px,.6fr)}
 .champ-records-table--match .champ-table-head>.champ-table-heading:nth-child(4){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .champ-records-table--match .champ-table-row>.champ-table-cell--match{grid-column:2;grid-row:2;color:var(--fg-2);font-size:11px}
 .champ-records-table--match .champ-table-row>.champ-table-cell--match .champ-records-match{gap:0}
 .champ-records-table--match .champ-table-row>.champ-table-cell--nick{grid-column:2;grid-row:1}
 .champ-records-table--match .champ-table-row>.champ-table-cell--value{grid-column:3;grid-row:1/3;align-self:center}
}
@media(min-width:641px) and (max-width:700px){
 .champ-records-table .champ-table-head,.champ-records-table .champ-table-row.has-fighter{display:grid}
 .champ-records-table .champ-table-cell{display:block}
 .champ-records-table .champ-table-mobile-top,.champ-records-table .champ-table-mobile-metrics,.champ-records-table .champ-table-controls{display:none}
}
@media(max-width:640px){
 .champ-records-table .champ-table-head{display:none}
 .champ-records-table .champ-table-row.has-fighter{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(96px,auto);column-gap:8px;row-gap:10px;align-items:start;padding:12px}
 .champ-records-table .champ-table-row.has-fighter .champ-table-mobile-top,.champ-records-table .champ-table-row.has-fighter .champ-table-mobile-metrics{display:contents}
 .champ-records-table .champ-table-row.has-fighter .champ-table-mobile-top>b{grid-column:1;grid-row:1;font-size:15px}
 .champ-records-table .champ-table-row.has-fighter .champ-table-mobile-top>div{display:block;grid-column:2;grid-row:1;min-width:0}
 .champ-records-table .champ-table-row.has-fighter .champ-fighter-name{display:block;grid-column:auto;grid-row:auto;width:100%}
 .champ-records-table .champ-table-row.has-fighter .champ-table-mobile-metrics>.champ-table-mobile-metric--primary{display:block;grid-column:3;grid-row:1;align-self:start;justify-self:end;text-align:right}
 .champ-records-table .champ-table-row.has-fighter .champ-table-mobile-metric--primary>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .champ-records-table .champ-table-row.has-fighter .champ-record-value{justify-items:end}
 .champ-records-table .champ-table-row.has-fighter .champ-record-value strong{font-size:20px;white-space:normal}
 .champ-records-table .champ-table-row.has-fighter .champ-table-mobile-metrics>.champ-table-mobile-metric--match{display:grid;grid-column:1/-1;grid-row:2;gap:2px;min-width:0;padding-top:10px;border-top:1px solid var(--border-1);font-weight:400}
 .champ-records-table .champ-table-row.has-fighter .champ-table-mobile-metric--match strong{font-weight:400}
 .champ-longest-table .champ-table-mobile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:701px) and (max-width:999px){
 .champ-content .champ-ratings-combat-table{overflow:hidden}
 .champ-ratings-combat-table .champ-table-head,.champ-ratings-combat-table .champ-table-cell{display:none}
 .champ-ratings-combat-table .champ-table-row{display:block;min-width:0;padding:16px}
 .champ-ratings-combat-table .champ-table-controls{display:flex}
 .champ-ratings-combat-table .champ-table-mobile-sort{display:flex;align-items:center;gap:8px;flex:1;min-width:0;font-size:12px}
 .champ-ratings-combat-table .champ-table-mobile-sort select{min-width:0;flex:1;min-height:44px;border:1px solid var(--border-gold);border-radius:8px;background:var(--bg-elevated);color:var(--fg-1)}
 .champ-ratings-combat-table .champ-table-mobile-top{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:start}
 .champ-ratings-combat-table .champ-table-mobile-top>b{color:var(--accent);font-size:18px}
 .champ-ratings-combat-table .champ-table-mobile-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
 .champ-ratings-combat-table .champ-table-mobile-metrics>div{display:flex;flex-direction:column;min-width:0;gap:4px}
 .champ-ratings-combat-table .champ-table-mobile-metrics>div>span{display:flex;align-items:center;gap:5px;color:var(--fg-2);font-size:12px}
 .champ-ratings-combat-table .champ-table-mobile-metrics strong{min-width:0;overflow-wrap:anywhere;font-size:14px}
}

/* Qualified seers keep places; everyone else sees progress without medals. */
.champ-approaching{margin-top:24px}
.champ-approaching h2{margin:0 0 12px;font:600 24px var(--font-serif);color:var(--fg-1)}
.champ-approaching-list{display:grid;gap:8px}
.champ-approaching-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:12px 16px;border:1px solid var(--border-gold);border-radius:12px;background:var(--bg-elevated)}
.champ-approaching-list article .champ-fighter-name{flex:1;min-width:0}
.champ-approaching-list article>span{flex:none;color:var(--fg-2);font-variant-numeric:lining-nums tabular-nums}
@media(min-width:701px){.champ-games-podium:has(> :only-child){grid-template-columns:minmax(0,360px);justify-content:center}}
@media(max-width:600px){.champ-approaching-list article{padding:10px;gap:8px}.champ-approaching-list article>span{font-size:12px}}

/* Deep links land on the action itself; the frame remains visible with reduced motion. */
.champ-action-focused{outline:2px solid #e9b85e;outline-offset:4px;animation:champ-action-glow 1.5s ease-out both}
@keyframes champ-action-glow{0%,60%{box-shadow:0 0 0 7px #e9b85e80,0 0 28px #e9b85e99}100%{box-shadow:0 0 0 0 transparent}}
@media(prefers-reduced-motion:reduce){.champ-action-focused{animation:none;box-shadow:none}}
.champ-earn-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:10px}
.champ-earn-links a{color:#f1c777;text-underline-offset:3px}
.champ-rating-bonus{display:flex;gap:18px;align-items:center;background:radial-gradient(circle at 5% 50%,#d0a04b33,transparent 42%),linear-gradient(135deg,#10233d,#071427);border-color:#d8ad62;box-shadow:0 0 28px #d6a45124}.champ-rating-bonus>div{min-width:0}.champ-rating-bonus h2{margin:5px 0;color:#f7dfa8;font:700 26px var(--font-serif)}.champ-rating-bonus p{max-width:65ch;line-height:1.5}.champ-rating-bonus .champ-games-button{display:inline-flex;margin-top:8px}.champ-retention-shop{display:grid;gap:18px}.champ-retention-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.champ-retention-item{display:grid;justify-items:start;align-content:start;gap:8px;padding:16px;border:1px solid var(--border-gold);border-radius:14px;background:linear-gradient(155deg,var(--bg-elevated),var(--bg-sunken))}.champ-retention-item h3{margin:0;color:var(--fg-1);font:700 19px var(--font-serif)}.champ-retention-item p{margin:0 0 8px;color:var(--fg-2);font-size:13px}.champ-retention-item button{align-self:end}.champ-retention-preview{display:grid;place-items:center;width:74px;height:74px;border:3px double #e8bb63;border-radius:50%;box-shadow:0 0 20px #e8bb6355}.champ-retention-item.frame_crown .champ-retention-preview{border-color:#e0e8ff;box-shadow:0 0 20px #b8b9f9aa}.champ-retention-item.aura_nebula .champ-retention-preview{box-shadow:0 0 25px #70c9ffaa}.champ-retention-exchange{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px;border:1px solid var(--border-gold);border-radius:12px}.champ-retention-exchange button{margin-left:auto}.champ-social-avatar.shop-frame_aurora{box-shadow:0 0 0 4px #bbf3fa,0 0 28px #73dbf6}.champ-social-avatar.shop-frame_crown{box-shadow:0 0 0 4px #f4d990,0 0 32px #ffcf70}.champ-social-name.shop-aura{filter:drop-shadow(0 0 12px #73d7ff)}.champ-rating-prize-backdrop{position:fixed;inset:0;z-index:10010;display:grid;place-items:center;padding:18px;background:#020918d9;backdrop-filter:blur(7px)}.champ-rating-prize{display:grid;justify-items:center;gap:15px;width:min(100%,460px);padding:36px 24px;text-align:center;border:1px solid #e7c274;border-radius:24px;background:radial-gradient(circle at 50% 10%,#446b94,#0d1b34 70%);box-shadow:0 0 75px #eac57266;animation:rating-prize-in .6s both}.champ-rating-prize h2{margin:0;font:700 clamp(42px,9vw,68px) var(--font-serif);color:#ffe8aa;text-shadow:0 0 28px #fbc562}.champ-rating-prize p{margin:0;color:#f6e8c8}.champ-rating-prize .eyebrow{color:#f9d38b}.champ-rating-prize .champ-ico{animation:rating-prize-pulse 1.5s ease-in-out infinite alternate}.champ-rating-invite{position:fixed;left:16px;right:16px;bottom:16px;z-index:10000;display:flex;align-items:center;gap:10px;width:max-content;max-width:calc(100% - 32px);margin:auto;padding:12px 16px;border:1px solid #e0b96e;border-radius:12px;background:#10243d;color:#fff;box-shadow:0 8px 30px #0009}.champ-rating-invite a{color:#ffe1a0;font-weight:700}.champ-rating-invite button{margin-left:auto;border:0;background:transparent;color:#fff;font-size:22px;cursor:pointer}@keyframes rating-prize-in{from{opacity:0;transform:scale(.72) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes rating-prize-pulse{to{transform:scale(1.15);filter:drop-shadow(0 0 15px #ffe39a)}}@media(max-width:850px){.champ-retention-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.champ-retention-grid{grid-template-columns:1fr}.champ-rating-bonus{align-items:flex-start}.champ-rating-bonus h2{font-size:22px}.champ-rating-invite{font-size:13px}}@media(prefers-reduced-motion:reduce){.champ-rating-prize,.champ-rating-prize .champ-ico{animation:none}}
.champ-feed-reaction-count{display:flex;align-items:center;gap:3px;padding:5px 7px;color:var(--fg-1);cursor:default}
.champ-feed-reactions-note{align-self:center;color:var(--fg-2);font-size:13px}

/* Золотая основная кнопка при наведении остаётся золотой (общее правило hover перекрашивало фон в тёмный при тёмном тексте — надпись пропадала, на телефоне hover залипает после касания). */
.champ-games-button.is-primary:hover:not(:disabled),.champ-content .champ-games-button.is-primary:hover:not(:disabled){transform:translateY(-2px);filter:brightness(1.07)}
@media(prefers-reduced-motion:reduce){.champ-games-button.is-primary:hover:not(:disabled){transform:none}}
/* Reusable prize viewer. The bitmap itself stays unfiltered; light and shadow live on separate layers. */
.champ-scene-result-art{width:100%;display:grid;place-items:center;min-height:0}
.champ-scene-result-art .champ-spin-viewer:not(.is-compact){width:min(74vw,36vh,280px);height:min(74vw,36vh,280px)}
.champ-spin-viewer{--spin-rgb:170,182,204;position:relative;width:min(74vw,36vh,440px);height:min(74vw,36vh,440px);display:grid;place-items:center;perspective:950px;touch-action:none;cursor:grab;outline:none;user-select:none}
.champ-spin-viewer:active{cursor:grabbing}.champ-spin-viewer:focus-visible{outline:3px solid #ffe2a4;outline-offset:4px;border-radius:18px}
.champ-spin-viewer.rarity-uncommon{--spin-rgb:107,217,149}.champ-spin-viewer.rarity-rare{--spin-rgb:101,168,255}.champ-spin-viewer.rarity-epic{--spin-rgb:190,119,255}.champ-spin-viewer.rarity-legendary{--spin-rgb:255,204,98}.champ-spin-viewer.rarity-mythic{--spin-rgb:233,157,255}
.champ-spin-viewer:before{content:"";position:absolute;inset:5%;border-radius:50%;background:radial-gradient(circle,rgba(var(--spin-rgb),.34),transparent 65%);pointer-events:none}
.champ-spin-shadow{position:absolute;left:23%;right:23%;bottom:8%;height:7%;border-radius:50%;background:#02050ecc;box-shadow:0 0 22px rgba(var(--spin-rgb),.32);pointer-events:none}
.champ-spin-podium{position:absolute;left:10%;right:10%;bottom:2%;height:14%;border:2px solid rgba(var(--spin-rgb),.55);border-radius:50%;background:radial-gradient(ellipse,rgba(var(--spin-rgb),.12),#0b1427 70%);box-shadow:0 0 20px rgba(var(--spin-rgb),.22);transform:rotateX(65deg);pointer-events:none}
.champ-spin-face{position:absolute;inset:4% 5% 13%;transform-style:preserve-3d;pointer-events:none}
.champ-spin-side{position:absolute;inset:0;display:grid;place-items:center;backface-visibility:hidden;transform-style:preserve-3d}
.champ-spin-front{transform:translateZ(5px)}.champ-spin-front img{display:block;width:100%;height:100%;object-fit:contain;filter:none!important;image-rendering:auto;animation:none!important;backface-visibility:hidden}
.champ-spin-front:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.3) var(--spin-glint,50%),transparent 65%);mix-blend-mode:screen;opacity:.45}
.champ-spin-back{transform:rotateY(180deg) translateZ(5px);border:2px solid rgba(var(--spin-rgb),.8);border-radius:18px;background:radial-gradient(circle at 50% 34%,rgba(var(--spin-rgb),.42),transparent 55%),repeating-conic-gradient(from 0deg,#0e1b33 0 12deg,#142445 12deg 24deg);box-shadow:inset 0 0 25px rgba(var(--spin-rgb),.24);color:#fff1cc;padding:12%;text-align:center;align-content:center;gap:10px;font:700 clamp(14px,2.2vw,26px) var(--font-serif)}
.champ-spin-back span{font-size:clamp(40px,8vw,72px);color:rgb(var(--spin-rgb))}.champ-spin-back strong{overflow-wrap:anywhere}
.champ-spin-edge{position:absolute;inset:0;border:1px solid rgba(var(--spin-rgb),.27);border-radius:18px;pointer-events:none;backface-visibility:hidden}
.champ-spin-hint{position:absolute;bottom:-4px;padding:3px 10px;border-radius:20px;background:#071326d9;color:#ffe8b4;font-size:12px;pointer-events:none}.champ-spin-hint-mouse{display:none}@media(hover:hover) and (pointer:fine){.champ-spin-hint-touch{display:none}.champ-spin-hint-mouse{display:inline}}
.champ-spin-viewer.is-compact{width:min(140px,100%);height:145px}.champ-spin-viewer.is-compact .champ-spin-hint{font-size:10px;bottom:0}.champ-spin-viewer.is-compact .champ-spin-back{font-size:13px}.champ-spin-viewer.is-compact .champ-spin-back span{font-size:32px}
.champ-gift-art .champ-spin-front img{width:100%;height:100%;filter:none!important;animation:none!important}
.champ-scene-result{width:min(96vw,700px);gap:4px;padding:0 10px 14px}.champ-scene-result .champ-scene-rarity{font:700 14px var(--font-serif);color:var(--scene-glow);text-transform:uppercase;letter-spacing:.15em}.champ-scene-result small{font-size:13px}.champ-scene-result p{margin:2px 0 8px}.champ-scene-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,600px)}.champ-scene-actions .champ-games-button{min-height:44px;line-height:1.2}.champ-scene-actions .champ-games-button:hover{color:#fff8dc;border-color:#ffe3a0}.champ-scene-actions .champ-games-button.is-primary:hover{color:#35250b}.champ-scene-actions .champ-games-button:focus-visible{outline:3px solid #fff;outline-offset:2px}.champ-scene-actions .champ-games-button:disabled{opacity:.55;cursor:default}
.champ-chest-scene.is-3d .champ-scene-result-rays,.champ-chest-scene.is-3d .champ-scene-confetti{display:block}.champ-scene-center{touch-action:none}.champ-scene-center button{touch-action:manipulation}.champ-chest-spin-hint{color:#ffe0a2;font-size:12px;text-shadow:0 1px 6px #000}.champ-chest-scene.is-3d .champ-chest-spin-hint{position:relative;z-index:2}
@media(min-width:700px){.champ-spin-viewer:not(.is-compact){width:min(50vh,440px);height:min(50vh,440px)}}
@media(max-width:600px){.champ-scene-result{width:100%;padding:0 8px 12px;gap:3px}.champ-scene-result h2{font-size:clamp(20px,6vw,27px)}.champ-scene-actions .champ-games-button{font-size:clamp(11px,3.4vw,15px);padding:7px 4px}}
@media(max-height:680px){.champ-spin-viewer:not(.is-compact){width:min(66vw,31vh);height:min(66vw,31vh)}.champ-scene-result p{margin:0 0 3px}.champ-scene-result{padding-bottom:5px}.champ-scene-actions .champ-games-button{min-height:39px}}
@media(prefers-reduced-motion:reduce){.champ-spin-viewer,.champ-spin-face,.champ-spin-front img{animation:none!important}}
.champ-winnings-spin{display:grid;place-items:center;padding:4px 0 10px}.champ-winnings-spin .champ-spin-viewer{height:170px;width:170px}

/* Контейнер результата — pointer-events:none (чтобы не глушить кнопки), предмет унаследовал это и не получал касаний: перетаскивание не работало. */
.champ-spin-viewer{pointer-events:auto;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.champ-spin-viewer:active{cursor:grabbing}

/* Владелец 15.10: «что за овал», «обводка вокруг квадратная — нужна ли». Предметы с прозрачным фоном: рамка из слоёв толщины и контурный овал чужеродны — оставляем мягкую тень-свечение под предметом без контура, подсказку — поверх предмета, а не на тексте. */
.champ-spin-edge{display:none!important}
.champ-spin-podium{border:0!important;box-shadow:none!important;background:radial-gradient(ellipse at 50% 50%,rgba(var(--spin-rgb),.34),rgba(var(--spin-rgb),.12) 45%,transparent 72%)!important;filter:blur(7px)}
.champ-spin-hint{bottom:7%;left:50%;transform:translateX(-50%);white-space:nowrap}

/* Гостевой выигрыш и единое приглашение Сокровищницы */
.champ-guest-scene,.champ-promo{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;background:rgba(3,11,31,.88);padding:16px;overflow:auto}
.champ-guest-dialog{position:relative;width:min(980px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:24px clamp(18px,4vw,48px);border:1px solid #b89555;border-radius:22px;color:#f5e9cf;text-align:center;background:radial-gradient(circle at 50% 40%,#183b66,#071327 70%);box-shadow:0 24px 90px #0009}
.champ-guest-dialog h2,.champ-promo h2{font-family:Cinzel,Georgia,serif;color:#f5d99e;margin:12px 0}
.champ-guest-top{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:12px}
.champ-guest-top div{display:flex;gap:10px}.champ-guest-top button,.champ-promo-x,.champ-promo-later{border:1px solid #a78a58;border-radius:8px;background:#071b33;color:#f4dfa9;padding:8px 12px;cursor:pointer}
.champ-guest-chest{position:relative;width:min(400px,78vw);height:min(320px,44vh);margin:auto;display:grid;place-items:center}
.champ-guest-chest canvas,.champ-guest-chest>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.champ-guest-chest canvas:not(:empty){z-index:1}.champ-guest-chest>img{z-index:2;pointer-events:none}
.champ-guest-seals{position:absolute;z-index:3;display:flex;gap:28px;bottom:26%;left:50%;transform:translateX(-50%)}
.champ-guest-seals button{width:54px;height:54px;border-radius:50%;border:2px solid #f0c86f;background:radial-gradient(circle,#5478a9,#0c213e);color:#ffe5a7;font-size:25px;box-shadow:0 0 18px #e8bf7188;cursor:pointer}
.champ-guest-seals button:disabled{opacity:.55;cursor:default}.champ-guest-boxes{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin:28px 0}.champ-guest-boxes button{width:min(28%,170px);min-width:100px;border:1px solid #b89555;border-radius:14px;background:#0c2441;color:#f5d99e;padding:12px;cursor:pointer}.champ-guest-boxes img{width:100%;height:130px;object-fit:contain}.champ-guest-gift-art{width:min(300px,70vw);height:210px;object-fit:contain}
.champ-guest-reel{font-family:Cinzel,Georgia,serif;letter-spacing:.04em;animation:guest-reel 2.5s ease-out;overflow:hidden;white-space:nowrap}.champ-guest-reel strong{display:block;color:#ffd583}
@keyframes guest-reel{0%{transform:translateX(16%);filter:blur(5px)}60%{transform:translateX(-8%);filter:blur(2px)}100%{transform:none;filter:none}}
.champ-guest-prize{display:grid;justify-items:center;gap:10px;margin:10px auto;max-width:620px}.champ-guest-prize h3{font-family:Cinzel,Georgia,serif;color:#f5d99e}.champ-guest-prize small{max-width:480px;line-height:1.6}.champ-guest-silhouette{position:relative;width:110px;height:110px}.champ-guest-silhouette img{width:100%;height:100%;object-fit:contain;filter:brightness(0) drop-shadow(0 0 15px #e6bf7c)}.champ-guest-silhouette b{position:absolute;right:0;bottom:0;background:#071327;border:1px solid #cbaa68;border-radius:50%;padding:5px 10px}
.champ-promo{z-index:4900;background:rgba(2,9,23,.8)}.champ-promo-box{position:relative;display:grid;grid-template-columns:minmax(110px,42%) 1fr;align-items:center;gap:22px;width:min(670px,100%);padding:28px;border:1px solid #ba9759;border-radius:20px;background:linear-gradient(125deg,#0a203b,#132b4d);color:#f5e9cf;box-shadow:0 20px 70px #0009}.champ-promo-box>img{width:100%;height:200px;object-fit:contain}.champ-promo-box>div{display:grid;justify-items:start;gap:10px}.champ-promo-x{position:absolute;right:12px;top:12px;font-size:20px}.champ-promo-later{background:transparent;border:0;text-decoration:underline}.champ-promo-fullscreen .champ-promo-box{width:min(1120px,100%);min-height:min(680px,90dvh);grid-template-columns:1fr;align-content:end;background:linear-gradient(0deg,rgba(3,13,32,.97),rgba(3,13,32,.2)),url('/assets/promo/vault-wide.webp') center/cover}.champ-promo-fullscreen .champ-promo-box>img{height:210px;max-width:280px;justify-self:center}.champ-promo-fullscreen .champ-promo-box>div{justify-items:center;text-align:center}.champ-promo-toast{place-items:end}.champ-promo-toast .champ-promo-box{width:min(440px,100%);grid-template-columns:88px 1fr;padding:18px}.champ-promo-toast .champ-promo-box>img{height:100px}.champ-promo-toast .champ-promo-box h2{font-size:1.05rem}.champ-promo-toast .champ-promo-box>div{gap:4px}
.treasury-guest-key{margin:16px 0}.treasury-guest-key form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.treasury-guest-key label{display:grid;gap:8px}.treasury-guest-key input{background:#071b33;color:#f5e9cf;border:1px solid #b89555;border-radius:6px;padding:10px}
@media(max-width:600px){.champ-promo-sheet{place-items:end;padding:0;background:rgba(2,9,23,.6)}.champ-promo-sheet .champ-promo-box{width:100%;grid-template-columns:85px 1fr;border-radius:20px 20px 0 0;padding:20px 16px calc(24px + env(safe-area-inset-bottom));max-height:75dvh;overflow:auto}.champ-promo-sheet .champ-promo-box>img{height:110px}.champ-promo-fullscreen .champ-promo-box{background-image:linear-gradient(0deg,rgba(3,13,32,.97),rgba(3,13,32,.2)),url('/assets/promo/vault-mobile.webp')}.champ-promo-fullscreen .champ-promo-box>img{height:150px}.champ-guest-dialog{max-height:100dvh;padding:16px}.champ-guest-chest{height:260px}.champ-guest-seals{gap:14px}.champ-guest-seals button{width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.champ-guest-reel{animation:none}.champ-guest-seals button{box-shadow:none}}
.champ-guest-chest.is-3d>img{visibility:hidden}.champ-guest-chest:not(.is-3d) canvas{visibility:hidden}.champ-guest-seals button{background-image:url('/assets/promo/lock-seal.webp');background-size:cover;background-position:center;text-shadow:0 1px 4px #001}
.champ-guest-boxes button{overflow:hidden}.champ-guest-boxes button img{width:300%;max-width:none;object-fit:contain}.champ-guest-boxes button:nth-child(1) img{transform:translateX(0)}.champ-guest-boxes button:nth-child(2) img{transform:translateX(-33.333%)}.champ-guest-boxes button:nth-child(3) img{transform:translateX(-66.666%)}
.champ-guest-chest::after{content:'';position:absolute;z-index:2;left:25%;right:25%;bottom:22%;height:8px;background:#ffe39a;border-radius:50%;filter:blur(16px);opacity:.12;pointer-events:none}.champ-guest-chest.seal-1::after{opacity:.35}.champ-guest-chest.seal-2::after{opacity:.65}.champ-guest-chest.seal-1 canvas,.champ-guest-chest.seal-2 canvas{animation:guest-shiver .25s ease-in-out}.champ-guest-chest.seal-2 canvas{animation-duration:.4s}@keyframes guest-shiver{0%,100%{transform:translateX(0)}30%{transform:translateX(-5px) rotate(-1deg)}70%{transform:translateX(5px) rotate(1deg)}}@media(prefers-reduced-motion:reduce){.champ-guest-chest.seal-1 canvas,.champ-guest-chest.seal-2 canvas{animation:none}}
.champ-guest-seals{left:58%;bottom:44%;gap:10px}.champ-guest-seals button{width:50px;height:50px;background-color:transparent;background-image:none;border:2px solid #f3d482aa;box-shadow:0 0 12px #e8bf7188;text-shadow:0 1px 4px #001}.champ-guest-seals button:disabled{opacity:.38}.champ-guest-chest.is-3d .champ-guest-seals{left:50%;bottom:34%;gap:16px}.champ-guest-chest.is-3d .champ-guest-seals button{background-image:url('/assets/promo/lock-seal.webp');background-size:cover}
.champ-guest-chest .champ-guest-teaser{position:absolute;z-index:3;width:50px;height:50px;opacity:.3;filter:grayscale(1) drop-shadow(0 0 8px #d9c292);animation:guest-float 5s ease-in-out infinite;pointer-events:none}@keyframes guest-float{50%{transform:translateY(-12px)}}@media(prefers-reduced-motion:reduce){.champ-guest-chest .champ-guest-teaser{animation:none}}
.champ-promo-toast{background:transparent;pointer-events:none}.champ-promo-toast .champ-promo-box{pointer-events:auto}
.champ-promo-fullscreen .champ-promo-box::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 14% 68%,#ffdf88a6 0 2px,transparent 3px),radial-gradient(circle at 78% 42%,#ffdf88a6 0 2px,transparent 3px),radial-gradient(circle at 65% 76%,#f8d38b99 0 1px,transparent 3px),radial-gradient(circle at 28% 26%,#f8d38b88 0 2px,transparent 4px);animation:promo-motes 8s ease-in-out infinite alternate}@keyframes promo-motes{to{transform:translateY(-14px);opacity:.45}}@media(prefers-reduced-motion:reduce){.champ-promo-fullscreen .champ-promo-box::before{animation:none}}

@media(max-width:600px) and (max-height:850px){.champ-guest-dialog{padding:10px 14px;max-height:100dvh}.champ-guest-dialog h2{font-size:clamp(28px,8vw,40px);line-height:1.04;margin:6px 0}.champ-guest-dialog>p{margin:5px 0}.champ-guest-chest{height:min(23dvh,175px)}.champ-guest-boxes{margin:8px 0;gap:6px}.champ-guest-boxes button{min-width:86px;padding:5px}.champ-guest-boxes img{height:76px}.champ-guest-gift-art{height:min(18dvh,130px)}.champ-guest-prize{gap:3px;margin:3px auto}.champ-guest-prize h3{font-size:clamp(21px,6vw,30px);line-height:1.08;margin:2px 0}.champ-guest-prize p{margin:3px 0;line-height:1.2}.champ-guest-silhouette{width:min(17dvh,110px);height:min(17dvh,110px)}.champ-guest-prize small{font-size:12px;line-height:1.25}.champ-guest-prize .champ-games-button{padding:9px 16px}}

.champ-chest-scene.is-jackpot .champ-scene-result::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle,#ffeb9c88,transparent 65%);animation:champ-jackpot-flash .75s ease-out both}.champ-chest-scene.is-jackpot .champ-scene-result{animation:champ-jackpot-shake .42s ease-in-out}@keyframes champ-jackpot-flash{from{opacity:1}to{opacity:0}}@keyframes champ-jackpot-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}55%{transform:translateX(7px)}75%{transform:translateX(-3px)}}@media(prefers-reduced-motion:reduce){.champ-chest-scene.is-jackpot .champ-scene-result{animation:none}}
.champ-guest-reel-viewport{position:relative;overflow:hidden;width:min(100%,390px);height:105px;margin:0 auto 6px;border:1px solid #cba964;border-radius:12px;background:#08172d}.champ-guest-reel-viewport::after{content:'';position:absolute;top:0;bottom:0;left:50%;width:2px;background:#ffe49d;box-shadow:0 0 12px #ffe49d}.champ-guest-reel-track{display:flex;gap:8px;width:max-content;height:100%;align-items:center;will-change:transform}.champ-guest-reel-card{display:grid;justify-items:center;flex:none;width:95px;height:94px;padding:3px;border:1px solid #b79358;border-radius:8px;color:#f5d99e;font-size:12px;background:#10294a}.champ-guest-reel-card img{width:65px;height:66px;object-fit:contain}

.champ-testing-mode { display: inline-flex; align-items: center; padding: 4px 10px; margin: 0 0 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; opacity: .7; }
/* Карточки подарков: сетка получает ограниченную высоту от диалога (108 px на 375, 320 на 1280), а общее правило кнопок min-height:44px отменяло «не меньше содержимого» — строки сжимались (на телефоне карточка 44 px при содержимом ~150, цена вылезала за край на 106 px, на десктопе на 7 px). Строки теперь по высоте содержимого, сетка прокручивается. */
.champ-gift-picker{grid-auto-rows:max-content;align-content:start}
.champ-gift-picker button{min-height:max-content!important;height:auto!important;padding-bottom:10px}

/* Gift wizard: only the middle pane scrolls; the actions stay in the dialog viewport. */
.champ-gift-overlay{align-items:center}
.champ-gift-dialog{--gift-surface:#0d1830;display:flex;flex-direction:column;gap:0;width:min(900px,100%);height:min(calc(100dvh - 24px),860px);max-height:min(calc(100dvh - 24px),860px);min-height:0;padding:0;overflow:hidden;background:var(--gift-surface)}
.theme-day .champ-gift-dialog{--gift-surface:var(--bg-elevated)}
.champ-gift-dialog-top{flex:none;display:grid;gap:12px;padding:18px 20px 12px}
.champ-gift-dialog-top .champ-gift-steps{flex:none}
.champ-gift-dialog-body{flex:1 1 auto;min-height:0;min-width:0;display:grid;align-content:start;gap:12px;padding:0 20px 16px;overflow-y:auto;overscroll-behavior:contain}
.champ-gift-dialog-body>*{min-width:0;margin-block:0}
.champ-gift-dialog-body .champ-gift-field{display:flex}
.champ-gift-actions{flex:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;min-height:68px;padding:10px 20px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--border-gold);background:var(--gift-surface);box-shadow:0 -10px 24px #0005}
.champ-gift-action-error{flex:1 0 100%;margin:0;padding:7px 10px;border-radius:7px;background:#481d25;color:#ffd2c6;font-size:13px}
.champ-gift-actions .champ-gift-actions-summary{display:flex;align-items:center;gap:9px;min-width:0;flex:1;color:var(--fg-1)}
.champ-gift-actions-summary img{width:40px;height:40px;flex:none;object-fit:contain}
.champ-gift-actions-summary span{min-width:0}
.champ-gift-actions-summary strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.champ-gift-actions-summary small{display:block;color:var(--fg-2);font-size:12px}
.champ-gift-actions :is(.champ-btn,.champ-games-button){margin:0;flex:none}
.champ-gift-dialog .champ-gift-picker{max-height:none;overflow:visible;padding:4px;grid-template-columns:repeat(5,minmax(0,1fr))}
.champ-gift-dialog .champ-gift-picker img{width:62px;height:62px}
.champ-gift-dialog .champ-gift-categories{flex-wrap:nowrap;overflow-x:auto;min-height:46px;padding-bottom:5px;scrollbar-width:thin}
.champ-gift-review-spin{display:grid;place-items:center}
@media(max-width:600px){.champ-gift-overlay{padding:0;place-items:center}.champ-gift-dialog{width:100%;height:calc(var(--champ-gift-visual-height,100dvh) - 24px);max-height:calc(var(--champ-gift-visual-height,100dvh) - 24px);border-radius:0;overflow:hidden}.champ-gift-dialog-top{gap:9px;padding:12px 14px 8px}.champ-gift-dialog-head h2{font-size:24px;line-height:1.15}.champ-gift-dialog-body{gap:9px;padding:0 14px 12px}.champ-gift-dialog .champ-gift-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.champ-gift-dialog .champ-gift-picker img{width:58px;height:58px}.champ-gift-actions{flex-wrap:wrap;justify-content:stretch;padding:9px 14px calc(9px + env(safe-area-inset-bottom))}.champ-gift-actions .champ-gift-actions-summary{flex-basis:100%}.champ-gift-actions .champ-games-button{width:100%;justify-content:center}.champ-gift-actions .champ-btn{flex:1;min-width:0}.champ-gift-actions .champ-btn span{white-space:normal}}
@media(max-width:600px) and (max-height:699px){.champ-gift-dialog-top{gap:6px;padding-block:9px 6px}.champ-gift-dialog-head h2{font-size:22px}.champ-gift-dialog-top .champ-gift-balance,.champ-gift-step-label{display:none}.champ-gift-dialog .champ-gift-steps button{padding:4px 2px}.champ-gift-actions{min-height:0}}

/* Reaction totals keep their own foreground in every state and theme. */
.champ-feed-reactions button>span,.champ-feed-reaction-count>span,.champ-games-comment-reactions button>span{color:var(--fg-1);font-size:13px;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums}
.champ-feed-reactions button:hover:not([aria-pressed=true]),.champ-games-comment-reactions button:hover:not([aria-pressed=true]){background:var(--bg-elevated)}
.champ-feed-reactions button[aria-pressed=true],.champ-feed-reactions button[aria-pressed=true]:hover,.champ-games-comment-reactions button[aria-pressed=true],.champ-games-comment-reactions button[aria-pressed=true]:hover{background:#e5c379;color:var(--fg-on-gold)}
.champ-feed-reactions button[aria-pressed=true]>span,.champ-games-comment-reactions button[aria-pressed=true]>span{color:var(--fg-on-gold)}
.champ-feed-reactions button:disabled,.champ-games-comment-reactions button:disabled{opacity:1;cursor:default}
/* Дочерние ячейки ленты сжимаются внутри карточки, не расширяя страницу. */
.treasury-feed-card>*{min-width:0}
/* Живая лента: цветовые акценты используют палитру предметов rarity-*. */
.champ-feed-time{display:inline-flex;align-items:center;gap:5px;align-self:flex-end;width:max-content;max-width:100%;margin-top:auto;padding:4px 9px;border:1px solid var(--border-gold);border-radius:999px;background:var(--bg-sunken);color:var(--fg-2);font:600 11px/1.2 var(--font-sans);font-variant-numeric:tabular-nums;white-space:nowrap}
.champ-feed-time svg{flex:none}
.champ-feed-time.is-now i{width:6px;height:6px;flex:none;border-radius:50%;background:#48bd81;box-shadow:0 0 0 3px #48bd8130;animation:champ-live-pulse 2.4s ease-in-out infinite}
.champ-feed-time.is-old{color:var(--fg-2);opacity:.84}
.champ-feed-stats{margin:0;padding:7px 11px;border:1px solid var(--border-gold);border-radius:999px;background:var(--bg-sunken);color:var(--fg-2);font:600 12px/1.35 var(--font-sans);font-variant-numeric:tabular-nums}
.treasury-feed>.champ-feed-stats{width:max-content;max-width:100%;margin:12px 0;white-space:normal}
.champ-live-head{display:flex;align-items:center;justify-content:space-between;gap:10px 18px;min-width:0}
.champ-live-title{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
.champ-live-head h2{margin:0;color:var(--fg-1)}
.champ-live-badge{display:inline-flex;align-items:center;gap:8px;padding:5px 10px;border:1px solid var(--border-gold);border-radius:999px;background:color-mix(in srgb,var(--accent) 11%,var(--bg-elevated));color:var(--fg-1);font:700 12px/1.2 var(--font-sans);white-space:nowrap}
.champ-live-badge i{width:7px;height:7px;flex:none;border-radius:50%;background:#48bd81;box-shadow:0 0 0 3px #48bd8130;animation:champ-live-pulse 2.4s ease-in-out infinite}
@keyframes champ-live-pulse{50%{opacity:.6;box-shadow:0 0 0 5px #48bd8118}}
.champ-live-ornament{margin:8px 0 16px}.champ-live-ornament .ornament{max-height:none;margin:0 auto}.champ-live-ornament .glyph{display:none}.champ-live-ornament .line{display:block;height:1px;background:linear-gradient(90deg,transparent,var(--border-gold-strong),transparent)}
.champ-feed-show-new{position:sticky;top:calc(var(--champ-header-height,64px) + 10px);z-index:8;display:block;width:max-content;max-width:100%;margin:10px auto;padding:8px 15px;border-radius:999px;box-shadow:var(--shadow-2);scroll-margin-top:calc(var(--champ-header-height,64px) + 18px)}
.treasury-feed-list,.champ-chest-feed{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;scroll-margin-top:calc(var(--champ-header-height,64px) + 16px)}
.treasury-feed-list{margin-top:16px}
.treasury-feed-card,.champ-chest-feed .treasury-feed-card{--art-glow:var(--fg-2);--feed-name:var(--fg-1);position:relative;isolation:isolate;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:start;gap:14px;min-width:0;height:112px;margin:0;padding:14px;border:1px solid var(--border-gold);border-left:3px solid var(--art-glow);border-radius:14px;background:linear-gradient(105deg,color-mix(in srgb,var(--art-glow) 7%,var(--bg-elevated)),var(--bg-elevated) 45%);color:var(--fg-1);box-shadow:inset 11px 0 22px -19px var(--art-glow),var(--shadow-1)}
.treasury-feed-card:is(.rarity-uncommon,.rarity-rare,.rarity-epic,.rarity-legendary,.rarity-mythic){--feed-name:var(--art-glow)}
.treasury-feed-card.rarity-mythic{--art-glow:#f4cc6d}
.theme-day .treasury-feed-card.rarity-uncommon{--feed-name:#17633e}
.theme-day .treasury-feed-card.rarity-rare{--feed-name:#245189}
.theme-day .treasury-feed-card.rarity-epic{--feed-name:#69348f}
.theme-day .treasury-feed-card.rarity-legendary,.theme-day .treasury-feed-card.rarity-mythic{--feed-name:#76500a}
.treasury-feed-card.rarity-mythic::after{content:"";position:absolute;inset:-1px;padding:1px;border-radius:inherit;background:linear-gradient(110deg,transparent 25%,#fff3bd 48%,transparent 72%) 100% 0/250% 100%;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;pointer-events:none;animation:champ-feed-mythic 5s ease-in-out infinite}
@keyframes champ-feed-mythic{50%,100%{background-position:-100% 0}}
.treasury-feed-slot{display:grid;place-items:center;width:64px;height:64px;max-width:64px!important;overflow:hidden;border:1px solid color-mix(in srgb,var(--art-glow) 70%,var(--border-gold));border-radius:11px;background:radial-gradient(circle at 50% 40%,color-mix(in srgb,var(--art-glow) 18%,transparent),var(--bg-sunken) 75%);box-shadow:inset 0 0 17px color-mix(in srgb,var(--art-glow) 15%,transparent);color:var(--art-glow)}
.treasury-feed-slot img,.treasury-feed-card .treasury-feed-slot img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;padding:3px;object-fit:contain}
.treasury-feed-card .treasury-feed-copy{display:grid;align-content:start;justify-items:start;gap:6px;min-width:0;max-width:100%}
.treasury-feed-actor{width:max-content;max-width:100%;min-width:0;font-size:12px;color:var(--fg-2)}
.treasury-feed-card>.champ-feed-time{justify-self:end;align-self:start;margin-top:0}
.treasury-feed-description{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.treasury-feed-description strong{color:var(--feed-name);font-weight:700}
.treasury-feed-card p,.champ-chest-feed .treasury-feed-card p{display:block;max-width:100%;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;color:var(--fg-2);font:400 12px/1.4 var(--font-sans);overflow-wrap:anywhere}
.treasury-feed-card.is-new{animation:champ-finding-enter .22s ease-out both,champ-finding-highlight 3s ease-out both}
@keyframes champ-finding-enter{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@keyframes champ-finding-highlight{from{box-shadow:inset 11px 0 22px -19px var(--art-glow),0 0 0 2px var(--art-glow),0 0 20px color-mix(in srgb,var(--art-glow) 35%,transparent)}to{box-shadow:inset 11px 0 22px -19px var(--art-glow),var(--shadow-1)}}
.treasury-feed-card .champ-fighter-name .council-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:none;background-image:none;background-clip:border-box;-webkit-background-clip:border-box;color:var(--fg-1);-webkit-text-fill-color:var(--fg-1);font-size:13px;letter-spacing:.01em}
.treasury-feed-empty{display:grid;justify-items:center;gap:9px;padding:30px 18px;text-align:center;border-style:dashed}
.treasury-feed-empty>.champ-ico,.treasury-feed-empty>.champ-ico-fallback{filter:drop-shadow(0 0 10px var(--accent-soft))}
.treasury-feed-empty h3{margin:0;color:var(--fg-1);font:700 20px/1.25 var(--font-serif)}
.treasury-feed-empty p{max-width:32rem;margin:0 0 5px;color:var(--fg-2)}
.treasury-feed-empty .champ-games-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;text-decoration:none}
.champ-feed-error{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:12px 0;color:var(--fg-2);font-size:13px}
.champ-feed-error button{padding:5px 10px;border:1px solid var(--border-gold);border-radius:999px;background:var(--bg-elevated);color:var(--fg-1);font:700 12px var(--font-sans);cursor:pointer}
.champ-feed-error button:focus-visible,.champ-feed-show-new:focus-visible,.treasury-feed-empty .champ-games-button:focus-visible,.treasury-feed-card a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(min-width:1200px){.treasury-feed-list,.champ-chest-feed{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}}
/* In feeds the name and its information link form one content-sized unit. */
:is(.treasury-feed-card,.champ-profile-feed .champ-feed-content p) .champ-fighter-name{width:max-content;max-width:100%;min-width:0;align-items:flex-start}
:is(.treasury-feed-card,.champ-profile-feed .champ-feed-content p) .council-name-row.nick-line{width:max-content;max-width:100%;min-width:0;justify-content:flex-start;overflow:hidden}
:is(.treasury-feed-card,.champ-profile-feed .champ-feed-content p) .nick-line .champ-name-unit{width:max-content;max-width:100%;min-width:0;flex:0 1 auto!important;gap:6px}
:is(.treasury-feed-card,.champ-profile-feed .champ-feed-content p) .nick-line .nick-fit-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.treasury-feed-card .nick-line .nick-fit-text{font-size:14px}
:is(.treasury-feed-card,.champ-profile-feed .champ-feed-content p) .nick-line .council-info-link{flex:none;margin:0}
:is(.treasury-feed-card,.champ-profile-feed .champ-feed-content p) .nick-inline{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;min-width:0;vertical-align:middle}
:is(.treasury-feed-card,.champ-profile-feed .champ-feed-content p) .nick-inline-btn{flex:0 1 auto;min-width:0;overflow:hidden}
:is(.treasury-feed-card,.champ-profile-feed .champ-feed-content p) .nick-inline-info{flex:none;margin:0}
@media(max-width:640px){.champ-live-head{align-items:flex-start;flex-direction:column}.champ-live-title{gap:8px}.champ-live-head .champ-feed-stats{max-width:100%;white-space:normal}.treasury-feed-card,.champ-chest-feed .treasury-feed-card{grid-template-columns:64px minmax(0,1fr);gap:6px 10px;height:120px;padding:10px}.treasury-feed-slot{width:64px;height:64px;max-width:64px!important}.treasury-feed-card>.champ-feed-time{grid-column:2;justify-self:end}.treasury-feed-actor{font-size:11px}.champ-feed-time{font-size:10px}}
@media(prefers-reduced-motion:reduce){.champ-live-badge i,.champ-feed-time.is-now i,.treasury-feed-card.is-new,.treasury-feed-card.rarity-mythic::after{animation:none!important}.treasury-feed-card.is-new{border-color:var(--art-glow)}.champ-feed-show-new{scroll-behavior:auto}}
/* Навигация чемпионата: постоянная высота не зависит от загрузки матча. */
.champ-back-bar{position:sticky;top:var(--champ-header-height,64px);z-index:190;min-height:54px;border-block:1px solid var(--border-gold);background:var(--bg-elevated);color:var(--fg-1)}
.champ-back-inner{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.champ-back-inner>a{display:inline-flex;align-items:center;min-height:44px;padding:5px 12px;border:1px solid var(--border-gold);border-radius:9px;color:var(--accent);font-weight:700;text-decoration:none}
.champ-back-inner ol{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:5px;list-style:none;margin:0;padding:0;font-size:13px}
.champ-back-inner li+li::before{content:'›';margin-right:5px;color:var(--fg-2)}
.champ-back-inner ol a{color:var(--fg-2);text-decoration:none}.champ-back-inner ol span{color:var(--fg-1)}
.champ-quick-section{padding:20px 0;background:var(--bg);border-bottom:1px solid var(--border-gold)}
.champ-quick-section h2{margin:0 0 12px;color:var(--fg-1);font:700 clamp(20px,3vw,28px) var(--font-serif)}
.champ-quick-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.champ-quick-grid a{min-width:0;min-height:94px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px;border:1px solid var(--border-gold);border-radius:12px;background:var(--bg-elevated);color:var(--fg-1);text-align:center;text-decoration:none;font-weight:700;font-size:13px;line-height:1.3;overflow-wrap:anywhere}
.champ-quick-grid a:hover,.champ-quick-grid a:focus-visible{border-color:var(--accent);background:var(--accent-soft)}
/* Золотой фон состояния — тёмный текст из той же пары (светлый на светло-жёлтом не читался). */
.champ-quick-grid a:hover,.champ-quick-grid a:focus-visible{color:var(--fg-on-gold)}
.champ-quick-grid a:hover *,.champ-quick-grid a:focus-visible *{color:inherit}
.champ-after-action{display:grid;gap:8px;margin:12px 0;padding:14px;border:1px solid var(--border-gold);border-radius:12px;background:var(--bg-elevated);color:var(--fg-1)}
.champ-after-action>strong{color:var(--accent)}.champ-after-action>span{font-size:13px;color:var(--fg-2)}
.champ-after-action>div{display:flex;flex-wrap:wrap;gap:8px}.champ-after-action a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid var(--border-gold);border-radius:9px;color:var(--fg-1);text-decoration:none;font-weight:700}
.champ-after-action a:hover,.champ-after-action a:focus-visible{border-color:var(--accent)}
@media(max-width:900px){.champ-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:768px){.champ-back-bar{display:none}}
@media(max-width:640px){
  .champ-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .champ-quick-grid a{min-height:78px;font-size:12px}
  .champ-corner-shell .dealer-widget{bottom:calc(78px + env(safe-area-inset-bottom,0px))!important}
  .champ-messages-compose{bottom:calc(68px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:768px){#root>.dealer-widget{bottom:calc(78px + env(safe-area-inset-bottom,0px))!important}}
@media(max-width:768px){body:has(:is([aria-modal="true"]:not(.mobile-drawer),.champ-chest-scene,.champ-guest-scene,.champ-task-overlay)) .mobile-bottom-nav{display:none}}
.champ-action-landing{background:var(--bg);border-bottom:1px solid var(--border-gold)}
.champ-action-landing .champ-after-action{margin-block:0;border:0;border-radius:0;background:transparent}
@media(max-width:640px){:is(.champ-nav a,.champ-nav summary,.champ-chip-row a,.champ-games-button,.champ-gift-dialog button,.champ-scene-actions button){min-height:44px}}

/* Одновременно показывается одно промо (15.10.2026: «два окна одновременно»): пока открыто окно промо,
   приглашение или гостевая сцена, угловая карточка («Поддержи клан», дилер) скрыта и не ловит нажатия. */
body:has(.champ-promo,.champ-rating-invite,.champ-guest-scene,.champ-chest-scene) :is(#root>.dealer-widget,.champ-corner-shell){opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,visibility 0s linear .15s}
@media(prefers-reduced-motion:reduce){body:has(.champ-promo,.champ-rating-invite,.champ-guest-scene,.champ-chest-scene) :is(#root>.dealer-widget,.champ-corner-shell){transition:none}}

/* Единое превью предмета и тихая живая активность поверх страниц. */
.champ-gift-click{display:inline-flex;cursor:pointer;border-radius:18px;transition:transform .18s ease,filter .18s ease;outline:none}.champ-gift-click:hover{transform:translateY(-3px);filter:brightness(1.08)}.champ-gift-click:focus-visible{box-shadow:0 0 0 3px var(--accent-soft),0 0 0 5px var(--accent)}.champ-gift-click>img,.champ-gift-click>picture{max-width:100%}
.champ-badge-click{padding:0;border:0;background:transparent;border-radius:18px;cursor:pointer;transition:transform .18s ease}.champ-badge-click:hover{transform:translateY(-3px)}.champ-badge-click:focus-visible{outline:3px solid var(--accent)}
.champ-gift-preview-overlay{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:24px;background:rgba(3,7,18,.76);backdrop-filter:blur(10px)}.champ-gift-preview-modal{--gift-glow:#91a9d6;position:relative;display:grid;grid-template-columns:minmax(260px,42%) minmax(0,1fr);width:min(920px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid color-mix(in srgb,var(--gift-glow) 55%,transparent);border-radius:28px;background:linear-gradient(145deg,color-mix(in srgb,var(--gift-glow) 10%,var(--surface)),var(--surface) 48%);box-shadow:0 28px 90px #0009,0 0 54px color-mix(in srgb,var(--gift-glow) 24%,transparent)}.champ-gift-preview-modal.rarity-uncommon{--gift-glow:#58d69f}.champ-gift-preview-modal.rarity-rare{--gift-glow:#65a9ff}.champ-gift-preview-modal.rarity-epic{--gift-glow:#b77cff}.champ-gift-preview-modal.rarity-legendary{--gift-glow:#ffc653}.champ-gift-preview-modal.rarity-mythic{--gift-glow:#ff72c7}.champ-gift-preview-close{position:absolute;z-index:2;right:16px;top:14px;width:44px;height:44px;border:0;border-radius:50%;background:var(--surface-2);color:var(--fg);font-size:28px;cursor:pointer}.champ-gift-preview-art{min-height:430px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle,color-mix(in srgb,var(--gift-glow) 30%,transparent),transparent 65%)}.champ-gift-preview-art>span{width:min(86%,360px);animation:champ-gift-float 3.8s ease-in-out infinite;filter:drop-shadow(0 25px 22px #0007) drop-shadow(0 0 22px var(--gift-glow))}.champ-gift-preview-art>img{width:100%;height:auto}.champ-gift-preview-copy{padding:58px 34px 30px;display:flex;flex-direction:column;align-items:flex-start;gap:16px}.champ-gift-preview-copy h2{margin:0;font:700 clamp(28px,4vw,44px)/1.05 var(--font-display);color:var(--fg)}.champ-gift-preview-copy>p{margin:0;color:var(--fg-2);line-height:1.65}.champ-gift-preview-facts,.champ-gift-preview-counts{display:flex;flex-wrap:wrap;gap:8px}.champ-gift-preview-facts>span,.champ-gift-preview-counts>span{padding:7px 10px;border:1px solid color-mix(in srgb,var(--gift-glow) 35%,var(--border-gold));border-radius:999px;color:var(--fg-2);font-size:12px}.champ-gift-preview-actions{display:flex;gap:10px;width:100%}.champ-gift-preview-actions>*{flex:1}.champ-gift-preview-related{width:100%;display:grid;gap:9px}.champ-gift-preview-related>div{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.champ-gift-preview-related .champ-gift-click{aspect-ratio:1;padding:5px;background:var(--surface-2)}.champ-gift-preview-related :where(img){width:100%;height:100%;object-fit:contain}.champ-badge-preview{position:relative;width:min(430px,calc(100vw - 32px));padding:34px;text-align:center;border:1px solid var(--border-gold);border-radius:28px;background:var(--surface);box-shadow:0 28px 90px #0009}.champ-badge-preview>button{position:absolute;right:12px;top:12px;width:44px;height:44px;border:0;border-radius:50%;font-size:26px}.champ-badge-preview .champ-badge-art{margin:0 auto 18px}.champ-badge-preview h2{margin:8px 0}.champ-badge-preview p{color:var(--fg-2)}
@keyframes champ-gift-float{50%{transform:translateY(-9px) rotate(1deg)}}
.champ-activity-toggle{position:fixed;z-index:795;right:22px;bottom:92px;display:flex;align-items:center;gap:6px;min-height:42px;padding:0 14px;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--border-gold));border-radius:999px;background:color-mix(in srgb,var(--surface) 92%,transparent);box-shadow:0 8px 28px #0005;color:var(--fg);font-weight:700;cursor:pointer;backdrop-filter:blur(12px)}.champ-activity-toggle>b{display:grid;place-items:center;min-width:18px;height:18px;border-radius:10px;background:var(--accent);color:#111;font-size:10px}.champ-activity-toast{position:fixed;z-index:794;right:22px;bottom:146px;display:grid;grid-template-columns:54px minmax(0,1fr) 28px;gap:11px;align-items:center;width:min(360px,calc(100vw - 32px));padding:12px;border:1px solid var(--border-gold);border-radius:18px;background:color-mix(in srgb,var(--surface) 95%,transparent);box-shadow:0 18px 48px #0007;cursor:pointer;animation:champ-activity-in .36s cubic-bezier(.2,.9,.25,1.15);backdrop-filter:blur(14px)}.champ-activity-art{width:54px;height:54px;padding:3px;border:0;border-radius:14px;background:var(--surface-2);cursor:pointer}.champ-activity-art>img{width:100%;height:100%;object-fit:contain}.champ-activity-toast>div{min-width:0}.champ-activity-toast a{color:var(--fg);font-weight:700;text-decoration:none}.champ-activity-toast :where(p){margin:3px 0;color:var(--fg-2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.champ-activity-toast time{font-size:10px;color:var(--fg-muted)}.champ-activity-toast>button:last-child,.champ-activity-panel header>button{border:0;background:transparent;color:var(--fg-muted);font-size:23px;cursor:pointer}.champ-activity-panel{position:fixed;z-index:796;right:22px;bottom:146px;width:min(390px,calc(100vw - 32px));max-height:min(620px,calc(100dvh - 180px));display:flex;flex-direction:column;padding:18px;border:1px solid var(--border-gold);border-radius:22px;background:var(--surface);box-shadow:0 22px 70px #0009}.champ-activity-panel header{display:flex;justify-content:space-between;align-items:flex-start}.champ-activity-panel h2{margin:2px 0 8px}.champ-activity-stats{margin:0 0 12px;color:var(--fg-2);font-size:13px}.champ-activity-panel>div{overflow:auto;display:grid;gap:6px}.champ-activity-panel>div>button{display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:center;padding:8px;border:0;border-radius:12px;background:transparent;color:var(--fg);text-align:left;cursor:pointer}.champ-activity-panel>div>button:hover{background:var(--surface-2)}.champ-activity-panel :where(img){width:44px;height:44px;object-fit:contain}.champ-activity-panel :where(small){display:block;color:var(--fg-2);line-height:1.35}.champ-activity-panel footer{display:flex;justify-content:space-between;gap:8px;padding-top:12px;border-top:1px solid var(--border-gold)}.champ-activity-panel footer>button{border:0;background:none;color:var(--fg-link);cursor:pointer}.champ-activity-panel footer a{color:var(--fg-link)}
@keyframes champ-activity-in{from{opacity:0;transform:translate3d(24px,12px,0) scale(.96)}}
body:has(.champ-gift-preview-overlay,.champ-chest-scene,.champ-guest-scene,.champ-gift-overlay,.modal-backdrop,.champ-task-overlay,.champ-promo) :is(.champ-activity-toggle,.champ-activity-toast,.champ-activity-panel){opacity:0;visibility:hidden;pointer-events:none}
@media(max-width:600px){.champ-gift-preview-overlay{align-items:end;padding:0}.champ-gift-preview-modal{grid-template-columns:1fr;width:100%;max-height:91dvh;border-radius:26px 26px 0 0}.champ-gift-preview-art{min-height:220px}.champ-gift-preview-art>span{width:min(58%,220px)}.champ-gift-preview-copy{padding:18px 18px calc(18px + env(safe-area-inset-bottom))}.champ-gift-preview-copy h2{font-size:28px}.champ-gift-preview-actions{position:sticky;bottom:0}.champ-activity-toggle{right:12px;bottom:calc(76px + env(safe-area-inset-bottom));min-width:44px;padding:0 11px}.champ-activity-toggle>span{display:none}.champ-activity-toast{left:12px;right:12px;bottom:calc(126px + env(safe-area-inset-bottom));width:auto;grid-template-columns:36px minmax(0,1fr) 28px;padding:8px 10px;border-radius:999px}.champ-activity-art{width:36px;height:36px;border-radius:50%}.champ-activity-toast :where(p){margin:1px 0}.champ-activity-panel{left:10px;right:10px;bottom:calc(126px + env(safe-area-inset-bottom));width:auto;max-height:60dvh}}
@media(max-width:359px){.champ-activity-toast,.champ-activity-panel{display:none}}
@media(prefers-reduced-motion:reduce){.champ-gift-click,.champ-gift-preview-art>span,.champ-activity-toast{transition:none;animation:none}}

/* Activity is one managed vertical stack.  Its measured base clears every registered floating zone. */
.champ-activity-stack{display:contents}
.champ-activity-header{position:relative;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--border-gold);border-radius:50%;background:var(--bg-elevated);color:var(--fg-1);cursor:pointer}.champ-activity-header>b,.champ-mobile-news>b{position:absolute;right:-4px;top:-5px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:#d45555;color:#fff;font-size:10px}.champ-mobile-news{position:relative;width:100%;border:0;color:inherit;text-align:left}.champ-activity-toast{left:24px;right:auto;bottom:calc(var(--left-life-bottom,16px) + 84px);grid-template-columns:54px minmax(0,1fr) 28px;width:min(390px,calc(100vw - 32px));border-radius:22px 22px 22px 7px;cursor:default;animation-name:champ-activity-bubble-in}.champ-activity-toast>div{display:grid;gap:3px}.champ-activity-toast>div>p{margin:0;color:var(--fg-2);white-space:normal}.champ-activity-toast>div>strong{color:var(--fg-1);font-size:12px}.champ-activity-toast .champ-fighter-name{width:max-content;max-width:100%}.champ-activity-tail{position:absolute;left:10px;bottom:-26px;display:grid;place-items:center;width:25px;height:25px;color:#f5d57e;font-size:18px;text-shadow:0 0 10px #f5d57e}.champ-activity-toast:after{content:'';position:absolute;left:18px;bottom:-12px;border:7px solid transparent;border-top-color:var(--border-gold);transform:rotate(18deg)}@keyframes champ-activity-bubble-in{from{opacity:0;transform:translate3d(-12px,10px,0) scale(.96)}}.champ-activity-backdrop{position:fixed;inset:0;z-index:795;border:0;background:#05091466;backdrop-filter:blur(2px)}.champ-activity-panel{left:0;right:auto;top:0;bottom:0;width:min(360px,calc(100vw - 24px));max-height:none;padding:22px;border-width:0 1px 0 0;border-radius:0;animation:champ-activity-panel-in .25s ease-out}.champ-activity-panel>nav{display:flex;gap:5px;overflow:auto;margin:0 0 12px}.champ-activity-panel>nav button{padding:7px 10px;border:1px solid var(--border-gold);border-radius:999px;background:transparent;color:var(--fg-1);white-space:nowrap}.champ-activity-panel>nav button[aria-pressed=true]{background:var(--accent);color:var(--fg-on-gold)}.champ-activity-panel footer{display:grid}.champ-activity-panel footer label{display:flex;align-items:center;gap:8px;color:var(--fg-2);font-size:12px}.champ-activity-panel footer input{width:18px;height:18px}@keyframes champ-activity-panel-in{from{transform:translateX(-100%)}}body:has(.champ-gift-preview-overlay,.champ-chest-scene,.champ-guest-scene,.champ-gift-overlay,.modal-backdrop,.champ-task-overlay,.champ-promo) :is(.champ-activity-toast){opacity:0;visibility:hidden;pointer-events:none}@media(max-width:1023px){.champ-activity-toast{display:none}.champ-activity-toast:has(.rarity-mythic){display:grid}.champ-activity-panel{left:0;right:0;top:auto;bottom:0;width:100%;max-height:70dvh;border-width:1px 0 0;border-radius:24px 24px 0 0;padding-bottom:calc(18px + env(safe-area-inset-bottom));animation-name:champ-activity-sheet-in}.champ-activity-panel>div{overscroll-behavior:contain}.champ-activity-panel footer{padding-bottom:env(safe-area-inset-bottom)}@keyframes champ-activity-sheet-in{from{transform:translateY(100%)}}}@media(prefers-reduced-motion:reduce){.champ-activity-panel{animation:none}}
.champ-activity-stack .champ-activity-toggle{bottom:var(--activity-bottom,92px)}
.champ-activity-stack .champ-activity-toast,.champ-activity-stack .champ-activity-panel{bottom:calc(var(--activity-bottom,92px) + 54px)}
@media(max-width:600px){.champ-activity-stack .champ-activity-toggle{bottom:calc(var(--activity-bottom,76px) + env(safe-area-inset-bottom))}.champ-activity-stack .champ-activity-toast,.champ-activity-stack .champ-activity-panel{bottom:calc(var(--activity-bottom,76px) + 50px + env(safe-area-inset-bottom))}}

/* Gift preview and live activity use the site's actual theme tokens. */
.champ-gift-preview-modal{background:linear-gradient(145deg,color-mix(in srgb,var(--gift-glow) 10%,var(--bg-elevated)),var(--bg-elevated) 48%);color:var(--fg-1)}
.champ-gift-preview-close{background:var(--bg);color:var(--fg-1)}
.champ-gift-preview-copy h2{color:var(--fg-1)}
.champ-gift-preview-facts>span,.champ-gift-preview-counts>span{border-color:color-mix(in srgb,var(--gift-glow) 35%,var(--border-gold))}
.champ-gift-preview-related .champ-gift-click{background:var(--bg)}
.champ-gift-preview-art>span{aspect-ratio:1}
.champ-gift-preview-art>span :where(picture,img){display:block;width:100%;height:100%;object-fit:contain}
.champ-badge-preview{border-color:var(--border-gold);background:var(--bg-elevated);color:var(--fg-1)}
.champ-activity-toggle{border-color:color-mix(in srgb,var(--accent) 35%,var(--border-gold));background:color-mix(in srgb,var(--bg-elevated) 94%,transparent);color:var(--fg-1)}
.champ-activity-toast{border-color:var(--border-gold);background:color-mix(in srgb,var(--bg-elevated) 96%,transparent);color:var(--fg-1)}
.champ-activity-art,.champ-activity-panel>div>button:hover{background:var(--bg)}
.champ-activity-toast a,.champ-activity-panel>div>button{color:var(--fg-1)}
.champ-activity-panel{border-color:var(--border-gold);background:var(--bg-elevated);color:var(--fg-1)}
.champ-activity-panel footer{border-color:var(--border-gold)}
@media(min-width:701px){body:has(.champ-corner-shell) :is(.champ-activity-toggle,.champ-activity-toast,.champ-activity-panel){right:clamp(300px,22vw,420px)}}
@media(max-width:600px){.champ-gift-preview-art{min-height:180px;max-height:180px}.champ-gift-preview-art>span{width:min(48%,170px)}.champ-gift-preview-copy{gap:10px}.champ-gift-preview-related{display:none}}

/* Ingredient art opens a preview; the surrounding control keeps selection or purchase. */
:is(.champ-chest-contents .champ-scene-item-art img,.champ-alchemy-slot-art,.champ-alchemy-picker-image,.champ-alchemy-picker-shop article>img,.champ-ux-catalog-example-image)[role="button"]{cursor:zoom-in;border-radius:10px}
:is(.champ-chest-contents .champ-scene-item-art img,.champ-alchemy-slot-art,.champ-alchemy-picker-image,.champ-alchemy-picker-shop article>img,.champ-ux-catalog-example-image)[role="button"]:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
/* Layout audit: let long names and instructions shrink inside their cards. */
.champ-chest-feed{min-width:0}
@media(min-width:1200px){.champ-chest-feed{grid-template-columns:repeat(2,minmax(0,1fr))}}
.champ-chest-feed p{min-width:0;max-width:100%;overflow-wrap:anywhere}
.champ-rules-help{min-width:0;max-width:100%}
.champ-rules-help .champ-task-button-wrap{display:flex;min-width:0;max-width:100%}
.champ-rules-help .champ-task-trigger{flex:1 1 auto;min-width:0;white-space:normal;overflow-wrap:anywhere}
.champ-guide-boxes{min-width:0}
.champ-guide-boxes>div{min-width:0;max-width:100%}
.champ-guide-boxes>div :is(b,small,p){min-width:0;max-width:100%;overflow-wrap:anywhere}
.champ-task-button-wrap{min-width:0}
.champ-task-trigger{flex:1 1 auto;min-width:0;white-space:normal;overflow-wrap:anywhere}
.champ-weekly-tasks p>.champ-task-button-wrap{flex:1 1 auto;min-width:0}
.champ-stat-tile{min-width:0}
.champ-stat-tile>div{min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr)}
.champ-stat-tile>div :is(small,strong,span){min-width:0;max-width:100%;overflow-wrap:anywhere}
.champ-content .champ-fighter-name .nick-line .champ-name-unit{flex:0 1 auto!important;width:max-content;min-width:0;max-width:100%;gap:6px}
.champ-content .champ-fighter-name .nick-line .champ-name-unit .nick-fit-text{flex:0 1 auto!important;min-width:0}
.champ-content .champ-scout-card-main>.champ-power.portrait-rating{width:max-content;max-width:none;flex:none}

@media(max-width:640px){
  .site-footer .cols>div>a{display:flex;align-items:center;justify-content:center;min-height:44px}
  .workshop-index-chip{min-height:44px;justify-content:center;text-align:center}
  .obraz-chip{min-height:44px}
  .kit-author-link{display:inline-flex;align-items:center;min-height:44px}
  .house-link-btn{display:inline-flex;align-items:center;min-height:44px;border-bottom:0;text-decoration:underline;text-underline-offset:2px}
  .champ-back-inner ol a{display:inline-flex;align-items:center;min-height:44px}
  .champ-messages-preview{display:flex;align-items:center;min-height:44px;min-width:0}
  .champ-messages-preview small{min-width:0;max-width:100%}
}
body:has(.champ-player-dialog-backdrop) .champ-gift-overlay,
body:has(.champ-chest-scene) .champ-gift-overlay { z-index:calc(var(--layer-dialog,12000) + 1); }
.champ-scene-action-note{max-width:560px;color:#ffd2c6!important;letter-spacing:0!important;text-transform:none!important}
.champ-after-action button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 12px; border:1px solid var(--border-gold); border-radius:9px; background:transparent; color:var(--fg-1); font:inherit; font-weight:700; cursor:pointer; }
.champ-after-action button:hover,.champ-after-action button:focus-visible { border-color:var(--accent); }

/* Chest artwork is the same HD series in cards, guest reveal and opening scene. */
.champ-chest-scene .champ-scene-pedestal{width:min(82vw,500px);height:min(48vh,390px);min-height:min(48vh,240px);margin:0 auto 8px}
.champ-chest-scene .champ-scene-pedestal .champ-spin-viewer{width:100%;height:100%;max-height:48vh}
.champ-chest-scene .champ-spin-viewer.is-chest .champ-spin-face{inset:2% 1% 4%}
.champ-chest-scene .champ-spin-viewer.is-chest .champ-spin-side{border:0;background:none;padding:0;box-shadow:none}
.champ-spin-viewer.is-chest .champ-spin-front,.champ-spin-viewer.is-chest .champ-chest-art{backface-visibility:visible}
.champ-spin-viewer.is-chest .champ-chest-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;animation:champ-scene-sway 5s ease-in-out infinite!important;filter:drop-shadow(0 22px 18px #020713aa) drop-shadow(0 0 25px rgba(var(--scene-rgb),.38))!important}
.champ-spin-viewer.is-chest .champ-spin-podium{display:none}
.champ-chest-scene.phase-shake .champ-scene-pedestal{animation:champ-scene-rattle 1.2s both}
.champ-chest-scene.phase-shake .champ-spin-viewer.is-chest .champ-chest-art{animation:champ-scene-impact 1.2s both!important}
.champ-chest-scene.phase-burst .champ-spin-viewer.is-chest .champ-chest-art{animation:champ-scene-open-hit .42s ease-out both!important}
.champ-chest-scene .champ-spin-viewer.is-chest .champ-spin-hint{display:none}
.champ-chest-scene .champ-scene-center{padding:0 12px calc(12px + env(safe-area-inset-bottom))}
.champ-chest-scene .champ-scene-center h2{margin-bottom:10px}
@media(max-width:640px){.champ-chest-scene .champ-scene-pedestal{width:min(88vw,500px);height:min(48vh,360px)}.champ-chest-scene .champ-scene-open{min-height:48px;padding:10px 20px;font-size:clamp(16px,4.8vw,20px)}}
@media(prefers-reduced-motion:reduce){.champ-spin-viewer.is-chest .champ-chest-art,.champ-chest-scene.phase-shake .champ-scene-pedestal{animation:none!important}}

/* Guest reveal keeps the recovery code and login action inside the safe viewport. */
.champ-guest-scene{padding-bottom:calc(16px + env(safe-area-inset-bottom));overscroll-behavior:contain}
.champ-guest-dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-bottom));padding-bottom:calc(24px + env(safe-area-inset-bottom));scrollbar-gutter:stable}
.champ-guest-chest{filter:drop-shadow(0 0 20px var(--guest-glow,#e8bf71))}
.champ-guest-chest.seal-1>img,.champ-guest-chest.seal-2>img{animation:guest-shiver .25s ease-in-out}
.champ-guest-prize h3{color:var(--guest-glow,#f5d99e)}
.champ-guest-prize small{display:block;padding-bottom:2px}
@media(max-width:600px){.champ-guest-dialog{max-height:calc(100dvh - 24px - env(safe-area-inset-bottom));padding-bottom:calc(14px + env(safe-area-inset-bottom))}}
@media(max-width:600px) and (max-height:850px){.champ-guest-scene{padding:8px 8px calc(12px + env(safe-area-inset-bottom))}.champ-guest-dialog{padding-top:10px}.champ-guest-prize{margin:2px auto}.champ-guest-prize .champ-games-button{min-height:44px}}

/* Guest gift: independent art frames, tactile selection and lootbox-style reveal. */
.champ-guest-boxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;width:min(100%,780px);gap:clamp(6px,2vw,20px);margin:clamp(10px,3vh,28px) auto;padding-top:clamp(18px,3vw,36px);perspective:1000px;overflow:visible}
.champ-guest-boxes button{position:relative;width:auto;min-width:0;border:0;background:transparent;color:#f7df9f;padding:4px;overflow:visible;cursor:pointer;transform-style:preserve-3d;transition:opacity .45s ease,filter .45s ease,transform .45s cubic-bezier(.2,.8,.2,1)}
.champ-guest-box:focus-visible{outline:3px solid #fff3b0;outline-offset:4px;border-radius:16px}
.champ-guest-boxes button:disabled{cursor:default}.champ-guest-box-label{display:block;margin-top:-5px;font:700 clamp(12px,1.7vw,17px)/1.2 Cinzel,Georgia,serif;text-shadow:0 2px 8px #000}
.champ-guest-box-art{position:relative;display:block;aspect-ratio:1;transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transform-style:preserve-3d;transition:transform .12s ease-out;animation:guest-box-breathe 4.2s ease-in-out infinite;will-change:transform}
.champ-guest-boxes button:nth-child(2) .champ-guest-box-art{animation-delay:-1.35s}.champ-guest-boxes button:nth-child(3) .champ-guest-box-art{animation-delay:-2.7s}
.champ-guest-box-img{display:block;width:100%!important;max-width:100%!important;height:100%!important;object-fit:contain;transform:none!important;filter:drop-shadow(0 12px 12px #0008) drop-shadow(0 0 10px #519cff55);user-select:none}
.champ-guest-box-art::before{content:'';position:absolute;z-index:2;inset:12% 5%;background:linear-gradient(112deg,transparent 35%,#fff0 43%,#fff8 50%,#fff0 57%,transparent 65%);transform:translateX(-120%) skewX(-12deg);mix-blend-mode:screen;pointer-events:none}
.champ-guest-boxes button:is(:hover,:focus-visible) .champ-guest-box-art::before{animation:guest-gold-glint .85s ease-out}.champ-guest-box-glow{position:absolute;inset:14%;border-radius:50%;background:radial-gradient(circle,#74b7ff55,transparent 68%);filter:blur(15px);opacity:.55;animation:guest-gem-pulse 2.2s ease-in-out infinite;pointer-events:none}
.champ-guest-boxes.has-choice button:not(.is-selected){opacity:.18;filter:grayscale(.8) brightness(.45);transform:translateX(calc((var(--guest-side,0))*25px)) scale(.83)}
.champ-guest-boxes.has-choice button:first-child:not(.is-selected){--guest-side:-1}.champ-guest-boxes.has-choice button:last-child:not(.is-selected){--guest-side:1}
.champ-guest-boxes.has-choice button.is-selected{z-index:4}.champ-guest-boxes.has-choice button.is-selected .champ-guest-box-art{scale:1.22}.champ-guest-boxes.has-choice:not(.phase-choose) button strong{visibility:hidden}
.champ-guest-dialog.is-page-hidden *{animation-play-state:paused!important}
.champ-guest-boxes.phase-selected button.is-selected .champ-guest-box-art{animation:guest-box-shake .8s .15s both}.champ-guest-boxes.phase-ajar button.is-selected .champ-guest-box-art,.champ-guest-boxes.phase-open button.is-selected .champ-guest-box-art,.champ-guest-boxes.phase-reveal button.is-selected .champ-guest-box-art{animation:none;filter:drop-shadow(0 0 26px #ffd66dcc)}
.champ-guest-boxes.phase-open button.is-selected::before,.champ-guest-boxes.phase-reveal button.is-selected::before{content:'';position:absolute;z-index:-1;inset:-25%;background:conic-gradient(from 8deg,transparent,#ffe89955,transparent 12%,#8bc9ff55,transparent 27%,#ffe89955,transparent 44%);border-radius:50%;animation:guest-rays .8s ease-out both;filter:blur(3px)}
.champ-guest-rising-prize{position:absolute;z-index:7;left:50%;top:0;width:38%;aspect-ratio:1;transform:translate(-50%,-24%);animation:guest-prize-rise .75s cubic-bezier(.2,.8,.2,1) both;filter:drop-shadow(0 0 16px var(--rarity)) drop-shadow(0 0 34px var(--rarity));pointer-events:none}.champ-guest-rising-img{width:100%!important;height:100%!important;object-fit:contain;transform:none!important;filter:none!important}
.champ-guest-dialog>h2,.champ-guest-dialog>p{transition:opacity .28s ease,transform .28s ease}.gift-phase-open>h2,.gift-phase-open>p{opacity:0;transform:translateY(-8px)}.gift-phase-reveal>h2{position:relative;color:transparent}.gift-phase-reveal>h2::after{content:'Сокровище найдено!';position:absolute;inset:0;color:#f5d99e}.gift-phase-reveal>p{opacity:0}
.gift-phase-reveal .champ-guest-dialog::after{content:'';position:absolute;inset:0;pointer-events:none;background:#fff;animation:guest-flash .5s ease-out both;border-radius:inherit}
@keyframes guest-box-breathe{50%{transform:translateY(-7px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}}@keyframes guest-gem-pulse{50%{opacity:1;transform:scale(1.08)}}@keyframes guest-gold-glint{to{transform:translateX(120%) skewX(-12deg)}}@keyframes guest-box-shake{0%,100%{transform:none}18%{transform:translateX(-5px) rotate(-1deg)}36%{transform:translateX(7px) rotate(1.5deg)}55%{transform:translateX(-10px) rotate(-2deg)}73%{transform:translateX(12px) rotate(2deg)}88%{transform:translateX(-5px)}}@keyframes guest-rays{from{opacity:0;transform:scale(.4) rotate(-20deg)}to{opacity:1;transform:scale(1) rotate(8deg)}}@keyframes guest-prize-rise{from{opacity:0;transform:translate(-50%,45%) scale(.5)}to{opacity:1;transform:translate(-50%,-24%) scale(1)}}@keyframes guest-flash{from{opacity:.85}to{opacity:0}}
@media(max-width:600px){.champ-guest-boxes{gap:2px;width:100%;margin:6px auto 10px;padding-top:16px}.champ-guest-boxes button{padding:0}.champ-guest-box-label{font-size:clamp(10px,3.4vw,14px)}.champ-guest-boxes.has-choice button.is-selected .champ-guest-box-art{scale:1.14}}
@media(max-width:340px){.champ-guest-dialog{padding-left:8px;padding-right:8px}.champ-guest-box-label{font-size:10px}.champ-guest-boxes.has-choice button.is-selected .champ-guest-box-art{scale:1.1}}
@media(prefers-reduced-motion:reduce){.champ-guest-box-art,.champ-guest-box-glow,.champ-guest-boxes.phase-selected button.is-selected .champ-guest-box-art,.champ-guest-boxes.phase-open button.is-selected::before,.champ-guest-boxes.phase-reveal button.is-selected::before,.champ-guest-rising-prize,.gift-phase-reveal .champ-guest-dialog::after{animation:none!important}.champ-guest-boxes button,.champ-guest-box-art{transition:opacity .15s linear!important;transform:none!important}}
.champ-guest-dev{min-height:100vh;padding-top:110px}.champ-guest-dev>.container>.champ-guest-dialog{margin:auto;max-height:none;overflow:visible}.champ-guest-dev-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.champ-guest-dev-controls [aria-pressed="true"]{outline:2px solid #ffe095}.champ-guest-dev-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:16px;margin-top:28px}.champ-guest-dev-state{display:grid;grid-template-rows:auto auto 1fr auto;justify-items:center;text-align:center;height:100%}.champ-guest-dev-state>img{width:120px;height:100px;object-fit:contain}.champ-guest-dev-state .champ-games-button{margin-top:auto}.champ-guest-dev-rarities{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}.champ-guest-dev-rarities>h2{grid-column:1/-1}.champ-guest-dev-rarities article{display:grid;justify-items:center;color:var(--rarity);font:700 18px Cinzel,Georgia,serif}.champ-guest-dev-rarity-img{width:180px;max-width:100%;filter:drop-shadow(0 0 18px var(--rarity))}
.champ-guest-dialog>p{color:#d9e2f3}.champ-guest-dev~.dealer-widget,body:has(.champ-guest-dev) :is(.dealer-widget,.champ-corner-shell){display:none!important}
@media(max-width:700px){.champ-guest-dev{padding-top:80px}.champ-guest-dev-grid{grid-template-columns:1fr}.champ-guest-dev-rarities{gap:4px}.champ-guest-dev-rarity-img{width:110px}.champ-guest-dev-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.champ-guest-dev-controls .champ-games-button{min-width:0;padding:8px 2px;font-size:10px}}

/* Печати сундука — главный CTA сцены. Правила ниже намеренно перекрывают старый прототип. */
.champ-seal-ui{position:absolute;z-index:8;inset:0;pointer-events:none}.champ-seal-instruction{position:absolute;left:50%;top:-72px;width:min(92vw,620px);transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:16px;color:#fff4cf;text-shadow:0 2px 12px #000;font-size:clamp(18px,2.2vw,26px)}.champ-seal-progress{display:flex;gap:8px}.champ-seal-dot{position:relative;width:17px;height:17px;border:1px solid #ffdca0;border-radius:42% 55% 46% 52%;background:radial-gradient(circle at 36% 28%,#d85d65,#7e122a 62%,#390713);box-shadow:0 2px 5px #0009;transition:opacity .2s,transform .2s}.champ-seal-dot::after{content:'★';position:absolute;inset:0;display:grid;place-items:center;color:#ffdca0;font-size:8px}.champ-seal-dot.is-off{opacity:.24;transform:scale(.78)}
.champ-seal-ui .champ-guest-seals{bottom:31%;left:50%;gap:clamp(13px,3vw,28px);pointer-events:auto}.champ-seal-button{--wax-hi:#d96770;--wax:#86162d;--wax-deep:#3b0715;position:relative;width:64px!important;height:64px!important;min-width:64px;min-height:64px;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#ffe2ad!important;font:800 17px/1 system-ui;box-shadow:none!important;cursor:pointer;opacity:1!important;isolation:isolate;overflow:visible;touch-action:manipulation}.champ-seal-button:disabled{opacity:1!important}.champ-seal-cord{position:absolute;z-index:-2;left:27px;top:-39px;width:10px;height:137px;border:1px solid #f3dba9;border-radius:8px;background:linear-gradient(90deg,#213955,#8ca9c7 43%,#253f5d 72%,#10253d);box-shadow:0 2px 5px #000c;transform:rotate(var(--cord-angle,-2deg));transform-origin:50% 55%}.champ-seal-button:nth-child(2) .champ-seal-cord{--cord-angle:1deg}.champ-seal-button:nth-child(3) .champ-seal-cord{--cord-angle:3deg}.champ-seal-face,.champ-seal-piece{position:absolute;inset:4px;border:2px solid #ffe8bd;border-radius:45% 55% 48% 53%/52% 44% 56% 48%;background:radial-gradient(circle at 34% 25%,var(--wax-hi),var(--wax) 45%,var(--wax-deep) 78%);box-shadow:inset 0 0 0 4px #5d0d20,inset 0 1px 5px #ffb3a477,0 5px 9px #000b,0 0 0 1px #360510;filter:drop-shadow(0 0 5px #fff3);transform:rotate(-4deg)}.champ-seal-button:nth-child(2) .champ-seal-face{border-radius:53% 44% 55% 46%/45% 57% 46% 54%;transform:rotate(3deg)}.champ-seal-button:nth-child(3) .champ-seal-face{border-radius:46% 56% 43% 57%/56% 45% 54% 44%;transform:rotate(-2deg)}.champ-seal-emblem{position:absolute;inset:12px;width:32px;height:32px;fill:none;stroke:#ffdba2;stroke-width:1.7;stroke-linejoin:round;filter:drop-shadow(0 1px 1px #32040e)}.champ-seal-button>b{position:absolute;z-index:8;right:-1px;bottom:0;width:23px;height:23px;display:grid;place-items:center;border:2px solid #fff0c5;border-radius:7px 9px 8px 10px;color:#3a0914;background:#ffdda0;box-shadow:0 2px 4px #0009;font:900 13px/1 system-ui;transform:rotate(7deg)}.champ-seal-button.is-next{animation:champ-seal-pulse 1.45s ease-in-out infinite}.champ-seal-button:focus-visible{outline:4px solid #fff;outline-offset:5px}.champ-seal-tap{position:absolute;z-index:10;left:50%;top:72px;display:grid;justify-items:center;transform:translateX(-50%);font-size:34px;filter:drop-shadow(0 2px 4px #000);animation:champ-seal-tap .8s ease-in-out infinite}.champ-seal-tap small{font:800 12px/1.1 system-ui;color:#fff4cf;text-transform:uppercase}.champ-seal-crack{position:absolute;z-index:6;inset:0;pointer-events:none}.champ-seal-crack::before{content:'';position:absolute;z-index:7;inset:8px;background:linear-gradient(63deg,transparent 47%,#ffe7b5 48% 50%,transparent 51%),linear-gradient(112deg,transparent 45%,#28030d 46% 49%,transparent 50%);clip-path:polygon(48% 0,62% 26%,51% 46%,67% 67%,43% 100%,38% 72%,49% 51%,35% 29%);animation:champ-seal-crack .56s both}.champ-seal-piece{display:block;inset:4px;opacity:0;box-shadow:inset 0 0 0 4px #5d0d20,0 5px 9px #000a}.champ-seal-piece:nth-child(1){clip-path:polygon(0 0,58% 0,48% 48%,0 62%);animation:champ-seal-shard-a .56s both}.champ-seal-piece:nth-child(2){clip-path:polygon(58% 0,100% 0,100% 70%,48% 48%);animation:champ-seal-shard-b .56s both}.champ-seal-piece:nth-child(3){clip-path:polygon(0 62%,48% 48%,100% 70%,100% 100%,0 100%);animation:champ-seal-shard-c .56s both}.champ-seal-flash{position:absolute;z-index:5;left:50%;top:50%;width:16px;height:16px;border-radius:50%;background:#fff8d4;box-shadow:0 0 24px 12px #ffe394;opacity:0;pointer-events:none}.champ-seal-button.is-broken .champ-seal-face{animation:champ-seal-face-away .56s both}.champ-seal-button.is-broken>b{animation:champ-seal-label-away .56s both}.champ-seal-button.is-broken .champ-seal-cord{animation:champ-seal-cord-slip .56s both}.champ-seal-button.is-broken .champ-seal-flash{animation:champ-seal-flash .56s both}
.champ-guest-dialog>.champ-guest-chest .champ-guest-seals{left:50%;bottom:34%;gap:clamp(12px,4vw,20px)}
.champ-guest-dialog:has(.champ-guest-seals)>p:last-of-type{font-size:0}.champ-guest-dialog:has(.champ-guest-seals)>p:last-of-type::before{content:'👆 Нажми на три печати, чтобы открыть';display:block;font-size:clamp(18px,2.2vw,26px);font-weight:800;color:#fff4cf;text-shadow:0 2px 12px #000}
.champ-seal-crack::before{opacity:0;animation:none}.champ-seal-piece{z-index:8;background:linear-gradient(145deg,#db6570,#86162d 52%,#3b0715)!important;filter:drop-shadow(0 4px 3px #000c);animation:none}.champ-seal-button.is-broken{animation:champ-seal-break-shiver .22s both}.champ-seal-button.is-broken .champ-seal-crack::before{animation:champ-seal-crack .56s both}.champ-seal-button.is-broken .champ-seal-piece:nth-child(1){animation:champ-seal-shard-a .56s both}.champ-seal-button.is-broken .champ-seal-piece:nth-child(2){animation:champ-seal-shard-b .56s both}.champ-seal-button.is-broken .champ-seal-piece:nth-child(3){animation:champ-seal-shard-c .56s both}
@keyframes champ-seal-pulse{50%{transform:translateY(-2px) scale(1.06);filter:drop-shadow(0 0 12px #ff8091)}}@keyframes champ-seal-tap{50%{transform:translate(-50%,-9px)}}@keyframes champ-seal-break-shiver{0%,55%,100%{transform:none}25%{transform:translateX(-3px) rotate(-3deg)}42%{transform:translateX(3px) rotate(3deg)}}@keyframes champ-seal-crack{0%,21%{opacity:0;transform:scaleY(.1)}27%,62%{opacity:1;transform:scaleY(1)}to{opacity:0}}@keyframes champ-seal-face-away{0%,38%{opacity:1}39%,100%{opacity:0}}@keyframes champ-seal-shard-a{0%,38%{opacity:0;transform:none}39%{opacity:1}to{opacity:0;transform:translate3d(-30px,50px,0) rotate(-78deg)}}@keyframes champ-seal-shard-b{0%,38%{opacity:0;transform:none}39%{opacity:1}to{opacity:0;transform:translate3d(31px,43px,0) rotate(92deg)}}@keyframes champ-seal-shard-c{0%,38%{opacity:0;transform:none}39%{opacity:1}to{opacity:0;transform:translate3d(4px,62px,0) rotate(54deg)}}@keyframes champ-seal-cord-slip{0%,38%{opacity:1;transform:rotate(var(--cord-angle,-2deg))}to{opacity:0;transform:translate3d(10px,55px,0) rotate(16deg)}}@keyframes champ-seal-label-away{0%,38%{opacity:1}to{opacity:0;transform:translate3d(16px,38px,0) rotate(48deg)}}@keyframes champ-seal-flash{0%,37%,100%{opacity:0;transform:translate(-50%,-50%) scale(.2)}39%{opacity:.95;transform:translate(-50%,-50%) scale(1)}58%{opacity:0;transform:translate(-50%,-50%) scale(2.2)}}
@keyframes champ-seal-shard-a{0%,38%{opacity:0;transform:none}39%,72%{opacity:1}to{opacity:0;transform:translate3d(-30px,50px,0) rotate(-78deg)}}@keyframes champ-seal-shard-b{0%,38%{opacity:0;transform:none}39%,72%{opacity:1}to{opacity:0;transform:translate3d(31px,43px,0) rotate(92deg)}}@keyframes champ-seal-shard-c{0%,38%{opacity:0;transform:none}39%,72%{opacity:1}to{opacity:0;transform:translate3d(4px,62px,0) rotate(54deg)}}
@media(max-width:600px){.champ-seal-button{width:56px!important;height:56px!important;min-width:56px;min-height:56px}.champ-seal-face,.champ-seal-piece{inset:3px}.champ-seal-emblem{inset:10px;width:30px;height:30px}.champ-seal-cord{left:24px;top:-32px;height:119px}.champ-seal-instruction{top:-62px;font-size:18px;gap:9px}.champ-guest-dialog>.champ-guest-chest .champ-guest-seals{gap:12px}}
@media(prefers-reduced-motion:reduce){.champ-seal-button{animation:none!important}.champ-seal-tap{animation:none!important}.champ-seal-button.is-broken .champ-seal-face,.champ-seal-button.is-broken>b,.champ-seal-button.is-broken .champ-seal-cord{animation:champ-seal-soft-away .3s both!important}.champ-seal-button.is-broken .champ-seal-crack,.champ-seal-button.is-broken .champ-seal-flash{display:none}.champ-seal-piece{animation:none!important}@keyframes champ-seal-soft-away{to{opacity:0;transform:scale(.92)}}}
.champ-seal-crack::before{z-index:10;inset:auto;left:var(--crack-x,50%);top:var(--crack-y,42%);width:42px;height:52px;background:linear-gradient(101deg,transparent 44%,#fff4bc 46% 51%,#b76e20 53% 56%,transparent 58%);clip-path:polygon(44% 0,64% 22%,46% 39%,70% 58%,42% 100%,35% 67%,51% 48%,31% 28%);filter:drop-shadow(0 0 2px #ffb940) drop-shadow(0 1px 1px #3d080b);transform:translate(-50%,-12%) scaleY(0);transform-origin:50% 0}.champ-seal-piece{background:radial-gradient(circle at 34% 25%,var(--wax-hi),var(--wax) 45%,var(--wax-deep) 78%)!important;box-shadow:inset 0 0 0 4px #5d0d20,inset 0 1px 5px #ffb3a477,0 5px 9px #000a}.champ-seal-piece:nth-child(1){clip-path:polygon(0 0,61% 0,50% 27%,43% 50%,0 43%)}.champ-seal-piece:nth-child(2){clip-path:polygon(61% 0,100% 0,100% 58%,67% 53%,43% 50%,50% 27%)}.champ-seal-piece:nth-child(3){clip-path:polygon(0 43%,43% 50%,52% 72%,34% 100%,0 100%)}.champ-seal-piece:nth-child(4){clip-path:polygon(43% 50%,67% 53%,100% 58%,100% 100%,34% 100%,52% 72%)}.champ-seal-piece .champ-seal-emblem{inset:8px;width:40px;height:40px}.champ-seal-flash{z-index:7;width:12px;height:12px;background:#ffd578;box-shadow:0 0 16px 7px #ffb642aa}.champ-seal-button.is-broken{animation:champ-seal-break-shiver-v3 .6s both}.champ-seal-button.is-broken .champ-seal-face{animation:champ-seal-face-away-v3 .6s both}.champ-seal-button.is-broken>b{animation:champ-seal-label-away-v3 .6s both}.champ-seal-button.is-broken .champ-seal-cord{animation:champ-seal-cord-slip-v3 .6s both}.champ-seal-button.is-broken .champ-seal-flash{animation:champ-seal-flash-v3 .6s both}.champ-seal-button.is-broken .champ-seal-crack::before{animation:champ-seal-crack-v3 .6s both}.champ-seal-button.is-broken .champ-seal-piece:nth-child(1){animation:champ-seal-shard-a-v3 .6s both}.champ-seal-button.is-broken .champ-seal-piece:nth-child(2){animation:champ-seal-shard-b-v3 .6s both}.champ-seal-button.is-broken .champ-seal-piece:nth-child(3){animation:champ-seal-shard-c-v3 .6s both}.champ-seal-button.is-broken .champ-seal-piece:nth-child(4){animation:champ-seal-shard-d-v3 .6s both}
@keyframes champ-seal-break-shiver-v3{0%,20%{transform:none}4%{transform:translate3d(-4px,1px,0) rotate(-4deg)}9%{transform:translate3d(4px,-1px,0) rotate(4deg)}14%{transform:translate3d(-3px,-1px,0) rotate(-3deg)}18%{transform:translate3d(3px,1px,0) rotate(3deg)}to{transform:none}}@keyframes champ-seal-crack-v3{0%,13%{opacity:0;transform:translate(-50%,-12%) scaleY(0)}16%{opacity:1}30%{opacity:1;transform:translate(-50%,-12%) scaleY(1)}40%,100%{opacity:0;transform:translate(-50%,-12%) scaleY(1)}}@keyframes champ-seal-face-away-v3{0%,30%{opacity:1}30.1%,100%{opacity:0}}@keyframes champ-seal-shard-a-v3{0%,30%{opacity:0;transform:none}30.1%,80%{opacity:1}55%{transform:translate3d(-28px,-13px,0) rotate(-25deg)}80%{transform:translate3d(-47px,10px,0) rotate(-43deg)}to{opacity:0;transform:translate3d(-60px,58px,0) rotate(-58deg)}}@keyframes champ-seal-shard-b-v3{0%,30%{opacity:0;transform:none}30.1%,80%{opacity:1}55%{transform:translate3d(26px,-10px,0) rotate(28deg)}80%{transform:translate3d(48px,14px,0) rotate(43deg)}to{opacity:0;transform:translate3d(65px,63px,0) rotate(59deg)}}@keyframes champ-seal-shard-c-v3{0%,30%{opacity:0;transform:none}30.1%,80%{opacity:1}55%{transform:translate3d(-22px,22px,0) rotate(22deg)}80%{transform:translate3d(-38px,47px,0) rotate(38deg)}to{opacity:0;transform:translate3d(-48px,92px,0) rotate(54deg)}}@keyframes champ-seal-shard-d-v3{0%,30%{opacity:0;transform:none}30.1%,80%{opacity:1}55%{transform:translate3d(22px,20px,0) rotate(-27deg)}80%{transform:translate3d(39px,45px,0) rotate(-44deg)}to{opacity:0;transform:translate3d(52px,94px,0) rotate(-60deg)}}@keyframes champ-seal-cord-slip-v3{0%{opacity:1;transform:rotate(var(--cord-angle,-2deg))}25%{opacity:1;transform:translate3d(5px,28px,0) rotate(10deg)}33%,100%{opacity:0;transform:translate3d(12px,58px,0) rotate(19deg)}}@keyframes champ-seal-label-away-v3{0%,30%{opacity:1}55%,100%{opacity:0;transform:translate3d(16px,38px,0) rotate(48deg)}}@keyframes champ-seal-flash-v3{0%,30%,44%,100%{opacity:0;transform:translate(-50%,-50%) scale(.3)}32%{opacity:.72;transform:translate(-50%,-50%) scale(.8)}38%{opacity:.35;transform:translate(-50%,-50%) scale(1.7)}}
@media(prefers-reduced-motion:reduce){.champ-seal-button.is-broken{animation:none!important}.champ-seal-button.is-broken .champ-seal-face,.champ-seal-button.is-broken>b,.champ-seal-button.is-broken .champ-seal-cord{animation:champ-seal-soft-away .3s both!important}.champ-seal-button.is-broken .champ-seal-piece{animation:none!important}}
.champ-seals-dev{min-height:100vh;padding-top:120px}.champ-seals-dev-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.champ-seals-dev-card{border:1px solid var(--gold,#b89555);border-radius:18px;background:var(--card-bg,#0b1c35);color:var(--text,#f5e9cf);overflow:hidden}.champ-seals-dev-card header{display:flex;justify-content:space-between;padding:14px 18px}.champ-seals-dev-stage{position:relative;height:340px;display:grid;place-items:center;background:radial-gradient(circle,#244c75,#071327 72%)}.champ-seals-dev-stage>img{width:min(80%,400px);height:90%;object-fit:contain}.champ-seals-dev-stage .champ-seal-ui{inset:55px 0 0}.champ-seals-dev-stage .champ-seal-instruction{top:-45px;width:calc(100% - 24px);font-size:20px;line-height:1.15}.champ-seals-dev-stage .champ-guest-seals{bottom:38%}@media(max-width:700px){.champ-seals-dev{padding-top:90px}.champ-seals-dev-grid{grid-template-columns:1fr}.champ-seals-dev-stage{height:280px}.champ-seals-dev-stage .champ-seal-instruction{top:-50px;width:94%;font-size:17px;flex-direction:column;gap:5px}}

/* Balance-card actions keep words intact and reserve a separate help circle. */
.champ-games-player-stats{grid-auto-rows:1fr;align-items:stretch}
.champ-games-player-stats .champ-stat-tile{height:100%}
.champ-games-player-stats .champ-stat-tile>div{width:100%;min-width:0}
.champ-games-player-stats .champ-stat-tile small{min-height:calc(var(--card-description-lines) * 1lh)}
.champ-games-player-stats .champ-stat-tile :is(a,.champ-rules-help){margin-top:auto;padding-top:var(--space-2)}
.champ-rules-help{width:100%}
.champ-rules-help .champ-task-button-wrap{display:flex;width:100%;min-width:0;align-items:center;gap:6px}
.champ-rules-help .champ-task-trigger,.champ-task-trigger{flex:1 1 auto;min-width:0;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:manual}
.champ-rules-help .champ-task-help{flex:none!important}
.champ-rules-help .champ-games-link{display:block;max-width:100%;overflow-wrap:normal;word-break:normal;hyphens:manual}
.champ-games-player-stats .champ-stat-tile :is(.champ-task-trigger,.champ-games-link){overflow-wrap:normal;word-break:normal;hyphens:manual}
.champ-guide-levels{grid-auto-rows:1fr;align-items:stretch}
.champ-guide-levels>div{height:100%}
.champ-guide-levels>div :is(span,small){min-height:calc(var(--card-description-lines) * 1lh)}
.champ-profile-chests-grid{grid-auto-rows:1fr;align-items:stretch}
.champ-profile-chest{height:100%}
.champ-games-player-stats .champ-games-button,.champ-profile-chest .champ-games-button,.champ-quick-grid a{min-width:0;max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:manual}
@media(max-width:900px){.champ-games-player-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.champ-games-player-stats{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.champ-rules-help{display:grid;gap:5px}.champ-rules-help .champ-task-button-wrap,.champ-rules-help .champ-games-link{width:100%}}
.champ-chest-scene .champ-scene-prompt{display:grid;justify-items:center;align-content:start;min-height:116px}
.champ-chest-scene .champ-scene-prompt.is-hidden,.champ-chest-scene .champ-chest-spin-hint.is-hidden{visibility:hidden;pointer-events:none}
.champ-chest-scene .champ-chest-spin-hint{min-height:18px}

/* Позови друга */
.champ-games-auth-primary-note{margin:-5px 0 3px;color:var(--fg-2);font-size:13px;line-height:1.45;text-align:center}.champ-games-auth-qr{width:220px!important;padding:12px!important;background:var(--bg-elevated)!important}.champ-games-auth-qr:not(.is-open){align-self:center}.champ-games-auth-qr>button{border:0;background:transparent;color:var(--accent);font:700 14px/1.35 var(--font-sans);text-decoration:underline;text-underline-offset:3px;cursor:pointer}.champ-games-auth-qr svg{width:164px!important;height:164px!important}.champ-games-auth-qr p{color:var(--fg-2)}.champ-games-auth-manual{margin-top:3px;padding:11px 13px!important}.champ-games-auth-manual summary{color:var(--fg-2);font-weight:700;cursor:pointer}.champ-games-auth-manual p{font-size:13px}.champ-games-auth-code{margin-top:4px;padding-top:15px;border-top:1px solid var(--border-1)}
@media(max-width:899px),(pointer:coarse){.champ-games-auth-layout{grid-template-columns:minmax(0,1fr)!important}.champ-games-auth-qr{display:none!important}}

.champ-referral-dev{hyphens:auto}
.champ-referral-card{display:grid;gap:1rem;max-width:100%;overflow-wrap:anywhere;hyphens:auto}
.champ-referral-head{display:flex;align-items:center;gap:.8rem}
.champ-referral-head h2{margin:.15rem 0 0}
.champ-referral-benefit{font-size:clamp(1.25rem,2.2vw,1.8rem);line-height:1.22;color:var(--fg-1)}
.champ-referral-greeting{padding:.7rem 1rem;border:1px solid var(--gold,#bd9958);border-radius:12px;background:rgba(179,138,62,.1);line-height:1.5}
.champ-referral-link{display:grid;grid-template-columns:1fr auto;gap:.55rem;align-items:end}
.champ-referral-link label{grid-column:1/-1;font-weight:700}
.champ-referral-link input{grid-column:1/-1;min-width:0;width:100%;min-height:44px;border:1px solid currentColor;border-radius:9px;padding:0 .8rem;background:transparent;color:inherit;font:inherit}
.champ-referral-link button{min-height:44px}
.champ-referral-progress>div:first-child{display:flex;justify-content:space-between;gap:1rem}
.champ-referral-track{height:12px;margin-top:.55rem;border-radius:999px;background:rgba(155,137,107,.28);overflow:hidden}
.champ-referral-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#a67635,#e7bf68)}
.champ-referral-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}
.champ-referral-stats>div{display:grid;text-align:center;padding:.7rem;border:1px solid rgba(155,137,107,.36);border-radius:12px}
.champ-referral-stats b{font-size:1.5rem}.champ-referral-stats small{font-size:.78rem}
.champ-referral-friends h3{margin:0 0 .5rem}.champ-referral-friends>div{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.55rem 0;border-top:1px solid rgba(155,137,107,.24)}
.champ-referral-friends>div span{flex:1;opacity:.78}.champ-referral-friends>div small{text-align:right}
.champ-referral-nudge{display:flex;align-items:center;gap:.7rem;min-width:0;padding:.7rem .85rem;border:1px solid var(--border-gold,#b89b64);border-radius:12px;background:rgba(174,131,55,.1);color:inherit}
.champ-referral-nudge span{flex:1;min-width:0;overflow-wrap:anywhere}.champ-referral-nudge button{min-height:44px;flex:none}
.champ-referral-nudge-card{flex-direction:column;align-items:flex-start}.champ-referral-nudge-banner{width:100%;justify-content:center}
.champ-referral-overlay{position:fixed;inset:0;z-index:var(--layer-referral);display:grid;place-items:center;padding:16px;background:rgba(5,8,18,.7);overflow-y:auto}
.champ-referral-dialog{position:relative;width:min(100%,640px);max-height:calc(100dvh - 32px);overflow-y:auto;padding:clamp(18px,4vw,32px);border:1px solid var(--border-gold,#b89b64);border-radius:18px;background:var(--bg-elevated);color:var(--fg-1);box-shadow:0 20px 70px rgba(0,0,0,.4)}
.champ-referral-close{position:absolute;right:12px;top:12px;min-width:44px;min-height:44px}.champ-referral-dialog-tabs,.champ-referral-dialog-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.champ-referral-dialog-tabs button,.champ-referral-dialog-actions button{min-height:44px}.champ-referral-dialog-tabs button[aria-selected=true]{border-bottom:2px solid currentColor}
.champ-referral-dialog label{display:grid;gap:6px}.champ-referral-dialog input{width:100%;min-width:0;min-height:44px;padding:8px;background:transparent;color:inherit;border:1px solid currentColor;border-radius:8px}.champ-referral-dialog-friends p{display:flex;justify-content:space-between;gap:12px;min-width:0;overflow-wrap:anywhere;border-top:1px solid currentColor;padding:8px 0}
.champ-referral-summary,.champ-referral-invite-text{padding:.75rem;border:1px solid var(--border-1);border-radius:10px;background:var(--bg-soft)}
.champ-referral-invite-text{white-space:pre-wrap;overflow-wrap:anywhere}
.champ-referral-rewards,.champ-referral-ladder{display:grid;gap:.55rem;padding:0;list-style:none}
.champ-referral-rewards li,.champ-referral-ladder li{display:flex;justify-content:space-between;gap:1rem;padding:.65rem .75rem;border:1px solid var(--border-1);border-radius:10px}
.champ-referral-rewards li span,.champ-referral-ladder li span{min-width:0;overflow-wrap:anywhere}
.champ-referral-rewards li b,.champ-referral-ladder li b{flex:none;text-align:right}
@media(max-width:480px){.champ-referral-nudge{flex-wrap:wrap}.champ-referral-nudge button{width:100%}.champ-referral-rewards li,.champ-referral-ladder li{display:grid}.champ-referral-rewards li b,.champ-referral-ladder li b{text-align:left}}
@media(prefers-reduced-motion:reduce){.champ-referral-overlay,.champ-referral-dialog,.champ-referral-nudge{animation:none;transition:none}}
.champ-action-notice{display:grid;gap:.7rem;padding:.85rem;border:1px solid var(--border-gold,#b89b64);border-radius:14px;background:rgba(174,131,55,.1)}.champ-action-notice>div:first-child{display:grid;gap:.2rem}.champ-action-notice-paths{display:flex;gap:.55rem;flex-wrap:wrap}.champ-action-notice-paths .champ-games-button{min-height:44px}
@media(max-width:660px){.champ-referral-link{grid-template-columns:1fr 1fr}.champ-referral-link input{grid-column:1/-1}.champ-referral-link button{width:100%}.champ-referral-friends>div{flex-wrap:wrap}}

.champ-referral-leaders{display:grid;gap:8px;padding-left:0;list-style:none}.champ-referral-leaders li{display:flex;gap:12px;align-items:center;flex-wrap:wrap;min-width:0;padding:12px;border:1px solid var(--border-1);border-radius:10px;background:var(--bg-elevated)}.champ-referral-leaders li strong{flex:1;min-width:100px;overflow-wrap:anywhere}.champ-referral-leaders li b{color:var(--accent)}
.champ-referral-page{padding-top:1rem}.champ-referral-experience{display:grid;gap:1.1rem;max-width:1080px;margin:auto}.champ-referral-hero{position:relative;display:grid;min-height:360px;overflow:hidden;border:1px solid var(--border-gold,#b89b64);border-radius:24px;background:#07152f;color:#fff;box-shadow:0 20px 55px rgba(3,12,30,.28)}.champ-referral-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,10,27,.94) 0%,rgba(3,10,27,.7) 43%,rgba(3,10,27,.04) 78%)}.champ-referral-hero>img{position:absolute;width:100%;height:100%;object-fit:cover}.champ-referral-hero>div{position:relative;z-index:1;display:grid;align-content:center;gap:.7rem;width:min(58%,620px);padding:clamp(24px,5vw,60px)}.champ-referral-hero h1{margin:0;font-size:clamp(2rem,4vw,3.4rem);line-height:1.02}.champ-referral-hero strong{font-size:clamp(1.15rem,2vw,1.55rem);color:#f5cd72}.champ-referral-hero strong .champ-ico{vertical-align:middle}.champ-referral-tabs{display:flex;gap:.6rem}.champ-referral-tabs [aria-selected=true]{color:var(--fg-1);border-color:var(--border-gold);box-shadow:inset 0 -3px #d9aa4d}.champ-referral-share{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:1rem}.champ-referral-share>div,.champ-referral-path,.champ-referral-ladder-new,.champ-referral-friends-new{padding:clamp(16px,3vw,28px);border:1px solid var(--border-1);border-radius:18px;background:var(--bg-elevated)}.champ-referral-preview small{font-weight:700;color:var(--accent)}.champ-referral-preview-text{margin:.6rem 0 0;padding:1rem;border-radius:12px;background:var(--bg-soft);white-space:pre-wrap}.champ-referral-path ol{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;padding:0;list-style:none}.champ-referral-path ol:before{content:"";position:absolute;left:12%;right:12%;top:23px;height:3px;background:linear-gradient(90deg,#d19a39,#4e83c4)}.champ-referral-path-step{position:relative;display:grid;justify-items:center;gap:.45rem;text-align:center}.champ-referral-path-step>i{z-index:1;display:grid;place-items:center;width:46px;height:46px;border:3px solid #e9bf6a;border-radius:50%;background:var(--bg-elevated);font-style:normal;font-weight:800}.champ-referral-path-reward{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.25rem;color:var(--fg-2)}.champ-referral-ladder-new{position:relative}.champ-referral-ladder-new ol{display:grid;grid-template-columns:repeat(4,1fr);padding:0;list-style:none}.champ-referral-ladder-step{z-index:1;display:grid;justify-items:center;gap:.25rem;text-align:center}.champ-referral-ladder-node{width:20px;height:20px;border:4px solid var(--bg-elevated);border-radius:50%;background:#70819d;box-shadow:0 0 0 2px #70819d}.champ-referral-ladder-step.is-earned .champ-referral-ladder-node{background:#e5ae45;box-shadow:0 0 0 2px #e5ae45}.champ-referral-ladder-step.is-earned strong,.champ-referral-ladder-step.is-earned span{color:#b17a18}.champ-referral-ladder-line{position:absolute;left:12%;right:12%;top:107px;height:4px;border-radius:9px;background:var(--bg-soft)}.champ-referral-ladder-fill{display:block;height:100%;background:linear-gradient(90deg,#e5ae45,#5a87c5)}.champ-referral-friends-new{display:grid;gap:.6rem}.champ-referral-friends-new article{display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,1fr) auto;align-items:center;gap:1rem;padding:.85rem;border-radius:12px;background:var(--bg-soft)}.champ-referral-empty{display:grid;justify-items:center;padding:2rem;text-align:center}.champ-referral-rules{margin:0;color:var(--fg-2);font-size:.85rem;line-height:1.5}.champ-referral-dialog{width:min(100%,1060px)}.champ-referral-dialog .champ-referral-experience.is-compact{padding-top:34px}.champ-referral-dialog .champ-referral-hero{min-height:300px}.header-player-referral-badge{margin-left:.35rem;padding:.12rem .38rem;border-radius:999px;background:rgba(210,160,63,.18);color:var(--accent);font-size:.75rem}
@media(max-width:700px){.champ-referral-hero{min-height:500px}.champ-referral-hero:after{background:linear-gradient(0deg,rgba(3,10,27,.96) 0%,rgba(3,10,27,.67) 57%,rgba(3,10,27,.04) 100%)}.champ-referral-hero>img{height:58%;object-position:63% center}.champ-referral-hero>div{align-self:end;width:100%;padding:22px}.champ-referral-share{grid-template-columns:1fr}.champ-referral-path ol{grid-template-columns:1fr}.champ-referral-path ol:before{top:24px;bottom:24px;left:22px;right:auto;width:3px;height:auto}.champ-referral-path-step{grid-template-columns:46px 1fr;justify-items:start;text-align:left}.champ-referral-path-reward{grid-column:2;justify-content:flex-start}.champ-referral-ladder-new ol{gap:.3rem}.champ-referral-ladder-new li span{font-size:.72rem}.champ-referral-ladder-line{top:127px}.champ-referral-friends-new article{grid-template-columns:1fr}.champ-referral-dialog{padding:10px}.champ-referral-dialog .champ-referral-experience.is-compact{padding-top:45px}}
@media(max-width:430px){.champ-referral-link{grid-template-columns:1fr}}
.champ-referral-hero .eyebrow{color:#f5cd72!important}.champ-referral-hero h1,.champ-referral-hero p{color:#fff!important}
.champ-referral-ladder-line{height:8px!important;border:1px solid rgba(112,129,157,.65);background:#64748b!important;box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.champ-referral-ladder-fill{border-radius:inherit;background:linear-gradient(90deg,#b77b16,#f2c75c)!important;box-shadow:0 0 10px rgba(229,174,69,.55)}.champ-referral-dialog .champ-referral-close{z-index:4;border-radius:999px}.champ-referral-dialog .champ-referral-experience.is-compact .champ-referral-hero{min-height:250px}.champ-referral-dialog .champ-referral-experience.is-compact .champ-referral-hero h1{font-size:clamp(1.65rem,3vw,2.6rem)}

/* Fixed artwork: foreground colors stay paired with these dark backgrounds in both themes. */
.champ-rating-bonus,.theme-day .champ-rating-bonus{color:#f6e8c8}
.champ-rating-bonus p,.theme-day .champ-rating-bonus p{color:#f6e8c8}
.champ-rating-bonus .eyebrow,.theme-day .champ-rating-bonus .eyebrow{color:#f9d38b}

/* The insufficient-points link sits on a fixed dark chest card, so every state owns both colors. */
.champ-chest>a.champ-games-button{color:#f7ebd4;background:#28374e;-webkit-text-fill-color:currentColor}
.champ-chest>a.champ-games-button:hover,.champ-chest>a.champ-games-button:focus-visible{color:#fff8e7;background:#3b4e69;-webkit-text-fill-color:currentColor}
.champ-chest>a.champ-games-button:active{color:#fff8e7;background:#213047;-webkit-text-fill-color:currentColor}
.theme-day .champ-chest>a.champ-games-button{color:#2c2112;background:#fff7e5;-webkit-text-fill-color:currentColor}
.theme-day .champ-chest>a.champ-games-button:hover,.theme-day .champ-chest>a.champ-games-button:focus-visible{color:#24324a;background:#eedbb5;-webkit-text-fill-color:currentColor}
.theme-day .champ-chest>a.champ-games-button:active{color:#1f170d;background:#dfc893;-webkit-text-fill-color:currentColor}
.champ-profile-chest>a.champ-games-button{color:#f7ebd4;background:#28374e;-webkit-text-fill-color:currentColor}
.champ-profile-chest>a.champ-games-button:hover,.champ-profile-chest>a.champ-games-button:focus-visible{color:#fff8e7;background:#3b4e69;-webkit-text-fill-color:currentColor}
.champ-profile-chest>a.champ-games-button:active{color:#fff8e7;background:#213047;-webkit-text-fill-color:currentColor}
.theme-day .champ-profile-chest>a.champ-games-button{color:#2c2112;background:#fff7e5;-webkit-text-fill-color:currentColor}
.theme-day .champ-profile-chest>a.champ-games-button:hover,.theme-day .champ-profile-chest>a.champ-games-button:focus-visible{color:#24324a;background:#eedbb5;-webkit-text-fill-color:currentColor}
.theme-day .champ-profile-chest>a.champ-games-button:active{color:#1f170d;background:#dfc893;-webkit-text-fill-color:currentColor}

/* Task reward chips, including “Комбо дня”, use the same light-yellow/dark-text pair. */
.champ-task-rewards .champ-chip,.theme-day .champ-task-rewards .champ-chip{color:#24324a;background:#f3e1ac;-webkit-text-fill-color:currentColor}

.champ-referral-dev .champ-referral-card{width:min(100%,850px);margin-inline:auto}

/* Диалоги: аватар занимает все три строки; справа ник | время, статус, превью. */
.champ-messages{grid-template-columns:minmax(340px,380px) minmax(0,1fr)}
.champ-messages-thread{grid-template-columns:48px minmax(0,1fr) max-content;grid-template-rows:auto auto auto;column-gap:10px;row-gap:4px;align-items:start;min-width:0;padding:14px 12px}
.champ-messages-thread>.champ-messages-avatar{grid-column:1;grid-row:1/4;align-self:start;width:48px;height:48px}
.champ-messages-name{grid-column:2;grid-row:1;min-width:0;overflow:hidden}
.champ-messages-name>.champ-fighter-name{width:100%;min-width:0}
.champ-messages-status{grid-column:2/4;grid-row:2;min-width:0}
.champ-messages-preview{display:block;grid-column:2;grid-row:3;min-width:0;min-height:0;color:var(--fg-2);text-decoration:none}
.champ-messages-preview small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.4}
.champ-messages-meta{grid-column:3;grid-row:1;display:grid;justify-items:end;align-content:start;gap:7px;min-width:max-content;padding-top:3px}
.champ-messages-meta time{color:var(--fg-2);font-size:11px;line-height:1.35;font-variant-numeric:tabular-nums;white-space:nowrap}
.champ-messages-unread{grid-column:3;grid-row:3;justify-self:end;border-radius:999px;background:#a63535;color:#fff;padding:2px 7px;font-size:11px;line-height:1.35;font-variant-numeric:tabular-nums}
.champ-presence{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;color:var(--fg-2);font-size:11px;line-height:1.35;font-variant-numeric:tabular-nums}
.champ-presence>i{flex:none;width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px color-mix(in srgb,currentColor 16%,transparent)}
.champ-presence.is-online{color:var(--success,#38c58a)}
.champ-presence.is-offline{color:var(--fg-2)}
.champ-messages-person .champ-presence{margin-top:1px}
.champ-messages-compose{padding:8px;background:var(--bg-sunken)}
.champ-messages-compose>small{color:var(--fg-2)}
.champ-dialogs-dev-switch{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.champ-dialogs-dev-preview{grid-template-columns:1fr}
.champ-profile-presence-dot{position:absolute;z-index:4;top:8%;right:8%;box-sizing:border-box;width:18px;height:18px;border:3px solid #061020;border-radius:50%;box-shadow:0 0 0 1px rgba(255,255,255,.7),0 2px 9px rgba(0,0,0,.75);cursor:help}
.champ-profile-presence-dot:after{content:"";position:absolute;left:50%;top:50%;box-sizing:border-box;transform:translate(-50%,-50%)}
.champ-profile-presence-dot.is-game{background:#32d583}
.champ-profile-presence-dot.is-game:after{width:5px;height:5px;border-radius:50%;background:#073b25}
.champ-profile-presence-dot.is-site{background:#55b8ff}
.champ-profile-presence-dot.is-site:after{width:5px;height:5px;border:1.5px solid #082f4a;background:#dff4ff;transform:translate(-50%,-50%) rotate(45deg)}
@media(max-width:550px){.champ-profile-presence-dot{width:16px;height:16px}}
@media(max-width:700px){
  .champ-messages{display:block}
  .champ-messages-thread{grid-template-columns:44px minmax(0,1fr) max-content;padding-inline:8px}
  .champ-messages-thread>.champ-messages-avatar{width:44px;height:44px}
}
@media(max-width:375px){
  .champ-messages-thread{gap:8px}
  .champ-messages-meta time{font-size:10px}
  .champ-messages-name .nick-line .nick-fit-text{font-size:16px}
}

/* Узкий список диалогов отдаёт нику всю правую колонку; время уходит ниже. */
@media(max-width:375px){
  .champ-messages-thread{grid-template-rows:auto auto auto auto;gap:4px 8px}
  .champ-messages-thread>.champ-messages-avatar{grid-row:1/5}
  .champ-messages-name{grid-column:2/4}
  .champ-messages-meta{grid-column:2/4;grid-row:2;justify-items:start;min-width:0;padding-top:0}
  .champ-messages-status{grid-column:2/4;grid-row:3}
  .champ-messages-preview{grid-column:2/4;grid-row:4}
}
.champ-guest-dev-state{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 1fr 56px}
.champ-guest-dev-state .champ-games-button{grid-row:4;align-self:stretch;justify-self:stretch;width:auto;min-width:0;max-width:none;height:auto;margin-top:0;box-sizing:border-box}

/* Header fit contract. champ.css loads after styles.css, so its historical
   game-menu rules must not restore a clipped desktop navigation row. */
@media (min-width:769px) {
  .site-header .inner { display:flex; grid-template-columns:none; }
  .site-header .nav { display:flex; flex:1 1 auto; width:auto; min-width:0; overflow:visible; }
  .site-header .nav a,.site-header.is-scrolled .nav a { flex:0 0 auto; min-width:max-content; padding:6px clamp(2px,.25vw,7px); overflow:visible; text-overflow:clip; white-space:nowrap; font-size:clamp(14px,calc(10px + .3125vw),16px); }
  .site-header .header-actions { display:flex; min-width:0; max-width:none; }
  .site-header .site-profile,.site-header .header-player-menu { min-width:0; max-width:190px; }
  .site-header .header-player-trigger { width:auto; max-width:190px; min-width:0; overflow:visible; }
}
@media (min-width:769px) and (max-width:1100px) {
  .site-header .inner,.site-header.is-scrolled .inner { padding-inline:clamp(8px,1vw,12px); gap:clamp(2px,.3vw,4px); }
  .site-header .brand { margin-right:0; }
  .site-header .brand .logo-wrap,.site-header.is-scrolled .brand .logo-wrap { height:40px; margin:-5px 0 -11px; }
  .site-header .nav { gap:8px; }
  .site-header .nav a,.site-header.is-scrolled .nav a { padding-inline:0; font-size:15px; }
  .site-header .header-actions { gap:8px; }
  .site-header .site-online-now { min-width:32px; min-height:30px; padding:5px 6px; }
  .site-header .champ-player-header-button { width:30px; min-width:30px; min-height:34px; font-size:24px; }
  .site-header .site-profile { flex:0 0 44px; width:44px; max-width:44px; }
  .site-header .site-profile > button:not(.header-player-trigger) { width:44px; min-width:44px; min-height:34px; padding:5px 3px; font-size:12px; white-space:nowrap; }
  .site-header .header-player-menu,.site-header .header-player-trigger { width:38px; max-width:38px; }
  .site-header .header-player-trigger { min-height:34px; padding:5px; gap:0; }
  .site-header .header-player-trigger-name,.site-header .header-player-trigger-rating,.site-header .header-player-chevron { display:none; }
  .site-header .theme-switch { padding:2px; gap:1px; }
  .site-header .theme-switch button { min-width:27px; padding:4px; }
}
/* Карточка идентификатора может безопасно перенести строки на промежуточной ширине. */
.champ-social-identity{flex-wrap:wrap;row-gap:6px;column-gap:12px}
/* статус онлайн — плашкой в правом верхнем углу карточки бойца: точка и подпись «В игре» / «На сайте» */
.champ-profile-presence-chip{position:absolute;top:14px;right:16px;z-index:5;display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border-radius:999px;background:rgba(4,11,27,.78);border:1px solid rgba(255,255,255,.16);color:#e8f6ff;font:600 12px/1 var(--font-sans);letter-spacing:.02em;white-space:nowrap;pointer-events:none}
.champ-profile-presence-chip>i{width:8px;height:8px;border-radius:50%;flex:none}
.champ-profile-presence-chip.is-game>i{background:#32d583;box-shadow:0 0 0 3px rgba(50,213,131,.22)}
.champ-profile-presence-chip.is-site>i{background:#55b8ff;box-shadow:0 0 0 3px rgba(85,184,255,.22)}
@media(max-width:550px){.champ-profile-presence-chip{top:10px;right:10px;font-size:11px;padding:5px 9px}}
/* Плитки показателей (ChampCurrencyStat) — одна сетка во всех местах (17.10.2026).
   Раньше .champ-chest-balances был flex с переносом, и старое правило «span → плашка»
   красило обёртку кнопки: лишняя рамка, кнопка сжималась, текст «Как заработать» уезжал
   под «?». Три плитки: 3 колонки или одна, без одинокой третьей во втором ряду. */
.champ-chest-balances,.champ-guide-currencies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.champ-chest-balances>.champ-stat-tile,.champ-guide-currencies>.champ-stat-tile{height:100%}
@media(max-width:820px){.champ-chest-balances,.champ-guide-currencies{grid-template-columns:minmax(0,1fr)}}
/* Кнопка не сжимается уже своего текста; «?» при нехватке места уходит на новую строку. */
.champ-stat-tile .champ-rules-help .champ-task-button-wrap{flex-wrap:wrap;row-gap:6px}
.champ-stat-tile .champ-rules-help .champ-task-trigger{flex:0 1 auto;min-width:min-content;max-width:100%}
.champ-stat-tile>div{flex:1 1 auto}

/* Ряд плиток: описание резервирует две строки, чтобы длинное «Баланс сезона для ставок,
   сундуков и лавки» не опускало кнопку «Как заработать» ниже, чем у соседей. */
:is(.champ-chest-balances,.champ-guide-currencies,.champ-games-player-stats)>.champ-stat-tile>div>span{min-height:2.6em;min-height:2lh}

/* Длинная справка валют раскрывается отдельной строкой под плитками. */
.champ-currency-stats-row>.champ-rules-panel,.champ-rules-panel{grid-column:1/-1;min-width:0;margin-top:2px;padding:18px;border:1px solid var(--border-gold);border-radius:16px;background:var(--bg-elevated);color:var(--fg-1);box-shadow:0 10px 28px #0003}
.champ-rules-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.champ-rules-panel-head h3{margin:0;font:700 22px var(--font-serif)}
.champ-rules-close{min-height:44px;border:0;background:transparent;color:var(--fg-link);cursor:pointer}.champ-rules-close span{font-size:24px;vertical-align:-2px}
.champ-rules-tabs{display:flex;gap:6px;margin-bottom:14px;border-bottom:1px solid var(--border-1)}.champ-rules-tab{min-height:44px;padding:8px 14px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--fg-2);cursor:pointer}.champ-rules-tab[aria-selected=true]{border-color:var(--accent);color:var(--fg-1);font-weight:700}.champ-rules-tab:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.champ-rules-panel [role=tabpanel]>p:first-child{margin-top:0}.champ-rules-panel .champ-rules-sources{grid-template-columns:repeat(2,minmax(0,1fr))}
.header-player-balances>.champ-rules-panel{padding:12px}.header-player-balances .champ-rules-help{display:block}.header-player-balances .champ-rules-help .champ-task-trigger{display:none}.header-player-balances .champ-rules-tabs{overflow-x:auto}.header-player-balances .champ-rules-panel .champ-rules-sources{grid-template-columns:1fr}
@media(max-width:600px){.champ-rules-panel{padding:14px}.champ-rules-panel .champ-rules-sources{grid-template-columns:1fr}.champ-rules-tab{flex:1;padding-inline:8px}}
/* Строка действий одинаковая во всех плитках ряда (владелец 17.10.2026: «однотипные блоки —
   в одну линию, а не хаотично от текста»): кнопка тянется на всю ширину, «?» у правого края.
   Ширина кнопки больше не зависит от длины её подписи. */
.champ-stat-tile .champ-rules-help .champ-task-button-wrap{display:flex;width:100%;flex-wrap:nowrap}
.champ-stat-tile .champ-rules-help .champ-task-trigger{flex:1 1 auto;justify-content:center;text-align:center}
.champ-games-me{display:flex;flex-direction:column;gap:16px}.champ-games-me>*{box-sizing:border-box;width:100%;max-width:none;margin:0}.champ-games-me>.champ-games-player{order:1}.champ-games-me>.champ-next-steps{order:2}.champ-games-me>.champ-weekly-wins{order:3}.champ-games-me>.champ-referral-card{order:4}.champ-games-me>.champ-rating-bonus{order:5}.champ-games-me>.champ-retention-shop{order:6}.champ-games-me>.champ-me-daily-grid{order:7}.champ-games-me>.champ-games-error{order:8}.champ-games-me>.champ-games-tabs{order:9}.champ-games-me>.champ-games-panel{order:10}.champ-games-me>.champ-games-beta-note,.champ-games-me>.champ-testing-mode{order:0;display:grid;gap:4px;justify-self:start;max-width:720px;margin:0 0 4px;padding:10px 14px;border:1px dashed var(--border-gold);border-radius:12px;background:color-mix(in srgb,var(--accent) 8%,transparent);color:var(--fg-2);font:500 13px/1.45 var(--font-sans)}.champ-testing-mode>b{color:var(--accent);font-weight:700}.champ-games-me :is(.champ-card,.champ-block){border-radius:16px}.champ-weekly-wins{margin-top:0}.champ-referral-card{display:grid;gap:16px;overflow:hidden}.champ-referral-card>.champ-referral-experience{width:100%;max-width:none;margin:0}.champ-referral-card .champ-referral-hero{min-height:280px;border-radius:16px}.champ-referral-card .champ-referral-share{grid-template-columns:repeat(2,minmax(0,1fr))}.champ-referral-card .champ-referral-share>*{min-width:0}.champ-referral-card .champ-referral-preview-text,.champ-referral-card .champ-referral-rules{max-width:100%;overflow-wrap:anywhere}.champ-games-player-stats .champ-rules-help{display:flex;margin-top:auto}.champ-games-player-stats .champ-rules-help>.champ-games-link{min-height:44px}.champ-games-player-stats .champ-stat-tile>div{grid-template-rows:auto auto minmax(2lh,1fr) auto}.games-hub-today-grid.is-three{grid-template-columns:repeat(4,minmax(0,1fr))}.games-hub-today-grid.is-three>.games-hub-today-card{height:100%}.games-hub-today-card.is-weekly-wins>div:nth-child(2){display:grid;align-content:start;gap:8px}.games-hub-today-card.is-weekly-wins .games-hub-card-meta{color:var(--fg-2);font-size:inherit;font-weight:inherit;line-height:inherit;overflow-wrap:anywhere}.games-hub-today-card.is-weekly-wins .games-hub-today-image{aspect-ratio:16/9;border:1px solid var(--border-gold);border-radius:10px;object-fit:cover}@media(max-width:1020px){.games-hub-today-grid.is-three{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.champ-referral-card .champ-referral-share,.games-hub-today-grid.is-three{grid-template-columns:1fr}.champ-referral-card .champ-referral-hero{min-height:460px}.games-hub-today-grid.is-three>.games-hub-today-card{min-height:0}}
.champ-task-help{overflow:hidden}
/* Единые строки людей и кланов. На широком экране видна таблица, на телефоне — не более трёх плотных строк. */
.champ-table-mobile-row{display:none}
.champ-fighter-name .council-name-row,.champ-content .champ-fighter-name .council-name-row{align-items:center}
.champ-fighter-name .council-name-row>.champ-fighter-clan-link{display:inline-flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px}
.champ-fighter-name .council-name-row .council-clan-logo{align-self:center;width:20px;height:20px;object-fit:contain}
.champ-fighter-name .champ-name-unit,.champ-content .champ-fighter-name .council-name-row>.champ-name-unit{align-items:center}
.champ-fighter-name .champ-name-unit .nick-race-tag,.champ-content .champ-fighter-name .champ-name-unit .nick-race-tag{display:inline-flex;align-items:center;height:22px;margin:0}
.champ-fighter-name .champ-name-unit .council-name,.champ-content .champ-fighter-name .champ-name-unit .council-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;font:700 16px/22px var(--font-sans);letter-spacing:0}
.champ-fighter-name .champ-name-unit .council-info-link,.champ-content .champ-fighter-name .champ-name-unit .council-info-link{height:22px}
@media(max-width:700px){
 .champ-table-row,.champ-table-row.has-fighter,.champ-table-row.has-clan{display:block;min-height:0;padding:0}
 .champ-table-mobile-row{display:block}
 .champ-table-row>.champ-table-mobile-top,.champ-table-row>.champ-table-mobile-metrics{display:none!important}
 .champ-person-row,.champ-clan-row{display:grid;grid-template-columns:32px minmax(0,1fr) max-content;gap:6px 8px;align-items:start;min-height:94px;padding:11px 9px;font-variant-numeric:tabular-nums}
 .champ-person-place{grid-column:1;grid-row:1;color:var(--accent);font:700 14px/22px var(--font-mono);text-align:center}
 .champ-person-body,.champ-clan-row-body{grid-column:2;grid-row:1;display:grid;gap:5px;min-width:0}
 .champ-person-identity,.champ-person-identity>.champ-fighter-name{min-width:0;width:100%}
 .champ-person-identity .council-stats{display:none!important}
 .champ-person-identity .nick-line{width:max-content;max-width:100%;gap:4px}
 .champ-content .champ-table-row.has-fighter .champ-person-row .champ-person-identity .nick-line{align-items:center}
 .champ-person-row .champ-person-identity .champ-name-unit{height:22px;align-items:center}
 .champ-person-row .champ-person-identity .council-info-link{width:22px;height:22px;min-height:22px;padding:0}
 .champ-person-identity .champ-name-unit{min-width:0;max-width:calc(100% - 24px);gap:4px}
 .champ-person-sub{display:flex;align-items:center;gap:5px;min-width:0;color:var(--fg-2);font-size:11px;white-space:nowrap}
 .champ-person-sub .champ-path{font-size:11px}.champ-person-sub .champ-path svg{width:15px;height:15px}
 .champ-person-sub .champ-power{min-height:22px;margin:0;padding:1px 6px;font-size:11px}
 .champ-row-main{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;min-width:72px;max-width:116px;text-align:right}
 .champ-row-main-value{font:800 17px/1.15 var(--font-sans);color:var(--accent);white-space:nowrap}.champ-row-main-label{margin-top:3px;color:var(--fg-2);font-size:10px}
 .champ-row-chips{display:flex;align-items:center;gap:4px;min-width:0;overflow:hidden;white-space:nowrap;color:var(--fg-2);font-size:11px}
 .champ-row-chip{display:inline-flex;align-items:center;gap:3px;min-width:0}.champ-row-chip .champ-icon{width:14px;height:14px}.champ-row-chip b{color:var(--fg-1)}.champ-row-chip-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.champ-row-dot{opacity:.65}
 .champ-clan-row-body>.champ-clan-badge{min-width:0;max-width:100%;gap:7px;font-weight:700}.champ-clan-row-body>.champ-clan-badge .champ-clan-mark{width:28px;height:28px}.champ-clan-row-body>.champ-clan-badge>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .champ-clan-row-tail{display:flex;align-items:center;gap:5px;min-width:0}.champ-clan-row-tail small{color:var(--fg-2)}.champ-clan-row-tail .champ-clan-badge{min-width:0;font-size:10px}.champ-clan-row-tail .champ-clan-mark{width:18px;height:18px}
 .champ-table .champ-table-why--mobile{margin:0 9px 8px}
}
@media(max-width:360px){.champ-person-row,.champ-clan-row{grid-template-columns:26px minmax(0,1fr) max-content;padding-inline:5px;gap:5px}.champ-row-main{min-width:62px}.champ-row-main-value{font-size:15px}.champ-fighter-name .champ-name-unit .council-name{font-size:14px}.champ-person-identity .champ-name-unit{gap:2px}}
/* Чип без иконки (И/В/Н/П у клана) — подпись видна перед числом, иначе ряд «2 2 0 0» нечитаем. */
.champ-row-chip:not(:has(.champ-icon)) .champ-row-chip-label{position:static;width:auto;height:auto;overflow:visible;clip-path:none;order:-1;color:var(--fg-2)}
/* Ряд чипов переносится, а не обрезает последнее число (на 375 «Разн. 4 998 244» терял цифру). */
.champ-row-chips{flex-wrap:wrap;row-gap:2px;white-space:normal;overflow:visible}
.champ-row-chip{white-space:nowrap}
/* Реальные данные 18.10: на странице рекордов строка таблицы оставалась сеткой, и мобильная строка
   вставала в первую колонку шириной 28 px — ник пропадал, числа наезжали друг на друга. */
@media(max-width:700px){.champ-table-row>.champ-table-mobile-row{grid-column:1/-1;width:100%;min-width:0}}
/* Логотип клана в строке ника — 20×20 по центру; без этого он растягивался по высоте строки (44 px)
   и при нажатии подсвечивался высоким прямоугольником. */
.council-name-row>.champ-fighter-clan-link{align-self:center;height:20px;min-height:0}
/* Строка бойца на телефоне: ник — первая строка на всю ширину; число раздела — справа во второй
   строке рядом с уровнем. Раньше число стояло рядом с ником и сжимало его до «-» (реальные данные 18.10). */
@media(max-width:700px){
 .champ-person-row{grid-template-columns:32px minmax(0,1fr)}
 .champ-person-row .champ-person-body{display:grid;grid-template-columns:minmax(0,1fr) max-content;column-gap:8px;row-gap:4px;align-items:center;min-width:0}
 .champ-person-row .champ-person-identity{grid-column:1/-1;min-width:0}
 .champ-person-row .champ-person-sub{grid-column:1;min-width:0;flex-wrap:wrap;white-space:normal;row-gap:4px}
 .champ-person-row .champ-row-chips{grid-column:1}
 .champ-person-row .champ-person-body>.champ-row-main{grid-column:2;grid-row:2/span 2;max-width:none;min-width:0;align-self:center}
}
/* Даритель на карточке подарка (18.10.2026). Владелец: «не видно кто подарил — ни по цвету, ни по длине».
   Было: «от» + ник в одной строке шириной 136 px на телефоне — ник сжимался до 2 px, а в дневной теме
   красился коричневым градиентом прямо по тёмной карточке. Стало: подпись отдельной строкой, ник на всю
   ширину; карточка тёмная в обеих темах, поэтому ник, раса и значок клана берут ночную палитру. */
.champ-gift-card .champ-gift-origin{display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px;min-width:0;white-space:normal;overflow:visible;line-height:1.3}
.champ-gift-card .champ-gift-origin-label{flex:0 0 100%;color:#aab4ca;font-size:11px;letter-spacing:.02em}
.champ-gift-card .champ-gift-origin.is-person .champ-fighter-name{flex:1 1 100%;min-width:0;overflow:hidden}
.champ-gift-card .champ-gift-origin .nick-line{display:flex;align-items:center;gap:4px;width:max-content;max-width:100%;min-width:0}
.champ-gift-card .champ-gift-origin .champ-name-unit{display:flex;align-items:center;gap:4px;flex:0 1 auto;min-width:0}
.champ-gift-card .champ-gift-origin .council-name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;font-weight:700;background:none!important;-webkit-text-fill-color:#f6e2ae!important;color:#f6e2ae!important}
.champ-gift-card .champ-gift-origin .nick-race-tag.champ-race{flex:none;align-self:center!important;height:auto!important;margin:0!important;font-size:11px!important;line-height:16px!important;color:var(--race-color)!important;-webkit-text-fill-color:var(--race-color)!important;filter:none!important}
.champ-gift-card .champ-gift-origin .council-info-link{flex:none;color:#d6dfec;-webkit-text-fill-color:#d6dfec}
/* Значок «i» стоит в строке ника сразу за ним — так везде на сайте. Рисуется 16 px, а зона нажатия
   44×44 добрана прозрачным ::before: в ряду ника на телефоне 44 px из 133 оставляли нику 26 px. */
.champ-gift-card .champ-gift-origin.is-person .council-info-link{position:relative;flex:0 0 18px!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;display:inline-grid!important;place-items:center}
.champ-gift-card .champ-gift-origin.is-person .council-info-link::before{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%)}
.champ-gift-card .champ-gift-origin.is-person .council-info-link svg{width:16px;height:16px}
@media(max-width:430px){.champ-gift-card{padding-left:6px;padding-right:6px}.champ-gift-card .champ-gift-origin .council-clan-logo,.champ-gift-card .champ-gift-origin .champ-fighter-clan-link,.champ-gift-card .champ-gift-origin .champ-fighter-clan-initial{width:15px!important;height:15px!important;min-width:15px;flex:0 0 15px}.champ-gift-card .champ-gift-origin .nick-race-tag.champ-race{font-size:9.5px!important;letter-spacing:-.03em}.champ-gift-card .champ-gift-origin .nick-line,.champ-gift-card .champ-gift-origin .champ-name-unit{gap:2px}}
/* Подпись дарителя и дата прижаты к низу карточки: в ряду карточек строки «Подарок от» стоят на одной
   высоте, а не прыгают за длиной названия и числом чипов. Пожелание — над подписью, как в открытке. */
.champ-gift-card .champ-gift-card-text{flex:1 1 auto}
.champ-gift-card .champ-gift-origin{margin-top:auto;padding-top:4px}
.champ-gift-card .champ-gift-origin:not(.is-person){flex-wrap:nowrap}
@media(max-width:430px){.champ-gift-card .champ-gift-origin .champ-fighter-name .nick-line,.champ-gift-card .champ-gift-origin .champ-fighter-name .champ-name-unit{gap:2px!important}.champ-gift-card .champ-gift-origin .nick-race-tag.champ-race{font-size:9px!important}.champ-gift-card .champ-gift-origin.is-person .council-info-link{flex-basis:16px!important;width:16px!important;min-width:16px!important}.champ-gift-card .champ-gift-origin.is-person .council-info-link svg{width:15px;height:15px}}
.champ-gift-card .champ-gift-origin~.champ-gift-date{margin-top:6px}
.champ-gift-card .champ-gift-origin .council-name{--nick-fit-floor:10px}
/* Блик бежит только по самой шкатулке (18.10.2026): маска — тот же силуэт; в покое блика нет.
   Было: полоса стояла слева от шкатулки серым прямоугольником и при наведении проезжала по пустому фону. */
.champ-guest-box-art::before{inset:0!important;transform:none!important;opacity:0;background:linear-gradient(112deg,transparent 38%,#fff2 45%,#fffc 50%,#fff2 55%,transparent 62%) 0 0/300% 100% no-repeat;background-position:120% 0;-webkit-mask:var(--box-img) center/contain no-repeat;mask:var(--box-img) center/contain no-repeat}
.champ-guest-boxes button:is(:hover,:focus-visible) .champ-guest-box-art::before{animation:guest-gold-sweep .9s ease-out}
@keyframes guest-gold-sweep{0%{opacity:1;background-position:120% 0}100%{opacity:1;background-position:-20% 0}}
/* Экран «под замком» (18.10.2026): приз виден в цвете, но размыт и за замком — человек понимает, что
   именно ждёт его после входа. Чёрный силуэт читался как пустое пятно. Окно тёмное в обеих темах,
   поэтому текст — светлый фиксированный, а не цвет темы. */
.champ-guest-silhouette{width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--guest-glow,#e6bf7c) 30%,transparent),transparent 70%)}
.champ-guest-silhouette::before{content:'';position:absolute;inset:-8%;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--guest-glow,#e6bf7c) 35%,transparent),transparent 65%);animation:guest-gem-pulse 2.4s ease-in-out infinite;pointer-events:none}
.champ-guest-silhouette img{position:relative;filter:blur(4px) saturate(1.15) brightness(.85) drop-shadow(0 0 18px var(--guest-glow,#e6bf7c))}
.champ-guest-silhouette b{z-index:1;display:grid;place-items:center;width:44px;height:44px;padding:0;background:radial-gradient(circle at 35% 30%,#2b4a80,#071327);color:#ffe3a3;box-shadow:0 0 14px #e6bf7c88}
.champ-guest-dialog:has(.champ-guest-prize .champ-guest-silhouette img[src*="/games/loot/box-"]) .champ-guest-silhouette{display:none}.champ-guest-dialog:has(.champ-guest-prize .champ-guest-silhouette img[src*="box-wood-"]) .champ-guest-chest{--guest-locked:url('/assets/games/loot/box-wood-closed.webp')}.champ-guest-dialog:has(.champ-guest-prize .champ-guest-silhouette img[src*="box-silver-"]) .champ-guest-chest{--guest-locked:url('/assets/games/loot/box-silver-closed.webp')}.champ-guest-dialog:has(.champ-guest-prize .champ-guest-silhouette img[src*="box-gold-"]) .champ-guest-chest{--guest-locked:url('/assets/games/loot/box-gold-closed.webp')}.champ-guest-dialog:has(.champ-guest-prize .champ-guest-silhouette img[src*="/games/loot/box-"]) .champ-guest-chest>picture{visibility:hidden}.champ-guest-dialog:has(.champ-guest-prize .champ-guest-silhouette img[src*="/games/loot/box-"]) .champ-guest-chest::after{content:'Откроешь после входа';position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;padding-bottom:5px;background:var(--guest-locked) center/contain no-repeat;color:#ffe5ad;font-weight:700;text-shadow:0 2px 5px #000,0 0 12px #000;pointer-events:none}
.champ-guest-prize p,.champ-guest-prize small{color:#dfe7f4}
@media(max-width:600px){.champ-guest-silhouette{width:min(22dvh,130px);height:min(22dvh,130px)}}
@media(prefers-reduced-motion:reduce){.champ-guest-silhouette::before{animation:none}}
/* Нажатая кнопка под курсором остаётся золотой (18.10.2026): правила наведения красили её фон
   в тёмный, а текст оставался тёмным — подпись пропадала (витрины питомца и шкатулок). */
.champ-games-button[aria-pressed="true"]:is(:hover,:focus-visible){color:#30210c;background:var(--gold-gradient-h,#f1bd63);border-color:#d4a65a}
/* Первое открытие: одна широкая лента и один закрытый выигрышный сундук. Движение ленты задаёт rAF в app.jsx. */
.gift-phase-reel{overflow:hidden}.gift-phase-reel>.champ-guest-chest{height:86px;transform:translateY(-5px) scale(.62);transform-origin:50% 100%;transition:transform .38s ease,height .38s ease}.gift-phase-reel>.champ-guest-chest::after{opacity:.85}.gift-phase-reel>h2,.gift-phase-reel>p{margin-block:3px}.champ-guest-reel{position:relative;width:calc(100% + clamp(36px,8vw,96px));margin-left:calc(clamp(18px,4vw,48px)*-1);overflow:visible;animation:none;white-space:normal}.champ-guest-reel-viewport{position:relative;width:100%;height:174px;margin:0 0 8px;border-block:2px solid #d7ad57;border-inline:0;border-radius:0;background:linear-gradient(90deg,#030914dd,#0c2344 14% 86%,#030914dd);box-shadow:inset 0 0 34px #000b,0 0 28px #dba94c33;overflow:hidden}.champ-guest-reel-viewport::before{content:'';position:absolute;z-index:3;inset:0;background:linear-gradient(90deg,#020713 0,transparent 16% 84%,#020713 100%);pointer-events:none}.champ-guest-reel-pointer{position:absolute;z-index:5;left:50%;top:-1px;bottom:-1px;width:clamp(72px,12vw,136px);transform:translateX(-50%);border-inline:2px solid #ffe49d;background:linear-gradient(90deg,transparent,#ffe9a719,transparent);box-shadow:inset 14px 0 20px -18px #ffe49d,inset -14px 0 20px -18px #ffe49d;pointer-events:none}.champ-guest-reel-pointer::before,.champ-guest-reel-pointer::after{content:'';position:absolute;left:50%;transform:translateX(-50%);border-inline:13px solid transparent}.champ-guest-reel-pointer::before{top:0;border-top:22px solid #ffd76e;filter:drop-shadow(0 2px 7px #ffd76e)}.champ-guest-reel-pointer::after{bottom:0;border-bottom:18px solid #ffd76e;filter:drop-shadow(0 -2px 7px #ffd76e)}.champ-guest-reel-track{display:flex;align-items:center;gap:10px;width:max-content;height:100%;will-change:transform;transform:translate3d(0,0,0)}.champ-guest-reel-card{display:grid;flex:none;place-items:center;width:clamp(110px,13vw,146px);height:150px;padding:5px;border:1px solid #876d44;border-radius:13px;color:#ead29d;background:radial-gradient(circle at 50% 35%,#24476e,#0a1930 72%);box-shadow:inset 0 0 16px #0008;opacity:.72;transform:scale(.92);transition:opacity .12s,transform .12s,box-shadow .12s}.champ-guest-reel-card img{width:108px;height:112px;object-fit:contain}.champ-guest-reel-card b{font-size:12px;line-height:1}.champ-guest-reel-card.tier-silver{border-color:#9dbbd0}.champ-guest-reel-card.tier-gold{border-color:#f0c762;background:radial-gradient(circle at 50% 35%,#5a4820,#11192c 72%)}.reel-stopped .champ-guest-reel-card.is-winning{opacity:1;transform:scale(1.08);box-shadow:0 0 28px var(--guest-glow),inset 0 0 18px #fff5}.reel-stopped .champ-guest-reel-viewport{animation:guest-reel-dissolve 1.2s .28s both}.champ-guest-skip{position:absolute;z-index:7;right:12px;bottom:14px;padding:7px 13px;border:1px solid #e9ca88;border-radius:999px;background:#071327cc;color:#fff0c9;cursor:pointer}.champ-guest-won-chest{position:relative;display:grid;place-items:center;width:min(310px,64vw);height:min(245px,31vh);filter:drop-shadow(0 0 24px var(--guest-glow))}.champ-guest-won-chest>img{width:100%;height:100%;object-fit:contain}.champ-guest-won-chest>b{position:absolute;bottom:0;display:flex;align-items:center;gap:7px;padding:7px 13px;border:1px solid #d9b96f;border-radius:999px;background:#071327dd;color:#ffe5ad}.champ-guest-won-chest>i{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--guest-glow);box-shadow:0 0 13px var(--guest-glow);animation:guest-prize-particle 1.8s ease-in-out infinite}.champ-guest-won-chest>i:nth-of-type(1){left:8%;top:26%}.champ-guest-won-chest>i:nth-of-type(2){right:6%;top:38%;animation-delay:-.6s}.champ-guest-won-chest>i:nth-of-type(3){right:23%;top:7%;animation-delay:-1.2s}.gift-phase-locked>.champ-guest-chest{display:none}.gift-phase-locked .champ-guest-prize{animation:guest-prize-arrive .7s cubic-bezier(.2,.8,.2,1) both}@keyframes guest-reel-dissolve{55%{opacity:1;filter:brightness(1.55)}100%{opacity:0;filter:brightness(2);transform:scale(1.04)}}@keyframes guest-prize-arrive{0%{opacity:0;transform:scale(.78)}100%{opacity:1;transform:scale(1)}}@keyframes guest-prize-particle{50%{transform:translateY(-18px) scale(1.5);opacity:.35}}
@media(max-width:600px){.gift-phase-reel>.champ-guest-chest{height:58px}.champ-guest-reel{width:calc(100% + 28px);margin-left:-14px}.champ-guest-reel-viewport{height:145px}.champ-guest-reel-card{width:110px;height:127px}.champ-guest-reel-card img{width:88px;height:92px}.champ-guest-reel-pointer{width:72px}.champ-guest-reel strong{font-size:14px}.champ-guest-won-chest{height:min(220px,29vh)}}
@media(prefers-reduced-motion:reduce){.gift-phase-reel>.champ-guest-chest{transition:none}.champ-guest-reel-viewport,.gift-phase-locked .champ-guest-prize,.champ-guest-won-chest i{animation:none!important}}
.champ-guest-won-chest .champ-ico{width:24px;height:24px;object-fit:contain}
.champ-guest-reel>strong{display:inline-block;margin:8px 10px 0;color:#ffd583}.champ-guest-skip{position:static;margin:8px 10px 0;padding:7px 13px;vertical-align:middle}.champ-guest-won-chest{width:min(270px,58vw);height:auto;filter:drop-shadow(0 0 24px var(--guest-glow))}.champ-guest-won-chest>img{width:100%;height:min(190px,24vh);object-fit:contain}.champ-guest-won-chest>b{position:static;justify-self:center;width:max-content;max-width:100%;margin-top:2px}.champ-guest-prize>h3,.champ-guest-prize>p,.champ-guest-prize>small{margin-block:0}.gift-phase-locked>.champ-guest-chest{display:none}@media(max-width:600px) and (max-height:700px){.champ-guest-dialog{padding-block:8px}.champ-guest-top button{padding-block:5px}.champ-guest-dialog h2{font-size:25px}.champ-guest-won-chest{width:min(220px,54vw)}.champ-guest-won-chest>img{height:min(132px,20vh)}.champ-guest-prize{gap:4px}.champ-guest-prize h3{font-size:21px}.champ-guest-prize p{font-size:14px}.champ-guest-prize .champ-games-button{padding:8px 14px}}
/* Лента сокровищ на телефоне (19.10.2026, скриншот владельца): карточка была ровно 120 px — длинное название подарка
   в две строки выталкивало плашку времени за нижний край; раса «[El]» стояла строкой выше ника.
   Высота — минимальная, а не жёсткая; раса и ник — в одной строке по центру. */
@media(max-width:640px){.treasury-feed-card,.champ-chest-feed .treasury-feed-card{height:auto;min-height:120px}}
.treasury-feed-card .nick-line,.treasury-feed-card .nick-line .champ-name-unit{display:flex;flex-wrap:nowrap;align-items:center;width:max-content;max-width:100%;}
.treasury-feed-card .nick-line .nick-race-tag{align-self:center!important;margin-top:0!important;line-height:1.2}
/* Левый живой край: эти правила стоят после прежней правой пилюли и окончательно задают геометрию. */
.champ-activity-stack .champ-activity-toast{left:24px;right:auto;bottom:calc(var(--left-life-bottom,16px) + 96px)}.champ-activity-stack .champ-activity-panel{left:0;right:auto;top:0;bottom:0;width:min(360px,calc(100vw - 24px));max-height:none}.champ-activity-toggle{display:none!important}.champ-activity-panel>div>.champ-activity-more{display:block;width:100%;min-height:42px;border:1px solid var(--border-gold);color:var(--fg-link);text-align:center}.champ-activity-panel>div>.champ-activity-more:disabled{opacity:.6}@media(max-width:1023px){.champ-activity-stack .champ-activity-toast{display:none!important}.champ-activity-stack .champ-activity-panel{left:0;right:0;top:auto;bottom:0;width:100%;max-height:70dvh}}
.champ-activity-stack:empty{position:fixed;left:0;bottom:0;display:block;width:1px;height:1px}
/* Панель «Новости сайта»: фильтры не сплющиваются списком, длинные строки переносятся, а не режутся справа (19.10.2026). */
.champ-activity-panel>header,.champ-activity-panel>nav,.champ-activity-panel>p,.champ-activity-panel>footer{flex:none}
.champ-activity-panel>div{flex:1 1 auto;min-height:0}
.champ-activity-panel>div>button{grid-template-columns:44px minmax(0,1fr)}
.champ-activity-panel>div>button>*{min-width:0}
.champ-activity-panel :where(small){overflow-wrap:anywhere}
.champ-activity-panel .champ-fighter-name{max-width:100%;min-width:0}
.champ-activity-panel{display:flex;flex-direction:column}.champ-activity-list{display:grid;align-content:start;gap:6px;overflow:auto}.champ-activity-list>button{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-height:68px;padding:8px;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--fg-1);text-align:left}.champ-activity-list>button>img{width:44px;height:44px;object-fit:cover;border-radius:9px}.champ-activity-list>button>span{display:grid;gap:2px;min-width:0}.champ-activity-list>button small{color:var(--fg-2);line-height:1.3}.champ-activity-list>button time{color:var(--fg-3);font-size:10px}.champ-activity-list>button em,.treasury-feed-description>em{display:block;color:var(--accent);font-size:10px;font-style:normal;font-weight:800;text-transform:uppercase}.champ-activity-list>button.is-major{border-color:var(--border-gold);box-shadow:inset 0 0 18px color-mix(in srgb,var(--accent) 10%,transparent)}.champ-activity-panel>.champ-activity-more{flex:none;width:100%;min-height:40px;margin-top:8px;border:1px solid var(--border-gold);border-radius:10px;background:transparent;color:var(--fg-link)}.champ-activity-empty{display:grid;place-items:center;gap:7px;min-height:150px;padding:20px;text-align:center}.champ-activity-empty small{max-width:260px;color:var(--fg-2)}.champ-activity-toast.is-major{box-shadow:0 0 0 1px var(--accent),0 12px 34px color-mix(in srgb,var(--accent) 28%,transparent)}.treasury-feed-description>.champ-ico{width:18px;height:18px;vertical-align:middle}.treasury-feed-card.is-major{border-color:var(--border-gold);box-shadow:0 0 20px color-mix(in srgb,var(--accent) 15%,transparent)}
.pet-companion-mode{display:grid;gap:6px;justify-items:end}
.pet-companion-mode-label{font-size:12px;color:var(--fg-2)}
.pet-companion-mode-options{display:inline-flex;padding:3px;border:1px solid var(--border-gold);border-radius:999px;background:var(--bg-elevated)}
.pet-companion-mode-option{min-height:36px;padding:6px 12px;border:0;border-radius:999px;background:transparent;color:var(--fg-1);font:600 13px/1.2 var(--font-sans);white-space:nowrap;cursor:pointer}
.pet-companion-mode-option.is-active{background:var(--accent);color:var(--fg-on-gold,#2a1a05)}
.pet-companion-mode-option:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:640px){.pet-companion-mode{justify-items:stretch;width:100%}.pet-companion-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.pet-companion-mode-option{white-space:normal;font-size:12px;padding:6px 8px}}
/* Шапка раздела питомца: на телефоне имя и переключатель — друг под другом (переключатель сплющивал заголовок в столбик). */
.pet-game-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.pet-game-head>div:first-child{min-width:0;flex:1 1 260px}
@media(max-width:640px){.pet-game-head{flex-direction:column;align-items:stretch}.pet-game-head>div:first-child{flex:none}}
.pet-game-head{margin-bottom:18px}
.rocket-particles{position:absolute;inset:0;z-index:4;width:100%;height:100%;pointer-events:none}.rocket-game>.champ-minigame-body>.rocket-result{position:relative;left:auto;bottom:auto;transform:none;width:100%;max-width:none;margin:16px 0 0;background:linear-gradient(135deg,#071638,#132b5f);color:#fff}.rocket-game .champ-minigame-head{grid-template-columns:auto minmax(0,1fr) auto}.rocket-game .champ-minigame-wallet{position:relative;z-index:2}@media(min-width:1600px){.rocket-game .champ-minigame-body,.rocket-game .champ-minigame-head{max-width:1440px}.rocket-stage{min-height:620px}.rocket-ship{width:min(34%,460px)}.rocket-cashout{left:72%;bottom:34px}}
.rocket-crashes{display:flex;align-items:center;gap:8px;overflow:hidden;margin:0 0 10px;color:var(--fg-2);white-space:nowrap}.rocket-crash-chip{padding:5px 9px;border:1px solid rgba(220,184,94,.35);border-radius:999px;color:var(--gold)}.rocket-stage{position:relative;isolation:isolate;contain:paint;min-height:560px;overflow:hidden;border:1px solid rgba(220,184,94,.42);border-radius:28px;background:#071638 url('/assets/games/rocket/sky.webp') center/cover;color:#fff;box-shadow:inset 0 0 80px #020718}.rocket-stage:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 55%,rgba(2,7,24,.72))}.rocket-ship{position:absolute;z-index:2;left:9%;bottom:13%;width:min(40%,420px);max-height:56%;object-fit:contain;transform:translate3d(0,0,0) rotate(-3deg);transition:opacity .3s}.rocket-stage.is-flying .rocket-ship{animation:rocket-flight 12s cubic-bezier(.2,.55,.38,1) forwards}.rocket-stage.is-cashed .rocket-ship{opacity:.42;transform:translate3d(46vw,-35vh,0) rotate(8deg)}.rocket-stage.is-crashed .rocket-ship{opacity:0;transition:opacity .16s}.rocket-stage.is-crashed:before{content:"✦";position:absolute;z-index:4;left:55%;top:26%;font-size:8rem;color:#fff5bd;text-shadow:0 0 15px #fff,0 0 50px #ffb72e;animation:rocket-flash .6s both}.rocket-mult{position:absolute;z-index:3;top:19%;left:50%;transform:translateX(-50%);font:800 clamp(3.2rem,8vw,6rem)/1 var(--font-display);letter-spacing:-.05em;text-shadow:0 4px 24px #06102e,0 0 42px rgba(232,193,90,.35);font-variant-numeric:tabular-nums}.rocket-start{position:absolute;z-index:5;left:50%;bottom:28px;width:min(92%,620px);transform:translateX(-50%);display:grid;gap:12px;justify-items:center;padding:18px;border-radius:20px;background:rgba(3,11,33,.78);backdrop-filter:blur(10px)}.rocket-start label{display:flex;gap:10px;align-items:center}.rocket-start select{padding:8px 12px;border-radius:10px}.rocket-cashout{position:absolute;z-index:6;left:50%;bottom:26px;transform:translateX(-50%);min-width:min(88%,390px);min-height:64px;font-size:1.25rem}.rocket-result{box-sizing:border-box;position:absolute;z-index:7;left:50%;bottom:24px;transform:translateX(-50%);width:min(90%,620px);padding:22px;text-align:center;border-radius:20px;background:rgba(3,11,33,.88);backdrop-filter:blur(12px)}.rocket-result>strong{display:block;font:700 clamp(1.6rem,5vw,2.7rem)/1.1 var(--font-display);color:#ffe69a}.rocket-cloud{position:absolute;z-index:1;width:52%;height:18%;border-radius:50%;background:url('/assets/games/rocket/cloud-1.webp') center/contain no-repeat;opacity:.5;animation:rocket-cloud 11s linear infinite}.rocket-cloud.c1{left:-15%;top:15%}.rocket-cloud.c2{right:-18%;top:46%;background-image:url('/assets/games/rocket/cloud-2.webp');animation-duration:17s;opacity:.34}.rocket-cloud.c3{left:17%;bottom:-5%;background-image:url('/assets/games/rocket/cloud-3.webp');animation-duration:23s;opacity:.62}.rocket-terms{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.rocket-terms article{padding:18px;border:1px solid var(--border-1);border-radius:16px;background:var(--surface)}.rocket-terms h2{font-size:1rem}.rocket-terms-note{grid-column:1/-1;color:var(--fg-2)}@keyframes rocket-flight{0%{transform:translate3d(0,0,0) rotate(-3deg)}50%{transform:translate3d(24vw,-13vh,0) rotate(5deg)}100%{transform:translate3d(56vw,-45vh,0) rotate(10deg)}}@keyframes rocket-cloud{to{transform:translateX(38%)}}@keyframes rocket-flash{0%{transform:scale(.1);opacity:0}30%{transform:scale(1.4);opacity:1}100%{transform:scale(2.2);opacity:0}}@media(max-width:700px){.rocket-stage{min-height:520px;border-radius:18px}.rocket-ship{width:58%;left:-2%;bottom:27%}.rocket-mult{top:15%;font-size:3.8rem}.rocket-terms{grid-template-columns:1fr}.rocket-cashout{bottom:14px}.rocket-start,.rocket-result{bottom:12px}.rocket-stage.is-flying .rocket-ship{animation-name:rocket-flight-mobile}}@keyframes rocket-flight-mobile{0%{transform:translate3d(0,0,0) rotate(-3deg)}55%{transform:translate3d(22vw,-12vh,0) rotate(5deg)}100%{transform:translate3d(65vw,-40vh,0) rotate(10deg)}}@media(prefers-reduced-motion:reduce){.rocket-ship,.rocket-cloud{animation:none!important}}
/* 21.10.2026, владелец: «название закрыто». Картинка сундука (250 px) вылезала из блока (193 px) и ложилась на заголовок
   приза, плашка замка лежала на сундуке. Теперь: сундук ограничен по высоте, плашка — строкой под ним. */
.champ-guest-won-chest{height:auto;display:flex;flex-direction:column;align-items:center;gap:8px}
.champ-guest-won-chest>img{width:auto;max-width:100%;height:min(210px,27vh);min-height:0;object-fit:contain}
.champ-guest-won-chest>b{position:static}
/* «Что сделать сейчас»: без сироты в последнем ряду — 6 долей, карточка = 2 доли; одна в ряду — на всю ширину, две — пополам. */
@media(min-width:701px){.champ-next-steps:not(.is-compact) .champ-next-steps-list{grid-template-columns:repeat(6,minmax(0,1fr))}.champ-next-steps:not(.is-compact) .champ-next-step{grid-column:span 2}.champ-next-steps:not(.is-compact) .champ-next-step:last-child:nth-child(3n+1){grid-column:1/-1}.champ-next-steps:not(.is-compact) .champ-next-step:nth-last-child(2):nth-child(3n+1),.champ-next-steps:not(.is-compact) .champ-next-step:last-child:nth-child(3n+2){grid-column:span 3}}
.zg-site-launch{position:relative;display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;cursor:pointer}.zg-site-launch-icon{width:30px;height:30px;object-fit:contain}.zg-site-launch-badge{position:absolute;right:0;top:0;border-radius:30px;padding:1px 5px;background:#e2b95e;color:#1a1204;font:700 11px system-ui}


.games-hub-today-card.is-weekly-wins .games-hub-today-image{width:auto;max-width:100%;height:112px;justify-self:center;align-self:center;margin-inline:auto;display:block}

.champ-weekly-wins-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.footer-zg-link{display:inline-flex;align-items:center;gap:9px}.footer-zg-mark{display:block;width:28px;height:28px;object-fit:contain}

.contacts-zg-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-left:8px;text-decoration:none}.contacts-zg-mark{display:block;width:27px;height:27px;object-fit:contain}
