/* Rifters: estilo de transmissão esportiva, noite no rift + ouro do lance */
:root {
  --night: #0d1726;
  --deep: #13213a;
  --panel: #182a47;
  --line: #27406a;
  --text: #eef2f5;
  --muted: #9fb0c8;
  --gold: #e8b64a;
  --gold-ink: #3a2a05;
  --river: #2bc4b4;
  --red: #f0534f;
  --top: #ff8a65; --jg: #7bd88f; --mid: #b39dff; --adc: #ffcf5c; --sup: #6ec6ff;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--night);
  background-image: radial-gradient(1200px 600px at 80% -10%, #1b3157 0%, transparent 60%);
  color: var(--text); font: 400 16px/1.5 var(--body); min-height: 100vh;
}
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--river); outline-offset: 2px; }
a { color: var(--river); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.brand { font: 800 26px/1 var(--display); color: var(--gold); text-decoration: none; letter-spacing: .5px; }
.brand span { color: var(--text); font-weight: 600; margin-left: 6px; }
.topinfo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; color: var(--muted); font-size: 14px; }
.code { font: 700 18px/1 var(--display); color: var(--text); background: var(--panel); border: 1px solid var(--line); padding: 6px 10px; border-radius: 6px; letter-spacing: 2px; }

main { max-width: 1240px; margin: 0 auto; padding: 24px; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; }
h2 { font-size: 26px; font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.btn { cursor: pointer; border: 1px solid var(--line); background: var(--panel); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.btn:hover:not(:disabled) { border-color: var(--muted); }
.btn:disabled { opacity: .38; cursor: not-allowed; }
.btn.gold { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.btn.ghost { background: transparent; }
.btn.big { font: 700 22px/1 var(--display); padding: 14px 22px; }
input[type=text] { background: var(--deep); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%; }
input[type=text]::placeholder { color: #6c7f9c; }

.panel { background: var(--deep); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- entrada ---------- */
.home { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; min-height: 70vh; }
.home h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 800; letter-spacing: -1px; }
.home h1 .paddle { display: inline-block; background: var(--gold); color: var(--gold-ink); padding: 0 14px; border-radius: 10px; transform: rotate(-3deg); margin-right: 8px; }
.home .lead { font-size: 19px; color: var(--muted); max-width: 46ch; margin-top: 18px; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; max-width: 560px; }
.rules div { border-left: 3px solid var(--gold); padding-left: 10px; }
.rules b { display: block; font: 700 30px/1 var(--display); }
.rules span { color: var(--muted); font-size: 14px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.codein { text-transform: uppercase; letter-spacing: 4px; font: 700 22px/1 var(--display) !important; }

/* ---------- lobby ---------- */
.lobby { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.members li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.members { list-style: none; padding: 0; margin: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #4b5d7a; flex: none; }
.dot.on { background: var(--river); }
.tag { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--panel); color: var(--muted); }
.tag.gold { background: var(--gold); color: var(--gold-ink); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.seg button { border: 0; background: transparent; padding: 10px 18px; cursor: pointer; font-weight: 600; }
.seg button[aria-pressed=true] { background: var(--gold); color: var(--gold-ink); }
.seg button:disabled { cursor: default; }
.share { display: flex; gap: 8px; }
.share input { font-size: 14px; }

/* ---------- leilão ---------- */
.auction { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 24px; align-items: start; }
.progress { height: 4px; background: var(--panel); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.progress i { display: block; height: 100%; background: var(--river); }
.lot { position: relative; overflow: hidden; padding: 28px; }
.lot .role { display: inline-flex; gap: 6px; align-items: center; font: 700 16px/1 var(--display); padding: 6px 12px; border-radius: 6px; color: var(--night); }
.lot .who { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.lot .pname { font: 800 clamp(44px, 6vw, 76px)/0.95 var(--display); margin: 14px 0 6px; word-break: break-word; }
.lot .ovr { text-align: center; border: 2px solid var(--line); border-radius: 12px; padding: 8px 14px; min-width: 92px; }
.lot .ovr b { display: block; font: 800 52px/1 var(--display); }
.lot .ovr span { font-size: 13px; color: var(--muted); }
.lot .ovr.hidden { border-style: dashed; }
.lot .ovr.hidden b { color: var(--muted); }
.bidline { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.bidamt { font: 800 clamp(72px, 10vw, 120px)/0.85 var(--display); color: var(--gold); }
.bidamt.none { color: #4b5d7a; }
.leader { font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.leader b { color: var(--text); }
.clock { text-align: right; }
.clock b { font: 800 56px/1 var(--display); display: block; }
.clock.hot b { color: var(--red); }
.timebar { height: 6px; background: var(--panel); border-radius: 6px; margin-top: 18px; overflow: hidden; }
.timebar i { display: block; height: 100%; background: var(--gold); transition: width .1s linear; }
.timebar.hot i { background: var(--red); }
.bids { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 18px; }
.bids button { padding: 12px 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; }
.bids button b { display: block; font: 700 24px/1 var(--display); }
.bids button small { color: var(--muted); font-size: 13px; }
.bids button.all { border-color: var(--gold); }
.bids button.all b { color: var(--gold); }
.bids button:disabled { opacity: .35; cursor: not-allowed; }
.bids button:not(:disabled):hover { border-color: var(--text); }
.mine-note { margin-top: 12px; font-size: 14px; color: var(--muted); min-height: 21px; }
.sold { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 23, 38, .86); text-align: center; animation: pop .25s ease-out; }
.sold .stamp { font: 800 56px/1 var(--display); color: var(--gold); transform: rotate(-4deg); border: 4px solid var(--gold); padding: 6px 18px; border-radius: 10px; display: inline-block; }
.sold .stamp.no { color: var(--muted); border-color: var(--muted); }
.sold p { margin: 14px 0 0; font-size: 18px; }
@keyframes pop { from { opacity: 0; transform: scale(1.04); } }

.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.slot { border: 1px dashed var(--line); border-radius: 10px; padding: 10px; min-height: 74px; }
.slot.filled { border-style: solid; background: var(--panel); }
.slot .r { font: 700 13px/1 var(--display); }
.slot .n { font-weight: 600; margin-top: 6px; word-break: break-word; }
.slot .p { font-size: 13px; color: var(--muted); }

.teams { list-style: none; margin: 0; padding: 0; }
.teams li { display: grid; grid-template-columns: 6px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.teams li .bar { width: 6px; height: 34px; border-radius: 3px; }
.teams li.lead { background: linear-gradient(90deg, rgba(232, 182, 74, .14), transparent); }
.teams .nm { font-weight: 600; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.teams .pips { display: flex; gap: 4px; margin-top: 4px; }
.pip { width: 22px; height: 6px; border-radius: 3px; background: var(--panel); }
.teams .money { font: 700 22px/1 var(--display); text-align: right; }
.teams .money small { display: block; font: 500 12px/1.4 var(--body); color: var(--muted); }
.upnext { list-style: none; padding: 0; margin: 0; }
.upnext li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.log { list-style: none; padding: 0; margin: 0; max-height: 220px; overflow: auto; font-size: 14px; color: var(--muted); }
.log li { padding: 4px 0; }
.r-TOP { background: var(--top); } .r-JG { background: var(--jg); } .r-MID { background: var(--mid); } .r-ADC { background: var(--adc); } .r-SUP { background: var(--sup); }
.c-TOP { color: var(--top); } .c-JG { color: var(--jg); } .c-MID { color: var(--mid); } .c-ADC { color: var(--adc); } .c-SUP { color: var(--sup); }
.kbd { font-size: 13px; color: var(--muted); margin-top: 10px; }
.kbd kbd { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; font-family: var(--body); }

/* fotos */
.av { flex: none; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; color: var(--night); font: 700 14px/1 var(--display); }
img.av { background: var(--panel); }
.av-xl { width: 132px; height: 132px; border-radius: 16px; font-size: 44px; border: 2px solid var(--line); }
.av-sm { width: 38px; height: 38px; font-size: 14px; }
.av-xs { width: 24px; height: 24px; font-size: 11px; margin-right: 8px; vertical-align: middle; }
.lot .who { align-items: center; }
.lot .info { flex: 1; min-width: 0; }
.sales { list-style: none; padding: 0; margin: 0; max-height: 470px; overflow: auto; }
.sales li { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sales .who2 { min-width: 0; line-height: 1.3; }
.sales .price { font: 700 22px/1 var(--display); color: var(--gold); }
.sales .price.none { color: #4b5d7a; }
.tcard .pn { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* estilos de jogo */
.styles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.stylecard { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; }
.stylecard p { margin: 6px 0 0; }
.stylecard[aria-pressed=true] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.stylecard[aria-pressed=true] h3 { color: var(--gold); }
.stylecard .up { color: var(--jg); } .stylecard .down { color: var(--top); }
.champs { list-style: none; padding: 0; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.champs li { padding: 2px 0; }
.champs b { font-family: var(--display); }
.stylebar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.stylebar .seg button { padding: 8px 12px; font-size: 14px; }

/* jogos ao vivo */
.glgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.gl { text-align: left; background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; display: grid; gap: 6px; }
.gl:hover, .gl.open { border-color: var(--muted); }
.gl-top { display: flex; justify-content: space-between; align-items: center; }
.gl-clock { font: 700 16px/1 var(--display); color: var(--muted); }
.gl-clock.on { color: var(--red); }
.gl-clock.on::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: 2px; }
.gl-row { display: grid; grid-template-columns: 8px 1fr auto 40px; gap: 8px; align-items: center; }
.gl-dot { width: 8px; height: 8px; border-radius: 50%; }
.gl-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-name.mine { color: var(--gold); }
.gl-k { font: 800 28px/1 var(--display); text-align: right; }
.gl-k.w { color: var(--gold); }
.gl-gold { position: relative; height: 18px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
.gl-gold::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: var(--panel); border-radius: 2px; }
.gl-gold::after { content: ''; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 1px; background: var(--line); }
.gl-gold i { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; transition: all .3s; }
.gl-gold span { position: relative; top: 11px; }
.gl-obj { margin-top: 8px; }
.gl-last { min-height: 40px; color: var(--text); }
.gdetail { margin-top: 0; }
.gd-sum { max-width: 520px; margin: 12px auto 4px; }
.gd-line { display: grid; grid-template-columns: 1fr 110px 1fr; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--line); }
.gd-line b { font: 700 22px/1 var(--display); }
.gd-line b:first-child { text-align: right; }
.gd-line b.lead { color: var(--gold); }
.gd-line span { text-align: center; color: var(--muted); font-size: 14px; }
.gd-line.head b { font-size: 18px; }
.gd-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; margin-top: 12px; }
.kda td { vertical-align: top; }
.feed { list-style: none; padding: 0; margin: 0; max-height: 360px; overflow: auto; font-size: 14px; }
.feed li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.srow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.srow span:first-child { text-align: right; }

/* ---------- times e campeonato ---------- */
.rostergrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tcard { border-top: 4px solid; }
.tcard .head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tcard .rate { font: 800 30px/1 var(--display); }
.tcard ul { list-style: none; padding: 0; margin: 10px 0 0; }
.tcard li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto auto; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: center; }
.tcard li .rr { font: 700 14px/1 var(--display); }
.tcard li .o { font-weight: 600; }
.tcard li .pr { color: var(--muted); font-size: 13px; min-width: 36px; text-align: right; }
.tcard.me { box-shadow: 0 0 0 2px var(--gold) inset; }

.season { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; font-size: 13px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.cut td { border-bottom: 2px solid var(--gold); }
tr.me td { color: var(--gold); }
.games { list-style: none; padding: 0; margin: 0; }
.game { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.game .t { font-weight: 600; }
.game .t.r { text-align: right; }
.game .t.w { color: var(--gold); }
.game .sc { font: 700 20px/1 var(--display); text-align: center; min-width: 74px; }
.game .meta { grid-column: 1 / -1; font-size: 13px; color: var(--muted); text-align: center; margin-top: -4px; }
.series { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.series + .series { margin-top: 10px; }
.series .sh { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.series .sh .sc { font: 800 30px/1 var(--display); }
.series details { margin-top: 6px; font-size: 14px; color: var(--muted); }
.champ { margin-bottom: 24px; text-align: center; padding: 34px 20px; border: 2px solid var(--gold); background: radial-gradient(600px 200px at 50% 0, rgba(232, 182, 74, .25), transparent); }
.champ .cup { font-size: 48px; }
.champ h1 { font-size: clamp(44px, 7vw, 80px); color: var(--gold); margin-top: 8px; }
.hostbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--red); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; max-width: 90vw; z-index: 10; }
.toast.ok { background: var(--river); color: var(--night); }
.banner { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; }

/* chat */
.chat { pointer-events: none; position: fixed; right: 20px; bottom: 20px; z-index: 9; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chat > * { pointer-events: auto; }
.chat-toggle { background: var(--gold); color: var(--gold-ink); border: 0; border-radius: 99px; padding: 12px 20px; font: 700 18px/1 var(--display); cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); display: flex; align-items: center; gap: 8px; }
.chat-badge { background: var(--red); color: #fff; border-radius: 99px; min-width: 22px; padding: 2px 6px; font: 600 13px/18px var(--body); text-align: center; }
.chat-panel { display: none; width: 340px; height: 380px; max-height: calc(100vh - 120px); background: var(--deep); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); flex-direction: column; overflow: hidden; }
.chat.open .chat-panel { display: flex; }
.chat.open .chat-toggle { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.chat-head .btn { padding: 6px 10px; }
.chat-list { list-style: none; margin: 0; padding: 10px 14px; flex: 1; overflow-y: auto; font-size: 15px; }
.chat-list li { padding: 6px 0; overflow-wrap: anywhere; }
.chat-list li.mine { border-left: 2px solid var(--gold); padding-left: 8px; }
.chat-meta { display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.chat-empty { text-align: center; padding-top: 30px !important; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-form input { padding: 10px 12px; }
.chat-form .btn { padding: 10px 14px; }

@media (max-width: 900px) {
  .chat { right: 12px; bottom: 12px; left: 12px; }
  .chat-panel { width: 100%; height: 45vh; }
  .av-xl { width: 84px; height: 84px; font-size: 30px; border-radius: 12px; }
  .lot .who { flex-wrap: wrap; }
  .lot .info { order: 3; flex: 1 1 100%; }
  .lot .pname { font-size: 46px; margin-top: 10px; word-break: normal; overflow-wrap: anywhere; }
  .topinfo .btn { padding: 8px 10px; }
  .topinfo .conn { display: none; }
  .top { padding: 12px 16px; }
  .home, .lobby, .auction, .season, .gd-grid { grid-template-columns: 1fr; }
  .styles { grid-template-columns: 1fr 1fr; }
  .bids { grid-template-columns: repeat(3, 1fr); }
  .slots { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .slot { padding: 6px; min-height: 64px; font-size: 13px; }
  main { padding: 16px; }
  .lot { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ================= acabamento dourado ================= */
:root {
  --gold-hi: #fbe7a6;
  --gold-lo: #a8741c;
  --gold-grad: linear-gradient(180deg, #fbe7a6 0%, #e8b64a 48%, #b98326 100%);
  --gold-line: linear-gradient(90deg, transparent, rgba(232, 182, 74, .75) 20%, rgba(251, 231, 166, .95) 50%, rgba(232, 182, 74, .75) 80%, transparent);
  --edge: rgba(232, 182, 74, .22);
}
body {
  background-color: #0b1422;
  background-image:
    radial-gradient(900px 500px at 85% -5%, rgba(46, 84, 150, .55), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(232, 182, 74, .10), transparent 60%),
    repeating-linear-gradient(60deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-60deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 46px);
  background-attachment: fixed;
}

/* cabeçalho */
.top { position: relative; border-bottom: 0; background: linear-gradient(180deg, rgba(11, 20, 34, .9), rgba(11, 20, 34, .55)); backdrop-filter: blur(6px); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-line); }
.brand { display: inline-flex; align-items: center; }
.chat[hidden] { display: none; }
a.btn { color: var(--text); }
.brand::before { content: ''; margin-right: 12px; width: 14px; height: 14px; transform: rotate(45deg); background: var(--gold-grad); box-shadow: 0 0 12px rgba(232, 182, 74, .55); border-radius: 2px; }
.brand { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand span { -webkit-text-fill-color: var(--text); }
.code { border-color: var(--edge); color: var(--gold-hi); }

/* painéis */
.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(27, 45, 76, .92), rgba(17, 30, 52, .92));
  border-color: var(--edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 14px 34px rgba(0, 0, 0, .28);
}
.panel::before { content: ''; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; background: var(--gold-line); opacity: .7; pointer-events: none; }
h2 { letter-spacing: .3px; }

/* botões */
.btn { border-color: rgba(232, 182, 74, .25); background: linear-gradient(180deg, #20365d, #182a47); transition: border-color .15s, box-shadow .15s, filter .15s; }
.btn:hover:not(:disabled) { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(232, 182, 74, .25), 0 0 16px rgba(232, 182, 74, .15); }
.btn.ghost { background: transparent; }
.btn.gold, .chat-toggle {
  background: var(--gold-grad); color: #2b1d02; border: 1px solid #f3cf72;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(120, 78, 8, .45), 0 6px 18px rgba(232, 182, 74, .25);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.btn.gold:hover:not(:disabled) { filter: brightness(1.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(120, 78, 8, .45), 0 8px 26px rgba(232, 182, 74, .4); }
.seg { border-color: var(--edge); background: rgba(11, 20, 34, .4); }
.seg button[aria-pressed=true] { background: var(--gold-grad); color: #2b1d02; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.tag.gold { background: var(--gold-grad); color: #2b1d02; }
input[type=text] { border-color: rgba(232, 182, 74, .2); background: rgba(9, 17, 30, .7); }
input[type=text]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 182, 74, .18); }

/* entrada */
.home h1 .paddle { background: var(--gold-grad); color: #2b1d02; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -4px 0 rgba(120, 78, 8, .45), 0 14px 40px rgba(232, 182, 74, .35); }
.rules div { border-left: 0; padding-left: 14px; position: relative; }
.rules div::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: var(--gold-grad); }
.rules b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* jogador em leilão: moldura dourada com cantos */
.lot {
  border: 1px solid rgba(232, 182, 74, .45);
  background:
    radial-gradient(500px 220px at 85% 0%, rgba(232, 182, 74, .10), transparent 70%),
    linear-gradient(180deg, rgba(29, 49, 83, .96), rgba(16, 28, 49, .96));
  box-shadow: inset 0 0 0 4px rgba(11, 20, 34, .6), inset 0 0 0 5px rgba(232, 182, 74, .18), 0 18px 50px rgba(0, 0, 0, .4);
}
.lot::before {
  left: 10px; right: auto; top: 10px; width: 26px; height: 26px; opacity: 1;
  background: none; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); border-radius: 4px 0 0 0;
}
.lot::after {
  content: ''; position: absolute; right: 10px; bottom: 10px; width: 26px; height: 26px; pointer-events: none;
  border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); border-radius: 0 0 4px 0;
}
.lot .ovr { border: 1px solid rgba(232, 182, 74, .55); background: linear-gradient(180deg, rgba(232, 182, 74, .14), rgba(232, 182, 74, .02)); box-shadow: inset 0 0 0 3px rgba(11, 20, 34, .55), inset 0 0 0 4px rgba(232, 182, 74, .25); }
.lot .ovr b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lot .ovr.hidden { border-style: dashed; background: none; box-shadow: none; }
.lot .ovr.hidden b { background: none; -webkit-text-fill-color: var(--muted); }
.av-xl { border: 2px solid rgba(232, 182, 74, .55); box-shadow: 0 0 0 4px rgba(11, 20, 34, .7), 0 0 0 5px rgba(232, 182, 74, .3), 0 10px 30px rgba(0, 0, 0, .4); }
.bidline { border-top: 0; position: relative; }
.bidline::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold-line); opacity: .45; }
.bidamt { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgba(232, 182, 74, .35)); }
.bidamt.none { background: none; -webkit-text-fill-color: #4b5d7a; filter: none; }
.timebar { height: 8px; background: rgba(9, 17, 30, .8); box-shadow: inset 0 0 0 1px rgba(232, 182, 74, .15); }
.timebar i { background: var(--gold-grad); box-shadow: 0 0 12px rgba(232, 182, 74, .55); }
.timebar.hot i { background: linear-gradient(180deg, #ff8a85, #f0534f 50%, #b52c29); box-shadow: 0 0 14px rgba(240, 83, 79, .6); }
.bids button { background: linear-gradient(180deg, #213860, #172947); border-color: rgba(232, 182, 74, .2); transition: border-color .12s, transform .08s, box-shadow .12s; }
.bids button:not(:disabled):hover { border-color: var(--gold); box-shadow: 0 0 14px rgba(232, 182, 74, .2); }
.bids button:not(:disabled):active { transform: translateY(1px); }
.bids button.all { background: linear-gradient(180deg, rgba(232, 182, 74, .2), rgba(232, 182, 74, .06)); border-color: var(--gold); }
.bids button.all b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sold { background: radial-gradient(circle at 50% 45%, rgba(26, 40, 66, .9), rgba(9, 17, 30, .94)); }
.sold .stamp { border: 0; padding: 10px 24px; color: #2b1d02; background: var(--gold-grad); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -3px 0 rgba(120, 78, 8, .5), 0 0 0 3px rgba(11, 20, 34, .9), 0 0 0 4px var(--gold), 0 14px 40px rgba(232, 182, 74, .35); }
.sold .stamp.no { background: none; color: var(--muted); box-shadow: 0 0 0 2px var(--muted); }
.progress { height: 5px; background: rgba(9, 17, 30, .8); }
.progress i { background: var(--gold-grad); box-shadow: 0 0 10px rgba(232, 182, 74, .5); }
.slot.filled { border-color: rgba(232, 182, 74, .35); background: linear-gradient(180deg, rgba(232, 182, 74, .1), rgba(232, 182, 74, .02)); }
.teams li.lead { background: linear-gradient(90deg, rgba(232, 182, 74, .2), transparent 80%); }
.teams .money { color: var(--gold-hi); }
.sales .price { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sales .price.none { background: none; -webkit-text-fill-color: #4b5d7a; }

/* times, estilos e campeonato */
.tcard { border-top-width: 3px; }
.tcard .rate { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tcard.me { box-shadow: inset 0 0 0 1px var(--gold), 0 0 28px rgba(232, 182, 74, .18), 0 14px 34px rgba(0, 0, 0, .28); }
.stylecard { background: linear-gradient(180deg, #1d3153, #15253f); border-color: rgba(232, 182, 74, .18); transition: border-color .15s, box-shadow .15s; }
.stylecard:hover { border-color: rgba(232, 182, 74, .5); }
.stylecard[aria-pressed=true] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold), 0 0 26px rgba(232, 182, 74, .22); background: linear-gradient(180deg, rgba(232, 182, 74, .16), #15253f 60%); }
.gl { background: linear-gradient(180deg, #1b2e50, #131f37); border-color: rgba(232, 182, 74, .18); }
.gl:hover, .gl.open { border-color: var(--gold); box-shadow: 0 0 20px rgba(232, 182, 74, .15); }
.gl-k.w, .game .t.w { color: var(--gold-hi); text-shadow: 0 0 14px rgba(232, 182, 74, .5); }
tr.cut td { border-bottom: 0; background-image: var(--gold-line); background-size: 100% 2px; background-position: bottom; background-repeat: no-repeat; }
tr.me td { color: var(--gold-hi); }
th { color: #c9a75c; }
.gd-line b.lead { color: var(--gold-hi); }

/* campeão */
.champ {
  border: 1px solid var(--gold);
  background:
    radial-gradient(700px 260px at 50% -10%, rgba(232, 182, 74, .35), transparent 70%),
    linear-gradient(180deg, #1f3256, #121f38);
  box-shadow: inset 0 0 0 6px rgba(11, 20, 34, .65), inset 0 0 0 7px rgba(232, 182, 74, .45), 0 0 60px rgba(232, 182, 74, .18);
  padding: 44px 24px;
}
.champ::before { left: 14px; right: auto; top: 14px; width: 34px; height: 34px; opacity: 1; background: none; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.champ::after { content: ''; position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.champ .cup { font-size: 56px; filter: drop-shadow(0 6px 20px rgba(232, 182, 74, .6)); }
.champ h1 { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px rgba(232, 182, 74, .35)); }

/* chat */
.chat-panel { border-color: rgba(232, 182, 74, .35); background: linear-gradient(180deg, #1b2e50, #111d33); }
.chat-head { border-bottom: 0; position: relative; }
.chat-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-line); opacity: .6; }

@media (prefers-reduced-motion: no-preference) {
  .sold .stamp { animation: stamp .35s cubic-bezier(.2, 1.4, .4, 1); }
  @keyframes stamp { from { transform: rotate(-4deg) scale(1.4); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: 1; } }
}
.stylecard { display: flex; flex-direction: column; justify-content: flex-start; }
.gl .tag { background: rgba(232, 182, 74, .1); color: #d9c08a; }
.brand { font-size: 28px; letter-spacing: 1.5px; }

/* campeonato: jogos à esquerda, classificação fixa à direita */
.seasonlayout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.seasonlayout .side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.seasonlayout .side table { font-size: 14px; }
.seasonlayout .side th, .seasonlayout .side td { padding: 7px 4px; }
.seasonlayout .stylebar { margin-bottom: 0; }
.seasonlayout .glgrid { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
main { max-width: 1400px; }
@media (max-width: 1100px) { .seasonlayout .gd-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .seasonlayout { grid-template-columns: 1fr; }
  .seasonlayout .side { position: static; max-height: none; }
}

/* lista de salas e senha */
.roomlist { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; }
.roomlist li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.roomlist li.empty, .roomlist li.muted { display: block; border: 0; }
.roomlist .rcode { font: 700 18px/1 var(--display); letter-spacing: 2px; color: var(--gold-hi); background: rgba(232, 182, 74, .1); border: 1px solid var(--edge); border-radius: 6px; padding: 6px 8px; }
.roomlist .rinfo { display: grid; min-width: 0; }
.roomlist .rinfo b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.roomlist .btn { padding: 8px 14px; }
.pwrow { display: flex; gap: 10px; align-items: center; }
.pwrow[hidden] { display: none; }
.pwrow .lock { font-size: 20px; }
.home { align-items: start; padding-top: 6vh; }

/* escudos (imagem em /escudos ou selo com a sigla) */
.crest { --h: 210; display: inline-grid; place-items: center; flex: none; vertical-align: middle; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, hsl(var(--h) 45% 42%), hsl(var(--h) 50% 22%));
  border: 1px solid rgba(232, 182, 74, .55); color: #f5e6bf; font: 800 11px/1 var(--display); letter-spacing: .3px; overflow: hidden; }
.crest.img { background: none; border: 0; border-radius: 0; object-fit: contain; }
.crest.empty { background: rgba(255, 255, 255, .04); border-style: dashed; color: var(--muted); }
.crest-xxs { width: 16px; height: 16px; font-size: 6px; }
.crest-xs { width: 22px; height: 22px; font-size: 7.5px; }
.crest-sm { width: 30px; height: 30px; font-size: 9px; }
.crest-md { width: 40px; height: 40px; font-size: 11px; }
.crest-lg { width: 72px; height: 72px; font-size: 19px; margin: 0 auto 12px; display: grid; }
.crest-xl { width: 120px; height: 120px; font-size: 30px; box-shadow: 0 0 40px rgba(232, 182, 74, .35); }
.crest.img.crest-xl { filter: drop-shadow(0 6px 22px rgba(232, 182, 74, .45)); box-shadow: none; }
.crestgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; padding: 2px; }
.crestbtn { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border-radius: 10px; border: 1px solid rgba(232, 182, 74, .15); background: rgba(9, 17, 30, .45); cursor: pointer; font-size: 12px; text-align: center; line-height: 1.2; }
.crestbtn:hover:not(:disabled) { border-color: rgba(232, 182, 74, .6); }
.crestbtn[aria-pressed=true] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold), 0 0 16px rgba(232, 182, 74, .25); background: rgba(232, 182, 74, .12); }
.crestbtn:disabled { opacity: .3; cursor: not-allowed; }
.teams li { grid-template-columns: 34px 1fr auto; }
.tcrest { position: relative; display: grid; place-items: center; }
.tcrest::after { content: ''; position: absolute; left: -10px; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: var(--c); }
.pteam { display: flex; align-items: center; gap: 8px; }
.leader .crest, .buyer .crest { margin-right: 2px; }
.withcrest { display: flex; align-items: center; gap: 10px; }
.slot .n .crest { vertical-align: -3px; }
.tcard .head { align-items: center; gap: 12px; }
.gl-row { grid-template-columns: 22px 1fr auto 40px; }
td.tname { display: flex; align-items: center; gap: 8px; }
.champcrest { position: relative; display: inline-block; }
.champcrest .cup { position: absolute; right: -18px; bottom: -6px; font-size: 40px; }
.sold .crest-lg { margin-bottom: 14px; }

/* campeões (Data Dragon) */
.chi { display: inline-grid; place-items: center; flex: none; vertical-align: middle; object-fit: cover; border-radius: 6px; background: linear-gradient(180deg, #2a3e63, #18263f); color: #cdd6e4; font: 700 11px/1 var(--display); border: 1px solid rgba(232, 182, 74, .45); }
.chi-xs { width: 20px; height: 20px; font-size: 8px; border-radius: 4px; }
.chi-sm { width: 28px; height: 28px; font-size: 10px; }
.chi-lg { width: 52px; height: 52px; font-size: 15px; border-radius: 8px; border-width: 2px; }
.gl-champs { grid-column: 2 / -1; display: flex; gap: 3px; margin: -2px 0 4px; }
.chlist { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; margin-left: 6px; vertical-align: middle; }
.ch { display: inline-flex; align-items: center; gap: 4px; }

/* tela da partida, no estilo do modo espectador */
.hud { padding: 16px 18px 18px; border-color: rgba(232, 182, 74, .45); }
.hud-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hud-top { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(59, 140, 255, .18), rgba(9, 17, 30, .6) 40%, rgba(9, 17, 30, .6) 60%, rgba(232, 64, 87, .18)); border: 1px solid rgba(232, 182, 74, .25); }
.hud-team { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; gap: 4px 12px; align-items: center; }
.hud-team.b { grid-template-columns: auto 1fr auto; direction: rtl; }
.hud-team.b > * { direction: ltr; }
.hud-team .crest { grid-row: 1 / span 2; }
.hud-tname { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hud-team.b .hud-tname { justify-content: flex-end; }
.hud-tname b { font: 700 18px/1.1 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-kills { grid-row: 1 / span 2; font: 800 46px/1 var(--display); min-width: 52px; text-align: center; }
.hud-kills.w { color: var(--gold-hi); text-shadow: 0 0 18px rgba(232, 182, 74, .6); }
.hud-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.hud-team.b .hud-stats { justify-content: flex-end; }
.hud-stat { font-size: 12px; color: var(--muted); display: inline-flex; align-items: baseline; gap: 4px; }
.hud-stat b { font: 700 16px/1 var(--display); color: var(--text); }
.hud-stat.gold b, .gold { color: var(--gold-hi); }
.hud-clock { font: 800 30px/1 var(--display); padding: 8px 14px; border-radius: 8px; background: rgba(9, 17, 30, .8); border: 1px solid rgba(232, 182, 74, .35); color: var(--muted); }
.hud-clock.on { color: var(--text); }
.hud-goldbar { position: relative; height: 22px; margin: 8px 0 12px; display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.hud-goldbar::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: rgba(9, 17, 30, .8); border-radius: 2px; }
.hud-goldbar i { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; transition: all .3s; }
.hud-goldbar span { position: relative; top: 12px; }
.hud-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; margin-top: 6px; }
.hud-rows { display: grid; gap: 6px; }
.hud-row { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 8px; align-items: center; }
.hud-p { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 10px;
  background: linear-gradient(90deg, rgba(59, 140, 255, .14), rgba(9, 17, 30, .45)); border: 1px solid rgba(59, 140, 255, .22); }
.hud-p.b { direction: rtl; background: linear-gradient(270deg, rgba(232, 64, 87, .14), rgba(9, 17, 30, .45)); border-color: rgba(232, 64, 87, .22); }
.hud-p.b > * { direction: ltr; }
.hud-p.b .hud-pinfo { text-align: right; }
.hud-p.b .hud-pnums { text-align: left; }
.hud-p.mvp { border-color: var(--gold); box-shadow: 0 0 16px rgba(232, 182, 74, .25); }
.hud-pinfo { display: grid; min-width: 0; line-height: 1.25; }
.hud-pinfo b { display: inline-flex; gap: 6px; align-items: center; overflow: hidden; white-space: nowrap; }
.hud-p.b .hud-pinfo b { justify-content: flex-end; }
.hud-pnums { display: grid; text-align: right; line-height: 1.25; }
.hud-pnums b { font: 700 17px/1.1 var(--display); white-space: nowrap; }
.hud-role { text-align: center; font: 700 14px/1 var(--display); }
.hud-feedbox { background: rgba(9, 17, 30, .5); border: 1px solid rgba(232, 182, 74, .15); border-radius: 10px; padding: 10px; }
.hud-feed { list-style: none; padding: 0; margin: 0; max-height: 330px; overflow-y: auto; font-size: 13px; }
.hud-feed li { display: flex; align-items: center; gap: 6px; padding: 5px 6px; border-left: 3px solid var(--c); margin-bottom: 4px; background: rgba(255, 255, 255, .025); border-radius: 0 6px 6px 0; flex-wrap: wrap; }
.hud-feed .ft { width: 26px; font-size: 12px; }
.hud-feed .sword { color: var(--muted); }
@media (max-width: 1100px) { .hud-main { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .hud-top { grid-template-columns: 1fr; }
  .hud-team.b { direction: ltr; }
  .hud-row { grid-template-columns: 1fr; }
  .hud-role { text-align: left; }
}

/* aviso exigido pela política de fãs da Riot */
.legal { max-width: 1400px; margin: 40px auto 0; padding: 18px 24px 90px; color: #7d8ba3; font-size: 12px; line-height: 1.5; border-top: 1px solid rgba(232, 182, 74, .12); }
.hud-feed li.fo { display: block; } .hud-feed li.fo .crest { margin: 0 4px; vertical-align: -6px; } .hud-feed li.fo .ft { display: inline-block; }

.hud-role { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.lead-gold { font: 700 13px/1 var(--display); color: var(--muted); white-space: nowrap; }
.lead-gold.on.a { color: #7db7ff; }   /* lado azul (esquerda) */
.lead-gold.on.b { color: #ff7a8c; }   /* lado vermelho (direita) */

/* técnicos clicáveis: abre o elenco embaixo */
.teams li[role=button] { cursor: pointer; border-radius: 8px; transition: background .15s; }
.teams li[role=button]:hover { background: rgba(232, 182, 74, .07); }
.teams li.open { background: rgba(232, 182, 74, .1); border-bottom-color: transparent; }
.teams li.teamroster-li { display: block; padding: 0 0 10px; }
.teamroster { margin: 0 0 0 44px; padding: 8px 10px; border-radius: 8px; background: rgba(9, 17, 30, .55); border: 1px solid rgba(232, 182, 74, .18); }
.tr-row { display: grid; grid-template-columns: 62px 24px 1fr auto 40px; gap: 8px; align-items: center; padding: 4px 0; font-size: 14px; }
.tr-row.empty { grid-template-columns: 62px 1fr; }
.tr-row .rr { font: 700 13px/1 var(--display); }
.tr-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tr-rate { font-weight: 600; }
.tr-price { color: var(--muted); text-align: right; font-size: 13px; }

/* saldo e lance máximo em destaque */
.money-big { display: flex; gap: 22px; align-items: flex-end; }
.money-big span { display: grid; justify-items: end; line-height: 1; }
.money-big small { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.money-big b { font: 800 30px/1 var(--display); color: #4fd8c8; text-shadow: 0 0 14px rgba(43, 196, 180, .35); }
.money-big b.max { color: var(--text); text-shadow: none; }

.stylenote { margin: 8px 0 0; color: #c9a75c; font-style: italic; }

/* ícones das rotas */
.ri { display: inline-block; vertical-align: middle; object-fit: contain; flex: none; }
.ri-xs { width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; }
.ri-sm { width: 20px; height: 20px; margin-right: 6px; }
.ri-md { width: 30px; height: 30px; }
.rolewrap { display: inline-flex; align-items: center; gap: 8px; }
.rolein { display: inline-flex; align-items: center; }
.rr { display: inline-flex; align-items: center; }
.slot .r { display: flex; align-items: center; }
.tcard li { grid-template-columns: 74px minmax(0, 1fr) auto auto; }
.tr-row { grid-template-columns: 74px 24px 1fr auto 40px; }
.tr-row.empty { grid-template-columns: 74px 1fr; }

/* miniaturas dos jogos da rodada */
.gmrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.gmlabel { width: 100%; }
.gm { text-align: left; width: 190px; padding: 8px 10px; border-radius: 10px; cursor: pointer; display: grid; gap: 4px;
  background: linear-gradient(180deg, #1b2e50, #131f37); border: 1px solid rgba(232, 182, 74, .18); color: var(--text); font: inherit; }
.gm:hover { border-color: var(--muted); }
.gm.open { border-color: var(--gold); box-shadow: 0 0 16px rgba(232, 182, 74, .2); }
.gm-top { display: flex; justify-content: space-between; align-items: center; min-height: 16px; }
.gm-mine { color: var(--gold); font-size: 12px; font-weight: 700; }
.gm-clock { font-size: 13px; margin-left: auto; }
.gm-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 6px; align-items: center; font-size: 13px; }
.gm-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm-name.mine { color: var(--gold); font-weight: 600; }
.gm-k { font: 800 18px/1 var(--display); text-align: right; }
.gm-k.w { color: var(--gold-hi); }
.gm-ser { font-size: 11px; }
/* diferença de ouro mais legível */
.lead-gold { font-size: 16px; }
.hud-goldbar { height: 26px; margin-bottom: 18px; font-size: 15px; font-weight: 600; }
.hud-goldbar span { top: 15px; }

/* grupos (12 times) */
.grouptable + .grouptable { margin-top: 14px; }
.grouphead { font: 700 14px/1 var(--display); color: var(--gold); margin: 4px 0 6px; }
.gm-grp { font-size: 11px; }

/* rotas numa cor só: o ícone já diferencia a posição */
:root { --role: #d9c08a; }
.r-TOP, .r-JG, .r-MID, .r-ADC, .r-SUP { background: var(--role); color: #1a1408; }
.c-TOP, .c-JG, .c-MID, .c-ADC, .c-SUP { color: var(--role); }
.stylecard .up { color: #7bd88f; } .stylecard .down { color: #ff8a65; }
/* tracinhos dos técnicos: vaga preenchida em dourado escuro, vaga aberta no azul de fundo */
.pip.r-TOP, .pip.r-JG, .pip.r-MID, .pip.r-ADC, .pip.r-SUP { background: #8a6a2c; }

/* marca: martelo de leilão dourado + Cinzel */
.brand::before { content: none; display: none; }
.brand { gap: 12px; background: none; color: var(--gold); -webkit-text-fill-color: initial; }
.brand-ico { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 0 8px rgba(232, 182, 74, .45)); }
.brand .brand-name { font: 900 36px/1 'Cinzel', 'Times New Roman', serif; letter-spacing: 1.5px;
  background: linear-gradient(180deg, #fff0c2 0%, #e8b64a 55%, #a8742a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  margin-left: 0; }
@media (max-width: 600px) { .brand .brand-name { font-size: 28px; } .brand-ico { width: 34px; height: 34px; } }
