/* RECIGRAM v1.3 | retos visuales compactos, sin tarjetas gigantes */
.rg13-section{margin:18px 0 22px}.rg13-section-head{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:0 0 12px}.rg13-section-head h2{font-size:21px;line-height:1.25;margin:2px 0 0;color:#163d2b}.rg13-section-head small{font-size:10px;letter-spacing:.11em;font-weight:800;color:#268858}.rg13-section-head button{border:0;background:transparent;color:#0e7543;font-size:12px;font-weight:800;cursor:pointer}
.rg13-list{display:grid;gap:10px}.rg13-challenge{border:1px solid #e4ede5;border-radius:17px;background:#fff;display:flex;align-items:flex-start;gap:13px;padding:15px;box-shadow:0 5px 16px rgba(21,74,44,.04)}.rg13-challenge.rg13-complete{border-color:#9cddb0;background:#f4fbf5}.rg13-icon{flex:0 0 43px;width:43px;height:43px;border-radius:14px;display:grid;place-items:center;font-size:23px;background:#ebf6ea}.rg13-copy{min-width:0;flex:1}.rg13-top{display:flex;justify-content:space-between;gap:5px;align-items:center;flex-wrap:wrap;font-size:10px;font-weight:800;color:#428d60;letter-spacing:.05em}.rg13-dtag{font-size:9px;color:#748779;background:#f2f6f1;padding:4px 6px;border-radius:8px;letter-spacing:0}.rg13-complete .rg13-dtag{color:#076439;background:#def4df}.rg13-copy h3{font-size:15px;line-height:1.25;color:#143f2b;margin:7px 0 4px}.rg13-copy p{margin:0;font-size:12px;color:#697e70;line-height:1.5}.rg13-track{height:6px;background:#e7f0e7;border-radius:10px;overflow:hidden;margin:10px 0 7px}.rg13-track>span{display:block;background:linear-gradient(90deg,#1aa765,#91d54b);height:100%;border-radius:10px}.rg13-foot{display:flex;justify-content:space-between;gap:5px;font-size:11px;color:#668573}.rg13-foot b{color:#168151}.rg13-empty{padding:15px;background:#f1f7f1;border-radius:13px;font-size:13px;color:#4b7960}
/* Admin */
.rg13-admin-help{background:#f1f8f3;border:1px solid #dbe9dd;padding:14px;border-radius:14px;font-size:13px;color:#466c56;margin:14px 0}.rg13-admin-list{display:grid;gap:10px}.rg13-admin-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #e1ece4;background:white;border-radius:14px;padding:14px}.rg13-admin-icon{font-size:25px;background:#e9f5ec;border-radius:12px;padding:9px}.rg13-admin-copy{flex:1;min-width:150px}.rg13-admin-copy strong{display:block;color:#163c2a}.rg13-admin-copy small{color:#688172;display:block;margin-top:4px}.rg13-admin-tag{font-size:11px;font-weight:800;padding:6px 9px;background:#e3f4e7;border-radius:18px;color:#087242}.rg13-admin-tag.off{background:#f1f1f1;color:#7b7b7b}.rg13-admin-actions{display:flex;gap:6px}.rg13-admin-actions button{border:1px solid #dbe8df;background:#f8faf8;border-radius:9px;padding:8px 12px;cursor:pointer;font-weight:700;color:#1a6440}.rg13-admin-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:15px 0}.rg13-admin-footer small{color:#407357;font-size:12px;max-width:430px}.rg13-fields{display:grid;gap:10px}.rg13-fields label{display:grid;gap:6px;font-size:13px;font-weight:700}.rg13-fields input,.rg13-fields select,.rg13-fields textarea{width:100%;border:1px solid #d4e5d8;border-radius:11px;padding:11px;font:inherit}.rg13-fields input[type=checkbox]{width:auto}.rg13-count{border-radius:13px;background:#edf7ef;color:#13643b;padding:7px 12px;font-size:12px;font-weight:800}@media(max-width:420px){.rg13-admin-row{align-items:start}.rg13-admin-tag{font-size:10px}}

/* Bottom navigation follows the mobile app frame, not the obsolete floating desktop pill. */
.bottom-nav{position:sticky;left:auto;right:auto;bottom:0;transform:none;width:100%;max-width:none;height:auto;min-height:70px;margin:0;border-radius:0;border:0;border-top:1px solid #dfe9df;box-shadow:0 -6px 16px rgba(13,51,42,.055);background:rgba(255,255,255,.98);padding:9px 7px max(11px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;}
.bottom-nav .nav-item{width:100%;height:auto;min-height:45px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;margin:0;padding:4px 0;color:#708078;}
.bottom-nav .nav-item.active{color:#0d7a44;}
.bottom-nav .nav-main{width:100%;height:55px;max-width:72px;border-radius:16px;transform:translateY(-11px);margin:0 auto -11px;color:white;background:linear-gradient(135deg,#086c3b,#18894a);box-shadow:0 6px 15px rgba(5,90,43,.23);}
.bottom-nav .nav-main small{color:white;}
@media(max-width:850px){.phone-device{height:100dvh;max-height:100dvh}.app-shell{height:100%;min-height:0;}.bottom-nav{position:fixed;bottom:0;left:0;right:0;width:100%;z-index:30}.screen-content{padding-bottom:106px}}
