/* ===== Diseño de referencia v7.6 — solo estilo, no toca funciones (se carga al final) ===== */
:root{--g1:#1f8a4c;--g2:#14602f;--g3:#0c3f1f;--yl:#f4c430;--cr:#fff7dd;--rf:18px;--rsh:0 2px 4px rgba(12,63,31,.06),0 10px 26px rgba(12,63,31,.12)}
body{background:#f3f8f4}
/* Cabecera verde con nombre en dos líneas */
.top{min-height:64px;box-shadow:0 3px 14px rgba(12,63,31,.35)}   /* el fondo corporativo con motivo andino de theme.css se conserva */
.brand img{width:46px;height:46px;border-radius:14px;padding:2px}
.brand .bx span{font-family:Inter,system-ui,sans-serif!important;font-weight:800;font-size:1rem;letter-spacing:.03em;text-transform:uppercase;line-height:1.1;color:#fff;white-space:nowrap}
.brand .bx span em{display:inline;font-style:normal;color:var(--yl);font-size:inherit}
.brand .bx small{display:block;margin-top:2px;font-size:.68rem;font-weight:500;letter-spacing:.01em;color:rgba(255,255,255,.85)}
.burger,.bell{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.16)}
.me img,.me .av,.top .me>*{border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.25)}
/* Botones: verde sólido, redondeados, con relieve suave */
.btn,button.btn,a.btn{background:linear-gradient(180deg,var(--g1),var(--g2))!important;color:#fff!important;border:0;border-radius:14px;font-weight:700;padding:12px 18px;box-shadow:0 4px 0 var(--g3),0 8px 16px rgba(12,63,31,.22);transition:transform .12s,box-shadow .12s}
.btn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--g3),0 3px 8px rgba(12,63,31,.2)}
.top .btn{background:#fff!important;color:var(--g2)!important;box-shadow:none;padding:8px 18px;border-radius:999px}
/* Formularios: campos grandes, redondeados, borde verde claro */
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea{border:2px solid #cfe5d6;border-radius:16px;background:#fff;padding:13px 14px;font-size:1rem;box-shadow:0 1px 0 rgba(12,63,31,.04)}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--g1);box-shadow:0 0 0 4px rgba(31,138,76,.16)}
input[type=checkbox]{accent-color:var(--g1);width:20px;height:20px}
/* Tarjetas y accesos rápidos (Fotos, Vídeos, Historias, Eventos) */
.card,.cblock,.pcard{border-radius:var(--rf);border:1px solid #dcebe1;box-shadow:var(--rsh)}
.tile{border-radius:var(--rf);border:1px solid #dcebe1;box-shadow:var(--rsh);padding:14px 6px 12px;font-weight:700;font-size:.9rem;color:var(--ink);transition:transform .15s}
.tile:active{transform:scale(.95)}
.tile i{font-size:1.55rem;width:54px;height:54px;border-radius:16px;display:grid;place-items:center;margin:0 auto 4px;background:#e8f3ff;box-shadow:inset 0 -3px 0 rgba(0,0,0,.06)}
.tile:nth-child(2) i{background:#ffe5e5}.tile:nth-child(3) i{background:#f1e6ff}.tile:nth-child(4) i{background:#e2f6e8}
.hero{border-radius:22px}
.hero .btn{background:var(--yl)!important;color:#3a2a00!important;box-shadow:0 4px 0 #b88f00}
.pcard .th{border-radius:0}
.pcard .pb h3{font-weight:700}
/* Títulos de sección con enlace «Ver todas →» */
h2{font-weight:800;color:var(--g3)}
/* Barra inferior: botón central verde «Publicar» */
.bar{border-radius:26px;background:rgba(255,255,255,.96);box-shadow:0 8px 30px rgba(12,63,31,.22);border:1px solid #dcebe1}
.bar a,.bar button{color:#4b6a58}
.bar .on,.bar .on b{color:var(--g1)}
.bar .on i{background:#e2f6e8}
.bar .plus i{width:58px;height:58px;margin-top:-28px;background:linear-gradient(145deg,var(--g1),var(--g3));color:#fff;box-shadow:0 8px 18px rgba(12,63,31,.45),0 0 0 5px #fff}
.bar .plus,.bar .plus b{color:var(--g1);font-weight:800}
/* Barra de hora/país y avisos */
.geo{background:#fff;border-bottom:1px solid #dcebe1}
.flash.ok{background:var(--cr);border:1px solid #f0d27a;color:#4a3700;border-radius:14px}
.foot{color:#4b6a58}

/* ===== Barra inferior con muchas pestañas: se desliza hacia los lados, sin deformarse ===== */
.bar{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-top:16px!important}
.bar::-webkit-scrollbar{display:none}
.bar a,.bar button{flex:1 0 auto;min-width:64px;max-width:96px;scroll-snap-align:center}
.bar b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.bar .plus i{margin-top:-12px!important;width:54px;height:54px}
@media(min-width:800px){.bar{max-width:640px}}
