/* Consultas Perú 7.8 · estilo rojo basado en maqueta proporcionada.
 * CSS de presentación; no modifica el proceso de identidad ni las APIs de consulta.
 */
:root{--cp77-red:#d40917;--cp77-red-dark:#b90412;--cp77-red-light:#fbe7e9;--cp77-ink:#191b20;--cp77-muted:#606773;--cp77-bg:#fff;--cp77-shadow:0 4px 16px rgba(18,28,42,.085);--cp77-safe-top:max(10px, env(safe-area-inset-top));}
html{scroll-behavior:smooth} body.cp77-home,body.cp77-category{background:#fff!important;color:var(--cp77-ink)!important;font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif!important;margin:0!important;max-width:100vw!important} .cp77-home *,body.cp77-category *{box-sizing:border-box}button,input{font:inherit}button{cursor:pointer}a{color:inherit}
.cp77-app{width:100%;max-width:430px;min-height:100dvh;margin:auto;padding-bottom:80px;position:relative;background:linear-gradient(180deg,#fff 20%,#fdfdfd);overflow-x:hidden}
.cp77-hero{height:125px;padding-top:calc(18px + var(--cp77-safe-top));background:linear-gradient(125deg,#c60612,#e40717 60%,#bd0511);color:#fff;position:relative;border-radius:0 0 18px 18px;overflow:hidden}
.cp77-hero::after{content:"";position:absolute;background:#fff;width:115%;height:31px;bottom:-18px;left:-7%;border-radius:50% 50% 0 0;transform:rotate(1deg)}
.cp77-topline{position:relative;z-index:3;display:flex;align-items:center;gap:8px;padding:0 17px;min-height:42px}
.cp77-topline strong{font-size:15px;letter-spacing:-.5px;white-space:nowrap;font-weight:800;flex:1}
.cp77-map-logo{display:inline-block;width:21px;height:29px;flex:0 0 21px;background:white;clip-path:polygon(29% 0,65% 7%,75% 24%,62% 34%,84% 46%,67% 55%,86% 81%,70% 100%,39% 89%,20% 71%,31% 50%,7% 40%,18% 26%);transform:rotate(-9deg)}
.cp77-icon-btn{border:0;background:transparent;color:#fff;width:32px;height:38px;display:flex;align-items:center;justify-content:center;padding:0}.cp77-icon-btn svg{width:24px;height:24px}
.cp77-quota-pill{background:#fff;color:#bc101b;border:0;border-radius:12px;min-width:66px;min-height:42px;display:flex;flex-direction:column;justify-content:center;gap:3px;text-align:center;padding:5px 8px;box-shadow:0 5px 12px rgba(100,0,0,.12)}
.cp77-quota-pill small{font-size:9px;font-weight:700}.cp77-quota-pill b{font-size:13px;line-height:1;font-weight:800}
.cp77-main{padding:4px 13px 38px}.cp77-panel[hidden]{display:none!important}.cp77-intro{margin:4px 6px 21px;display:flex;min-height:68px;align-items:center;justify-content:space-between;background:linear-gradient(90deg,white,rgba(254,245,245,.8));border-radius:14px;padding:12px 9px}
.cp77-intro h2{margin:0;font-weight:800;font-size:13px;line-height:1.4;color:#17191d;letter-spacing:-.2px}.cp77-intro h2 em{font-style:normal;color:#c40614}.cp77-intro p{font-size:10px;color:#787d85;margin:6px 0 0}.cp77-flag{font-size:33px;filter:drop-shadow(0 5px 4px rgba(0,0,0,.07))}
.cp77-searchbox{display:flex;align-items:center;gap:10px;height:49px;margin:0 8px 18px;padding:0 14px;border:1.5px solid #eb2634;border-radius:26px;background:#fff;box-shadow:0 2px 7px rgba(205,12,30,.04)}
.cp77-searchbox svg{width:22px;height:22px;color:#d20818}.cp77-searchbox input{width:100%;border:0!important;outline:0!important;background:transparent;color:#25262c;font-size:12px}
.cp77-search-results{background:#fff;margin:0 8px 16px;border-radius:12px;box-shadow:var(--cp77-shadow)}.cp77-search-results[hidden]{display:none!important}
.cp77-tiles{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 9px}.cp77-tile{border:1px solid #f1f1f1;background:#fff;border-radius:17px;box-shadow:var(--cp77-shadow);height:106px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;font-size:14px;font-weight:750;color:#222;transition:transform .12s}.cp77-tile:active{transform:scale(.97)}
.cp77-tile-icon,.cp77-item-icon{display:flex;align-items:center;justify-content:center;border-radius:14px;flex:0 0 auto}.cp77-tile-icon{width:51px;height:51px}.cp77-item-icon{width:43px;height:43px}.cp77-tile-icon svg{height:31px;width:31px;stroke-width:2.5}.cp77-item-icon svg{width:25px;height:25px;stroke-width:2.4}
.blue{color:#1585e7!important;background:#e4f3ff!important}.pink{color:#ec1466!important;background:#ffe5ee!important}.green{color:#00ad58!important;background:#e3fbe9!important}.orange{color:#ff8018!important;background:#fff1e3!important}.purple{color:#8c46f1!important;background:#f4eaff!important}.teal{color:#08b9bc!important;background:#e4f9fa!important}
.cp77-note{font-size:10px;line-height:1.6;text-align:center;padding:12px 12px;color:#9296a0;margin:8px auto}
.cp77-bottom-nav{position:fixed;bottom:0;z-index:20;left:50%;transform:translateX(-50%);width:min(100%,430px);min-height:70px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;align-items:center;background:#fff;border-top:1px solid #efeff0;box-shadow:0 -5px 14px rgba(0,0,0,.025)}
.cp77-bottom-nav button{min-width:80px;background:none;border:0;color:#4f5560;display:flex;gap:4px;align-items:center;flex-direction:column;font-size:10px;padding:3px 6px}.cp77-bottom-nav svg{width:24px;height:24px;stroke-width:2}.cp77-bottom-nav button.active{color:var(--cp77-red);font-weight:800}.cp77-bottom-nav button.active svg{fill:rgba(212,9,23,.09)}
.cp77-section-head{margin:17px 10px 16px}.cp77-section-head h2{font-size:18px;font-weight:800;letter-spacing:-.5px;margin:0 0 5px}.cp77-section-head p{font-size:11px;color:#818791;margin:0}.cp77-back{background:none;border:none;color:#c81220;padding:5px 0;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;margin-bottom:10px}.cp77-back svg{height:18px;width:18px}
.cp77-list{display:flex;flex-direction:column;gap:8px;margin:0 6px 28px}.cp77-list-row,.cp77-row-static{min-height:62px;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #f1f1f3;border-radius:14px;padding:8px 12px;box-shadow:var(--cp77-shadow);width:100%;text-align:left;text-decoration:none;color:#17191f}.cp77-list-row .cp77-list-content,.cp77-row-static span{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.cp77-list-row b,.cp77-row-static b{font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cp77-list-row small,.cp77-row-static small{font-size:10px;color:#7c828d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.25}.cp77-list-row>.cp77-arrow{width:18px;height:18px;color:#6c717a}.cp77-list-row .cp77-star{border:0;background:transparent;padding:8px 5px;color:#d41623;align-self:center}.cp77-star svg{width:18px;height:18px}.cp77-star.is-saved svg{fill:rgba(212,9,23,.25)}.cp77-row-static>svg{width:22px;height:22px;color:#d00716}.cp77-list-row.empty-state{justify-content:center;text-align:center;padding:25px;flex-direction:column;gap:13px;box-shadow:none;border:none}.cp77-list-row.empty-state .cp77-empty-icon{width:103px;height:103px;border-radius:50%;background:#fff0f1;color:#eb2935;display:flex;align-items:center;justify-content:center}.cp77-empty-icon svg{width:55px;height:55px;stroke-width:1.5}.cp77-list-row.empty-state h2{font-size:17px}.cp77-list-row.empty-state p{font-size:12px;line-height:1.6;color:#747983}.cp77-outline{border:1px solid #e21421!important;background:white;color:#d00617;padding:12px 21px;border-radius:24px;font-weight:750;font-size:12px}
.cp77-text-card{background:white;border-radius:17px;padding:23px 18px;box-shadow:var(--cp77-shadow);line-height:1.6}.cp77-text-card h3{font-size:13px;margin:0 0 8px}.cp77-text-card p{font-size:12px;color:#5b6069;margin:0 0 15px}
.cp77-menu-backdrop,.cp77-dialog-backdrop{position:fixed;inset:0;background:rgba(19,16,20,.55);z-index:29}.cp77-menu-backdrop[hidden],.cp77-dialog-backdrop[hidden]{display:none!important}.cp77-drawer{position:fixed;z-index:30;left:max(0px,calc((100vw - 430px)/2));top:0;bottom:0;width:min(82vw,330px);background:#fff;transform:translateX(-108%);transition:transform .24s ease;box-shadow:5px 0 24px rgba(0,0,0,.17);overflow-y:auto}.cp77-drawer.open{transform:translateX(0)}
.cp77-drawer-head{height:118px;padding:40px 16px 17px;display:flex;align-items:center;gap:10px;background:linear-gradient(110deg,#ce0814,#e30d1a);color:white}.cp77-drawer-head strong{flex:1;font-size:16px}.cp77-drawer-head button{background:none;border:0;color:white}.cp77-drawer-items{padding:13px 14px;display:flex;flex-direction:column;gap:4px}.cp77-drawer-items>button{width:100%;display:flex;gap:17px;align-items:center;min-height:52px;text-align:left;background:white;border:0;padding:10px 12px;border-radius:14px;font-size:12px;font-weight:600;color:#25282e}.cp77-drawer-items>button svg{width:22px;height:22px;color:#545b66}.cp77-drawer-items>button.active{background:#ffedef;color:#bc0918;font-weight:800}.cp77-drawer-items>button.active svg{color:#c60817}.cp77-drawer-items>button span{margin-left:auto;background:#fbe5e7;color:#c40b18;padding:5px 9px;border-radius:30px;font-size:11px;font-weight:800}
.cp77-dialog{position:fixed;z-index:32;left:50%;top:50%;transform:translate(-50%,-50%);width:min(calc(100vw - 36px),365px);border-radius:22px;background:#fff;padding:24px;box-shadow:0 14px 44px rgba(0,0,0,.21);text-align:center}.cp77-dialog[hidden]{display:none!important}.cp77-dialog-icon{width:70px;height:70px;background:#fee9ea;color:#d20818;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center}.cp77-dialog-icon svg{width:33px;height:33px}.cp77-dialog h2{font-size:18px}.cp77-dialog p{font-size:12px;line-height:1.7;color:#70747e}.cp77-dialog-buttons{display:flex;gap:9px;justify-content:center;margin:20px 0 8px}.cp77-dialog-buttons>button{flex:1;border-radius:25px;padding:12px 7px;font-size:12px;font-weight:800}.cp77-primary{background:var(--cp77-red);color:#fff;border:0}.cp77-dialog small{font-size:11px;color:#747983}
/* ---- Vistas alojadas en /categoria/*.php ---- */
body.cp77-category{--color-tema:var(--cp77-red)!important;--cp-blue:#d40917!important;--cp-blue2:#ed192a!important;--cp-bg:#fff!important;--cp-action1:#d40917!important;--cp-action2:#d40917!important;--cp-text:#1b1e22!important;--cp-muted:#888e97!important}
.cp77-category .app-shell{width:100%!important;max-width:430px!important;background:#fff!important;min-height:100dvh!important;padding-bottom:90px!important}
.cp77-category .header{position:relative!important;height:calc(74px + var(--cp77-safe-top))!important;min-height:calc(74px + var(--cp77-safe-top))!important;background:linear-gradient(110deg,#c90614,#e60b18)!important;border-radius:0 0 17px 17px!important;margin:0!important;box-shadow:none!important;overflow:hidden!important}
.cp77-category .header::after{content:"";position:absolute;bottom:-18px;width:112%;height:25px;left:-6%;border-radius:50%;background:white}
.cp77-category .header .cp-exact-shine,.cp77-category .header .cp-exact-dots,.cp77-category .header .cp-exact-user-area,.cp77-category .header .cp-exact-credits,.cp77-category .header .cp-exact-curve,.cp77-category .header #particles{display:none!important}
.cp77-category .cp77-toolbar{position:absolute;z-index:20;inset:calc(15px + var(--cp77-safe-top)) 16px auto;display:flex;gap:15px;align-items:center;color:#fff;font-size:15px;font-weight:800;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cp77-category .cp77-toolbar a{color:white!important;text-decoration:none;display:flex;align-items:center;justify-content:center;width:26px;height:33px;flex-shrink:0}.cp77-toolbar svg{width:22px;height:22px}
.cp77-category .content{margin:0!important;padding:17px 17px 95px!important;position:relative!important;background:#fff!important;box-shadow:none!important}
.cp77-category .cp-exact-search{background:#fff!important;width:100%!important;max-width:410px!important;margin:0 auto!important;padding:4px 0 16px!important;box-shadow:none!important;text-align:center!important;border:none!important;border-radius:0!important}
.cp77-category .cp-exact-icon-area{width:94px!important;height:94px!important;margin:9px auto 10px!important}
.cp77-category .cp-exact-icon-halo{background:linear-gradient(140deg,#fee9eb,#fff4f4)!important;border-radius:23px!important}
.cp77-category .cp-exact-icon-circle{width:67px!important;height:67px!important;border-radius:17px!important;background:linear-gradient(130deg,#fdebeb,#fff5f5)!important;box-shadow:none!important;color:var(--cp77-red)!important}
.cp77-category .cp-exact-document{background:linear-gradient(145deg,#f31e51,#d9082c)!important;box-shadow:0 4px 10px rgba(194,0,27,.17)!important;border-radius:8px!important}
.cp77-category .cp-exact-spark{color:#fa99a1!important}
.cp77-category .cp-exact-title{font-family:inherit!important;color:#15171b!important;font-size:18px!important;font-weight:800!important;letter-spacing:-.3px!important;line-height:1.25!important;text-transform:none!important;margin:5px 0 5px!important}
.cp77-category .cp-exact-subtitle{font-family:inherit!important;color:#5a6067!important;font-size:12px!important;line-height:1.5!important;font-weight:400!important;max-width:290px!important;margin:0 auto 25px!important}
.cp77-category .cp-exact-form{width:100%!important;padding:0!important;margin:0!important;box-shadow:none!important;background:white!important;border:0!important;display:flex!important;flex-direction:column!important;gap:10px!important}
.cp77-category .cp-exact-form input:not([type='checkbox']):not([type='hidden']),.cp77-category .cp-exact-form select,.cp77-category .cp-exact-form textarea{min-height:49px!important;border:1px solid #d7dadd!important;border-radius:9px!important;background:#fff!important;color:#353942!important;box-shadow:none!important;font-size:13px!important;padding:10px 13px!important;outline:none!important}
.cp77-category .cp-exact-form input:focus,.cp77-category .cp-exact-form textarea:focus{border-color:#d60919!important}
.cp77-category .cp-exact-field-wrap,.cp77-category .search-container{border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;min-height:49px!important}
.cp77-category .cp-exact-field-icon{color:#707985!important}.cp77-category .cp-exact-field-wrap input{padding-left:40px!important}.cp77-category .search-container input{padding-left:40px!important}
.cp77-category .cp-exact-form .cp-reward-btn,.cp77-category .cp-exact-form .cp-free-submit,.cp77-category .cp-exact-form .search-button,.cp77-category .cp-exact-form .submit-btn-modern{background:linear-gradient(95deg,#c70010,#e30c1c)!important;color:#fff!important;border:0!important;border-radius:26px!important;min-height:47px!important;box-shadow:0 5px 11px rgba(195,0,19,.11)!important;font-size:12.5px!important;font-weight:800!important}
.cp77-category .cp-exact-form .cp-reward-btn:disabled{opacity:.57!important}
.cp77-category .cp-reward-card,.cp77-category .cp-reward-option{border:0!important;background:white!important;box-shadow:none!important;padding:5px 0!important}
.cp77-category .cp-reward-btn-copy strong{font-size:12px!important}.cp77-category .cp-reward-btn-copy small{font-size:9px!important}
.cp77-category .balance,.cp77-category .cost-note,.cp77-category .cp-paid-submit,.cp77-category .cp-vip-submit,.cp77-category .cp-mode-switch,.cp77-category .cp-exact-credits,.cp77-category a[href^='app://store'],.cp77-category .result-tag,.cp77-category .premium-upsell,.cp77-category .upgrade-card{display:none!important}
.cp77-category .check-modern,.cp77-category label[for='authCheck']{font-size:10px!important;line-height:1.55!important;color:#777!important;text-align:left!important}
.cp77-category .result-card,.cp77-category .resultado,.cp77-category .result-container,.cp77-category .resultado-card{max-width:100%!important;border-radius:15px!important;background:#fff!important;box-shadow:none!important;border:0!important;padding:8px 0 16px!important;margin:12px auto!important;color:#202329!important}
.cp77-category .result-header{display:flex!important;gap:12px!important;align-items:center!important;margin-bottom:12px!important;padding:10px 4px!important;background:#fff!important;color:#181b21!important}
.cp77-category .result-header::before{content:'✓';width:54px;height:54px;border-radius:50%;background:#e0f7e9;color:#12ae5c;display:grid;place-items:center;font-size:21px;font-weight:900}
.cp77-category .result-name{font-size:15px!important;font-weight:800!important;color:#181b20!important;text-align:left!important;line-height:1.3!important}
.cp77-category .result-grid{display:flex!important;flex-direction:column!important;gap:0!important;box-shadow:var(--cp77-shadow)!important;border-radius:14px!important;padding:4px 13px!important;background:#fff!important;border:1px solid #f0f0f0!important}
.cp77-category .result-item{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;border:0!important;border-bottom:1px solid #eceef0!important;min-height:42px!important;padding:8px 0!important;margin:0!important;background:#fff!important}
.cp77-category .result-item:last-child{border-bottom:0!important}.cp77-category .result-label{color:#5d6671!important;text-transform:none!important;letter-spacing:0!important;font-size:10.5px!important;flex:1!important;text-align:left!important;margin:0!important}.cp77-category .result-value{color:#181a20!important;font-size:10.8px!important;font-weight:750!important;text-align:right!important;max-width:57%!important;word-break:break-word!important}
.cp77-category .result-actions{display:flex!important;gap:10px!important;margin:18px 0!important}.cp77-category .result-btn{border-radius:24px!important;padding:10px!important;background:#fbe7e8!important;color:#bd0715!important;font-size:11px!important}
.cp77-category .status-box,.cp77-category .error-box{border-radius:13px!important;background:#fff1f2!important;border:1px solid #f9d6d9!important;color:#a91522!important;padding:14px!important;font-size:12px!important}
.cp77-category .cp77-result-actions{display:flex;gap:8px;justify-content:center;margin:19px 0!important}.cp77-category .cp77-result-actions button{display:flex;align-items:center;gap:6px;border:0;background:#ffe9eb;color:#be0814;border-radius:25px;font-size:12px;font-weight:750;padding:12px 17px}.cp77-category .cp77-result-actions .cp77-share{background:#d00817;color:white}.cp77-category .cp77-result-actions svg{width:17px;height:17px}
.cp77-category .cp77-page-footer{position:relative;margin:18px auto 10px;padding:14px;text-align:center;color:#8c9199;font-size:10px}.cp77-category .cp77-return{display:inline-flex;align-items:center;gap:5px;text-decoration:none;background:#fff;border:1px solid #e8e8e8;border-radius:25px;color:#ca101f;font-weight:700;padding:10px 18px}.cp77-category .cp77-return svg{width:16px;height:16px}
.cp77-category #cp-native-ad-slot{margin:15px 0!important;border-radius:16px!important}
.cp77-category .cp77-quota-badge{border-radius:30px;background:#fff3f4;color:#c60b18;font-size:10px;padding:6px 12px;align-self:center;font-weight:800;margin:8px auto}
@media(min-width:600px){.cp77-category .app-shell{border-left:1px solid #eee!important;border-right:1px solid #eee!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

body.cp77-native .cp77-bottom-nav{display:none!important}body.cp77-native .cp77-app{padding-bottom:12px}


/* ===== 7.8 - precisión visual: sin logotipo/flag, campos blancos ===== */
.cp77-map-logo,.cp77-flag{display:none!important}
.cp77-hero{height:108px!important;background:#d30715!important;border-radius:0 0 17px 17px!important}
.cp77-hero::after{height:25px!important;bottom:-16px!important}
.cp77-topline{padding:0 17px!important;gap:11px!important;min-height:42px!important}
.cp77-topline strong{font-size:16px!important;letter-spacing:-.35px!important;font-weight:750!important}
.cp77-intro{justify-content:flex-start!important;background:#fff!important;margin-top:9px!important;min-height:76px!important}
.cp77-intro p{margin-top:5px!important}
.cp77-category .header{height:calc(65px + var(--cp77-safe-top))!important;min-height:calc(65px + var(--cp77-safe-top))!important;background:#d30715!important}
.cp77-category .cp77-toolbar{inset:calc(12px + var(--cp77-safe-top)) 17px auto!important;font-size:17px!important;font-weight:750!important;gap:13px!important}
.cp77-category .content{padding:17px 17px 65px!important}
/* El gradiente morado se aplicaba sobre el contenedor envolvente, no al input. */
body.cp77-category .search-box-wrapper,
body.cp77-category .cp-exact-field-wrap{
 background:#fff!important;background-image:none!important;background-color:#fff!important;
 animation:none!important;border:1px solid #d9dce2!important;
 border-radius:10px!important;box-shadow:none!important;
 padding:0!important;min-height:50px!important;width:100%!important;
}
body.cp77-category .search-container{
 background:#fff!important;background-image:none!important;border:0!important;
 box-shadow:none!important;border-radius:10px!important;min-height:49px!important;
 padding:0 11px!important;display:flex!important;align-items:center!important;
}
body.cp77-category .search-input,
body.cp77-category .cp-exact-form .search-container .search-input,
body.cp77-category .cp-exact-form input:not([type='checkbox']):not([type='hidden']):not([type='radio']):not([type='submit']),
body.cp77-category .cp-exact-form textarea,
body.cp77-category .cp-exact-form select{
 background:#fff!important;background-image:none!important;background-color:#fff!important;
 color:#191c23!important;-webkit-text-fill-color:#191c23!important;
 opacity:1!important;text-shadow:none!important;box-shadow:none!important;
 font:500 14px/1.4 'Inter',system-ui,sans-serif!important;
}
body.cp77-category .cp-exact-form .search-container .search-input{border:0!important;outline:0!important;min-height:46px!important;padding:8px 12px!important}
body.cp77-category .cp-exact-form input::placeholder,
body.cp77-category .cp-exact-form textarea::placeholder{
 color:#747b87!important;-webkit-text-fill-color:#747b87!important;opacity:1!important;
}
body.cp77-category .cp-exact-field-icon{color:#737b87!important}
body.cp77-category .cp-exact-search{padding-top:4px!important}
body.cp77-category .cp-exact-form .cp-reward-btn,
body.cp77-category .cp-exact-form .cp-free-submit,
body.cp77-category .cp-exact-form .submit-btn-modern,
body.cp77-category .cp-exact-form .cp77-submit-primary{
 background:#d30715!important;background-image:none!important;
 color:white!important;border-radius:25px!important;border:0!important;
 min-height:48px!important;width:100%!important;max-width:100%!important;
 box-shadow:0 5px 12px rgba(170,4,24,.10)!important;
 font:750 14px/1.3 'Inter',system-ui,sans-serif!important;
 display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
}
body.cp77-category .cp-exact-form .cp-reward-btn:disabled{opacity:.55!important}
body.cp77-category .cp-reward-btn-copy small{font-size:10px!important;line-height:1.35!important;color:#fff!important;opacity:.92!important}
body.cp77-category .cp-reward-btn-copy strong{font-size:14px!important;color:#fff!important}
body.cp77-category .cp-reward-card,
body.cp77-category .cp-reward-option{max-width:100%!important;padding:7px 0!important;box-shadow:none!important;overflow:visible!important}
body.cp77-category .cp-reward-card svg{max-width:22px!important;max-height:22px!important}
body.cp77-category .cp-reward-count,body.cp77-category .cp-reward-option{display:none!important}
/* Ranuras reservadas: nunca superpuestas a entradas ni botones. */
.cp78-top-banner-slot{height:68px;min-height:68px;width:100%;margin:0 auto 6px;background:#fff;border-bottom:1px solid #f0f0f2;position:relative;z-index:1}
.cp77-category #cp-native-ad-slot{width:100%!important;margin:20px auto 12px!important;border-radius:13px!important;position:relative!important;clear:both!important;flex-shrink:0!important;box-shadow:none!important}
.cp77-category .cp-exact-form{overflow:visible!important}
body.cp77-category .cp77-page-footer{padding-bottom:28px!important}
@media(max-width:360px){.cp77-topline strong{font-size:14px!important}.cp77-quota-pill{min-width:60px!important}}

/* ===== Consultas Perú 7.9: autorización visible, títulos legibles ===== */
body.cp77-category .check-modern,
body.cp77-category label.cp79-auth-visible,
body.cp77-category .cp-exact-form .check-modern,
body.cp77-category .cp77-form .check-modern {
 display:flex!important;align-items:flex-start!important;gap:12px!important;
 width:100%!important;height:auto!important;min-height:48px!important;
 padding:12px 13px!important;margin:8px 0 12px!important;
 border:1px solid #e6e9ef!important;background:#fff!important;
 border-radius:12px!important;color:#303844!important;
 font:500 12px/1.5 Inter,system-ui,sans-serif!important;
 box-shadow:none!important;opacity:1!important;visibility:visible!important;
}
body.cp77-category .check-modern input[type=checkbox],
body.cp77-category label.cp79-auth-visible input[type=checkbox] {
 appearance:auto!important;-webkit-appearance:checkbox!important;display:block!important;
 position:static!important;visibility:visible!important;opacity:1!important;
 flex:0 0 20px!important;width:20px!important;height:20px!important;
 margin:0!important;padding:0!important;accent-color:#d30715!important;
 pointer-events:auto!important;z-index:1!important;
}
body.cp77-category .check-modern span,body.cp77-category label.cp79-auth-visible span {flex:1;min-width:0;}
body.cp77-category .cp79-auth-error{border-color:#d30715!important;box-shadow:0 0 0 3px rgba(211,7,21,.07)!important;}
body.cp77-category .cp77-toolbar {
 display:flex!important;align-items:center!important;gap:12px!important;
 overflow:visible!important;text-overflow:clip!important;white-space:normal!important;
 width:calc(100% - 32px)!important;min-width:0!important;
}
body.cp77-category .cp77-toolbar span{
 display:block!important;flex:1!important;min-width:0!important;
 font:750 clamp(13px,4vw,17px)/1.25 Inter,system-ui,sans-serif!important;
 letter-spacing:-.3px!important;white-space:normal!important;overflow-wrap:break-word!important;
 text-overflow:clip!important;color:#fff!important;max-height:none!important;
}
body.cp77-category .header{overflow:visible!important;min-height:calc(70px + var(--cp77-safe-top))!important;}
/* El banner vive en un espacio propio. Cuando AdMob no está habilitado, no se dibuja. */
.cp79-banner-slot{height:68px;min-height:68px;width:100%;max-width:430px;
 margin:0 auto 6px;background:#fff;position:relative;z-index:1;overflow:hidden;}
.cp79-banner-slot[hidden]{display:none!important;}
/* Diálogos propios: el dominio del servidor no aparece en ventanas JavaScript. */
.cp79-dialog-shade{position:fixed;inset:0;z-index:200000;
 background:rgba(20,24,34,.48);display:flex;align-items:center;justify-content:center;
 padding:20px;overscroll-behavior:contain;}
.cp79-dialog-shade[hidden]{display:none!important;}
.cp79-dialog-card{width:100%;max-width:345px;background:#fff;border-radius:22px;
 padding:24px 21px 20px;box-shadow:0 22px 60px rgba(0,0,0,.17);
 font-family:Inter,system-ui,sans-serif;text-align:center;color:#1b2028;}
.cp79-dialog-icon{width:46px;height:46px;border-radius:15px;margin:0 auto 13px;
 background:#fff0f1;color:#cb0a1c;display:grid;place-items:center;font-size:25px;font-weight:800;}
.cp79-dialog-card h2{font:750 18px/1.3 Inter,system-ui,sans-serif;margin:0 0 10px;color:#1b2028;}
.cp79-dialog-card p{font:450 13px/1.55 Inter,system-ui,sans-serif;margin:0 0 20px;color:#5e6470;white-space:pre-line;}
.cp79-dialog-actions{display:flex;gap:10px;justify-content:center;}
.cp79-dialog-actions button{min-height:45px;flex:1;border-radius:23px;
 font:750 13px Inter,system-ui,sans-serif;padding:10px 12px;}
.cp79-dialog-cancel{background:#f5f6f8;color:#49515e;border:1px solid #e9eaee;}
.cp79-dialog-accept{background:#d30715;color:white;border:0;}

/* 7.9.3: tarjetas proporcionadas, animación táctil visible y tipografía discreta. */
.cp77-home .cp77-tiles{gap:8px!important;margin:0 7px!important}
.cp77-home .cp77-tile{height:92px!important;border-radius:14px!important;gap:6px!important;font-size:12.5px!important;font-weight:700!important;transition:transform .12s ease,box-shadow .12s ease,background-color .12s ease!important;touch-action:manipulation}
.cp77-home .cp77-tile-icon{width:43px!important;height:43px!important;border-radius:12px!important}
.cp77-home .cp77-tile-icon svg{width:24px!important;height:24px!important;stroke-width:2.1!important}
.cp77-tile:active,.cp77-tile.cp77-pressed,.cp77-list-row:active,.cp77-list-row.cp77-pressed{transform:scale(.954)!important;background:#f8f9fb!important;box-shadow:0 1px 4px rgba(0,0,0,.10)!important}
.cp77-list-row{transition:transform .12s ease,background-color .12s ease,box-shadow .12s ease!important;touch-action:manipulation}
.cp77-category .cp77-toolbar .cp79-header-quota{flex:0 0 auto;min-width:67px;min-height:39px;border:0;border-radius:11px;padding:4px 7px;background:#fff;color:#c30919;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1;gap:3px}
.cp77-category .cp77-toolbar .cp79-header-quota small{font:650 9px/1.1 Inter,system-ui,sans-serif;color:#a11b27}
.cp77-category .cp77-toolbar .cp79-header-quota b{font:800 13px/1 Inter,system-ui,sans-serif;color:#c30919}
.cp77-category .cp77-toolbar > span{min-width:0;white-space:normal}
.cp77-category .cp-reward-btn{border-radius:25px!important;min-height:48px!important;justify-content:center!important;text-align:center!important;background:#d30715!important;background-image:none!important;font:800 14px/1.25 Inter,system-ui,sans-serif!important;box-shadow:0 5px 12px rgba(174,6,22,.14)!important}
.cp77-category .cp-reward-btn::before,.cp77-category .cp-reward-arrow{display:none!important}
.cp77-category .cp-reward-card{margin-top:2px!important;margin-bottom:4px!important}
@media(max-width:360px){.cp77-home .cp77-tile{height:86px!important}.cp77-home .cp77-tile-icon{width:40px!important;height:40px!important}}

/* Consultas Perú 7.9.4 — Encabezados RECTOS y portada simple. */
.cp77-hero,.cp77-category .header,body.cp77-category .header{
  border-radius:0!important;overflow:hidden!important;
}
.cp77-hero::after,.cp77-category .header::after,.cp77-hero-shape,.cp-exact-curve{display:none!important;content:none!important}
.cp77-intro{margin:12px 8px 10px!important;min-height:auto!important;padding:12px 4px!important;border-radius:0!important;background:#fff!important}
.cp77-intro p{font:400 15px/1.45 'Inter',system-ui,sans-serif!important;color:#4e535c!important;margin:0!important;letter-spacing:0!important}
.cp77-intro h2,.cp77-searchbox,.cp77-search-results{display:none!important}
