/* SHOGANA1 ARENA Standalone 1.0.1 — 1:1 Live Dark Cherry Obsidian Visual System (Zero WordPress) */
@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #08060a;
  --surface: #130b0f;
  --surface-2: #1c1117;
  --surface-3: #261620;
  --line: rgba(255, 240, 242, .1);
  --line-strong: rgba(255, 240, 242, .22);
  --text: #fff5f3;
  --soft: #d6c6ca;
  --muted: #b5a3a9;
  --red: #a8192f;
  --hot: #e84455;
  --pink: #ff8a96;
  --amber: #e0a24e;
  --magenta: #c73974;
  --ok: #58d68d;
  --display: "Unbounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --gutter: clamp(16px, 3.4vw, 48px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
  margin: 0; padding: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.sx-page {
  min-height: 100vh;
  background:
    radial-gradient(1100px 640px at 80% -60px, rgba(168, 25, 47, .46), transparent 64%),
    radial-gradient(820px 520px at -8% 14%, rgba(199, 57, 116, .16), transparent 62%),
    var(--bg);
}
.sx-wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sx-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sx-skull { display: block; width: 26px; height: 29px; aspect-ratio: 937 / 1042; flex: none; fill: currentColor; color: var(--hot); overflow: visible; }

/* ---------- Cabecera (1:1 live) ---------- */
.sx-top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(8, 6, 10, .74);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 240, 242, .06);
}
.sx-top-in { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.sx-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .01em; white-space: nowrap; color: #fff; }
.sx-search {
  flex: 0 1 340px; display: flex; align-items: center; gap: 10px; min-height: 44px;
  margin-left: 18px; padding: 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .055); border: 1px solid var(--line);
  color: var(--muted); font-size: 14.5px; cursor: pointer; text-align: left;
}
.sx-search span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-search kbd { font-family: var(--body); font-size: 12px; padding: 2px 7px; border-radius: 7px; border: 1px solid var(--line); color: var(--muted); }
.sx-head-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sx-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .055); border: 1px solid var(--line);
  color: var(--soft); font-size: 13.5px; font-weight: 600; white-space: nowrap; flex: none; cursor: pointer;
}
.sx-pill:hover { background: rgba(255, 255, 255, .1); }
.sx-pill[aria-pressed="true"] { border-color: rgba(232, 68, 85, .55); color: #fff; background: rgba(232, 68, 85, .18); }
.sx-pill-icon { padding: 0; position: relative; }
.sx-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sx-eq i { width: 3px; border-radius: 2px; background: var(--hot); }
.sx-eq i:nth-child(1) { height: 6px; }
.sx-eq i:nth-child(2) { height: 12px; }
.sx-eq i:nth-child(3) { height: 8px; }
.sx-badge {
  position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--hot); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--bg);
}

/* ---------- Botones y etiquetas ---------- */
.sx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 15.5px; color: var(--text);
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line); white-space: nowrap; cursor: pointer;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), background .2s;
}
.sx-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .11); }
.sx-btn-primary {
  background: linear-gradient(180deg, #cc324c, #a8192f);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 14px 30px -14px rgba(232, 68, 85, .75), inset 0 1px 0 rgba(255, 255, 255, .24);
}
.sx-btn-primary:hover { background: linear-gradient(180deg, #df3c57, #b51c34); }
.sx-btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.sx-btn .sx-ico { width: 18px; height: 18px; }
.sx-tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--soft); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.sx-tag-amber { background: rgba(224, 162, 78, .16); color: #f3c88a; }
.sx-tag-ok { background: rgba(88, 214, 141, .16); color: #8af0b3; }
.sx-tag-max { padding: 2px 8px; border: 1px solid rgba(224, 162, 78, .5); background: rgba(224, 162, 78, .1); color: #f3c88a; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; }
.sx-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(88, 214, 141, .18); flex: none; display: inline-block; }

/* ---------- Hero (1:1 live) ---------- */
.sx-hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(20px, 4vw, 64px); align-items: center;
  padding-block: clamp(24px, 3.6vw, 48px) clamp(28px, 4.2vw, 56px);
}
.sx-h1 {
  font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.7vw, 62px);
  line-height: 1.04; letter-spacing: -.025em; text-wrap: balance;
}
.sx-h1 em { font-style: normal; color: var(--hot); }
.sx-lead { margin-top: 18px; max-width: 33em; color: var(--soft); font-size: clamp(16px, 1.45vw, 19px); }
.sx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sx-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; color: var(--muted); font-size: 14px; }
.sx-proof b { color: var(--text); font-variant-numeric: tabular-nums; }
.sx-proof > span:not(.sx-faces) { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; line-height: 1.3; }
.sx-only-m { display: none; }
.s1-chat-mob-only { display: none; }
.sx-foot-lang { min-height: 36px; padding: 0 12px; font-size: 12px; }
.sx-faces { display: flex; }
.sx-faces img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg); object-fit: cover; margin-left: -9px; background: var(--surface-2); }
.sx-faces img:first-child { margin-left: 0; }

/* Jul Card (1:1 live) */
.sx-jul { position: relative; margin: 0; justify-self: center; width: min(100%, 520px); aspect-ratio: 1080/1350; }
.sx-jul img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sx-jul-amb { filter: blur(46px) saturate(1.35); opacity: .5; transform: scale(1.03); }
.sx-jul-art { clip-path: inset(4% 5% 9% 9% round 36px); }
.sx-jul-frame {
  position: absolute; inset: 4% 5% 9% 9%; overflow: hidden; border-radius: 36px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .24), inset 0 0 0 8px rgba(255, 255, 255, .04), 0 40px 70px -40px rgba(232, 68, 85, .6);
}
.sx-jul-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, .26) 46%, rgba(255, 196, 220, .14) 53%, transparent 64%);
  background-size: 280% 100%; background-position: 120% 0; mix-blend-mode: screen;
}
.sx-jul-fg { filter: drop-shadow(0 20px 22px rgba(30, 0, 8, .5)); }
.sx-jul-tag {
  position: absolute; right: calc(5% + 16px); bottom: calc(9% + 16px);
  display: flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px;
  background: rgba(18, 6, 10, .68); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .18); font-size: 12.5px; color: var(--soft);
}
.sx-jul-tag b { font-family: var(--display); font-size: 12px; color: #fff; letter-spacing: .04em; }
.sx-stars { color: var(--amber); font-size: 11px; letter-spacing: 1px; }

/* ---------- Stories 24h Strip ---------- */
.s1-stories-bar { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 24px; scrollbar-width: thin; }
.s1-story-tile { flex: none; width: 82px; display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; padding: 0; color: var(--soft); font-size: 12px; }
.s1-story-ring { width: 66px; height: 66px; padding: 3px; border-radius: 50%; background: linear-gradient(135deg, #e84455, #e0a24e, #c73974); display: grid; place-items: center; }
.s1-story-ring.seen { background: rgba(255, 255, 255, .16); }
.s1-story-ring.add { background: rgba(232, 68, 85, .16); border: 1.5px dashed rgba(232, 68, 85, .55); }
.s1-story-avatar { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg); background: var(--surface-2); display: grid; place-items: center; overflow: hidden; font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--pink); }
.s1-story-avatar img { width: 100%; height: 100%; object-fit: cover; }
.s1-story-tile span { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 5 Quick-Access Portals (1:1 live 0.6.2) ---------- */
.sx-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sx-rail a { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, #1a0d13, var(--surface) 70%); transition: transform .28s cubic-bezier(.2, .8, .2, 1), border-color .28s; }
.sx-rail a:hover { transform: translateY(-4px); border-color: rgba(255, 240, 242, .24); }
.sx-rail-art { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.sx-rail-art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; z-index: 2; pointer-events: none; background: linear-gradient(rgba(19, 11, 15, 0), rgba(19, 11, 15, .85)); }
.sx-rail-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.sx-rail a:hover .sx-rail-shot { transform: scale(1.05); }
.sx-rail-txt { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 16px 16px; }
.sx-rail strong { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.sx-rail small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.sx-rail-go { position: absolute; right: 12px; top: 12px; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(10, 4, 7, .55); backdrop-filter: blur(6px); color: var(--soft); }
.sx-rail-go .sx-ico { width: 16px; height: 16px; }

/* ---------- Secciones ---------- */
.sx-sec { padding-top: clamp(48px, 6vw, 84px); }
.sx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sx-head h2, .s1-h2 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.5vw, 31px); line-height: 1.15; letter-spacing: -.015em; }
.sx-head p, .s1-sub { margin-top: 7px; color: var(--muted); font-size: 15px; }
.sx-eyebrow { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }

/* ---------- En la arena ahora ---------- */
.sx-now { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 16px; }
.sx-event { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.sx-event-cover { position: relative; min-height: 250px; }
.sx-event-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx-event-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(20px, 2.5vw, 32px); }
.sx-event-body h3 { font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.15; }
.sx-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; }
.sx-count div { padding: 10px 4px 9px; border-radius: 14px; background: rgba(255, 255, 255, .055); text-align: center; }
.sx-count b { display: block; font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.2; }
.sx-count span { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.sx-bar { width: 100%; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.sx-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--red), var(--hot)); }
.sx-links { display: grid; gap: 12px; }
.sx-links a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.sx-rail-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: rgba(232, 68, 85, .14); color: var(--pink); }
.sx-links strong { display: block; font-size: 15.5px; }
.sx-links small { display: block; font-size: 13.5px; color: var(--muted); }
.sx-links .sx-go { margin-left: auto; color: var(--muted); }

/* ---------- Obras: Anillo 3D panorámico + Masonry 6 columnas ---------- */
.sx-ring { --rr: 350px; position: relative; height: 292px; margin-bottom: 18px; overflow: hidden; perspective: 1100px; contain: layout paint; }
.sx-ring::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg, #08060a, rgba(8, 6, 10, 0) 9%, rgba(8, 6, 10, 0) 91%, #08060a); }
.sx-ring::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 72%; height: 96px; transform: translateX(-50%); background: radial-gradient(50% 100% at 50% 100%, rgba(232, 68, 85, .36), transparent 72%); }
.sx-ring-in { position: absolute; left: 50%; top: 46px; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(var(--rr)); }
.sx-ring-spin { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; animation: sx-spin 90s linear infinite; }
.sx-ring:hover .sx-ring-spin { animation-play-state: paused; }
.sx-ring-spin a { position: absolute; left: -75px; top: 0; width: 150px; height: 200px; border-radius: 20px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 26px 40px -22px #000; }
.sx-ring-spin img { width: 100%; height: 100%; object-fit: cover; }
@keyframes sx-spin { to { transform: rotateY(360deg); } }

.sx-masonry { columns: 6; column-gap: 14px; }
.sx-work { position: relative; display: block; break-inside: avoid; margin: 0 0 14px; border-radius: 18px; overflow: hidden; background: var(--surface); }
.sx-work > img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.sx-work-cap { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: 8px; padding: 26px 10px 9px; background: linear-gradient(transparent, rgba(8, 4, 6, .9)); font-size: 12.5px; font-weight: 600; }
.sx-work-cap img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; }
.sx-work-cap > span { min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-like { flex: none !important; display: inline-flex; align-items: center; gap: 4px; color: var(--pink); }

/* ---------- Artistas ---------- */
.sx-artists { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sx-artist { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 16px; overflow: hidden; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.sx-artist-cover { width: 100%; height: 78px; object-fit: cover; opacity: .9; }
.sx-artist-cover-empty { width: 100%; height: 78px; background: radial-gradient(120% 140% at 20% 0, rgba(232, 68, 85, .5), transparent 60%), linear-gradient(135deg, #3a0d1b, #170a10); }
.sx-artist-av { width: 68px; height: 68px; margin-top: -36px; border-radius: 50%; border: 3px solid var(--surface); object-fit: cover; position: relative; background: var(--surface-3); display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: var(--pink); font-size: 24px; }
.sx-artist strong { font-size: 15px; }
.sx-artist small { font-size: 13px; color: var(--muted); }
.sx-artist .sx-btn { margin-top: 8px; }

/* ---------- Comisiones ---------- */
.sx-comms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sx-comm { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.sx-comm-cover { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: radial-gradient(90% 80% at 30% 20%, rgba(232, 68, 85, .3), transparent 70%), var(--surface-2); }
.sx-comm-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.sx-comm-cta { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: 22px; border-radius: var(--r-lg); border: 1px dashed rgba(224, 162, 78, .45); background: radial-gradient(90% 60% at 80% 0, rgba(224, 162, 78, .2), transparent 70%), var(--surface); }
.sx-comm-cta strong { font-family: var(--display); font-size: 19px; line-height: 1.2; }
.sx-comm-cta p { color: var(--muted); font-size: 14px; }
.sx-orb { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #3a2206; background: radial-gradient(circle at 32% 26%, #fff 0 6%, #ffd7a0 16%, #e0a24e 46%, #8a5514); }

/* ---------- Ver y jugar ---------- */
.sx-play { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.sx-tv { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; overflow: hidden; padding: clamp(22px, 2.8vw, 34px); border-radius: var(--r-xl); border: 1px solid var(--line); background: radial-gradient(80% 90% at 100% 0, rgba(168, 25, 47, .42), transparent 70%), linear-gradient(135deg, #240a13, #120a0e 62%); }
.sx-tv h3 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.sx-tv > p { color: var(--soft); font-size: 15px; }
.sx-tv-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: auto; }
.sx-tv-cats a { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 700; }
.sx-tv-cats img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; }
.sx-game { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.sx-game-cover { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.sx-game-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; padding: 16px 18px 18px; }
.sx-game-body h3 { font-family: var(--display); font-weight: 700; font-size: 18px; }
.sx-game-body p { color: var(--muted); font-size: 14px; }
.sx-game-body .sx-btn { margin-top: auto; }

/* ---------- Crear (3 herramientas con capturas reales) ---------- */
.sx-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sx-tool { --tint: rgba(232, 68, 85, .42); position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); }
.sx-tool-paint { --tint: rgba(199, 57, 116, .46); }
.sx-tool-studio { --tint: rgba(224, 162, 78, .38); }
.sx-tool-shot { padding: 24px 24px 0; perspective: 1100px; background: radial-gradient(90% 110% at 50% 0, var(--tint), transparent 74%); }
.sx-tool-shot img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: 50% 0; border-radius: 14px 14px 0 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 -20px 46px -20px var(--tint); transform: rotateX(10deg); transform-origin: 50% 100%; transition: transform .5s; }
.sx-tool:hover .sx-tool-shot img { transform: rotateX(0deg) scale(1.02); }
.sx-tool-body { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; flex: 1; padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.sx-tool-top { display: flex; align-items: center; gap: 8px; width: 100%; }
.sx-tool-top .sx-eyebrow { margin: 0; margin-right: auto; }
.sx-tool-body h3 { font-family: var(--display); font-weight: 700; font-size: 20px; }
.sx-tool-body p { color: var(--soft); font-size: 14.5px; }
.sx-tool-body .sx-btn { margin-top: auto; }
.sx-cloud { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--soft); font-size: 14.5px; }
.sx-cloud p { flex: 1; }
.sx-cloud b { color: var(--text); }

/* ---------- Pie ---------- */
.sx-foot { margin-top: clamp(48px, 6vw, 80px); padding-block: 32px calc(118px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.sx-foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.sx-foot-brand { display: flex; flex-direction: column; gap: 8px; }
.sx-foot-brand p { color: var(--muted); font-size: 14.5px; }
.sx-foot-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.sx-foot-card .sx-ico { color: var(--pink); margin-top: 2px; }
.sx-foot-card strong { display: block; font-size: 15px; }
.sx-foot-card small { display: block; font-size: 13.5px; color: var(--muted); }
.sx-foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 26px; color: var(--muted); font-size: 14px; }
.sx-foot-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* ---------- Dock (1.3.3 · Optical Liquid Glass + Spring Lens) ---------- */
.sx-lg-defs { position: fixed; width: 0; height: 0; pointer-events: none; visibility: hidden; }
.sx-dockwrap {
  position: fixed; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 45;
  display: flex; justify-content: center; pointer-events: none;
}
.sx-dock {
  --dock-mx: 50%;
  --dock-my: 50%;
  --dock-hover: 0;
  position: relative;
  pointer-events: auto;
  display: flex; gap: 2px; padding: 6px; border-radius: 999px;
  overflow: visible;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  isolation: isolate;
}
.sx-dock-bg {
  position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, rgba(34, 18, 26, .34) 0%, rgba(14, 8, 12, .48) 100%);
  backdrop-filter: blur(14px) saturate(1.95) brightness(1.06);
  -webkit-backdrop-filter: blur(14px) saturate(1.95) brightness(1.06);
  box-shadow:
    0 22px 48px -12px rgba(0, 0, 0, .82),
    0 6px 18px -6px rgba(0, 0, 0, .52),
    inset 0 1px 0 rgba(255, 255, 255, .30),
    inset 0 -1px 0 rgba(255, 255, 255, .10),
    inset 0 0 20px rgba(255, 232, 240, .04);
}
.s1-has-svg-backdrop .sx-dock-bg {
  backdrop-filter: url(#s1-lg-bar) blur(6px) saturate(2.0) brightness(1.08);
}
/* Dual-angle specular bevel ring (Kyant0 ambient highlight) */
.sx-dock-bg::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.15px; pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, .56) 0%,
    rgba(255, 240, 246, .16) 24%,
    rgba(255, 255, 255, .04) 50%,
    rgba(255, 236, 244, .14) 76%,
    rgba(255, 255, 255, .44) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
/* Interactive pointer specular sheen across the bar */
.sx-dock-bg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: var(--dock-hover);
  transition: opacity .28s ease;
  background: radial-gradient(
    130px 72px at var(--dock-mx) var(--dock-my),
    rgba(255, 244, 248, .18) 0%,
    rgba(232, 68, 85, .07) 42%,
    transparent 74%
  );
}
/* Floating refractive Liquid Glass lens droplet */
.sx-dock-lens {
  --lg-lx: 30%;
  --lg-ly: 18%;
  position: absolute; top: 6px; left: 0; width: 66px; height: calc(100% - 12px);
  border-radius: 999px; z-index: 1; pointer-events: none;
  opacity: 0;
  transform-origin: center center;
  will-change: transform, width, opacity;
  background:
    radial-gradient(110% 95% at var(--lg-lx) var(--lg-ly), rgba(255, 255, 255, .14) 0%, rgba(255, 242, 248, .05) 45%, rgba(255, 255, 255, .01) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .01) 52%, rgba(255, 255, 255, .06) 100%);
  backdrop-filter: blur(4px) saturate(2.2) contrast(1.10) brightness(1.14);
  -webkit-backdrop-filter: blur(4px) saturate(2.2) contrast(1.10) brightness(1.14);
  box-shadow:
    0 8px 22px -6px rgba(0, 0, 0, .58),
    0 2px 6px -2px rgba(0, 0, 0, .35),
    inset 0 1.5px 1px rgba(255, 255, 255, .64),
    inset 0 -1.5px 2px rgba(255, 255, 255, .24),
    inset 0 0 12px rgba(255, 255, 255, .07);
  transition: opacity .22s ease, background .24s ease, box-shadow .24s ease;
}
.sx-dock-lens.is-visible { opacity: 1; }
.s1-has-svg-backdrop .sx-dock-lens {
  backdrop-filter: url(#s1-lg-lens) saturate(2.2) contrast(1.08) brightness(1.14);
}
/* Diagonal optical glass bevel + subtle chromatic Fresnel edge glint */
.sx-dock-lens::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px; pointer-events: none;
  background: linear-gradient(
    132deg,
    rgba(255, 255, 255, .92) 0%,
    rgba(166, 248, 255, .48) 17%,
    rgba(255, 255, 255, .14) 46%,
    rgba(255, 178, 220, .42) 79%,
    rgba(255, 255, 255, .82) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  transition: opacity .22s ease;
}
/* Inner convex dome caustic reflection */
.sx-dock-lens::after {
  content: ""; position: absolute; inset: 1.5px; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(62% 38% at var(--lg-lx) 10%, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(54% 34% at 74% 94%, rgba(255, 210, 232, .24) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: .76;
  transition: opacity .2s ease;
}
/* Lifting / Scrubbing / Gliding state: crystal-clear refractive magnifier droplet */
.sx-dock-lens.is-lifting,
.sx-dock-lens.is-moving {
  background:
    radial-gradient(110% 95% at var(--lg-lx) var(--lg-ly), rgba(255, 255, 255, .12) 0%, rgba(255, 245, 250, .02) 54%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(1.5px) saturate(2.4) contrast(1.14) brightness(1.20);
  -webkit-backdrop-filter: blur(1.5px) saturate(2.4) contrast(1.14) brightness(1.20);
  box-shadow:
    0 14px 34px -6px rgba(0, 0, 0, .68),
    0 4px 12px -3px rgba(0, 0, 0, .42),
    inset 0 2px 1.5px rgba(255, 255, 255, .82),
    inset 0 -2px 2.5px rgba(255, 255, 255, .32),
    inset 0 0 16px rgba(255, 255, 255, .12);
}
.s1-has-svg-backdrop .sx-dock-lens.is-lifting,
.s1-has-svg-backdrop .sx-dock-lens.is-moving {
  backdrop-filter: blur(1.5px) saturate(2.45) contrast(1.14) brightness(1.20);
}
.sx-dock-lens.is-lifting::after,
.sx-dock-lens.is-moving::after { opacity: 1; }

.sx-dock a {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  width: 66px; height: 54px; border-radius: 999px; color: var(--soft); font-size: 10.5px; font-weight: 600; line-height: 1.1;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
  transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), color .2s ease, filter .24s ease;
}
.sx-dock a:hover { color: #fff; transform: translateY(-1.5px); }
.sx-dock a:active { transform: scale(.94); }
.sx-dock a.active, .sx-dock a[aria-current] {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .09));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36), 0 6px 14px -8px rgba(0, 0, 0, .8);
}
.sx-dock.is-liquid-ready a.active,
.sx-dock.is-liquid-ready a[aria-current] {
  background: transparent;
  box-shadow: none;
  color: #fff;
  filter: drop-shadow(0 1px 8px rgba(255, 255, 255, .26));
}
.sx-dock.is-liquid-ready a.is-under-lens {
  color: #fff;
  transform: scale(1.06);
  filter: drop-shadow(0 1px 10px rgba(255, 255, 255, .36));
}
.sx-dock.is-dragging a { pointer-events: none; }
.sx-dock .sx-ico { width: 20px; height: 20px; transition: transform .26s cubic-bezier(.34, 1.56, .64, 1); }
.sx-dock a.active .sx-ico,
.sx-dock a.is-under-lens .sx-ico { transform: scale(1.07); }
.sx-dock-av { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; transition: transform .26s cubic-bezier(.34, 1.56, .64, 1); }
.sx-dock a.active .sx-dock-av,
.sx-dock a.is-under-lens .sx-dock-av { transform: scale(1.07); }
.sx-dock-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .42); }
@media (prefers-reduced-motion: reduce) {
  .sx-dock-lens, .sx-dock a, .sx-dock .sx-ico { transition-duration: .08s !important; }
}

/* ---------- Subpages (Forum, Chats, Shop, TV, Account, Apps) ---------- */
.s1-main { padding-top: 12px; }
.s1-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.s1-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.s1-card { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); padding: 20px; overflow: hidden; }
.s1-card-media { padding: 0; display: flex; flex-direction: column; }
.s1-card-media img.s1-cover { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #12090e; }
.s1-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.s1-forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; align-items: start; }
.s1-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.s1-chip-btn { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--soft); font-size: 13px; font-weight: 600; cursor: pointer; }
.s1-chip-btn.active { background: var(--hot); border-color: var(--hot); color: #fff; }
.s1-post { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.s1-post-head { display: flex; align-items: center; gap: 12px; }
.s1-ava { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: var(--pink); overflow: hidden; flex: none; }
.s1-ava img { width: 100%; height: 100%; object-fit: cover; }
.s1-post-body { color: var(--text); font-size: 15px; line-height: 1.6; word-break: break-word; }
.s1-code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .09); font-family: ui-monospace, monospace; font-size: 13px; }
.s1-tag-link { background: rgba(232, 68, 85, .16); color: var(--pink); border: 0; border-radius: 6px; padding: 1px 6px; cursor: pointer; font-weight: 600; }
.s1-mention { color: var(--amber); font-weight: 600; }
.s1-link { color: #8fd8ff; text-decoration: underline; }
.s1-poll { display: flex; flex-direction: column; gap: 8px; }
.s1-poll-opt { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); overflow: hidden; cursor: pointer; text-align: left; }
.s1-poll-opt.voted { border-color: var(--hot); }
.s1-poll-opt span:not(.s1-poll-bar), .s1-poll-opt b { position: relative; z-index: 1; }
.s1-poll-bar { position: absolute; inset: 0 auto 0 0; z-index: 0; background: rgba(232, 68, 85, .26); pointer-events: none; transition: width .35s; }
.s1-post-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .06); }
.s1-act-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--soft); font-size: 13px; cursor: pointer; }
.s1-act-btn.liked { border-color: var(--hot); color: var(--pink); background: rgba(232, 68, 85, .14); }
.s1-comments { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .06); }
.s1-comment { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .035); font-size: 13.5px; }

/* ---------- Chats 3-column (1:1 live) ---------- */
.s1-chats-shell {
  display: grid; grid-template-columns: 286px minmax(0, 1fr) 268px;
  min-height: calc(100vh - 156px); border-top: 1px solid rgba(255, 240, 242, .06);
  background: rgba(12, 6, 10, .45);
}
.s1-chat-left {
  display: flex; flex-direction: column; gap: 10px; padding: 14px; min-width: 0; max-width: 100%;
  border-right: 1px solid rgba(255, 240, 242, .08); background: rgba(16, 8, 13, .62);
}
.s1-chat-left-head { display: flex; align-items: center; justify-content: space-between; }
.s1-chat-left-head h1 { font-family: var(--display); font-size: 19px; font-weight: 800; }
.s1-chat-head-btns { display: flex; gap: 6px; }
.s1-chat-round-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05); display: grid; place-items: center; cursor: pointer; color: var(--soft);
}
.s1-chat-seg {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px;
  border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.s1-chat-seg button {
  padding: 6px 4px; border-radius: 999px; border: 0; background: none;
  color: var(--muted); font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.s1-chat-seg button.active { background: rgba(255, 255, 255, .11); color: #fff; }
.s1-chat-search {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line); color: var(--muted); font-size: 13px;
}
.s1-chat-search input { border: 0; background: none; width: 100%; outline: none; font-size: 13px; }
.s1-chat-stories-card {
  padding: 10px 8px 6px; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}
.s1-chat-stories-card .s1-stories-bar { padding: 0; gap: 10px; }
.s1-chat-stories-card .s1-story-tile { width: 64px; font-size: 11px; }
.s1-chat-stories-card .s1-story-ring { width: 52px; height: 52px; }
.s1-chat-filters { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.s1-chat-filters button {
  flex: none; padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04); color: var(--muted); font-size: 11.5px; font-weight: 600; cursor: pointer;
}
.s1-chat-filters button.active { background: rgba(232, 68, 85, .24); border-color: rgba(232, 68, 85, .55); color: #fff; }
.s1-conv-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 16px;
  border: 1px solid transparent; cursor: pointer; text-align: left; width: 100%; background: none;
}
.s1-conv-item.active { background: linear-gradient(90deg, rgba(168, 25, 47, .38), rgba(45, 14, 24, .55)); border-color: rgba(232, 68, 85, .36); }
.s1-conv-hash {
  width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(135deg, #e84455, #a8192f);
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; color: #fff; flex: none;
}
.s1-conv-meta { flex: 1; min-width: 0; }
.s1-conv-meta strong { display: block; font-size: 13.5px; color: #fff; }
.s1-conv-meta small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s1-conv-sec-lbl { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px 4px 2px; }
.s1-chat-self {
  margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}

.s1-chat-center { display: flex; flex-direction: column; min-width: 0; padding: 12px 18px 16px; }
.s1-chat-center-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255, 240, 242, .08);
}
.s1-chat-log {
  flex: 1; display: flex; flex-direction: column; gap: 10px;
  max-height: calc(100vh - 320px); min-height: 320px; overflow-y: auto; padding: 14px 2px;
}
.s1-msg {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px;
  background: rgba(34, 18, 26, .62); border: 1px solid rgba(255, 240, 242, .08);
}
.s1-msg.mine { background: rgba(48, 22, 32, .72); border-color: rgba(232, 68, 85, .24); }
.s1-msg-content { flex: 1; min-width: 0; }
.s1-msg-head { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 4px; font-size: 13px; }
.s1-msg-head time { color: var(--muted); font-size: 11.5px; }
.s1-chat-composer-bar {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 16px;
  border-radius: 999px; background: rgba(34, 16, 24, .88); border: 1px solid rgba(232, 68, 85, .36);
}
.s1-chat-composer-bar input { flex: 1; border: 0; background: none; outline: none; font-size: 14.5px; min-height: 36px; }
.s1-chat-send-circle {
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #e84455, #a8192f); color: #fff; display: grid; place-items: center; flex: none;
}
.s1-chat-composer-foot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); padding: 6px 12px 0; }

.s1-chat-right {
  display: flex; flex-direction: column; gap: 14px; padding: 16px 14px;
  border-left: 1px solid rgba(255, 240, 242, .08); background: rgba(16, 8, 13, .55);
}
.s1-member-row { display: flex; align-items: center; gap: 10px; padding: 5px 4px; }
.s1-member-row strong { font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.s1-member-row small { display: block; font-size: 11.5px; color: var(--muted); }
.s1-my-card {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(160, 140, 255, .34);
  background: linear-gradient(135deg, #2d1854, #141a38 55%, #3a1228);
  padding: 46px 14px 14px;
}
.s1-my-card-bg { position: absolute; inset: 0; opacity: .35; object-fit: cover; width: 100%; height: 100%; }
.s1-my-card-in { position: relative; z-index: 1; }
@media (max-width: 1080px) { .s1-chats-shell { grid-template-columns: 260px minmax(0, 1fr); } .s1-chat-right { display: none; } }
@media (max-width: 760px) {
  .s1-chat-mob-only { display: grid; }
  .s1-chats-shell { grid-template-columns: minmax(0, 1fr); min-height: calc(100dvh - 148px); width: 100%; max-width: 100%; }
  .s1-chat-left, .s1-chat-center, .s1-chat-right { min-width: 0; max-width: 100%; width: 100%; }
  .s1-chat-left { border-right: 0; border-bottom: 0; padding: 12px 12px calc(92px + env(safe-area-inset-bottom, 0px)); }
  .s1-chat-center { padding: 10px 12px calc(92px + env(safe-area-inset-bottom, 0px)); }
  .s1-chat-right { padding: 14px 12px calc(92px + env(safe-area-inset-bottom, 0px)); }
  .s1-chat-stories-card, .s1-chat-seg, .s1-chat-search, .s1-conv-item, .s1-chat-self { min-width: 0; max-width: 100%; }
  .s1-chat-search input, .s1-chat-composer-bar input { min-width: 0; }
  .s1-chat-log { max-height: calc(100dvh - 295px); min-height: 220px; }
  .s1-chat-composer-foot { display: none; }
  .s1-chats-shell[data-mobile-pane="list"] .s1-chat-center,
  .s1-chats-shell[data-mobile-pane="list"] .s1-chat-right { display: none; }
  .s1-chats-shell[data-mobile-pane="room"] .s1-chat-left,
  .s1-chats-shell[data-mobile-pane="room"] .s1-chat-right { display: none; }
  .s1-chats-shell[data-mobile-pane="members"] .s1-chat-left,
  .s1-chats-shell[data-mobile-pane="members"] .s1-chat-center { display: none; }
  .s1-chats-shell[data-mobile-pane="members"] .s1-chat-right { display: flex; border-left: 0; }
}

.s1-input, .s1-textarea, .s1-select { width: 100%; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .055); border: 1px solid var(--line); color: var(--text); }
.s1-textarea { min-height: 86px; resize: vertical; }
.s1-form-row { display: flex; gap: 10px; align-items: center; }

.s1-run-wrap { margin-top: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, #1b0e16, #10080d); padding: 18px; }
.s1-run-canvas { width: 100%; height: 240px; display: block; border-radius: 16px; background: #0c060a; border: 1px solid rgba(255, 255, 255, .08); }
.s1-app-shell { display: flex; flex-direction: column; gap: 12px; }
.s1-app-frame { width: 100%; height: calc(100vh - 200px); min-height: 560px; border: 1px solid var(--line); border-radius: 22px; background: #08060a; }

/* Modals & Toast */
.s1-modal { width: min(560px, calc(100vw - 28px)); max-height: 86vh; padding: 20px; border-radius: 24px; border: 1px solid var(--line-strong); background: #170d13; color: var(--text); box-shadow: 0 32px 80px rgba(0, 0, 0, .75); }
.s1-modal::backdrop { background: rgba(5, 3, 7, .76); backdrop-filter: blur(8px); }
.s1-modal-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.s1-modal-head input { flex: 1; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.s1-icon-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); cursor: pointer; }
.s1-search-results { display: flex; flex-direction: column; gap: 8px; max-height: 56vh; overflow-y: auto; }
.s1-search-hit { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid transparent; cursor: pointer; text-align: left; }
.s1-search-hit:hover { border-color: rgba(232, 68, 85, .45); background: rgba(232, 68, 85, .1); }
.s1-story-modal { width: min(420px, calc(100vw - 20px)); padding: 0; overflow: hidden; }
.s1-story-stage { position: relative; min-height: 560px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; }
.s1-story-bars { display: flex; gap: 5px; }
.s1-story-bars i { flex: 1; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .28); }
.s1-story-bars i.done { background: #fff; }
.s1-story-center { flex: 1; display: grid; place-items: center; text-align: center; padding: 24px 12px; font-size: 22px; font-weight: 700; }
.s1-story-center img { max-height: 360px; border-radius: 18px; }
.s1-story-reacts { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; }
.s1-story-reacts button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .35); font-size: 18px; cursor: pointer; }
.s1-toast { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 60; padding: 11px 18px; border-radius: 999px; background: #26121b; border: 1px solid rgba(232, 68, 85, .5); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 14px 36px rgba(0, 0, 0, .6); }

/* ---------- Mi Cuenta (1:1 live: Admin + Usuario común) ---------- */
.uno-x-account { display: grid; grid-template-columns: minmax(230px, 272px) minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 18px; }
.uno-x-account-nav {
  position: sticky; top: 82px; min-width: 0; display: flex; flex-direction: column; gap: 2px;
  padding: 14px; border-radius: 34px; background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 240, 242, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.uno-x-account-me { display: flex; align-items: center; gap: 12px; padding: 8px 8px 16px; }
.uno-x-account-me img, .uno-x-initial { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.uno-x-initial { display: grid; place-items: center; background: #2a1018; font-weight: 700; }
.uno-x-account-me span { display: flex; flex-direction: column; min-width: 0; }
.uno-x-account-me strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.uno-x-account-me a { font-size: 13px; color: var(--pink); }
.uno-x-nav-group { padding: 10px 14px 4px; font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); opacity: .78; }
.uno-x-account-nav > a {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: #e6d6da; font-size: 14.5px; font-weight: 500; transition: background-color .2s, color .2s;
}
.uno-x-account-nav > a svg { flex: none; opacity: .88; }
.uno-x-account-nav > a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.uno-x-account-nav > a.is-active {
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  color: var(--text); font-weight: 650;
}
.uno-x-account-sep { height: 1px; margin: 10px 14px; background: rgba(255, 255, 255, .07); }
.uno-nav-badge {
  margin-left: auto; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px;
  display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 750;
  background: rgba(255, 255, 255, .09); color: var(--soft); font-variant-numeric: tabular-nums;
}
.uno-nav-badge.is-hot { background: #e84455; color: #fff; box-shadow: 0 0 14px rgba(232, 68, 85, .55); }

.uno-x-account-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.uno-x-account-main > * { scroll-margin-top: 86px; }
.uno-x-account-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 22px 24px; flex-wrap: wrap;
  padding: 28px 30px; border-radius: 38px;
  background: radial-gradient(90% 140% at 100% 0%, rgba(110, 88, 224, .34), transparent 60%), radial-gradient(80% 140% at 0% 100%, rgba(168, 25, 47, .3), transparent 60%), #130b1a;
  border: 1px solid rgba(184, 176, 255, .24);
  box-shadow: 0 24px 52px -28px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.uno-x-account-cover { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.uno-x-account-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .52; }
.uno-x-account-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14, 10, 32, .84) 0%, rgba(16, 10, 34, .48) 48%, rgba(12, 8, 26, .68) 100%);
}
.uno-x-avatar {
  position: relative; width: 96px; height: 96px; border-radius: 50%; padding: 4px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(168, 148, 255, .65), rgba(232, 68, 85, .5));
}
.uno-x-avatar img, .uno-x-avatar .ma-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.uno-x-account-hello { flex: 1; min-width: 240px; }
.uno-x-account-hello h1 {
  font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.5vw, 33px);
  line-height: 1.12; letter-spacing: -.02em; color: #c7ebff; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.uno-x-account-hello .uno-admin-crown { color: #f0be78; display: inline-flex; align-items: center; }
.uno-follow-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 14px; color: var(--soft); }
.uno-follow-stats b { color: #fff; font-weight: 700; margin-right: 4px; }
.uno-profile-joined { margin-top: 6px; font-size: 13px; color: var(--muted); }
.uno-profile-joined b { color: var(--text); font-weight: 600; }
.uno-x-account-hero-actions { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.uno-x-account-hero-actions :is(button, a) {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 650; cursor: pointer;
  border: 1px solid rgba(255, 240, 242, .16); background: rgba(255, 255, 255, .09); color: #fff5f3;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .18s, background-color .18s, border-color .18s;
}
.uno-x-account-hero-actions :is(button, a):hover { background: rgba(255, 255, 255, .17); transform: translateY(-1px); }
.uno-x-account-hero-actions .is-primary {
  background: linear-gradient(180deg, #e05061, #b52f42); border-color: rgba(255, 190, 198, .32);
  box-shadow: 0 10px 26px -12px rgba(232, 68, 85, .8);
}
.uno-x-account-hero-actions .is-copied { background: rgba(46, 204, 113, .22); border-color: rgba(143, 240, 184, .45); color: #aef5cc; }

/* Summary metric cards (4 across + row 2 like live) */
.uno-x-account-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.uno-x-account-card {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 240, 242, .09); color: inherit;
  transition: transform .3s ease, background-color .2s, border-color .2s;
}
.uno-x-account-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .07); }
.uno-x-account-card.is-alert { border-color: rgba(232, 68, 85, .45); background: linear-gradient(180deg, rgba(232, 68, 85, .15), rgba(255, 255, 255, .02)); }
.uno-card-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 6px; background: rgba(255, 255, 255, .07); color: #ff9aa6; }
.uno-card-num { font-family: var(--display); font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: #fff5f3; font-variant-numeric: tabular-nums; }
.uno-x-account-card strong { font-size: 14.5px; margin-top: 2px; color: var(--text); }
.uno-x-account-card > span:last-child { font-size: 12.5px; line-height: 1.4; color: var(--muted); }

/* Profile & Appearance Studio (collapsible) */
.uno-studio {
  padding: 22px 24px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 240, 242, .11); display: flex; flex-direction: column; gap: 16px;
}
.uno-studio-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 240, 242, .08); }
.uno-studio-eyebrow { font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: #f0be78; }
.uno-app-fx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); gap: 10px; }
.uno-app-fx-card {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 7px 7px 10px; border-radius: 16px;
  border: 1px solid rgba(255, 240, 242, .12); background: rgba(255, 255, 255, .04); color: #fff5f3;
  cursor: pointer; text-align: center; transition: border-color .18s, background-color .18s, transform .18s;
}
.uno-app-fx-card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }
.uno-app-fx-card[aria-pressed="true"] { border-color: #ff9aa6; background: rgba(232, 68, 85, .18); box-shadow: 0 0 0 1px rgba(255, 154, 166, .4); }
.uno-app-fx-card strong { font-size: 12px; font-weight: 650; }
.uno-app-fx-thumb { position: relative; display: block; width: 100%; height: 54px; border-radius: 11px; overflow: hidden; border: 1px solid rgba(255, 240, 242, .08); background: linear-gradient(145deg, #1d1016, #0d070b); }
.uno-app-fx-thumb[data-thumb="sakura"] { background: linear-gradient(165deg, #2f1a52, #170d2c 62%, #24122a); }
.uno-app-fx-thumb[data-thumb="arena"] { background: linear-gradient(180deg, #170a0d, #2b0d12 58%, #4a1614); }
.uno-app-fx-thumb[data-thumb="studio"] { background: linear-gradient(135deg, #1c1936, #101c2e 55%, #2a1730); }
.uno-app-fx-thumb[data-thumb="tv"] { background: linear-gradient(160deg, #0a0f38, #140a30 60%, #0b0a22); }

/* Panel de administración (1:1 live) */
.uno-admin-panel {
  padding: 26px; border-radius: 30px; border: 1px solid rgba(255, 240, 242, .09);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
}
.uno-admin-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; align-items: start; margin-bottom: 16px; }
.uno-admin-title-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.uno-admin-title-wrap h2 { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.02em; }
.uno-admin-summary-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: rgba(46, 204, 113, .14); color: #8ff0b8; border: 1px solid rgba(46, 204, 113, .28);
}
.uno-admin-summary-pill.is-hot { background: rgba(232, 68, 85, .2); color: #ffadb7; border-color: rgba(232, 68, 85, .45); }
.uno-admin-refresh {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06); color: var(--soft); display: grid; place-items: center; cursor: pointer;
}
.uno-admin-refresh:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.uno-admin-heading > p { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
.uno-admin-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 10px; flex-wrap: wrap;
  margin-bottom: 18px; padding: 10px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 240, 242, .08);
}
.uno-admin-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.uno-admin-filters button {
  display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 11px; border-radius: 999px;
  border: 1px solid rgba(255, 240, 242, .1); background: rgba(255, 255, 255, .04); color: var(--soft);
  font-size: 12.5px; font-weight: 650; cursor: pointer; white-space: nowrap; transition: background-color .16s, color .16s;
}
.uno-admin-filters button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.uno-admin-filters button span { opacity: .75; font-weight: 700; }
.uno-admin-filters button[aria-pressed="true"] { background: #fff5f3; color: #1a0b10; border-color: transparent; }
.uno-admin-tools-right { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; flex: 1 1 240px; justify-content: flex-end; }
.uno-admin-search {
  flex: 1 1 130px; min-width: 120px; max-width: 185px; min-height: 36px; padding: 0 13px; border-radius: 999px;
  border: 1px solid rgba(255, 240, 242, .12); background: rgba(255, 255, 255, .05); color: #fff5f3; font-size: 13px;
}
.uno-admin-toggle-all {
  min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(255, 240, 242, .14);
  background: rgba(255, 255, 255, .06); color: #fff5f3; font-size: 12.5px; font-weight: 650; cursor: pointer; white-space: nowrap;
}
.uno-admin-toggle-all:hover { background: rgba(255, 255, 255, .13); }
.uno-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.uno-admin-section {
  min-width: 0; border-radius: 22px; border: 1px solid rgba(255, 240, 242, .08);
  background: rgba(255, 255, 255, .03); transition: border-color .18s, background-color .18s;
}
.uno-admin-section[open] { grid-column: 1 / -1; }
.uno-admin-section.has-pending {
  border-color: rgba(232, 68, 85, .48);
  background: linear-gradient(90deg, rgba(232, 68, 85, .14), rgba(255, 255, 255, .025) 48%);
}
.uno-admin-section > summary {
  padding: 16px 18px; cursor: pointer; font-size: 14.5px; font-weight: 650; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.uno-admin-section > summary::-webkit-details-marker { display: none; }
.uno-admin-caret { color: var(--hot); font-size: 10px; line-height: 1; transition: transform .2s; display: inline-block; width: fit-content; }
.uno-admin-section[open] .uno-admin-caret { transform: rotate(90deg); }
.uno-admin-sum-row { display: flex; align-items: center; gap: 10px; width: 100%; }
.uno-admin-ico { flex: none; color: #ff9aa6; opacity: .92; }
.uno-admin-count {
  margin-left: auto; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px;
  display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: rgba(232, 68, 85, .14); border: 1px solid rgba(255, 240, 242, .1); color: var(--soft);
}
.uno-admin-count.is-hot { background: #e84455; border-color: transparent; color: #fff; box-shadow: 0 0 14px rgba(232, 68, 85, .55); }
.uno-admin-body { padding: 4px 18px 18px; border-top: 1px solid rgba(255, 240, 242, .06); display: flex; flex-direction: column; gap: 10px; }
.uno-admin-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 240, 242, .07);
}

/* Suscripción PRO / MAX (1:1 live) */
.uno-x-plus {
  padding: 26px; border-radius: 34px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(224, 162, 78, .18), transparent 60%), rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 240, 242, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.uno-x-plus-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.uno-x-plus-icon {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(240, 190, 120, .14); color: #f2c879; font-size: 22px;
}
.uno-x-plus-now { flex: 1; min-width: 200px; }
.uno-x-plus-now h2 { font-family: var(--display); font-weight: 800; font-size: 22px; }
.uno-x-plus-now p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.uno-x-plus-now strong { color: #ffe4b7; }
.uno-x-plus-plans { display: grid; gap: 10px; margin-top: 18px; }
.uno-x-plus-plan { border-radius: 22px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(239, 187, 101, .2); }
.uno-x-plus-plan.is-max { box-shadow: inset 0 0 0 1px rgba(245, 196, 105, .38); }
.uno-x-plus-plan > summary {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px; cursor: pointer; list-style: none;
}
.uno-x-plus-plan > summary::-webkit-details-marker { display: none; }
.uno-x-plus-plan > summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-left: 4px;
  border-right: 2px solid #e7c99d; border-bottom: 2px solid #e7c99d; opacity: .75;
  transform: translateY(-2px) rotate(45deg); transition: transform .25s;
}
.uno-x-plus-plan[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.uno-x-plus-name { font-weight: 750; color: #ffe4b7; font-size: 14.5px; }
.uno-x-plus-price { margin-left: auto; color: #e7c99d; font-size: 14px; font-weight: 650; white-space: nowrap; }
.uno-x-plus-body { padding: 0 20px 18px; color: var(--soft); font-size: 14px; display: flex; flex-direction: column; gap: 10px; }

/* Visitor Preview Dialog */
.uno-vp-dialog { width: min(640px, calc(100vw - 24px)); padding: 0; overflow: hidden; }
.uno-vp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid rgba(255, 240, 242, .09); }
.uno-vp-stage { padding: 22px; background: radial-gradient(600px 280px at 50% 0%, rgba(232, 68, 85, .12), transparent 70%); }

/* Temas animados MAX (uno-fx.js) */
[data-uno-fx] { position: relative; isolation: isolate; }
.uno-fx-layer {
  display: block !important; position: absolute !important; inset: 0 !important; z-index: 1 !important;
  overflow: hidden; border-radius: inherit; pointer-events: none; contain: strict; transform: translateZ(0);
}
.uno-fx-layer > i, .uno-fx-layer > canvas { position: absolute; inset: 0; display: block; margin: 0; pointer-events: none; border-radius: inherit; }
.uno-fx-layer > canvas { width: 100%; height: 100%; opacity: 0; transition: opacity .7s ease; }
.uno-fx-layer.is-live > canvas { opacity: 1; }
.uno-x-account-hero[data-uno-fx] > :not(.uno-x-account-cover):not(.uno-fx-layer),
.s1-my-card[data-uno-fx] > :not(.s1-my-card-bg):not(.uno-fx-layer) { position: relative; z-index: 3; }
.uno-x-account-hero[data-uno-fx] > .uno-x-account-cover,
.s1-my-card[data-uno-fx] > .s1-my-card-bg { position: absolute; inset: 0; z-index: 0; }
.uno-fx-layer[data-fx="sakura"] > .uno-fx-sky { background: radial-gradient(44% 62% at 10% 6%, rgba(255, 170, 210, .22), transparent 70%), radial-gradient(38% 54% at 93% 12%, rgba(255, 204, 138, .18), transparent 68%), linear-gradient(180deg, rgba(44, 24, 84, .36), rgba(22, 12, 44, .08) 64%, transparent); }
.uno-fx-layer[data-fx="arena"] > .uno-fx-sky { background: radial-gradient(92% 64% at 50% 120%, rgba(255, 96, 58, .46), rgba(232, 68, 85, .18) 46%, transparent 72%); }
.uno-fx-layer[data-fx="studio"] > .uno-fx-sky { background: linear-gradient(115deg, transparent 6%, rgba(228, 206, 255, .28) 25%, rgba(159, 232, 255, .2) 50%, rgba(255, 179, 217, .2) 75%, transparent 92%); }
.uno-fx-layer[data-fx="tv"] > .uno-fx-sky { background: radial-gradient(74% 64% at 50% -14%, rgba(72, 84, 196, .34), transparent 70%), radial-gradient(54% 46% at 4% 106%, rgba(150, 70, 200, .24), transparent 70%), radial-gradient(46% 42% at 98% 96%, rgba(40, 130, 200, .18), transparent 70%), linear-gradient(180deg, rgba(8, 10, 40, .5), rgba(14, 8, 36, .2) 70%, rgba(10, 6, 28, .1)); }
.uno-fx-layer[data-fx="tv"] > .uno-fx-rim { box-shadow: inset 0 0 0 1px rgba(184, 176, 255, .22), inset 0 0 46px -14px rgba(96, 70, 220, .55); }
[data-uno-avatar-fx] { position: relative; overflow: visible !important; isolation: isolate; }
.uno-avatar-fx-layer { display: block !important; position: absolute !important; inset: -26% !important; z-index: 2 !important; pointer-events: none; overflow: visible; transform: translateZ(0); }
.uno-avatar-fx-layer > canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .5s ease; }
.uno-avatar-fx-layer.is-live > canvas { opacity: 1; }
.uno-x-avatar[data-uno-avatar-fx] { background: #140a1e !important; }

/* ---------- SHOGANA1 TV (1:1 live uno-tv7.css) ---------- */
.tx { container-type: inline-size; container-name: tv; position: relative; }
.tx-main { max-width: 1240px; margin-inline: auto; padding: 0 var(--gutter) 44px; }
.tx-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tx-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.tx-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tx-kicker { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--soft); }
.tx-by { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--text); }
.tx-initial { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--amber); color: #1a0b10; font-family: var(--display); font-size: 12px; font-weight: 800; object-fit: cover; }
.tx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .07); color: var(--text); font-size: 14.5px; font-weight: 700;
  white-space: nowrap; cursor: pointer; transition: background-color .18s, transform .18s;
}
.tx-btn:hover { background: rgba(255, 255, 255, .14); transform: translateY(-1px); }
.tx-btn-main { border-color: transparent; background: var(--red); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 16px 30px -16px rgba(232, 68, 85, .9); }
.tx-btn-main:hover { background: #c22038; }
.tx-btn .tx-ico { width: 18px; height: 18px; }
.tx-btn-main .tx-ico { fill: currentColor; stroke: none; }
.tx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-top: 28px; }
.tx-head h1 { margin-top: 6px; font-family: var(--display); font-size: clamp(30px, 4vw, 50px); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.tx-head-side { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tx-count { font-size: 14.5px; color: var(--soft); }
.tx-count b { color: var(--text); font-weight: 700; }
.tx-seal { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(224, 162, 78, .13); color: #f0be78; font-size: 13px; font-weight: 700; }
.tx-seal .tx-ico { width: 17px; height: 17px; }

.tx-hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 430px;
  margin-top: 22px; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); background: var(--surface);
}
.tx-hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 6, 10, .97) 0%, rgba(8, 6, 10, .88) 32%, rgba(8, 6, 10, .28) 64%, rgba(8, 6, 10, .44) 100%), linear-gradient(0deg, rgba(8, 6, 10, .86), transparent 50%);
}
.tx-hero-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 640px; padding: 42px 46px; }
.tx-hero h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 52px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.tx-hero-eps { position: absolute; right: 28px; bottom: 28px; display: flex; gap: 10px; }
.tx-hero-eps a { position: relative; display: block; width: 132px; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface-2); }
.tx-hero-eps img { width: 100%; height: 100%; object-fit: cover; }
.tx-hero-eps b { position: absolute; left: 6px; bottom: 6px; min-width: 24px; padding: 2px 7px; border-radius: 999px; background: rgba(8, 6, 10, .86); font-size: 12px; font-weight: 700; text-align: center; }

.tx-filter { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 26px; }
.tx-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tx-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .045); color: var(--soft);
  font-size: 14.5px; font-weight: 600; cursor: pointer; transition: border-color .16s, color .16s, background-color .16s;
}
.tx-chip:hover { border-color: var(--line-strong); color: var(--text); }
.tx-chip span { color: var(--muted); font-weight: 500; }
.tx-chip[aria-current="true"] { border-color: transparent; background: var(--text); color: #1a0b10; }
.tx-chip[aria-current="true"] span { color: #5a3a44; }
.tx-find {
  display: flex; align-items: center; gap: 10px; flex: 0 1 320px; min-height: 46px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .045); color: var(--muted);
}
.tx-find:focus-within { border-color: rgba(255, 154, 166, .55); box-shadow: 0 0 0 3px rgba(232, 68, 85, .16); }
.tx-find input { flex: 1; min-width: 0; height: 42px; border: 0; background: none; outline: none; font-size: 15px; color: var(--text); }
.tx-find input::placeholder { color: var(--muted); opacity: 1; }

.tx-row { margin-top: 40px; }
.tx-row-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.tx-row-head h2 { font-family: var(--display); font-size: clamp(21px, 2vw, 27px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
.tx-row-head span { font-size: 14px; color: var(--muted); }
.tx-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 18px; }
.tx-card a { display: block; border-radius: 18px; }
.tx-thumb { position: relative; display: block; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.tx-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.tx-card a:hover .tx-thumb img { transform: scale(1.045); }
.tx-card a:hover h3 { color: var(--pink); }
.tx-meta { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 9px; border-radius: 999px; background: rgba(8, 6, 10, .86); font-size: 12px; font-weight: 700; color: #fff; }
.tx-meta .tx-ico { width: 13px; height: 13px; }
.tx-card h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 40px; margin-top: 11px; font-size: 15px; font-weight: 700; line-height: 1.29; overflow-wrap: anywhere; transition: color .15s; }
.tx-card p { margin-top: 4px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tx-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; margin-top: 40px; }
.tx-split .tx-row { margin-top: 0; }
.tx-split .tx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tx-catalog.is-filtered .tx-hero { display: none; }
.tx-catalog.is-filtered .tx-split { grid-template-columns: minmax(0, 1fr); }
.tx-catalog.is-filtered .tx-split .tx-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tx-cine {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
  min-height: 216px; padding: 26px 30px; border-radius: 24px; border: 1px solid rgba(232, 68, 85, .34);
  background: radial-gradient(120% 160% at 100% 0%, rgba(168, 25, 47, .5), transparent 60%), var(--surface-2);
}
.tx-cine h3 { font-family: var(--display); font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.tx-cine p { font-size: 14.5px; color: var(--soft); }
.tx-cine p b { color: var(--text); }
.tx-cine .tx-btn { margin-top: 8px; }
.tx-propose {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
  margin-top: 48px; padding: 26px 30px; border-radius: 24px;
  border: 1px dashed rgba(240, 190, 120, .42); background: rgba(224, 162, 78, .06);
}
.tx-propose h2 { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.tx-propose p { margin-top: 4px; max-width: 62ch; font-size: 14.5px; color: var(--soft); }

/* Watch Room (YouTube click-to-play + episode list) */
.tx-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; color: var(--soft); font-size: 14.5px; font-weight: 600; }
.tx-back:hover { color: #fff; }
.tx-room-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 26px; align-items: start; margin-top: 8px; }
.tx-player { position: relative; aspect-ratio: 16/9; border-radius: 24px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.tx-player > img { width: 100%; height: 100%; object-fit: cover; }
.tx-player::after { content: ""; position: absolute; inset: 0; background: rgba(8, 6, 10, .28); pointer-events: none; }
.tx-player.is-playing::after { display: none; }
.tx-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.tx-bigplay {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; width: 88px; height: 88px;
  margin: auto; padding: 0; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer;
  box-shadow: 0 0 0 10px rgba(168, 25, 47, .28), 0 24px 40px -14px #000; transition: transform .18s, background-color .18s;
}
.tx-bigplay:hover { transform: scale(1.06); background: #c22038; }
.tx-bigplay svg { width: 32px; height: 32px; margin-left: 4px; fill: currentColor; }
.tx-info { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; }
.tx-info h1 { font-family: var(--display); font-size: clamp(22px, 2.5vw, 34px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.tx-ep-title { max-width: 70ch; font-size: 15px; color: var(--soft); }
.tx-info-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; width: 100%; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.tx-playlist { padding: 18px; border-radius: 24px; border: 1px solid var(--line); background: rgba(19, 11, 15, .86); }
.tx-playlist h2 { display: flex; align-items: baseline; gap: 10px; padding: 2px 6px 12px; font-family: var(--display); font-size: 18px; font-weight: 700; }
.tx-playlist h2 span { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--muted); }
.tx-playlist ol { display: flex; flex-direction: column; gap: 4px; list-style: none; max-height: 520px; overflow-y: auto; }
.tx-ep {
  display: grid; grid-template-columns: 22px 118px minmax(0, 1fr); align-items: center; gap: 12px;
  padding: 8px; border-radius: 16px; border: 1px solid transparent; cursor: pointer; text-align: left; background: none; width: 100%;
}
.tx-ep.is-plain { grid-template-columns: 118px minmax(0, 1fr); }
.tx-ep:hover { background: rgba(255, 255, 255, .05); }
.tx-ep > b { font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; }
.tx-ep > img { width: 118px; height: 66px; aspect-ratio: 16/9; border-radius: 10px; object-fit: cover; background: var(--surface-2); flex: none; }
.tx-ep strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.tx-ep small { display: none; margin-top: 3px; font-size: 12px; font-weight: 700; color: var(--pink); }
.tx-ep em { display: block; margin-top: 3px; font-style: normal; font-size: 12px; color: var(--muted); }
.tx-ep[aria-current="true"] { border-color: rgba(232, 68, 85, .42); background: rgba(232, 68, 85, .13); }
.tx-ep[aria-current="true"] > b { color: var(--pink); }
.tx-ep[aria-current="true"] small { display: block; }
.tx-room .tx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (prefers-reduced-motion: no-preference) {
  .sx-jul-fg { animation: sx-float 6.5s ease-in-out infinite; }
  .sx-jul-frame::after { animation: sx-sheen 7s ease-in-out infinite; }
  .sx-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: sx-ping 2.4s ease-out infinite; }
  @keyframes sx-float { 50% { translate: 0 -8px; } }
  @keyframes sx-sheen { 0%, 55% { background-position: 120% 0; } 100% { background-position: -60% 0; } }
  @keyframes sx-ping { to { transform: scale(2.8); opacity: 0; } }
}

@media (max-width: 1000px) {
  .sx-now, .sx-event { grid-template-columns: 1fr; }
  .sx-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-masonry { columns: 4; }
  .sx-artists, .sx-comms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-play { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-tv { grid-column: 1 / -1; }
  .sx-tools { grid-template-columns: 1fr; }
  .sx-foot-grid { grid-template-columns: 1fr; }
  .s1-forum-layout, .s1-chats-layout { grid-template-columns: 1fr; }
  .uno-x-account { grid-template-columns: 1fr; }
  .uno-x-account-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; border-radius: 999px; padding: 6px; }
  .uno-x-account-me, .uno-x-nav-group, .uno-x-account-sep { display: none; }
  .uno-x-account-nav > a { flex: none; white-space: nowrap; }
  .uno-x-account-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uno-admin-grid { grid-template-columns: 1fr; }
  .tx-grid, .tx-catalog.is-filtered .tx-split .tx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tx-split, .tx-room-grid { grid-template-columns: 1fr; }
  .tx-hero-eps { display: none; }
}
@media (max-width: 640px) {
  .tx-hero { flex-direction: column; align-items: stretch; min-height: 0; border-radius: 24px; }
  .tx-hero-art { position: static; height: auto; aspect-ratio: 16/9; }
  .tx-hero::before { display: none; }
  .tx-hero-body { padding: 18px 18px 20px; max-width: none; }
  .tx-filter { gap: 10px; }
  .tx-find { flex: 1 1 100%; }
  .tx-grid, .tx-split .tx-grid, .tx-catalog.is-filtered .tx-split .tx-grid, .tx-room .tx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }

  /* P5: Crisp single-row mobile header matching WordPress uno-redesign.css:948-965 */
  .sx-top-in { min-height: 58px; gap: 6px; flex-wrap: nowrap; }
  .sx-brand { flex: 1 1 auto; min-width: 0; font-size: 11px; gap: 6px; }
  .sx-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sx-skull { width: 22px; height: 24px; }
  .sx-search span, .sx-search kbd, .sx-only-d { display: none; }
  .sx-only-m { display: inline; }
  .sx-search { flex: none; width: 38px; min-width: 38px; height: 38px; min-height: 38px; padding: 0; justify-content: center; margin-left: 0; }
  .sx-head-tools { flex: none; margin-left: 0; gap: 5px; }
  .sx-head-tools .sx-pill { min-width: 38px; min-height: 38px; height: 38px; padding: 0 9px; font-size: 11px; }
  .sx-head-tools .sx-pill-icon, #s1-radio-btn { width: 38px; padding: 0; }
  #s1-guest-login { min-height: 38px; height: 38px; padding: 0 13px; font-size: 12.5px; }

  /* P5: Hero typography, balanced buttons, aligned proof bar & Jul mascot matching uno-landing.css:319-325 */
  .sx-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 14px 18px; }
  .sx-h1 { font-size: clamp(30px, 8.2vw, 38px); line-height: 1.05; }
  .sx-lead { margin-top: 12px; font-size: 15.5px; }
  .sx-actions { margin-top: 16px; gap: 10px; }
  .sx-actions .sx-btn { flex: 1 1 150px; min-height: 46px; padding: 0 16px; font-size: 14.5px; }
  .sx-proof { gap: 8px 12px; font-size: 13.5px; margin-top: 14px; }
  .sx-proof .sx-dot { margin-left: 3px; }
  .sx-jul { width: min(100%, 315px); }
  .sx-jul-frame, .sx-jul-art { border-radius: 28px; }
  .sx-jul-art { clip-path: inset(4% 5% 9% 9% round 28px); }

  /* P5: Portals, carousels & grids */
  .sx-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); gap: 10px; padding-bottom: 6px; }
  .sx-rail a { flex: 0 0 150px; scroll-snap-align: start; }
  .sx-links { grid-template-columns: 1fr; }
  .sx-masonry { columns: 2; column-gap: 10px; }
  .sx-play, .sx-artists, .sx-comms, .s1-grid-2, .s1-grid-3 { grid-template-columns: 1fr; }
  .sx-tools { grid-template-columns: 1fr; }
  .sx-cloud { flex-wrap: wrap; }
  .sx-head { flex-wrap: wrap; gap: 10px; }
  .sx-head .sx-btn { width: 100%; }

  /* P5: Subpages, account, admin & forms safe at 360/390/430 px */
  .uno-x-account-hero { padding: 20px 16px; }
  .uno-x-account-cards { grid-template-columns: 1fr; }
  .uno-admin-toolbar, .uno-admin-tools-right, .uno-admin-item { flex-direction: column; align-items: stretch; }
  .uno-admin-tools-right { flex: 0 0 auto; width: 100%; }
  .uno-admin-search { width: 100%; flex: 0 0 auto; height: 42px; min-height: 42px; }
  .s1-ap-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s1-form-row { flex-wrap: wrap; }
  .s1-app-frame { height: calc(100dvh - 190px); min-height: 420px; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="color"]), textarea, select { font-size: 16px; }

  /* P5 + 1.3.3: Floating Liquid Glass dock & bottom safe-area clearance */
  .sx-dockwrap { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .sx-dock { width: calc(100vw - 16px); max-width: 420px; padding: 5px 4px; gap: 1px; }
  .sx-dock-lens { top: 5px; height: calc(100% - 10px); }
  .sx-dock a { flex: 1 1 0; width: auto; min-width: 0; max-width: none; height: 50px; font-size: 9px; padding: 4px 1px; gap: 2px; }
}

@media (max-width: 410px) {
  .sx-top-in { gap: 4px; }
  .sx-brand { font-size: 10px; gap: 5px; }
  .sx-skull { width: 20px; height: 22px; }
  .sx-head-tools { gap: 4px; }
  .sx-search, .sx-head-tools .sx-pill-icon, #s1-radio-btn { width: 34px; min-width: 34px; height: 34px; min-height: 34px; padding: 0; }
  #s1-lang-btn { min-width: 34px; height: 34px; min-height: 34px; padding: 0 7px; font-size: 10.5px; }
  #s1-guest-login { min-height: 34px; height: 34px; padding: 0 11px; font-size: 12px; }
  .sx-faces img { width: 28px; height: 28px; margin-left: -8px; }
  .sx-proof { gap: 6px 10px; font-size: 13px; }
}

/* =========================================================================
 * P4: Original WordPress Access Card (`auth-provider.css` + Ultimate Member)
 * ========================================================================= */
.s1-auth-wrap { padding-block: clamp(20px, 4vw, 44px) 24px; }
.uno-auth-card {
  width: 100%; max-width: 540px; margin: 0 auto; padding: 28px;
  color: var(--text, #fff5f3);
  background: rgba(32, 12, 17, .68);
  border: 1px solid rgba(255, 235, 238, .2);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .75);
}
.ma-provider { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.ma-provider-title { font-family: var(--display); font-size: clamp(22px, 3vw, 28px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.ma-provider-sub { font-size: 14.5px; color: var(--soft); line-height: 1.55; }
.ma-provider-notice { padding: 16px; line-height: 1.6; background: #241218; border: 1px solid rgba(255, 235, 238, .18); border-radius: 16px; font-size: 14.5px; color: var(--text); }
.ma-provider-error { padding: 13px 16px; line-height: 1.5; background: rgba(232, 68, 85, .18); border: 1px solid rgba(232, 68, 85, .55); border-radius: 12px; font-size: 14px; color: #ffd7dc; }
.um-form { display: flex; flex-direction: column; gap: 14px; }
.um-field { display: flex; flex-direction: column; gap: 6px; }
.um-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.um-field-label { font-size: 14px; font-weight: 600; color: #fff5f3; }
.um-field-area input {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 8px;
  border: 1px solid rgba(255, 235, 238, .28); background: #fff5f3; color: #241218;
  font-size: 16px; outline: none;
}
.um-field-area input:focus { border-color: #e84455; box-shadow: 0 0 0 3px rgba(232, 68, 85, .28); }
.um-field-checkbox { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #fff5f3; cursor: pointer; user-select: none; }
.um-field-checkbox input { width: 18px; height: 18px; accent-color: #e84455; }
.um-col-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.um-actions-single { margin-top: 4px; }
.um-button {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 20px;
  border-radius: 999px; border: 0;
  background: linear-gradient(180deg, #e05061, #a8192f);
  color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: filter .18s, background-color .18s;
}
.um-button:hover { filter: brightness(1.06); }
.um-button.um-alt {
  background: rgba(255, 255, 255, .08); color: #fff5f3;
  border: 1px solid rgba(255, 235, 238, .22); box-shadow: none;
}
.um-button.um-alt:hover { background: rgba(255, 255, 255, .15); filter: none; }
.um-link-center { display: flex; justify-content: center; margin-top: 2px; }
.um-link-alt { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; color: #d7d3ce; font-size: 14px; }
.um-link-alt:hover { color: #fff; text-decoration: underline; }
.ma-provider nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 4px; font-size: 14px; }
.ma-provider nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: #d7d3ce; transition: background-color .18s, color .18s; }
.ma-provider nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
@media (max-width: 480px) {
  .uno-auth-card { padding: 20px 16px; border-radius: 20px; }
  .um-row-2, .um-col-2 { grid-template-columns: 1fr; }
}


/* =========================================================================
 * P2c: SHOGANA1 Apariencia MAX (1.0.4) — Scoped Profile, Artist Card & Chat Styles
 * ========================================================================= */
.s1-msg[data-appearance-tier]:not([data-appearance-tier="free"]),
.sx-artist[data-appearance-tier]:not([data-appearance-tier="free"]),
.s1-artist-profile-card[data-appearance-tier]:not([data-appearance-tier="free"]),
.uno-x-account-hero[data-appearance-tier]:not([data-appearance-tier="free"]) {
  background: linear-gradient(135deg, var(--ap-bg), var(--ap-end));
  border-color: var(--ap-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.s1-msg[data-appearance-tier]:not([data-appearance-tier="free"]) {
  border: 1px solid var(--ap-border);
  border-radius: 16px;
  padding: 10px 14px;
}
.s1-msg[data-appearance-tier]:not([data-appearance-tier="free"]) .s1-msg-head strong,
.sx-artist[data-appearance-tier]:not([data-appearance-tier="free"]) strong,
.s1-artist-profile-card[data-appearance-tier]:not([data-appearance-tier="free"]) .s1-h2,
.uno-x-account-hero[data-appearance-tier]:not([data-appearance-tier="free"]) h1 {
  color: var(--ap-accent);
}
[data-appearance-frame] :is(.s1-ava, .sx-artist-av, .uno-x-avatar) {
  outline: 2px solid var(--ap-border);
  outline-offset: 2px;
}
[data-appearance-frame="double"] :is(.s1-ava, .sx-artist-av, .uno-x-avatar) {
  outline: 3px double var(--ap-border);
  outline-offset: 3px;
}
[data-appearance-frame="neon"] :is(.s1-ava, .sx-artist-av, .uno-x-avatar) {
  outline: 2px solid var(--ap-border);
  box-shadow: 0 0 12px color-mix(in srgb, var(--ap-border) 42%, transparent);
}
[data-appearance-frame="glass"] :is(.s1-ava, .sx-artist-av, .uno-x-avatar) {
  outline: 2px solid color-mix(in srgb, var(--ap-border) 60%, white);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ap-border) 18%, transparent), inset 0 1px 0 rgba(255, 255, 255, .38);
}
.s1-ap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.s1-ap-colors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.s1-ap-colors label { display: grid; gap: 4px; font-size: 12px; color: var(--soft); }
.s1-ap-colors input[type="color"] { width: 100%; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: #1b101a; padding: 2px; cursor: pointer; }

/* ===== 1.0.6 · Perfil público de artista (paridad con .uno-x-profile / .uno-portfolio del sitio original) ===== */
.s1-pf-wrap { padding-top: 24px; }
.s1-pf-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; color: var(--soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.s1-pf-back:hover { color: var(--text); }
.s1-pf { margin: 8px 0 40px; }
.s1-pf-cover { border-radius: 32px; overflow: hidden; background: #1a0f14; }
.s1-pf-cover img, .s1-pf-cover-empty { display: block; width: 100%; height: clamp(180px, 24vw, 340px); object-fit: cover; }
.s1-pf-cover-empty { background: radial-gradient(120% 140% at 0% 0%, rgba(168, 25, 47, .55), transparent 60%), radial-gradient(100% 120% at 100% 100%, rgba(199, 57, 116, .3), transparent 60%), #1a0f14; }
.s1-pf-identity { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: -64px; padding: 0 clamp(12px, 2vw, 36px); position: relative; z-index: 2; }
.s1-pf-identity .s1-pf-avatar { flex: none; width: 148px; height: 148px; padding: 5px; border-radius: 50%; background: var(--bg); box-shadow: 0 8px 30px rgba(0, 0, 0, .45); }
.s1-pf-avatar.is-max { background: linear-gradient(135deg, #f0be78, #e84455); }
.s1-pf-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 5px #0b070a; }
.s1-pf-initial { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #1a0b10; font-size: 42px; font-weight: 700; color: var(--soft); }
.s1-pf-text { flex: 1; min-width: 240px; padding-bottom: 6px; }
.s1-pf-text h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0; font-family: "Unbounded"; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; overflow-wrap: anywhere; color: var(--ap-accent, var(--text)); }
.s1-pf-text h1 .uno-admin-crown { color: #f0be78; display: inline-flex; }
.s1-pf-plan { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: var(--text); font: 700 11px/1 system-ui, sans-serif; letter-spacing: .08em; }
.s1-pf-plan.is-max { background: linear-gradient(135deg, #f0be78, #e84455); color: #1a0b10; }
.s1-pf-stats { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 0; padding: 0; }
.s1-pf-stats > div { display: flex; flex-direction: row-reverse; align-items: baseline; gap: 6px; }
.s1-pf-stats dt { font-size: 14px; color: var(--soft); }
.s1-pf-stats dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--text); }
.s1-pf-joined { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.s1-pf-joined time { color: var(--text); font-weight: 500; }
.s1-pf-bio { margin: 12px 0 0; max-width: 68ch; font-size: 15px; line-height: 1.7; color: var(--soft); white-space: pre-line; overflow-wrap: anywhere; }
.s1-pf-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.s1-pf-social { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface-3); color: var(--text); text-decoration: none; transition: background .2s; }
.s1-pf-social:hover { background: rgba(220, 41, 72, .28); }
.s1-pf-social:focus-visible, .s1-pf-btn:focus-visible, .s1-pf-menu > summary:focus-visible { outline: 2px solid #e9ad50; outline-offset: 3px; }
.s1-pf-actions { position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 8px; }
.s1-pf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--surface-3); color: var(--text); font: 650 14px/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer; }
.s1-pf-btn.is-primary { background: var(--red); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.s1-pf-btn.is-light { background: var(--text); color: #1a0b10; }
.s1-pf-btn.is-on { background: rgba(220, 41, 72, .22); }
.s1-pf-btn:hover { filter: brightness(1.12); }
.s1-pf-btn:disabled { opacity: .6; cursor: default; }
.s1-pf-menu { position: relative; }
.s1-pf-menu > summary { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface-3); color: var(--text); list-style: none; cursor: pointer; }
.s1-pf-menu > summary::-webkit-details-marker { display: none; }
.s1-pf-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 230px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9); }
.s1-pf-menu-panel button { display: block; width: 100%; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 12px; background: none; color: var(--text); font: 600 14px/1.4 inherit; font-family: inherit; text-align: left; cursor: pointer; }
.s1-pf-menu-panel button:hover { background: rgba(255, 255, 255, .08); }
.s1-pf-portfolio { margin: 40px 0 0; }
.s1-pf-portfolio > header { margin-bottom: 24px; }
.s1-pf-portfolio h2 { display: table; margin: 0; padding: 10px 20px; border: 1px solid rgba(255, 240, 242, .2); border-radius: 999px; background: linear-gradient(135deg, rgba(168, 25, 47, .28), rgba(255, 255, 255, .04)); font-size: clamp(18px, 2vw, 22px); }
.s1-pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
.s1-pf-work { min-width: 0; }
.s1-pf-work-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.s1-pf-work-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
a.s1-pf-work-img:hover { border-color: rgba(255, 240, 242, .45); }
.s1-pf-work-body { padding: 12px 2px 0; min-width: 0; }
.s1-pf-work-body h3 { margin: 0; font-size: 18px; font-weight: 650; line-height: 1.4; letter-spacing: -.025em; overflow-wrap: anywhere; }
.s1-pf-work-body p { margin: 7px 0 0; font-size: 13px; line-height: 1.7; color: var(--soft); white-space: pre-line; overflow-wrap: anywhere; }
.s1-pf-work-meta { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.s1-pf-like { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--text); font: 700 13px/1 inherit; font-family: inherit; cursor: pointer; }
.s1-pf-like svg { fill: none; stroke: currentColor; stroke-width: 2; }
.s1-pf-like.is-on { background: rgba(232, 68, 85, .38); }
.s1-pf-like.is-on svg { fill: var(--hot); stroke: var(--hot); }
.s1-pf-empty { grid-column: 1 / -1; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .04); font-size: 14px; line-height: 1.7; color: var(--soft); }
.s1-pf-pages { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.s1-pf-pages button { min-width: 44px; min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--text); font: 600 13px/1.4 inherit; font-family: inherit; cursor: pointer; }
.s1-pf-pages [aria-current] { color: #e9ad50; border-color: #e9ad50; }
@media (max-width: 1050px) { .s1-pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .s1-pf-cover { border-radius: 22px; }
  .s1-pf-cover img, .s1-pf-cover-empty { height: auto; aspect-ratio: 3 / 1; min-height: 120px; }
  .s1-pf-identity { margin-top: -48px; gap: 12px; padding: 0 12px; }
  .s1-pf-identity .s1-pf-avatar { width: 112px; height: 112px; }
  .s1-pf-text { flex-basis: 100%; min-width: 0; }
  .s1-pf-actions { flex-basis: 100%; }
  .s1-pf-btn { flex: 1 1 auto; min-height: 48px; padding: 0 16px; }
  .s1-pf-menu > summary { width: 48px; height: 48px; }
  .s1-pf-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
/* 1.0.6.1 · El nombre y las acciones quedan siempre debajo de la portada; solo la foto la pisa. */
.s1-pf-identity { align-items: flex-start; }
.s1-pf-text { padding-top: 76px; }
.s1-pf-actions { padding-top: 78px; padding-bottom: 0; }
@media (max-width: 650px) { .s1-pf-text { padding-top: 0; } .s1-pf-actions { padding-top: 0; } }

/* ===== 1.0.7 · Notificaciones y moderación de conversaciones ===== */
#s1-notif-btn { position: relative; }
#s1-notif-btn .s1-notif-dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--hot); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1; }
#s1-notif-modal { width: min(520px, calc(100vw - 24px)); }
#s1-notif-body { max-height: min(70vh, 640px); overflow-y: auto; }
.s1-nt-list { display: flex; flex-direction: column; gap: 6px; }
.s1-nt-item { display: flex; align-items: stretch; gap: 4px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .03); }
.s1-nt-item.is-unread { border-color: rgba(232, 68, 85, .45); background: rgba(168, 25, 47, .12); }
.s1-nt-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; border-radius: 16px; }
.s1-nt-open:hover { background: rgba(255, 255, 255, .05); }
.s1-nt-av { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface-3); font-weight: 700; color: var(--soft); }
.s1-nt-av img { width: 100%; height: 100%; object-fit: cover; }
.s1-nt-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.s1-nt-text strong { font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.s1-nt-text small { font-size: 12px; color: var(--muted); }
.s1-nt-unread { flex: none; width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: var(--hot); }
.s1-nt-x { flex: none; width: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 0 16px 16px 0; }
.s1-nt-x:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.s1-nt-more { align-self: center; margin-top: 6px; }
.s1-adm-note { margin: 0; padding: 8px 0; color: var(--muted); font-size: 13.5px; }
.s1-adm-dm { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: 12px; margin-top: 8px; }
.s1-adm-list { display: flex; flex-direction: column; gap: 6px; max-height: 520px; overflow-y: auto; }
.s1-adm-conv { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.s1-adm-conv:hover, .s1-adm-conv.is-active { border-color: rgba(232, 68, 85, .5); background: rgba(168, 25, 47, .14); }
.s1-adm-avs { flex: none; display: flex; }
.s1-adm-avs > * { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--surface-3); border: 2px solid var(--surface); font-size: 12px; font-weight: 700; }
.s1-adm-avs > * + * { margin-left: -10px; }
.s1-adm-conv-text { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.s1-adm-conv-text strong { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s1-adm-conv-text small { font-size: 12px; color: var(--muted); }
.s1-adm-reader { min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: rgba(0, 0, 0, .2); }
.s1-adm-reader-head { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.s1-adm-msgs { display: flex; flex-direction: column; gap: 8px; max-height: 460px; overflow-y: auto; }
.s1-adm-msg { padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.s1-adm-msg.is-reported { box-shadow: inset 3px 0 0 var(--hot); }
.s1-adm-msg.is-removed p { color: var(--muted); text-decoration: line-through; }
.s1-adm-msg-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.s1-adm-msg-head b { font-size: 13px; }
.s1-adm-msg-head small { font-size: 11.5px; color: var(--muted); }
.s1-adm-msg p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.s1-adm-rm { margin-top: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--soft); font: 600 12px/1.4 inherit; font-family: inherit; cursor: pointer; }
.s1-adm-rm:hover { border-color: var(--hot); color: var(--text); }
@media (max-width: 760px) { .s1-adm-dm { grid-template-columns: minmax(0, 1fr); } .s1-adm-list { max-height: 300px; } }

/* ===== 1.0.8 · Tarjeta del concurso: finalizado, fechas y ganadores (paridad con uno-landing.css) ===== */
.sx-dates { color: var(--muted); font-size: 14.5px; margin: 0; }
.sx-event.is-closed .sx-dot { background: #9b8f93; box-shadow: 0 0 0 4px rgba(155, 143, 147, .16); animation: none; }
.sx-event.is-closed .sx-dot::after { display: none; }
.sx-event.is-closed .sx-count b { color: var(--muted); }
.sx-event.is-closed .sx-bar i { background: linear-gradient(90deg, #6e5a60, #8d777e); }
.sx-winners { display: grid; gap: 8px; width: 100%; }
.sx-winner { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); }
.sx-winner.is-p1 { background: linear-gradient(90deg, rgba(240, 196, 110, .2), rgba(240, 196, 110, .05)); box-shadow: inset 0 0 0 1px rgba(240, 196, 110, .4); }
.sx-winner-av { display: block; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 2px rgba(240, 196, 110, .6); }
.sx-winner-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx-winner-txt { display: grid; min-width: 0; line-height: 1.3; }
.sx-winner-txt b { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #f6d48f; }
.sx-winner-txt > span { font-size: 15.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-winner-txt small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-event.has-winners .sx-event-cover img { object-position: 50% 30%; }

/* ===== 1.0.9 · Precio MXN | USD, tarjetas de tienda y Compras ===== */
.s1-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.s1-price-sep { color: var(--line-strong); font-weight: 400; }
.s1-price-usd { color: var(--muted); font-size: .86em; font-weight: 600; }
.s1-shop-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.s1-shop-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.s1-buy-list { display: flex; flex-direction: column; gap: 8px; }
.s1-buy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.s1-buy-row > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.s1-buy-row small { font-size: 12.5px; color: var(--muted); }

/* ===== 1.1.0 · Tienda: ajustes de integración standalone ===== */
.td { margin: 0 auto; max-width: 1400px; border-radius: 0; }
.td .td-usd-sep { margin: 0 8px; color: var(--line-2); }
.td .td-usd { color: var(--muted); font-size: 13px; font-weight: 600; }
.td-com-page .td-com-layout { align-items: start; }
.td-com-main { display: grid; gap: 16px; min-width: 0; }
.td-com-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.td-com-gallery.is-single { grid-template-columns: 1fr; }
.td-com-gallery > a { display: block; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 4 / 3; }
.td-com-gallery > a.is-first { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.td-com-gallery img { width: 100%; height: 100%; object-fit: contain; display: block; }
.td-com-terms p, .td-com-prices { white-space: pre-line; overflow-wrap: anywhere; color: var(--soft); line-height: 1.7; font-size: 14.5px; }
.td-com-terms h2 { font-family: var(--display); font-size: 18px; margin-bottom: 10px; }
.td-com-artist { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; color: var(--text); text-decoration: none; }
.td-com-artist img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.td-com-artist span { display: grid; line-height: 1.3; }
.td-com-artist small { color: var(--muted); font-size: 12px; }
.td-buybox .td-btn-block + .td-btn-block { margin-top: 8px; }
.td-avail.is-inline { position: static; }
.uno-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) { .td-com-gallery { grid-template-columns: 1fr; } }

/* ===== 1.1.1 · Herramientas del chat, stickers, insignias e imágenes del foro ===== */
.s1-chat-tool { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(232, 68, 85, .38); background: linear-gradient(180deg, rgba(232, 68, 85, .16), rgba(168, 25, 47, .1)); color: #ffd7dc; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.s1-chat-tool .sx-ico { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s1-chat-tool:hover, .s1-chat-tool.is-on { background: linear-gradient(180deg, #e84455, #a8192f); border-color: transparent; color: #fff; }
.s1-chat-tool:focus-visible { outline: 2px solid #e9ad50; outline-offset: 2px; }
.s1-chat-composer-bar { gap: 8px; }
.s1-chat-tool-wrap { position: relative; display: inline-flex; }
.s1-sticker-pop { position: absolute; right: -8px; bottom: calc(100% + 12px); z-index: 30; width: min(300px, 80vw); padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .9); font-size: 13.5px; color: var(--soft); display: grid; gap: 10px; }
.s1-sticker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.s1-sticker-grid button { aspect-ratio: 1; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .04); cursor: pointer; }
.s1-sticker-grid button:hover { border-color: var(--hot); background: rgba(232, 68, 85, .14); }
.s1-sticker-grid img { width: 100%; height: 100%; object-fit: contain; }
.s1-sticker { display: inline-block; width: 64px; height: 64px; object-fit: contain; vertical-align: middle; }
.s1-sticker.is-solo { width: 120px; height: 120px; }
.s1-admin-mark { font-size: 14px; line-height: 1; }
.sx-tag.sx-tag-pro { border: 1px solid rgba(214, 198, 202, .45); color: var(--soft); }
.s1-post-imgs { display: grid; gap: 8px; margin-top: 10px; }
.s1-post-imgs.n2, .s1-post-imgs.n4 { grid-template-columns: 1fr 1fr; }
.s1-post-imgs.n3 { grid-template-columns: 2fr 1fr; }
.s1-post-imgs.n3 > a:first-child { grid-row: span 2; }
.s1-post-imgs > a { display: block; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.s1-post-imgs img { display: block; width: 100%; height: 100%; max-height: 560px; object-fit: contain; }
.s1-post-imgs.n1 img { max-height: 640px; }
/* 1.1.1 · Precio MXN | USD en la misma línea, con barrita */
.td .td-pricebox { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 0; }
.td .td-pricebox .td-usd { display: inline; }
.td .td-hero .td-price { flex-basis: auto; }
.td .td-item-side .td-usd-sep { display: none; }

/* ===== 1.1.3 · Selector de emojis y stickers + caja de comentarios del foro ===== */
.s1-picker { position: fixed; z-index: 2000; max-height: min(440px, calc(100vh - 24px)); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-2, #1c1117); box-shadow: 0 28px 60px -18px rgba(0, 0, 0, .9); overflow: hidden; }
.s1-picker-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); }
.s1-picker-tabs button { min-height: 38px; border: 0; border-radius: 12px; background: none; color: var(--soft); font: 650 13.5px/1 inherit; font-family: inherit; cursor: pointer; }
.s1-picker-tabs button[aria-selected="true"] { background: linear-gradient(180deg, #e84455, #a8192f); color: #fff; }
.s1-picker-body { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.s1-picker-cats { display: flex; gap: 2px; padding: 6px 8px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.s1-picker-cats button { flex: none; width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; font-size: 19px; cursor: pointer; filter: grayscale(.6); opacity: .75; }
.s1-picker-cats button[aria-selected="true"] { background: rgba(232, 68, 85, .2); filter: none; opacity: 1; }
.s1-picker-cat-name { margin: 8px 12px 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.s1-picker-emojis { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 2px; padding: 4px 8px 10px; overflow-y: auto; min-height: 200px; max-height: 300px; }
.s1-picker-emojis button { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; font-size: 22px; line-height: 1; cursor: pointer; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.s1-picker-emojis button:hover { background: rgba(255, 255, 255, .08); transform: scale(1.12); }
.s1-picker-stickers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px; overflow-y: auto; max-height: 340px; }
.s1-picker-stickers button { aspect-ratio: 1; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .04); cursor: pointer; }
.s1-picker-stickers button:hover { border-color: var(--hot); background: rgba(232, 68, 85, .14); }
.s1-picker-stickers img { width: 100%; height: 100%; object-fit: contain; }
.s1-picker-note { margin: 0; padding: 18px; color: var(--muted); font-size: 13.5px; text-align: center; }
.s1-picker-locked { display: grid; justify-items: center; gap: 10px; padding: 24px 18px; text-align: center; color: var(--soft); font-size: 13.5px; }
.s1-picker-locked > span { font-size: 30px; }
.s1-picker-locked b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.s1-picker-locked p { margin: 0; }
.s1-comment-form { margin-top: 4px; }
.s1-comment-bar { border-radius: 999px; }
.s1-comment-login { margin: 0; font-size: 13.5px; color: var(--muted); }
.s1-comment .s1-sticker.is-solo { width: 96px; height: 96px; }

/* ===== 1.1.5 · Foro: categoría obligatoria, encuesta desplegable, imágenes; reenviar activación ===== */
.s1-poll-box { display: grid; gap: 8px; padding: 12px; border: 1px dashed rgba(232, 68, 85, .45); border-radius: 16px; background: rgba(168, 25, 47, .08); }
.s1-poll-box[hidden] { display: none; }
.s1-poll-box-title { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--text); }
.s1-poll-box-title small { font-weight: 500; color: var(--muted); }
.s1-poll-box [data-poll-opts] { display: grid; gap: 8px; }
.s1-poll-box [data-poll-add] { justify-self: start; }
.s1-forum-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.s1-forum-attach { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid rgba(232, 68, 85, .38); border-radius: 999px; background: linear-gradient(180deg, rgba(232, 68, 85, .16), rgba(168, 25, 47, .1)); color: #ffd7dc; font-size: 13px; font-weight: 600; cursor: pointer; }
.s1-forum-attach .sx-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s1-forum-attach:hover { background: linear-gradient(180deg, #e84455, #a8192f); color: #fff; border-color: transparent; }
#s1-forum-composer select:invalid { color: var(--muted); }
.s1-link-btn { border: 0; background: none; padding: 0; color: #ffb3bd; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* 1.1.5 · Buscador de Descubre artistas: en columna no debe crecer en alto */
.sx-head .tx-find, .sx-head .tx-find:focus-within { flex: 0 0 auto; height: 48px; min-height: 48px; }
#s1-forum-composer .s1-form-row .s1-select { max-width: none; flex: 0 0 250px; }
@media (max-width: 640px) { #s1-forum-composer .s1-form-row { flex-wrap: wrap; } #s1-forum-composer .s1-form-row .s1-select { flex: 1 1 100%; } }

/* ===== 1.1.8 · Visor de imágenes ===== */
html.s1-lb-lock { overflow: hidden; }
.s1-lb { position: fixed; inset: 0; z-index: 3000; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: 1fr auto; align-items: center; padding: 16px; background: rgba(6, 3, 5, .9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: s1LbIn .18s ease-out; }
@keyframes s1LbIn { from { opacity: 0; } to { opacity: 1; } }
.s1-lb-stage { grid-column: 2; grid-row: 1; margin: 0; height: 100%; min-height: 0; display: grid; place-items: center; }
.s1-lb-img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); opacity: 0; transform: scale(.98); transition: opacity .2s, transform .2s; }
.s1-lb-img.is-ready { opacity: 1; transform: none; }
.s1-lb-x { position: fixed; top: 16px; right: 16px; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(28, 17, 23, .85); color: #fff; cursor: pointer; }
.s1-lb-x svg, .s1-lb-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s1-lb-x:hover { background: linear-gradient(180deg, #e84455, #a8192f); border-color: transparent; }
.s1-lb-nav { grid-row: 1; justify-self: center; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(28, 17, 23, .7); color: #fff; cursor: pointer; }
.s1-lb-nav.is-prev { grid-column: 1; }
.s1-lb-nav.is-next { grid-column: 3; }
.s1-lb-nav:hover { background: rgba(232, 68, 85, .5); }
.s1-lb-nav[hidden] { display: none; }
.s1-lb-x:focus-visible, .s1-lb-nav:focus-visible, .s1-lb-open:focus-visible { outline: 2px solid #e9ad50; outline-offset: 3px; }
.s1-lb-bar { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: center; align-items: center; gap: 18px; padding-top: 12px; font-size: 13px; color: var(--soft); }
.s1-lb-open { color: var(--soft); text-decoration: none; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; }
.s1-lb-open:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
a[data-lightbox] { cursor: zoom-in; }
@media (max-width: 640px) {
  .s1-lb { grid-template-columns: 0 minmax(0, 1fr) 0; padding: 10px; }
  .s1-lb-nav { position: fixed; bottom: 18px; }
  .s1-lb-nav.is-prev { left: 18px; } .s1-lb-nav.is-next { right: 18px; }
  .s1-lb-img { max-height: calc(100vh - 150px); }
}

/* ===== 1.1.9 · Chats a pantalla completa bajo el menú; cada columna se desplaza por dentro ===== */
.s1-main:has(> .s1-chats-shell) { padding-top: 0; }
.s1-chats-shell { border-top: 0; }
.s1-member-list { display: flex; flex-direction: column; gap: 4px; }
.s1-my-card-lbl { margin-top: 4px; }
@media (min-width: 761px) {
  .s1-chats-shell { height: calc(100dvh - 69px); min-height: 560px; overflow: hidden; }
  .s1-chat-left, .s1-chat-center, .s1-chat-right { min-height: 0; padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  .s1-chat-left { overflow-y: auto; scrollbar-width: thin; }
  .s1-chat-center { overflow: hidden; }
  .s1-chat-log { flex: 1 1 auto; min-height: 0; max-height: none; }
  .s1-chat-right { overflow: hidden; }
  .s1-member-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin-right: -6px; padding-right: 6px; scrollbar-width: thin; }
  .s1-my-card-lbl, .s1-chat-right .s1-my-card { flex: none; }
}
@media (max-width: 760px) {
  .s1-member-list { max-height: none; }
}
/* 1.2.0 · Lista real de conversaciones privadas */
.s1-conv-empty { margin: 4px 6px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.s1-conv-item .s1-ava { position: relative; overflow: visible; }
.s1-conv-item .s1-ava img { border-radius: 50%; }
.s1-conv-online { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #58d68d; border: 2px solid #12080d; }
.s1-conv-time { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.s1-conv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hot); }
.s1-conv-item.is-unread strong { color: #fff; }
.s1-conv-item.is-unread small { color: var(--soft); }
/* 1.2.2 · Ojo para mostrar/ocultar contraseña */
.um-field-area.has-eye { position: relative; }
.um-field-area.has-eye input { padding-right: 52px !important; }
.s1-pw-eye { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: #6b4a55; cursor: pointer; }
.s1-pw-eye svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s1-pw-eye:hover { background: rgba(168, 25, 47, .1); color: #a8192f; }
.s1-pw-eye:focus-visible { outline: 2px solid #e84455; outline-offset: 1px; }
/* 1.2.3 · Campo con error en formularios de acceso */
.um-field-area input[aria-invalid="true"] { border-color: #e84455 !important; box-shadow: 0 0 0 3px rgba(232, 68, 85, .3) !important; background: #fff1f2 !important; }
/* 1.2.4 · Mi cuenta: inicial centrada en el menú y texto de la portada por encima de la imagen */
.uno-x-account-me .uno-x-initial { display: grid; place-items: center; flex-direction: initial; font-size: 19px; line-height: 1; color: #fff; }
.uno-x-account-hero > :not(.uno-x-account-cover):not(.uno-fx-layer) { position: relative; z-index: 1; }
.uno-x-account-hero .uno-x-initial { line-height: 1; }

/* ===== 1.2.5 · Chats: amigos, solicitudes, filtros y nuevo chat ===== */
.s1-conv-list { display: flex; flex-direction: column; gap: 6px; }
.s1-conv-list[hidden] { display: none; }
.s1-conv-list .cf-groups { display: none; }
.s1-conv-list[data-filter="dm"] :is(.cf-global, .cf-comm) { display: none; }
.s1-conv-list[data-filter="comm"] :is(.cf-global, .cf-dm) { display: none; }
.s1-conv-list[data-filter="groups"] :is(.cf-global, .cf-dm, .cf-comm) { display: none; }
.s1-conv-list[data-filter="groups"] .cf-groups { display: block; }
.cf-dm, .cf-comm, .cf-groups { display: flex; flex-direction: column; gap: 6px; }
.s1-person-row { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-radius: 14px; }
.s1-person-row[hidden], .s1-conv-item[hidden] { display: none; }
.s1-person-row:hover { background: rgba(255, 255, 255, .04); }
.s1-person-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: var(--text); text-decoration: none; }
.s1-person-main .s1-ava { position: relative; overflow: visible; }
.s1-person-main .s1-ava img { border-radius: 50%; }
.s1-person-acts { display: flex; gap: 6px; flex: none; }
.s1-mini-btn { min-height: 30px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--text); font: 650 12px/1 inherit; font-family: inherit; cursor: pointer; }
.s1-mini-btn.is-primary { border-color: transparent; background: linear-gradient(180deg, #e84455, #a8192f); }
.s1-mini-btn:hover { filter: brightness(1.12); }
.s1-mini-btn:disabled { opacity: .55; cursor: default; }
.s1-seg-badge { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; margin-left: 4px; border-radius: 999px; background: var(--hot); color: #fff; font-size: 10.5px; }
.s1-newchat { width: min(440px, calc(100vw - 24px)); }
.s1-newchat-list { display: flex; flex-direction: column; gap: 4px; max-height: min(60vh, 460px); overflow-y: auto; }
/* 1.2.5 · Filas de amigos/solicitudes: botones debajo del nombre; contador sin romper la pestaña */
.s1-person-row { flex-wrap: wrap; row-gap: 6px; }
.s1-person-acts { width: 100%; padding-left: 48px; }
.s1-person-acts .s1-mini-btn { flex: 1 1 0; }
.s1-chat-seg button { position: relative; }
.s1-chat-seg .s1-seg-badge { position: absolute; top: 2px; right: 4px; margin: 0; }

/* ===== 1.2.7 · Sugerencias y errores con historial ===== */
.s1-sugg-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.s1-sugg-tabs button { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--soft); font: 650 13px/1 inherit; font-family: inherit; cursor: pointer; }
.s1-sugg-tabs button[aria-selected="true"] { background: linear-gradient(180deg, #e84455, #a8192f); border-color: transparent; color: #fff; }
.s1-sugg-tabs b { margin-left: 4px; opacity: .85; }
.s1-sugg-list { display: flex; flex-direction: column; gap: 10px; }
.s1-sugg-item { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.s1-sugg-main { flex: 1 1 360px; min-width: 0; display: grid; gap: 6px; }
.s1-sugg-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s1-sugg-meta { color: var(--muted); font-size: 12.5px; }
.s1-sugg-body { margin: 0; font-size: 14px; line-height: 1.6; color: var(--soft); white-space: pre-line; overflow-wrap: anywhere; }
.s1-sugg-img { display: block; width: min(320px, 100%); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.s1-sugg-img img { display: block; width: 100%; height: auto; }
.s1-sugg-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.s1-sugg-badge { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.s1-sugg-badge.is-resolved { background: rgba(88, 214, 141, .16); color: #8af0b3; border: 1px solid rgba(88, 214, 141, .35); }
.s1-sugg-badge.is-archived { background: rgba(255, 255, 255, .06); color: var(--muted); border: 1px solid var(--line); }
.s1-sugg-item.is-archived { opacity: .82; }
.s1-sugg-empty { margin: 0; padding: 8px 0; color: var(--muted); font-size: 13.5px; }

/* ===== 1.2.8 · Plan único MAX ===== */
.s1-plan-card { display: grid; gap: 12px; padding: 18px 20px !important; }
.s1-plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.s1-plan-price { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.s1-plan-price b { font-family: var(--display); font-size: 22px; color: #f6d48f; }
.s1-plan-price small { color: var(--soft); font-size: 13px; }
.s1-plan-usd { color: var(--muted); font-size: 13px; font-weight: 600; }
.s1-plan-state { margin: 0; font-size: 14px; color: var(--soft); }
.s1-plan-state.is-on { color: #8af0b3; }
.s1-plan-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 16px; }
.s1-plan-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--soft); line-height: 1.5; }
.s1-plan-list li::before { content: '✦'; position: absolute; left: 0; top: 0; color: #f0be78; }
.s1-plan-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.s1-plan-note { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ===== 1.2.9 · Plan anual y regalos ===== */
.s1-plan-iv { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); justify-self: start; }
.s1-plan-iv button { min-height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--soft); font: 650 13px/1 inherit; font-family: inherit; cursor: pointer; }
.s1-plan-iv button[aria-checked="true"] { background: linear-gradient(180deg, #f0be78, #c9852f); color: #1a0b10; }
.s1-plan-iv b { margin-left: 4px; color: #8af0b3; }
.s1-plan-iv button[aria-checked="true"] b { color: #1a5d36; }
.s1-plan-save { margin: 0; font-size: 13px; color: #8af0b3; }
.s1-gift { width: min(460px, calc(100vw - 24px)); }
.s1-gift-copy { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: var(--soft); }
.s1-gift-who .s1-newchat-list { max-height: 260px; margin-top: 8px; }
.s1-gift-who .s1-conv-item.active { border-color: rgba(240, 190, 120, .6); background: rgba(240, 190, 120, .12); }
.s1-gift-sel { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(240, 190, 120, .45); background: rgba(240, 190, 120, .08); }
.s1-gift-sel[hidden] { display: none; }
.s1-gift-sel span:last-child { display: grid; line-height: 1.25; }
.s1-gift-sel small { color: var(--muted); font-size: 12px; }
.s1-gift-anon { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-size: 13.5px; color: var(--soft); cursor: pointer; }
.s1-gift-err { margin: 0 0 12px; padding: 9px 12px; border-radius: 12px; background: rgba(230, 60, 90, .14); border: 1px solid rgba(230, 60, 90, .4); color: #ffb3c1; font-size: 13.5px; }
.s1-gift-err[hidden] { display: none; }
.s1-gift-acts { display: flex; justify-content: flex-end; }
.s1-gift-acts .sx-btn:disabled { opacity: .45; cursor: not-allowed; filter: saturate(.6); }

/* 1.2.9d · Chats en móvil como una app: sin el pie de la web debajo ni hueco vacío */
@media (max-width: 760px) {
  body:has(.s1-chats-shell) .sx-foot { display: none; }
  .s1-chats-shell { min-height: calc(100dvh - 60px); }
}

/* 1.3.0 · Chat: responder, reacciones, editar y borrar mensajes */
.s1-msg { position: relative; }
.s1-msg-acts {
  position: absolute; top: 6px; right: 8px; display: flex; gap: 4px; padding: 3px;
  border-radius: 999px; background: rgba(20, 10, 16, .92); border: 1px solid rgba(255, 240, 242, .12);
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.s1-msg:hover .s1-msg-acts, .s1-msg:focus-within .s1-msg-acts, .s1-msg.is-pop .s1-msg-acts { opacity: 1; pointer-events: auto; }
@media (hover: none) { .s1-msg-acts { opacity: .85; pointer-events: auto; } }
.s1-msg-act {
  width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--soft, #e8d9dc); font-size: 16px; line-height: 1; cursor: pointer;
}
.s1-msg-act:hover, .s1-msg-act:focus-visible { background: rgba(232, 68, 85, .22); color: #fff; }
.s1-msg-act svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.s1-msg-quote {
  display: flex; flex-direction: column; gap: 1px; width: 100%; max-width: 520px; margin: 2px 0 6px; padding: 6px 10px;
  border: 0; border-left: 3px solid rgba(232, 68, 85, .8); border-radius: 8px; background: rgba(255, 240, 242, .06);
  color: inherit; text-align: left; font: inherit; cursor: pointer;
}
.s1-msg-quote:disabled { cursor: default; opacity: .7; }
.s1-msg-quote strong { font-size: 12px; color: #ff8a98; }
.s1-msg-quote span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s1-msg-deleted { font-style: italic; color: var(--muted); font-size: 14px; }
.s1-msg-deleted.is-admin { font-style: normal; color: inherit; padding: 6px 10px; border-radius: 8px; border: 1px dashed rgba(255, 180, 70, .45); background: rgba(255, 180, 70, .06); }
.s1-msg-deleted.is-admin small { display: block; margin-bottom: 4px; color: #ffc66b; font-size: 11.5px; font-style: italic; }
.s1-msg-deleted.is-admin > div { opacity: .8; text-decoration: line-through; text-decoration-color: rgba(255, 198, 107, .55); }
.s1-msg.is-deleted { background: rgba(34, 18, 26, .35); }
.s1-msg-reacts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.s1-react-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 240, 242, .07); border: 1px solid rgba(255, 240, 242, .12); color: inherit; font-size: 13px;
}
.s1-react-chip b { font-size: 12px; font-weight: 600; color: var(--soft, #e8d9dc); }
.s1-react-chip.mine { background: rgba(232, 68, 85, .2); border-color: rgba(232, 68, 85, .6); }
.s1-react-chip:disabled { cursor: default; }
.s1-msg-foot { margin-top: 4px; font-size: 11px; color: var(--muted); }
.s1-msg-hist { margin-top: 6px; font-size: 12px; color: #ffc66b; }
.s1-msg-hist summary { cursor: pointer; }
.s1-msg-hist-item { margin-top: 4px; padding: 4px 8px; border-left: 2px solid rgba(255, 198, 107, .5); color: var(--soft, #e8d9dc); }
.s1-msg-hist-item time { display: block; font-size: 10.5px; color: var(--muted); }
.s1-msg.is-reply-highlight { box-shadow: 0 0 0 2px rgba(232, 68, 85, .8); transition: box-shadow .3s; }
.s1-msg-pop {
  position: fixed; z-index: 1000; min-width: 200px; padding: 6px; border-radius: 14px;
  background: rgba(24, 12, 18, .98); border: 1px solid rgba(255, 240, 242, .14); box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}
.s1-msg-pop-emojis { display: flex; gap: 2px; }
.s1-msg-pop-emojis button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 20px; cursor: pointer; transition: transform .1s; }
.s1-msg-pop-emojis button:hover, .s1-msg-pop-emojis button:focus-visible { background: rgba(255, 240, 242, .1); transform: scale(1.15); }
.s1-msg-pop-emojis button.mine { background: rgba(232, 68, 85, .25); }
.s1-msg-pop-items { display: flex; flex-direction: column; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255, 240, 242, .1); }
.s1-msg-pop-items button { padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.s1-msg-pop-items button:hover, .s1-msg-pop-items button:focus-visible { background: rgba(255, 240, 242, .08); }
.s1-msg-pop-items button.is-danger { color: #ff7d8b; }
.s1-reply-draft {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding: 7px 10px 7px 12px;
  border-radius: 12px; border-left: 3px solid rgba(232, 68, 85, .85); background: rgba(34, 16, 24, .88);
}
.s1-reply-draft.is-edit { border-left-color: #ffc66b; }
.s1-reply-draft-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.s1-reply-draft-text strong { font-size: 12.5px; color: #ff8a98; }
.s1-reply-draft.is-edit .s1-reply-draft-text strong { color: #ffc66b; }
.s1-reply-draft-text span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s1-reply-cancel { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255, 240, 242, .08); color: inherit; cursor: pointer; }
.s1-msg-head { padding-right: 70px; }

/* ===== 1.3.2 · Logo en pie, comentarios del foro estilo Chats y desplegable de notificaciones ===== */
.sx-foot-brand .sx-brand { flex: none; font-size: 14px; gap: 10px; }
.sx-foot-brand .sx-skull { width: 26px; height: 29px; }

/* Comentarios del foro (tarjetas .s1-msg + respuestas anidadas parent_id) */
.s1-comment-thread { display: flex; flex-direction: column; gap: 8px; }
.s1-comment-msg { padding: 11px 13px; }
.s1-comment-msg .s1-ava { width: 38px; height: 38px; font-size: 14px; flex: none; overflow: hidden; }
.s1-comment-msg .s1-msg-head { padding-right: 0; }
.s1-comment-msg .s1-msg-head a { color: inherit; text-decoration: none; }
.s1-comment-msg .s1-msg-head a:hover strong { text-decoration: underline; }
.s1-comment-msg .s1-msg-body { font-size: 14px; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; }
.s1-comment-msg .s1-sticker.is-solo { width: 96px; height: 96px; }
.s1-comment-replies { display: flex; flex-direction: column; gap: 8px; margin-left: 22px; padding-left: 12px; border-left: 2px solid rgba(232, 68, 85, .24); }
@media (max-width: 640px) {
  .s1-comment-msg { padding: 10px 12px; gap: 10px; }
  .s1-comment-msg .s1-ava { width: 34px; height: 34px; font-size: 13px; }
  .s1-comment-replies { margin-left: 12px; padding-left: 10px; }
}

/* Desplegable de notificaciones anclado bajo la campana */
.s1-notif-pop {
  position: fixed; z-index: 65; width: 380px; max-width: calc(100vw - 20px); max-height: min(72vh, 540px);
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 20px; color: var(--text);
  background: rgba(21, 12, 17, .96);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 240, 242, .15);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .88), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.s1-notif-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 14px 11px 16px; border-bottom: 1px solid rgba(255, 240, 242, .08); flex: none;
}
.s1-notif-head h3 { font-family: var(--display); font-size: 15.5px; font-weight: 700; margin: 0; }
.s1-notif-head .s1-icon-close { width: 32px; height: 32px; font-size: 14px; }
.s1-notif-body {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 10px; display: flex; flex-direction: column; gap: 8px;
  color: var(--soft); font-size: 13.5px;
}
.s1-nt-empty {
  padding: 14px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03); color: var(--soft); font-size: 13.5px; line-height: 1.5;
}
.s1-notif-pop .s1-nt-list { gap: 6px; }
.s1-notif-pop .s1-nt-item { border-radius: 14px; background: rgba(255, 255, 255, .035); }
.s1-notif-pop .s1-nt-item.is-unread { border-color: rgba(232, 68, 85, .48); background: rgba(168, 25, 47, .16); }
.s1-notif-pop .s1-nt-open { gap: 10px; padding: 9px 10px; border-radius: 14px; }
.s1-notif-pop .s1-nt-av { width: 36px; height: 36px; font-size: 13px; }
.s1-notif-pop .s1-nt-text strong { font-size: 13.5px; line-height: 1.35; }
.s1-notif-pop .s1-nt-text small { font-size: 11.5px; }
.s1-notif-pop .s1-nt-x { width: 34px; border-radius: 0 14px 14px 0; font-size: 13px; }
.s1-notif-pop .s1-nt-more { margin-top: 4px; min-height: 38px; padding: 0 16px; font-size: 13px; }
@media (max-width: 640px) {
  .s1-notif-pop { width: auto; max-width: none; border-radius: 18px; }
}
