@font-face {
  font-family: "PS Display";
  src: url("/site/fonts/ps-display.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-0022, U+0024-005A, U+0061-007A;
}

:root {
  --pradera: #8bd25a;
  --pradera-clara: #b5e67f;
  --pradera-honda: #5aa83c;
  --pradera-noche: #2f6f27;
  --tinta: #3a2314;
  --tinta-2: #55361f;
  --tinta-3: #7a5233;
  --cinta: #3a9fe0;
  --cinta-hondo: #1d6fae;
  --cielo: #99d1e8;
  --cielo-claro: #e6f6fd;
  --oro: #ffc21a;
  --oro-claro: #ffe27a;
  --oro-hondo: #d98e00;
  --oro-borde: #7d4f00;
  --rojo: #d31837;
  --rojo-hondo: #8f0f25;
  --rosa: #ee66a6;
  --rosa-hondo: #b53a78;
  --madera: #674731;
  --madera-clara: #a77a52;
  --madera-vetas: #7a5235;
  --pergamino: #fff4d6;
  --pergamino-2: #f6e3b0;
  --pergamino-borde: #c9a075;
  --contorno: #28262a;
  --texto: #3a2314;
  --texto-suave: #6b5440;
  --claro: #fff8ec;
  --apagado: #d1bba2;
  --linea: rgba(255, 238, 210, 0.2);
  --campo: #26160b;
  --ok: #6fc24a;
  --aviso: #f0a91a;
  --error: #ef6a5c;

  --f-display: "PS Display", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --f-num: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Avenir Next", "Segoe UI", "Helvetica Neue", "Noto Sans", Arial, sans-serif;

  --header-h: 56px;
  --radio: 12px;
  --sombra: 0 10px 30px rgba(26, 12, 4, 0.4);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.se-body, body.embed {
  margin: 0;
  min-height: 100vh;
  background: var(--tinta);
  color: var(--claro);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}
body.se-body img, body.embed img { max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
[hidden], .hidden { display: none !important; }
.se-icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.se-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.se-skip {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--oro); color: var(--tinta);
  padding: 8px 14px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.se-skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 2px; }
.on-light :focus-visible, .lp :focus-visible { outline-color: var(--cinta-hondo); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.se-title {
  position: relative;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--cinta);
  text-shadow: 0.050em 0.000em 0 #fff,0.043em 0.025em 0 #fff,0.025em 0.043em 0 #fff,0.000em 0.050em 0 #fff,-0.025em 0.043em 0 #fff,-0.043em 0.025em 0 #fff,-0.050em 0.000em 0 #fff,-0.043em -0.025em 0 #fff,-0.025em -0.043em 0 #fff,-0.000em -0.050em 0 #fff,0.025em -0.043em 0 #fff,0.043em -0.025em 0 #fff,0.085em 0.000em 0 #fff,0.079em 0.033em 0 #fff,0.060em 0.060em 0 #fff,0.033em 0.079em 0 #fff,0.000em 0.085em 0 #fff,-0.033em 0.079em 0 #fff,-0.060em 0.060em 0 #fff,-0.079em 0.033em 0 #fff,-0.085em 0.000em 0 #fff,-0.079em -0.033em 0 #fff,-0.060em -0.060em 0 #fff,-0.033em -0.079em 0 #fff,-0.000em -0.085em 0 #fff,0.033em -0.079em 0 #fff,0.060em -0.060em 0 #fff,0.079em -0.033em 0 #fff,0.110em 0.000em 0 #28262a,0.102em 0.042em 0 #28262a,0.078em 0.078em 0 #28262a,0.042em 0.102em 0 #28262a,0.000em 0.110em 0 #28262a,-0.042em 0.102em 0 #28262a,-0.078em 0.078em 0 #28262a,-0.102em 0.042em 0 #28262a,-0.110em 0.000em 0 #28262a,-0.102em -0.042em 0 #28262a,-0.078em -0.078em 0 #28262a,-0.042em -0.102em 0 #28262a,-0.000em -0.110em 0 #28262a,0.042em -0.102em 0 #28262a,0.078em -0.078em 0 #28262a,0.102em -0.042em 0 #28262a,0.145em 0.000em 0 #28262a,0.138em 0.045em 0 #28262a,0.117em 0.085em 0 #28262a,0.085em 0.117em 0 #28262a,0.045em 0.138em 0 #28262a,0.000em 0.145em 0 #28262a,-0.045em 0.138em 0 #28262a,-0.085em 0.117em 0 #28262a,-0.117em 0.085em 0 #28262a,-0.138em 0.045em 0 #28262a,-0.145em 0.000em 0 #28262a,-0.138em -0.045em 0 #28262a,-0.117em -0.085em 0 #28262a,-0.085em -0.117em 0 #28262a,-0.045em -0.138em 0 #28262a,-0.000em -0.145em 0 #28262a,0.045em -0.138em 0 #28262a,0.085em -0.117em 0 #28262a,0.117em -0.085em 0 #28262a,0.138em -0.045em 0 #28262a,0.175em 0.000em 0 #28262a,0.169em 0.045em 0 #28262a,0.152em 0.087em 0 #28262a,0.124em 0.124em 0 #28262a,0.088em 0.152em 0 #28262a,0.045em 0.169em 0 #28262a,0.000em 0.175em 0 #28262a,-0.045em 0.169em 0 #28262a,-0.087em 0.152em 0 #28262a,-0.124em 0.124em 0 #28262a,-0.152em 0.087em 0 #28262a,-0.169em 0.045em 0 #28262a,-0.175em 0.000em 0 #28262a,-0.169em -0.045em 0 #28262a,-0.152em -0.087em 0 #28262a,-0.124em -0.124em 0 #28262a,-0.088em -0.152em 0 #28262a,-0.045em -0.169em 0 #28262a,-0.000em -0.175em 0 #28262a,0.045em -0.169em 0 #28262a,0.088em -0.152em 0 #28262a,0.124em -0.124em 0 #28262a,0.152em -0.088em 0 #28262a,0.169em -0.045em 0 #28262a,0 0.2em 0 #28262a;
  letter-spacing: 0.03em;
  line-height: 1.12;
  margin: 0;
}
.se-title--rosa { color: var(--rosa); }
.se-title--oro { color: var(--oro); }

.se-header {
  position: sticky; top: 0; z-index: 60;
  padding: 0 env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
  background: linear-gradient(180deg, var(--tinta-2) 0%, var(--tinta) 100%);
  border-bottom: 3px solid var(--oro);
  box-shadow: 0 3px 0 var(--oro-borde), 0 8px 18px rgba(26, 12, 4, 0.35);
  container: hdr / inline-size;
}
@media (display-mode: standalone) {
  .se-header { padding-top: env(safe-area-inset-top, 0px); }
}
.se-header__in {
  max-width: 1920px; margin: 0 auto; padding: 0 14px; min-height: var(--header-h);
  display: flex; align-items: center; gap: 10px; flex-wrap: nowrap;
}
.se-brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; padding: 3px 0; }
.se-brand img { display: block; height: 46px; width: auto; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.3)); }
.se-nav { display: flex; align-items: center; flex: none; gap: 2px; margin-right: auto; }
.se-nav a, .se-nav button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; min-width: 40px; padding: 0 10px;
  border: 0; border-radius: 10px; background: transparent; color: var(--apagado);
  font-weight: 700; font-size: 0.95rem; text-decoration: none; letter-spacing: 0.01em;
}
@media (pointer: coarse) { .se-nav a, .se-nav button { min-height: 44px; } }
.se-nav a:hover, .se-nav button:hover { color: var(--claro); background: rgba(255, 255, 255, 0.09); }
.se-nav [aria-current="page"], .se-nav [aria-pressed="true"] { color: var(--tinta); background: var(--oro); }
.se-nav [aria-current="page"]:hover, .se-nav [aria-pressed="true"]:hover { background: var(--oro-claro); color: var(--tinta); }
.se-nav:has([aria-pressed="true"]) [aria-current="page"]:not([aria-pressed="true"]) { color: var(--apagado); background: transparent; }
.se-nav:has([aria-pressed="true"]) [aria-current="page"]:not([aria-pressed="true"]):hover { color: var(--claro); background: rgba(255, 255, 255, 0.09); }
.se-nav svg { width: 18px; height: 18px; flex: none; }
.se-nav__txt {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.se-badge-n {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--rojo); color: #fff;
  font: 700 0.72rem/20px var(--f-num); text-align: center; box-shadow: 0 0 0 2px var(--tinta);
}
.se-nav .se-badge-n { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 0.66rem; line-height: 18px; white-space: nowrap; }
.se-header__right { display: flex; align-items: center; flex: none; gap: 10px; }
.se-header__in > .se-header__right { margin-left: auto; }
.se-guest { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.se-guest__links { display: flex; gap: 2px; }
.se-guest__links a {
  padding: 8px 12px; border-radius: 8px; color: var(--apagado); text-decoration: none; font-weight: 700; font-size: 0.93rem; white-space: nowrap;
}
.se-guest__links a:hover { color: var(--claro); background: rgba(255, 255, 255, 0.09); }
.se-guest .se-btn, .se-header__right .se-btn { white-space: nowrap; flex: none; }
.se-user { display: contents; }

.se-hud {
  flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  container: hud / inline-size;
}
.se-level { flex: none; display: flex; align-items: center; gap: 8px; }
.se-level__star {
  position: relative; width: 36px; height: 36px; flex: none; display: grid; place-items: center;
}
.se-level__star svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.4)); }
.se-level__n { position: relative; font: 700 0.95rem/1 var(--f-num); color: #fff; text-shadow: 0 1px 0 rgba(0, 40, 80, 0.6); }
.se-level__n[data-len="3"] { font-size: 0.68rem; letter-spacing: -0.02em; }
.se-level__meta { display: flex; flex-direction: column; gap: 3px; min-width: 96px; }
.se-level__bar { height: 9px; border-radius: 6px; background: #1a0e06; border: 1px solid rgba(255, 255, 255, 0.2); overflow: hidden; }
.se-level__bar i { display: block; height: 100%; width: 0; background: linear-gradient(180deg, #8fd8ff, var(--cinta) 50%, var(--cinta-hondo)); border-radius: 6px; transition: width 0.4s ease; }
.se-level__xp { font: 700 0.7rem/1 var(--f-num); color: var(--apagado); letter-spacing: 0.02em; white-space: nowrap; }
.se-res { flex: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.se-res li {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 5px;
  border-radius: 16px; background: #1a0e06; border: 1px solid rgba(255, 255, 255, 0.16);
  font: 700 0.88rem/1 var(--f-num); color: var(--claro); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.se-res li svg { width: 22px; height: 22px; flex: none; }
.se-res li b { font-weight: 700; min-width: 2ch; text-align: right; }
.se-res li b::after { content: attr(data-abbr); display: none; }
.se-res li[data-pulse="up"] { animation: se-pulse-up 0.7s ease; }
.se-res li[data-pulse="down"] { animation: se-pulse-down 0.7s ease; }
@keyframes se-pulse-up { 0% { box-shadow: 0 0 0 0 rgba(111, 194, 74, 0.9); } 100% { box-shadow: 0 0 0 9px rgba(111, 194, 74, 0); } }
@keyframes se-pulse-down { 0% { box-shadow: 0 0 0 0 rgba(239, 106, 92, 0.8); } 100% { box-shadow: 0 0 0 9px rgba(239, 106, 92, 0); } }

#ps-audio-slot { display: inline-flex; flex: none; }
.se-icon-btn, #ps-audio-toggle.ps-audio--slot {
  width: 38px; height: 38px; flex: none; display: inline-grid; place-items: center; padding: 0;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.07); color: var(--claro);
}
.se-icon-btn:hover, #ps-audio-toggle.ps-audio--slot:hover { background: rgba(255, 255, 255, 0.16); }
.se-icon-btn svg { width: 20px; height: 20px; }
#ps-audio-toggle.ps-audio--slot {
  position: static !important; font-size: 0 !important; display: inline-grid !important;
  background-repeat: no-repeat; background-position: center; background-size: 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff8ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z' fill='%23fff8ec'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E");
}
#ps-audio-toggle.ps-audio--slot[aria-pressed="false"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d1bba2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z' fill='%23d1bba2'/%3E%3Cpath d='m16 9 6 6M22 9l-6 6'/%3E%3C/svg%3E");
}

.se-account { position: relative; flex: none; }
.se-account__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 4px; border-radius: 19px;
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.07); font-weight: 700; font-size: 0.92rem;
}
.se-account__btn:hover, .se-account__btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.16); }
.se-avatar {
  flex: none; width: 30px; height: 30px; aspect-ratio: 1 / 1; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--cinta); color: #fff; font: 700 0.95rem/1 var(--f-display); border: 2px solid var(--oro);
}
.se-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.se-account__name { display: none; max-width: 120px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 70; min-width: 250px; padding: 8px;
  max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--tinta); border: 2px solid var(--oro); border-radius: 14px; box-shadow: var(--sombra);
}
.se-menu__who { display: flex; align-items: center; gap: 10px; padding: 8px 12px 10px; border-bottom: 1px solid var(--linea); margin-bottom: 6px; }
.se-menu__who .se-avatar { width: 40px; height: 40px; }
.se-menu__who b { display: block; font-size: 0.98rem; }
.se-menu__who span.se-menu__sub { display: block; font-size: 0.8rem; color: var(--apagado); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-menu a, .se-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px;
  background: transparent; color: var(--claro); font-size: 0.93rem; text-align: left; text-decoration: none;
}
.se-menu a:hover, .se-menu button:hover, .se-menu a:focus-visible, .se-menu button:focus-visible { background: rgba(255, 255, 255, 0.11); }
.se-menu hr { border: 0; border-top: 1px solid var(--linea); margin: 6px 0; }
.se-menu svg { width: 18px; height: 18px; flex: none; color: var(--apagado); }
.se-menu .se-menu__danger { color: #ffb4ac; }
.se-menu small { margin-left: auto; color: var(--apagado); font-size: 0.75rem; }

.se-lang { position: relative; display: inline-flex; align-items: center; }
.se-lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; cursor: pointer;
  background: rgba(26, 12, 4, 0.5); color: var(--claro);
  font: 700 12px/1 var(--f-num); letter-spacing: 0.04em;
}
.se-lang__btn:hover { background: rgba(255, 255, 255, 0.14); }
.se-lang__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.se-lang__menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 90; min-width: 168px; margin: 0; padding: 6px; list-style: none;
  border: 1px solid var(--linea); border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  background: var(--tinta-2); color: var(--claro);
}
.se-lang__menu[hidden] { display: none; }
.se-lang__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px;
  background: transparent; color: inherit; font: 600 14px/1.2 var(--f-body); text-align: left; cursor: pointer; text-decoration: none;
}
.se-lang__opt:hover, .se-lang__opt:focus-visible { background: rgba(255, 255, 255, 0.12); outline: none; }
.se-lang__opt[aria-selected="true"] { color: var(--oro); }
.se-lang__code { font: 700 11px/1 var(--f-num); opacity: 0.7; }

.se-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border-radius: 12px; border: 2px solid transparent; font-weight: 800; font-size: 0.97rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; transition: transform 0.08s ease, filter 0.15s ease, background-color 0.15s;
}
.se-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.se-btn:active:not(:disabled) { transform: translateY(2px); }
.se-btn-primary {
  background: linear-gradient(180deg, var(--oro-claro) 0%, var(--oro) 45%, #f0a800 100%); color: #3b2300;
  border-color: var(--oro-borde); box-shadow: 0 4px 0 var(--oro-borde), 0 8px 16px rgba(0, 0, 0, 0.22);
}
.se-btn-primary:hover:not(:disabled) { filter: brightness(1.06); }
.se-btn-primary:active:not(:disabled) { box-shadow: 0 2px 0 var(--oro-borde); }
.se-btn-secondary { background: rgba(255, 255, 255, 0.08); color: var(--claro); border-color: rgba(255, 255, 255, 0.3); }
.se-btn-secondary:hover:not(:disabled) { background: rgba(255, 255, 255, 0.17); }
.se-btn-danger { background: #a3241d; color: #fff; border-color: #6d1510; box-shadow: 0 3px 0 #6d1510; }
.se-btn-danger:hover:not(:disabled) { background: #bd2d25; }
.se-btn-sm { min-height: 34px; padding: 0 14px; font-size: 0.85rem; border-radius: 9px; }
@media (pointer: coarse) { .se-btn-sm { min-height: 40px; } }
.se-btn-block { width: 100%; }
.se-spinner {
  display: inline-block; width: 1em; height: 1em; margin-right: 0.5em; vertical-align: -0.125em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 9999px; animation: se-spin 0.7s linear infinite;
}
@keyframes se-spin { to { transform: rotate(360deg); } }

.se-field { margin-bottom: 16px; }
.se-label { display: block; margin: 0 0 6px; font-weight: 700; font-size: 0.88rem; color: var(--claro); }
.se-input {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 2px solid rgba(255, 255, 255, 0.22);
  background: var(--campo); color: var(--claro); font: inherit; font-size: 1rem;
}
.se-input::placeholder { color: #a88c72; }
.se-input:focus { border-color: var(--oro); outline: none; box-shadow: 0 0 0 3px rgba(255, 194, 26, 0.25); }
.se-input[aria-invalid="true"] { border-color: var(--error); }
.se-hint { margin: 6px 0 0; font-size: 0.8rem; color: var(--apagado); }
.ps-guides { list-style: none; margin: 0; padding: 0; }
.ps-guides__link { display: block; font-weight: 800; }
.ps-guides__text { display: block; margin-top: 6px; line-height: 1.55; }
.se-error {
  margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: rgba(239, 106, 92, 0.15); border: 1px solid rgba(239, 106, 92, 0.6);
  color: #ffd6d0; font-size: 0.9rem;
}
.se-ok {
  margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: rgba(111, 194, 74, 0.15); border: 1px solid rgba(111, 194, 74, 0.55);
  color: #d4f5c4; font-size: 0.9rem;
}
.se-pw { position: relative; }
.se-pw .se-input { padding-right: 84px; }
.se-pw button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 32px; padding: 0 10px; border-radius: 8px; border: 0;
  background: rgba(255, 255, 255, 0.1); color: var(--apagado); font-size: 0.78rem; font-weight: 700;
}
.se-pw button:hover { color: var(--claro); background: rgba(255, 255, 255, 0.18); }
.se-meter { display: flex; gap: 4px; margin-top: 8px; }
.se-meter span { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); transition: background-color 0.2s; }
.se-meter[data-score="1"] span:nth-child(-n+1) { background: #ef6a5c; }
.se-meter[data-score="2"] span:nth-child(-n+2) { background: #f0a91a; }
.se-meter[data-score="3"] span:nth-child(-n+3) { background: #b8d93a; }
.se-meter[data-score="4"] span:nth-child(-n+4) { background: #6fc24a; }
.se-field-error { display: block; margin: 6px 0 0; font-size: 0.8rem; color: #ffb4ac; }

.se-card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); border: 1px solid var(--linea); border-radius: 16px; }
.se-badge {
  display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 9999px; font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em; border: 1px solid transparent;
}
.se-badge-ok { background: rgba(111, 194, 74, 0.18); color: #b6eb9f; border-color: rgba(111, 194, 74, 0.5); }
.se-badge-warn { background: rgba(240, 169, 26, 0.18); color: #ffd478; border-color: rgba(240, 169, 26, 0.5); }
.se-badge-bad { background: rgba(239, 106, 92, 0.18); color: #ffaaa2; border-color: rgba(239, 106, 92, 0.5); }
.se-badge-info { background: rgba(58, 159, 224, 0.22); color: #a9dcf8; border-color: rgba(58, 159, 224, 0.6); }
.se-badge-mute { background: rgba(255, 255, 255, 0.1); color: var(--apagado); border-color: var(--linea); }
.se-table { width: 100%; font-size: 0.88rem; text-align: left; border-collapse: collapse; }
.se-table th { padding: 12px 14px; color: var(--apagado); font-weight: 700; background: rgba(0, 0, 0, 0.25); border-bottom: 1px solid var(--linea); white-space: nowrap; }
.se-table td { padding: 11px 14px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.se-table tbody tr:hover { background: rgba(255, 194, 26, 0.06); }

#notification-container {
  position: fixed; top: calc(var(--hdr-h, var(--header-h)) + 14px); right: 14px; z-index: 300; display: flex; flex-direction: column; gap: 10px;
  width: min(380px, calc(100vw - 28px)); pointer-events: none;
}
#notification-container > * {
  pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px;
  background: var(--tinta); color: var(--claro); border: 2px solid var(--oro); box-shadow: var(--sombra);
  animation: se-toast-in 0.22s ease-out; font-size: 0.92rem;
}
#notification-container > * > i { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; font-size: 0; background: var(--cinta); }
#notification-container > [data-type="success"] > i { background: var(--ok); }
#notification-container > [data-type="error"] > i { background: var(--error); }
#notification-container p { margin: 0; }
#notification-container button { margin-left: auto; flex: none; border: 0; background: transparent; color: var(--apagado); width: 24px; height: 24px; border-radius: 6px; line-height: 1; }
#notification-container button:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
@keyframes se-toast-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.se-page { min-height: calc(100vh - var(--header-h)); }

.se-dialog {
  width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 3px solid var(--oro); border-radius: 18px;
  background: linear-gradient(180deg, var(--tinta-2), var(--tinta)); color: var(--claro); box-shadow: 0 8px 0 var(--oro-borde), 0 28px 60px rgba(10, 4, 0, 0.6);
  overflow: auto;
}
.se-dialog::backdrop { background: rgba(26, 12, 4, 0.72); }
.se-dialog__in { padding: 22px 26px 26px; position: relative; }
.se-dialog__x {
  position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08); color: var(--apagado);
}
.se-dialog__x:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.se-dialog__x svg { width: 18px; height: 18px; }
.se-dialog__logo { display: block; width: 92px; height: auto; margin: 0 auto 10px; }

.se-dialog--auth { width: min(480px, calc(100vw - 24px)); }
.se-dialog--auth .se-dialog__in { padding: 0; }
.au-main { position: relative; min-width: 0; padding: 22px 26px 26px; }
.au-aside { display: none; }
.au-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 0 0 20px; background: #1a0e06; border-radius: 12px; }
.au-tabs button { min-height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--apagado); font-weight: 800; font-size: 0.95rem; }
.au-tabs button:hover { color: var(--claro); background: rgba(255, 255, 255, 0.08); }
.au-tabs button[aria-pressed="true"] { background: var(--oro); color: #3b2300; box-shadow: 0 2px 0 var(--oro-borde); }
.au-h { margin: 0 0 6px; font: 700 1.6rem/1.1 var(--f-display); color: var(--oro); text-shadow: 0 2px 0 var(--oro-borde); }
.au-sub { margin: 0 0 18px; color: var(--apagado); font-size: 0.93rem; line-height: 1.45; }
.au-form { margin: 0; }
.au-labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.au-labelrow .se-label { margin: 0; }
.au-forgot, .au-link { color: #9fd8f7; background: none; border: 0; text-decoration: none; padding: 2px 0; font-size: 0.84rem; }
.au-forgot:hover, .au-link:hover, .au-back a:hover, .au-back button:hover { color: #fff; text-decoration: underline; }
.au-hint { margin: 0 0 16px 30px; }
.au-check { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font-size: 0.9rem; font-weight: 700; cursor: pointer; color: var(--claro); }
.au-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--oro); cursor: pointer; }
.au-check--solo { margin: 0 0 4px; }
.au-status { margin: 6px 0 0; font-size: 0.82rem; line-height: 1.4; color: var(--apagado); }
.au-status:empty { height: 0; margin: 0; overflow: hidden; }
.au-status.is-ok { color: #b6eb9f; }
.au-status.is-bad { color: #ffb4ac; }
.au-status.is-ok::before { content: "\2713\00a0"; font-weight: 800; }
.au-status.is-bad::before { content: "!\00a0"; font-weight: 800; }
.au-strength { display: flex; align-items: center; gap: 12px; }
.au-strength .se-meter { flex: 1 1 auto; }
.au-strength__t { flex: none; min-width: 11ch; margin-top: 8px; font-size: 0.78rem; font-weight: 700; color: var(--apagado); text-align: right; }
.au-strength__t:empty { display: none; }
.au-back a, .au-back button { color: var(--apagado); background: none; border: 0; text-decoration: none; padding: 8px 4px; font-size: 0.88rem; }
.au-back { margin: 12px 0 0; text-align: center; }
.au-appeal { margin: 12px 0 0; text-align: center; }
.au-appeal a { color: #ffd478; font-weight: 700; }
.au-aside {
  flex-direction: column; gap: 12px; padding: 26px 24px 24px; color: #fbeeca; line-height: 1.5;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 3px, rgba(255, 255, 255, 0.03) 3px 9px), linear-gradient(180deg, #7d5429, #5b3a1a);
}
.au-aside__fig { margin: 0; border: 5px solid var(--madera); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px #fff4d6, 0 8px 16px rgba(0, 0, 0, 0.35); }
.au-aside__fig img { display: block; width: 100%; height: auto; }
.au-aside__t { margin: 6px 0 0; font: 700 1.4rem/1.15 var(--f-display); color: var(--oro); text-shadow: 0 2px 0 var(--oro-borde); }
.au-aside__ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.au-aside__ul li { position: relative; padding-left: 24px; }
.au-aside__ul li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: var(--rosa); border: 2px solid var(--rosa-hondo); }
.au-aside__note { margin: auto 0 0; font-size: 0.84rem; color: #ecd9ae; }
@media (min-width: 860px) {
  .se-dialog--auth { width: min(940px, calc(100vw - 48px)); }
  .se-dialog--auth .au-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
  .se-dialog--auth .au-aside { display: flex; border-right: 3px solid #3a230e; }
}
@media (max-width: 420px) {
  .au-main { padding: 20px 16px 22px; }
  .au-h { font-size: 1.4rem; }
}

.se-foot {
  background: #1a0e06; color: var(--apagado); padding: 34px 0 40px; font-size: 0.88rem; border-top: 3px solid var(--oro);
}
.se-foot__wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.se-foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.se-foot__in .se-btn { white-space: nowrap; }
.se-foot p { margin: 0; max-width: 56em; line-height: 1.5; }
.se-foot img.se-foot__logo { height: 64px; width: auto; flex: none; }
.se-foot__langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; }
.se-foot__langs a { color: var(--apagado); text-decoration: underline; }
.se-foot__langs a[aria-current="true"] { color: var(--claro); font-weight: 800; text-decoration: none; }
.se-foot__legal { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--linea); font-size: 0.8rem; line-height: 1.55; max-width: 70em; }
@media (min-width: 761px) { .se-foot p.se-foot__text { flex: 1 1 300px; } }
@media (max-width: 760px) { .se-foot__in { flex-direction: column; text-align: center; } }

@container hdr (min-width: 64rem) {
  .se-header:not(.se-header--game) .se-nav a, .se-header:not(.se-header--game) .se-nav button { padding: 0 14px; }
  .se-header:not(.se-header--game) .se-nav__txt { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; }
  .se-header:not(.se-header--game) .se-nav .se-badge-n { position: static; margin-left: 2px; min-width: 20px; height: 20px; padding: 0 6px; font-size: 0.72rem; line-height: 20px; }
}
@container hdr (min-width: 85rem) {
  .se-account__name { display: block; }
}
@container hdr (min-width: 100rem) {
  .se-account__name { max-width: 170px; }
}
@container hdr (min-width: 110rem) {
  .se-header--game .se-nav a, .se-header--game .se-nav button { padding: 0 14px; }
  .se-header--game .se-nav__txt { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; }
  .se-header--game .se-nav .se-badge-n { position: static; margin-left: 2px; min-width: 20px; height: 20px; padding: 0 6px; font-size: 0.72rem; line-height: 20px; }
}
@container hdr (max-width: 80rem) {
  .se-brand img { height: 42px; }
}
@container hdr (max-width: 45rem) {
  .se-guest__links, .se-hdr-versions { display: none; }
}
@container hdr (max-width: 60rem) {
  .se-header__in { flex-wrap: wrap; row-gap: 0; padding-top: 3px; padding-bottom: 3px; }
  .se-brand { padding: 2px 0; }
  .se-brand img { height: 38px; }
  .se-nav { order: 1; }
  .se-guest__links .se-hdr-versions { display: none; }
  #ps-audio-slot { order: 2; }
  .se-user > [data-lang-switch] { order: 3; }
  .se-user > .se-account, .se-header__in > .se-header__right { order: 4; }
  .se-hud {
    order: 5; flex: 1 0 100%; justify-content: space-between; margin-top: 1px; padding: 3px 0 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}
@container hdr (max-width: 31rem) {
  .se-header__in { min-height: 0; gap: 4px 6px; padding-left: 8px; padding-right: 8px; padding-top: 4px; padding-bottom: 4px; }
  .se-brand img { height: 32px; }
  #ps-audio-slot, .se-header__in > .se-header__right { margin-left: auto; }
  #ps-audio-toggle.ps-audio--slot, .se-icon-btn { width: 32px; height: 32px; }
  .se-account__btn { height: 32px; padding: 0 8px 0 3px; gap: 5px; }
  .se-avatar { width: 26px; height: 26px; }
  .se-lang__btn { height: 32px; padding: 0 8px; }
  .se-nav { order: 6; flex: 1 0 100%; justify-content: space-around; margin-right: 0; gap: 6px; padding-top: 3px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .se-nav a, .se-nav button { flex: 0 1 52px; min-height: 36px; border-radius: 9px; }
  .se-hud { order: 7; padding-top: 2px; padding-bottom: 2px; }
}
@container hdr (max-width: 38rem) {
  .se-hdr-landing { display: none; }
}
@container hdr (max-width: 24rem) {
  .se-guest { gap: 6px; }
  .se-guest .se-btn, .se-header__right .se-btn { padding: 0 10px; }
}
@container hdr (max-width: 28rem) {
  .se-hdr-howto span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .se-hdr-howto { padding: 0 10px; min-width: 38px; }
}
@container hdr (max-width: 31rem) {
  .se-header--game .se-hud { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

@container hud (max-width: 53.5rem) {
  .se-hud { gap: 10px; }
  .se-level__xp { display: none; }
  .se-level__meta { min-width: 0; width: 56px; }
  .se-res { gap: 4px; }
  .se-res li { gap: 5px; padding: 0 9px 0 4px; font-size: 0.84rem; }
  .se-res li svg { width: 20px; height: 20px; }
}
@container hud (max-width: 43.5rem) {
  .se-num-full { display: none; }
  .se-res li b::after { display: inline; }
}
@container hud (max-width: 34rem) {
  .se-hud { gap: 8px; }
  .se-level { gap: 6px; }
  .se-level__star { width: 32px; height: 32px; }
  .se-level__n[data-len="3"] { font-size: 0.6rem; }
  .se-level__meta { width: 40px; }
  .se-res { gap: 3px; }
  .se-res li { gap: 4px; padding: 0 7px 0 3px; font-size: 0.8rem; height: 30px; }
  .se-res li svg { width: 18px; height: 18px; }
}
@container hud (max-width: 29.75rem) {
  .se-hud { position: relative; gap: 4px; padding-bottom: 5px; }
  .se-level { gap: 0; }
  .se-level__meta { position: static; width: 0; min-width: 0; }
  .se-level__star { width: 26px; height: 26px; }
  .se-level__n { font-size: 12px; }
  .se-level__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border: 0; border-radius: 2px; }
  .se-level__bar i { border-radius: 2px; }
  .se-res { gap: 1px; }
  .se-res li { gap: 2px; padding: 0 4px 0 2px; font-size: 11px; height: 26px; }
  .se-res li svg { width: 14px; height: 14px; }
}
@container hud (max-width: 21rem) {
  .se-level { display: none; }
}

.fr-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; max-height: 260px; overflow: auto; }
.fr-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--linea); }
.fr-list b { display: block; }
.fr-list small { display: block; color: var(--apagado); }

.so { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(26, 12, 4, 0.82); }
.so[hidden] { display: none; }
.so__card { width: min(420px, 100%); padding: 24px; border-radius: 18px; border: 3px solid var(--oro); background: var(--tinta); color: var(--claro); box-shadow: 0 8px 0 var(--oro-borde), 0 28px 60px rgba(0, 0, 0, 0.6); }
.so__title { margin: 0 0 10px; font: 700 1.6rem/1.1 var(--f-display); color: var(--oro); }
.so__card p { margin: 0 0 18px; color: var(--apagado); }
