:root{--wine:#800020;--deep:#510018;--cream:#fff9f7;--pink:#f7e9ed;--ink:#292025}.ifmatch{margin:0;background:var(--cream);font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink)}.ifmatch *{box-sizing:border-box}.ifmatch a{color:inherit;text-decoration:none}.mh{display:flex;align-items:center;justify-content:space-between;padding:18px max(5vw,20px);background:white;box-shadow:0 2px 15px #30001010;gap:20px}.brand{font-size:28px;font-weight:850;color:var(--wine)!important;letter-spacing:-1px}.mh nav{display:flex;gap:22px;font-size:14px;font-weight:650;flex-wrap:wrap}.mh nav a:hover{color:var(--wine)}.ifmatch main{min-height:72vh}.hero{display:grid;grid-template-columns:1.15fr .85fr;min-height:640px;overflow:hidden}.hero-text{padding:clamp(45px,8vw,120px) 6vw;align-self:center}.eyebrow{color:var(--wine);font-size:12px;font-weight:850;letter-spacing:2.3px}.hero h1{font-family:Georgia,serif;font-weight:500;line-height:1.07;font-size:clamp(43px,5.3vw,78px);max-width:760px;margin:22px 0}.hero p{font-size:19px;max-width:580px;color:#61535a}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--wine);color:white!important;border:0;border-radius:12px;padding:14px 22px;font-weight:750;cursor:pointer;font-size:15px;margin:8px 8px 8px 0;min-height:48px}.btn:hover{background:var(--deep)}.btn:disabled{opacity:.6;cursor:wait}.secondary{background:transparent;color:var(--wine)!important;border:1px solid var(--wine)}.hero small{display:block;margin-top:22px;color:#75646c}.hero-art{background:radial-gradient(circle at 45% 35%,#ce8197,#800020 60%,#420019);display:flex;flex-direction:column;justify-content:center;align-items:center;color:white;text-align:center;padding:30px}.heart-art{font-size:clamp(180px,23vw,360px);line-height:1;text-shadow:0 30px 80px #330012;transform:rotate(-12deg)}.hero-art p{font:italic 26px Georgia,serif;color:white}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:50px 6vw;background:white}.features article{text-align:center;padding:24px}.features b{font-size:35px;color:var(--wine)}.features h3{margin:8px 0}.features p,.muted{color:#74636a}.box{max-width:1060px;margin:55px auto;padding:40px;background:white;border:1px solid #f1e5e8;border-radius:24px;box-shadow:0 15px 40px #50001808}.box.narrow{max-width:570px}.box h1{font:normal clamp(32px,4vw,48px) Georgia,serif;margin:12px 0}.box h2{font-size:22px}.box form label{display:block;font-weight:650;font-size:14px;margin:14px 0}.box input:not([type=checkbox]):not([type=file]),.box select,.box textarea{display:block;width:100%;border:1px solid #dfd4d8;border-radius:10px;background:white;padding:13px;margin-top:6px;font:inherit;color:var(--ink)}.box textarea{min-height:100px;resize:vertical}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.check{display:flex!important;align-items:center;gap:10px}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0}.tabs button,.match-item{padding:10px 13px;background:var(--pink);border:0;border-radius:9px;color:var(--wine);cursor:pointer;font-weight:700}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:25px}.person{border:1px solid #eee;border-radius:18px;overflow:hidden;background:#fff}.person>img,.placeholder{width:100%;height:270px;object-fit:cover;background:var(--pink)}.placeholder{display:grid;place-items:center;font-size:90px;color:var(--wine)}.person-body{padding:18px}.person-body h2{margin:0;font-size:22px}.person-body p{font-size:14px;color:#64565e}.badge{display:inline-block;background:#f2e0e7;color:var(--wine);font:750 11px system-ui;padding:5px 9px;border-radius:20px;vertical-align:middle}.filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.filters label{max-width:120px}.photos{display:flex;gap:10px;flex-wrap:wrap}.photos img{width:115px;height:115px;object-fit:cover;border-radius:12px}.matches{display:flex;gap:10px;flex-wrap:wrap}.match-item{font-size:16px}#chat{margin-top:30px;padding:20px;background:#fff9f9;border-radius:16px}#chat-messages{height:360px;overflow:auto;background:white;border:1px solid #eee;padding:15px;border-radius:12px;display:flex;flex-direction:column;gap:10px}#chat-messages p{max-width:80%;margin:0;padding:10px 14px;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere}.sent{align-self:flex-end;background:var(--wine);color:white}.received{align-self:flex-start;background:var(--pink)}.text-btn{background:none;border:0;color:var(--wine);cursor:pointer;text-decoration:underline}.mf{display:flex;gap:25px;justify-content:center;flex-wrap:wrap;padding:30px;color:#79676f;font-size:13px}#notice{color:var(--wine);font-weight:650}@media(max-width:760px){.mh{display:block;padding:12px 16px}.mh nav{margin-top:8px;justify-content:space-between;gap:8px;font-size:12px}.hero{grid-template-columns:1fr}.hero-text{padding:55px 24px}.hero-art{min-height:250px}.heart-art{font-size:160px}.features{grid-template-columns:1fr;padding:20px}.box{margin:20px 12px;padding:24px 18px}.grid2{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.person>img,.placeholder{height:190px}.person-body{padding:10px}.person-body h2{font-size:17px}.person-body .btn{font-size:12px;padding:9px}.mf{padding:24px 12px}}

/* Profile photos and activity */
.photo-tile{position:relative;display:inline-flex;margin:5px}.photo-tile img{width:110px;height:110px;object-fit:cover;border-radius:12px}.photo-tile button{position:absolute;right:3px;top:3px;background:#800020;color:white;border:0;border-radius:50%;width:29px;height:29px;cursor:pointer}.preview-gallery{display:flex;overflow-x:auto;gap:8px;scroll-snap-type:x mandatory}.preview-gallery img{width:100%;max-width:360px;max-height:460px;object-fit:cover;scroll-snap-align:center;border-radius:12px}.heart-notify{border:0;background:transparent;color:#800020;font-size:26px;cursor:pointer;position:relative;padding:8px}.heart-notify span{position:absolute;right:0;top:0;background:#800020;color:#fff;border-radius:15px;padding:2px 5px;font-size:11px}.notify-panel{position:absolute;right:12px;top:65px;background:white;border:1px solid #e8cbd3;box-shadow:0 8px 25px #30001825;border-radius:14px;padding:18px;z-index:50;max-width:300px;color:#292025}.notify-panel a{display:block;margin-top:10px;color:#800020}#photo-form input[type=file]{display:block;width:100%;max-width:100%;margin:12px 0}

.photo-tile{flex-direction:column;padding-bottom:34px}.photo-tile .remove-photo{top:3px;right:3px}.main-photo-label{position:absolute;left:5px;top:5px;background:#800020;color:white;border-radius:7px;font-size:11px;font-weight:700;padding:3px 7px}.photo-order{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:3px;font-size:12px}.photo-order button{position:static;border:1px solid #e9d1d9;background:#fff;color:#800020;width:32px;height:30px;border-radius:7px;font-size:19px;cursor:pointer}.photo-order button:disabled{opacity:.25;cursor:default}.preview-gallery img:first-child{border:3px solid #800020}

/* v0.4 visual contrast and reorder */
.ifmatch .btn.secondary,.ifmatch .btn.secondary:visited{background:#fff;color:#800020!important;border:2px solid #800020}.ifmatch .btn.secondary:hover,.ifmatch .btn.secondary:focus,.ifmatch .btn.secondary:active{background:#f7e9ed;color:#510018!important;border-color:#510018;outline-offset:3px}.ifmatch .btn:focus-visible{outline:3px solid #b45375;outline-offset:3px}.photos .photo-tile{cursor:grab;touch-action:pan-y;user-select:none}.photos .photo-tile.dragging{opacity:.45;outline:2px dashed #800020}.photos .photo-tile:focus-visible{outline:3px solid #800020}.drag-handle{font-size:22px;color:#800020;line-height:1}.match-welcome{background:linear-gradient(120deg,#fff,#fff3f6)}

/* v0.5 — perfil protagonista y arrastre táctil */
.match-preview-page .match-profile-card{width:min(100%,460px);margin:26px auto 24px;border:1px solid #eadfe2;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 12px 36px #40001914}.match-profile-hero{position:relative;aspect-ratio:4/5;background:#f7e9ed;overflow:hidden}.match-profile-slide{display:none!important;width:100%;height:100%;object-fit:cover}.match-profile-slide.is-active{display:block!important}.match-profile-placeholder{height:100%;display:grid;place-items:center;color:#800020;font-size:120px}.match-profile-details{padding:22px 24px 28px}.match-profile-details h2{font-size:clamp(25px,5vw,34px);line-height:1.2;margin:0 0 8px;font-weight:800}.match-location{font-size:17px;color:#6a5961;margin:0}.match-bio{font-size:16px;line-height:1.6;margin:18px 0 0;white-space:normal;overflow-wrap:anywhere}.match-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border:0;border-radius:50%;background:#fffE;color:#800020;font-size:34px;cursor:pointer;z-index:2}.match-gallery-arrow.prev{left:10px}.match-gallery-arrow.next{right:10px}.match-gallery-dots{position:absolute;bottom:14px;left:0;right:0;display:flex;justify-content:center;gap:7px}.match-gallery-dots button{width:9px;height:9px;border:0;border-radius:50%;background:#fff9;cursor:pointer;padding:0}.match-gallery-dots button.active{background:#fff;width:23px;border-radius:10px}.photos .photo-tile.touch-dragging{opacity:.7;outline:3px solid #800020;z-index:5;touch-action:none}.photos .photo-tile{touch-action:pan-y}.photo-tile .drag-handle{font-size:22px}@media(max-width:760px){.match-preview-page .match-profile-card{width:min(100%,420px)}.match-preview-page{padding:24px 16px}.match-profile-hero{aspect-ratio:4/5}}

#access-form label[hidden]{display:none!important}#access-form input[type=file]{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #dfd4d8;border-radius:10px}#registration-photo-field small{display:block;color:#74636a;font-weight:400;margin-top:6px}.tabs button:focus-visible,.btn:focus-visible{outline:3px solid #800020;outline-offset:3px}

/* Tarjetas de perfiles: imagen protagonista y acciones accesibles */
.match-discovery .cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),360px));justify-content:center;gap:24px}.match-discovery .person{border-radius:22px;box-shadow:0 12px 32px #31001714}.person-hero{aspect-ratio:4/5;background:#f7e9ed;overflow:hidden}.person-hero>img,.person-hero>.placeholder{display:block;width:100%;height:100%;object-fit:cover}.person-hero>.placeholder{display:grid;place-items:center}.match-discovery .person-body{padding:18px 18px 20px}.match-discovery .person-body h2{font-size:clamp(23px,3vw,29px);line-height:1.2}.person-location{margin:8px 0 16px}.person-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice{display:flex;align-items:center;justify-content:center;gap:7px;min-height:52px;border-radius:14px;font:700 13px/1.2 system-ui;cursor:pointer;padding:10px 7px}.choice svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.choice-pass{background:#fff;color:#510018;border:1.5px solid #800020}.choice-like{background:#800020;color:white;border:1.5px solid #800020}.choice:focus-visible{outline:3px solid #c76b87;outline-offset:3px}.choice:disabled{opacity:.65;cursor:default}.mutual-label{display:block;text-align:center;background:#f7e9ed;color:#800020;border-radius:12px;padding:13px;font-weight:800}.match-discovery .muted a{color:#800020;text-decoration:underline}@media(max-width:760px){.match-discovery .cards{grid-template-columns:minmax(0,420px)}.match-discovery .person-body{padding:16px}.choice{font-size:13px}}

/* Match 0.8: session and mutual actions */
.mh nav .match-logout{display:inline-flex;align-items:center;gap:6px;color:var(--wine);font-weight:750;white-space:nowrap}.match-logout svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.match-logout:hover,.match-logout:focus-visible{text-decoration:underline;color:var(--deep)}.mutual-actions{grid-template-columns:1fr 1fr}.mutual-actions .mutual-label{display:flex;text-align:center;background:#f7e9ed;color:#800020;border:1.5px solid #e9cbd4;padding:8px 4px;font-size:12px;min-height:48px}.mutual-actions .choice-message{background:#800020;color:#fff!important;border:1.5px solid #800020;font-size:12px;min-height:48px}.mutual-actions .choice-message:hover{background:#510018}.mutual-actions .choice svg{width:19px;height:19px}@media(max-width:380px){.mutual-actions .choice{gap:4px;font-size:11px;padding:8px 3px}.mutual-actions .choice svg{width:17px;height:17px}}

/* v0.9.0: perfiles completos solo para matches */
.mutual-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.mutual-actions .choice{font-size:11px;padding:8px 3px;gap:4px;min-width:0}.mutual-actions .choice svg{width:17px;height:17px}.choice-view{background:#fff;color:#800020!important;border:1.5px solid #800020;text-decoration:none}.choice-view:hover{background:#f7e9ed}.match-full-page .match-profile-card{width:min(100%,500px)}.match-full-page .match-profile-details h3{font-size:16px;margin:20px 0 5px}.match-full-message{display:inline-flex;align-items:center;justify-content:center;gap:9px;margin-top:22px}.match-full-message svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.match-view-link{display:inline-block;margin:8px 12px 14px;color:#800020;font-weight:700;text-decoration:underline}@media(max-width:380px){.mutual-actions .choice{font-size:10px;gap:2px}.mutual-actions .choice svg{width:15px;height:15px}}

/* match PRO: aviso compacto y elegante, sin afectar los demás botones */
.ifmatch #match-quota .match-pro-cta{display:flex;width:100%;max-width:100%;margin:12px 0 0;min-height:44px;padding:10px 8px;border-radius:11px;background:linear-gradient(110deg,#71001e 0%,#800020 65%,#946342 100%);color:#fff!important;font-size:clamp(10px,2.9vw,14px);font-weight:750;letter-spacing:.005em;line-height:1.2;white-space:nowrap;text-align:center;box-shadow:inset 0 1px 0 rgba(231,193,135,.35);transition:filter .15s ease,background .15s ease}
.ifmatch #match-quota .match-pro-cta:hover,.ifmatch #match-quota .match-pro-cta:focus-visible{background:linear-gradient(110deg,#590018 0%,#71001e 65%,#805032 100%);color:#fff!important;filter:brightness(1.04)}
.ifmatch #match-quota .match-pro-cta:active{color:#fff!important;filter:brightness(.94)}

.ifmatch #match-quota:focus{outline:none}

/* Estado y mensajes pendientes */
.match-presence{font-size:.88rem;color:#62545a;margin:-.2rem 0 1rem}.match-inbox-meta{display:inline-block;font-size:.75rem;font-weight:600;color:#800020;margin-left:.5rem}.match-item{white-space:normal}

/* Bandeja de conversaciones 1.2 */
.ifmatch .match-item{display:inline-flex;align-items:center;gap:10px;text-align:left;min-height:68px;max-width:100%;vertical-align:middle}.ifmatch .match-inbox-photo,.ifmatch .match-inbox-avatar{width:46px;height:46px;min-width:46px;border-radius:50%;object-fit:cover}.ifmatch .match-inbox-avatar{display:grid;place-items:center;background:#f7e9ed;color:#800020}.ifmatch .match-inbox-info{display:flex;flex-direction:column;gap:3px;min-width:0}.ifmatch .match-inbox-preview{font-size:12px;font-weight:400;opacity:.75;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}.ifmatch .match-inbox-meta{display:block;margin:3px 0 0;font-size:11px}
/* Fotografías: dificultar la copia casual (no bloquea capturas del sistema). */
.ifmatch .person-hero img,.ifmatch .match-profile-hero img,.ifmatch .photo-tile img,.ifmatch .match-inbox-photo{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;pointer-events:none}

.match-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.match-plan-card{border:1px solid #dfd5d9;border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:8px}.match-plan-card h2{font-size:1rem;margin:0}.match-plan-card p{margin:0}.match-plan-card .btn{margin-top:auto;text-align:center}.match-plan-price{font-size:1.55rem;font-weight:800;color:#800020}@media(max-width:440px){.match-plan-grid{grid-template-columns:1fr}}

/* Confirmación de pago match PRO */
.match-payment-confirmation{text-align:center;padding:clamp(24px,5vw,55px)}
.match-payment-confirmation .match-payment-icon{display:grid;place-items:center;margin:0 auto 20px;width:66px;height:66px;border-radius:50%;background:#800020;color:#fff;font-size:36px;font-weight:700}
.match-payment-confirmation .match-payment-detail{padding:15px;margin:22px auto;border:1px solid #eedde3;border-radius:14px;background:#fff8fa;line-height:1.8}
.match-payment-confirmation .btn{display:inline-flex;justify-content:center;align-items:center;margin-top:12px;min-width:190px}

/* match 1.4.1: burbujas suaves, legibles y elegantes */
.ifmatch #chat-messages{background:#fffdfd;border:1px solid #f0e5e9;box-shadow:inset 0 1px 5px #50001805;gap:12px;scroll-behavior:smooth}
.ifmatch #chat-messages p{max-width:min(83%,390px);padding:11px 15px;line-height:1.5;font-size:14px;font-weight:450;border:1px solid transparent;box-shadow:0 2px 8px #39001409}
.ifmatch #chat-messages p.sent{background:#f7e8ee;color:#4c2030;border-color:#efd9e1;border-radius:16px 16px 5px 16px}
.ifmatch #chat-messages p.received{background:#f7f5f5;color:#32292c;border-color:#ebe7e8;border-radius:16px 16px 16px 5px}

/* match 1.4.2: portada editorial pública */
.match-entry{max-width:1536px;margin:0 auto;background:#590019}.match-entry-image{width:100%;aspect-ratio:16/9;background:#590019 url('match-portada.webp') center/contain no-repeat}.match-entry-actions{padding:18px 18px 28px;text-align:center;background:#fff9f7}.match-entry-actions .btn{margin:7px}.match-entry-actions p{font-size:13px;color:#77636b;margin:12px 0 0}@media(max-width:760px){.match-entry-image{aspect-ratio:16/9}.match-entry-actions{padding:18px 12px 24px}.match-entry-actions .btn{font-size:14px;padding:12px 15px}}

/* v1.4.3: portada fotográfica limpia y textos accesibles, fuera de la imagen */
.match-entry{background:#fff9f8;overflow:hidden;border-radius:0 0 22px 22px}
.match-entry-image{aspect-ratio: 16/9;background:#590019 url('match-portada-limpia.webp') center center/cover no-repeat}
.match-entry-copy{max-width:850px;margin:auto;text-align:center;padding:26px 22px 4px;color:#38222a}
.match-entry-brand{font-size:clamp(32px,5vw,58px);font-weight:800;letter-spacing:-.055em;line-height:1.1;color:#800020}
.match-entry-brand span{font-size:.85em;letter-spacing:0;margin-right:.13em}
.match-entry-copy h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(26px,4.3vw,46px);line-height:1.16;letter-spacing:-.025em;margin:18px auto 16px;max-width:800px;color:#3e202b}
.match-entry-copy h1 em{font-style:normal;color:#800020}
.match-entry-intro{font-size:clamp(15px,1.8vw,19px);line-height:1.6;max-width:690px;margin:0 auto 18px;color:#604b52}
.match-entry-phrase{display:inline-block;background:#f9e6eb;border-radius:22px;padding:13px 22px;font-size:clamp(14px,1.6vw,17px);line-height:1.45;color:#6c1635;margin:0 auto 10px}
.match-entry-actions{padding:8px 18px 28px}
@media(max-width:760px){.match-entry-image{aspect-ratio: 16/9;background-position:center center}.match-entry-copy{padding:20px 16px 2px}.match-entry-copy h1{margin:14px auto}.match-entry-actions{padding:8px 12px 24px}}

/* v1.4.6 — tarjeta de descubrimiento centrada en la fotografía */
.match-discovery .cards{grid-template-columns:minmax(0,440px);justify-content:center;gap:20px}
.match-discovery .person{position:relative;border:0;border-radius:24px;overflow:hidden;box-shadow:0 12px 35px #290c191c}
.match-discovery .person-hero{aspect-ratio:4/4.6;background:#f4e9ed}
.match-discovery .person-body{padding:18px 22px 22px;position:relative;min-height:110px}
.match-discovery .person-body h2{font-size:clamp(26px,5vw,34px);font-weight:800;color:#211a1d;padding-right:135px}
.match-discovery .person-location{margin:5px 0 0;font-size:15px}
.match-discovery .person-actions{position:absolute;right:16px;top:-52px;display:flex;gap:12px;z-index:2}
.match-discovery .choice{width:76px;height:76px;min-height:76px;border-radius:50%;padding:0;box-shadow:0 5px 15px #0002;border:1px solid #eee}
.match-discovery .choice svg{width:34px;height:34px}
.match-discovery .choice span{display:none}
.match-discovery .choice-pass{background:#fff;color:#800020}
.match-discovery .choice-like{background:#800020;color:#fff;border-color:#800020}
@media(max-width:480px){.match-discovery .person-actions{top:-39px;right:12px;gap:10px}.match-discovery .choice{width:62px;height:62px;min-height:62px}.match-discovery .choice svg{width:29px;height:29px}.match-discovery .person-body h2{padding-right:110px;font-size:27px}}

/* Smooth removal only after the server confirms the saved choice. */
.match-discovery .person{transition:opacity .18s ease,transform .18s ease}
.match-discovery .person.match-person-leaving{opacity:0;transform:scale(.985);pointer-events:none}
@media(prefers-reduced-motion:reduce){.match-discovery .person{transition:none}}

.match-official{background:#fce7ed;color:#891339;border:1px solid #eab2c2;font-size:.72em;white-space:nowrap}.match-support-card{border:2px solid #9b1239}

/* 1.5.6: insignia institucional discreta y acciones de soporte */
.match-official{display:inline-flex;align-items:center;vertical-align:middle;padding:2px 7px;border-radius:999px;background:#e9f7ee;color:#17643b;border:1px solid #b9e2c7;font-size:11px!important;font-weight:700;letter-spacing:.01em;line-height:1.35;white-space:nowrap}.match-support-card{border:1px solid #dcebe0}.match-support-actions .choice{font-size:12px}.match-support-actions .choice-view{background:#fff;color:#17643b;border-color:#c6dfcf;text-decoration:none}.match-support-actions .choice-message{background:#17643b;color:#fff;border-color:#17643b;text-decoration:none}

/* Soporte: navegación por páginas sin límites arbitrarios de 100 perfiles. */
.match-support-browser{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0 0;padding:12px 16px;border-radius:14px;background:#edf8f1;color:#17643b;font-size:13px}.match-support-browser strong{font-size:14px}.match-support-pagination{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:24px auto 4px}.match-support-pagination .btn{margin:0;min-height:40px;padding:8px 15px}.match-support-pagination span{font-size:13px;font-weight:750;color:#17643b}

/* 1.5.8: presentación de una tarjeta por vez para participantes y soporte. */
.match-discovery .cards>.person[hidden]{display:none!important}.match-discovery .cards{display:flex;flex-direction:column;align-items:center}.match-discovery .cards>.person{width:100%;max-width:520px}.match-profile-carousel-nav{display:flex;justify-content:center;align-items:center;gap:14px;margin:16px 0}.match-profile-carousel-nav[hidden]{display:none}.match-profile-carousel-nav span{font-size:13px;font-weight:700;color:#17643b}.match-support-mode .cards{touch-action:pan-y}.match-support-mode .match-support-browser{max-width:520px;margin:14px auto}.match-member-mode .match-support-card{border:0}

/* 1.5.9: controles visibles para soporte, un perfil por pantalla. */
.match-support-mode .match-profile-carousel-nav{display:flex!important;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;padding:14px 0}.match-support-mode .match-profile-carousel-nav[hidden]{display:flex!important}.match-support-mode .match-profile-carousel-nav span{min-width:110px;text-align:center}.match-member-mode .match-profile-carousel-nav{display:none!important}.match-discovery article.person[hidden]{display:none!important}

/* 1.6.0 — tarjetas uniformes y navegación compacta */
.match-discovery .cards{display:flex;flex-direction:column;align-items:center;min-height:0}
.match-discovery .cards>.person{width:min(100%,480px);max-width:480px;overflow:hidden;display:flex;flex-direction:column;min-height:0}
.match-discovery .cards>.person[hidden]{display:none!important}
.match-discovery .person-hero{width:100%;height:auto;aspect-ratio:4/4.3;flex:none;overflow:hidden}
.match-discovery .person-hero>img{object-fit:cover;object-position:center}
.match-discovery .person-body{display:flex;flex-direction:column;min-height:164px;padding:18px 20px 20px}
.match-discovery .person-body h2{margin:0;font-size:clamp(23px,4vw,29px);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.match-discovery .person-location{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:8px 0 12px}
.match-discovery .person-actions{margin-top:auto}
.match-discovery .match-profile-carousel-nav{display:grid!important;grid-template-columns:48px minmax(100px,1fr) 48px;align-items:center;gap:12px;width:min(100%,480px);margin:18px auto 0;padding:0 10px}
.match-discovery .match-profile-carousel-nav[hidden],.match-member-mode .match-profile-carousel-nav{display:none!important}
.match-discovery .match-profile-carousel-nav span{min-width:0;text-align:center;font-size:13px;color:#17643b;font-weight:700}
.match-carousel-arrow{width:44px;height:44px;min-height:44px;border:1px solid #e8c9d2;border-radius:50%;background:#fff;color:#800020;font-size:30px;line-height:1;display:grid;place-items:center;cursor:pointer;padding:0;box-shadow:0 3px 10px #3100170c}
.match-carousel-arrow:disabled{opacity:.3;cursor:default}
.match-support-pagination{margin:12px auto 0}
@media(max-width:600px){.match-discovery .person-hero{aspect-ratio:4/4.2}.match-discovery .person-body{min-height:150px}.match-discovery .match-profile-carousel-nav{grid-template-columns:44px 1fr 44px}}

/* 1.6.1: navegación consistente para todos, sin registrar decisiones al deslizar. */
.match-member-mode .match-profile-carousel-nav{display:grid!important}
.match-support-actions .choice-message svg{width:37px;height:37px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:480px){.match-support-actions .choice-message svg{width:33px;height:33px}}

/* Estados de presencia: colores accesibles y discretos */
.match-presence.is-online,.match-inbox-meta.is-online{color:#187442;font-weight:650}
.match-presence.is-offline,.match-inbox-meta.is-offline{color:#b32638;font-weight:650}

/* 1.7.9 — botón descartar circular en la tarjeta de Soporte oficial.
   Ajuste exclusivamente visual: no altera acciones ni otros controles. */
.match-discovery .match-support-actions .choice-pass{
  width:76px;height:76px;min-width:0;min-height:0;aspect-ratio:1 / 1;
  justify-self:center;align-self:center;margin:0;padding:0;
  border-radius:50%;background:#fff;color:#800020;
  border:1.5px solid #d5e4da;box-shadow:0 4px 15px #31001714;
  font-size:27px;font-weight:500;line-height:1;
}
.match-discovery .match-support-actions .choice-pass:hover{background:#fff8fa}
@media(max-width:480px){
  .match-discovery .match-support-actions .choice-pass{width:72px;height:72px;font-size:26px}
}

/* 1.7.10: controles de soporte, tres círculos idénticos y orden X / perfil / mensaje.
   La regla previa 1.7.9 no contemplaba el min-width de los botones ni el flex-shrink. */
.match-discovery .match-support-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.match-discovery .match-support-actions > .choice{
  box-sizing:border-box;display:flex;flex:0 0 76px;
  width:76px;min-width:76px;max-width:76px;
  height:76px;min-height:76px;max-height:76px;
  padding:0;margin:0;border-radius:50%!important;
  align-items:center;justify-content:center;overflow:hidden;
}
.match-discovery .match-support-actions > .choice-pass{font-size:28px;line-height:1;background:#fff;color:#800020;border:1px solid #e8c9d2}
@media(max-width:480px){
  .match-discovery .match-support-actions{gap:10px}
  .match-discovery .match-support-actions > .choice{
    flex:0 0 62px;width:62px;min-width:62px;max-width:62px;
    height:62px;min-height:62px;max-height:62px;
  }
  .match-discovery .match-support-actions > .choice-pass{font-size:25px}
}

/* 1.7.11: destacar conversaciones pendientes sin modificar los mensajes guardados. */
.ifmatch .matches .match-item.match-unread{background:#1458bb!important;color:#fff!important;border-color:#1458bb!important;box-shadow:0 3px 12px rgba(20,88,187,.16);border-radius:12px}
.ifmatch .matches .match-item.match-unread strong,.ifmatch .matches .match-item.match-unread small,.ifmatch .matches .match-item.match-unread .match-inbox-meta{color:#fff!important;opacity:1}
.ifmatch .matches .match-item.match-unread .match-inbox-avatar{background:rgba(255,255,255,.18);color:#fff}
.ifmatch .matches .match-item.match-unread:focus-visible{outline:3px solid #f7bd51;outline-offset:3px}
/* Animación solo al confirmar una coincidencia mutua. */
.ifmatch .person{position:relative}
.ifmatch .match-celebration{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;pointer-events:none;background:rgba(65,0,25,.30);border-radius:inherit;animation:match-celebration-in .25s ease-out both}
.ifmatch .match-celebration-heart{color:#ff2b79;font-size:clamp(82px,22vw,142px);line-height:1;text-shadow:0 5px 24px rgba(0,0,0,.28);animation:match-heart-float 1.05s cubic-bezier(.2,.7,.25,1) both}
.ifmatch .match-celebration-label{color:#fff;font-size:clamp(19px,5vw,27px);font-weight:800;text-shadow:0 2px 10px rgba(0,0,0,.5)}
@keyframes match-celebration-in{from{opacity:0}to{opacity:1}}
@keyframes match-heart-float{0%{opacity:0;transform:translateY(50px) scale(.45)}35%{opacity:1;transform:translateY(0) scale(1.08)}80%{opacity:1;transform:translateY(-24px) scale(1)}100%{opacity:0;transform:translateY(-52px) scale(.92)}}
@media(prefers-reduced-motion:reduce){.ifmatch .match-celebration,.ifmatch .match-celebration-heart{animation:none!important}.ifmatch .match-celebration-reduced{background:rgba(65,0,25,.5)}}

/* 1.7.12: preferencias en navegación; tarjeta de perfiles más arriba */
.mh nav a.match-preferences-nav{color:#800020;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;font-size:inherit;font-weight:inherit;white-space:nowrap}
.mh nav a.match-preferences-nav:hover,.mh nav a.match-preferences-nav:focus-visible{color:#510018;text-decoration-thickness:2px}
.match-discovery{padding-top:20px}
.match-discovery .cards{margin-top:0}
@media(max-width:760px){.match-discovery{padding-top:16px}}

/* 1.7.13: enlace discreto para volver a coincidencias */
.ifmatch .match-back-wrap{margin:18px 0 0;padding:0}
.ifmatch .match-back-link,.ifmatch .match-back-link:visited{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:5px 2px;color:#800020!important;background:transparent;border:0;box-shadow:none;font-size:15px;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.ifmatch .match-back-link svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ifmatch .match-back-link:hover,.ifmatch .match-back-link:focus-visible{color:#510018!important;text-decoration-thickness:2px}
.ifmatch .match-back-link:focus-visible{outline:2px solid #800020;outline-offset:3px;border-radius:3px}

/* 1.7.14 — Compactar solo las tres ventajas en móviles. Escritorio sin cambios. */
@media (max-width:760px){
 .ifmatch .features{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:12px 20px 18px}
 .ifmatch .features article{padding:13px 10px 15px;margin:0}
 .ifmatch .features article b{display:block;font-size:31px;line-height:1.15}
 .ifmatch .features article h3{margin:6px 0 5px;line-height:1.25}
 .ifmatch .features article p{margin:0;line-height:1.45}
}

/* Independent, accessible notification counts in navigation tabs. */
.ifmatch .mh nav a.match-nav-counter{position:relative;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.ifmatch .match-tab-count:not([hidden]){display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#9a0030;color:#fff;font-size:11px;line-height:1;font-weight:750;font-variant-numeric:tabular-nums;box-sizing:border-box}
.ifmatch .match-tab-count[hidden]{display:none!important}
