/* PrivilegeFans v33 · módulo «tarifas» (T): tarifas y promociones, banner de la zona privada, ventana de suscripción, calendario y panel de Ajustes → Calendario.
 * Prefijo .tar-  ·  tokens del kit (--pfx-*). */

:root {
  --tar-yellow: #f3c13a; --tar-yellow-t: #4d3a00; --tar-green: #8fdc9f; --tar-green-t: #0d4d2a; --tar-blue: #4f86c6; --tar-salmon: #ee8f7e;
  --tar-bar: #edf1f7; --tar-line: #e1e8f0; --tar-soft: #f5f8fc;
}
.tar-hidden, [hidden].tar-sch-note { display: none !important; }

/* ═════════════════ pestaña «Tarifas y promociones» ═════════════════ */
.tar-tab { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.tar-menu { border-right: 1px solid var(--tar-line); padding: 18px 12px; background: #fbfcfe; display: grid; align-content: start; gap: 6px; }
.tar-mg-h { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 10px 10px; border-radius: 10px; font-weight: 800; font-size: 13.5px; color: var(--pfx-blue-2); text-align: left; cursor: pointer; }
.tar-mg-h > i:first-child { color: var(--pfx-gold-2); width: 18px; text-align: center; }
.tar-mg-h > span { flex: 1; }
.tar-chev { font-size: 11px; color: #8294a8; transition: transform .16s; }
.tar-mg.open .tar-chev { transform: rotate(180deg); }
.tar-mg-b { display: none; padding: 2px 0 8px 30px; }
.tar-mg.open .tar-mg-b { display: grid; gap: 2px; }
.tar-mg-b a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 13px; font-weight: 700; color: #4a6179; text-decoration: none; }
.tar-mg-b a:hover { background: #eef4fa; color: var(--pfx-blue); }
.tar-mg-b a.on { background: #e5eff9; color: var(--pfx-blue); box-shadow: inset 3px 0 0 var(--pfx-blue); }
.tar-main { padding: 22px 26px 30px; min-width: 0; }
.tar-h { margin: 0 0 14px; font-size: 20px; color: var(--pfx-blue-2); }
.tar-lead { margin: 0 0 14px; color: #51657b; font-size: 13.5px; line-height: 1.5; }
.tar-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--tar-bar); border-radius: 10px; padding: 12px 16px; margin: 20px 0 10px; font-weight: 800; font-size: 14px; color: var(--pfx-blue-2); }
.tar-bar > span { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.tar-bar > span > i { color: var(--pfx-blue); }
.tar-h + .tar-bar { margin-top: 4px; }
.tar-info { display: flex; gap: 9px; align-items: flex-start; margin: 0 0 14px; color: #4a6179; font-size: 12.5px; line-height: 1.5; }
.tar-info > i { color: var(--pfx-blue); margin-top: 2px; }
.tar-price-row { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 6px 0 4px; }
.tar-money { display: inline-flex; align-items: center; gap: 8px; }
.tar-money > input { width: 150px; border: 1px solid #dbe4ee; background: var(--ice, #fff); border-radius: 10px; padding: 10px 12px; min-height: 42px; text-align: center; font-weight: 800; font-size: 15px; color: var(--pfx-blue-2); outline: none; }
.tar-money > input:focus { border-color: #6fa2cf; box-shadow: 0 0 0 3px rgba(21, 76, 130, .1); }
.tar-money > input:disabled { background: #f3f6fa; color: #99a8b9; }
.tar-money > span { font-weight: 800; color: #5d7189; }
.tar-hint { display: block; text-align: center; color: var(--pfx-muted); font-size: 11.5px; margin-top: 2px; }
.tar-recv { margin: 8px 0 0; text-align: center; color: #3d556f; font-size: 12.5px; line-height: 1.5; }
.tar-recv b { color: var(--pfx-blue-2); }
.tar-err { text-align: center; margin: 6px 0 0; }
.tar-center { display: flex; justify-content: center; margin: 16px 0 6px; }
.tar-wide { min-width: 190px; }
.tar-warn { margin: 0 0 14px; }
.tar-main .pfx-btn.primary { min-height: 42px; }
.tar-sw.pfx-switch { flex: 0 0 auto; }

/* portada: cuadro punteado con la cámara + vista previa */
.tar-cover { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.tar-drop { border: 2px dashed #9db6d0; border-radius: 12px; background: #fbfdff; min-height: 150px; display: grid; place-items: center; cursor: pointer; transition: background .12s, border-color .12s; }
.tar-drop:hover { background: #f0f6fc; border-color: var(--pfx-blue); }
.tar-cam { width: 48px; height: 48px; border-radius: 50%; background: var(--pfx-blue); color: #fff; display: grid; place-items: center; font-size: 19px; box-shadow: 0 6px 16px rgba(21, 76, 130, .25); }
.tar-cover-prev { background: #f3f6fa; border-radius: 12px; overflow: hidden; display: grid; place-items: center; min-height: 150px; aspect-ratio: 16 / 6; }
.tar-cover-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tar-cover-prev img.logo { width: 96px; height: auto; object-fit: contain; opacity: .28; filter: grayscale(1); }

/* servicios exclusivos */
.tar-svc { margin-bottom: 14px; }
.tar-svc > .tar-bar { margin: 0; }
.tar-svc-body { display: none; padding: 14px 6px 4px; }
.tar-svc.on > .tar-svc-body { display: block; animation: tarOpen .18s ease; }
@keyframes tarOpen { from { opacity: 0; transform: translateY(-6px); } }
.tar-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.tar-col { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.tar-col > b { font-size: 13px; color: var(--pfx-blue-2); text-align: center; }
.tar-col > small { color: var(--pfx-muted); font-size: 11px; text-align: center; line-height: 1.35; }
.tar-col .tar-money { justify-content: center; }
.tar-col .tar-money > input { width: 100%; max-width: 160px; }
.tar-col select { border: 1px solid #dbe4ee; background: var(--ice, #fff); border-radius: 10px; padding: 10px 34px 10px 12px; min-height: 42px; width: 100%; max-width: 100%; font-weight: 800; color: var(--pfx-blue); outline: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--pfx-blue) 50%), linear-gradient(135deg, var(--pfx-blue) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; text-align: center; text-align-last: center; }
.tar-col select:focus { border-color: #6fa2cf; box-shadow: 0 0 0 3px rgba(21, 76, 130, .1); }
.tar-out { display: grid; place-items: center; min-height: 42px; background: #e3eaf3; border-radius: 10px; font-weight: 900; color: var(--pfx-blue-2); font-size: 15px; padding: 0 10px; }
.tar-out.gain, .gain { color: #138a43; font-weight: 800; }
.tar-rest { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.tar-rest > b { color: var(--pfx-blue-2); }
.tar-rest .tar-money > input { width: 110px; }

/* precio negociable */
.tar-neg { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin: 10px 0 4px; }
.tar-negsw { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--pfx-blue-2); }
.tar-negsw.off { opacity: .6; }
.tar-neg .tar-price-row { margin: 0; }

/* crear promoción */
.tar-pform { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; padding: 4px 4px 0; }
.tar-pform.dis { opacity: .6; }

/* tablas (promoción activa, historiales, packs, horarios) */
.tar-table { border-radius: 10px; overflow: hidden; background: var(--ice, #fff); border: 1px solid var(--tar-line); --cols: 5; }
.tar-table.has-x { --cols: 6; }
.tar-ptable { --cols: 4; }
.tar-stable { --cols: 3; }
.tar-th, .tar-tr, .tar-sr { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; align-items: center; padding: 11px 16px; text-align: center; font-size: 13px; }
.tar-table.has-x .tar-th, .tar-table.has-x .tar-tr { grid-template-columns: repeat(5, minmax(0, 1fr)) 44px; }
.tar-th { background: #f7f9fc; color: #8294a8; font-weight: 800; font-size: 12px; }
.tar-tr, .tar-sr { border-top: 1px solid #eef2f6; color: var(--pfx-blue-2); }
.tar-tr:nth-child(odd):not(.tar-th), .tar-sr:nth-child(even) { background: #fbfcfe; }
.tar-tr b { color: var(--pfx-blue); }
.tar-tr small { display: block; color: var(--pfx-muted); font-size: 11px; margin-top: 2px; }
.tar-tr select { border: 1px solid #dbe4ee; background: var(--ice, #fff); border-radius: 9px; padding: 7px 28px 7px 10px; font-weight: 800; color: var(--pfx-blue); appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--pfx-blue) 50%), linear-gradient(135deg, var(--pfx-blue) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; background-size: 4px 4px; background-repeat: no-repeat; max-width: 100%; }
.tar-tr select:focus { outline: none; border-color: #6fa2cf; }
.tar-x { display: grid; place-items: center; }
.tar-del { border: 0; background: transparent; color: #e5484d; font-size: 21px; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.tar-del:hover { background: #fdecec; }
.tar-sortbtn { border: 0; background: var(--ice, #fff); color: var(--pfx-blue); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(10, 34, 58, .12); }
.tar-sortbtn:hover { background: #eef4fa; }
.tar-more { text-align: center; padding: 12px 0 2px; }
.tar-hist .pfx-empty, .tar-main > .pfx-empty { padding: 26px 12px; }
.tar-pr.on { background: #f3f9ff !important; }
.tar-act { display: flex; justify-content: center; }

/* tabla de horarios */
.tar-set { padding: 4px 2px 20px; }
.tar-set-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 4px 0 6px; }
.tar-set-grid .tar-col { text-align: left; }
.tar-set-grid .tar-col > b { text-align: left; }
.tar-set-grid select { text-align: left; text-align-last: left; }
.tar-set-add { margin: 22px 0 12px; }
.tar-sr { grid-template-columns: 130px minmax(0, 1fr) 44px; text-align: left; }
.tar-stable .tar-th { grid-template-columns: 130px minmax(0, 1fr) 44px; text-align: left; }
.tar-sr .d { font-weight: 800; }
.tar-sr .h { line-height: 1.5; text-align: center; font-weight: 700; }
.tar-th span:nth-child(2) { text-align: center; }
.tar-na { color: #6b7d92; font-weight: 800; } .tar-na.soft { font-weight: 600; color: #9aa9ba; }
.tar-kebab { border: 0; background: transparent; width: 34px; height: 34px; border-radius: 50%; color: #5d7189; cursor: pointer; }
.tar-kebab:hover { background: #eef3f8; color: var(--pfx-blue); }
.tar-schf-top { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 14px; }
.tar-schf .tar-col > b { text-align: left; }
.tar-schf select { text-align: left; text-align-last: left; }
.tar-radio { display: flex; align-items: flex-start; gap: 9px; margin: 6px 0 2px; cursor: pointer; color: var(--pfx-blue-2); font-weight: 700; font-size: 13.5px; }
.tar-radio input { accent-color: var(--pfx-blue); width: 17px; height: 17px; margin-top: 2px; }
.tar-radio small { display: block; color: var(--pfx-muted); font-weight: 600; font-size: 11px; }
.tar-rg { display: grid; grid-template-columns: 1fr 1fr 40px; gap: 12px; align-items: end; margin-bottom: 10px; }
.tar-rg-x { border: 0; background: #f1f5f9; color: #6b7d92; width: 40px; height: 42px; border-radius: 10px; cursor: pointer; }
.tar-rg-x:hover { background: #fdecec; color: #e5484d; }
.tar-rg-act { display: flex; gap: 18px; flex-wrap: wrap; margin: 4px 0 8px; }

/* ═════════════════ banner de la zona privada ═════════════════ */
.tar-host { display: grid; gap: 14px; margin: 0 0 14px; }
.tar-skel { text-align: center; padding: 28px 12px; color: var(--pfx-muted); background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 14px; }
.tar-skel.err { color: var(--pfx-bad); }
.tar-bwrap { background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 16px; padding: 14px; box-shadow: 0 4px 18px rgba(15, 54, 84, .05); }
.tar-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 12px; overflow: hidden; min-height: 210px; color: #fff; background: linear-gradient(135deg, #17599a, #0f3654); isolation: isolate; }
.tar-banner.promo { color: #4a3300; background: linear-gradient(180deg, #f6f0c4 0%, #e8d487 55%, #cfa645 100%); }
.tar-b-img { position: relative; background-size: cover; background-position: center top; clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); min-height: 210px; }
.tar-b-img.empty { display: grid; place-items: center; background: linear-gradient(135deg, #1b5d9f, #0f3654); }
.tar-b-img.empty img { width: 90px; opacity: .85; }
.tar-banner.promo .tar-b-img.empty { background: linear-gradient(135deg, #e9d68c, #c99d3d); }
.tar-b-img::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 4px; background: rgba(21, 76, 130, .55); transform: skewX(-9deg) translateX(-18px); right: 0; opacity: 0; }
.tar-b-body { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 18px 22px; text-align: center; gap: 4px; position: relative; }
.tar-b-main { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; }
.tar-b-main h3 { margin: 0; font-family: 'Sansita Swashed', 'Lato', cursive; font-size: 34px; line-height: 1.05; font-weight: 700; letter-spacing: .01em; }
.tar-b-main p { margin: 0 0 6px; font-size: 13.5px; opacity: .92; }
.tar-banner.promo .tar-b-main h3 { color: #12456f; }
.tar-b-price { font-size: 17px; margin: 4px 0 2px; }
.tar-b-price b { font-size: 24px; font-weight: 900; letter-spacing: .01em; }
.tar-b-old { font-size: 12px; opacity: .75; }
.tar-b-btn { margin-top: 10px; min-height: 36px; padding: 0 28px; background: transparent; border: 1.5px solid rgba(255, 255, 255, .85); color: #fff; border-radius: 9px; font-size: 13px; min-width: 150px; }
.tar-b-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .14); }
.tar-b-btn.cfg { background: #154c82; border-color: #154c82; color: #fff; }
.tar-b-btn.done { opacity: .85; cursor: default; }
.tar-banner.promo .tar-b-btn { background: #154c82; border-color: #154c82; color: #fff; }
.tar-banner.promo .tar-b-btn:hover:not(:disabled) { background: #0f3b66; }
.tar-banner.promo .tar-b-btn.done { background: rgba(21, 76, 130, .75); }
.tar-star { position: relative; display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 2px; }
.tar-star > i { font-size: 52px; color: #f4c430; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25)); background: none; }
.tar-star > em { position: absolute; font-style: normal; font-weight: 900; font-size: 11.5px; color: #3a2a00; top: 50%; left: 50%; transform: translate(-50%, -40%); }
.tar-cd { position: absolute; top: 12px; right: 14px; display: flex; gap: 5px; z-index: 2; }
.tar-cd > span { display: grid; justify-items: center; gap: 2px; }
.tar-cd b { background: #154c82; color: #fff; min-width: 30px; text-align: center; border-radius: 6px; padding: 5px 4px; font-size: 14px; line-height: 1; font-variant-numeric: tabular-nums; }
.tar-cd small { font-size: 8px; color: #6b5b2a; font-weight: 700; }
.tar-banner.promo .tar-b-body { padding-top: 54px; }

.tar-packs { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 12px; }
.tar-packs.n1 { --n: 1; } .tar-packs.n2 { --n: 2; } .tar-packs.n3 { --n: 3; } .tar-packs.n4 { --n: 4; }
.tar-pack { position: relative; border-radius: 10px; color: #fff; text-align: center; padding: 16px 12px 18px; background: linear-gradient(160deg, #1a62a8, #0f3b66); display: flex; flex-direction: column; align-items: center; gap: 3px; overflow: hidden; min-height: 168px; justify-content: center; cursor: default; transition: transform .14s, box-shadow .14s; }
.tar-pack[data-x="tar-sub"] { cursor: pointer; }
.tar-pack[data-x="tar-sub"]:hover, .tar-pack[data-x="tar-sub"]:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15, 54, 84, .3); outline: none; }
.tar-pack h4 { margin: 0; font-family: 'Sansita Swashed', 'Lato', cursive; font-size: 24px; font-weight: 700; line-height: 1.1; }
.tar-pack p { margin: 0; font-size: 11.5px; opacity: .9; }
.tar-pk-price { color: #f3d36a; font-size: 13px; margin-top: 4px; } .tar-pk-price b { font-size: 18px; }
.tar-pack s { font-size: 11px; opacity: .85; } .tar-pack small { font-size: 10.5px; opacity: .7; }
.tar-pack .tar-star { width: 44px; height: 44px; } .tar-pack .tar-star > i { font-size: 44px; } .tar-pack .tar-star > em { font-size: 10px; }
.tar-pk-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--ice, #fff); color: var(--pfx-blue); border: 1.5px solid #fff; min-height: 34px; font-size: 12.5px; padding: 0 18px; opacity: 0; transition: opacity .14s; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.tar-pack.own::after, .tar-pack[data-x="tar-sub"]::after { content: ""; position: absolute; inset: 0; background: rgba(5, 19, 34, .0); transition: background .14s; pointer-events: none; }
.tar-pack.own:hover::after, .tar-pack[data-x="tar-sub"]:hover::after, .tar-pack[data-x="tar-sub"]:focus-visible::after { background: rgba(5, 19, 34, .62); }
.tar-pack.own:hover .tar-pk-btn, .tar-pack[data-x="tar-sub"]:hover .tar-pk-btn, .tar-pack[data-x="tar-sub"]:focus-visible .tar-pk-btn, .tar-pack.own:focus-within .tar-pk-btn { opacity: 1; z-index: 2; pointer-events: auto; }
.tar-pack.own .tar-pk-btn { pointer-events: none; } .tar-pack.own:hover .tar-pk-btn, .tar-pack.own:focus-within .tar-pk-btn { pointer-events: auto; }
@media (hover: none) {
  .tar-pk-btn { opacity: 1; position: static; transform: none; margin-top: 8px; pointer-events: auto; box-shadow: none; min-height: 30px; padding: 0 14px; }
  .tar-pack.own::after, .tar-pack[data-x="tar-sub"]::after { display: none; }
}

/* ventana de suscripción */
.tar-sub .pfx-h4, .tar-sub h4 { margin: 16px 0 8px; font-size: 13px; color: var(--pfx-blue-2); text-transform: uppercase; letter-spacing: .04em; }
.tar-sub-head { display: flex; align-items: center; gap: 12px; }
.tar-sub-head img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.tar-sub-head div { flex: 1; min-width: 0; } .tar-sub-head b { display: block; color: var(--pfx-gold-2); font-size: 15px; } .tar-sub-head small { color: var(--pfx-blue); font-weight: 700; }
.tar-sub-promo { margin-top: 12px; }
.tar-plans { display: grid; gap: 8px; }
.tar-plan { display: flex; align-items: center; gap: 12px; border: 1.5px solid #dbe4ee; border-radius: 12px; padding: 12px 14px; cursor: pointer; background: var(--ice, #fff); transition: border-color .12s, background .12s; }
.tar-plan input { accent-color: var(--pfx-blue); width: 18px; height: 18px; flex: 0 0 auto; }
.tar-plan.on { border-color: var(--pfx-blue); background: #f2f8fe; }
.tar-plan .grow { flex: 1; min-width: 0; display: grid; gap: 1px; } .tar-plan .grow b { color: var(--pfx-blue-2); font-size: 14px; } .tar-plan .grow small { color: var(--pfx-muted); font-size: 11.5px; }
.tar-plan .pr { display: grid; justify-items: end; gap: 1px; } .tar-plan .pr b { font-size: 16px; color: var(--pfx-blue-2); } .tar-plan .pr s { font-size: 11.5px; color: #8a9bb0; } .tar-plan .pr em { font-style: normal; font-weight: 800; font-size: 11px; color: #138a43; background: #e7f6ed; border-radius: 99px; padding: 1px 8px; }
#tar-renew { margin-top: 14px; }
.tar-okgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 4px; text-align: left; }
.tar-kv { background: #f5f8fc; border-radius: 10px; padding: 9px 12px; display: grid; gap: 2px; min-width: 0; }
.tar-kv small { color: var(--pfx-muted); font-size: 11px; font-weight: 700; } .tar-kv b { color: var(--pfx-blue-2); font-size: 13.5px; overflow-wrap: anywhere; }

/* ventana de suscripción · diseños 2026 (09 y 25): tarjetas de planes reales, «Más popular», comparativa y pago */
.tar-sub-pop .pfx-pop-body { padding: 20px 24px 22px; background: #fbfcfe; }
.tar-sub2 .tar-sub-head { padding: 0 0 12px; border-bottom: 1px solid #e9eef4; }
.tar-sub2 .tar-sub-head b { color: #0B2D52; font-size: 16px; } .tar-sub2 .tar-sub-head small { color: var(--pfx-gold-2); }
.tar-sub-pd { margin-left: auto; font-size: 12px; font-weight: 800; color: #7a5a10; background: #fff8e7; border-radius: 99px; padding: 4px 10px; }
.tar-sub-h { margin: 18px 0 12px !important; font-size: 18px !important; color: #0B2D52 !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 900; }
.tar-pcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: stretch; }
.tar-pcs.n1 { grid-template-columns: minmax(0, 320px); justify-content: center; }
.tar-pc { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; background: #F3F7FC; border: 1.5px solid #E1EAF4; border-radius: 18px; padding: 26px 18px 18px; transition: transform .14s, box-shadow .14s, border-color .14s; }
.tar-pc:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(15, 54, 84, .08); }
.tar-pc.on { border-color: #9cc0e4; box-shadow: 0 0 0 3px rgba(21, 76, 130, .08); }
.tar-pc.pop { background: linear-gradient(180deg, #FFFBF0, #FDF8EE); border: 2px solid #E8C25A; box-shadow: 0 12px 30px rgba(177, 137, 55, .16); }
.tar-pc-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, #E2B53A, #B8891F); color: #fff; font-weight: 900; font-size: 12px; border-radius: 9px; padding: 5px 14px; white-space: nowrap; box-shadow: 0 6px 14px rgba(177, 137, 55, .3); }
.tar-pc-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--pfx-blue); background: var(--ice, #fff); box-shadow: 0 4px 12px rgba(15, 54, 84, .07); flex: 0 0 auto; }
.tar-pc.pop .tar-pc-ic { color: #B8891F; }
.tar-pc h4 { margin: 8px 0 0; font-size: 16px; color: #0B2D52; font-weight: 800; }
.tar-pc-price { display: flex; align-items: baseline; justify-content: center; gap: 3px; margin-top: 4px; } .tar-pc-price b { font-size: 28px; font-weight: 900; color: #0B2D52; letter-spacing: -.02em; } .tar-pc-price span { font-size: 14px; font-weight: 800; color: #0B2D52; }
.tar-pc-sub { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; min-height: 20px; } .tar-pc-sub s { color: #8a9bb0; font-size: 12.5px; } .tar-pc-sub em { font-style: normal; font-weight: 900; font-size: 11.5px; color: #138a43; background: #e7f6ed; border-radius: 99px; padding: 1px 8px; } .tar-pc-sub small { color: var(--pfx-muted); font-size: 12px; font-weight: 700; }
.tar-pc-list { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 8px; text-align: left; width: 100%; flex: 1; }
.tar-pc-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: #3C5068; line-height: 1.35; } .tar-pc-list li i { color: var(--pfx-blue); font-size: 12px; margin-top: 3px; } .tar-pc.pop .tar-pc-list li i { color: #B8891F; }
.tar-pc-btn { width: 100%; height: 44px; font-size: 14px; }
.tar-pc .pfx-btn.gold { background: linear-gradient(180deg, #E2B53A, #B8891F); color: #fff; box-shadow: 0 8px 18px rgba(177, 137, 55, .28); }
.tar-cmp { margin-top: 22px; }
.tar-cmp h4 { margin: 0 0 10px; font-size: 18px; color: #0B2D52; font-weight: 900; }
.tar-cmp-t { border: 1px solid #E9EEF4; border-radius: 14px; overflow: hidden; background: var(--ice, #fff); }
.tar-cmp-r { display: grid; grid-template-columns: minmax(0, 1fr) 130px 130px; align-items: center; border-top: 1px solid #F0F3F7; min-height: 44px; }
.tar-cmp-r:first-child { border-top: 0; } .tar-cmp-r.h { background: #fbfcfe; min-height: 40px; } .tar-cmp-r.h span { font-weight: 900; color: #0B2D52; font-size: 13px; }
.tar-cmp-r > span { padding: 8px 14px; font-size: 13.5px; color: #3C5068; } .tar-cmp-r > span:not(:first-child) { text-align: center; }
.tar-cmp-r > span:first-child { display: flex; align-items: center; gap: 10px; } .tar-cmp-r > span:first-child i { width: 26px; height: 26px; border-radius: 8px; background: #EEF3F9; color: var(--pfx-blue); display: grid; place-items: center; font-size: 12px; flex: 0 0 auto; }
.tar-yes { color: #159447; font-size: 15px; } .tar-no { color: #b6c2d0; } .tar-cmp-r small { color: var(--pfx-muted); font-size: 11.5px; font-weight: 700; }
.tar-cmp-note { margin: 10px 2px 0; color: var(--pfx-muted); font-size: 12px; display: flex; gap: 6px; align-items: center; }
.tar-sub-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.tar-sub2.pay .tar-sub-foot { justify-content: space-between; }
.tar-sub-back { margin: 14px 0 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.tar-sum { display: flex; align-items: center; gap: 14px; margin-top: 12px; background: var(--ice, #fff); border: 1.5px solid #E1EAF4; border-radius: 14px; padding: 14px 16px; }
.tar-sum > div { flex: 1; min-width: 0; display: grid; gap: 2px; } .tar-sum > div b { color: #0B2D52; font-size: 15px; } .tar-sum > div small { color: var(--pfx-muted); font-size: 12.5px; }
.tar-sum-pr { display: grid; justify-items: end; } .tar-sum-pr b { font-size: 22px; color: #0B2D52; font-weight: 900; } .tar-sum-pr s { color: #8a9bb0; font-size: 12px; }
.tar-pay-btn { min-width: 190px; height: 46px; font-size: 15px; background: linear-gradient(180deg, #E2B53A, #B8891F); color: #fff; box-shadow: 0 8px 18px rgba(177, 137, 55, .28); }
.tar-unavail { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; background: #fff8e7; border: 1px solid #f1dfae; border-radius: 14px; padding: 14px 16px; color: #6b4f0e; }
.tar-unavail-ic { width: 42px; height: 42px; border-radius: 50%; background: #fdecc0; color: #9a6b00; display: grid; place-items: center; font-size: 18px; flex: 0 0 auto; }
.tar-unavail b { display: block; color: #5c430b; font-size: 14.5px; } .tar-unavail p { margin: 3px 0 4px; font-size: 13px; line-height: 1.45; } .tar-unavail small { color: #8a6a1c; font-size: 12px; }
@media (max-width: 720px) {
  .tar-sub-pop .pfx-pop-body { padding: 16px 14px 18px; }
  .tar-pcs { grid-template-columns: minmax(0, 1fr); gap: 18px; } .tar-pc { padding: 22px 16px 16px; }
  .tar-cmp-r { grid-template-columns: minmax(0, 1fr) 76px 86px; } .tar-cmp-r > span { padding: 8px 8px; font-size: 12.5px; } .tar-cmp-r > span:first-child i { display: none; }
  .tar-sub-foot .pfx-btn { flex: 1; } .tar-pay-btn { min-width: 0; }
}

/* ═════════════════ calendario (calendario de contenido · diseños 2026: 41, 42 y 17) ═════════════════ */
:root {
  --tk-post: #EEE6FF; --tk-post-t: #6B4BC8; --tk-live: #FFF0E0; --tk-live-t: #C2640A; --tk-campaign: #E3F0FF; --tk-campaign-t: #1D5FA8;
  --tk-auction: #FFF6D6; --tk-auction-t: #8A6A1C; --tk-shop: #FFF9E8; --tk-shop-t: #EBB72A;
  --tk-ink: #0B2D52; --tk-text: #3C5068; --tk-muted: #6B7F95; --tk-line: #E9EEF4; --tk-soft: #EEF3F9;
}
.tar-cal { padding: 20px 22px 24px; }
.tar-cal-top { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin: 0 0 16px; }
.tar-cal-top h2 { margin: 0; font-size: 22px; font-weight: 900; color: var(--tk-ink); display: flex; align-items: center; gap: 10px; letter-spacing: -.01em; }
.tar-cal-top h2 i { color: var(--pfx-blue); font-size: 20px; }
.tar-cal-top p { margin: 0; color: var(--tk-muted); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; } .tar-cal-top p i { color: var(--pfx-gold-2); }
.tar-cal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.tar-cal-main { min-width: 0; }

/* cabecera: Hoy ‹ Octubre 2026 ›  ·  Mes | Semana | Lista */
.tar-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tar-cal-l { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tar-cal-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tar-today { height: 36px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--tk-line); background: var(--tk-soft); color: var(--pfx-blue); font-weight: 800; font-size: 13px; cursor: pointer; margin-right: 6px; }
.tar-today:hover { background: #e3ecf6; }
.tar-nav { width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--pfx-blue); font-size: 14px; display: grid; place-items: center; cursor: pointer; }
.tar-nav:hover { background: var(--tk-soft); }
.tar-cal-title { margin: 0; font-size: 22px; font-weight: 900; color: var(--tk-ink); letter-spacing: -.01em; min-width: 176px; text-align: center; white-space: nowrap; }
.tar-seg { background: var(--tk-soft); padding: 4px; border-radius: 12px; }
.tar-seg button { min-width: 82px; height: 34px; padding: 0 14px; color: var(--tk-text); font-size: 13px; }
.tar-seg button.on { background: var(--pfx-blue); color: #fff; box-shadow: 0 4px 12px rgba(21, 76, 130, .25); }
.tar-gear { width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--tk-soft); color: var(--pfx-blue); display: grid; place-items: center; cursor: pointer; }
.tar-gear:hover { background: #e3ecf6; }
.tar-addbtn { height: 38px; }

/* leyenda (en el creador, también filtra) */
.tar-legend { display: flex; gap: 8px 16px; flex-wrap: wrap; font-size: 12px; color: var(--tk-text); font-weight: 700; margin-top: 14px; }
.tar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tar-legend i, .tar-dots i, .tar-dp-row > i:first-child { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.tar-legend.own { display: grid; gap: 8px; }
.tar-lg-g { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; } .tar-lg-g > small { min-width: 74px; color: var(--tk-muted); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.tar-lg { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border: 1px solid var(--tk-line); border-radius: 99px; background: var(--ice, #fff); color: var(--tk-text); font-weight: 800; font-size: 12px; cursor: pointer; }
.tar-lg:hover { background: #f6f9fc; } .tar-lg.off { opacity: .5; text-decoration: line-through; background: #f7f9fb; } .tar-lg i { width: 10px; height: 10px; border-radius: 50%; }
.c-yellow { background: var(--tar-yellow); } .c-green { background: var(--tar-green); } .c-blue { background: var(--tar-blue); } .c-salmon { background: var(--tar-salmon); }
.k-post { background: var(--tk-post); color: var(--tk-post-t); } .k-live { background: var(--tk-live); color: var(--tk-live-t); } .k-campaign { background: var(--tk-campaign); color: var(--tk-campaign-t); }
.k-auction { background: var(--tk-auction); color: var(--tk-auction-t); } .k-shop { background: var(--tk-shop); color: var(--tk-shop-t); }
.tar-legend i.k-post, .tar-dots i.k-post { background: #9a7be6; } .tar-legend i.k-live, .tar-dots i.k-live { background: #f0a24b; } .tar-legend i.k-campaign, .tar-dots i.k-campaign { background: #5b9be0; }
.tar-legend i.k-auction, .tar-dots i.k-auction { background: #e3b93b; } .tar-legend i.k-shop, .tar-dots i.k-shop { background: #ECB82A; }
.tar-priv-hint { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; } .tar-priv-hint > span { flex: 1; min-width: 180px; }
.tar-tz { margin: 12px 0 0; color: var(--pfx-muted); font-size: 12px; } .tar-tz a { color: var(--pfx-blue); font-weight: 700; }

/* mes */
.tar-month { border: 1px solid var(--tk-line); border-radius: 14px; overflow: hidden; background: var(--ice, #fff); }
.tar-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: #fbfcfe; border-bottom: 1px solid var(--tk-line); }
.tar-dow span { text-align: center; padding: 10px 0; font-size: 12.5px; font-weight: 800; color: var(--tk-muted); text-transform: capitalize; }
.tar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.tar-day { position: relative; min-height: 118px; padding: 6px 6px 7px; border-right: 1px solid var(--tk-line); border-bottom: 1px solid var(--tk-line); background: var(--ice, #fff); display: flex; flex-direction: column; gap: 4px; cursor: pointer; outline: none; min-width: 0; }
.tar-day:nth-child(7n) { border-right: 0; } .tar-day:nth-last-child(-n+7) { border-bottom: 0; }
.tar-day:hover { background: #f9fbfe; } .tar-day:focus-visible { box-shadow: inset 0 0 0 2px var(--pfx-blue); }
.tar-day.out { background: #fbfcfd; } .tar-day.out .tar-dn { color: #c3cddb; }
.tar-day.today { background: #f2f7fd; } .tar-day.today .tar-dn { color: #fff; background: var(--pfx-blue); }
.tar-day.past:not(.today) .tar-dn { color: #a5b3c4; }
.tar-day.focus { box-shadow: inset 0 0 0 2px var(--pfx-gold); }
.tar-dn { align-self: flex-end; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; font-weight: 800; font-size: 12.5px; color: #5d7189; cursor: pointer; }
.tar-dn:hover { background: #e4eefa; } .tar-day.today .tar-dn:hover { background: #0f3b66; }
.tar-evs { display: grid; gap: 4px; min-width: 0; }
.tar-ev { position: relative; display: grid; gap: 1px; width: 100%; border: 0; text-align: left; border-radius: 9px; padding: 5px 8px 5px; line-height: 1.2; cursor: pointer; overflow: hidden; color: #fff; min-width: 0; }
.tar-ev b { display: block; font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tar-ev b i { font-size: 9.5px; margin-right: 4px; opacity: .85; }
.tar-ev small { font-size: 11px; font-weight: 700; opacity: .85; white-space: nowrap; }
.tar-ev.c-yellow, .tar-wk-ev.c-yellow { color: var(--tar-yellow-t); } .tar-ev.c-green, .tar-wk-ev.c-green { color: var(--tar-green-t); }
.tar-ev[class*="k-"]::after { content: ''; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; }
.tar-ev.sched { box-shadow: inset 0 0 0 1.5px currentColor; } .tar-ev.sched::after { opacity: 0; }
.tar-ev.failed { background: #fde8e8; color: #b42318; box-shadow: inset 0 0 0 1.5px #f0a5a5; }
.tar-ev.done { opacity: .78; }
.tar-ev:hover { filter: brightness(.96); } .tar-ev.focus, .tar-wk-ev.focus { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pfx-gold-2); animation: tarPulse 1.4s ease 2; }
@keyframes tarPulse { 50% { transform: scale(1.03); } }
.tar-more-ev { border: 0; background: transparent; color: var(--pfx-blue); font-weight: 800; font-size: 11.5px; padding: 1px 4px; text-align: left; cursor: pointer; }
.tar-dots { display: none; gap: 3px; justify-content: center; flex-wrap: wrap; }
.tar-dots i { width: 7px; height: 7px; border-radius: 50%; }

/* semana */
.tar-week { border: 1px solid var(--tk-line); border-radius: 14px; overflow: hidden; background: var(--ice, #fff); }
.tar-wk-top { display: grid; grid-template-columns: 56px repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--tk-line); }
.tar-wk-corner { padding: 8px 4px; font-size: 10.5px; color: #8294a8; text-align: center; display: grid; align-items: center; border-right: 1px solid var(--tk-line); }
.tar-wk-h { text-align: center; padding: 10px 2px; font-size: 12.5px; color: var(--tk-text); border-right: 1px solid var(--tk-line); } .tar-wk-h b { color: var(--tk-ink); text-transform: capitalize; } .tar-wk-h.today { background: #f2f7fd; } .tar-wk-h.today b { color: var(--pfx-blue); }
.tar-wk-ad { padding: 4px; display: grid; gap: 3px; align-content: start; min-height: 30px; border-right: 1px solid var(--tk-line); min-width: 0; } .tar-wk-ad.today { background: #f2f7fd; }
.tar-wk-ad .tar-ev { padding: 3px 7px; } .tar-wk-top.ad { background: #fcfdfe; }
.tar-wk-scroll { max-height: 600px; overflow: auto; position: relative; }
.tar-wk-body { display: grid; grid-template-columns: 56px repeat(7, minmax(0, 1fr)); position: relative; }
.tar-wk-g { border-right: 1px solid var(--tk-line); }
.tar-wk-t { height: 46px; font-size: 11px; color: #8294a8; text-align: right; padding: 0 6px; position: relative; } .tar-wk-t span { position: relative; top: -7px; }
.tar-wk-c { position: relative; border-right: 1px solid var(--tk-line); } .tar-wk-c:last-child { border-right: 0; }
.tar-wk-c.today { background: #f7fafe; } .tar-wk-c.past { background: #fbfcfd; }
.tar-wk-s { height: 46px; border-bottom: 1px solid #f0f3f7; }
.tar-week.own .tar-wk-c:not(.past) .tar-wk-s { cursor: pointer; } .tar-week.own .tar-wk-c:not(.past) .tar-wk-s:hover { background: rgba(21, 76, 130, .06); }
.tar-wk-evs { position: absolute; inset: 0; pointer-events: none; }
.tar-wk-ev { position: absolute; pointer-events: auto; border: 0; border-radius: 8px; padding: 3px 7px; text-align: left; cursor: pointer; overflow: hidden; display: flex; flex-direction: column; gap: 0; color: #fff; box-shadow: 0 1px 3px rgba(10, 34, 58, .12); }
.tar-wk-ev b { font-size: 11.5px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tar-wk-ev b i { font-size: 9.5px; margin-right: 3px; } .tar-wk-ev small { font-size: 10.5px; opacity: .9; white-space: nowrap; }
.tar-wk-ev.sched { box-shadow: inset 0 0 0 1.5px currentColor; } .tar-wk-ev.failed { background: #fde8e8; color: #b42318; }

/* lista */
.tar-list { display: grid; gap: 14px; }
.tar-list.empty { border: 1px dashed #d5e0ec; border-radius: 14px; padding: 18px; }
.tar-list-cta { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.tar-ld { border: 1px solid var(--tk-line); border-radius: 14px; overflow: hidden; background: var(--ice, #fff); }
.tar-ld h3 { margin: 0; padding: 10px 14px; background: #fbfcfe; border-bottom: 1px solid var(--tk-line); font-size: 13.5px; font-weight: 900; color: var(--tk-ink); display: flex; align-items: center; gap: 8px; }
.tar-ld h3 em { font-style: normal; font-size: 11px; font-weight: 900; color: #fff; background: var(--pfx-blue); border-radius: 99px; padding: 2px 9px; }
.tar-ld.past h3 { color: var(--tk-muted); }
.tar-ld-rows { display: grid; }
.tar-lr { display: grid; grid-template-columns: 58px 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; border: 0; border-top: 1px solid #f0f3f7; background: var(--ice, #fff); padding: 10px 14px; text-align: left; cursor: pointer; }
.tar-lr:first-child { border-top: 0; } .tar-lr:hover { background: #f8fbfe; }
.tar-lr-t { font-weight: 900; color: var(--tk-ink); font-size: 13.5px; }
.tar-lr-th { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; font-size: 17px; }
.tar-lr-th img { width: 100%; height: 100%; object-fit: cover; display: block; } .tar-lr-th[class*="c-"] { color: #fff; } .tar-lr-th.c-yellow { color: var(--tar-yellow-t); } .tar-lr-th.c-green { color: var(--tar-green-t); }
.tar-lr-x { display: grid; gap: 2px; min-width: 0; } .tar-lr-x b { color: var(--tk-ink); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tar-lr-x small { color: var(--tk-muted); font-size: 12px; font-weight: 700; }
.tar-lr.failed .tar-lr-x small { color: #b42318; }
.tar-lr-go { color: #aab6c6; font-size: 12px; }
.tar-tag { justify-self: start; font-style: normal; font-size: 11px; font-weight: 900; border-radius: 99px; padding: 2px 9px; display: inline-flex; align-items: center; gap: 4px; } .tar-tag i { font-size: 9.5px; }
.tar-tag.c-yellow { color: var(--tar-yellow-t); } .tar-tag.c-green { color: var(--tar-green-t); } .tar-tag.c-blue, .tar-tag.c-salmon { color: #fff; }

/* columna derecha: Próximos contenidos · Crear contenido */
.tar-cal-side { display: grid; gap: 16px; min-width: 0; }
.tar-side-card { border: 1px solid var(--tk-line); border-radius: 16px; background: var(--ice, #fff); padding: 16px; box-shadow: 0 4px 18px rgba(15, 54, 84, .05); }
.tar-side-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; } .tar-side-h h3 { margin: 0; font-size: 16px; font-weight: 900; color: var(--tk-ink); } .tar-side-h .pfx-link { font-size: 12.5px; }
.tar-up-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #f0f3f7; }
.tar-up-row:first-of-type { border-top: 0; padding-top: 0; }
.tar-up-th { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; font-size: 19px; }
.tar-up-th img { width: 100%; height: 100%; object-fit: cover; display: block; } .tar-up-th[class*="c-"] { color: #fff; } .tar-up-th.c-yellow { color: var(--tar-yellow-t); } .tar-up-th.c-green { color: var(--tar-green-t); }
.tar-up-tx { display: grid; gap: 2px; min-width: 0; } .tar-up-tx b { font-size: 13.5px; color: var(--tk-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tar-up-tx small { font-size: 12px; color: var(--tk-muted); font-weight: 700; }
.tar-up-tx .tar-tag { margin-top: 2px; }
.tar-up-row.failed .tar-up-tx small { color: #b42318; }
.tar-up-btn { height: 34px; padding: 0 12px; border: 1px solid #d9e6f3; border-radius: 10px; background: #f2f7fd; color: var(--pfx-blue); font-weight: 800; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.tar-up-btn:hover { background: #e5effa; }
.tar-up-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 8px 4px 4px; color: var(--tk-muted); font-size: 12.5px; }
.tar-up-empty > i { font-size: 26px; color: #a9bfd6; } .tar-up-empty b { color: var(--tk-ink); font-size: 14px; } .tar-up-empty .pfx-btn { margin-top: 6px; }
.tar-mklist { display: grid; gap: 8px; }
.tar-mkrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 0 14px 0 8px; border: 1px solid var(--tk-line); border-radius: 12px; background: var(--ice, #fff); cursor: pointer; text-align: left; transition: background .12s, border-color .12s; }
.tar-mkrow:hover { background: #f6f9fd; border-color: #d4e2f1; }
.tar-mkrow b { flex: 1; color: var(--tk-ink); font-size: 14px; font-weight: 800; } .tar-mkrow > i { color: #aab6c6; font-size: 12px; }
.tar-mk-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--tk-soft); color: var(--pfx-blue); display: grid; place-items: center; font-size: 15px; flex: 0 0 auto; }

/* consejos para crecer */
.tar-tips { margin-top: 22px; border: 1px solid var(--tk-line); border-radius: 16px; padding: 18px; background: #fbfcfe; }
.tar-tips > h3 { margin: 0 0 14px; font-size: 17px; font-weight: 900; color: var(--tk-ink); }
.tar-tips-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tar-tip { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--ice, #fff); border: 1px solid var(--tk-line); border-radius: 14px; padding: 16px; box-shadow: 0 4px 18px rgba(15, 54, 84, .04); }
.tar-tip h4 { margin: 2px 0 6px; font-size: 15px; font-weight: 900; color: var(--tk-ink); } .tar-tip p { margin: 6px 0 10px; color: var(--tk-text); font-size: 12.5px; line-height: 1.5; }
.tar-tip-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; }
.tar-tip-ic.gold { background: #fdf3d6; color: var(--pfx-gold-2); } .tar-tip-ic.blue { background: #e6f0fb; color: var(--pfx-blue); } .tar-tip-ic.rose { background: #FDF8EA; color: #EBB72A; } .tar-tip-ic.ok { background: #e7f6ed; color: var(--pfx-ok); }
.tar-tip-miss { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; } .tar-tip-miss li { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #7a5a10; background: #fff8e7; border: 1px solid #f1dfae; border-radius: 99px; padding: 4px 10px; }
.tar-tip-sts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
.tar-tip-st { background: var(--tk-soft); border-radius: 10px; padding: 7px 8px; display: grid; gap: 1px; min-width: 0; } .tar-tip-st b { font-size: 15px; color: var(--tk-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tar-tip-st small { font-size: 10.5px; color: var(--tk-muted); font-weight: 800; }

/* ventanas del calendario */
.tar-row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.tar-evform .pfx-field { margin-bottom: 12px; } .tar-evform .pfx-field > label small { font-weight: 600; color: var(--pfx-muted); }
.tar-evform input.pfx-date { background-image: none; padding-right: 36px; }
.tar-detail { display: grid; gap: 12px; }
.tar-ev-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; justify-self: center; font-size: 22px; color: #fff; }
.tar-ev-ic.c-yellow { color: var(--tar-yellow-t); } .tar-ev-ic.c-green { color: var(--tar-green-t); }
.tar-camp-t { margin: 0; text-align: center; font-weight: 900; color: var(--tk-ink); font-size: 15px; }
.tar-kvs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tar-box { background: #f5f8fc; border-radius: 10px; padding: 11px 13px; } .tar-box small { color: var(--pfx-muted); font-weight: 700; font-size: 11.5px; } .tar-box p { margin: 4px 0 0; color: #35506b; font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.tar-earn { background: var(--pfx-blue); color: #fff; border-radius: 10px; padding: 11px 14px; font-size: 13px; font-weight: 700; display: flex; gap: 8px; align-items: center; } .tar-earn b { color: #f6d46a; }
.tar-nick { color: var(--pfx-gold-2); font-weight: 800; } .tar-handle { color: var(--pfx-blue); font-weight: 700; }
.tar-dp-list { display: grid; gap: 6px; }
.tar-dp-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--tar-line); background: var(--ice, #fff); border-radius: 10px; padding: 10px 12px; text-align: left; cursor: pointer; }
.tar-dp-row:hover { background: #f3f8fd; } .tar-dp-row > span { flex: 1; min-width: 0; display: grid; } .tar-dp-row b { font-size: 13.5px; color: var(--pfx-blue-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tar-dp-row small { color: var(--pfx-muted); font-size: 11.5px; }
.tar-dp-row > i:last-child { color: #aab6c6; font-size: 12px; }
.tar-dp-row > i.k-post { background: #9a7be6; } .tar-dp-row > i.k-live { background: #f0a24b; } .tar-dp-row > i.k-campaign { background: #5b9be0; } .tar-dp-row > i.k-auction { background: #e3b93b; } .tar-dp-row > i.k-shop { background: #ECB82A; }

/* colores del contenido (pastel, como en el diseño) sobre las etiquetas, miniaturas e iconos */
.tar-ev.k-post, .tar-wk-ev.k-post, .tar-tag.k-post, .tar-lr-th.k-post, .tar-up-th.k-post, .tar-ev-ic.k-post { background: var(--tk-post); color: var(--tk-post-t); }
.tar-ev.k-live, .tar-wk-ev.k-live, .tar-tag.k-live, .tar-lr-th.k-live, .tar-up-th.k-live, .tar-ev-ic.k-live { background: var(--tk-live); color: var(--tk-live-t); }
.tar-ev.k-campaign, .tar-wk-ev.k-campaign, .tar-tag.k-campaign, .tar-lr-th.k-campaign, .tar-up-th.k-campaign, .tar-ev-ic.k-campaign { background: var(--tk-campaign); color: var(--tk-campaign-t); }
.tar-ev.k-auction, .tar-wk-ev.k-auction, .tar-tag.k-auction, .tar-lr-th.k-auction, .tar-up-th.k-auction, .tar-ev-ic.k-auction { background: var(--tk-auction); color: var(--tk-auction-t); }
.tar-ev.k-shop, .tar-wk-ev.k-shop, .tar-tag.k-shop, .tar-lr-th.k-shop, .tar-up-th.k-shop, .tar-ev-ic.k-shop { background: var(--tk-shop); color: var(--tk-shop-t); }
.tar-wk-ev[class*="k-"] { box-shadow: none; } .tar-wk-ev.sched { box-shadow: inset 0 0 0 1.5px currentColor; }
.tar-ev.failed, .tar-wk-ev.failed { background: #fde8e8; color: #b42318; }

/* calendario: pantallas medianas y móvil */
@media (max-width: 1180px) {
  .tar-cal-grid { grid-template-columns: minmax(0, 1fr); }
  .tar-cal-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .tar-tips-g { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .tar-cal { padding: 14px 10px 18px; }
  .tar-cal-top h2 { font-size: 18px; } .tar-cal-top { margin-bottom: 12px; }
  .tar-cal-head { gap: 10px; } .tar-cal-l { width: 100%; justify-content: space-between; } .tar-cal-title { font-size: 18px; min-width: 0; flex: 1; }
  .tar-cal-r { width: 100%; } .tar-seg { flex: 1; } .tar-seg button { flex: 1; min-width: 0; padding: 0 8px; }
  .tar-addbtn { flex: 1 1 100%; }
  .tar-legend { gap: 8px 12px; font-size: 11px; } .tar-lg-g > small { min-width: 100%; }
  .tar-day { min-height: 62px; padding: 3px; } .tar-evs { display: none; } .tar-dots { display: flex; margin-top: auto; } .tar-dn { align-self: center; min-width: 24px; height: 24px; font-size: 12px; }
  .tar-dow span { font-size: 11px; }
  .tar-row3 { grid-template-columns: 1fr 1fr; } .tar-row3 .f-type { grid-column: 1 / -1; }
  .tar-wk-top, .tar-wk-body { grid-template-columns: 38px repeat(7, minmax(0, 1fr)); } .tar-wk-h { font-size: 10px; padding: 7px 0; } .tar-wk-h b { display: block; } .tar-wk-t { padding: 0 3px; font-size: 9.5px; }
  .tar-wk-ev { padding: 2px 3px; } .tar-wk-ev small { display: none; } .tar-wk-ev b { font-size: 9.5px; white-space: normal; }
  .tar-wk-ad .tar-ev small { display: none; }
  .tar-kvs { grid-template-columns: 1fr 1fr; }
  .tar-lr { grid-template-columns: 46px 40px minmax(0, 1fr); gap: 10px; padding: 10px 10px; } .tar-lr-go { display: none; } .tar-lr-th { width: 40px; height: 40px; }
  .tar-cal-side { grid-template-columns: minmax(0, 1fr); }
  .tar-tips { padding: 14px 12px; } .tar-tip { padding: 14px 12px; grid-template-columns: 40px minmax(0, 1fr); } .tar-tip-ic { width: 40px; height: 40px; font-size: 16px; }
}

/* ═════════════════ móvil ═════════════════ */
@media (max-width: 900px) {
  .tar-tab { grid-template-columns: minmax(0, 1fr); }
  .tar-menu { border-right: 0; border-bottom: 1px solid var(--tar-line); padding: 12px 12px 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .tar-mg { flex: 1 1 100%; } .tar-mg-h { padding: 6px 4px; font-size: 12.5px; cursor: default; pointer-events: none; } .tar-chev { display: none; }
  .tar-mg-b, .tar-mg.open .tar-mg-b { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 6px; }
  .tar-mg-b a { padding: 8px 13px; border-radius: 99px; background: #eef3f8; } .tar-mg-b a.on { box-shadow: none; background: var(--pfx-blue); color: #fff; }
  .tar-main { padding: 16px 14px 26px; }
}
@media (max-width: 720px) {
  .tar-cols3, .tar-pform { grid-template-columns: 1fr 1fr; } .tar-cols3 .tar-col:last-child { grid-column: 1 / -1; }
  .tar-cover { grid-template-columns: 110px minmax(0, 1fr); gap: 10px; } .tar-drop, .tar-cover-prev { min-height: 112px; } .tar-cover-prev { aspect-ratio: auto; }
  .tar-set-grid, .tar-schf-top { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tar-th { display: none; }
  .tar-tr, .tar-table.has-x .tar-tr { grid-template-columns: 1fr 1fr; text-align: left; gap: 6px 12px; padding: 12px 14px; position: relative; }
  .tar-tr > span[data-l]::before { content: attr(data-l); display: block; font-size: 10.5px; font-weight: 800; color: #8294a8; text-transform: none; margin-bottom: 1px; }
  .tar-tr .tar-act, .tar-tr .tar-x { grid-column: auto; } .tar-tr .tar-x { position: absolute; top: 6px; right: 6px; }
  .tar-ptable .tar-tr { grid-template-columns: 1fr 1fr; } .tar-ptable .tar-tr > span:first-child { grid-column: 1 / -1; font-size: 15px; }
  .tar-act { justify-content: flex-start; } .tar-tr .tar-act { display: flex; align-items: center; gap: 12px; grid-column: 1 / -1; } .tar-tr .tar-act::before { margin-bottom: 0; font-size: 12px; }
  .tar-sr, .tar-stable .tar-th { grid-template-columns: 96px minmax(0, 1fr) 36px; padding: 11px 10px; } .tar-sr .h { text-align: left; font-size: 12px; }
  .tar-banner { grid-template-columns: minmax(0, 1fr); min-height: 0; } .tar-b-img { min-height: 150px; clip-path: none; } .tar-banner.promo .tar-b-body { padding-top: 56px; }
  .tar-packs.n3, .tar-packs.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tar-packs.n3 .tar-pack:last-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .tar-pform { grid-template-columns: 1fr 1fr; } .tar-tr { grid-template-columns: 1fr 1fr; } .tar-b-main h3 { font-size: 28px; } }

/* ───────── Campaña promocional (diseño 2026 aprobado · 04-campana) ─────────
   La pestaña sin subpágina ocupa todo el ancho y no lleva menú lateral; las páginas del PDF siguen con su menú. */
.tar-tab.tar-tab-camp { display: block; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.tar-main.tar-main-camp { padding: 4px 0 30px; }
.tcd { --tcd-navy: #154C82; --tcd-navy2: #0F3A66; --tcd-ink: #0B2D52; --tcd-text: #3C5068; --tcd-muted: #6B7F95; --tcd-line: #E7EDF4; --tcd-soft: #EEF3F9;
  --tcd-gold: #F0C12C; --tcd-gold2: #B18937; --tcd-cream: #FDF8EE; --tcd-goldg: linear-gradient(180deg, #E2B53A, #B8891F);
  display: grid; gap: 22px; color: var(--tcd-text); font-family: Lato, system-ui, sans-serif; }
.tcd b, .tcd h2, .tcd h3 { color: var(--tcd-ink); }
/* cabecera */
.tcd-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 6px 2px 0; }
.tcd-top-ic { font-size: 38px; color: var(--tcd-navy); line-height: 1; transform: rotate(-8deg); }
.tcd-top-t h2 { margin: 0; font-size: 30px; font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
.tcd-top-t p { margin: 5px 0 0; font-size: 15px; color: var(--tcd-muted); }
.tcd-top-a { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.tcd-soft { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border: 1px solid #E3EBF4; border-radius: 12px; background: #F2F6FB; color: var(--tcd-navy);
  font: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background .15s, border-color .15s; }
.tcd-soft:hover { background: #E8F0F9; border-color: #D2DFEC; }
.tcd-soft > i:first-child { font-size: 17px; } .tcd-soft .tcd-chev { font-size: 11px; opacity: .75; }
.tcd-soft.sm { height: 42px; padding: 0 16px; font-size: 14px; }
/* rejilla */
.tcd-grid { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tcd-col { display: grid; gap: 20px; min-width: 0; }
.tcd-card { background: var(--ice, #fff); border: 1px solid var(--tcd-line); border-radius: 16px; box-shadow: 0 4px 18px rgba(15, 54, 84, .05); padding: 22px 24px 24px; min-width: 0; }
.tcd-card.tcd-flash { animation: tcdflash 1.3s ease; }
@keyframes tcdflash { 0%, 100% { box-shadow: 0 4px 18px rgba(15, 54, 84, .05); } 30% { box-shadow: 0 0 0 4px rgba(240, 193, 44, .55), 0 8px 26px rgba(177, 137, 55, .25); } }
/* cabecera de cada paso (círculo dorado numerado) */
.tcd-sh { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tcd-sh.mt { margin-top: 26px; }
.tcd-sh > div { flex: 1; min-width: 0; }
.tcd-sh b { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; }
.tcd-sh small { display: block; margin-top: 3px; font-size: 14px; color: var(--tcd-muted); line-height: 1.35; }
.tcd-num { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tcd-goldg); color: #fff; font-weight: 900; font-size: 18px; box-shadow: 0 4px 10px rgba(177, 137, 55, .3); }
.tcd-bars { color: var(--tcd-navy); margin-right: 6px; }
/* 1 · vista previa (banner) */
.tcd-ban { position: relative; min-height: 300px; border-radius: 14px; overflow: hidden; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: linear-gradient(90deg, rgba(10, 40, 75, 0) 34%, rgba(10, 40, 75, .78) 56%, rgba(9, 36, 68, .93) 100%), var(--tcd-cover, linear-gradient(135deg, #2a6aa6, #0f3a66)) center 62%/cover no-repeat;
  box-shadow: 0 8px 22px rgba(15, 54, 84, .16); }
.tcd-ban.nocover { background: linear-gradient(120deg, #2a6aa6, #0f3a66 60%, #0b2d52); }
.tcd-tag { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 8px; background: var(--tcd-goldg); color: #fff;
  font-size: 13px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.tcd-ban-txt { grid-column: 2; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 34px 30px 26px 8px; min-width: 0; }
.tcd-kick { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F4D27A; }
.tcd-ban-txt h3 { margin: 0; color: #fff; font-size: 28px; font-weight: 900; line-height: 1.16; overflow-wrap: anywhere; }
.tcd-ban-txt p { margin: 0; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .92); white-space: pre-line; overflow-wrap: anywhere; }
.tcd-ban-price { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.tcd-ban-price s { opacity: .7; } .tcd-ban-price b { color: #F4D27A; font-size: 22px; font-weight: 900; } .tcd-ban-price small { font-size: 12.5px; opacity: .85; }
.tcd-ban-btn { margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 10px; background: var(--tcd-goldg); color: #fff; font-weight: 900; font-size: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .3); border: 1px solid rgba(255, 234, 170, .5); }
.tcd-ban-heart { position: absolute; top: 22px; right: 24px; font-size: 26px; color: rgba(255, 255, 255, .9); }
/* 2 · configura tu descuento */
.tcd-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tcd-type { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 18px 18px 18px; border: 1px solid var(--tcd-line); border-radius: 14px; background: var(--ice, #fff);
  font: inherit; color: var(--tcd-text); cursor: pointer; text-decoration: none; min-width: 0; transition: border-color .15s, box-shadow .15s; }
.tcd-type:hover { border-color: #D2DFEC; box-shadow: 0 6px 16px rgba(15, 54, 84, .07); }
.tcd-type.on { border: 2px solid #D9AE3B; padding: 17px; background: #FFFBF1; cursor: default; box-shadow: 0 6px 16px rgba(177, 137, 55, .12); }
.tcd-type-ic { font-size: 26px; color: var(--tcd-navy); margin-bottom: 4px; } .tcd-type.on .tcd-type-ic { color: #C49A2C; }
.tcd-type b { font-size: 15.5px; font-weight: 800; line-height: 1.25; }
.tcd-type small { font-size: 13.5px; color: var(--tcd-muted); line-height: 1.4; }
.tcd-tick { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--tcd-goldg); color: #fff; display: grid; place-items: center; font-size: 12px; }
.tcd-cfg { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; margin-top: 22px; }
.tcd-fld { min-width: 0; }
.tcd-dur { border-left: 1px solid var(--tcd-line); padding-left: 20px; }
.tcd-lbl { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--tcd-ink); margin-bottom: 12px; }
.tcd-lbl i { color: #C49A2C; font-size: 15px; } .tcd-lbl.sm { font-size: 13.5px; margin: 16px 0 10px; }
.tcd-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tcd-pill { height: 46px; min-width: 52px; padding: 0 11px; border: 1px solid #E1E8F0; border-radius: 10px; background: var(--ice, #fff); color: var(--tcd-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s; }
.tcd-pill:hover { border-color: #C9D7E6; }
.tcd-pill.on { border: 2px solid #D9AE3B; background: #FFF7E3; color: var(--tcd-ink); padding: 0 10px; }
.tcd-pill.static { cursor: default; height: 40px; font-size: 14px; background: #EEF5FC; border: 1px solid #BBD3EA; color: var(--tcd-navy); padding: 0 16px; }
.tcd-pin { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 12px; border: 1px solid #E1E8F0; border-radius: 10px; background: var(--ice, #fff); }
.tcd-pin input { width: 54px; border: 0; outline: 0; font: inherit; font-size: 16px; font-weight: 800; color: var(--tcd-ink); background: transparent; }
.tcd-pin i { font-style: normal; font-weight: 800; color: var(--tcd-muted); }
.tcd-durrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tcd-nw { white-space: nowrap; }
.tcd-sel { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid #E1E8F0; border-radius: 10px; background: var(--ice, #fff); flex: 0 0 auto; min-width: 118px; }
.tcd-sel > i:first-child { color: var(--tcd-navy); font-size: 16px; } .tcd-sel > i:last-child { position: absolute; right: 14px; font-size: 11px; color: var(--tcd-muted); pointer-events: none; }
.tcd-sel select { appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15.5px; font-weight: 700; color: var(--tcd-ink); padding-right: 22px; cursor: pointer; flex: 1; min-width: 0; }
.tcd-reco { display: inline-flex; align-items: center; flex: none; white-space: nowrap; height: 34px; padding: 0 12px; border-radius: 999px; background: #FCEFC8; color: #9A7416; font-weight: 800; font-size: 12.5px; border: 0; font-family: inherit; }
button.tcd-reco.off { cursor: pointer; background: #FFF7E3; color: #A27A1C; } button.tcd-reco.off:hover { background: #FCEFC8; }
.tcd-sum { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--tcd-soft); font-size: 14px; color: var(--tcd-text); }
.tcd-sum b { color: var(--tcd-navy); }
.tcd-active { display: flex; gap: 14px; align-items: center; margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: #E9F7EF; border: 1px solid #CDEBD9; }
.tcd-active > i { color: #1F7A4D; font-size: 22px; } .tcd-active b { display: block; font-size: 15px; } .tcd-active span { font-size: 13.5px; color: #4B5D73; }
/* 3 · cuenta atrás */
.tcd-tg { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--tcd-text); cursor: pointer; white-space: nowrap; }
.tcd-cdbox { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border: 1px solid var(--tcd-line); border-radius: 14px; background: var(--ice, #fff); }
.tcd-cdbox.off { opacity: .55; }
.tcd-cd-ic { font-size: 30px; color: #C49A2C; } .tcd-cd-l { font-size: 15.5px; color: var(--tcd-text); margin-right: auto; }
.tcd-cd { display: flex; gap: 12px; }
.tcd-cd > span { width: 92px; padding: 12px 6px 10px; border-radius: 12px; background: var(--tcd-soft); display: grid; justify-items: center; gap: 2px; }
.tcd-cd b { font-size: 30px; font-weight: 900; color: var(--tcd-ink); line-height: 1.05; font-variant-numeric: tabular-nums; }
.tcd-cd small { font-size: 13px; color: var(--tcd-muted); }
/* 4 · resultados */
.tcd-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--tcd-line); border-radius: 14px; }
.tcd-st { display: flex; align-items: center; gap: 12px; padding: 16px 16px; min-width: 0; }
.tcd-st + .tcd-st { border-left: 1px solid var(--tcd-line); }
.tcd-st > i { font-size: 26px; color: var(--tcd-navy); flex: none; } .tcd-st > i.gold { color: #C49A2C; }
.tcd-st b { display: block; font-size: 18px; font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; } .tcd-st small { display: block; font-size: 12.5px; color: var(--tcd-muted); line-height: 1.25; }
.tcd-note { margin: 12px 0 0; font-size: 13px; color: var(--tcd-muted); line-height: 1.45; } .tcd-note a { color: var(--tcd-navy); font-weight: 800; }
/* columna derecha */
.tcd-ch { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tcd-ch b { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; } .tcd-ch small { display: block; margin-top: 3px; font-size: 14px; color: var(--tcd-muted); line-height: 1.35; }
.tcd-ci { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--tcd-goldg); color: #fff; font-size: 21px; box-shadow: 0 6px 14px rgba(177, 137, 55, .3); }
.tcd-ci.navy { background: none; box-shadow: none; color: var(--tcd-navy); font-size: 30px; width: 40px; }
.tcd-pks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; padding-top: 12px; }
.tcd-pk { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 9px 12px; border: 1px solid var(--tcd-line); border-radius: 12px; background: var(--ice, #fff); text-align: center; min-width: 0; }
.tcd-pk.on { border: 2px solid #D9AE3B; padding: 17px 8px 11px; background: #FFFBF1; }
.tcd-pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 7px; background: var(--tcd-goldg); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; }
.tcd-pk-n { font-size: 16px; font-weight: 900; color: var(--tcd-ink); }
.tcd-pk-m { margin-top: -6px; font-size: 12px; color: var(--tcd-muted); }
.tcd-pk-p { display: flex; justify-content: center; align-items: baseline; gap: 2px 5px; flex-wrap: wrap; }
.tcd-pk-p s { color: #8A98A9; font-size: 12.5px; } .tcd-pk-p b { color: #C08F1C; font-size: 16px; font-weight: 900; white-space: nowrap; } .tcd-pk-p small { color: var(--tcd-muted); font-size: 11.5px; white-space: nowrap; }
.tcd-pk ul { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 7px; text-align: left; }
.tcd-pk li { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; line-height: 1.3; color: var(--tcd-text); } .tcd-pk li i { color: #C49A2C; font-size: 11px; margin-top: 3px; }
.tcd-pk-b { margin-top: auto; height: 40px; border-radius: 9px; border: 1px solid #E3EBF4; background: #F2F6FB; color: var(--tcd-navy); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.tcd-pk-b:hover { background: #E8F0F9; }
.tcd-pk.on .tcd-pk-b { background: var(--tcd-goldg); border-color: transparent; color: #fff; box-shadow: 0 4px 10px rgba(177, 137, 55, .3); }
.tcd-aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tcd-aud > div { display: grid; justify-items: center; gap: 3px; padding: 14px 8px; border-radius: 12px; background: var(--tcd-soft); text-align: center; min-width: 0; }
.tcd-aud i { color: var(--tcd-navy); font-size: 18px; } .tcd-aud b { font-size: 19px; font-weight: 900; overflow-wrap: anywhere; } .tcd-aud small { font-size: 12px; color: var(--tcd-muted); }
.tcd-launch { display: grid; justify-items: center; gap: 8px; }
.tcd-go, .tcd-stop { width: 100%; height: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 12px; font: inherit; font-weight: 900; font-size: 18px; cursor: pointer; }
.tcd-go { border: 0; background: var(--tcd-goldg); color: #fff; box-shadow: 0 10px 22px rgba(177, 137, 55, .32), inset 0 1px 0 rgba(255, 255, 255, .3); }
.tcd-go i { font-size: 21px; } .tcd-go:hover { filter: brightness(1.04); } .tcd-go:disabled { opacity: .6; cursor: default; }
.tcd-stop { border: 2px solid #E7B4B9; background: var(--ice, #fff); color: #B42D3A; } .tcd-stop:hover { background: #FFF4F5; }
.tcd-launch small { font-size: 13px; color: var(--tcd-muted); text-align: center; }
.tcd-launch .pfx-err:empty { display: none; }
/* ventanas */
.tcd-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tcd-tips li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: #3C5068; }
.tcd-tips i { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #FFF7E3; color: #B18937; font-size: 14px; }
.tcd-dz { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tcd-dz-img { width: 150px; height: 84px; flex: none; border-radius: 10px; overflow: hidden; background: #EEF3F9; display: grid; place-items: center; color: #8A98A9; font-size: 24px; }
.tcd-dz-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcd-cnt { display: block; text-align: right; font-size: 11.5px; color: #8A98A9; margin-top: 4px; }
/* banner real de la zona privada: título y texto de la campaña */
.tar-b-ttl { display: block; margin: 2px 0 0; font-size: 15px; font-weight: 900; color: #12456f; line-height: 1.25; max-width: 340px; overflow-wrap: anywhere; }
.tar-b-txt { margin: 2px 0 4px !important; font-size: 12.5px !important; line-height: 1.4; max-width: 340px; white-space: pre-line; overflow-wrap: anywhere; }
.tar-banner.promo.nocd .tar-b-body { padding-top: 22px; }
@media (max-width: 1100px) {
  .tcd-grid { grid-template-columns: minmax(0, 1fr); }
  .tcd-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .tcd-side .tcd-launch { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .tcd { gap: 16px; }
  .tcd-top { grid-template-columns: auto minmax(0, 1fr); gap: 12px; } .tcd-top-a { grid-column: 1 / -1; justify-content: flex-start; }
  .tcd-top-ic { font-size: 28px; } .tcd-top-t h2 { font-size: 23px; } .tcd-top-t p { font-size: 13.5px; }
  .tcd-soft { height: 42px; padding: 0 14px; font-size: 13.5px; }
  .tcd-card { padding: 16px 14px 18px; border-radius: 14px; }
  .tcd-sh { gap: 10px; flex-wrap: wrap; } .tcd-sh b { font-size: 17px; } .tcd-sh small { font-size: 13px; } .tcd-num { width: 32px; height: 32px; font-size: 15px; }
  .tcd-sh > div { flex: 1 1 calc(100% - 50px); } .tcd-sh .tcd-soft, .tcd-sh .tcd-tg { margin-left: 42px; }
  .tcd-ban { grid-template-columns: minmax(0, 1fr); min-height: 0; background: linear-gradient(180deg, rgba(10, 40, 75, 0) 20%, rgba(10, 40, 75, .82) 52%, rgba(9, 36, 68, .95) 100%), var(--tcd-cover, linear-gradient(135deg, #2a6aa6, #0f3a66)) center top/cover no-repeat; }
  .tcd-ban-txt { grid-column: 1; padding: 150px 16px 18px; gap: 8px; } .tcd-ban-txt h3 { font-size: 22px; } .tcd-ban-txt p { font-size: 13.5px; } .tcd-ban-btn { height: 44px; font-size: 15px; }
  .tcd-tag { font-size: 11.5px; padding: 6px 11px; } .tcd-ban-heart { top: 16px; right: 16px; font-size: 22px; }
  .tcd-types { grid-template-columns: minmax(0, 1fr); gap: 10px; } .tcd-type { padding: 14px 16px; } .tcd-type.on { padding: 13px 15px; } .tcd-type-ic { font-size: 22px; }
  .tcd-cfg { grid-template-columns: minmax(0, 1fr); gap: 18px; } .tcd-dur { border-left: 0; padding-left: 0; border-top: 1px solid var(--tcd-line); padding-top: 16px; }
  .tcd-pill { height: 42px; min-width: 0; padding: 0 14px; font-size: 15px; } .tcd-pill.on { padding: 0 13px; }
  .tcd-cdbox { padding: 14px; gap: 12px; } .tcd-cd-l { margin-right: 0; width: calc(100% - 46px); }
  .tcd-cd { width: 100%; gap: 8px; } .tcd-cd > span { flex: 1; width: auto; padding: 10px 4px 8px; } .tcd-cd b { font-size: 24px; } .tcd-cd small { font-size: 11.5px; }
  .tcd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tcd-st:nth-child(3) { border-left: 0; } .tcd-st:nth-child(n+3) { border-top: 1px solid var(--tcd-line); } .tcd-st { padding: 14px 12px; }
  .tcd-st > i { font-size: 22px; } .tcd-st b { font-size: 16px; }
  .tcd-side { grid-template-columns: minmax(0, 1fr); }
  .tcd-ch b { font-size: 17px; } .tcd-ch small { font-size: 13px; }
  .tcd-pks { grid-template-columns: minmax(0, 1fr); gap: 16px; } .tcd-pk ul { text-align: left; max-width: 280px; margin-left: auto; margin-right: auto; }
  .tcd-go, .tcd-stop { height: 54px; font-size: 16.5px; }
}
@media (max-width: 380px) { .tcd-aud { grid-template-columns: minmax(0, 1fr); } }
