/* BlazeCraft Network — fuego: negro, naranja y dorado. Móvil primero. Sin recursos externos. */
@font-face { font-family: "Russo One"; src: url("/fonts/russo-one.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0c0806; --bg2: #120c09; --panel: #18110d; --panel2: #1f1611; --line: #3a2619; --line2: #5a3920;
  --text: #f6ece2; --muted: #b9a596; --orange: #ff7a1a; --orange2: #ff9a2e; --gold: #ffc542; --red: #e8401c; --ember: #ff5a1f;
  --ok: #46d17f; --bad: #ff5a4f; --radius: 14px;
  --fire: linear-gradient(135deg, #ffd25a 0%, #ff9a2e 35%, #ff5a1f 70%, #d8301a 100%);
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --font-d: "Russo One", "Arial Black", Impact, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); min-height: 100vh; display: flex; flex-direction: column;
  background-image: radial-gradient(1200px 500px at 50% -200px, rgba(255,110,30,.12), transparent 70%); }
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange2); text-decoration: none; }
a:hover { color: var(--gold); }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: rgba(255,154,46,.1); border: 1px solid var(--line); border-radius: 6px; padding: .05em .4em; font-size: .92em; color: var(--gold); word-break: break-word; }
h1,h2,h3,h4 { font-family: var(--font-d); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 7vw, 3rem); }
h2 { font-size: clamp(1.4rem, 5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Barra superior ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(12,8,6,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-d); font-size: 1.25rem; color: var(--text); margin-right: auto; }
.brand b { font-weight: 400; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand:hover { color: var(--text); }
.brand-ic { width: 26px; height: 26px; color: var(--orange); filter: drop-shadow(0 0 8px rgba(255,120,30,.6)); }
.badge-admin { font-style: normal; font-family: var(--font); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--red); color: #fff; padding: 2px 7px; border-radius: 999px; }
.nav-desktop { display: none; gap: 4px; }
.nav-desktop a, .nav-mobile nav a { color: var(--muted); font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav-desktop a:hover, .nav-mobile nav a:hover { color: var(--text); background: var(--panel2); }
.nav-desktop a.active, .nav-mobile nav a.active { color: var(--gold); background: rgba(255,154,46,.1); }
.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--text); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary .ic { width: 24px; height: 24px; }
.nav-mobile[open] summary { background: var(--panel2); border-color: var(--line2); }
.nav-mobile nav { position: absolute; right: 0; top: 52px; min-width: 210px; display: flex; flex-direction: column; padding: 8px; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--radius); box-shadow: var(--shadow); }
.nav-mobile nav a { padding: 12px 14px; }
.logout-form { margin: 0; }
@media (min-width: 820px) {
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
}

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font: 700 1rem/1.1 var(--font); cursor: pointer; color: var(--text); background: var(--panel2); transition: transform .12s ease, box-shadow .2s ease, background .2s; text-align: center; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-1px); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn-fire { background: var(--fire); color: #1a0b03; box-shadow: 0 6px 22px rgba(255,100,20,.35), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-fire:hover { color: #1a0b03; box-shadow: 0 8px 30px rgba(255,100,20,.5), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--orange); background: rgba(255,122,26,.08); }
.btn-discord { background: #5865f2; color: #fff; }
.btn-lg { min-height: 54px; padding: 14px 24px; font-size: 1.08rem; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-accept { background: #1d6b3d; border-color: #2c9a5a; color: #eafff1; }
.btn-reject { background: #7a1f16; border-color: #b8372a; color: #fff0ee; }
.btn-danger { background: transparent; border-color: #b8372a; color: #ff8a7f; }
.btn-danger:hover { background: rgba(232,64,28,.12); color: #ffb3ab; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url("/img/hero-lobby-fuente-r1.webp") center 45% / cover no-repeat; opacity: .8; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,8,6,.55) 0%, rgba(12,8,6,0) 22%, rgba(12,8,6,0) 78%, rgba(12,8,6,.55) 100%), linear-gradient(180deg, rgba(12,8,6,.35) 0%, rgba(12,8,6,.6) 60%, var(--bg) 100%), radial-gradient(70% 60% at 50% 35%, rgba(12,8,6,.35), rgba(12,8,6,.75)); }
.hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--orange2); margin-bottom: .9em; }
.hero-title { display: flex; flex-direction: column; align-items: center; margin-bottom: .3em; }
.t-fire { font-size: clamp(2.8rem, 14vw, 6rem); line-height: .95; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px rgba(255,90,20,.45)); }
.t-sub { font-size: clamp(1rem, 4.5vw, 1.6rem); letter-spacing: .5em; margin-right: -.5em; color: var(--text); opacity: .9; margin-top: .25em; }
.lead { font-size: clamp(1.02rem, 3.6vw, 1.2rem); color: #e4d3c4; max-width: 640px; }
.hero .lead { margin: 0 auto 1.6em; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

/* Brasas animadas (CSS puro) */
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.embers i { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 2px rgba(255,130,30,.8); opacity: 0; animation: rise 9s linear infinite; }
.embers i:nth-child(1){left:6%;animation-delay:0s} .embers i:nth-child(2){left:14%;animation-delay:3.2s;animation-duration:11s}
.embers i:nth-child(3){left:22%;animation-delay:6s} .embers i:nth-child(4){left:31%;animation-delay:1.5s;animation-duration:12s}
.embers i:nth-child(5){left:39%;animation-delay:4.4s} .embers i:nth-child(6){left:47%;animation-delay:7.3s;animation-duration:10s}
.embers i:nth-child(7){left:55%;animation-delay:2.2s} .embers i:nth-child(8){left:63%;animation-delay:5.1s;animation-duration:13s}
.embers i:nth-child(9){left:71%;animation-delay:.8s} .embers i:nth-child(10){left:79%;animation-delay:3.9s;animation-duration:11s}
.embers i:nth-child(11){left:87%;animation-delay:6.6s} .embers i:nth-child(12){left:94%;animation-delay:2.7s;animation-duration:12s}
.embers i:nth-child(13){left:50%;animation-delay:8.1s} .embers i:nth-child(14){left:27%;animation-delay:9.5s}
@keyframes rise { 0%{transform:translate(0,0) scale(1);opacity:0} 10%{opacity:.9} 50%{transform:translate(18px,-45vh) scale(.8)} 100%{transform:translate(-10px,-90vh) scale(.3);opacity:0} }
@media (prefers-reduced-motion: reduce) { .embers { display: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

/* Caja de IP */
.ipbox { width: 100%; max-width: 520px; background: rgba(20,13,9,.85); border: 1px solid var(--line2); border-radius: 18px; padding: 14px; box-shadow: var(--shadow), 0 0 0 1px rgba(255,154,46,.08) inset; }
.ipbox-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; text-align: left; }
.ipbox-row { display: flex; flex-direction: column; gap: 10px; }
.ipbox-ip { display: block; font-size: clamp(1.05rem, 5vw, 1.35rem); padding: 12px 14px; border-radius: 12px; background: #0a0604; border-color: var(--line2); text-align: center; user-select: all; }
.ipbox-meta { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.btn-copy.copied { background: linear-gradient(135deg,#7be495,#2fb36a); color: #04140a; }
@media (min-width: 520px) { .ipbox-row { flex-direction: row; } .ipbox-ip { flex: 1; text-align: left; } }

/* ---------- Secciones ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 28px 0 56px; }
.section-alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 28px; }
.page-head { padding: 44px 0 12px; border-bottom: 1px solid var(--line); background: radial-gradient(600px 220px at 15% 0%, rgba(255,110,30,.16), transparent 70%); }
.page-head .lead { margin-bottom: 1.4em; }

.grid { display: grid; gap: 14px; }
.modes-grid { grid-template-columns: 1fr; }
@media (min-width: 600px) { .modes-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .modes-grid { grid-template-columns: repeat(4, 1fr); } }

.card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 1px 0 rgba(255,255,255,.03) inset; }
.mode-card { position: relative; transition: border-color .2s, transform .2s; display: flex; flex-direction: column; }
.mode-card:hover { border-color: var(--line2); transform: translateY(-2px); }
.mode-card p:not(.tag) { color: #dccbbd; flex: 1; }
.mode-card { padding-top: 0; overflow: hidden; }
.mode-thumb { margin: 0 -20px 16px; aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--line); background: #000; }
.mode-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mode-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.mode-gallery a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: #000; }
.mode-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.mode-gallery a:hover img { transform: scale(1.04); }
.mode-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, rgba(255,200,90,.25), rgba(255,90,30,.12)); border: 1px solid var(--line2); color: var(--gold); margin-bottom: 14px; }
.mode-icon .ic { width: 26px; height: 26px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange2); margin: 0 0 .4em; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

.kits { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.kits > .kit { flex: 0 1 100%; }
@media (min-width: 560px) { .kits > .kit { flex-basis: calc((100% - 12px) / 2); } }
@media (min-width: 960px) { .kits > .kit { flex-basis: calc((100% - 36px) / 4); } }
.kit { background: rgba(255,255,255,.02); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 12px; padding: 14px 16px; }
.kit h3, .kit h4 { font-size: 1.05rem; color: var(--gold); margin-bottom: .3em; }
.kit p { margin: 0; font-size: .93rem; color: #d6c4b5; }
@media (min-width: 560px) { .kits-compact > .kit { flex-basis: calc((100% - 12px) / 2); } }
.kits-title { margin-top: 1.2em; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps p { margin: 0; color: #d6c4b5; }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-d); background: var(--fire); color: #1a0b03; }

.cta-band { background: linear-gradient(120deg, rgba(255,90,20,.18), rgba(255,197,66,.08)); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.cta-in { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-in p { color: #e4d3c4; margin: 0; }
@media (min-width: 820px) { .cta-in { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; text-align: center; }
.cta-inline p { margin: 0; font-weight: 600; }

/* Modos */
.modes-list { display: grid; gap: 22px; }
.mode-row { display: grid; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; scroll-margin-top: 80px; }
.mode-media { background: #000; aspect-ratio: 16/9; overflow: hidden; }
.mode-media img { width: 100%; height: 100%; object-fit: cover; }
.mode-media-empty { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(255,150,40,.35), rgba(120,30,10,.4) 45%, #120a06 75%); }
.mode-media-icon .ic { width: 96px; height: 96px; color: var(--gold); filter: drop-shadow(0 0 22px rgba(255,120,30,.7)); }
.mode-body { padding: 22px; }
.mode-extra { padding: 0 22px 22px; }
.mode-body h2 { display: flex; align-items: center; gap: 10px; }
.mode-body h2 .ic { color: var(--orange); }
@media (min-width: 900px) {
  .mode-row { grid-template-columns: 1fr 1.1fr; }
  /* la imagen rellena el alto de la tarjeta (sin hueco bajo ella) con un minimo 16/10; la lista de kits de Practice va debajo
     a todo el ancho (.mode-extra), asi esa fila no crece y la imagen no se estira de forma exagerada */
  .mode-media { aspect-ratio: auto; position: relative; }
  .mode-media::before { content: ""; display: block; padding-top: 62.5%; } /* alto minimo 16/10 del ancho de la columna */
  .mode-media img { position: absolute; inset: 0; }
  .mode-extra { grid-column: 1 / -1; padding-top: 4px; }
  .mode-extra .kits-title { margin-top: 0; }
}
@media (min-width: 960px) {
  .mode-extra .kits-compact > .kit { flex-basis: calc((100% - 36px) / 4); }
}
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--ok); margin-top: .25em; }

/* Normas */
.rules { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.rule { display: flex; gap: 16px; align-items: flex-start; }
.rule h2 { font-size: 1.15rem; margin-bottom: .3em; }
.rule p { margin: 0; color: #d6c4b5; }
.rule-n { font-family: var(--font-d); font-size: 1.4rem; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 2ch; }
.note { border-color: var(--line2); background: linear-gradient(180deg, rgba(255,122,26,.08), var(--panel)); margin-top: 16px; }
.note h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.note h2 .ic { color: var(--gold); }
.note p { margin: 0; }

.roles-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.roles-grid > .role-card { flex: 0 1 100%; }
@media (min-width: 640px) { .roles-grid > .role-card { flex-basis: calc((100% - 14px) / 2); } }
@media (min-width: 1000px) { .roles-grid > .role-card { flex-basis: calc((100% - 28px) / 3); } }
.role-card h2 { font-size: 1.2rem; }
.role-card p { margin: 0; color: #d6c4b5; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 16px; }
.req { margin-bottom: 16px; }
.req h2 { font-size: 1.15rem; }
.req .ticks { margin: 0; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-other { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
input[type=text], input[type=number], input[type=password], select, textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--text); background: #0d0806; border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,122,26,.25); }
input::placeholder, textarea::placeholder { color: #7d6a5c; }
.hint { margin: 0; font-size: .82rem; color: var(--muted); }
.counter { font-size: .78rem; color: var(--muted); text-align: right; margin-top: -2px; }
.counter.bad { color: var(--bad); }
.error { margin: 0; font-size: .86rem; color: var(--bad); font-weight: 600; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
/* Secciones del formulario de postulación */
.form-sec { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.form-sec + .form-sec { border-top: 1px solid var(--line); padding-top: 20px; }
.form-sec legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; font: 400 1.15rem/1.2 var(--font-d); color: var(--text); }
.form-sec legend + * { clear: both; }
.sec-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font: 700 .95rem/1 var(--font); color: #1a0d05; background: linear-gradient(135deg, var(--gold), var(--orange) 55%, var(--ember)); box-shadow: 0 0 14px rgba(255,122,26,.35); flex: none; }
.form-sec-end { gap: 12px; }
.form-sec .form-grid > .field { align-content: start; }
.kv-sec { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font: 400 1rem/1.2 var(--font-d); color: var(--orange2); }
.kvs > .kv-sec:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (min-width: 640px) { .kv { grid-template-columns: 190px 1fr; } .kv-block { grid-template-columns: 1fr; } }
.field-other { display: none; }
.field-other.show { display: block; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-weight: 600; }
.alert .ic { margin-top: .2em; }
.alert-error { background: rgba(255,90,79,.1); border: 1px solid rgba(255,90,79,.45); color: #ffc2bc; }
.alert-ok { background: rgba(70,209,127,.1); border: 1px solid rgba(70,209,127,.4); color: #c4f5d6; }
.done { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 34px 22px; }
.done-ic { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--fire); color: #1a0b03; margin-bottom: 16px; box-shadow: 0 0 30px rgba(255,110,30,.5); }
.done-ic .ic { width: 36px; height: 36px; }

/* ---------- Admin ---------- */
.login-wrap { max-width: 480px; }
.login h1 { font-size: clamp(1.6rem, 6.5vw, 2.1rem); margin-bottom: .15em; }
.login h1 + .muted { margin-bottom: .4em; }
.topbar-link { display: inline-flex; }
.login { text-align: center; }
.login .field { text-align: left; }
.login-ic { width: 56px; height: 56px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,122,26,.12); border: 1px solid var(--line2); color: var(--gold); }
.login-ic .ic { width: 28px; height: 28px; }
.admin-head { margin-bottom: 14px; }
.admin-head h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); margin-bottom: .2em; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; -webkit-overflow-scrolling: touch; }
.tab { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.tab.active { color: #1a0b03; background: var(--fire); border-color: transparent; }
.tab .count { font-size: .78rem; background: rgba(0,0,0,.25); padding: 1px 7px; border-radius: 999px; }
.app-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.app-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; color: var(--text); }
.app-item:hover { border-color: var(--line2); color: var(--text); }
.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-nick { font-size: 1.05rem; overflow-wrap: anywhere; }
.app-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid; }
.pill-pendiente { color: var(--gold); border-color: rgba(255,197,66,.5); background: rgba(255,197,66,.08); }
.pill-aceptada { color: var(--ok); border-color: rgba(70,209,127,.5); background: rgba(70,209,127,.08); }
.pill-rechazada { color: var(--bad); border-color: rgba(255,90,79,.5); background: rgba(255,90,79,.08); }
.empty { text-align: center; color: var(--muted); }
.empty p { margin: 0; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.link-back { display: inline-block; margin-bottom: 12px; font-weight: 600; }
.detail { margin-bottom: 16px; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.detail-head h1 { font-size: 1.6rem; margin-bottom: .1em; overflow-wrap: anywhere; }
.detail-head p { margin: 0; }
.kvs { margin: 0; display: grid; gap: 12px; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.kv dt { color: var(--muted); font-size: .88rem; font-weight: 600; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.kv-block { grid-template-columns: 1fr; gap: 4px; }
.kv-block dd { background: #0d0806; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.pre { white-space: pre-wrap; }
.decide { margin-bottom: 16px; }
.decide h2, .danger h2 { font-size: 1.15rem; margin: 0; }
.decide-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.decide-btns .btn-ghost { grid-column: 1 / -1; }
.danger { border-color: rgba(184,55,42,.5); }

/* ---------- Pie ---------- */
.footer { border-top: 1px solid var(--line); background: #090605; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 0; }
.footer-in { display: grid; gap: 12px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-d); font-size: 1.1rem; }
.footer-brand b { font-weight: 400; color: var(--orange); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-nav a { color: var(--muted); }
.footer p { margin: 0; }
