:root{--blue:#0878d1;--deep:#071e35;--ink:#101a24;--muted:#536576;--line:#dce5ec;--paper:#f4f7fa;--soft:#edf5ff;--white:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,a{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{cursor:pointer}a{color:var(--blue)}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #00a3ff;outline-offset:4px}.header{max-width:1120px;margin:auto;height:90px;padding:0 36px;display:flex;align-items:center;gap:30px}.brand{display:block;width:142px;height:47px;overflow:hidden;position:relative}.brand img{width:170px;height:170px;position:absolute;top:-64px;left:-14px}.header-label{letter-spacing:.13em;font-size:.75rem;font-weight:650;color:var(--muted)}.icon-button{width:38px;height:38px;border:1px solid #b7c9d9;border-radius:50%;background:transparent;font-weight:700;color:var(--deep);margin-left:auto}main{max-width:1120px;margin:auto;padding:0 36px}.welcome{padding:54px 46px;background:var(--deep);color:white;border-radius:20px;position:relative;overflow:hidden}.welcome:after{content:"";position:absolute;right:-75px;top:-155px;width:430px;height:430px;border:90px solid #0878d1;border-radius:50%;opacity:.35;pointer-events:none}.eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.16em;color:#81c6ff}.welcome h1{font-size:clamp(2rem,5vw,3.1rem);letter-spacing:-.045em;margin:16px 0 10px;font-weight:700;position:relative;z-index:1}.welcome p{font-size:1.05rem;line-height:1.6;color:#c4d5e4;margin:0;max-width:540px;position:relative;z-index:1}.overview{display:flex;gap:28px;margin-top:30px;position:relative;z-index:1}.overview span{font-size:.875rem;color:#bdd2e4}.overview b{display:block;font-size:1.35rem;font-weight:650;color:white;margin-bottom:4px}.section-top{display:flex;align-items:center;justify-content:space-between;margin:35px 0 18px;gap:16px}.section-top h2{font-size:1.3rem;letter-spacing:-.025em;margin:0}.section-top p{margin:6px 0 0;color:var(--muted);font-size:.9rem}.text-button{border:0;background:none;color:var(--blue);padding:10px 0;font-size:.9rem;font-weight:650;white-space:nowrap}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card{border:1px solid var(--line);background:white;border-radius:16px;padding:25px 26px 0;overflow:hidden;display:flex;flex-direction:column;position:relative}.card-title{display:flex;align-items:center;gap:14px}.exercise-icon{height:39px;width:39px;display:grid;place-items:center;flex-shrink:0;color:var(--blue);border-radius:10px;background:var(--soft)}.exercise-icon svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.card h3{font-size:1.06rem;letter-spacing:-.02em;margin:0;font-weight:650}.variant{font-size:.875rem;color:var(--muted);margin:12px 0 18px;min-height:1.3em;line-height:1.45}.load{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.load strong{font-size:2.75rem;letter-spacing:-.06em;line-height:1;font-weight:700}.load .unit{font-size:1.1rem;color:var(--muted)}.load .suffix{font-size:.875rem;color:var(--muted)}.stats{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 13px;font-size:.9rem}.stats span+span:before{content:"";height:13px;border-left:1px solid #b7c8d6;margin-right:10px;display:inline-block;vertical-align:middle}.date{font-size:.85rem;color:var(--muted);margin:0 0 20px}.estimate{background:var(--paper);border-radius:10px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}.estimate span{font-size:.875rem;color:var(--muted)}.estimate b{font-size:1.1rem;font-weight:650;text-align:right}.estimate.unavailable{display:block;line-height:1.5}.estimate.unavailable b{display:block;font-size:.86rem;text-align:left;font-weight:500;margin-top:4px;color:var(--muted)}.ranking{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.rank{font-size:.79rem;color:#12558e;background:#eaf4ff;border:1px solid #d2e8fa;border-radius:6px;padding:7px 9px}.rank b{font-weight:750}.card-bottom{border-top:1px solid var(--line);margin:21px -26px 0;padding:0 26px;display:flex;align-items:center;justify-content:space-between;min-height:52px}.card-bottom span{font-size:.79rem;color:var(--muted)}.card-bottom button{font-size:.86rem;font-weight:650;color:var(--blue);background:none;border:0;padding:14px 0}.notice{font-size:.85rem;color:var(--muted);line-height:1.65;margin:25px 0 0;padding:18px 20px;background:#eaf0f5;border-radius:10px}.error{padding:28px;background:white;border:1px solid var(--line);border-radius:14px;color:var(--muted);line-height:1.6}.error button{margin-top:16px;background:var(--blue);color:white;border:0;border-radius:8px;padding:12px 18px}.sync-message{font-size:.85rem;color:#83520c;padding:12px;background:#fff4d9;border-radius:8px}.empty{padding:35px;text-align:center}footer{max-width:1120px;margin:35px auto 0;padding:26px 36px 30px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);font-size:.8rem;color:var(--muted)}footer span:first-child{font-weight:750;letter-spacing:.1em}dialog{width:min(670px,calc(100% - 30px));max-height:88dvh;border:0;border-radius:18px;padding:0;color:var(--ink);box-shadow:0 20px 100px #071e3530}dialog::backdrop{background:#071e357f;backdrop-filter:blur(3px)}.dialog-head{padding:27px 28px 20px;display:flex;align-items:flex-start;gap:20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.dialog-head h2{font-size:1.45rem;letter-spacing:-.035em;margin:0}.dialog-head p{margin:7px 0 0;color:var(--muted);font-size:.9rem;line-height:1.45}.close{margin-left:auto;border:0;border-radius:50%;background:var(--paper);width:36px;height:36px;font-size:1.4rem;flex-shrink:0;color:var(--ink)}.dialog-body{padding:24px 28px 30px}.dialog-body h3{font-size:1.05rem;margin:25px 0 9px}.dialog-body h3:first-child{margin-top:0}.dialog-body p,.dialog-body li{font-size:.94rem;line-height:1.7;color:var(--muted)}.dialog-body ul{padding-left:20px}.dialog-body a{word-break:break-word}.variant-select{width:100%;min-height:44px;padding:10px 36px 10px 12px;border:1px solid #b7c8d6;border-radius:8px;background-color:white;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23536576' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;margin-bottom:15px}.record-row{padding:18px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:5px 16px}.record-row b{font-size:1.15rem}.record-row time{color:var(--muted);font-size:.85rem}.record-row .secondary{grid-column:1/-1;font-size:.85rem;color:var(--muted);line-height:1.6}.record-row .record-label{font-size:.73rem;font-weight:700;color:var(--blue);display:block;margin-bottom:6px;letter-spacing:.05em}.method-note{background:var(--soft);padding:15px 18px;border-radius:10px;margin-top:22px}.method-note p{font-size:.88rem;margin:0}.mini-label{font-size:.85rem;display:block;margin-bottom:8px;color:var(--muted)}.loading{display:block;margin:35px auto;width:28px;height:28px;border:3px solid #d2e8fa;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading{animation:none}}@media(max-width:680px){.header{height:76px;padding:0 22px;gap:12px}.brand{width:121px}.brand img{left:-22px;width:159px;height:159px;top:-59px}.header-label{font-size:.62rem;max-width:110px;line-height:1.5;letter-spacing:.08em}main{padding:0 18px}.welcome{padding:30px 27px;border-radius:15px}.welcome:after{right:-255px;top:-105px}.welcome h1{font-size:2.15rem;margin-top:14px}.welcome p{font-size:.95rem}.overview{gap:23px;margin-top:24px}.overview b{font-size:1.2rem}.overview span{font-size:.78rem}.section-top{margin-top:29px;align-items:flex-start}.section-top h2{font-size:1.2rem}.section-top p{font-size:.8rem;line-height:1.5;max-width:240px}.text-button{font-size:.8rem;padding-top:3px}.grid{grid-template-columns:1fr;gap:16px}.card{padding:23px 23px 0}.card-bottom{margin-left:-23px;margin-right:-23px;padding:0 23px}.load strong{font-size:2.65rem}footer{padding:22px 20px;font-size:.73rem}.dialog-head{padding:23px 22px 18px}.dialog-body{padding:22px}.notice{font-size:.8rem;padding:15px 17px}.rank{font-size:.77rem}}@media(min-width:1000px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:23px 21px 0}.card-bottom{margin-left:-21px;margin-right:-21px;padding-left:21px;padding-right:21px}.card h3{font-size:.98rem}.load strong{font-size:2.55rem}.estimate{padding:13px 12px}.estimate b{font-size:1rem}}

.welcome{display:grid;grid-template-columns:minmax(0,1fr)250px;gap:25px;align-items:center;padding:38px 42px}.welcome-copy{position:relative;z-index:1}.welcome-art{width:250px;height:250px;border-radius:50%;background:#fff;overflow:hidden;position:relative;z-index:1}.welcome-art img{width:100%;height:100%;object-fit:contain;display:block}.welcome:after{right:-65px;top:-140px;opacity:.23}@media(max-width:680px){.welcome{display:block;padding:30px 27px}.welcome-art{position:absolute;right:15px;top:17px;width:100px;height:100px}.welcome .eyebrow{display:block;max-width:calc(100% - 110px);font-size:.65rem;line-height:1.6}.welcome h1{max-width:calc(100% - 90px);font-size:2rem;line-height:1.12}.welcome p{margin-top:26px}.welcome .overview{margin-top:22px}}

.welcome>h1,.welcome>p,.welcome>.eyebrow{grid-column:1/-1}

/* Azul tomado del pantalón de la hormiga, ajustado para texto blanco legible. */
.welcome{background:#0076dc}.welcome .eyebrow,.welcome p,.welcome .overview span{color:#fff}.welcome:after{border-color:#fff;opacity:.12}

/* El logotipo conserva todo su ancho y no se encoge al compartir la cabecera. */
.brand{flex:0 0 150px;width:150px;height:56px}.brand img{width:150px;height:150px;left:0;top:-48px;max-width:none}
.ranking-section{margin-top:20px}.ranking-caption{font-size:.75rem;letter-spacing:.06em;font-weight:700;color:var(--muted);margin:0 0 9px;line-height:1.5}.ranking{margin-top:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rank{min-height:94px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:11px 12px;border-radius:9px;line-height:1.4}.rank span{font-size:.79rem}.rank b{font-size:1rem;margin-top:3px}.rank small{font-size:.76rem;margin-top:7px;text-decoration:underline;text-underline-offset:3px}.rank:hover{background:#dceeff;border-color:#8dbce6}.relative-info{border:0;background:transparent;color:#12558e;text-align:left;text-decoration:underline;text-underline-offset:3px;padding:14px 0 0;font-size:.875rem;line-height:1.5}.ranking-tabs{display:flex;gap:8px}.ranking-tab{border:1px solid var(--line);background:white;color:var(--muted);border-radius:8px;padding:10px 15px;min-height:44px}.ranking-tab.selected{background:#eaf4ff;color:#12558e;border-color:#8dbce6;font-weight:700}.dialog-body .ranking-summary{color:var(--ink);font-size:1.1rem;margin:22px 0 8px}.dialog-body .leader-legend{font-size:.85rem;margin-top:0}.leaderboard{list-style:none;padding:0;margin:12px 0 20px}.dialog-body .leader-row{padding:14px 12px;border-bottom:1px solid var(--line);font-size:1rem;line-height:1.4;color:var(--ink)}.leader-row.is-you{background:#edf6ff;border-radius:8px}.leader-main{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.leader-position{min-width:28px;font-weight:750}.leader-initial{font-weight:750}.leader-main strong{margin-left:1px;white-space:nowrap}.leader-reps{display:block;font-size:.8rem;color:var(--muted);margin:5px 0 0 46px}.you-label{background:#0076dc;color:white;font-size:.72rem;padding:3px 7px;border-radius:5px;margin-left:auto}.dialog-body .method-note h3{margin-top:0}.method-note p+p{margin-top:12px}
@media(max-width:680px){.header{padding:0 18px;gap:10px}.brand{flex-basis:122px;width:122px;height:48px}.brand img{width:132px;height:132px;left:-5px;top:-41px}.header-label{min-width:0;flex:1;font-size:.6rem;max-width:none}.icon-button{flex:0 0 38px;margin-left:0}.rank{padding:10px;min-height:96px}.rank b{font-size:.94rem}.rank span{font-size:.75rem}.ranking-caption{font-size:.71rem}.leader-main{gap:7px}.dialog-body .leader-row{padding:14px 9px}.leader-reps{margin-left:43px}}
