/* ============================================================
   DELUX ARENA · V37 "LEGENDS" — interfaz profesional
   Cristal, oro, neón, animaciones y tarjetas 3D.
   ============================================================ */
:root {
  --dlx-gold: #e8c37a;
  --dlx-gold2: #fff2c4;
  --dlx-ink: #05060a;
  --dlx-glass: rgba(12, 14, 20, .72);
  --dlx-line: rgba(232, 195, 122, .28);
  --dlx-cyan: #7fd1ff;
  --dlx-violet: #b48cff;
}

/* ---------- capa de entrada: partículas + botones rápidos ---------- */
#dlx-entry-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; mix-blend-mode: screen; opacity: .85; }
#dlx-entry .entry-brand, #dlx-entry .entry-bottom { z-index: 2; }
#dlx-entry .entry-brand strong {
  background: linear-gradient(100deg, #b8862f, #fff6d8 18%, #e8c37a 38%, #fffdf3 52%, #c99a45 70%, #ffe9b0 88%, #a9792b);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(0,0,0,.55)) drop-shadow(0 14px 30px rgba(0,0,0,.8)) drop-shadow(0 0 34px rgba(255,190,80,.25));
  animation: dlxShine 7s linear infinite;
}
@keyframes dlxShine { to { background-position: 250% 0; } }
.entry-quick { display: flex; gap: 10px; width: 100%; justify-content: center; flex-wrap: wrap; }
.entry-quick button {
  flex: 1 1 0; min-width: 130px; min-height: 46px; padding: 11px 14px; border-radius: 999px;
  border: 1px solid rgba(232,195,122,.45); background: rgba(0,0,0,.35); color: #f2e6cc;
  font: 800 12px/1 Inter, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  backdrop-filter: blur(10px); cursor: pointer; transition: transform .18s, border-color .18s, box-shadow .18s;
}
.entry-quick button:hover { transform: translateY(-2px); border-color: var(--dlx-gold); box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 22px rgba(232,195,122,.18); }
.entry-quick button.play {
  border-color: rgba(232,195,122,.95); color: #1a1206;
  background: linear-gradient(135deg, #f6dfa8, #e8c37a 45%, #b98c3e);
  box-shadow: 0 10px 26px rgba(232,195,122,.28), inset 0 1px 0 rgba(255,255,255,.6);
  animation: dlxGlow 3.4s ease-in-out infinite;
}
.entry-quick button.play:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 34px rgba(232,195,122,.45); }
@keyframes dlxGlow { 0%,100% { box-shadow: 0 10px 26px rgba(232,195,122,.24), inset 0 1px 0 rgba(255,255,255,.6); } 50% { box-shadow: 0 12px 34px rgba(232,195,122,.5), inset 0 1px 0 rgba(255,255,255,.6); } }

/* ---------- botón invitado ---------- */
.dlx-guest {
  display: flex; flex-direction: column; gap: 3px; width: 100%; margin-top: 12px; padding: 14px 16px;
  border-radius: 14px; cursor: pointer; text-align: center;
  border: 1px solid rgba(232,195,122,.55); color: #f7ecd4;
  background: linear-gradient(135deg, rgba(232,195,122,.16), rgba(0,0,0,.35));
  font: 900 13px/1.1 Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.dlx-guest small { font-weight: 600; letter-spacing: .02em; text-transform: none; opacity: .68; font-size: 11px; }
.dlx-guest:hover { transform: translateY(-2px); border-color: var(--dlx-gold); box-shadow: 0 12px 28px rgba(0,0,0,.5), 0 0 24px rgba(232,195,122,.2); }

/* ---------- overlay genérico ---------- */
.dlx-ovl {
  position: fixed; inset: 0; z-index: 1200; display: flex; flex-direction: column;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(232,195,122,.10), transparent 60%),
    radial-gradient(50% 50% at 90% 80%, rgba(180,140,255,.10), transparent 70%),
    linear-gradient(180deg, #05060a, #07080d 55%, #030407);
  color: #f3efe6; font-family: Inter, system-ui, sans-serif;
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s;
  overflow: hidden;
}
.dlx-ovl.on { opacity: 1; visibility: visible; }
.dlx-ovl[hidden] { display: none !important; }
body.dlx-modal { overflow: hidden; }

.dlx-ovh {
  display: flex; align-items: center; gap: 16px; padding: 16px clamp(14px, 3vw, 34px);
  border-bottom: 1px solid var(--dlx-line);
  background: linear-gradient(180deg, rgba(8,9,14,.96), rgba(8,9,14,.72));
  backdrop-filter: blur(16px); position: relative; z-index: 3;
}
.dlx-ovh small { display: block; font-size: 10px; letter-spacing: .32em; color: var(--dlx-gold); font-weight: 800; }
.dlx-ovh h2 { margin: 2px 0 0; font: 700 clamp(22px, 3.4vw, 34px)/1 'Playfair Display', Georgia, serif; letter-spacing: .02em; }
.dlx-x {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--dlx-line);
  background: rgba(0,0,0,.35); color: #f3efe6; font-size: 17px; cursor: pointer; flex: none;
  transition: transform .18s, background .18s;
}
.dlx-x:hover { transform: rotate(90deg); background: rgba(232,195,122,.15); }
.dlx-ovh .dlx-x { order: 3; margin-left: auto; }
.dlx-pill {
  margin-left: auto; order: 2; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--dlx-line); background: rgba(232,195,122,.08);
  color: var(--dlx-gold); font: 800 11px/1 Inter, sans-serif; letter-spacing: .14em;
}

/* ---------- galería ---------- */
.dlx-gwrap {
  flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(14px, 2.4vw, 30px); padding: clamp(14px, 2.4vw, 28px) clamp(14px, 3vw, 34px) 24px;
  overflow: hidden;
}
.dlx-ghero { display: flex; flex-direction: column; min-height: 0; gap: 14px; }
.dlx-gstage {
  position: relative; flex: 1; min-height: 220px; border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% 38%, color-mix(in srgb, var(--c, #e8c37a) 22%, transparent), transparent 70%),
    radial-gradient(80% 80% at 50% 110%, color-mix(in srgb, var(--c2, #1a1a2a) 65%, transparent), transparent 72%),
    linear-gradient(180deg, #0b0d14, #05060a);
  border: 1px solid var(--dlx-line);
  box-shadow: inset 0 0 90px rgba(0,0,0,.8), 0 30px 80px rgba(0,0,0,.55);
  display: grid; place-items: end center;
}
.dlx-gstage img {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; z-index: 2;
  height: 94%; width: auto; max-width: 96%; object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.65)) drop-shadow(0 0 24px color-mix(in srgb, var(--c, #e8c37a) 35%, transparent));
  animation: dlxFloat 5s ease-in-out infinite;
}
@keyframes dlxFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
.dlx-gaura {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(38% 40% at 50% 46%, color-mix(in srgb, var(--c, #e8c37a) 30%, transparent), transparent 70%);
  animation: dlxPulse 3.6s ease-in-out infinite;
}
@keyframes dlxPulse { 0%,100% { opacity: .55; transform: scale(1) } 50% { opacity: 1; transform: scale(1.08) } }
.dlx-gring {
  position: absolute; left: 50%; bottom: 6%; width: min(70%, 360px); height: 60px; transform: translateX(-50%);
  border-radius: 50%; border: 2px solid color-mix(in srgb, var(--c, #e8c37a) 55%, transparent);
  box-shadow: 0 0 40px color-mix(in srgb, var(--c, #e8c37a) 35%, transparent), inset 0 0 30px rgba(0,0,0,.6);
  z-index: 1; animation: dlxRing 3.6s ease-in-out infinite;
}
@keyframes dlxRing { 0%,100% { transform: translateX(-50%) scaleX(1); opacity: .6 } 50% { transform: translateX(-50%) scaleX(1.1); opacity: 1 } }
.dlx-ginfo { flex: none; }
.dlx-gtag { display: inline-block; }
.dlx-el {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c, #e8c37a) 55%, transparent);
  background: color-mix(in srgb, var(--c, #e8c37a) 12%, transparent);
  color: var(--c, #e8c37a); font: 800 11px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase;
}
.dlx-ginfo h3 { margin: 8px 0 4px; font: 700 clamp(26px, 4vw, 44px)/1 'Playfair Display', Georgia, serif; }
.dlx-ginfo p { margin: 0 0 12px; color: #b9b3a6; font-size: 13px; line-height: 1.5; max-width: 52ch; }
.dlx-gstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.dlx-gstats div { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.dlx-gstats b { display: block; font: 700 16px/1.2 Inter, sans-serif; color: var(--dlx-gold2); }
.dlx-gstats span { font-size: 9px; letter-spacing: .18em; color: #8d877a; font-weight: 800; }
.dlx-gbtns { display: flex; gap: 10px; flex-wrap: wrap; }
.dlx-btn {
  flex: 1 1 0; min-width: 140px; min-height: 48px; padding: 13px 18px; border-radius: 14px; cursor: pointer;
  font: 800 12px/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--dlx-line); background: rgba(255,255,255,.04); color: #f3efe6;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.dlx-btn.gold { background: linear-gradient(180deg, #f7e3a8, #e8c37a 48%, #a9792b); color: #140d02; border-color: #fff0bd; box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 4px rgba(232,195,122,.08); }
.dlx-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.55); }
.dlx-btn.ghost:hover { background: rgba(232,195,122,.10); }

.dlx-glist {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px;
  overflow-y: auto; padding: 4px 6px 20px 2px; align-content: start;
  scrollbar-width: thin; scrollbar-color: rgba(232,195,122,.4) transparent;
}
.dlx-gcard {
  position: relative; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(255,255,255,.08); background: #0b0d14; padding: 0;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), border-color .22s, box-shadow .22s;
  transform-style: preserve-3d;
}
.dlx-gcard img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; opacity: .92; transition: transform .4s, opacity .3s; }
.dlx-gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.92)); }
.dlx-gcard:hover { transform: translateY(-5px) rotateX(3deg); border-color: var(--c); box-shadow: 0 16px 34px rgba(0,0,0,.6), 0 0 26px color-mix(in srgb, var(--c) 30%, transparent); }
.dlx-gcard:hover img { transform: scale(1.06); opacity: 1; }
.dlx-gcard.on { border-color: var(--c); box-shadow: 0 0 0 2px var(--c), 0 16px 34px rgba(0,0,0,.6); }
.dlx-gnum { position: absolute; top: 8px; left: 8px; z-index: 2; font: 800 10px/1 Inter, sans-serif; color: rgba(255,255,255,.7); background: rgba(0,0,0,.45); padding: 4px 6px; border-radius: 6px; }
.dlx-gmeta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 8px 9px; text-align: left; }
.dlx-gmeta b { display: block; font: 700 11px/1.2 Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlx-gmeta small { display: block; font-size: 9px; color: var(--c); font-weight: 800; letter-spacing: .06em; margin-top: 2px; }

/* ---------- chat ---------- */
.dlx-chat { background: radial-gradient(60% 50% at 20% 0%, rgba(127,209,255,.08), transparent 60%), radial-gradient(50% 50% at 90% 100%, rgba(180,140,255,.10), transparent 70%), linear-gradient(180deg, #05060a, #07080d); }
.dlx-ch-top { display: flex; align-items: center; gap: 14px; padding: 14px clamp(14px, 3vw, 30px); border-bottom: 1px solid var(--dlx-line); background: rgba(8,9,14,.85); backdrop-filter: blur(16px); }
.dlx-ch-brand { display: flex; align-items: center; gap: 12px; }
.dlx-ch-logo { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: #140d02; background: linear-gradient(180deg, #f7e3a8, #e8c37a 48%, #a9792b); box-shadow: 0 0 22px rgba(232,195,122,.35); }
.dlx-ch-brand small { display: block; font-size: 9px; letter-spacing: .28em; color: var(--dlx-gold); font-weight: 800; }
.dlx-ch-brand b { font: 700 19px/1.1 'Playfair Display', Georgia, serif; letter-spacing: .04em; }
.dlx-ch-live { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #cfc8b8; }
.dlx-ch-live i { width: 8px; height: 8px; border-radius: 50%; background: #48e07a; box-shadow: 0 0 10px #48e07a; animation: dlxLive 1.6s ease-in-out infinite; }
@keyframes dlxLive { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.dlx-ch-net { padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(127,209,255,.35); color: var(--dlx-cyan); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.dlx-ch-top .dlx-x { margin-left: 6px; }
.dlx-ch-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.dlx-ch-side { border-right: 1px solid var(--dlx-line); background: rgba(255,255,255,.02); padding: 16px 12px; display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.dlx-ch-me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.dlx-ch-me b { display: block; font-size: 13px; }
.dlx-ch-me small { font-size: 10px; color: #8d877a; }
.dlx-ch-tabs { display: flex; flex-direction: column; gap: 6px; }
.dlx-ch-tabs button {
  display: flex; align-items: center; gap: 10px; padding: 12px 12px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; background: none; color: #bdb6a8; font: 700 13px/1 Inter, sans-serif; text-align: left;
  transition: background .18s, color .18s, border-color .18s;
}
.dlx-ch-tabs button span { font-size: 17px; }
.dlx-ch-tabs button small { margin-left: auto; font-size: 10px; color: #7e786c; }
.dlx-ch-tabs button:hover { background: rgba(255,255,255,.04); color: #fff; }
.dlx-ch-tabs button.on { background: linear-gradient(90deg, rgba(232,195,122,.18), rgba(232,195,122,.04)); border-color: var(--dlx-line); color: #fff; }
.dlx-ch-tabs button.on small { color: var(--dlx-gold); }
.dlx-ch-sidebox { min-height: 0; overflow: auto; }
.dlx-ch-sidebox > b { display: block; font-size: 9px; letter-spacing: .2em; color: #8d877a; margin: 0 0 8px 4px; }
.dlx-orow { display: flex; align-items: center; gap: 8px; padding: 6px 4px; }
.dlx-orow b { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlx-orow .dlx-dot { margin-left: auto; }
.dlx-ch-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.dlx-ch-pane { display: none; flex: 1; min-height: 0; flex-direction: column; }
.dlx-ch-pane.on { display: flex; }
.dlx-ch-phead { display: flex; align-items: center; gap: 12px; padding: 16px clamp(14px, 3vw, 26px) 10px; }
.dlx-ch-phead h3 { margin: 0; font: 700 20px/1.1 'Playfair Display', Georgia, serif; }
.dlx-ch-phead p { margin: 3px 0 0; font-size: 11px; color: #8d877a; }
.dlx-ch-tag { margin-left: auto; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(127,209,255,.3); color: var(--dlx-cyan); font: 800 10px/1 Inter, sans-serif; letter-spacing: .1em; }
.dlx-msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 8px clamp(14px, 3vw, 26px) 14px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: rgba(232,195,122,.35) transparent; }
.dlx-msg { display: flex; gap: 9px; align-items: flex-end; max-width: 88%; animation: dlxIn .25s ease both; }
@keyframes dlxIn { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.dlx-msg.me { align-self: flex-end; flex-direction: row-reverse; }
.dlx-bub { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 14px 14px 14px 4px; padding: 8px 11px; min-width: 90px; }
.dlx-msg.me .dlx-bub { background: linear-gradient(180deg, rgba(232,195,122,.22), rgba(232,195,122,.10)); border-color: rgba(232,195,122,.35); border-radius: 14px 14px 4px 14px; }
.dlx-mh { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.dlx-mh b { font-size: 11px; color: var(--dlx-gold2); }
.dlx-mh time { font-size: 9px; color: #7e786c; }
.dlx-bub p { margin: 0; font-size: 13px; line-height: 1.4; color: #e9e4d8; word-break: break-word; }
.dlx-av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 800 13px/1 Inter, sans-serif; color: #140d02; background: linear-gradient(180deg, #f7e3a8, #c99a45); border: 1px solid rgba(255,255,255,.25); overflow: hidden; }
.dlx-av.img { background: #0b0d14; }
.dlx-av.img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.dlx-av.ico { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.1); font-size: 15px; }
.dlx-av.me { width: 38px; height: 38px; font-size: 15px; }
.dlx-send { display: flex; gap: 8px; padding: 10px clamp(14px, 3vw, 26px) 16px; border-top: 1px solid rgba(255,255,255,.06); }
.dlx-send input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.45); color: #f3efe6; font: 14px Inter, sans-serif; outline: none; transition: border-color .18s, box-shadow .18s; }
.dlx-send input:focus { border-color: var(--dlx-gold); box-shadow: 0 0 0 3px rgba(232,195,122,.12); }
.dlx-send button { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid #fff0bd; background: linear-gradient(180deg, #f7e3a8, #e8c37a 48%, #a9792b); color: #140d02; font-size: 17px; cursor: pointer; transition: transform .18s; }
.dlx-send button:hover { transform: scale(1.06); }
.dlx-mini { margin-left: auto; padding: 9px 13px; border-radius: 999px; border: 1px solid var(--dlx-line); background: rgba(232,195,122,.08); color: var(--dlx-gold); font: 800 11px/1 Inter, sans-serif; letter-spacing: .06em; cursor: pointer; }
.dlx-friends { flex: 1; min-height: 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.dlx-flist { border-right: 1px solid rgba(255,255,255,.06); overflow-y: auto; padding: 6px; }
.dlx-frow { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 8px; border-radius: 12px; border: 1px solid transparent; background: none; color: #e9e4d8; cursor: pointer; text-align: left; }
.dlx-frow:hover { background: rgba(255,255,255,.04); }
.dlx-frow.on { background: rgba(232,195,122,.10); border-color: var(--dlx-line); }
.dlx-fmeta { min-width: 0; flex: 1; }
.dlx-fmeta b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlx-fmeta small { display: block; font-size: 10px; color: #8d877a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlx-dot { width: 8px; height: 8px; border-radius: 50%; background: #4a4a4a; flex: none; }
.dlx-dot.on { background: #48e07a; box-shadow: 0 0 8px #48e07a; }
.dlx-gm { color: #8d877a; font-size: 10px; flex: none; }
.dlx-dm { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.dlx-dmhead { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 12px; }
.dlx-dmhead b { display: block; font-size: 13px; }
.dlx-dmhead small { color: #8d877a; font-size: 10px; }
.dlx-dm .dlx-msgs { padding-top: 12px; }

/* ---------- dock / fab / toast ---------- */
#dlx-dock {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 360;
  display: flex; flex-direction: column; gap: 8px; padding: 8px;
  border-radius: 18px; border: 1px solid var(--dlx-line);
  background: rgba(8,9,14,.72); backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
body.dlx-entered #dlx-dock { opacity: 1; pointer-events: auto; }
body.playing #dlx-dock, body.dlx-modal #dlx-dock { opacity: 0 !important; pointer-events: none !important; }
#dlx-dock button { position: relative; width: 54px; height: 54px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); color: #f3efe6; cursor: pointer; display: grid; place-items: center; gap: 1px; transition: background .18s, border-color .18s, transform .18s; }
#dlx-dock button span { font-size: 20px; line-height: 1; }
#dlx-dock button b { font: 700 8px/1 Inter, sans-serif; letter-spacing: .04em; color: #b9b3a6; }
#dlx-dock button:hover { background: rgba(232,195,122,.12); border-color: var(--dlx-gold); transform: translateY(-2px); }
#dlx-dock i, #dlx-chat-fab i { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; border-radius: 9px; background: #ff3b30; color: #fff; font: 800 10px/18px Inter, sans-serif; font-style: normal; text-align: center; padding: 0 4px; border: 1px solid #000; }
#dlx-chat-fab {
  position: fixed; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 361;
  display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px;
  border: 1px solid #fff0bd; background: linear-gradient(180deg, #f7e3a8, #e8c37a 48%, #a9792b); color: #140d02;
  font: 800 12px/1 Inter, sans-serif; letter-spacing: .08em; cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 0 4px rgba(232,195,122,.10);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .2s;
}
#dlx-chat-fab span { font-size: 16px; }
body.dlx-entered #dlx-chat-fab { opacity: 1; pointer-events: auto; }
body.playing #dlx-chat-fab, body.dlx-modal #dlx-chat-fab { opacity: 0 !important; pointer-events: none !important; }
#dlx-chat-fab:hover { transform: translateY(-2px); }
#dlx-toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px);
  z-index: 2000; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--dlx-line);
  background: rgba(8,9,14,.92); color: #f3efe6; font: 700 13px Inter, sans-serif;
  backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: 90vw; text-align: center;
}
#dlx-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .dlx-gwrap { grid-template-columns: 1fr; overflow-y: auto; }
  .dlx-gstage { min-height: 300px; flex: none; height: 42vh; }
  .dlx-glist { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); overflow: visible; }
  .dlx-ch-body { grid-template-columns: 1fr; }
  .dlx-ch-side { flex-direction: row; align-items: center; gap: 8px; padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--dlx-line); overflow-x: auto; }
  .dlx-ch-me, .dlx-ch-sidebox { display: none; }
  .dlx-ch-tabs { flex-direction: row; gap: 6px; }
  .dlx-ch-tabs button { padding: 9px 12px; white-space: nowrap; }
  .dlx-ch-tabs button small { display: none; }
  .dlx-friends { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .dlx-flist { display: flex; gap: 6px; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .dlx-frow { min-width: 170px; }
  .dlx-msg { max-width: 94%; }
}
@media (max-width: 560px) {
  .dlx-ovh { padding: 12px 14px; gap: 10px; }
  .dlx-pill { display: none; }
  .dlx-gwrap { padding: 12px 14px 18px; }
  .dlx-ginfo h3 { font-size: 28px; }
  .dlx-gstats div { padding: 8px; }
  .dlx-gstats b { font-size: 13px; }
  .dlx-gbtns .dlx-btn { min-width: 0; }
  #dlx-dock { right: 8px; padding: 6px; gap: 6px; border-radius: 14px; }
  #dlx-dock button { width: 46px; height: 46px; }
  #dlx-dock button b { display: none; }
  #dlx-chat-fab { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); padding: 10px 14px; }
  #dlx-chat-fab b { display: none; }
  .dlx-ch-live .dlx-ch-net { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dlx-gstage img, .dlx-gaura, .dlx-gring, #dlx-entry .entry-brand strong, .dlx-ch-live i { animation: none !important; }
}

/* ---------- miniaturas reales en la lista ---------- */
#zoo .an { align-items: center; }
#zoo .an img.dlx-th {
  width: 34px; height: 46px; flex: 0 0 34px; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.55)) saturate(1.05);
  transition: transform .2s ease, filter .2s ease;
}
#zoo .an:hover img.dlx-th { transform: translateY(-2px) scale(1.08); filter: drop-shadow(0 6px 12px rgba(232,195,122,.45)) saturate(1.15); }
