/* MU GAME Hard, página do Tower Defense (towerdefense.html), a mesma do MU GAME Easy.
   A arena da Guerra das Torres em 3D no topo e, embaixo, os ranks, as guilds inscritas, o último evento e as regras.
   Usa as peças do Castle Siege (cs.css) e as cores das 6 bases. Largura fixa do site (1000px). */

.gt-pg { --b1: #e5484d; --b2: #3b82f6; --b3: #34c759; --b4: #f5c518; --b5: #a855f7; --b6: #e9e9e9; --ouro: #f6c75c; --ouro-c: #ffe7a6; }

/* ================================================================ A ARENA (topo) */
.gt-hero { position: relative; height: 660px; overflow: hidden; background: #07080c; border-bottom: 1px solid rgba(246, 199, 92, .22); isolation: isolate; }
.gt-cena { position: absolute; inset: 0; z-index: 0; cursor: grab; }
.gt-cena canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.gt-hero.ativo .gt-cena { cursor: move; }
.gt-cena:active { cursor: grabbing; }
/* foto da arena: aparece enquanto o 3D carrega e fica no lugar dele se o navegador não tem 3D */
.gt-foto { position: absolute; inset: 0; z-index: 1; background: #07080c url(img/arena.jpg) center 62% / cover no-repeat; transition: opacity .6s; pointer-events: none; }
.gt-hero.pronto .gt-foto { opacity: 0; }
/* sombra em cima e embaixo para o texto ler bem sobre a arena */
.gt-veu { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 10, .88) 0%, rgba(5, 6, 10, .35) 22%, rgba(5, 6, 10, 0) 38%, rgba(5, 6, 10, 0) 70%, rgba(5, 6, 10, .82) 100%),
    radial-gradient(120% 70% at 50% 50%, transparent 55%, rgba(5, 6, 10, .55) 100%); }
.gt-rotulos { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.gt-rot { position: absolute; left: 0; top: 0; text-align: center; white-space: nowrap; will-change: transform; }
.gt-rot-g { display: block; font: 700 16px/1.1 var(--f-display); color: #fff; letter-spacing: .02em; text-shadow: 0 1px 3px #000, 0 0 12px rgba(0, 0, 0, .9); }
.gt-rot-c { display: block; margin-top: 1px; font-size: 11px; font-weight: 600; color: var(--c); text-shadow: 0 1px 3px #000; }
.gt-rot-hp { width: 96px; height: 7px; margin: 4px auto 0; border-radius: 4px; overflow: hidden; background: rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .28); }
.gt-rot-hp i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #ff5a4d, #ffd24d 55%, #59e07a); background-size: 96px 100%; transition: width .25s; }
.gt-rot.livre .gt-rot-g { color: rgba(255, 255, 255, .55); font-size: 13px; font-weight: 600; }
.gt-rot.caiu { opacity: .5; }
.gt-rot.caiu .gt-rot-c::after { content: ", caiu"; }

.gt-carga { position: absolute; z-index: 6; left: 50%; top: 50%; width: 260px; margin: -24px 0 0 -130px; text-align: center; font: 600 13px var(--f-body); color: var(--tx-2); transition: opacity .4s; }
.gt-carga > span { display: inline-block; padding: 6px 12px; border-radius: 8px; background: rgba(5, 6, 10, .78); color: var(--tx); }
.gt-carga i { display: block; height: 4px; margin-top: 10px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.gt-carga b { display: block; height: 100%; width: 4%; border-radius: 3px; background: linear-gradient(90deg, var(--ouro), #fff3c8); transition: width .3s; }
.gt-hero.pronto .gt-carga, .gt-hero.sem3d .gt-carga { opacity: 0; pointer-events: none; }

.gt-hero-in { position: relative; z-index: 4; height: 100%; pointer-events: none; }
.gt-hero-in > * { pointer-events: auto; }
.gt-crumbs { position: absolute; left: 0; top: 14px; }
.gt-titulo { position: absolute; left: 0; top: 44px; width: 520px; pointer-events: none; }
.gt-kicker { margin: 0; font: 600 15px var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ouro); }
.gt-titulo h1 { margin: 4px 0 0; font: 700 76px/0.92 var(--f-display); letter-spacing: .01em;
  background: linear-gradient(180deg, #fff 0%, #ffe7a6 46%, #d9a23c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .7)) drop-shadow(0 0 26px rgba(246, 199, 92, .28)); }
.gt-sub { margin: 10px 0 0; max-width: 430px; font-size: 15px; line-height: 1.5; color: #e9e3d6; text-shadow: 0 1px 6px #000; }

/* contagem e situação da inscrição */
.gt-conta { position: absolute; right: 0; top: 40px; width: 340px; padding: 14px 18px 16px; border-radius: 12px; background: rgba(7, 9, 15, .78);
  border: 1px solid rgba(246, 199, 92, .32); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gt-conta-t { margin: 0; font-size: 13px; color: var(--tx-3); }
.gt-conta-t b { color: var(--ouro-c); font-weight: 600; }
.gt-conta .cs-relogio { gap: 2px; }
.gt-conta .cs-relogio span { min-width: 0; flex: 1 1 0; }
.gt-conta .cs-relogio b { font-size: 42px; }
.gt-conta .cs-relogio i { font-size: 34px; }
.gt-relogio { margin-top: 8px; }
.gt-fase { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: var(--tx-2); }
.gt-fase::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tx-4); }
.gt-fase.aberta { color: #7ef0b6; } .gt-fase.aberta::before { background: #43e8b8; box-shadow: 0 0 0 3px rgba(67, 232, 184, .2); }
.gt-fase.andamento { color: #ff9b84; } .gt-fase.andamento::before { background: #ff6b4a; box-shadow: 0 0 0 3px rgba(255, 107, 74, .25); animation: cs-pulsa 1.4s infinite; }
.gt-fase.fechada { color: var(--ouro-c); } .gt-fase.fechada::before { background: var(--ouro); }
.gt-btn-ins { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 9px; text-decoration: none;
  font: 700 15px var(--f-display); letter-spacing: .04em; text-transform: uppercase; color: #231703 !important;
  background: linear-gradient(180deg, #ffe7a6, #f6c75c 55%, #d9a23c); box-shadow: 0 10px 24px -12px rgba(246, 199, 92, .9), inset 0 1px 0 rgba(255, 255, 255, .6); transition: filter .15s; }
.gt-btn-ins:hover { filter: brightness(1.08); }
.gt-btn-ins[hidden] { display: none; }

/* botões da arena */
.gt-ferr { position: absolute; right: 0; top: 330px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.gt-f { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 9px; cursor: pointer; font: 600 13px var(--f-body); color: var(--tx-2);
  background: rgba(7, 9, 15, .72); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .15s, color .15s; }
.gt-f:hover { color: #fff; border-color: rgba(246, 199, 92, .6); }
.gt-f.on { color: var(--ouro-c); border-color: rgba(246, 199, 92, .7); }
.gt-f .i { width: 16px; height: 16px; }
.gt-f-q { width: 36px; padding: 0; justify-content: center; }
.gt-f-q b { font: 700 20px/1 var(--f-display); }
.gt-hero:not(.pronto) .gt-ferr { opacity: .4; pointer-events: none; }
.gt-dica { position: absolute; left: 0; top: 214px; max-width: 300px; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--tx-3); text-shadow: 0 1px 4px #000; pointer-events: none; }
.gt-dica b { color: var(--tx-2); font-weight: 600; }
.gt-hero.sem3d .gt-dica, .gt-hero.sem3d .gt-ferr { display: none; }

/* as 6 bases no pé da arena */
.gt-bases { position: absolute; left: 0; right: 0; bottom: 18px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.gt-base { position: relative; min-width: 0; padding: 9px 11px 10px; border-radius: 10px; cursor: pointer; background: rgba(7, 9, 15, .8); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .15s, transform .15s; }
.gt-base::before { content: ""; position: absolute; left: 10px; right: 10px; top: -1px; height: 2px; border-radius: 2px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.gt-base:hover, .gt-base:focus-visible { border-color: var(--c); transform: translateY(-2px); outline: none; }
.gt-base-c { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--c); }
.gt-base-c i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.gt-base-g { display: flex; align-items: center; gap: 7px; margin-top: 5px; min-height: 22px; }
.gt-base-g img { width: 20px; height: 20px; flex: none; image-rendering: pixelated; border: 1px solid rgba(255, 255, 255, .25); background: #000; }
.gt-base-g b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 16px/1 var(--f-display); color: #fff; }
.gt-base.livre .gt-base-g b { font: 600 13px var(--f-body); color: var(--tx-4); }
.gt-base-hp { height: 5px; margin-top: 7px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.gt-base-hp i { display: block; height: 100%; width: 100%; background: var(--c); transition: width .25s; }
.gt-base-n { display: block; margin-top: 5px; font-size: 11px; color: var(--tx-4); }
.gt-base.caiu { opacity: .5; }

.gt-aviso { position: absolute; z-index: 7; left: 50%; top: 40%; transform: translate(-50%, -50%) scale(.96); padding: 14px 26px; border-radius: 12px; text-align: center; white-space: nowrap;
  font: 700 34px var(--f-display); letter-spacing: .02em; color: var(--c, var(--ouro)); background: rgba(5, 6, 10, .78); border: 1px solid currentColor;
  text-shadow: 0 0 22px currentColor; opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s; }
.gt-aviso small { display: block; font: 600 13px var(--f-body); letter-spacing: 0; color: var(--tx-2); text-shadow: none; }
.gt-aviso.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.gt-hero:fullscreen, .gt-hero:-webkit-full-screen { height: 100vh; width: 100vw; border: 0; }
.gt-hero:fullscreen .gt-hero-in, .gt-hero:-webkit-full-screen .gt-hero-in { width: auto; margin: 0 28px; }

/* ================================================================ INSCRIÇÃO */
.gt-vagas { align-self: flex-end; font-size: 13px; font-weight: 600; color: var(--tx-3); white-space: nowrap; }
.gt-vagas b { color: var(--ouro-c); }
.gt-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gt-slot { position: relative; min-width: 0; padding: 14px 16px 15px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(0, 0, 0, .15)), var(--pedra, #0d1729);
  border: 1px solid var(--line); }
.gt-slot::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.gt-slot::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, var(--cg), transparent); pointer-events: none; }
.gt-slot-h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--c); }
.gt-slot-h i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.gt-slot-h span { margin-left: auto; color: var(--tx-4); font-weight: 500; }
.gt-slot-g { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.gt-slot-g img { width: 40px; height: 40px; flex: none; image-rendering: pixelated; border: 1px solid rgba(255, 255, 255, .25); background: #000; box-shadow: 0 0 0 3px rgba(0, 0, 0, .35); }
.gt-slot-g b { display: block; font: 700 22px/1 var(--f-display); color: var(--tx); }
.gt-slot-g small { display: block; margin-top: 3px; font-size: 12px; color: var(--tx-3); }
.gt-slot-m { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0 0; padding: 0; list-style: none; }
.gt-slot-m li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 3px; border-radius: 20px; font-size: 12px; color: var(--tx-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.gt-slot-m img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.gt-slot-m a { color: inherit; text-decoration: none; }
.gt-slot-m a:hover { color: #fff; }
.gt-slot.livre { display: grid; place-items: center; min-height: 152px; text-align: center; border-style: dashed; background: rgba(255, 255, 255, .012); }
.gt-slot.livre::before { opacity: .35; }
.gt-slot.livre p { font-size: 13px; color: var(--tx-4); }
.gt-slot.livre p b { display: block; margin-bottom: 4px; font: 700 18px var(--f-display); color: var(--tx-3); }
.gt-slot.minha { border-color: var(--c); }

/* painel do Guild Master */
.gt-gm { margin-top: 14px; padding: 18px 20px 20px; }
.gt-gm[hidden] { display: none; }
.gt-gm-msg { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--tx-2); }
.gt-gm-msg .i { width: 26px; height: 26px; flex: none; color: var(--ouro); }
.gt-gm-msg b { color: var(--tx); }
.gt-gm-msg a { color: var(--ouro-c); }
.gt-gm-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gt-gm-top h3 { font-size: 22px; }
.gt-gm-top img { width: 34px; height: 34px; image-rendering: pixelated; border: 1px solid rgba(255, 255, 255, .25); background: #000; }
.gt-gm-top select { height: 34px; padding: 0 10px; border-radius: 8px; font: 600 14px var(--f-body); color: var(--tx); background: #0b1324; border: 1px solid var(--line-2); }
.gt-gm-cont { margin-left: auto; font: 700 22px var(--f-display); color: var(--tx); }
.gt-gm-cont small { font: 600 12px var(--f-body); color: var(--tx-3); }
.gt-gm-cont.cheio { color: var(--ouro-c); }
.gt-gm-sit { margin-top: 8px !important; font-size: 13px; color: var(--tx-3); }
.gt-gm-sit b { color: var(--tx); }
.gt-mem { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; max-height: 352px; overflow: auto; }
.gt-mem label { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-radius: 10px; cursor: pointer; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); transition: border-color .15s, background .15s; }
.gt-mem label:hover { border-color: var(--line-2); }
.gt-mem input { width: 18px; height: 18px; flex: none; accent-color: var(--ouro); }
.gt-mem img { width: 32px; height: 32px; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.gt-mem span { min-width: 0; }
.gt-mem b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--tx); }
.gt-mem small { display: block; font-size: 11.5px; color: var(--tx-3); }
.gt-mem small.av { color: #ffb38a; }
.gt-mem .sel label { border-color: rgba(246, 199, 92, .65); background: rgba(246, 199, 92, .07); }
.gt-mem .nao label { opacity: .45; cursor: not-allowed; }
.gt-gm-pe { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.gt-gm-pe p { flex: 1 1 300px; font-size: 12.5px; color: var(--tx-3); }
.gt-b { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 9px; cursor: pointer; font: 700 15px var(--f-display); letter-spacing: .04em; text-transform: uppercase; border: 1px solid transparent; transition: filter .15s, opacity .15s; }
.gt-b.pri { color: #231703; background: linear-gradient(180deg, #ffe7a6, #f6c75c 55%, #d9a23c); box-shadow: 0 10px 22px -12px rgba(246, 199, 92, .9); }
.gt-b.sec { color: var(--tx-2); background: transparent; border-color: var(--line-2); }
.gt-b.ruim { color: #ff9b9b; background: transparent; border-color: rgba(255, 111, 111, .45); }
.gt-b:hover { filter: brightness(1.08); }
.gt-b:disabled { opacity: .45; cursor: not-allowed; filter: none; }

/* ================================================================ ÚLTIMO EVENTO */
.gt-ult { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 14px; align-items: start; }
.gt-ver3d { align-self: flex-end; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 9px; cursor: pointer; font: 600 13px var(--f-body); color: var(--ouro-c); background: rgba(246, 199, 92, .08); border: 1px solid rgba(246, 199, 92, .4); }
.gt-ver3d:hover { background: rgba(246, 199, 92, .14); }
.gt-ver3d[hidden] { display: none; }
.gt-dest { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 10px; }
.gt-d { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--pedra, #0d1729); border: 1px solid var(--line); }
.gt-d img { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.gt-d img.emb { border-radius: 4px; image-rendering: pixelated; background: #000; }
.gt-d small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-3); }
.gt-d b { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 21px/1.05 var(--f-display); color: var(--tx); }
.gt-d em { display: block; margin-top: 2px; font-style: normal; font-size: 12.5px; color: var(--tx-3); }
.gt-d a { color: inherit; text-decoration: none; }
.gt-d.venc { border-color: rgba(246, 199, 92, .55); background: radial-gradient(90% 120% at 0% 0%, rgba(246, 199, 92, .16), transparent 60%), var(--pedra, #0d1729); }
.gt-d.venc small { color: var(--ouro); }
.gt-d.venc b { color: var(--ouro-c); }
.gt-d .coroa { position: absolute; right: 12px; top: 10px; width: 22px; height: 22px; color: var(--ouro); opacity: .8; }
.gt-placar { margin-top: 12px; overflow: hidden; }
.gt-pl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.gt-pl th { padding: 10px 12px; text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tx-3); border-bottom: 1px solid var(--line-2); background: rgba(6, 11, 22, .45); }
.gt-pl th.n, .gt-pl td.n { text-align: right; font-variant-numeric: tabular-nums; }
.gt-pl td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--tx-2); vertical-align: middle; }
.gt-pl tr:last-child td { border-bottom: 0; }
.gt-pl-g { display: flex; align-items: center; gap: 10px; }
.gt-pl-g i { width: 4px; height: 30px; flex: none; border-radius: 2px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.gt-pl-g img { width: 28px; height: 28px; flex: none; image-rendering: pixelated; background: #000; border: 1px solid var(--line-2); }
.gt-pl-g b { display: block; font: 700 17px/1.1 var(--f-display); color: var(--tx); }
.gt-pl-g small { font-size: 11.5px; color: var(--tx-3); }
.gt-pl tr.venc td { background: rgba(246, 199, 92, .065); }
.gt-placar .gt-pl td:first-child { min-width: 190px; }
.gt-pl-g span { white-space: nowrap; }
.gt-pl tr.venc .gt-pl-g b { color: var(--ouro-c); }
.gt-vida { display: flex; align-items: center; gap: 8px; min-width: 150px; }
.gt-vida span { flex: 1; height: 8px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.gt-vida span i { display: block; height: 100%; background: var(--c); }
.gt-vida em { width: 46px; text-align: right; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--tx); }
.gt-vida.caiu em { color: #ff8f8f; }
.gt-jog { margin-top: 12px; }
.gt-jog-abas { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.gt-jog-abas button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 20px; cursor: pointer; font: 600 12.5px var(--f-body); color: var(--tx-3); background: transparent; border: 1px solid var(--line-2); }
.gt-jog-abas button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--tx-3)); }
.gt-jog-abas button.on { color: var(--tx); border-color: var(--c, var(--ouro)); background: rgba(255, 255, 255, .04); }
.gt-jog .gt-pl td a { color: var(--tx); text-decoration: none; font-weight: 600; }
.gt-jog .gt-pl td a:hover { color: var(--ouro-c); }
.gt-jog-n { display: flex; align-items: center; gap: 9px; }
.gt-jog-n img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.gt-jog-n i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c); }
.gt-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; vertical-align: 1px; }
.gt-tag.mvp { color: #231703; background: var(--ouro); }
.gt-tag.pr { color: #04211a; background: #43e8b8; }
.gt-hist { padding: 14px 0 6px; }
.gt-hist h3 { padding: 0 16px 8px; font-size: 17px; }
.gt-hist ol { margin: 0; padding: 0; list-style: none; max-height: 520px; overflow: auto; }
.gt-hist li button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 16px; cursor: pointer; text-align: left; color: var(--tx-2); background: transparent; border: 0; border-top: 1px solid var(--line); font: inherit; }
.gt-hist li button:hover { background: rgba(255, 255, 255, .03); }
.gt-hist li button.on { background: rgba(246, 199, 92, .07); box-shadow: inset 3px 0 0 var(--ouro); }
.gt-hist li i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--c, var(--tx-4)); box-shadow: 0 0 8px var(--c, transparent); }
.gt-hist li span { min-width: 0; }
.gt-hist li b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: var(--tx); }
.gt-hist li small { display: block; font-size: 11.5px; color: var(--tx-3); }
.gt-hist .cs-vazio { padding: 14px 16px 18px; }

/* ================================================================ COMO FUNCIONA */
.gt-trilha { padding: 22px 20px 20px; }
.gt-passos { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: p; }
.gt-passos::before { content: ""; position: absolute; left: 10%; right: 10%; top: 21px; height: 2px; background: linear-gradient(90deg, var(--b1), var(--b2), var(--b3), var(--b4), var(--b5)); opacity: .55; }
.gt-passos li { position: relative; text-align: center; }
.gt-passos li i { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; color: var(--ouro-c); background: #0b1324; border: 1px solid rgba(246, 199, 92, .45); box-shadow: 0 0 0 4px rgba(6, 11, 22, .9); }
.gt-passos li i .i { width: 20px; height: 20px; }
.gt-passos b { display: block; margin-top: 10px; font: 700 17px var(--f-display); color: var(--tx); }
.gt-passos small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--tx-3); }
.gt code, .gt-pg code { padding: 1px 5px; border-radius: 4px; font: 600 12px ui-monospace, Consolas, monospace; color: var(--ouro-c); background: rgba(246, 199, 92, .1); }
.gt-cartas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.gt-carta { margin: 0; overflow: hidden; }
.gt-carta img { display: block; width: 100%; height: 220px; object-fit: cover; }
.gt-carta figcaption { padding: 14px 16px 16px; }
.gt-carta h3 { font-size: 18px; }
.gt-carta p { margin-top: 6px !important; font-size: 13.5px; line-height: 1.55; color: var(--tx-2); }
.gt-regras { margin-top: 12px; }

/* ================================================================ MODERADOR */
.gt-mod-in { padding: 18px 20px 20px; }
.gt-mod-linha { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.gt-mod-linha label { display: grid; gap: 5px; font-size: 12px; font-weight: 600; color: var(--tx-3); }
.gt-mod-linha input, .gt-mod-linha select { height: 40px; padding: 0 10px; border-radius: 8px; font: 600 14px var(--f-body); color: var(--tx); background: #0b1324; border: 1px solid var(--line-2); color-scheme: dark; }
.gt-mod-sit { margin: 0 0 14px !important; font-size: 14px; color: var(--tx-2); }
.gt-mod-sit b { color: var(--ouro-c); }
.gt-mod-log { margin: 16px 0 0; padding: 0; list-style: none; max-height: 240px; overflow: auto; border-top: 1px solid var(--line); }
.gt-mod-log li { display: grid; grid-template-columns: 120px 100px 110px minmax(0, 1fr); gap: 10px; padding: 7px 2px; font-size: 12.5px; color: var(--tx-3); border-bottom: 1px solid var(--line); }
.gt-mod-log b { color: var(--tx-2); font-weight: 600; }

.gt-toast { position: fixed; z-index: 90; left: 50%; bottom: 26px; transform: translateX(-50%); max-width: 560px; padding: 12px 18px; border-radius: 10px; font-size: 14px; color: #04211a; background: #43e8b8; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .8); }
.gt-toast.ruim { color: #fff; background: #c83a4a; }

/* modo leve (perf.js): sem desfoque atrás das caixas */
/* ---------------------------------------------------------------- ranks: temporada ou geral, números de cada um */
.gt-per { display: inline-flex; flex: none; padding: 4px; border-radius: 10px; background: rgba(6, 11, 22, .6); border: 1px solid var(--line-2); }
.gt-per button { padding: 8px 14px; border: 0; border-radius: 7px; font: 700 14px var(--f-display); letter-spacing: .02em; color: var(--tx-3); background: none; cursor: pointer; }
.gt-per button:hover { color: var(--tx); }
.gt-per button.on { color: #231703; background: linear-gradient(180deg, #ffe7a6, var(--ouro)); }
.gt-per button:focus-visible { outline: 2px solid var(--ouro-c); outline-offset: 2px; }
.gt .cs-podio.n1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.gt .cs-podio.n2 { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; }
.gt .cs-podio.n2 .cs-pd-1 { order: 1; } .gt .cs-podio.n2 .cs-pd-2 { order: 2; }
.gt-pd-st { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 100%; margin: 14px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); }
.gt-pd-st div { min-width: 0; }
.gt-pd-st dt { font-size: 10.5px; line-height: 1.25; color: var(--tx-4); }
.gt-pd-st dd { margin: 2px 0 0; font: 700 16px var(--f-display); color: var(--tx); font-variant-numeric: tabular-nums; }
.cs-pd-1 .gt-pd-st dd { color: var(--ouro-c); }
.gt-rl { margin-top: 18px; font-size: 13.5px; }
.gt-rl-h, .gt-rl-l { display: grid; grid-template-columns: 40px minmax(0, 1.8fr) repeat(3, minmax(0, .8fr)) minmax(0, .9fr); align-items: center; gap: 10px; padding: 0 12px; }
.gt-rl-h { padding-bottom: 8px; font-size: 11px; font-weight: 600; color: var(--tx-4); border-bottom: 1px solid var(--line-2); }
.gt-rl-l { min-height: 52px; border-bottom: 1px solid var(--line); color: var(--tx-2); font-variant-numeric: tabular-nums; }
.gt-rl-l:nth-child(even) { background: rgba(255, 255, 255, .018); }
.gt-rl-l:hover { background: rgba(246, 199, 92, .05); }
.gt-rl .n { text-align: right; }
.gt-rl-pos { font: 700 17px var(--f-display); color: var(--tx-4); text-align: center; }
.gt-rl-n { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gt-rl-n img { width: 34px; height: 34px; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.gt-rl-n img.emb { border-radius: 0; image-rendering: pixelated; background: #000; }
.gt-rl-n > span { min-width: 0; }
.gt-rl-n b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 16px/1.15 var(--f-display); color: var(--tx); }
.gt-rl-n b a { color: inherit; text-decoration: none; }
.gt-rl-n b a:hover { color: var(--ouro-c); }
.gt-rl-n small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--tx-3); }
.gt-rl-v { font: 700 19px var(--f-display); color: var(--tx); }

/* ---------------------------------------------------------------- Guild Master: quem está inscrito, tirar e excluir */
.gt-gm-ins { margin-top: 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(246, 199, 92, .28); background: rgba(246, 199, 92, .04); }
.gt-gm-ins h4, .gt-gm-sub { margin: 0 0 10px; font: 700 15px var(--f-display); color: var(--tx); }
.gt-gm-sub { margin: 18px 0 0; }
.gt-gm-ins ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.gt-gm-ins li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 0; border-bottom: 1px solid var(--line); }
.gt-gm-ins li img { width: 30px; height: 30px; flex: none; border-radius: 50%; object-fit: cover; }
.gt-gm-ins li > span { flex: 1; min-width: 0; }
.gt-gm-ins li b { display: block; font: 700 15px var(--f-display); color: var(--tx); }
.gt-gm-ins li small { font-size: 11.5px; color: var(--tx-3); }
.gt-x { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 5px 10px; border-radius: 7px; font: 600 12px var(--f-body); color: #ff9b84; background: rgba(255, 110, 90, .08); border: 1px solid rgba(255, 110, 90, .3); cursor: pointer; }
.gt-x .i { width: 13px; height: 13px; }
.gt-x:hover { background: rgba(255, 110, 90, .16); }
.gt-x:disabled { opacity: .5; cursor: default; }

html.leve .gt-conta, html.leve .gt-f, html.leve .gt-base { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(7, 9, 15, .92); }
@media (prefers-reduced-motion: reduce) { .gt-base, .gt-aviso, .gt-foto { transition: none; } }
