/* ============================================================
   RADICAL · hoja de estilos
   Oscuro, premium y deportivo. Móvil primero → escritorio (≥900px)
   ============================================================ */
@font-face { font-family: Inter; font-weight: 400 500; font-display: swap; src: url(../fonts/Inter-Medium.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(../fonts/Inter-SemiBold.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 700 900; font-display: swap; src: url(../fonts/Inter-ExtraBold.woff2) format('woff2'); }

:root {
  --bg: #0b0b0d; --bg2: #101013; --card: #151519; --card2: #1d1d22; --line: #26262c; --line2: #33333b;
  --text: #f5f5f7; --mut: #9a9aa5; --mut2: #6e6e79;
  --orange: #ff5a1f; --orange2: #ff7a2e; --orange-d: #c2410c; --orange-a: rgba(255, 90, 31, .14);
  --green: #34d27b; --amber: #f5a524; --red: #ff4d4f;
  --r: 18px; --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --top: 54px; --tab: 62px;
  --grad: linear-gradient(135deg, #ff7a2e 0%, #ff5a1f 55%, #f03c0a 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 500 15px/1.45 Inter, -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif; overscroll-behavior-y: none; -webkit-font-smoothing: antialiased; min-height: 100dvh; }
body.noscroll { overflow: hidden; }
a { color: inherit; text-decoration: none; } button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { max-width: 100%; display: block; } svg.ico { flex: none; display: block; } svg.fill { fill: currentColor; }
b, strong { font-weight: 700; } h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
small { font-size: 12.5px; } .sm { font-size: 12.5px; } .muted { color: var(--mut); } .orange { color: var(--orange); } .center { text-align: center; } .block { display: block; } .hide { display: none !important; }
.row { display: flex; align-items: center; } .gap { gap: 10px; } .between { justify-content: space-between; } .wrap { flex-wrap: wrap; } .grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .pad { padding: 16px; } .pad0 { padding: 0 !important; }
::selection { background: var(--orange); color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: #2c2c33; border-radius: 8px; }
.scroller { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; } .scroller::-webkit-scrollbar { display: none; }

/* ---------- Splash / offline / toast ---------- */
.splash { position: fixed; inset: 0; z-index: 999; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; transition: opacity .4s; }
.splash.out { opacity: 0; pointer-events: none; }
.splash-logo { width: 150px; height: auto; animation: pulse 1.4s ease-in-out infinite; }
.splash-bar { width: 120px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; } .splash-bar i { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 3px; animation: slide 1s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } } @keyframes pulse { 50% { opacity: .55; } }
.offline { position: fixed; left: 50%; bottom: calc(var(--tab) + var(--safe-b) + 12px); transform: translate(-50%, 30px); background: var(--red); color: #fff; padding: 8px 16px; border-radius: 99px; font-weight: 700; font-size: 13px; opacity: 0; pointer-events: none; transition: .25s; z-index: 300; } .offline.show { opacity: 1; transform: translate(-50%, 0); }
#toast { position: fixed; top: calc(var(--safe-t) + 14px); left: 50%; transform: translate(-50%, -20px); max-width: min(92vw, 420px); background: #24242a; border: 1px solid var(--line2); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; z-index: 400; transition: .25s; box-shadow: 0 10px 40px #000a; }
#toast.show { opacity: 1; transform: translate(-50%, 0); } #toast.ok { border-color: var(--green); } #toast.err { border-color: var(--red); }

/* ---------- Estructura ---------- */
.app { min-height: 100dvh; }
.topbar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: calc(var(--top) + var(--safe-t)); padding: var(--safe-t) 14px 0; display: flex; align-items: center; justify-content: space-between; background: rgba(11, 11, 13, .86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.top-actions { display: flex; gap: 2px; }
.logo { display: flex; align-items: center; } .logo img { height: 26px; width: auto; display: block; } .logo.lg { padding: 6px 14px 22px; display: block; } .logo.lg img { height: 34px; } .logo.lg .lk-m { display: none; }
.main { padding: calc(var(--top) + var(--safe-t)) 0 calc(var(--tab) + var(--safe-b) + 20px); min-width: 0; }
.view { padding: 0 14px; min-height: 60dvh; animation: fade .25s ease; } @keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.sidebar, .right { display: none; }
.tabbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: calc(var(--tab) + var(--safe-b)); padding-bottom: var(--safe-b); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; background: rgba(11, 11, 13, .92); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-top: 1px solid var(--line); }
.tab-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; color: var(--mut2); transition: color .15s; } .tab-item small { font-size: 10.5px; font-weight: 600; }
.tab-item.on { color: var(--text); } .tab-item.on svg { color: var(--orange); stroke-width: 2.4; } .tab-item:active { transform: scale(.94); }
.tab-av .av { outline: 2px solid transparent; outline-offset: 1px; } .tab-item.on .tab-av .av { outline-color: var(--orange); }
.tab-compose { color: #fff; } .tab-compose span { width: 50px; height: 38px; border-radius: 13px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 6px 20px #ff5a1f55; transition: transform .15s; } .tab-compose:active span { transform: scale(.92) rotate(90deg); }
.has-badge { position: relative; } .dot { display: none; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 99px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 800; font-style: normal; align-items: center; justify-content: center; } .dot.on { display: inline-flex; }
.has-badge .dot { position: absolute; top: 0; right: -3px; border: 2px solid var(--bg); box-sizing: content-box; height: 15px; min-width: 15px; }
body.auth-mode .topbar, body.auth-mode .tabbar, body.auth-mode .sidebar, body.auth-mode .right { display: none !important; } body.auth-mode .main { padding: 0; } body.auth-mode .view { padding: 0; }
body[data-route=chat] .tabbar, body[data-route=chat] .topbar { display: none; } body[data-route=chat] .main { padding: 0; }

/* ---------- Escritorio ---------- */
@media (min-width: 900px) {
  :root { --side: 76px; }
  .app { display: grid; grid-template-columns: var(--side) minmax(0, 640px); justify-content: center; gap: 28px; }
  .topbar, .tabbar { display: none; }
  .main { padding: 18px 0 60px; } .view { padding: 0; }
  .sidebar { display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; padding: 18px 8px; border-right: 1px solid var(--line); margin-left: -8px; }
  .sidebar .logo.lg { padding: 6px 0 22px; text-align: center; } .sidebar .logo.lg .lk-h { display: none; } .sidebar .logo.lg .lk-m { display: inline-block; height: 30px; }
  .sidebar nav { display: flex; flex-direction: column; gap: 4px; flex: 1; } .side-foot { margin-top: auto; }
  .side-item { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 14px; width: 100%; text-align: left; font-weight: 600; font-size: 16px; color: var(--text); position: relative; justify-content: center; transition: background .15s; }
  .side-item span:not(.side-av) { display: none; } .side-item:hover { background: var(--card); } .side-item.on { font-weight: 800; } .side-item.on svg { color: var(--orange); }
  .side-item .dot { position: absolute; top: 4px; right: 8px; } .side-av { display: grid; place-items: center; }
  .side-item:has(.side-av) .av { outline: 2px solid transparent; outline-offset: 1px; } .side-item.on .av { outline-color: var(--orange); }
  .post { border: 1px solid var(--line) !important; border-radius: var(--r) !important; margin: 0 0 18px !important; background: var(--bg2); overflow: hidden; }
  .stories { margin: 0 0 8px !important; padding: 8px 4px !important; } .ch-hero { margin-inline: 0 !important; border-radius: var(--r); }
  body[data-route=admin] .main { max-width: 880px; } body[data-route=admin] .app { grid-template-columns: var(--side) minmax(0, 880px); } body[data-route=admin] .right { display: none; }
  body[data-route=chat] .app { grid-template-columns: var(--side) minmax(0, 640px); } body[data-route=chat] .main { padding: 18px 0; }
  .chat { height: calc(100dvh - 36px) !important; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
  .sheet-wrap { align-items: center !important; justify-content: center; } .sheet { border-radius: 22px !important; max-width: 540px; width: 100%; transform: translateY(24px) scale(.98) !important; opacity: 0; } .sheet-wrap.open .sheet { transform: none !important; opacity: 1; }
  .sheet.full, .sheet.tall { height: min(86dvh, 760px) !important; }
  .my-pos { position: sticky !important; bottom: 14px !important; left: auto !important; right: auto !important; }
  .cta-bar { position: static !important; }
  .story-view { background: rgba(0, 0, 0, .94); }
}
@media (min-width: 1200px) {
  :root { --side: 244px; }
  .app { grid-template-columns: var(--side) minmax(0, 630px) 320px; gap: 36px; }
  .sidebar .logo.lg { padding: 6px 14px 22px; text-align: left; } .sidebar .logo.lg .lk-h { display: inline-block; } .sidebar .logo.lg .lk-m { display: none; }
  .side-item { justify-content: flex-start; } .side-item span:not(.side-av) { display: inline; flex: 1; } .side-item .dot { position: static; }
  .right { display: block; position: sticky; top: 0; height: 100dvh; overflow-y: auto; padding: 22px 0 40px; scrollbar-width: none; } .right::-webkit-scrollbar { display: none; }
  .stories + .inline-extras { display: none; } .right .card { margin-bottom: 14px; }
  body[data-route=admin] .app { grid-template-columns: var(--side) minmax(0, 880px); }
}

/* ---------- Avatares / chips / botones ---------- */
.av { --s: 40px; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #ff7a2e, #b02a00); display: inline-grid; place-items: center; flex: none; color: #fff; position: relative; }
.av img { width: 100%; height: 100%; object-fit: cover; } .av-ini { font-weight: 800; font-size: calc(var(--s) * .38); letter-spacing: -.02em; } .av-gym { font-weight: 900; font-size: calc(var(--s) * .5); color: var(--orange); } .av:has(.av-gym) { background: #000; border: 2px solid var(--orange); }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: var(--card2); color: var(--text); font-size: 12px; font-weight: 700; white-space: nowrap; border: 1px solid var(--line); }
.chip.sm { padding: 2px 8px; font-size: 11px; } .chip.orange { background: var(--orange-a); color: var(--orange2); border-color: #ff5a1f55; } .chip.green { background: #34d27b1f; color: var(--green); border-color: #34d27b44; }
.chip.amber { background: #f5a5241f; color: var(--amber); border-color: #f5a52444; } .chip.red { background: #ff4d4f1f; color: var(--red); border-color: #ff4d4f44; }
.chip.abs { position: absolute; top: 10px; left: 10px; } .chip.abs.r { left: auto; right: 10px; } .chip button { display: grid; place-items: center; color: inherit; margin-right: -4px; }
.rtag { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; margin-left: 6px; vertical-align: middle; background: var(--card2); color: var(--mut); } .rtag-owner { background: var(--orange); color: #fff; } .rtag-admin { background: var(--orange-a); color: var(--orange2); } .rtag-coach { background: #34d27b22; color: var(--green); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 13px; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: transform .12s, opacity .15s, filter .15s; box-shadow: 0 4px 18px #ff5a1f33; text-align: center; }
.btn:hover { filter: brightness(1.08); } .btn:active { transform: scale(.97); } .btn.sm { padding: 7px 14px; font-size: 13px; border-radius: 10px; } .btn.lg { padding: 15px 22px; font-size: 16px; border-radius: 15px; }
.btn.ghost { background: var(--card2); border-color: var(--line2); box-shadow: none; color: var(--text); } .btn.danger { background: var(--red); box-shadow: none; } .btn.block { display: flex; width: 100%; } .btn.icon { padding: 9px 12px; }
.btn[disabled], .btn.busy { opacity: .6; pointer-events: none; } .btn.busy::after { content: ''; width: 14px; height: 14px; border: 2px solid #fff6; border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn small { font-weight: 600; opacity: .85; } .danger-t { color: var(--red) !important; } .link { color: var(--orange2); font-weight: 600; font-size: 13.5px; } .link:hover { text-decoration: underline; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; transition: background .15s; flex: none; } .icon-btn:hover { background: var(--card); } .icon-btn.sm { width: 32px; height: 32px; color: var(--mut); }
.icon-btn.float { position: absolute; top: calc(var(--safe-t) + 10px); left: 10px; background: #000a; backdrop-filter: blur(8px); color: #fff; z-index: 3; } .icon-btn.float.r { left: auto; right: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; } .chips.scroller { flex-wrap: nowrap; }
.chip-btn { padding: 8px 15px; border-radius: 99px; background: var(--card2); border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; white-space: nowrap; scroll-snap-align: start; } .chip-btn.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 13px; margin: 6px 0 10px; max-width: 100%; overflow-x: auto; scrollbar-width: none; } .seg button { padding: 8px 14px; border-radius: 10px; font-weight: 700; font-size: 13px; color: var(--mut); white-space: nowrap; } .seg button.on { background: var(--orange); color: #fff; }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin: 0 -14px 12px; padding: 0 8px; position: sticky; top: calc(var(--top) + var(--safe-t)); background: rgba(11, 11, 13, .94); backdrop-filter: blur(14px); z-index: 20; } .tabs::-webkit-scrollbar { display: none; }
.tab { padding: 13px 14px; font-weight: 700; font-size: 14px; color: var(--mut); border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; } .tab.on { color: var(--text); border-color: var(--orange); }
@media (min-width: 900px) { .tabs { margin: 0 0 12px; top: 0; padding: 0; } }
.pill { background: var(--orange); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; min-width: 19px; height: 19px; border-radius: 99px; display: inline-grid; place-items: center; padding: 0 6px; }
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .filters .seg { margin: 6px 0; }

/* ---------- Formularios ---------- */
input, select, textarea { font: inherit; font-size: 16px; color: var(--text); background: var(--card2); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; width: 100%; outline: none; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239a9aa5' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-a); } textarea { resize: vertical; min-height: 70px; } ::placeholder { color: var(--mut2); }
input[type=checkbox] { width: 20px; height: 20px; padding: 0; border-radius: 6px; flex: none; cursor: pointer; } input[type=checkbox]:checked { background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--orange); }
input[type=file] { padding: 10px; } .select { width: auto; padding: 9px 34px 9px 14px; font-size: 14px; font-weight: 600; border-radius: 12px; }
.form { display: flex; flex-direction: column; gap: 14px; } .form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--mut); } .form label.check { flex-direction: row; align-items: center; gap: 12px; color: var(--text); font-size: 14.5px; }
.search { background: var(--card2); margin: 6px 0 12px; border-radius: 14px; padding-left: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239a9aa5' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 13px center; }
label.inl { flex-direction: row !important; align-items: center; gap: 10px !important; background: var(--card2); border: 1px solid var(--line2); border-radius: 12px; padding: 0 14px; color: var(--mut); } label.inl input { border: 0; background: none; padding: 12px 0; box-shadow: none !important; }
label.file { flex-direction: row !important; align-items: center; gap: 12px !important; border: 1.5px dashed var(--line2); border-radius: 14px; padding: 14px; cursor: pointer; color: var(--mut); position: relative; overflow: hidden; } label.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; padding: 0; }
.drop { position: relative; display: block; border: 1.5px dashed var(--line2); border-radius: 16px; min-height: 130px; overflow: hidden; cursor: pointer; background: var(--card); transition: border-color .15s; } .drop:hover { border-color: var(--orange); } .drop-hint { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--mut); } .drop-hint b { color: var(--text); } .drop.has .drop-hint { display: none; }
.drop-prev img, .drop-prev video { width: 100%; max-height: 340px; object-fit: cover; }
.compose-top { display: flex; gap: 12px; align-items: flex-start; } .compose-top textarea { border: 0; background: none; padding: 8px 0; min-height: 84px; box-shadow: none !important; font-size: 17px; }
.tag-res { display: flex; flex-direction: column; } .tag-list { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.set-head, .set-row { display: grid; grid-template-columns: 1fr 54px 54px 66px 30px; gap: 6px; align-items: center; } .set-head { font-size: 11px; font-weight: 700; color: var(--mut); text-transform: uppercase; padding: 0 2px; } .set-row input { padding: 10px 8px; font-size: 15px; text-align: center; } .set-row input:first-child { text-align: left; padding-left: 12px; }
.hub { display: flex; flex-direction: column; gap: 8px; } .hub-item { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--card2); border: 1px solid var(--line); border-radius: 16px; text-align: left; transition: .15s; } .hub-item:hover { border-color: var(--orange); } .hub-item:active { transform: scale(.98); } .hub-item div { flex: 1; } .hub-item b { display: block; font-size: 16px; } .hub-item small { color: var(--mut); }
.hub-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--orange-a); color: var(--orange2); display: grid; place-items: center; } .hub-check .hub-ic { background: #34d27b22; color: var(--green); }
.pts-row { display: flex !important; flex-direction: row !important; justify-content: space-between; align-items: center; color: var(--text) !important; font-size: 14.5px !important; padding: 7px 0; } .pts-row input { width: 92px; text-align: right; padding: 9px 12px; }
.steps { padding-left: 20px; display: flex; flex-direction: column; gap: 12px; line-height: 1.5; } .steps li::marker { color: var(--orange); font-weight: 800; }

/* ---------- Hojas modales ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; } .sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .66); opacity: 0; transition: opacity .22s; backdrop-filter: blur(3px); } .sheet-wrap.open .sheet-bg { opacity: 1; }
.sheet { position: relative; width: 100%; max-height: 94dvh; background: #131316; border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; padding-bottom: var(--safe-b); }
.sheet-wrap.open .sheet { transform: none; } .sheet.full { height: 94dvh; } .sheet.tall { height: 82dvh; } .sheet-grip { width: 38px; height: 4px; border-radius: 4px; background: var(--line2); margin: 8px auto 0; flex: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 4px 20px; flex: none; } .sheet-head b { font-size: 17px; font-weight: 800; } .sheet-body { overflow-y: auto; padding: 8px 18px 22px; flex: 1; -webkit-overflow-scrolling: touch; }
.menu { display: flex; flex-direction: column; padding-top: 6px; } .menu-item { display: flex; align-items: center; gap: 14px; padding: 15px 6px; font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--line); text-align: left; } .menu-item:last-child { border: 0; } .menu-item.danger { color: var(--red); } .menu-item:active { background: var(--card); }
.confirm-msg { font-size: 16px; line-height: 1.5; padding: 14px 0 18px; text-align: center; font-weight: 600; }

/* ---------- Estados ---------- */
.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 44px 24px; color: var(--mut); } .empty b { color: var(--text); font-size: 16px; } .empty .btn { margin-top: 8px; }
.loading { display: grid; place-items: center; padding: 40px; } .spin { width: 26px; height: 26px; border: 3px solid var(--line2); border-top-color: var(--orange); border-radius: 50%; animation: spin .7s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.skel { padding: 16px 0; } .skel-h, .skel-b { background: linear-gradient(90deg, var(--card) 25%, var(--card2) 50%, var(--card) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 12px; } .skel-h { height: 40px; width: 55%; margin-bottom: 12px; } .skel-b { height: 260px; } @keyframes shimmer { to { background-position: -200% 0; } }
.note { background: var(--card); border: 1px solid var(--line); padding: 12px 14px; border-radius: 14px; font-size: 14px; color: var(--mut); margin: 10px 0; } .amberbox { border-color: #f5a52444; color: var(--amber); background: #f5a5240f; }
.sentinel { padding: 10px 0 20px; text-align: center; } .foot-note { text-align: center; color: var(--mut2); font-size: 12px; padding: 14px; }

/* ---------- Tarjetas / listas ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; } .card.pad { padding: 16px; }
.list-card { overflow: hidden; } .act { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14px; } .act:last-child { border: 0; } .act small { color: var(--mut); margin-left: auto; white-space: nowrap; } .pos { width: 20px; text-align: center; color: var(--mut); font-weight: 800; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0 8px; } .page-head h2 { font-size: 24px; flex: 1; } .page-head.tight { padding: 4px 0; } .page-head.tight h2 { font-size: 17px; text-align: center; flex: 1; }
.blk-h { font-size: 15px; font-weight: 800; margin: 22px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; } .blk-h.flat { margin: 0 0 10px; } .blk-h .link { font-weight: 600; } .block { margin-bottom: 4px; }
.people { display: flex; flex-direction: column; } .person { display: flex; align-items: center; gap: 12px; padding: 9px 4px; } .person small { display: block; color: var(--mut); } .person.sm { padding: 6px 4px; } .person.chk { cursor: pointer; } .card.pad0 .person { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.mention, .hash { color: var(--orange2); font-weight: 600; }

/* ---------- Historias ---------- */
.stories { display: flex; gap: 13px; overflow-x: auto; scrollbar-width: none; padding: 12px 14px 8px; margin: 0 -14px; } .stories::-webkit-scrollbar { display: none; }
.story { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 70px; flex: none; } .story small { font-size: 11.5px; max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.ring { position: relative; display: inline-grid; place-items: center; padding: 3px; border-radius: 50%; background: conic-gradient(from 200deg, #ff7a2e, #ff3d00, #ffb347, #ff7a2e); transition: transform .15s; } .ring .av { border: 3px solid var(--bg); box-sizing: content-box; } .story:active .ring { transform: scale(.94); }
.story.seen .ring, .ring.seen { background: #3a3a42; } .story.add .ring { background: transparent; } .story.add .av { border-color: transparent; }
.ring .plus { position: absolute; right: -2px; bottom: -1px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; border: 2.5px solid var(--bg); } .ring .badge-pr { position: absolute; right: -3px; top: -2px; width: 22px; height: 22px; border-radius: 50%; background: #000; color: var(--orange); display: grid; place-items: center; border: 2px solid var(--orange); }
.story-view { position: fixed; inset: 0; z-index: 200; background: #000; display: grid; place-items: center; opacity: 0; transition: opacity .18s; touch-action: manipulation; } .story-view.in { opacity: 1; }
.sv-stage { position: relative; width: 100%; height: 100%; max-width: 460px; max-height: 100dvh; background: #0a0a0c; overflow: hidden; user-select: none; -webkit-user-select: none; } @media (min-width: 700px) { .sv-stage { height: min(100dvh, 860px); border-radius: 22px; } }
.sv-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .sv-bars { position: absolute; top: calc(var(--safe-t) + 10px); left: 10px; right: 10px; display: flex; gap: 4px; z-index: 4; } .sv-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; } .sv-bars b { display: block; height: 100%; width: 0; background: #fff; } .sv-bars .done b { width: 100%; }
.sv-head { position: absolute; top: calc(var(--safe-t) + 20px); left: 0; right: 0; padding: 12px 12px 30px; display: flex; align-items: center; justify-content: space-between; z-index: 5; background: linear-gradient(#000a, transparent); } .sv-user { display: flex; align-items: center; gap: 9px; font-size: 14px; } .sv-user span { color: #fffa; font-size: 13px; } .sv-x { color: #fff; padding: 6px; }
.sv-zones { position: absolute; inset: 0; z-index: 3; display: flex; } .sv-zones i { flex: 1; } .sv-zones i:first-child { flex: .35; }
.sv-caption { position: absolute; left: 0; right: 0; bottom: 96px; text-align: center; padding: 0 28px; font-weight: 700; font-size: 18px; text-shadow: 0 2px 12px #000; z-index: 4; pointer-events: none; }
.sv-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px calc(var(--safe-b) + 14px); display: flex; align-items: center; justify-content: space-between; gap: 10px; z-index: 5; background: linear-gradient(transparent, #000c); }
.sv-reply { flex: 1; display: flex; gap: 8px; } .sv-reply input { border-radius: 99px; background: rgba(0, 0, 0, .45); border: 1.5px solid #fff7; color: #fff; padding: 12px 18px; } .sv-reply button { color: #fff; padding: 0 8px; }
.sv-views { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; padding: 9px 14px; border-radius: 99px; background: #0008; } .sv-ic { width: 42px; height: 42px; border-radius: 50%; background: #0008; display: grid; place-items: center; color: #fff; }
.story-card { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 40px 30px; background: radial-gradient(circle at 30% 20%, #ff5a1fbb, #14090466 55%, #070708), #0a0a0c; } .story-card svg { color: var(--orange); filter: drop-shadow(0 0 24px #ff5a1f); } .story-card small { letter-spacing: .25em; color: var(--orange2); font-weight: 800; } .story-card h2 { font-size: 30px; line-height: 1.1; } .story-card .big { font-size: 64px; font-weight: 900; color: var(--orange); letter-spacing: -.04em; } .story-card p { color: #ddd; }

/* ---------- Publicaciones ---------- */
.post { margin: 0 -14px 6px; border-bottom: 1px solid var(--line); padding-bottom: 8px; position: relative; } .post-h { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; }
.post-who { flex: 1; min-width: 0; line-height: 1.25; } .post-who small { display: flex; align-items: center; gap: 4px; color: var(--mut); font-size: 12px; margin-top: 1px; } .post-who b { font-size: 14.5px; }
.kind { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: var(--orange-a); color: var(--orange2); margin-left: 6px; vertical-align: 1px; } .kind.k-gym { background: var(--orange); color: #fff; }
.post-media { position: relative; background: #000; overflow: hidden; } .post-media img, .post-media video { width: 100%; max-height: 78dvh; object-fit: cover; } .post-media video { background: #000; object-fit: contain; }
.heart-pop { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; pointer-events: none; } .heart-pop svg { fill: var(--orange); stroke: var(--orange); filter: drop-shadow(0 4px 20px #0008); } .heart-pop.go { animation: pop .8s ease; } @keyframes pop { 0% { opacity: 0; transform: scale(.3); } 20% { opacity: 1; transform: scale(1.15); } 40% { transform: scale(.95); } 80% { opacity: 1; } 100% { opacity: 0; transform: scale(1.1); } }
.post-actions { display: flex; align-items: center; padding: 4px 6px 0; } .pa { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: transform .12s; } .pa:active { transform: scale(.86); } .pa:last-child { margin-left: auto; }
.pa.like.on svg { fill: var(--orange); stroke: var(--orange); } .pa.like.pop svg { animation: pop2 .4s ease; } @keyframes pop2 { 40% { transform: scale(1.35); } } .pa.save.on svg { fill: #fff; }
.post-likes, .post-text, .post-tags, .post-cm, .post-time { padding: 0 14px; display: block; } .post-likes { font-size: 14px; margin-top: 2px; } .post-text { margin-top: 3px; font-size: 14.5px; word-break: break-word; } .post-text b { margin-right: 4px; } .post-tags { color: var(--orange2); font-size: 13.5px; font-weight: 600; margin-top: 3px; }
.post-cm { color: var(--mut); font-size: 14px; margin-top: 4px; text-align: left; } .post-time { font-size: 11px; color: var(--mut2); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
.feat-wrap { aspect-ratio: 1.15; } .feat { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; background: radial-gradient(circle at 25% 15%, #ff5a1f99, #18090466 60%), repeating-linear-gradient(35deg, #ffffff06 0 3px, transparent 3px 26px), #0d0d10; }
.feat svg { color: var(--orange); filter: drop-shadow(0 0 22px #ff5a1f); } .feat small { letter-spacing: .24em; font-weight: 800; color: var(--orange2); font-size: 11.5px; } .feat h3 { font-size: 26px; } .feat .big { font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -.04em; } .feat .big span { font-size: 22px; color: var(--orange); margin-left: 6px; letter-spacing: 0; }
.feat-res { justify-content: flex-start; padding-top: 22px; gap: 6px; overflow: auto; } .winner { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 340px; background: #0008; border: 1px solid #ffffff14; padding: 9px 12px; border-radius: 14px; text-align: left; } .winner div { flex: 1; } .winner small { display: block; letter-spacing: 0; color: var(--mut); font-weight: 600; }
.feat-wo { align-items: stretch; justify-content: center; text-align: left; } .feat-wo svg { align-self: center; } .feat-wo small { text-align: center; } .wo-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid #ffffff12; font-size: 14.5px; } .wo-row b { color: var(--orange2); white-space: nowrap; } .wo-vol { text-align: center; color: var(--mut); font-size: 13px; padding-top: 6px; }
.ann .ann-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; } .ann-body { padding: 12px 14px 6px; } .ann-body h3 { font-size: 19px; margin-bottom: 4px; } .ann-body p { color: #ddd; font-size: 14.5px; } .ann-when { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 12px; background: var(--orange-a); color: var(--orange2); border-radius: 10px; font-weight: 700; font-size: 13px; text-transform: capitalize; }
.ann { background: linear-gradient(180deg, #ff5a1f0d, transparent 40%); }
.cm-list { display: flex; flex-direction: column; gap: 14px; padding: 4px 0 8px; } .cm { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; word-break: break-word; } .cm a b { margin-right: 3px; }
.cm-sheet .sheet-body { display: flex; flex-direction: column; padding: 0; } .cm-sheet .cm-list { flex: 1; overflow-y: auto; padding: 12px 18px; } .cm-form { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); } .cm-form input { border-radius: 99px; padding: 10px 16px; }
.cm-list.inline { padding: 12px 14px; } .page-head + .post { margin-top: 0; }
.inline-extras { margin: 6px 0; } .feat-ch, .ch-card { display: block; overflow: hidden; }
.streak-card { padding: 16px; } .sc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; } .sc-top h3 { font-size: 18px; margin-top: 2px; } .sc-num { display: flex; flex-direction: column; align-items: center; color: var(--orange); line-height: 1; } .sc-num b { font-size: 28px; font-weight: 900; color: var(--text); margin-top: 2px; } .sc-num small { color: var(--mut); font-size: 11px; margin-top: 2px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 14px 0 10px; } .wd { display: flex; flex-direction: column; align-items: center; gap: 6px; } .wd small { color: var(--mut); font-weight: 700; font-size: 11px; } .wd i { width: 100%; max-width: 38px; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; font-style: normal; color: var(--mut2); } .wd.on i { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 4px 14px #ff5a1f55; } .wd.today i { border-color: var(--orange); } .wd.today small { color: var(--orange); }
.sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; flex-wrap: wrap; }
.feat-ch { position: relative; margin-bottom: 14px; background: linear-gradient(135deg, #2a1208, #0d0d10); } .feat-ch::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0b0d 30%, #0b0b0de6 100%), var(--bg, none) center/cover; } .fc-body { position: relative; padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; } .fc-body h3 { font-size: 21px; } .fc-body p { color: #ccc; font-size: 14px; }
.fc-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--mut); font-size: 13px; font-weight: 600; } .fc-meta span { display: inline-flex; align-items: center; gap: 5px; } .fc-top { display: flex; flex-wrap: wrap; gap: 6px; } .mini-rank { display: inline-flex; align-items: center; gap: 5px; background: #000a; border: 1px solid #ffffff14; padding: 4px 9px 4px 5px; border-radius: 99px; font-size: 12px; } .mini-rank b { color: var(--orange2); } .fc-cta { margin-top: 4px; }
.ach-row { margin: 0 -14px; padding: 0 14px 4px; } .ach { flex: none; display: flex; align-items: center; gap: 10px; width: 250px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; font-size: 13px; scroll-snap-align: start; } .ach div { min-width: 0; } .ach b { display: block; } .ach span { display: flex; gap: 5px; color: var(--mut); line-height: 1.3; }

/* ---------- Ranking ---------- */
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 18px 4px 0; margin-bottom: 14px; } .pod { flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0; } .pod b { font-size: 13.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pod .val { color: var(--orange2); font-weight: 800; font-size: 13px; } .medal { font-size: 22px; }
.pod .bar { display: block; width: 100%; border-radius: 12px 12px 0 0; margin-top: 4px; background: linear-gradient(#2c2c33, #17171b); height: 52px; } .pod.p1 .bar { height: 92px; background: var(--grad); } .pod.p2 .bar { height: 68px; background: linear-gradient(#5a5a66, #26262c); } .pod.p3 .bar { height: 52px; background: linear-gradient(#8a4a2a, #2b1a10); } .pod.p1 .av { box-shadow: 0 0 0 3px var(--orange), 0 8px 30px #ff5a1f66; }
.rk-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); } .rk-row:last-child { border: 0; } .rk-row.me { background: var(--orange-a); } .rk-pos { width: 28px; text-align: center; font-size: 16px; font-weight: 800; color: var(--mut); } .rk-pos.p1, .rk-pos.p2, .rk-pos.p3 { font-size: 22px; }
.rk-row .grow b { display: block; font-size: 15px; } .rk-row small { color: var(--mut); } .rk-val { text-align: right; } .rk-val b { font-size: 16px; color: var(--orange2); display: block; } .amber-t { color: var(--amber); display: inline-flex; gap: 3px; align-items: center; font-size: 11px; }
.rk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px; border-radius: var(--r); margin: 6px 0 10px; background: linear-gradient(90deg, #0b0b0df5 25%, #0b0b0d88), var(--bg, none) center/cover, linear-gradient(135deg, #3a1608, #0d0d10); border: 1px solid var(--line); } .rk-head small { color: var(--orange2); font-weight: 800; letter-spacing: .12em; font-size: 11px; } .rk-head h3 { font-size: 20px; margin: 2px 0; } .rk-head span { color: #ccc; font-size: 13px; }
.rk-note { color: var(--mut); font-size: 13.5px; margin: 8px 0 14px; } .live { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 12px; font-weight: 700; margin: 4px 0 12px; } .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.4s infinite; } @keyframes blink { 50% { opacity: .25; } }
.my-pos { display: none; position: fixed; left: 14px; right: 14px; bottom: calc(var(--tab) + var(--safe-b) + 10px); z-index: 40; align-items: center; gap: 12px; padding: 12px 18px; background: var(--grad); border-radius: 16px; font-weight: 700; box-shadow: 0 10px 30px #ff5a1f55; } .my-pos.show { display: flex; } .my-pos b { font-size: 22px; font-weight: 900; } .my-pos span:last-child { text-align: right; }

/* ---------- Retos ---------- */
.ch-card { margin-bottom: 14px; } .ch-img { height: 150px; position: relative; background: linear-gradient(180deg, transparent 40%, #151519), var(--bg, none) center/cover, linear-gradient(135deg, #3a1608, #17171b); } .ch-body { padding: 4px 16px 16px; } .ch-body h3 { font-size: 19px; } .ch-body p { color: var(--mut); font-size: 14px; margin: 3px 0 10px; }
.ch-hero { position: relative; height: 270px; margin: 0 -14px; display: flex; align-items: flex-end; background: linear-gradient(180deg, #0b0b0d33 0%, #0b0b0dcc 38%, #0b0b0d 66%), var(--bg, none) center/cover, linear-gradient(135deg, #4a1c08, #0b0b0d); } .hero-t { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; } .hero-t h1 { font-size: 30px; line-height: 1.05; }
.ch-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; } .kv { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; } .kv svg { color: var(--orange); grid-row: span 2; } .kv small { color: var(--mut); } .kv b { font-size: 15px; }
.prize { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(90deg, var(--orange-a), transparent); border: 1px solid #ff5a1f44; margin-bottom: 14px; } .prize svg { color: var(--orange); } .prize small { color: var(--orange2); letter-spacing: .14em; font-weight: 800; font-size: 11px; display: block; }
.ch-desc { color: #ddd; margin-bottom: 14px; } .ch-video { border-radius: 16px; overflow: hidden; margin-bottom: 14px; } .ch-video video { width: 100%; } .rules { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; } .rules summary { font-weight: 800; cursor: pointer; } .rules p { margin-top: 8px; color: #ccc; font-size: 14px; }
.cta-bar { margin: 14px 0; } .cta-bar:has(.btn) { position: sticky; bottom: calc(var(--tab) + var(--safe-b) + 10px); z-index: 30; } .cta-bar .btn { box-shadow: 0 10px 30px #ff5a1f66; } .entry { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); } .entry:last-child { border: 0; } .entry small { display: block; }
.season-card { padding: 16px; } .season-card h3 { font-size: 21px; margin: 6px 0 2px; } .season-card details { margin-top: 12px; } .season-card summary { cursor: pointer; font-weight: 700; color: var(--orange2); padding: 6px 0; } .awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; } .award { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card2); border: 1px solid var(--line); border-radius: 14px; } .award svg { color: var(--orange); } .award small { display: block; color: var(--mut); font-size: 11px; } .award b { font-size: 13.5px; }

/* ---------- Perfil ---------- */
.ph { display: flex; align-items: center; gap: 18px; padding: 8px 0 12px; } .ph-stats { flex: 1; display: flex; justify-content: space-around; } .ph-stats button { display: flex; flex-direction: column; align-items: center; } .ph-stats b { font-size: 19px; font-weight: 800; } .ph-stats small { color: var(--mut); font-size: 12px; }
.ph-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 16px; } .ph-bio { margin: 4px 0 8px; color: #ddd; font-size: 14.5px; } .info-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; } .info { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--mut); font-size: 12.5px; font-weight: 600; }
.ph-btns { display: flex; gap: 8px; margin-bottom: 14px; } .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; } .stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; } .stat svg { color: var(--orange); } .stat b { font-size: 21px; font-weight: 900; } .stat small { color: var(--mut); font-size: 11px; }
.highlights { margin: 0 -14px 10px; padding: 0 14px; } .hl { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 68px; flex: none; } .hl .ring { padding: 2.5px; } .hl .ring img, .hl .hl-ic { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); background: var(--card2); box-sizing: content-box; display: grid; place-items: center; } .hl small { font-size: 11.5px; max-width: 68px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge-strip { margin: 0 -14px 6px; padding: 4px 14px 8px; } .bdg { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 4px; } .bdg i { width: 52px; height: 52px; border-radius: 50%; background: var(--card2); border: 1.5px solid #ff5a1f66; display: grid; place-items: center; font-size: 24px; font-style: normal; box-shadow: 0 0 18px #ff5a1f22; } .bdg small { font-size: 10.5px; text-align: center; line-height: 1.2; color: var(--mut); max-height: 26px; overflow: hidden; }
.ptabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 6px -14px 12px; position: sticky; top: calc(var(--top) + var(--safe-t)); background: rgba(11, 11, 13, .95); backdrop-filter: blur(14px); z-index: 20; } .ptab { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0 8px; color: var(--mut2); border-bottom: 2px solid transparent; } .ptab small { font-size: 10.5px; font-weight: 700; } .ptab.on { color: var(--text); border-color: var(--orange); } .ptab.on svg { color: var(--orange); }
@media (min-width: 900px) { .ptabs { margin: 6px 0 12px; top: 0; } .highlights, .badge-strip, .ach-row { margin: 0; padding-inline: 0; } }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 0 -14px; } @media (min-width: 900px) { .grid3 { margin: 0; border-radius: 14px; overflow: hidden; } }
.tile { position: relative; aspect-ratio: 1; background: var(--card); overflow: hidden; display: block; } .tile img, .tile video { width: 100%; height: 100%; object-fit: cover; } .tile:active { opacity: .8; } .t-ic { position: absolute; top: 7px; right: 7px; color: #fff; filter: drop-shadow(0 1px 4px #000); } .t-date { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 11px; font-weight: 700; background: #000a; padding: 2px 7px; border-radius: 99px; }
.t-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; text-align: center; background: radial-gradient(circle at 30% 20%, #ff5a1f55, #0d0d10 70%); font-size: 11.5px; line-height: 1.25; font-weight: 600; color: #ddd; } .t-text svg { color: var(--orange); }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 12px 0; } .pr-box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; } .pr-box small { color: var(--mut); font-weight: 600; } .pr-box b { font-size: 28px; font-weight: 900; line-height: 1.1; letter-spacing: -.03em; margin-top: 4px; } .pr-box span { color: var(--orange2); font-weight: 700; font-size: 12px; } .pr-box.nil b { color: var(--mut2); }
.total-card { padding: 18px; text-align: center; background: linear-gradient(135deg, #ff5a1f33, var(--card) 70%); border-color: #ff5a1f55; margin-top: 12px; } .total-card small { color: var(--orange2); letter-spacing: .12em; font-weight: 800; font-size: 11px; display: block; } .total-card b { font-size: 46px; font-weight: 900; letter-spacing: -.04em; line-height: 1.1; } .total-card b span { font-size: 18px; color: var(--orange); }
.pr-ic { width: 32px; height: 32px; border-radius: 10px; background: var(--orange-a); color: var(--orange2); display: grid; place-items: center; flex: none; } .pr-row small { display: block; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin-bottom: 14px; } .bdg-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; filter: grayscale(1); opacity: .45; } .bdg-card.on { filter: none; opacity: 1; border-color: #ff5a1f44; background: linear-gradient(180deg, var(--orange-a), var(--card)); } .bdg-card.off { opacity: .35; } .bdg-card i { font-size: 34px; font-style: normal; } .bdg-card b { font-size: 12.5px; line-height: 1.2; } .bdg-card small { color: var(--mut); font-size: 11px; }
.badge-grid.admin { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-top: 12px; } .badge-big { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0 14px; } .badge-big i { font-size: 72px; font-style: normal; filter: drop-shadow(0 6px 24px #ff5a1f66); } .badge-big i.lock { filter: grayscale(1); opacity: .4; } .badge-big p { color: var(--mut); }
.chart-card { padding: 16px; } .big-n { display: block; font-size: 32px; font-weight: 900; letter-spacing: -.03em; } .chart { width: 100%; height: auto; margin: 8px 0 2px; } .wo-card { padding: 14px 16px; } .wo-card .wo-row { border-color: var(--line); } .edit-av { display: flex; align-items: center; gap: 16px; }

/* ---------- Mensajes / notificaciones ---------- */
.conv { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-bottom: 1px solid var(--line); } .conv:last-child { border: 0; } .conv .grow b { display: block; } .conv .grow span { display: block; color: var(--mut); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .conv.unread .grow span { color: var(--text); font-weight: 700; } .conv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: var(--mut); }
.chat { display: flex; flex-direction: column; height: 100dvh; background: var(--bg); } .chat-head { display: flex; align-items: center; gap: 6px; padding: calc(var(--safe-t) + 8px) 10px 8px; border-bottom: 1px solid var(--line); background: rgba(11, 11, 13, .95); flex: none; } .chat-user { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; } .chat-user small { display: block; color: var(--mut); line-height: 1.1; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px 14px 8px; display: flex; flex-direction: column; gap: 4px; } .chat-body .empty { margin: auto; } .day-sep { text-align: center; margin: 12px 0 6px; } .day-sep span { font-size: 11.5px; color: var(--mut); background: var(--card); padding: 3px 12px; border-radius: 99px; text-transform: capitalize; }
.msg { display: flex; } .msg.mine { justify-content: flex-end; } .bub { max-width: 80%; padding: 9px 13px 6px; border-radius: 19px 19px 19px 6px; background: var(--card2); font-size: 15px; word-break: break-word; } .msg.mine .bub { background: var(--grad); border-radius: 19px 19px 6px 19px; }
.bub p { margin-bottom: 1px; } .mt { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: 10.5px; opacity: .7; } .tick { display: inline-flex; font-style: normal; } .tick svg + svg { margin-left: -7px; } .tick.read { color: #fff; opacity: 1; } .tick:not(.read) { opacity: .6; }
.share-card { display: flex; gap: 10px; align-items: center; background: #0006; border-radius: 13px; padding: 8px; margin-bottom: 4px; min-width: 210px; } .share-card img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; } .sc-ic { width: 52px; height: 52px; border-radius: 10px; background: #0005; display: grid; place-items: center; } .share-card small { display: block; opacity: .75; } .share-card span { font-weight: 700; font-size: 13.5px; display: block; line-height: 1.25; } .reply-tag { display: flex; align-items: center; gap: 5px; font-size: 12px; opacity: .8; border-left: 2px solid #fff8; padding-left: 8px; margin-bottom: 4px; }
.chat-form { display: flex; gap: 10px; padding: 10px 12px calc(var(--safe-b) + 10px); border-top: 1px solid var(--line); flex: none; background: var(--bg); } .chat-form input { border-radius: 99px; padding: 12px 18px; } .send-btn { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.notif { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); } .notif:last-child { border: 0; } .notif.new { background: var(--orange-a); } .notif .grow span { display: block; font-size: 14px; line-height: 1.35; } .notif small { color: var(--mut); } .n-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--card2); display: grid; place-items: center; flex: none; color: var(--mut); overflow: hidden; } .n-ic.orange { background: var(--orange-a); color: var(--orange2); } .n-ic.green { background: #34d27b22; color: var(--green); } .n-ic.red { background: #ff4d4f22; color: var(--red); } .n-ic.amber { background: #f5a52422; color: var(--amber); } .dot-new { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex: none; }

/* ---------- Administración ---------- */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; } @media (min-width: 700px) { .kpis { grid-template-columns: repeat(4, 1fr); } } .kpi { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; } .kpi svg { color: var(--orange); margin-bottom: 4px; } .kpi b { font-size: 28px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; } .kpi small { color: var(--mut); line-height: 1.25; } .kpi.hot { border-color: var(--orange); background: linear-gradient(180deg, var(--orange-a), var(--card)); } a.kpi:active { transform: scale(.98); }
.bars { display: flex; gap: 6px; align-items: flex-end; height: 170px; margin-top: 8px; } .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; } .bar-g { display: flex; align-items: flex-end; gap: 3px; width: 100%; height: 118px; } .bar-g i { flex: 1; min-height: 2px; border-radius: 5px 5px 0 0; } .b1 { background: var(--grad); } .b2 { background: #d8d8e0; } .b3 { background: #6a2a10; } .bar-col small { color: var(--mut); text-transform: capitalize; } .bn { font-size: 11px; color: var(--mut2); }
.legend { display: inline-flex; gap: 10px; align-items: center; font-size: 11px; color: var(--mut); } .legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: -4px; } .l1 { background: var(--orange); } .l2 { background: #d8d8e0; } .l3 { background: #6a2a10; }
.rev { padding: 14px; display: flex; flex-direction: column; gap: 10px; } .rev-h { display: flex; align-items: center; gap: 12px; } .rev-val { font-size: 22px; font-weight: 900; color: var(--orange2); text-align: right; white-space: nowrap; } .rev-media { border-radius: 14px; overflow: hidden; background: #000; } .rev-media video, .rev-media img { width: 100%; max-height: 380px; object-fit: contain; }
.urow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); } .urow:last-child { border: 0; } .urow-btns { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; } .mod { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 8px; } .clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #ddd; font-size: 14px; }
.quote { border-left: 3px solid var(--orange); padding: 6px 12px; background: var(--card2); border-radius: 0 10px 10px 0; font-size: 14px; } .pending { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 6px 0; } .pending svg { color: var(--orange); } .pending p { color: var(--mut); }

/* ---------- Acceso ---------- */
.auth { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(var(--safe-t) + 24px) 20px calc(var(--safe-b) + 24px); position: relative; overflow: hidden; }
.auth-glow { position: absolute; inset: -20% -20% auto; height: 70%; background: radial-gradient(ellipse at 50% 0%, #ff5a1f55, transparent 65%); pointer-events: none; } .auth::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(35deg, #ffffff05 0 2px, transparent 2px 30px); pointer-events: none; }
.auth-card { position: relative; z-index: 1; width: 100%; max-width: 410px; background: rgba(21, 21, 25, .82); backdrop-filter: blur(16px); border: 1px solid var(--line2); border-radius: 26px; padding: 30px 24px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 80px #000a; }
.auth-logo { display: flex; justify-content: center; padding: 6px 0 14px; } .auth-logo img { width: 190px; height: auto; } .auth-tag { text-align: center; color: var(--mut); margin-top: -8px; margin-bottom: 6px; } .auth-alt { text-align: center; color: var(--mut); font-size: 14px; } .auth-foot { position: relative; z-index: 1; margin-top: 22px; color: var(--mut2); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.demo-box { border: 1px dashed var(--line2); border-radius: 14px; padding: 12px; } .demo-box small { color: var(--mut); display: block; margin-bottom: 8px; letter-spacing: .08em; } .demo-box .chips { margin: 0; } .demo-box .chip-btn { font-size: 12px; padding: 6px 11px; }

@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

#rk-body { padding-bottom: 76px; } @media (min-width: 900px) { #rk-body { padding-bottom: 0; } }

@media (min-width: 900px) { .side-item[data-act=compose] { background: var(--grad); color: #fff; margin: 6px 0; box-shadow: 0 6px 20px #ff5a1f44; } .side-item[data-act=compose]:hover { background: var(--grad); filter: brightness(1.08); } }

/* ============================================================ Tienda */
.shop-intro { margin: -4px 0 14px; }
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 12px; } @media (min-width: 700px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 1200px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
.shop-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .shop-card b { font-size: 15px; line-height: 1.25; margin-top: 6px; } .shop-card:active { transform: scale(.98); }
.shop-img { position: relative; aspect-ratio: 6 / 7; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); } .shop-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-mode { position: absolute; top: 8px; left: 8px; background: #000a; backdrop-filter: blur(6px); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; } .shop-mode.reserva { background: var(--orange); }
.shop-n { position: absolute; bottom: 8px; right: 8px; font-style: normal; background: #000a; backdrop-filter: blur(6px); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.shop-price { color: var(--orange); font-weight: 800; } .shop-price.lg { font-size: 22px; white-space: nowrap; }
.shop-detail { margin: 0 -14px; } @media (min-width: 900px) { .shop-detail { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; } }
.shop-hero { position: relative; aspect-ratio: 6 / 7; background: var(--card); max-height: 70dvh; width: 100%; overflow: hidden; } .shop-hero img { width: 100%; height: 100%; object-fit: cover; display: block; } @media (min-width: 900px) { .shop-hero { border-radius: 20px; border: 1px solid var(--line); } }
.shop-back { position: absolute; top: 10px; left: 10px; background: #000a; backdrop-filter: blur(6px); } @media (min-width: 900px) { .shop-back { display: none; } }
.shop-info { padding: 16px 14px 28px; display: flex; flex-direction: column; gap: 12px; } @media (min-width: 900px) { .shop-info { padding: 4px 0; } } .shop-info h2 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; } .shop-desc { color: var(--mut); line-height: 1.5; margin: 0; }
.model-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; } .model-row::-webkit-scrollbar { display: none; }
.model { flex: none; width: 78px; display: flex; flex-direction: column; gap: 5px; align-items: center; background: none; border: 0; color: var(--mut); font-size: 11px; font-weight: 700; padding: 0; } .model img { width: 78px; height: 90px; object-fit: cover; border-radius: 12px; border: 2px solid var(--line); } .model span { max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .model.on img { border-color: var(--orange); } .model.on { color: #fff; }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; } .size { min-width: 54px; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--card2); border: 1.5px solid var(--line2); color: #fff; font-weight: 800; font-size: 15px; } .size.on { background: var(--orange); border-color: var(--orange); }
.shop-form { margin-top: 6px; } .qty-row { display: flex; align-items: center; gap: 12px; } .qty-row > span { color: var(--mut); font-weight: 600; flex: 1; } .shop-total { font-size: 18px; min-width: 70px; text-align: right; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--card2); border-radius: 12px; border: 1px solid var(--line2); } .qty button { width: 40px; height: 40px; background: none; border: 0; color: #fff; font-size: 20px; font-weight: 700; } .qty b { min-width: 24px; text-align: center; }
.order-ok { display: flex; flex-direction: column; gap: 12px; text-align: center; align-items: stretch; padding-bottom: 6px; } .order-ok h3 { margin: 0; font-size: 22px; } .order-ok p { margin: 0; } .ok-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; margin: 4px auto 0; }
.order-card { display: flex; gap: 12px; align-items: center; text-align: left; background: var(--card2); border-radius: 14px; padding: 10px; } .order-card img { width: 64px; height: 74px; object-fit: cover; border-radius: 10px; } .order-card div { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .order-card small { color: var(--mut); }
.ord { display: flex; gap: 12px; align-items: center; padding: 12px 14px; } .ord img { width: 56px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; background: var(--card2); } .ord-r { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.ord-img { width: 60px; height: 70px; object-fit: cover; border-radius: 10px; flex: none; background: var(--card2); } .buyer { align-items: center; margin-top: 4px; }
.pf-list { display: flex; flex-direction: column; gap: 8px; } .pf-row { display: flex; gap: 10px; align-items: center; background: var(--card2); border-radius: 12px; padding: 8px; } .pf-row img { width: 48px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; } .pf-row input { flex: 1; min-width: 0; }
.share-card.order { min-width: 230px; } .share-card.order div { display: flex; flex-direction: column; gap: 1px; min-width: 0; } .share-card.order img { width: 56px; height: 64px; object-fit: cover; border-radius: 9px; }
.shop-pr { align-items: center; gap: 6px; } .shop-pr .chip { flex: none; }
.stock-box { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 74px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--line2); background: var(--card2); } .stock-box b { font-size: 24px; font-weight: 900; line-height: 1; } .stock-box small { color: var(--mut); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.stock-box.ok { border-color: #22c55e; background: #22c55e1a; } .stock-box.ok b { color: #4ade80; } .stock-box.low, .stock-box.out { border-color: #ef4444; background: #ef44441a; } .stock-box.low b, .stock-box.out b { color: #f87171; }
.stock-adj { display: flex; gap: 6px; margin: 2px 0; } .stock-adj button { width: 30px; height: 30px; border-radius: 9px; background: var(--card); border: 1px solid var(--line2); color: #fff; font-size: 17px; font-weight: 700; }
.stock-help { margin: -4px 0 0; } button.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---- pedidos: seguimiento y pago */
.ord2 { margin-bottom: 12px; padding-bottom: 12px; display: flex; flex-direction: column; gap: 10px; } .ord2 .ord { padding: 12px 14px 0; } .ord2 > :not(.ord) { margin-inline: 14px; }
.track { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; } .track span { display: flex; flex-direction: column; align-items: center; gap: 5px; position: relative; color: var(--mut2); } .track small { font-size: 10px; font-weight: 700; text-align: center; }
.track i { width: 14px; height: 14px; border-radius: 50%; background: var(--card2); border: 2px solid var(--line2); position: relative; z-index: 1; } .track span:not(:first-child)::before { content: ''; position: absolute; top: 6px; right: 50%; width: 100%; height: 2px; background: var(--line2); }
.track span.done { color: #fff; } .track span.done i { background: var(--orange); border-color: var(--orange); } .track span.done::before { background: var(--orange) !important; } .track span.now i { box-shadow: 0 0 0 4px var(--orange-a); } .track span.now small { color: var(--orange2); }
.ready { background: #22c55e1f; border: 1px solid #22c55e66; color: #4ade80; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; } .ready small { color: #bbf7d0; font-size: 13px; }
.snote { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--mut); background: var(--card2); border-radius: 10px; padding: 8px 10px; } .snote.bad { color: #f87171; background: #ef44441a; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.proof-img { width: 100%; max-height: 60dvh; object-fit: contain; border-radius: 12px; background: #000; display: block; margin-bottom: 10px; }
.proof-th { flex: none; width: 54px; height: 64px; padding: 0; border: 1px solid var(--line2); border-radius: 9px; overflow: hidden; background: var(--card2); } .proof-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pay-info { background: var(--card2); border-radius: 12px; padding: 10px 12px; } .pay-info p { margin: 4px 0 0; line-height: 1.45; white-space: pre-wrap; }
.state-list { display: flex; flex-direction: column; gap: 8px; } .state-opt { display: flex; gap: 10px; align-items: center; background: var(--card2); border: 1.5px solid var(--line2); border-radius: 12px; padding: 10px 12px; cursor: pointer; } .state-opt input { flex: none; width: 20px; height: 20px; accent-color: var(--orange); } .state-opt span { display: flex; flex-direction: column; } .state-opt small { color: var(--mut); } .state-opt:has(input:checked) { border-color: var(--orange); background: var(--orange-a); }
.proof-drop { min-height: 150px; }

/* ---- rutinas */
.rt-filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; } .rt-filters::-webkit-scrollbar { display: none; }
.rt-filters .pill-f { flex: none; padding: 7px 13px; border-radius: 999px; background: var(--card2); border: 1px solid var(--line2); color: var(--mut); font-weight: 700; font-size: 13px; } .rt-filters .pill-f.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.rt-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; margin-bottom: 12px; position: relative; overflow: hidden; } .rt-card b.t { font-size: 17px; letter-spacing: -.01em; } .rt-card p { margin: 0; color: var(--mut); font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rt-meta { display: flex; flex-wrap: wrap; gap: 6px; } .rt-stats { display: flex; gap: 14px; color: var(--mut); font-size: 13px; font-weight: 600; flex-wrap: wrap; } .rt-stats span { display: inline-flex; gap: 5px; align-items: center; }
.today-card { background: linear-gradient(135deg, var(--orange-a), var(--card)); border: 1px solid #ff5a1f66; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; } .today-card small.k { color: var(--orange2); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; } .today-card h3 { margin: 0; font-size: 19px; } .today-card ul { margin: 0; padding-left: 18px; color: var(--mut); font-size: 14px; line-height: 1.5; }
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; } .day-tabs::-webkit-scrollbar { display: none; } .day-tabs button { flex: none; padding: 9px 14px; border-radius: 12px; background: var(--card2); border: 1.5px solid var(--line2); color: var(--mut); font-weight: 800; font-size: 13px; } .day-tabs button.on { background: var(--orange); border-color: var(--orange); color: #fff; } .day-tabs button.next:not(.on) { border-color: var(--orange); color: var(--orange2); }
.ex-list { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 12px; } .ex { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; } .ex .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange-a); color: var(--orange2); display: grid; place-items: center; font-weight: 800; font-size: 13px; } .ex .g { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .ex .g b { font-size: 15px; } .ex .g small { color: var(--mut); } .ex .sr { flex: none; text-align: right; font-weight: 900; font-size: 17px; white-space: nowrap; } .ex .sr small { display: block; color: var(--mut); font-weight: 600; font-size: 12px; }
.rd-day { background: var(--card2); border-radius: 14px; padding: 10px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 8px; } .rd-ex { display: grid; grid-template-columns: 1fr 52px 62px 62px 30px; gap: 6px; align-items: center; } .rd-ex input { min-width: 0; padding: 9px 8px; font-size: 14px; } .rd-head { display: grid; grid-template-columns: 1fr 52px 62px 62px 30px; gap: 6px; color: var(--mut); font-size: 11px; font-weight: 700; padding: 0 2px; }
.rt-cta { display: flex; flex-direction: column; gap: 6px; }
.form .state-opt, .state-opt { flex-direction: row; align-items: center; gap: 12px; } .state-opt input[type=radio] { appearance: auto; width: 20px; height: 20px; padding: 0; margin: 0; flex: none; } .state-opt span { flex: 1; text-align: left; }
