@font-face{font-family:"Barlow Semi Condensed";src:url(barlow-700.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Open Sans";src:url(open-sans.woff2) format("woff2");font-weight:400 700;font-display:swap}
:root{color-scheme:dark;--bg:#020a13;--surface:#091726;--line:#263545;--ink:#f7fbff;--muted:#b8c5d2;--accent:#40b7b4;--violet:#6600cc;--orange:#ec6308}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(ellipse at 78% 20%,#112439 0,transparent 52%),var(--bg);color:var(--ink);font:400 15px/1.55 "Open Sans",Arial,sans-serif;min-height:100vh}
h1,h2,.brand,.score{font-family:"Barlow Semi Condensed","Arial Narrow",sans-serif;font-weight:700;line-height:1}
h1,h2,p{margin:0}
p{color:var(--muted)}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.wrap{width:min(1220px,calc(100% - 72px));margin-inline:auto}
.top{background:#030a13;border-bottom:1px solid #202b38}
.top-inner{min-height:76px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.brand{display:flex;align-items:center;gap:16px;font-size:23px}
.brand img{width:118px;height:45px;object-fit:contain}
.brand span{border-left:1px solid var(--line);padding-left:16px}
.brand b,.kicker,em{color:var(--accent)}
.quiet,.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:7px;padding:8px 17px;font-weight:700;text-align:center}
.quiet{background:transparent;border:1px solid var(--line);color:var(--ink)}
.quiet:hover,.tabs a:hover{background:#182638}
.button{background:linear-gradient(180deg,#bf4600,#a83800);color:#fff;border:1px solid var(--orange);min-height:48px;box-shadow:0 4px 16px #ec630845}
.button:hover,.button:focus-visible{background:linear-gradient(180deg,#c34a00,#b53c00);color:#fff;border-color:#ff9558;box-shadow:0 5px 20px #ec630878}
.button:visited,.button:active{color:#fff}
.wide{width:100%}
.access{margin-block:40px 34px;display:grid;grid-template-columns:1.23fr 1fr;gap:24px;align-items:stretch}
.hero,.featured{background:linear-gradient(180deg,#041019ec 0%,#04101945 66%,#04101980 100%),url(campo.webp) center 56%/cover,#0c2421;border:1px solid #273b3a;border-radius:15px;overflow:hidden}
.hero{display:flex;align-items:center;padding:clamp(32px,5vw,70px) clamp(24px,4vw,58px);background-image:linear-gradient(155deg,#100827eb 0%,#041019db 48%,#04101990 100%),url(campo.webp)}
.kicker{font-size:12px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;margin-bottom:14px}
.hero h1{font-size:clamp(48px,4.7vw,72px);letter-spacing:-.028em;line-height:1.02;max-width:560px}
.hero em{font-style:normal}
.hero p:last-child{margin-top:22px;max-width:47ch;color:#f1f5f8;font-size:clamp(17px,1.5vw,21px);line-height:1.55}
.panel{border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:clamp(23px,3.1vw,43px)}
.panel h2,.featured h2{font-size:clamp(37px,4vw,51px);margin-bottom:10px}
.panel>p{margin-bottom:18px}
.tabs{display:flex;background:#030c16;border:1px solid var(--line);padding:4px;border-radius:8px;margin:21px 0}
.tabs a{flex:1;text-align:center;padding:8px;border-radius:5px;color:var(--muted);font-weight:700}
.tabs a[aria-current]{background:var(--violet);color:var(--ink)}
.fields{display:grid;gap:12px}
label{display:block;font-size:13px;font-weight:600}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select{display:block;width:100%;margin-top:5px;min-height:42px;border-radius:7px;border:1px solid #324256;background:#060f1a;color:var(--ink);padding:8px 12px}
input::placeholder{color:#91a2b3}
.check,.option{display:flex;align-items:baseline;gap:9px;color:var(--muted)}
input[type=checkbox],input[type=radio],progress{accent-color:var(--accent)}
.note,.error{padding:12px 15px;background:#172638;border-radius:7px}
.error{color:#ffb6af}
.footer{border-top:1px solid var(--line);padding-block:17px 24px;display:flex;justify-content:space-between;color:var(--muted);font-size:12px}
.private{padding-block:42px}
.private h1{font-size:clamp(38px,5vw,64px);margin-bottom:14px}
.featured{margin-top:28px;background-position:center 59%}
.featured-copy{padding:42px;background:linear-gradient(90deg,#041019f2,transparent);min-height:290px}
.meta{margin:15px 0}
.game{max-width:760px;margin:18px auto}
.game h1{font-size:clamp(35px,4.5vw,51px);line-height:1.08}
.option{padding:12px;border:1px solid var(--line);border-radius:7px}
.game .button{justify-self:start}
.back{color:var(--accent)}
progress{width:100%;margin-bottom:20px}
.score{font-size:68px;color:var(--accent)}
.actions{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:790px){.wrap{width:calc(100% - 36px)}.access{grid-template-columns:1fr;margin-top:22px}.hero{min-height:355px}.hero h1{font-size:clamp(37px,7vw,62px)}}
@media(max-width:450px){.brand img{width:83px}.brand{font-size:17px;gap:8px}.brand span{padding-left:8px}.quiet{padding-inline:9px;font-size:12px}.top-inner{gap:9px}.featured-copy{padding:24px}}

.catalogue{margin-top:37px}
.catalogue h2,.editor-heading h2{font-size:35px;margin-bottom:16px}
.challenge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.challenge-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:26px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.challenge-card h3{font:700 28px/1.05 "Barlow Semi Condensed",sans-serif;margin:0;overflow-wrap:anywhere}
.challenge-card .kicker{margin-bottom:8px}
.challenge-card .quiet{margin-top:auto;gap:10px}
.challenge-card p{margin:0;overflow-wrap:anywhere}
.challenge-card p:last-of-type,.challenge-card .card-progress{margin-bottom:6px}
.step{font-size:13px;margin-bottom:8px!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.editor{margin:18px auto}
.editor-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}
.editor-heading h2{margin:0}
.option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
textarea{display:block;width:100%;margin-top:5px;border-radius:7px;border:1px solid #324256;background:#060f1a;color:var(--ink);padding:8px 12px;font:inherit;resize:vertical}
.question-editor{min-inline-size:0;display:grid;gap:12px;border:1px solid #324256;border-radius:9px;margin:0;padding:18px}
.question-editor legend{color:var(--accent);font-weight:700;padding:0 6px}
.question-editor .quiet{justify-self:start}
.admin-list{margin-top:20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.admin-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr auto;align-items:center;gap:13px;padding:18px 19px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.admin-row>div{grid-column:1 / -1;align-self:start}
.admin-row .quiet{justify-self:end}
.admin-featured{grid-column:1 / -1;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto;padding:24px 26px;border-color:#a979dc;background:linear-gradient(105deg,#2b1748,#151b34 65%,#211730)}
.admin-featured>div{grid-column:auto;align-self:center}
.admin-featured .status{border:1px solid #b590f0;border-radius:6px;background:#3d2160;color:#f2e4ff;font-weight:700;padding:6px 10px}
.admin-row h2{font-size:25px;margin-bottom:4px;overflow-wrap:anywhere}
.admin-featured h2{font-size:clamp(29px,4vw,40px)}
.status{color:var(--accent);font-size:13px}
button:disabled{opacity:.45;cursor:default}
@media(max-width:890px){.challenge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.admin-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.challenge-grid,.option-grid,.admin-list{grid-template-columns:1fr}.admin-featured{grid-template-columns:minmax(0,1fr) auto;padding:19px}.admin-featured>div{grid-column:1 / -1}.admin-featured .status{justify-self:start}}

.admin-nav{display:flex;gap:10px;margin-bottom:22px}
.admin-nav [aria-current="page"]{background:var(--violet);border-color:var(--violet)}
.users-table{margin-top:22px;overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.users-table table{border-collapse:collapse;width:100%;text-align:left}
.users-table th,.users-table td{padding:12px 16px;white-space:nowrap;border-bottom:1px solid var(--line)}
.users-table th{background:#142335;font-size:13px}
.users-table tbody tr:last-child td{border-bottom:0}

.front-nav{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.nav-link{padding:9px 11px;border-radius:6px;font-size:14px;font-weight:700;color:var(--muted)}
.nav-link:hover,.nav-link[aria-current="page"]{background:var(--violet);color:var(--ink)}
.landing{width:100%;padding-bottom:0}
.landing-hero{background:linear-gradient(90deg,#060916ee 0%,#110a23a0 39%,#1008303b 70%,#0b091d7a),url(analista.webp) center 50%/cover,#0d1020;border-bottom:1px solid #514073}
.landing-inner{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,.78fr);gap:clamp(30px,6vw,90px);align-items:center;min-height:calc(100svh - 76px);padding-block:clamp(48px,8vh,105px)}
.landing>.catalogue{width:min(1220px,calc(100% - 72px));margin-inline:auto}
.landing-copy h1{font-size:clamp(48px,6.5vw,94px);line-height:.98;letter-spacing:-.037em}
.landing-copy em{font-style:normal}
.landing-copy>p:not(.kicker){font-size:clamp(16px,1.6vw,21px);max-width:47ch;margin-block:20px 23px;color:#eef3f7}
.weekly-preview{min-width:0;background:#110c23eb;border:1px solid #a17bd1;border-radius:13px;padding:clamp(18px,2.6vw,34px);box-shadow:0 12px 45px #1107277a}
.weekly-preview h2{font-size:clamp(32px,3.5vw,50px);margin-bottom:12px;overflow-wrap:anywhere}
.weekly-preview .button{gap:10px}
.landing .catalogue .editor-heading{margin-bottom:16px}
.landing .catalogue .editor-heading h2{margin:0}
.card-count{font-size:13px;color:var(--accent)}
.challenge-detail .featured-copy{min-height:340px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.challenge-detail p:first-of-type:not(.kicker){max-width:52ch}
.play-panel{max-width:1030px}
.play-grid.with-image{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}
.game-image,.question-preview{display:block;max-width:100%;max-height:420px;object-fit:contain;border:1px solid var(--line);border-radius:9px}
.game-image{width:100%;background:#040912}
.question-preview{width:auto;max-height:180px}
.question-editor input[type=file]{display:block;max-width:100%;margin-top:6px}
.option-grid:has(input[name$="[d]"]){grid-template-columns:repeat(2,minmax(0,1fr))}
.option{align-items:center;background:#0b1526;cursor:pointer}
.option:has(input:checked){background:#251846;border-color:var(--accent)}
.answer-letter{border:1px solid #645780;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;flex:none}
.picked,.review-content p{margin-block:12px}
.result-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}
.result-stats>div{background:linear-gradient(130deg,#24143c,#111b2a);border:1px solid #62458b;border-radius:11px;padding:20px}
.result-stats .score{font-size:clamp(40px,6vw,68px);margin-bottom:5px}
.review-item{background:#111a2b;border:1px solid var(--line);border-radius:9px;margin-top:10px}
.review-item summary{display:flex;align-items:center;gap:11px;cursor:pointer;padding:14px}
.review-item summary::after{content:"+";margin-left:auto;color:var(--accent);font-size:20px}
.review-item[open] summary::after{content:"−"}
.review-badge{font-size:12px;font-weight:700;padding:4px 8px;border-radius:5px;flex:none}
.review-badge.correct{color:#a7eac4;background:#143829}
.review-badge.incorrect{color:#ffc4c7;background:#482238}
.review-content{padding:0 14px 12px}
.review-content .game-image{width:auto}
@media(max-width:930px){.top-inner:has(.front-nav){flex-wrap:wrap;padding-block:11px}.landing-inner{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
@media(max-width:720px){.front-nav{gap:6px}.nav-link{padding:7px;font-size:13px}.front-nav .button{min-height:42px}.landing-inner,.play-grid.with-image{grid-template-columns:1fr}.landing-inner{gap:26px;min-height:calc(100svh - 102px)}.landing>.catalogue{width:calc(100% - 36px)}.landing-hero{background-position:61% center}.landing-copy h1{font-size:clamp(46px,9vw,76px)}.landing .catalogue .editor-heading{align-items:flex-start}}
@media(max-width:450px){.front-nav .nav-link{padding-inline:5px}.front-nav .button,.front-nav .quiet{font-size:12px;padding-inline:8px}.option-grid:has(input[name$="[d]"]){grid-template-columns:1fr}}

.card-progress{margin:0;height:8px}


.lock-summary{max-width:54ch;margin:12px 0 16px;padding:9px 12px;border-left:3px solid var(--orange);background:#121222;color:var(--ink)}
.challenge-card.is-completed{border-color:#ff975a;background:linear-gradient(145deg,#36201c,#181927 61%);box-shadow:inset 0 3px #ec6308}
.is-completed .card-count,.is-completed .best-score{color:#ffcfb0}.best-score{color:#83dbc5}.is-completed .card-progress{accent-color:var(--orange)}
.challenge-card .best-score{font-size:13px}
.users-table th[scope=row]{background:transparent;border-bottom:1px solid var(--line)}
.users-table tbody tr.ranking-self{background:#24133e}
.users-table tbody tr:last-child th{border-bottom:0}

.benefit-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:9px;background:#291548;color:#d9b3ff;font:700 22px/1 "Open Sans",sans-serif}


.home-benefits{background:linear-gradient(100deg,#211334,#16152b 52%,#211430);border-block:1px solid #664282}
.benefit-list{width:min(1460px,calc(100% - 56px));list-style:none;margin-block:0;padding:25px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.benefit-list li{display:flex;align-items:center;gap:13px;padding:4px clamp(10px,2vw,26px);min-width:0}
.benefit-list li+li{border-left:1px solid #644b76}
.benefit-icon,.topic-icon{display:grid;place-items:center;flex:none}
.benefit-icon{width:44px;height:44px;color:#d295ff;filter:drop-shadow(0 0 8px #b85eff50)}
.benefit-icon svg,.topic-icon svg{width:100%;height:100%;display:block}
.benefit-list li:nth-child(even) .benefit-icon{color:#ff9c4d;filter:drop-shadow(0 0 8px #ff8e4f48)}
.benefit-list strong{display:block;font:700 21px/1.05 "Barlow Semi Condensed",sans-serif;margin-bottom:4px}
.benefit-list p{font-size:13px;line-height:1.4;color:#e5dcec}
.how-it-works{padding-block:clamp(36px,5vw,64px);background:radial-gradient(ellipse at 0% 0%,#22254c,transparent 66%),#10172a;border-bottom:1px solid #3b3f60}
.how-it-works h2,.home-topics h2{font-size:clamp(36px,4.1vw,56px);margin-bottom:25px}
.how-it-works h2{padding-left:15px;border-left:5px solid #b28aff}
.how-grid{list-style:none;margin:0;padding:0;gap:24px;grid-template-columns:repeat(3,minmax(0,1fr))}
.how-step{min-width:0}
.step-heading{display:flex;align-items:center;gap:12px;margin-bottom:13px}
.step-number{display:grid;place-items:center;flex:none;width:56px;height:49px;border-radius:7px;background:#afc8ff;color:#172447;font:700 34px/.95 "Barlow Semi Condensed",sans-serif}
.how-step:nth-child(2) .step-number{background:#e0b1ff;color:#331447}
.how-step:nth-child(3) .step-number{background:#ffbc7f;color:#361d10}
.step-heading h3{margin:0;font:700 28px/1.05 "Barlow Semi Condensed",sans-serif}
.how-step img{display:block;width:100%;aspect-ratio:2;object-fit:cover;border:1px solid #4e5377;border-radius:8px;margin-bottom:11px}
.how-step p{color:#d3e2eb}
.home-topics{padding-block:clamp(36px,5vw,65px);background:radial-gradient(ellipse at 85% 0%,#302048,transparent 65%),#101026;border-bottom:1px solid #4c3864}
.topics-inner{width:min(1480px,calc(100% - 72px))}
.home-topics h2{padding-left:15px;border-left:5px solid #ff8b4e}
.topic-grid{gap:12px;grid-template-columns:repeat(6,minmax(0,1fr))}
.topic-card{--topic:#8feadc;position:relative;min-width:0;overflow:hidden;border:1px solid #666086;border-radius:12px;background:linear-gradient(155deg,#242243,#15192c)}
.topic-scouting{--topic:#ffe29c;background:linear-gradient(150deg,#37291f,#191523)}
.topic-ia{--topic:#e4b9ff;background:linear-gradient(150deg,#35234e,#1c1733)}
.topic-rendimiento{--topic:#ffb38f;background:linear-gradient(150deg,#462b30,#211827)}
.topic-video{--topic:#92d9ff;background:linear-gradient(150deg,#233759,#151e35)}
.topic-datos{--topic:#aee996;background:linear-gradient(150deg,#273c39,#191d29)}
.topic-card img{display:block;width:100%;height:auto;aspect-ratio:1.72;object-fit:cover}
.topic-copy{position:relative;padding:14px 13px 17px;border-top:2px solid var(--topic)}
.topic-icon{width:34px;height:34px;margin-top:-34px;margin-bottom:7px;padding:5px;background:#141424;border:1px solid var(--topic);border-radius:8px;color:var(--topic)}
.topic-copy h3{margin:0 0 7px;font:700 24px/1.07 "Barlow Semi Condensed",sans-serif;color:var(--topic)}
.topic-copy p{font-size:13px;line-height:1.46;color:#ece6f3}
.home-cta{background:linear-gradient(90deg,#0a0b1bee 0%,#100d24cd 48%,#12112a72 100%),url(campo.webp) center 61%/cover,#101327;border-bottom:1px solid #41385e}
.home-cta-inner{min-height:275px;padding-block:clamp(35px,5vw,66px);display:flex;justify-content:space-between;align-items:center;gap:21px}
.home-cta h2{font-size:clamp(34px,4.3vw,55px);margin:0 0 10px}
.home-cta p{max-width:62ch;color:#e9e2f2}
.home-cta .button{gap:9px;flex:none}
@media(max-width:1190px){.topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.benefit-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding-block:20px}.benefit-list li+li{border-left:0}.how-grid{gap:15px}.step-number{width:44px;height:42px;font-size:28px}.step-heading h3{font-size:23px}}
@media(max-width:640px){.topics-inner{width:calc(100% - 36px)}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.how-grid{grid-template-columns:1fr;gap:27px}.home-cta{background-position:57% 59%}.home-cta-inner{min-height:0;flex-direction:column;align-items:flex-start;gap:17px}.benefit-list{width:calc(100% - 28px);gap:13px 7px}.benefit-list li{gap:7px;padding:2px}.benefit-icon{width:30px;height:30px}.benefit-list strong{font-size:18px}.benefit-list p{font-size:12px}}


.completed-badge{display:inline-flex;gap:6px;align-items:center;border-radius:6px;padding:5px 10px;background:#ff9b5e;color:#321305;font-size:13px;font-weight:700;line-height:1.3}


:root{--header-height:76px}
html{scroll-padding-top:calc(var(--header-height) + 14px)}
body{padding-top:var(--header-height)}
.top{position:fixed;top:0;left:0;right:0;height:var(--header-height);z-index:50}
.top-inner{min-height:0;height:100%;flex-wrap:nowrap;padding-block:0}
.menu-toggle{display:none}
.landing-inner{min-height:calc(100svh - var(--header-height))}
@media(max-width:1100px){
  :root{--header-height:58px}
  .top-inner:has(.front-nav){flex-wrap:nowrap;padding-block:0}
  .top .brand{gap:9px;min-width:0}
  .top .brand img{width:86px;height:36px;flex:none}
  .top .brand span{font-size:17px;padding-left:9px;white-space:nowrap}
  .menu-toggle{display:grid;align-content:center;justify-content:center;gap:4px;width:40px;height:40px;flex:none;padding:0;border:1px solid #4d405f;border-radius:7px;background:#151121;color:var(--ink)}
  .menu-toggle span{display:block;width:19px;height:2px;border-radius:2px;background:currentColor}
  .menu-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
  .menu-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .front-nav{display:none;position:absolute;top:calc(100% + 1px);right:max(16px,calc((100% - 1220px)/2));width:min(290px,calc(100% - 32px));max-height:calc(100dvh - var(--header-height) - 16px);overflow-y:auto;gap:5px;align-items:stretch;flex-direction:column;flex-wrap:nowrap;padding:9px;background:#101725;border:1px solid #4d405f;border-radius:0 0 10px 10px;box-shadow:0 12px 30px #0008}
  .menu-toggle[aria-expanded=true]+.front-nav{display:flex}
  .front-nav .nav-link,.front-nav .quiet,.front-nav .button{padding:9px 12px;min-height:40px;font-size:14px}
  .front-nav form .quiet{width:100%}
}
@media(max-width:390px){
  .top-inner{width:calc(100% - 26px);gap:8px}
  .top .brand img{width:74px;height:31px}
  .top .brand span{font-size:15px;padding-left:7px}
  .top .brand{gap:7px}
}
@media(max-width:360px){
  .benefit-list li{align-items:flex-start;gap:6px}
  .benefit-icon{width:24px;height:24px;margin-top:1px}
  .benefit-list strong{font-size:15px;line-height:1.1;margin-bottom:3px}
  .benefit-list p{font-size:11px;line-height:1.4}
}
.landing-copy .how-link{min-height:48px;gap:9px;border:1px solid #c18afe;background:#32194d;color:#fff;box-shadow:0 0 16px #a35dff48}
.landing-copy .how-link:hover,.landing-copy .how-link:focus-visible{border-color:#e2baff;background:#512680;box-shadow:0 0 21px #a35dff73}

.delete-action{margin-top:23px;padding-top:16px;border-top:1px solid var(--line)}
.quiet.danger{border-color:#d56a75;color:#ffd1d6;background:#3b1722}
.quiet.danger:hover{background:#652635;border-color:#ff8c99}

.test-cover{display:block;width:calc(100% + 52px);max-width:none;height:auto;aspect-ratio:16/8;object-fit:cover;margin:-26px -26px 4px;border-radius:11px 11px 0 0}
.challenge-card:has(.test-cover){overflow:hidden}
.detail-cover{display:block;width:100%;height:clamp(180px,30vw,390px);object-fit:cover}
.challenge-detail:has(.detail-cover){background:var(--surface)}
.challenge-detail:has(.detail-cover) .featured-copy{min-height:0;background:none}
.locked-badge{color:#f1daff;background:#3a2456;border:1px solid #9b73c9;border-radius:6px;font-size:13px;padding:4px 9px;font-weight:700}

.test-section{margin-top:32px;padding:24px;border:1px solid #36515b;border-radius:14px;background:linear-gradient(135deg,#13263280,#0b152180)}
.test-section.upcoming-tests{margin-top:44px;border-color:#6b4b8a;background:linear-gradient(135deg,#2b193b99,#121a2b)}
.test-section-heading{margin-bottom:20px}
.test-section-heading h2{font:700 36px/1.1 "Barlow Semi Condensed",sans-serif;margin:0 0 7px}
.upcoming-tests .test-section-heading h2,.admin-group-locked .test-section-heading h2{color:#dfb4ff}
.admin-test-section{margin-top:34px;padding-top:24px;border-top:2px solid #42635c}
.admin-group-locked{border-color:#8b5ba8}
.admin-group-draft{border-color:#735d46}
.admin-test-section .admin-list{margin-top:0}
.admin-row:has(.admin-cover){overflow:hidden;align-content:start;grid-template-rows:auto 1fr auto}
.admin-cover{display:block;grid-column:1 / -1;width:calc(100% + 38px);max-width:none;margin:-18px -19px 0;height:auto;aspect-ratio:2;object-fit:cover}
.admin-row h3{font:700 25px/1.08 "Barlow Semi Condensed",sans-serif;margin:0 0 6px;overflow-wrap:anywhere}
@media(max-width:560px){.test-section{padding:15px}.test-section-heading h2{font-size:30px}}

.new-tests-section{margin-top:28px}
.new-tests-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.new-test-featured{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:27px;row-gap:10px;align-items:start;border-color:#b47be8;background:linear-gradient(120deg,#281a3e,#111c2e);box-shadow:0 6px 24px #170c2944}
.new-test-featured>*{grid-column:2}
.new-test-featured .test-cover{grid-column:1;grid-row:1 / span 7;align-self:stretch;width:100%;height:100%;min-height:225px;max-height:330px;margin:0;object-fit:cover;border-radius:9px}
.new-test-featured h3{font-size:clamp(30px,3.6vw,46px)}
.new-test-featured .quiet{justify-self:start;margin-top:5px;background:#61309c;border-color:#b47be8;color:#fff}
.new-test-featured .quiet:hover{background:#7b3fc0}
.new-test-label{justify-self:start;background:#4b266f;color:#efdaff;border:1px solid #a175c4;border-radius:6px;font-size:13px;font-weight:700;padding:5px 10px}
@media(max-width:650px){.new-test-featured{display:flex;gap:12px}.new-test-featured .test-cover{width:calc(100% + 52px);height:auto;min-height:0;aspect-ratio:2;margin:-26px -26px 4px;border-radius:11px 11px 0 0}}

.profile-intro{display:flex;align-items:center;gap:19px;margin-bottom:25px}
.profile-intro .kicker{margin-bottom:8px}
.profile-intro h1{margin-bottom:7px}
.profile-avatar{display:grid;place-items:center;flex:none;width:70px;height:70px;border-radius:18px;background:linear-gradient(135deg,#6228a4,#302d5e);color:#e9cbff;font-size:51px;line-height:1}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.profile-stats article{padding:20px 24px;border:1px solid #5b4474;border-radius:12px;background:linear-gradient(135deg,#241938,#111e31)}
.profile-stats strong{display:block;font:700 44px/1.1 "Barlow Semi Condensed",sans-serif;margin-top:8px;color:#f6ebff}
.profile-stats a,.profile-test a{display:inline-block;color:#d9adff;text-decoration:underline;font-weight:600;font-size:13px;margin-top:7px}
.profile-columns{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:22px;align-items:start}
.profile-columns h2{font-size:36px}
.profile-data dl{margin:18px 0 24px}
.profile-data dl>div{padding:9px 0;border-bottom:1px solid var(--line)}
.profile-data dt{font-size:12px;color:var(--muted)}
.profile-data dd{margin:3px 0 0;overflow-wrap:anywhere}
.profile-data .button{justify-self:start}
.profile-history h3{font:700 24px/1.1 "Barlow Semi Condensed",sans-serif;margin:24px 0 12px}
.profile-history .editor-heading h2{margin-bottom:0}
.profile-test{display:flex;gap:13px;padding:13px 0;border-bottom:1px solid var(--line)}
.profile-test:last-child{border-bottom:0}
.profile-test img{width:100px;height:68px;object-fit:cover;border-radius:7px;flex:none}
.profile-test>div{min-width:0}
.profile-test h4{font:700 23px/1.1 "Barlow Semi Condensed",sans-serif;margin:0 0 6px;overflow-wrap:anywhere}
.profile-test p{font-size:13px}
.profile-test-points{color:#ffcbac}
@media(max-width:800px){.profile-columns{grid-template-columns:1fr}.profile-stats article{padding:16px}.profile-stats{gap:10px}.profile-stats strong{font-size:36px}}
@media(max-width:420px){.profile-stats{grid-template-columns:1fr}.profile-stats article{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 14px}.profile-stats strong{margin:0}.profile-stats a{margin:0}.profile-test{gap:10px}.profile-test img{width:75px;height:58px}.profile-intro{gap:13px}.profile-avatar{width:53px;height:53px;font-size:39px}}

.user-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;object-fit:cover;border-radius:50%;background:linear-gradient(135deg,#7138a2,#294868);color:#fff;font-family:"Barlow Semi Condensed",sans-serif;font-weight:700;border:1px solid #bd95dc;vertical-align:middle;overflow:hidden}
.avatar-small{width:30px;height:30px;font-size:15px}
.avatar-large{width:82px;height:82px;font-size:29px;border-width:2px}
.front-nav .nav-profile{display:inline-flex;align-items:center;gap:8px}
.ranking-player{display:inline-flex;align-items:center;gap:10px}
.avatar-settings{margin-bottom:24px}
.avatar-settings h2{font-size:36px;margin-bottom:8px}
.avatar-settings .editor-heading{margin-bottom:17px}
.avatar-settings .note,.avatar-settings .error{margin-block:12px}
.avatar-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:20px}
.avatar-tabs [aria-pressed=true]{background:#572888;border-color:#b589db;color:#fff}
.avatar-group{min-inline-size:0;margin:0 0 23px;padding:0;border:0}
.avatar-group legend{font:700 24px/1.1 "Barlow Semi Condensed",sans-serif;margin-bottom:13px}
.avatar-grid{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:9px}
.avatar-choice{position:relative;display:block;cursor:pointer;border:2px solid transparent;border-radius:50%;padding:3px;aspect-ratio:1}
.avatar-choice input{position:absolute;opacity:0;width:1px;height:1px}
.avatar-choice img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:50%;background:#201638;border:1px solid #6b507f}
.avatar-choice:has(input:checked){border-color:#ffac75;background:#602c24;box-shadow:0 0 0 2px #ec630848}
.avatar-choice:has(input:checked)::after{content:"✓";position:absolute;right:-1px;bottom:1px;background:#ffb47e;color:#281407;border-radius:50%;font-size:13px;font-weight:700;width:20px;height:20px;display:grid;place-items:center}
.avatar-choice:has(input:focus-visible){outline:2px solid #e9c7ff;outline-offset:3px}
.avatar-choice:hover{background:#542d76}
.photo-preview{width:155px;height:155px;object-fit:cover;border-radius:50%;border:2px solid #bc95dd}
.avatar-settings [hidden]{display:none!important}
#photo-panel .fields{max-width:620px}
#photo-panel input[type=file]{display:block;max-width:100%;margin-top:8px}
#photo-panel .button{justify-self:start}
.avatar-remove{margin-top:18px}
@media(max-width:1050px){.avatar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}}
@media(max-width:580px){.avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.avatar-large{width:65px;height:65px;font-size:24px}.avatar-settings h2{font-size:31px}.avatar-tabs .quiet{font-size:13px}}
@media(max-width:340px){.avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.object-avatar-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:10px}
.avatar-choice.object-choice{display:flex;flex-direction:column;align-items:center;gap:7px;aspect-ratio:auto;border-radius:10px;border:1px solid transparent;padding:7px 5px}
.object-avatar-label{font-size:12px;line-height:1.3;font-weight:600;text-align:center;overflow-wrap:anywhere;max-width:100%}
.object-choice:has(input:checked){border-color:#ffac75;background:#512c35}
.avatar-choice.object-choice:has(input:checked)::after{top:3px;bottom:auto;right:3px}
@media(max-width:1050px){.object-avatar-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:580px){.object-avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.object-avatar-label{font-size:11px}}
@media(max-width:360px){.object-avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Account settings and public guide */
.registration-notice{font-size:.88rem;line-height:1.6;color:#bdd0e0;padding:14px 16px;background:#17152c;border-left:3px solid #a66cff;border-radius:6px}
.account-notifications,.account-delete{margin-top:28px}
.account-delete{border-color:#a94f6c;background:linear-gradient(120deg,#201426,#0b1825)}
.account-delete .kicker{color:#ffa7bd}.account-delete details{margin-top:20px}.account-delete summary{cursor:pointer;font-weight:700;color:#ffc1d0;padding:12px 0}.account-delete .fields{margin-top:18px}.account-delete .danger{color:#fff;border-color:#c3667e;background:#582037}
.footer{gap:20px;flex-wrap:wrap}.footer nav{display:flex;gap:22px;flex-wrap:wrap}
.guide-page{max-width:1220px}.guide-intro{padding:42px 0 48px;max-width:900px}.guide-intro h1{font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.05}.guide-intro h1 em{color:#bc8bff;font-style:normal}.guide-intro>p:not(.kicker){font-size:1.2rem;line-height:1.7;max-width:760px}.guide-intro .button{margin-top:16px}
.guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.guide-steps .panel{border-top:3px solid #8f4eff;padding:28px}.guide-steps .panel:nth-child(2){border-top-color:#ec6308}.guide-steps .panel:nth-child(3){border-top-color:#40b7b4}.guide-steps h2{font-size:1.7rem;margin:20px 0 12px}.guide-steps p,.guide-faq p,.guide-news p{line-height:1.7}.guide-number{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;background:#6600cc;color:white;border-radius:12px;font-family:'Barlow Semi Condensed',sans-serif;font-size:1.7rem;font-weight:800}.guide-steps article:nth-child(2) .guide-number{background:#b74800}.guide-steps article:nth-child(3) .guide-number{background:#185b65}
.guide-news{display:flex;gap:28px;align-items:flex-start;margin:38px 0;background:linear-gradient(120deg,#23143f,#10192d);border-color:#8458b9}.guide-news>div{flex:0 0 58px;color:#ffa65d}.guide-news svg{width:58px;height:58px}.guide-news h2{margin-top:0}.guide-faq{margin:48px 0}.guide-faq details{border-bottom:1px solid #3a3554;padding:20px 0}.guide-faq summary{cursor:pointer;font-weight:700;font-size:1.1rem;color:#e1c5ff}.guide-faq p{max-width:900px}.guide-cta{border-color:#713c99;background:linear-gradient(125deg,#211332,#0c1a28);margin-bottom:30px}
@media(max-width:800px){.guide-steps{grid-template-columns:1fr}.guide-intro{padding:26px 0 32px}.guide-news{gap:16px;padding:22px}.guide-news>div{flex-basis:36px}.guide-news svg{width:36px;height:36px}}
/* Extended user guide */
.guide-index{margin-bottom:48px;background:linear-gradient(120deg,#1b1430,#101d2c)}.guide-index h2,.guide-faq>h2{font-size:clamp(1.9rem,3vw,2.5rem)}.guide-index>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}.guide-index a{color:#d7b5ff;text-decoration:none;line-height:1.6}.guide-index a:hover{text-decoration:underline}.guide-section{padding:38px 0;border-bottom:1px solid #37304b;scroll-margin-top:110px}.guide-section>h2{font-size:clamp(1.9rem,3vw,2.6rem);line-height:1.15;margin:12px 0 24px}.guide-section>p:not(.kicker){max-width:940px;line-height:1.85;margin:18px 0;color:#c5d4e1}.guide-explainer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:28px 0}.guide-explainer-grid article{border-top:3px solid #40b7b4}.guide-explainer-grid article+article{border-top-color:#a36aff}.guide-explainer-grid h3{font-size:1.65rem;margin:0 0 14px}.guide-explainer-grid p{line-height:1.8;margin:0}.guide-example{max-width:940px;border-left:4px solid #ec6308;margin:26px 0;background:#1b1928}.guide-example strong{color:#ffb37b;font-size:1.1rem}.guide-example p{line-height:1.8;margin-bottom:0}.guide-faq{scroll-margin-top:110px}.guide-section a,.guide-faq p a,.guide-cta p a{color:#d6adff;text-decoration:underline}#guia-inicio{scroll-margin-top:110px}
@media(max-width:600px){.guide-index>div,.guide-explainer-grid{grid-template-columns:1fr}.guide-section{padding:30px 0;scroll-margin-top:80px}.guide-section>p:not(.kicker){font-size:.97rem;line-height:1.8}.guide-index{padding:24px}.guide-intro>p:not(.kicker){font-size:1.05rem}.guide-explainer-grid .panel{padding:24px}.guide-faq,#guia-inicio{scroll-margin-top:80px}}

/* Share a completed challenge */
.whatsapp-share{display:inline-flex;align-items:center;justify-content:center;gap:9px;color:#dcffe9!important;border-color:#36a36b!important;background:#123326!important;font-weight:700;line-height:1.35;text-align:center;white-space:normal}.whatsapp-share:hover,.whatsapp-share:focus-visible{background:#194e35!important;border-color:#6beba2!important;box-shadow:0 0 0 3px #38c47626}.whatsapp-share svg{width:21px;height:21px;flex:0 0 21px}.challenge-card>.whatsapp-share{margin-top:2px;width:100%;padding:10px 12px}.result-share-action{padding:22px 0;margin:15px 0;border-top:1px solid #44315e;border-bottom:1px solid #44315e}.result-share-action p{font-size:.92rem;margin:10px 0 0;color:#b9c8db}.result-share-action .whatsapp-share{padding:14px 22px;font-size:1rem}
.challenge-share-dialog{position:fixed;inset:0;width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 30px);box-sizing:border-box;overflow-y:auto;margin:auto;padding:38px;border:1px solid #9b6ad5;border-radius:20px;color:#f7f9ff;background:radial-gradient(ellipse at top right,#362052 0,transparent 70%),#0a1423;box-shadow:0 20px 90px #0009}.challenge-share-dialog::backdrop{background:#020713c9;backdrop-filter:blur(5px)}.challenge-share-dialog h2{font-family:'Barlow Semi Condensed',sans-serif;font-size:2.2rem;line-height:1.1;margin:12px 24px 14px 0}.challenge-share-dialog p{line-height:1.6}.challenge-share-dialog .kicker{color:#aee4d4;font-size:.76rem}.share-dialog-close{position:absolute;right:14px;top:12px;background:transparent;border:1px solid #65557f;color:white;border-radius:50%;width:34px;height:34px;font-size:25px;line-height:1;cursor:pointer}.share-score{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-top:24px}.share-score strong{font-family:'Barlow Semi Condensed',sans-serif;color:#ff9c4d;font-size:2.6rem;line-height:1}.share-score span{color:#bfcddd;font-size:.88rem}.share-challenge-title{font-weight:bold;font-size:1.1rem;margin:10px 0 16px}.share-message{margin:0;padding:18px;border-left:3px solid #42b983;background:#112d284f;border-radius:0 9px 9px 0;line-height:1.75;color:#e7f4ed}.share-modal-actions{display:flex;flex-direction:column;gap:11px;margin-top:24px}.share-send{display:block;text-align:center}.share-later{border:0;background:none;color:#d7c4ed;cursor:pointer;padding:8px;font:inherit}.share-help{font-size:.8rem;color:#aebed1;margin-bottom:0}.share-copy-status{min-height:1.5em;font-size:.86rem;color:#a9f2c2;margin:12px 0}.shared-invitation{margin:20px 0;padding:18px 20px;border:1px solid #895bb6;border-left:4px solid #ec6308;border-radius:10px;background:linear-gradient(115deg,#25152e,#10242c);color:#f3eaff}.shared-invitation p{margin:6px 0 0;font-size:.92rem;line-height:1.6}
@media(max-width:480px){.challenge-share-dialog{padding:28px 22px}.challenge-share-dialog h2{font-size:1.9rem}.share-score strong{font-size:2.2rem}.share-message{padding:14px;font-size:.93rem}.share-modal-actions .button{padding:13px 12px}.shared-invitation{padding:15px}}
