/* Phase 2 — Tribunal, paris, saisons, XP */

/* Accusés : portraits verticaux */
.dock { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.dock-card {
    position: relative; overflow: hidden; isolation: isolate; min-height: 230px;
    display: flex; flex-direction: column; justify-content: space-between;
    border-radius: var(--r); border: 1px solid var(--line); background: var(--panel-2);
}
.dock-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--art) center 15% / cover no-repeat; }
.dock-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--panel) 40%, rgba(21,23,28,.1) 85%); }
.dock-card.is-win { border-top: 3px solid var(--win); }
.dock-card.is-loss { border-top: 3px solid var(--loss); }
.dock-who { margin: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 3px; border-radius: 99px; background: var(--bg); font-size: 12px; font-weight: 700; }
.dock-body { padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.dock-champ { font-size: 11px; font-family: var(--f-body); color: var(--text-2); text-transform: none; }
.dock-card .kda { font-size: 19px; }
.dock-card .kda small { font-size: 11px; margin-left: 4px; }
.dock-stats { margin: 4px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.dock-stats div { display: flex; flex-direction: column; }
.dock-stats dt { font: 500 9.5px var(--f-body); color: var(--muted); text-transform: none; }
.dock-stats dd { margin: 0; font-weight: 700; font-size: 12.5px; }

.trib-steps { margin-top: -4px; }

/* Témoignages */
.testimonies { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 14px; }
.testimony { padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.testimony header { display: flex; align-items: center; gap: 8px; }
.testimony header b { flex: 1; }
.testimony time { font: 500 10px var(--f-mono); color: var(--faint); }
.testimony p { color: var(--text-2); line-height: 1.45; }
.testimony.is-sealed p { filter: blur(0); }
.testimony.is-sealed { background: repeating-linear-gradient(-45deg, var(--bg-2) 0 10px, var(--panel) 10px 20px); }
.testimony.is-missing { border-style: dashed; opacity: .7; }
.t-tag { display: inline-block; padding: 0 5px; margin-right: 4px; border-radius: 3px; font: 600 9.5px/1.7 var(--f-body); text-transform: none; color: #111; }
.t-mint { background: var(--mint); }
.t-red { background: var(--loss); color: #fff; }
.t-yellow { background: var(--yellow); }

/* Votes */
.vote-row { margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); }
.vote-row legend { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0; margin-bottom: 10px; }
.vote-opts, .bet-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.vote-opt { position: relative; cursor: pointer; }
.vote-opt input { position: absolute; opacity: 0; pointer-events: none; }
.vote-opt span {
    display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; min-height: 38px;
    border: 1px solid var(--line-2); border-radius: var(--r-sm); font-weight: 650; font-size: 13px; transition: .12s;
}
.vote-skip span { padding-left: 12px; color: var(--muted); }
.vote-opt span img { width: 28px; height: 28px; border-radius: 50%; }
.vote-opt:hover span { border-color: #4a505c; }
.vote-opt input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.vote-opt input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }

/* Verdict : certificats */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cert {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
    padding: 22px 16px 18px; border-radius: var(--r); background: #f4f1e8; color: #16171b;
    border: 2px solid #16171b; box-shadow: 4px 4px 0 #000;
}
.cert::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(0,0,0,.25); border-radius: 4px; pointer-events: none; }
.cert-head { font: 600 9.5px var(--f-body); text-transform: none; letter-spacing: 0; color: #555; }
.cert-title { font-size: 20px; line-height: 1; color: #16171b; }
.cert-good .cert-title { color: #0b6b55; }
.cert-bad .cert-title { color: #b3192e; }
.cert-who { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.cert-who .avatar { outline: 2px solid #16171b; }
.cert-foot { font-size: 12px; color: #555; font-style: normal; }
.cert-votes { position: absolute; top: -10px; right: -8px; }
.lesson-quote { margin: 0 0 8px; padding: 12px 14px; border-left: 3px solid var(--mint); background: var(--bg-2); font-size: 15px; font-weight: 600; line-height: 1.45; }

/* Listes d'affaires */
.case { padding-left: 10px !important; border-left: 3px solid var(--line-2); }
.case.is-win { border-left-color: var(--win); }
.case.is-loss { border-left-color: var(--loss); }
.case-n { color: var(--faint); font-size: 12px; min-width: 32px; }

/* Paris */
.wallet { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.wallet-n { font: 900 32px/1 var(--f-sans); font-variation-settings: "wdth" 120; color: var(--yellow); }
.wallet-n small { font-size: 13px; color: var(--muted); font-weight: 600; }
.bet-types { display: flex; flex-wrap: wrap; gap: 6px; }
.bets { display: grid; gap: 10px; }
.bet { padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 10px; }
.bet:target { border-color: var(--yellow); }
.bet-head { display: flex; align-items: flex-start; gap: 10px; }
.bet-q { flex: 1; font-size: 17px; line-height: 1.05; }
.bet-pot { display: inline-flex; align-items: center; gap: 5px; color: var(--yellow); font-size: 13px; white-space: nowrap; }
.bet-split { display: flex; flex-direction: column; gap: 4px; }
.bet-side { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.bet-side-l { min-width: 80px; color: var(--text-2); font-weight: 650; }
.bet-side b { margin-left: auto; }
.bet-place { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.bet-stake { display: flex; align-items: center; gap: 12px; }
.bet-stake input { flex: 1; }
.bet-stake b { min-width: 42px; text-align: right; color: var(--yellow); }
.forfeit { margin-top: 14px; padding: 14px; border: 1px dashed var(--loss); border-radius: var(--r); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.forfeit p { font-weight: 650; }

/* Saison */
.season-clock { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.season-clock b { font-size: 34px; line-height: 1; }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 10px 0 0; }
.podium-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: min(170px, 30%); }
.podium-step b { font-size: 15px; font-weight: 800; text-align: center; }
.podium-step .mono { font-size: 12px; color: var(--muted); }
.podium-block { width: 100%; display: grid; place-items: center; color: var(--bg); font-size: 34px; border-radius: var(--r-sm) var(--r-sm) 0 0; }
.p1 .podium-block { height: 110px; background: var(--yellow); }
.p2 .podium-block { height: 80px; background: #c9ced8; }
.p3 .podium-block { height: 60px; background: #d08a5a; }
.p1 .avatar { outline: 3px solid var(--yellow); outline-offset: 2px; }
.podium-st { position: absolute; top: -6px; right: 0; }
.goals { display: flex; flex-direction: column; gap: 14px; }
.goal { display: flex; flex-direction: column; gap: 6px; }
.goal-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.goal-top b { font-size: 14px; }
.goal.is-done .meter > span { background: var(--mint); }
.ladder li.is-last .ladder-val { color: var(--loss); }

/* Bilan de saison */
.recap { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.recap-slide {
    min-height: 46vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
    padding: 32px 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel);
}
.recap-slide:nth-child(even) { background: var(--brand); border-color: var(--brand); }
.recap-slide:nth-child(even) .label { color: var(--brand-ink); }
.recap-intro h1 { font-size: clamp(36px, 6vw, 64px); line-height: .9; }
.recap-big { font-size: clamp(56px, 10vw, 110px); line-height: .85; }
.recap-mid { font-size: 18px; }
.recap-champ .avatar { outline: 4px solid var(--yellow); outline-offset: 3px; }

/* XP */
.lvl-hero { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.lvl-total { display: flex; flex-direction: column; align-items: flex-end; }
.lvl-total b { font-size: 30px; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px 10px; }
.bdg { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 6px 0; }
.bdg:not(.is-owned) .sticker { opacity: .3; box-shadow: none; filter: grayscale(1); }

/* Tableau de bord : à faire */
.todo { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.todo a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); transition: border-color .12s; }
.todo a:hover { border-color: var(--line-2); }
.todo a .ico { color: var(--text-2); }
.todo a b { display: block; font-size: 13.5px; }
.todo a small { color: var(--muted); font-size: 12px; }
.todo a.is-hot { border-left: 3px solid var(--loss); }
.todo a.is-bet { border-left: 3px solid var(--yellow); }
.list-row.is-unread b { color: var(--text); }
.list-row.is-unread::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); flex: none; }

@media (max-width: 760px) {
    .dock { grid-template-columns: repeat(2, 1fr); }
    .wallet { align-items: flex-start; width: 100%; }
    .lvl-hero { flex-wrap: wrap; }
    .podium-block { font-size: 24px; }
    .p1 .podium-block { height: 80px; } .p2 .podium-block { height: 60px; } .p3 .podium-block { height: 44px; }
    .podium .avatar-lg { width: 56px; height: 56px; }
}

/* ==========================================================================
   v2 « Jeu » — Paris en LP (.bt-*) et Tribunal 1 écran (.tb-*)
   Une seule couleur d'accent (menthe), bleu/rouge seulement pour victoire/défaite.
   ========================================================================== */

/* ---------- Paris ---------- */
.bt-head, .tb-page-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; }
.bt-head h1, .tb-page-head h1 { flex: 1; font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.03em; }
.bt-net { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.bt-net small { font: 600 10px var(--f-body); text-transform: none; color: var(--muted); }
.bt-net b { font-size: 20px; font-weight: 800; color: var(--text-2); }
.bt-net.is-up b { color: var(--mint); }
.bt-net.is-down b { color: var(--loss); }
.bt-help { position: relative; }
.bt-help summary {
    list-style: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--line-2); background: var(--panel); font-weight: 800; cursor: pointer; transition: .15s;
}
.bt-help summary::-webkit-details-marker { display: none; }
.bt-help summary:hover, .bt-help[open] summary { border-color: var(--mint); color: var(--mint); }
.bt-help-box {
    position: absolute; right: 0; top: 44px; z-index: 30; width: min(300px, 86vw); padding: 14px; border-radius: 12px;
    background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 4px 4px 0 #000; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-2);
}
.bt-help-box b { color: var(--text); }
.bt-h, .tb-h2 { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 16px; font-weight: 800; }
.bt-h .lp-num { font-size: 12px; color: var(--muted); }

.bt-new { padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.bt-new .bt-h { margin-top: 0; }
.bt-players { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.bt-player {
    flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 84px; padding: 10px 4px 8px;
    border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text-2); font-weight: 700; font-size: 12.5px;
    cursor: pointer; transition: transform .15s var(--ease), border-color .15s, background .15s;
}
.bt-player .avatar { width: 52px; height: 52px; }
.bt-player small { font: 600 9px var(--f-body); text-transform: none; color: var(--mint); }
.bt-player:hover { transform: translateY(-2px); border-color: var(--line-2); }
.bt-player.is-on { border-color: var(--mint); color: var(--text); background: var(--panel-2); }
.bt-types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.bt-types[hidden] { display: none; }
.bt-type {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; min-height: 84px; text-align: left;
    border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; transition: transform .15s var(--ease), border-color .15s;
}
.bt-type-n { font: 600 10.5px var(--f-body); text-transform: none; color: var(--muted); }
.bt-type-q { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.bt-type small { font-size: 11px; color: var(--muted); }
.bt-type:hover:not(:disabled) { border-color: var(--mint); transform: translateY(-2px); }
.bt-type:active:not(:disabled) { transform: translateY(1px); }
.bt-type:disabled { opacity: .35; cursor: not-allowed; }

.bt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.bt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.bt-card { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); scroll-margin-top: 90px; }
.bt-card:target { border-color: var(--mint); }
.bt-card-head { display: flex; align-items: center; gap: 10px; }
.bt-card-q { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.bt-card-q small { font-size: 12px; color: var(--muted); font-weight: 700; }
.bt-card-q b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.bt-odds { padding: 3px 8px; border-radius: 6px; background: var(--panel-3); font-size: 13px; font-weight: 700; color: var(--text-2); }
.bt-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bt-side { position: relative; cursor: pointer; }
.bt-side input { position: absolute; opacity: 0; pointer-events: none; }
.bt-side-in {
    display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 52px; padding: 8px 12px;
    border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); transition: .15s;
}
.bt-side-in b { font-size: 16px; font-weight: 800; }
.bt-side:hover .bt-side-in { border-color: #4a505c; }
.bt-side input:checked + .bt-side-in { background: var(--mint); border-color: #000; color: var(--mint-ink); box-shadow: 3px 3px 0 #000; transform: translate(-1px, -1px); }
.bt-side input:focus-visible + .bt-side-in { outline: 2px solid var(--mint); outline-offset: 2px; }
.bt-stakes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; transition: opacity .2s; }
.bt-stakes:not(.is-ready) { opacity: .4; }
.bt-stake { height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2); font-size: 12px; color: var(--text-2); cursor: pointer; transition: .15s; }
.bt-stake b { font-size: 16px; color: var(--text); }
.bt-stake:hover:not(:disabled) { border-color: var(--mint); }
.bt-stake.is-on { border-color: var(--mint); color: var(--mint); }
.bt-stake.is-on b { color: var(--mint); }
.bt-stake:disabled { cursor: default; }
.bt-card-foot { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted); }
.bt-card-foot small { display: inline-flex; align-items: center; gap: 3px; }
.bt-mine { font-size: 13px; color: var(--muted); }
.bt-mine-chip { padding: 2px 8px; border-radius: 6px; background: rgba(79, 240, 200, .1); color: var(--mint); font-weight: 700; }

.bt-results { display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.bt-res { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.bt-res:last-child { border-bottom: 0; }
.bt-res-q { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bt-res-q b { font-size: 13.5px; }
.bt-res-q small { font-size: 12px; color: var(--muted); }
.bt-res-q a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.bt-res-who { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.bt-res-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px 2px 2px; border-radius: 20px; background: var(--panel-2); font-size: 12px; color: var(--muted); }
.bt-res-chip.is-up b { color: var(--mint); }
.bt-res-chip.is-down b { color: var(--loss); }
.bt-res-chip.is-me { outline: 1px solid var(--line-2); }
.bt-board { list-style: none; margin: 0; padding: 0; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.bt-board li { display: grid; grid-template-columns: 18px 30px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 12px; background: var(--panel); border-bottom: 1px solid var(--line); }
.bt-board li:last-child { border-bottom: 0; }
.bt-board li.is-me { background: var(--panel-2); box-shadow: inset 3px 0 0 var(--mint); }
.bt-board b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-board small { font-size: 11px; color: var(--muted); }
.bt-board-pos { color: var(--muted); text-align: center; }
.bt-board-lp { font-weight: 800; color: var(--text-2); }
.bt-board-lp.is-up { color: var(--mint); }
.bt-board-lp.is-down { color: var(--loss); }
.bt-forfeit { margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 4px; font-weight: 700; }
.bt-forfeit small { font: 600 10px var(--f-body); text-transform: none; color: var(--muted); }

/* ---------- Tribunal ---------- */
.tb-head { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; }
.tb-back { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transform: rotate(180deg); color: var(--text-2); }
.tb-back:hover { border-color: var(--mint); color: var(--mint); }
.tb-head-txt { flex: 1; min-width: 0; }
.tb-k { font: 600 13px var(--f-body); text-transform: none; color: var(--win); }
.tb-head.is-loss .tb-k { color: var(--loss); }
.tb-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.tb-timer { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 20px; background: var(--panel-2); font: 600 12px var(--f-mono); color: var(--text-2); }
.tb-dock { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tb-champ {
    position: relative; flex: 1 0 96px; max-width: 150px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 8px; border: 1px solid var(--line);
    background: var(--art) center 15% / cover no-repeat, var(--panel-2);
}
.tb-champ::before { content: ""; position: absolute; inset: 45% 0 0; background: rgba(8, 9, 12, .78); }
.tb-champ > * { position: relative; }
.tb-champ-who { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-champ-kda { font: 600 12px var(--f-mono); color: var(--text-2); }

.tb-ballot { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.tb-ballot-top { display: flex; align-items: baseline; justify-content: space-between; }
.tb-ballot-top h2 { font-size: 18px; font-weight: 800; }
.tb-progress { font-size: 14px; color: var(--muted); }
.tb-progress b { color: var(--mint); font-size: 18px; }
.tb-award { padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.tb-award.is-done { border-color: rgba(79, 240, 200, .45); }
.tb-award h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 15px; font-weight: 800; }
.tb-award.is-done h3::after { content: "✓"; color: var(--mint); font-size: 14px; }
.tb-picks { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tb-pick {
    flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 82px; padding: 8px 4px;
    border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); font-size: 12px; font-weight: 700;
    cursor: pointer; transition: transform .15s var(--ease), border-color .15s, background .15s;
}
.tb-pick img { width: 48px; height: 48px; border-radius: 10px; }
.tb-pick span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-pick:hover { transform: translateY(-2px); border-color: #4a505c; }
.tb-pick:active { transform: scale(.96); }
.tb-pick.is-on { background: var(--mint); color: var(--mint-ink); border-color: #000; box-shadow: 3px 3px 0 #000; }
.tb-foot { font-size: 12px; color: var(--muted); }
.tb-foot .lp-num { color: var(--mint); font-weight: 700; }
.tb-force { margin-top: 10px; }

.tb-verdict { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 16px; }
.tb-trophy { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.tb-trophy.is-good { border-color: rgba(79, 240, 200, .45); }
.tb-trophy-champ { width: 64px; height: 64px; border-radius: 14px; border: 2px solid #000; box-shadow: 3px 3px 0 #000; }
.tb-trophy-label { font: 600 10.5px var(--f-body); text-transform: none; color: var(--muted); }
.tb-trophy.is-good .tb-trophy-label { color: var(--mint); }
.tb-trophy.is-bad .tb-trophy-label { color: var(--loss); }
.tb-trophy-who { font-size: 20px; font-weight: 800; }
.tb-trophy-meta { font-size: 12px; color: var(--text-2); }

.tb-extra { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.tb-fold { border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.tb-fold summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; cursor: pointer; list-style: none; font-weight: 700; font-size: 14px; }
.tb-fold summary::-webkit-details-marker { display: none; }
.tb-fold summary small { margin-left: auto; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.tb-fold summary .ico { transform: rotate(90deg); transition: transform .2s var(--ease); color: var(--muted); }
.tb-fold[open] summary .ico { transform: rotate(-90deg); }
.tb-fold > :not(summary) { margin: 0 14px 14px; }
.tb-testify { display: flex; flex-direction: column; gap: 8px; }
.tb-testify input { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); }
.tb-testify input:focus { outline: none; border-color: var(--mint); }
.tb-testify .btn { align-self: flex-start; }
.tb-quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.tb-quote { padding: 10px; border-radius: 10px; background: var(--bg-2); display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.tb-quote header { display: flex; align-items: center; gap: 6px; }
.tb-quote p { color: var(--text-2); }
.tb-quote p small { display: block; font: 600 9.5px var(--f-body); text-transform: none; color: var(--muted); }

.tb-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.tb-case { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--win); transition: transform .15s var(--ease), border-color .15s; }
.tb-case.is-loss { border-left-color: var(--loss); }
.tb-case:hover { transform: translateY(-2px); }
.tb-case.is-todo { border-top-color: var(--line-2); }
.tb-case-champs { display: flex; }
.tb-case-champs img { border-radius: 50%; border: 2px solid var(--panel); margin-left: -10px; }
.tb-case-champs img:first-child { margin-left: 0; }
.tb-case-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tb-case-txt b { font-size: 15px; }
.tb-case-txt small { font-size: 12px; color: var(--muted); }
.tb-case-cta:not(.btn) { font-size: 12px; color: var(--muted); }
.tb-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tb-list { display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.tb-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--line); border-left: 3px solid var(--win); }
.tb-row.is-loss { border-left-color: var(--loss); }
.tb-row:last-child { border-bottom: 0; }
.tb-row b { font-size: 13.5px; }
.tb-row small { font-size: 12px; color: var(--muted); }
.tb-row .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.tb-row:hover { background: var(--panel-2); }
.tb-rap { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tb-rap:last-child { border-bottom: 0; }
.tb-rap > b { font-size: 13.5px; }
.tb-rap-awards { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.tb-tag { padding: 2px 7px; border-radius: 6px; background: var(--panel-3); font-size: 11px; color: var(--text-2); }
.tb-tag.is-good { color: var(--mint); }
.tb-tag.is-bad { color: #ff8b97; }

@media (max-width: 900px) {
    .bt-grid, .tb-cols { grid-template-columns: 1fr; }
    .bt-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .bt-types { grid-template-columns: 1fr 1fr; }
    .bt-cards, .tb-cases { grid-template-columns: 1fr; }
    .bt-res { flex-direction: column; align-items: stretch; }
    .bt-res-who { justify-content: flex-start; }
    .tb-champ { flex-basis: 84px; }
}
@media (prefers-reduced-motion: reduce) {
    .bt-player, .bt-type, .bt-side-in, .tb-pick, .tb-case { transition: none; }
}
.bt-head .bt-help { border: 0; padding: 0; background: none; width: auto; box-shadow: none; }
.bt-side { display: block; }
.bt-side-in { width: 100%; }
@media (max-width: 520px) { .tb-champ { flex: 0 0 104px; aspect-ratio: 4 / 5; } }
.bt-side-in { flex-wrap: wrap; }
.bt-side-odds { font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 6px; }
.bt-side input:checked + .bt-side-in .bt-side-odds { color: var(--mint-ink); }
