/* Zone Graphix · Panel de Clientes — tokens tomados de zonegraphix.com */
:root {
  --blue-1: #006799; --blue-2: #1c93d1; --blue-3: #2ea3f2; --blue-brand: #006197;
  --blue-grad: linear-gradient(90deg, #006799 0%, #1c93d1 100%);
  --blue-grad-2: linear-gradient(96deg, #2b87da 0%, #006197 100%);
  --navy: #0b1c35; --navy-2: #12294a; --paper: #f2f2f2; --mist: #f6f8f9;
  --orange: #ff5a00; --orange-grad: linear-gradient(135deg, #ff7a18 0%, #ff4d00 100%);
  --red: #e42d12; --ink: #666666; --heading: #0b1c35; --line: #e8e8e8;
  --radius: 6px; --r12: 12px; --r16: 16px;
  --shadow-card: 0 18px 40px -18px rgba(11, 28, 53, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ff: "Poppins", Helvetica, Arial, sans-serif;
  --ff-title: "Schibsted Grotesk", "Poppins", Helvetica, Arial, sans-serif;
  --ff-mono: "Courier Prime", "Courier New", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-title); color: var(--heading); line-height: 1.12; letter-spacing: -.02em; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* Header */
.hdr { background: var(--navy); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.06); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.hdr .logo img { height: 38px; width: auto; }
.hdr nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; color: #fff; }
.hdr nav a { opacity: .8; transition: opacity .2s; } .hdr nav a:hover { opacity: 1; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 14px; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; z-index: 0; }
.btn--orange { background: var(--orange-grad); color: #fff; }
.btn--orange:hover { box-shadow: 0 18px 34px -12px rgba(255, 90, 0, .85); transform: translateY(-2px); }
.btn--blue { background: var(--blue-grad); color: #fff; }
.btn--blue:hover { box-shadow: 0 18px 34px -12px rgba(0, 97, 151, .8); transform: translateY(-2px); }
.btn--ghost { border: 2px solid var(--heading); color: var(--heading); padding: 12px 26px; }
.btn--ghost:hover { background: var(--heading); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 13px; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url(/assets/hero.jpg) center/cover; opacity: .16; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, var(--navy) 35%, rgba(11,28,53,.55)); }
.hero .wrap { position: relative; z-index: 1; padding: 96px 0 104px; max-width: 900px; margin-left: max(24px, calc((100% - 1180px) / 2)); }
.eyebrow { font-family: var(--ff-mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-3); font-weight: 700; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--orange); border-radius: 2px; }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 72px); font-weight: 800; margin: 20px 0 22px; }
.hero h1 em { font-style: normal; background: var(--orange-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; max-width: 560px; color: rgba(255,255,255,.78); }

/* Secciones */
.sec { padding: 88px 0; } .sec--mist { background: var(--mist); }
.sec-h { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-h h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-top: 10px; }
.sec-h p { max-width: 440px; }

/* Tarjetas cliente */
.grid { display: grid; gap: 24px; }
.grid--clients { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.ccard { background: #fff; border-radius: var(--r16); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.ccard:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -18px rgba(11,28,53,.35); }
.ccard__top { height: 150px; position: relative; display: flex; align-items: flex-end; padding: 20px 24px; }
.ccard__top::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 0%, rgba(255,255,255,.22), transparent 55%); }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-title); font-weight: 800; color: #fff; font-size: 22px; border: 3px solid #fff; position: relative; z-index: 1; flex: none; }
.ccard__top .avatar { width: 72px; height: 72px; font-size: 24px; transform: translateY(46px); background: var(--navy); }
.ccard__body { padding: 58px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ccard__body h3 { font-size: 22px; font-weight: 800; }
.ccard__body .cat { font-size: 13px; color: var(--ink); }
.ccard__body .btn { margin-top: 18px; align-self: flex-start; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(28,147,209,.12); color: var(--blue-brand); }
.tag--demo { background: rgba(255,90,0,.12); color: var(--orange); }
.tag--ok { background: rgba(13,193,82,.14); color: #0a8f3d; }

/* Meses */
.crumbs { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 18px; } .crumbs a:hover { color: #fff; }
.chead { display: flex; align-items: center; gap: 24px; }
.chead .avatar { width: 92px; height: 92px; font-size: 30px; }
.grid--months { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.mcard { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r16); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.mcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--orange-grad); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.mcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: transparent; } .mcard:hover::before { transform: scaleY(1); }
.mcard .yr { font-family: var(--ff-mono); font-weight: 700; color: var(--blue-2); letter-spacing: .12em; font-size: 13px; }
.mcard h3 { font-size: 30px; font-weight: 800; margin: 6px 0 14px; }
.mcard .lock { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--blue-brand); }

/* Modal PIN */
.overlay { position: fixed; inset: 0; background: rgba(11,28,53,.72); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.overlay.open { display: flex; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98) } to { opacity: 1; transform: none } }
.pin { background: #fff; border-radius: 20px; width: min(440px, 100%); padding: 40px 36px 34px; text-align: center; position: relative; animation: rise .35s var(--ease); }
.pin .x { position: absolute; top: 14px; right: 16px; font-size: 26px; color: var(--ink); width: 36px; height: 36px; border-radius: 50%; } .pin .x:hover { background: var(--mist); }
.pin .ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--blue-grad); display: grid; place-items: center; color: #fff; }
.pin h3 { font-size: 26px; font-weight: 800; } .pin p { font-size: 14px; margin: 8px 0 26px; }
.otp { display: flex; gap: 10px; justify-content: center; }
.otp input { width: 52px; height: 62px; text-align: center; font-family: var(--ff-title); font-size: 28px; font-weight: 800; color: var(--heading); border: 2px solid var(--line); border-radius: 12px; outline: none; transition: border-color .2s, box-shadow .2s; }
.otp input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(28,147,209,.15); }
.otp.err input { border-color: var(--red); animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px) } 40%, 80% { transform: translateX(6px) } }
.pin .msg { min-height: 22px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--red); }
.pin .btn { width: 100%; justify-content: center; margin-top: 8px; }
.pin small { display: block; margin-top: 18px; font-size: 12px; color: #999; }

/* ====== Panel Instagram ====== */
.ig-bar { background: var(--navy); color: #fff; }
.ig-bar .wrap { padding: 26px 0 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.ig-bar h2 { color: #fff; font-size: 30px; font-weight: 800; }
.ig-bar .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.demo-note { background: rgba(255,90,0,.12); border: 1px dashed var(--orange); color: #b53d00; border-radius: var(--r12); padding: 12px 18px; font-size: 13px; margin: 28px auto 0; width: min(935px, 100% - 32px); }
.ig { width: min(935px, 100% - 32px); margin: 36px auto 80px; background: #fff; color: #262626; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; border: 1px solid #dbdbdb; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.ig *{ font-family: inherit; }
.ig-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid #efefef; font-weight: 600; font-size: 15px; }
.ig-top .lg { font-family: "Grand Hotel", "Brush Script MT", cursive; font-size: 26px; font-weight: 400; }
.ig-prof { padding: 30px 40px 10px; display: flex; gap: 70px; align-items: flex-start; }
.ig-av { width: 150px; height: 150px; border-radius: 50%; padding: 4px; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); flex: none; }
.ig-av > div { width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 44px; }
.ig-info { flex: 1; min-width: 0; }
.ig-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ig-row .un { font-size: 20px; font-weight: 400; }
.ig-b { background: #0095f6; color: #fff; font-weight: 600; font-size: 14px; padding: 7px 18px; border-radius: 8px; } .ig-b.g { background: #efefef; color: #262626; }
.ig-stats { display: flex; gap: 40px; margin: 20px 0; font-size: 16px; } .ig-stats b { font-weight: 600; }
.ig-bio { font-size: 14px; line-height: 1.45; white-space: pre-line; } .ig-bio .nm { font-weight: 600; display: block; } .ig-bio .cat { color: #737373; display: block; } .ig-bio a { color: #00376b; font-weight: 600; }
.ig-hl { display: flex; gap: 34px; padding: 22px 40px 28px; overflow-x: auto; }
.ig-hl div { text-align: center; font-size: 12px; font-weight: 600; flex: none; }
.ig-hl i { width: 70px; height: 70px; border-radius: 50%; border: 1px solid #dbdbdb; display: grid; place-items: center; margin: 0 auto 6px; padding: 3px; font-style: normal; }
.ig-hl i span { width: 100%; height: 100%; border-radius: 50%; display: block; opacity: .85; }
.ig-tabs { display: flex; justify-content: center; border-top: 1px solid #dbdbdb; gap: 8px; flex-wrap: wrap; }
.ig-tab { padding: 16px 22px; font-size: 12px; letter-spacing: .08em; font-weight: 600; text-transform: uppercase; color: #8e8e8e; border-top: 1px solid transparent; margin-top: -1px; display: flex; gap: 8px; align-items: center; }
.ig-tab.on { color: #262626; border-top-color: #262626; }
.ig-tools { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 6px; font-size: 13px; color: #737373; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; background: #efefef; border-radius: 8px; padding: 3px; } .seg button { padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; color: #737373; } .seg button.on { background: #fff; color: #262626; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 14px 0 0; }
.cell { position: relative; aspect-ratio: 3/4; background: #efefef; overflow: hidden; cursor: pointer; }
.cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cell:hover img { transform: scale(1.04); }
.cell .ov { position: absolute; inset: 0; background: rgba(0,0,0,.38); opacity: 0; transition: opacity .2s; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px; gap: 18px; }
.cell:hover .ov { opacity: 1; }
.cell .ic { position: absolute; top: 10px; right: 10px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.cell .no { position: absolute; left: 8px; bottom: 8px; background: rgba(11,28,53,.82); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.cell .dt { position: absolute; left: 8px; top: 8px; background: rgba(255,255,255,.92); color: #262626; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
/* Feed */
.feed { max-width: 470px; margin: 0 auto; padding: 18px 0 30px; display: flex; flex-direction: column; gap: 18px; }
.fpost { border-bottom: 1px solid #efefef; padding-bottom: 14px; }
.fh { display: flex; align-items: center; gap: 10px; padding: 10px 2px; font-size: 14px; font-weight: 600; } .fh .sm { width: 34px; height: 34px; font-size: 12px; font-weight: 800; border-radius: 50%; display: grid; place-items: center; color: #fff; } .fh span { color: #8e8e8e; font-weight: 400; }
.media { position: relative; background: #efefef; border-radius: 3px; overflow: hidden; aspect-ratio: 4/5; }
.media .track { display: flex; height: 100%; transition: transform .35s var(--ease); } .media .track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.media .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.88); display: grid; place-items: center; font-size: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.3); } .media .nav.l { left: 10px; } .media .nav.r { right: 10px; }
.media .cnt { position: absolute; top: 12px; right: 12px; background: rgba(26,26,26,.75); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.dots { display: flex; justify-content: center; gap: 4px; padding: 8px 0 0; } .dots i { width: 6px; height: 6px; border-radius: 50%; background: #c7c7c7; } .dots i.on { background: #0095f6; }
.acts { display: flex; gap: 16px; padding: 10px 0 2px; } .acts .sp { margin-left: auto; }
.fcap { font-size: 14px; line-height: 1.4; white-space: pre-line; } .fcap b { font-weight: 600; margin-right: 4px; } .fcap .ht { color: #00376b; }
.fdate { font-size: 11px; color: #8e8e8e; text-transform: uppercase; letter-spacing: .04em; margin-top: 8px; }
/* Calendario */
.cal { padding: 16px 16px 24px; }
.cal-h { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: 12px; font-weight: 600; color: #8e8e8e; margin-bottom: 6px; }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cd { aspect-ratio: 1/1.15; border-radius: 8px; background: #fafafa; border: 1px solid #efefef; padding: 6px; font-size: 12px; position: relative; overflow: hidden; }
.cd.has { cursor: pointer; border-color: #cfe6f5; background: #f1f8fd; } .cd.has:hover { box-shadow: 0 6px 16px -6px rgba(0,97,151,.5); }
.cd .n { font-weight: 700; color: #737373; } .cd img { position: absolute; inset: 22px 5px 5px; width: calc(100% - 10px); height: calc(100% - 27px); object-fit: cover; border-radius: 5px; }
.cd .bd { position: absolute; right: 7px; top: 5px; font-size: 10px; background: var(--orange); color: #fff; padding: 0 6px; border-radius: 999px; font-weight: 700; z-index: 1; }
/* Lista */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0 22px; } .tbl th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8e8e8e; padding: 10px 12px; border-bottom: 1px solid #dbdbdb; } .tbl td { padding: 10px 12px; border-bottom: 1px solid #efefef; vertical-align: middle; } .tbl tr { cursor: pointer; } .tbl tr:hover td { background: #f7fbfe; }
.tbl img { width: 42px; height: 52px; object-fit: cover; border-radius: 4px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #fff; }
.tblwrap { overflow-x: auto; padding: 0 14px; }

/* Modal post */
.pm { background: #fff; width: min(1080px, 100%); max-height: 92vh; border-radius: 6px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); overflow: hidden; position: relative; animation: rise .3s var(--ease); font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #262626; }
.pm .media { border-radius: 0; aspect-ratio: auto; height: min(92vh, 780px); }
.pm-side { display: flex; flex-direction: column; min-height: 0; max-height: 92vh; }
.pm-hd { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #efefef; font-weight: 600; font-size: 14px; } .pm-hd .sm { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; }
.pm-bd { flex: 1; overflow-y: auto; padding: 16px; font-size: 14px; line-height: 1.45; white-space: pre-line; } .pm-bd b { font-weight: 600; } .pm-bd .ht { color: #00376b; display: block; margin-top: 14px; }
.pm-ft { border-top: 1px solid #efefef; padding: 12px 16px 16px; } .pm-ft .acts { padding-top: 0; }
.pm-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; font-size: 12px; }
.pm-x { position: fixed; top: 16px; right: 22px; color: #fff; font-size: 34px; z-index: 5; line-height: 1; }
.pm-pn { position: fixed; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; font-size: 20px; z-index: 5; box-shadow: 0 2px 8px rgba(0,0,0,.3); } .pm-pn.l { left: 16px; } .pm-pn.r { right: 16px; }

/* Footer */
.ftr { background: var(--navy); color: rgba(255,255,255,.7); padding: 54px 0; font-size: 14px; }
.ftr .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; } .ftr img { height: 40px; }
.ftr .lg-f { filter: brightness(0) invert(1); }

.state { text-align: center; padding: 120px 20px; } .state h2 { font-size: 30px; margin-bottom: 12px; }
.loader { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--blue-2); animation: spin .8s linear infinite; margin: 0 auto; } @keyframes spin { to { transform: rotate(360deg) } }

@media (max-width: 800px) {
  .hdr nav { display: none; } .sec { padding: 56px 0; }
  .ig-prof { flex-direction: column; padding: 22px 18px 6px; gap: 18px; align-items: center; text-align: center; } .ig-av { width: 96px; height: 96px; } .ig-av > div { font-size: 28px; }
  .ig-row, .ig-stats { justify-content: center; } .ig-stats { gap: 22px; font-size: 14px; } .ig-hl { padding: 14px 18px 20px; gap: 18px; }
  .ig-tab { padding: 12px 10px; font-size: 11px; }
  .pm { grid-template-columns: 1fr; overflow-y: auto; } .pm .media { height: auto; aspect-ratio: 4/5; } .pm-side { max-height: none; }
  .pm-pn { display: none; } .otp input { width: 44px; height: 54px; }
  .cell .ov { display: none; }
}

/* Acceso por contraseña */
.login { min-height: calc(100vh - 76px - 130px); display: grid; place-items: center; padding: 60px 20px; background: var(--navy); position: relative; overflow: hidden; }
.login::before { content: ''; position: absolute; inset: 0; background: url(/assets/hero.jpg) center/cover; opacity: .14; }
.login::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, var(--navy) 30%, rgba(11,28,53,.6)); }
.login__card { position: relative; z-index: 1; background: #fff; border-radius: 20px; width: min(440px, 100%); padding: 40px 36px 30px; text-align: center; animation: rise .4s var(--ease); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.login__card .ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--blue-grad); display: grid; place-items: center; color: #fff; }
.login__av { width: 84px !important; height: 84px !important; font-size: 28px !important; margin: 0 auto 16px; }
.login__card h2 { font-size: 28px; font-weight: 800; margin: 10px 0 8px; } .login__card p { font-size: 14px; margin-bottom: 22px; }
.login__card .eyebrow::before { display: none; }
.login__card.shake { animation: shake .4s; }
.pw { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pw:focus-within { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(28,147,209,.15); }
.pw input { flex: 1; border: 0; outline: 0; padding: 15px 16px; font: 600 16px var(--ff); color: var(--heading); min-width: 0; letter-spacing: .02em; }
.pw button { padding: 0 16px; font-size: 12px; font-weight: 700; color: var(--blue-brand); text-transform: uppercase; letter-spacing: .06em; }
.login__card .msg { min-height: 22px; margin: 12px 0 6px; font-size: 13px; font-weight: 600; }
.login__card .btn { width: 100%; justify-content: center; }
.login__card small { display: block; margin-top: 18px; font-size: 12px; color: #999; }
/* Accesos (admin) */
.box { background: #fff; border-radius: var(--r16); box-shadow: var(--shadow-card); overflow: hidden; }
.arow { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.arow:last-child { border-bottom: 0; }
.ainfo { display: flex; align-items: center; gap: 14px; min-width: 0; } .ainfo b { display: block; color: var(--heading); font-family: var(--ff-title); font-size: 17px; } .ainfo span { font-size: 12px; color: var(--ink); word-break: break-all; }
.avatar.sm2 { width: 44px; height: 44px; font-size: 15px; border-width: 2px; }
.acts2 { display: flex; gap: 8px; flex-wrap: wrap; }
.newpw { margin-top: 22px; background: #fff; border: 2px dashed var(--orange); border-radius: var(--r12); padding: 18px 22px; font-size: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.newpw code { font-family: var(--ff-mono); font-size: 20px; font-weight: 700; color: var(--heading); letter-spacing: .05em; }
.hdr .logo:not([href]) { cursor: default; }

/* Meses: botones y bloqueados */
.mcard { cursor: default; }
.mbtns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.mcard--locked { background: var(--mist); border-style: dashed; opacity: .78; }
.mcard--locked:hover { transform: none; box-shadow: none; border-color: var(--line); } .mcard--locked::before { display: none; }
.mcard--locked h3 { color: #8a97a8; } .mcard--locked .lock { color: #8a97a8; }
/* Ads */
.ads-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start; }
.ad { cursor: pointer; transition: transform .3s var(--ease); } .ad:hover { transform: translateY(-5px); }
.ad__frame { background: #fff; border: 1px solid #dbdbdb; border-radius: 12px; overflow: hidden; color: #262626; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; box-shadow: var(--shadow-card); }
.ad__frame .fh { padding: 10px 14px; } .ad__frame .fh > div { line-height: 1.25; font-size: 14px; font-weight: 600; } .ad__frame .fh span { display: block; font-size: 12px; font-weight: 400; }
.ad__img { background: #efefef; } .ad__img img { width: 100%; height: 100%; object-fit: cover; } .ad__img.r4-5 { aspect-ratio: 4/5; } .ad__img.r1-1 { aspect-ratio: 1/1; }
.ad__cta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: #f0f2f5; font-size: 12px; } .ad__cta small { display: block; color: #65676b; text-transform: uppercase; } .ad__cta b { font-size: 14px; } .ad__cta span { background: #e4e6eb; padding: 7px 12px; border-radius: 6px; font-weight: 600; white-space: nowrap; }
.ad__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 13px; } .ad__meta b { color: var(--heading); font-family: var(--ff-title); font-size: 15px; }
.ad--story { display: flex; flex-direction: column; align-items: center; }
.phone { position: relative; width: min(300px, 100%); aspect-ratio: 9/16; border-radius: 34px; overflow: hidden; background: #000; border: 8px solid #12141a; box-shadow: var(--shadow-card); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.story-top { position: absolute; top: 0; left: 0; right: 0; padding: 12px 12px 30px; background: linear-gradient(rgba(0,0,0,.45), transparent); color: #fff; font-family: -apple-system, "Segoe UI", sans-serif; font-size: 12px; }
.story-top .bar { height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; margin-bottom: 10px; } .story-top .bar i { display: block; width: 45%; height: 100%; background: #fff; border-radius: 2px; }
.story-top .who { display: flex; align-items: center; gap: 8px; } .story-top .who .sm { width: 26px; height: 26px; font-size: 10px; } .story-top .who span { opacity: .8; }
.story-cta { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.92); color: #262626; font: 600 13px -apple-system, "Segoe UI", sans-serif; padding: 9px 20px; border-radius: 999px; white-space: nowrap; }
.ad--story .ad__meta { width: min(300px, 100%); }
.pm.adm { grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr); }
.adm__img { background: #0b1c35; display: grid; place-items: center; max-height: 92vh; } .adm__img img { max-width: 100%; max-height: 92vh; object-fit: contain; }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #efefef; font-size: 14px; } .kv span { color: #8e8e8e; } .kv--col { flex-direction: column; border-bottom: 0; } .kv--col p { color: #262626; white-space: pre-line; }
@media (max-width: 800px) { .adm__img { max-height: none; } }

/* Likes y comentarios simulados */
.lkbtn { display: inline-flex; padding: 0; transition: transform .15s var(--ease); } .lkbtn:active { transform: scale(.85); }
.lkbtn.on svg { fill: #ed4956; stroke: #ed4956; animation: pop .3s var(--ease); }
@keyframes pop { 50% { transform: scale(1.3); } }
.acts button { color: inherit; display: inline-flex; padding: 0; }
.lk { font-size: 14px; margin: 4px 0 6px; } .lk b { font-weight: 600; }
.fcm { font-size: 14px; margin-top: 2px; } .fcm b { font-weight: 600; }
.vall--t { display: block; color: #8e8e8e; font-size: 14px; margin: 6px 0 2px; padding: 0; }
.cmts { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; white-space: normal; }
.cm { display: flex; gap: 10px; align-items: flex-start; } .cm__av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; }
.cm__b { font-size: 14px; line-height: 1.4; min-width: 0; } .cm__b b { font-weight: 600; } .cm__m { font-size: 12px; color: #8e8e8e; margin-top: 3px; }
.cm--r { margin-top: 12px; } .cm--r .cm__av { width: 24px; height: 24px; font-size: 10px; }
.vf { font-style: normal; font-size: 10px; font-weight: 700; background: #efefef; color: #737373; padding: 1px 6px; border-radius: 4px; text-transform: uppercase; }
.cm__more { color: #8e8e8e; font-size: 13px; }
.addc { display: flex; align-items: center; gap: 8px; border-top: 1px solid #efefef; margin: 12px -16px -16px; padding: 10px 16px; }
.addc input { flex: 1; border: 0; outline: 0; font: 14px -apple-system, "Segoe UI", Roboto, sans-serif; color: #262626; min-width: 0; }
.addc button { color: #0095f6; font-weight: 600; font-size: 14px; }
/* Ads: reacciones estilo Facebook */
.rx { display: flex; justify-content: space-between; gap: 8px; padding: 8px 14px; font-size: 13px; color: #65676b; border-top: 1px solid #e4e6eb; flex-wrap: wrap; }
.rxi { letter-spacing: -2px; margin-right: 4px; }
.fbact { display: flex; justify-content: space-around; padding: 8px 6px; border-top: 1px solid #e4e6eb; font-size: 13px; font-weight: 600; color: #65676b; }
.ad__eng { margin-top: 6px; font-size: 13px; color: var(--ink); text-align: center; width: 100%; }

@media (max-width: 800px) { .pm.adm { grid-template-columns: 1fr; } .adm__img img { max-height: 70vh; } }
