/* RivalProof · interfaz basada en las 12 pantallas proporcionadas */
:root{color-scheme:dark;--bg:#0a0d1a;--panel:#111a2c;--panel2:#16223a;--line:#223052;--text:#f4f5fb;--muted:#9ba7c8;--faint:#7480a3;--accent:#ff7900;--purple:#ff6600;--soft:#ff760022;--gradient:linear-gradient(100deg,#ff7600,#ff6700 50%,#ff4700);--green:#3ddc97;--mint:#56f4cb;--gold:#f5c451;--red:#ff798a;--display:'Sora',sans-serif;--body:'Manrope',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.55 var(--body);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--mint);outline-offset:4px}input,select,textarea{width:100%;min-width:0;background:var(--panel2);border:1px solid var(--line);color:var(--text);padding:12px 14px;min-height:46px;border-radius:11px}input::placeholder,textarea::placeholder{color:var(--faint)}input[type=checkbox],input[type=radio]{width:auto;min-height:0;accent-color:var(--purple)}textarea{resize:vertical}input[type=file]{font-size:12px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--display);line-height:1.3}h1{font-size:25px}h2{font-size:18px}h3{font-size:15px}strong,b{font-weight:800}small{font-size:12px}svg.icon{width:21px;height:21px;flex:0 0 auto;display:inline-block;vertical-align:middle}svg{max-width:100%}.muted{color:var(--muted)}.faint{color:var(--faint)}.positive{color:var(--green)}.negative{color:var(--red)}.gold{color:var(--gold)}.accent{color:var(--accent)}.center{text-align:center}.small{font-size:12px}.eyebrow,.step-label{font-size:10px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin-bottom:8px}.step-label{color:var(--accent)}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:16px}.stack-sm{display:grid;gap:10px}.grow{flex:1;min-width:0}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.space-top{margin-top:22px}.space-bottom{margin-bottom:20px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px}.section-head:first-child{margin-top:0}.section-head h2{font-size:16px}.section-head a,.text-button{color:var(--accent);font-size:12px;font-weight:800}.text-button{border:0;background:none;padding:8px 0}.skip-link{position:fixed;left:12px;top:-100px;background:var(--panel2);padding:12px;z-index:20}.skip-link:focus{top:8px}
.app-shell{max-width:1160px;margin:auto;min-height:100dvh}.main-shell{min-width:0;padding:0 24px 28px}.topbar{min-height:77px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);margin-bottom:24px}.topbar-title{font:700 17px var(--display);min-width:0}.brand{display:inline-flex;align-items:center;gap:8px;font:800 19px var(--display)}.brand .icon{color:var(--accent);width:24px;height:26px}.brand span{color:var(--accent)}.brand-name{display:inline-flex}.icon-button{position:relative;border:1px solid var(--line);background:var(--panel);width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;flex:0 0 auto}.icon-button.back .icon{transform:rotate(180deg)}.notification-count{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;background:var(--purple);border:2px solid var(--bg);border-radius:20px;font-size:9px;font-weight:800}
.btn{border:1px solid transparent;background:var(--gradient);color:white;min-height:48px;width:100%;display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:12px 18px;border-radius:12px;font-size:14px;font-weight:800;box-shadow:0 8px 22px -14px #ff9046,inset 0 1px 0 #ffffff20;transition:filter .15s,transform .15s}.btn:hover{filter:brightness(1.15)}.btn:active{transform:translateY(1px)}.btn.secondary{background:linear-gradient(100deg,#5e2e0e,#381b08);border:1px solid #ff660099}.btn.subtle{background:var(--panel);border-color:var(--line);box-shadow:none}.btn.danger{background:#ff6b7a13;color:var(--red);border-color:#ff6b7a44;box-shadow:none}.btn.sm{width:auto;min-height:38px;padding:8px 13px;font-size:12px}.actions{display:flex;gap:10px}.actions>*{flex:1}.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px;min-width:0}.card.flat{padding:0 16px}.card.soft{background:#351b09;border-color:#ff904633}.notice{display:flex;gap:10px;padding:13px 15px;background:var(--panel);border:1px solid var(--line);border-radius:12px;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.notice .icon{width:18px;height:18px;margin-top:1px;color:var(--accent)}.notice.warning{background:#f5c4510a;border-color:#f5c45140;color:var(--gold)}.notice.success{background:#3ddc9710;border-color:#3ddc9740;color:var(--green)}.notice.error{background:#ff6b7a0c;border-color:#ff6b7a40;color:var(--red)}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:20px;padding:4px 9px;font-size:10px;font-weight:800;background:var(--panel2);color:var(--muted);border:1px solid var(--line)}.badge.good{background:#3ddc9714;border-color:#3ddc9740;color:var(--green)}.badge.wait{background:#f5c45112;border-color:#f5c45140;color:var(--gold)}.badge.purple{background:var(--soft);border-color:#ff904644;color:#ffc095}.badge.bad{background:#ff6b7a12;border-color:#ff6b7a44;color:var(--red)}
.avatar{width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:50%;background:linear-gradient(145deg,#e17a35,#834013);color:#fff;font:800 14px var(--display);border:1px solid #ffffff14}.avatar.alt{background:linear-gradient(145deg,#447f9d,#234154)}.avatar.large{width:72px;height:72px;font-size:26px}.avatar.xlarge{width:88px;height:88px;font-size:32px}.balance-strip{display:flex;align-items:center;gap:12px;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px 16px}.balance-strip small{font-size:11px;color:var(--muted);display:block}.balance-strip strong{font:800 23px var(--display)}.wallet-icon{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#56f4cb,#0f9d78);color:#072d24;box-shadow:0 0 16px -6px #56f4cb}.wallet-icon .icon{width:19px}.balance-plus{width:34px;height:34px;border-radius:10px;background:var(--gradient);display:grid;place-items:center;margin-left:auto}
.hero{position:relative;isolation:isolate;overflow:hidden;padding:36px 0 28px;min-height:266px}.hero:before{content:'';position:absolute;z-index:-1;right:-70px;top:-30px;width:370px;height:370px;background:radial-gradient(circle,#f778234d,transparent 68%)}.hero h1{font:800 35px/1.16 var(--display);letter-spacing:-.5px;position:relative;z-index:2;max-width:76%}.hero .win{background:linear-gradient(90deg,#ffab08,#ff7600);background-clip:text;-webkit-background-clip:text;color:transparent}.hero p{font-size:12px;color:var(--muted);max-width:65%;line-height:1.6;margin-top:12px;position:relative;z-index:2}.hero .pad{position:absolute;right:-16px;top:88px;width:172px;transform:rotate(-10deg);filter:drop-shadow(0 13px 12px #0009);z-index:1}.home-cta{display:grid;gap:12px}.home-cta .btn{min-height:53px}.quick-links{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.quick-link{padding:13px 14px;border:1px solid var(--line);background:var(--panel);border-radius:12px;display:flex;gap:10px;align-items:center;font-size:12px;font-weight:700}.quick-link .icon{color:var(--accent);width:18px}.list-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);text-align:left;width:100%;background:none;border-left:0;border-right:0;border-top:0;border-radius:0}.list-row:last-child{border-bottom:0}.list-row .name{font-size:13px;font-weight:800;display:block;overflow-wrap:anywhere}.list-row .sub{font-size:11px;color:var(--muted);display:block;margin-top:3px}.list-row .right{text-align:right;flex:0 0 auto}.list-row .right strong{font-size:13px}.list-row .icon.chevron{width:16px;color:var(--faint)}a.list-row:hover,button.list-row:hover{background:#ffffff03}.empty{display:grid;justify-items:center;text-align:center;gap:10px;padding:27px 15px;color:var(--muted);font-size:12px}.empty .empty-icon{width:48px;height:48px;background:var(--soft);border-radius:16px;display:grid;place-items:center;color:var(--accent)}.empty strong{color:var(--text);font-size:14px}.empty p{max-width:300px}.empty .btn{margin-top:3px}.connection{text-align:center;color:var(--faint);font-size:10px;margin-top:26px;min-height:15px}.connection:empty{display:none}.connection.offline{color:var(--gold)}.page-heading{margin-bottom:24px}.page-heading p{color:var(--muted);margin-top:8px;font-size:13px}
.search-field{position:relative;display:block;margin-bottom:18px}.search-field .icon{position:absolute;left:14px;top:14px;color:var(--faint);width:18px}.search-field input{padding-left:42px;background:var(--panel);font-size:13px}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}.game-card{padding:0;border:1.5px solid var(--line);background:var(--panel);border-radius:14px;overflow:hidden;min-width:0}.game-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent),0 0 20px -9px #ff6600}.game-art{aspect-ratio:1.22;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px;background:linear-gradient(145deg,var(--game-a),var(--game-b));overflow:hidden}.game-art:after{content:'';position:absolute;width:160px;height:160px;border:1px solid #ffffff0d;transform:rotate(-22deg);left:20px;top:24px}.game-art b{font:800 19px/1 var(--display);position:relative;z-index:1;letter-spacing:-.6px;text-align:center}.game-art em{font-style:normal;font-size:9px;font-weight:800;letter-spacing:2px;margin-top:5px;z-index:1}.game-art.pool b{width:45px;height:45px;display:grid;place-items:center;border-radius:50%;background:#eff3fa;color:#111;font-size:27px;box-shadow:0 0 0 9px #06080dcc}.game-label{display:block;padding:9px 4px;font-size:10px;font-weight:800;text-align:center;color:var(--muted);background:var(--panel2);min-height:38px}.game-card.selected .game-label{color:var(--text)}.game-check{position:absolute;right:6px;top:5px;z-index:2;color:var(--mint);font-size:13px}.field{display:block;font-size:12px;color:var(--muted);min-width:0}.field>span{display:block;margin-bottom:7px}.field small{display:block;margin-top:6px;font-size:11px}.field+.field{margin-top:14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .field+.field{margin-top:0}.chips,.tabs{display:flex;gap:8px}.chips{margin:14px 0}.chip{background:var(--panel);border:1px solid var(--line);border-radius:10px;min-height:44px;padding:9px 13px;font-weight:800;flex:1}.chip.on{background:var(--gradient);border-color:transparent;color:#fff}.tabs{overflow-x:auto;scrollbar-width:none;margin:18px 0;white-space:nowrap}.tab{min-height:38px;padding:8px 14px;border-radius:10px;border:1px solid transparent;background:none;color:var(--muted);font-size:12px;font-weight:800}.tab.on{background:var(--panel);border-color:var(--line);color:var(--text)}.tab.pill.on{background:var(--soft);border-color:#ff904644;color:var(--accent)}.mode-option{display:flex;gap:10px;align-items:flex-start;cursor:pointer;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.mode-option:has(input:checked){background:var(--soft);border-color:#ff760080}.mode-option input{margin-top:4px;flex-shrink:0}.mode-option strong{font-size:12px;color:var(--text);display:block}.mode-option small{font-size:11px;color:var(--muted)}.select-player{padding:7px 12px;min-height:36px;border-radius:9px;font-size:11px;font-weight:800;border:1px solid var(--line);background:var(--panel2)}.select-player.selected{color:var(--mint);border-color:#56f4cb66;background:#56f4cb10}.room-code{font:700 17px var(--display);letter-spacing:3px;color:var(--accent)}
.match-hero{text-align:center;padding:16px 0}.versus{display:flex;justify-content:center;align-items:center;gap:22px;margin:14px 0 18px}.player{display:grid;justify-items:center;gap:9px;min-width:0;flex:1;max-width:160px}.player .avatar{position:relative}.player-name{font-size:12px;font-weight:800;max-width:100%;overflow-wrap:anywhere}.versus .vs{color:var(--faint);font:800 13px var(--display)}.crown{position:absolute;top:-22px;color:var(--gold);font-size:20px}.game-tag{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:var(--panel);border-radius:8px;font-size:11px;font-weight:800;color:var(--muted);padding:6px 12px;margin-bottom:12px}.score{font:800 39px var(--display);letter-spacing:3px;margin:2px 0 6px}.stats{display:flex;margin:24px 0;gap:8px}.stats>div{flex:1;text-align:center;min-width:0}.stats small{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.stats strong{display:block;font-size:14px}.stats>div+div{border-left:1px solid var(--line)}.progress-steps{display:flex;margin:22px 0 24px}.progress-step{position:relative;flex:1;text-align:center;color:var(--faint);font-size:9px}.progress-step:before{content:'';height:2px;background:var(--line);position:absolute;left:-50%;right:50%;top:12px}.progress-step:first-child:before{display:none}.progress-step i{position:relative;z-index:1;display:grid;place-items:center;margin:0 auto 8px;width:25px;height:25px;border-radius:50%;font-size:11px;font-weight:800;font-style:normal;background:var(--panel);border:1px solid var(--line)}.progress-step.done:before{background:var(--green)}.progress-step.done i{background:var(--green);color:#06251a;border-color:var(--green)}.progress-step.now i{background:var(--purple);color:#fff;box-shadow:0 0 0 4px #ff660022;border-color:var(--purple)}.progress-step.now{color:var(--text)}.key-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;font-size:12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.key-row:last-child{border-bottom:0}.key-row>span{color:var(--muted)}.key-row>b{max-width:65%;text-align:right}
.dropzone{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:185px;border:1.5px dashed #d46821;border-radius:16px;padding:24px 15px;background:#ff660005;text-align:center;cursor:pointer;position:relative}.dropzone:hover,.dropzone.dragging{background:var(--soft);border-color:var(--accent)}.dropzone .icon{width:39px;height:39px;color:var(--accent)}.dropzone b{font-size:14px}.dropzone span{font-size:12px;color:var(--muted)}.dropzone input{position:absolute;opacity:0;width:1px;height:1px;left:50%;bottom:0;padding:0;min-height:0}.dropzone:focus-within{outline:2px solid var(--mint);outline-offset:4px}.file-hint{text-align:center;font-size:11px;color:var(--muted);margin:10px 0 20px}.upload-preview{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:0 0 16px;position:relative;background:var(--panel)}.upload-preview img{display:block;width:100%;max-height:260px;object-fit:contain}.upload-preview .icon-button{position:absolute;top:8px;right:8px;background:#0a0d1aee}.upload-preview figcaption{font-size:11px;padding:9px 12px;color:var(--muted);overflow-wrap:anywhere}.evidence-thumb{display:block;width:100%;max-height:200px;object-fit:contain;background:#080a14;border:1px solid var(--line);border-radius:10px;margin:12px 0}
.verifying{padding:32px 0;text-align:center}.shield-orbit{position:relative;width:90px;height:90px;margin:24px auto 40px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,#ff66004a,transparent 72%)}.shield-orbit .icon{width:48px;height:48px;color:#ffc299;filter:drop-shadow(0 0 10px #ff760077)}.shield-orbit:before,.shield-orbit:after{content:'';position:absolute;inset:-10px;border-radius:50%;border:2px solid transparent;border-top-color:#ff7600;border-right-color:#ff760055;animation:spin 2.5s linear infinite}.shield-orbit:after{inset:-22px;border-top-color:#d9671b;border-right-color:#d9671b33;animation-direction:reverse;animation-duration:3.6s}.checklist{margin:28px auto;text-align:left;max-width:340px;display:grid;gap:17px}.check-item{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.check-dot{width:21px;height:21px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;flex:0 0 auto;font-size:11px}.check-dot.done{background:#3ddc9722;color:var(--green);border-color:transparent}.check-dot.pending{border:2px solid #313346;border-top-color:var(--accent);animation:spin 1s linear infinite}.result-head{text-align:center;padding:27px 0 24px}.result-head .avatar{margin:0 auto 17px;position:relative}.result-head h1{font-size:29px;margin-bottom:9px}.result-prize{font:800 29px var(--display);margin:8px 0}.result-head p{font-size:12px;color:var(--muted)}.mini-versus{display:flex;align-items:center;justify-content:center;gap:14px;padding:14px 0 18px}.mini-versus strong{font:800 22px var(--display)}.analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.analysis-grid .card{padding:14px}.analysis-grid .key-row{font-size:10px;gap:6px}.analysis-grid .key-row b{overflow-wrap:anywhere}.technical{margin-top:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}details>summary{cursor:pointer;padding:14px;font-size:12px;font-weight:700;color:var(--muted)}details>div{padding:0 14px 15px}pre{white-space:pre-wrap;word-break:break-word;max-height:360px;overflow:auto;font-size:11px;color:var(--muted)}
.wallet-hero{padding:28px 20px;text-align:center;background:linear-gradient(145deg,#3c1d09,#111725);border:1px solid var(--line);border-radius:18px}.wallet-hero small{font-size:12px;color:var(--muted)}.wallet-hero strong{display:block;font:800 36px var(--display);margin:8px 0 22px}.wallet-actions{display:flex;gap:14px;margin:21px 0}.wallet-action{flex:1;display:grid;justify-items:center;gap:8px;font-size:11px;color:var(--muted)}.wallet-action .round-icon{width:43px;height:43px;border-radius:50%;background:var(--panel);border:1px solid var(--line);display:grid;place-items:center;color:var(--text)}.payment-icon{width:34px;height:34px;display:grid;place-items:center;background:var(--panel2);border-radius:10px;font-size:16px;font-weight:800}.rank-number{width:24px;text-align:center;color:var(--faint);font-weight:800;flex-shrink:0}.rank-number.first{color:var(--gold)}.rank-row.me{background:var(--soft);border:1px solid #ff904644;border-radius:12px;padding-left:10px;padding-right:10px}.rank-row{padding-left:8px;padding-right:8px}.profile-header{display:grid;justify-items:center;gap:8px;padding:12px 0 4px}.profile-header .avatar{margin-bottom:8px}.profile-header h1{font-size:23px;overflow-wrap:anywhere;max-width:100%}.profile-header p{color:var(--muted);font-size:12px}.profile-menu .list-row{font-weight:700;font-size:13px}.profile-menu .list-row>.icon{width:19px;color:var(--muted)}.rank-row .avatar{width:34px;height:34px}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:10;display:flex;justify-content:space-around;border-top:1px solid var(--line);background:#0a0d1af5;backdrop-filter:blur(16px);padding:8px 12px max(10px,env(safe-area-inset-bottom))}.nav-item{flex:1;display:grid;justify-items:center;align-content:center;gap:4px;color:var(--faint);font-size:10px;font-weight:700;min-height:43px}.nav-item .nav-icon{display:grid;place-items:center;width:41px;height:29px;border-radius:10px}.nav-item .icon{width:19px;height:19px}.nav-item.active{color:var(--text)}.nav-item.active .nav-icon{background:var(--gradient);box-shadow:0 4px 12px -7px #ff7600}.sidebar{padding:35px 24px;border-right:1px solid var(--line);position:sticky;top:0;height:100dvh}.side-links{display:grid;gap:9px;margin-top:45px}.side-link{display:flex;align-items:center;gap:14px;padding:13px;border-radius:12px;color:var(--muted);font-size:13px;font-weight:700}.side-link.active{background:var(--soft);color:var(--text);border:1px solid #ff904644}.side-link.active .icon{color:var(--accent)}.side-profile{position:absolute;bottom:30px;left:24px;right:24px;border-top:1px solid var(--line);padding-top:20px}.auth-page{max-width:450px;margin:35px auto 0}.auth-emblem{display:grid;place-items:center;margin:0 auto 22px;width:66px;height:66px;border:1px solid #ff904655;background:var(--soft);border-radius:22px}.auth-emblem .icon{width:35px;height:35px;color:var(--accent)}.auth-tabs{display:flex;gap:4px;padding:5px;border:1px solid var(--line);border-radius:13px;background:var(--panel);margin:26px 0}.auth-tabs button{flex:1}.auth-form{display:grid;gap:18px}.loading-page{display:grid;justify-items:center;gap:18px;padding:70px 0;color:var(--muted);font-size:13px}.spinner{display:inline-block;width:25px;height:25px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}.toast{position:fixed;z-index:50;left:50%;bottom:98px;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);padding:14px 18px;border-radius:13px;background:#182e2c;border:1px solid #3ddc9755;color:#e7fff4;box-shadow:0 12px 40px #0008;font-size:13px}.toast.error{background:#301823;border-color:#ff798a55;color:#ffdce1}dialog{width:calc(100% - 32px);max-width:450px;max-height:90dvh;overflow:auto;background:var(--bg);border:1px solid var(--line);border-radius:20px;padding:23px;color:var(--text);box-shadow:0 25px 80px #0008}dialog::backdrop{background:#040610bf;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.dialog-head h2{font-size:19px}.dialog-head .icon-button{width:32px;height:32px}.dialog-copy{font-size:13px;color:var(--muted);margin-bottom:20px}dialog .actions{margin-top:22px}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px}.gallery figure{margin:0;min-width:0}.gallery figcaption{font-size:11px;color:var(--muted)}.form-error{font-size:12px;color:var(--red);background:#ff6b7a10;border:1px solid #ff6b7a33;padding:11px;border-radius:9px;margin:10px 0}.amount-input{font:700 23px var(--display)}.divider{height:1px;background:var(--line);margin:22px 0}.inline-controls{display:flex;align-items:center;gap:10px}.inline-controls input{flex:1}.admin-card .actions{margin-top:14px}.admin-card p{overflow-wrap:anywhere}.admin-card h3{margin-bottom:10px}.admin-controls{padding-top:12px;border-top:1px solid var(--line);margin-top:12px}.auth-only .topbar{max-width:460px;margin:0 auto}.auth-only .app-shell{display:block}.auth-only .main-shell{max-width:650px;margin:auto}
@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:900px){body:not(.auth-only) .app-shell{display:grid;grid-template-columns:235px 1fr}body:not(.auth-only) .bottom-nav{display:none}.main-shell{padding:0 38px 35px}.topbar{min-height:93px;margin-bottom:30px}.home-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:28px}.home-main{min-width:0}.home-activity .section-head{margin-top:0}.hero{min-height:275px;padding-top:35px}.hero h1{font-size:36px}.hero .pad{width:150px;right:-19px;top:103px}.hero p{max-width:80%}.page-narrow{max-width:520px;margin:0 auto}.game-grid{gap:16px}.game-art b{font-size:23px}.game-label{font-size:12px}.page-wide{max-width:760px}.home-activity .card{padding-left:13px;padding-right:13px}.home-activity .list-row{gap:8px}.home-activity .list-row .avatar{width:30px;height:30px;font-size:12px}.home-activity .list-row .name{font-size:11px}.home-activity .list-row .badge{font-size:9px;padding:3px 6px}.home-activity .list-row .sub{font-size:10px}.toast{bottom:28px}.wallet-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}}
@media(max-width:899px){.sidebar{display:none}.app-shell{max-width:530px}.main-shell{padding:0 20px 100px}.topbar{margin-bottom:19px;min-height:72px}.topbar-title{font-size:15px}.hero h1{font-size:36px}.hero .pad{right:-5px;width:174px;top:88px}.page-heading{margin-bottom:20px}.card{padding:17px}.auth-only .main-shell{padding-bottom:28px}.wallet-layout{display:grid;gap:23px}}
@media(max-width:359px){.main-shell{padding-left:15px;padding-right:15px}.hero h1{font-size:31px}.hero .pad{width:146px;right:-8px;top:95px}.game-grid{gap:8px}.game-art b{font-size:16px}.analysis-grid,.form-grid{grid-template-columns:1fr}.list-row{gap:8px}.badge{font-size:9px;padding:3px 6px}.brand{font-size:17px}.card.flat{padding:0 12px}.tab{padding:7px 10px}.stats strong{font-size:12px}.versus{gap:13px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Tipografías integradas: la interfaz no depende de Google Fonts. */
@font-face{font-family:'Manrope';font-style:normal;font-weight:100 900;font-display:swap;src:url(/rp-web-assets/asset-a30ddcd349703aff7464c34bef3fffdff405ee50c113440d7c8693c02d210972.woff2) format('woff2')}
@font-face{font-family:'Sora';font-style:normal;font-weight:100 900;font-display:swap;src:url(/rp-web-assets/asset-fa26406eeda9a3c6ec3d9ea8813c3045d6dc755e30c716d5c094e8ef43be5a7f.woff2) format('woff2')}

.skip-link{top:8px;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.skip-link:focus{clip-path:none;width:auto;height:auto}
.hero .pad{right:4px}.home-activity .section-head{margin-top:22px}
@media(min-width:900px){.home-activity .section-head:first-child{margin-top:0}.hero .pad{right:4px}}
@media(max-width:899px){.hero{padding:26px 0 22px;min-height:235px}.hero h1{font-size:31px;line-height:1.16}.hero .pad{width:137px;right:0;top:66px}.hero p{max-width:75%}.balance-strip{padding:12px 15px}}
@media(max-width:359px){.hero h1{font-size:28px}.hero .pad{width:118px;right:0;top:80px}}
#view:focus{outline:none}
.analysis-grid>.card:only-child{grid-column:1/-1}
.analysis-grid .key-row>span{flex:0 0 62px}.analysis-grid .key-row>b{max-width:calc(100% - 68px)}

/* Control de la referencia original: encuadre decorativo sobre el inicio. */
.hero .pad-reference{width:calc(100% - 200px);min-width:118px;max-width:195px;right:-8px;top:52px;transform:none;filter:drop-shadow(0 8px 18px #fa6c0e38);pointer-events:none}
@media(min-width:900px){.hero .pad-reference{width:47%;right:-10px;top:78px}}
@media(max-width:359px){.hero .pad-reference{width:118px;right:-6px;top:68px}}
@media(min-width:900px) and (max-width:1099px){.hero h1{font-size:28px}.hero .pad-reference{width:42%;top:58px}}


/* Decorative mobile details. The accepted desktop interface remains unchanged. */
.mobile-only,.mobile-game-art,.mobile-reference-art,.icon-mobile{display:none}
.payment-original{display:contents}
@media(max-width:899px){
 .mobile-only{display:block}
 .has-mobile-icon>.icon-original{display:none}
 .has-mobile-icon>.icon-mobile{display:inline}
 .mobile-illustration{width:24px;height:24px;flex:0 0 auto}
 .brand .icon{filter:drop-shadow(0 0 7px #ff812c6b)}
 .home-cta .icon{width:24px;height:24px}
 .home-cta .secondary .icon{border:1.3px solid currentColor;border-radius:50%;padding:4px}
 .balance-strip .wallet-icon{background:transparent;box-shadow:none;color:#2af3be;filter:drop-shadow(0 0 8px #1ef3b95c)}
 .balance-strip .wallet-icon>.icon{display:none}
 .balance-strip .wallet-icon>.mobile-illustration{width:33px;height:33px}
 .mobile-game-art,.mobile-reference-art{display:block;flex:0 0 auto;background-repeat:no-repeat;background-size:calc(153600% / var(--mw)) calc(102400% / var(--mh));background-position:calc(100% * var(--mx) / (1536 - var(--mw))) calc(100% * var(--my) / (1024 - var(--mh)))}
 .game-art>.mobile-game-art{position:absolute;inset:0}
 .game-card .game-art>b,.game-card .game-art>em,.game-art:after{display:none}
 .game-check{z-index:2;background:#103c31;border-radius:50%;box-shadow:0 0 0 2px #301707}
 .game-card.selected{box-shadow:0 0 0 1px #ff9046,0 0 18px #ff660033}
 .mobile-match-cover{width:38px;height:38px;border-radius:10px;border:1px solid #8098c233;box-shadow:0 3px 10px #0003}
 .mobile-game-row>.avatar{display:none}
 .mobile-game-badge{width:25px;height:25px;border-radius:5px}
 .game-tag:has(.mobile-game-badge){padding:4px 9px 4px 5px}
 .avatar{background:radial-gradient(circle at 35% 22%,#d56820,#49240b 76%);border:1.5px solid #f5a46e;box-shadow:0 0 0 2px #f87f2f1c}
 .avatar.alt{background:radial-gradient(circle at 35% 22%,#3b677c,#132732 76%);border-color:#77b3d5;box-shadow:0 0 0 2px #40b4e31c}
 .player .avatar,.profile-header .avatar,.result-head .avatar{border-width:2px;box-shadow:0 0 0 3px #f881321c,0 0 20px #ff781e3d}
 .player .avatar.alt{box-shadow:0 0 0 3px #77b3d513,0 0 16px #2ec8ed26}
 .dropzone{background:radial-gradient(ellipse at 50% 32%,#de67171c,transparent 65%)}
 .dropzone>.icon{width:58px;height:58px;color:#ff9954;filter:drop-shadow(0 0 6px #ff812c94);margin:0 0 6px}
 .shield-orbit{background:radial-gradient(circle,#612d0b66 25%,#261205 55%,#f6782438 58%,transparent 63%);box-shadow:0 0 0 1px #d96a2038,0 0 0 6px #50270c26,0 0 0 7px #de6d2129,0 0 0 15px #4b250c1a,0 0 0 16px #d4682024}
 .shield-orbit>.icon{color:#ffa86e;filter:drop-shadow(0 0 9px #ff7b22a1)}
 .shield-orbit:before{border-width:2px;box-shadow:0 -3px 9px #ff8c3f55,inset 0 2px 7px #ff8b3e45;border-right-color:#ff9148}
 .shield-orbit:after{border-left-color:#ff975266;box-shadow:0 -2px 9px #ef7e3345}
 .check-dot.done,.progress-step.done i{box-shadow:0 0 12px #22dca344}
 .mobile-analysis-heading{display:flex;align-items:center;gap:8px}
 .mobile-analysis-heading .mobile-illustration{width:24px;height:24px;filter:drop-shadow(0 0 7px #ff9a5650)}
 .result-head{position:relative;isolation:isolate}
 .mobile-winner-decor{position:absolute;width:280px;height:190px;max-width:100%;left:50%;top:0;transform:translateX(-50%);pointer-events:none;z-index:-1}
 .result-won h1{color:var(--mint)}
 .result-won .result-prize{filter:drop-shadow(0 0 10px #24deb533)}
 .mobile-result-game{display:flex;align-items:center;justify-content:center;gap:8px}
 .payment-icon{flex:0 0 auto}
 .payment-icon .payment-original{display:none}
 .payment-icon .mobile-illustration{width:26px;height:26px}
 .mobile-payment-bank{color:#77d4fb;background:#10415c42}
 .mobile-payphone-logo{width:28px;height:28px;border-radius:6px}
 .mobile-payment-payphone,.mobile-payment-usdt,.mobile-payment-card{background:transparent}
 .mobile-payment-usdt .mobile-illustration{filter:drop-shadow(0 0 7px #00c38b35)}
 .rank-number.first .rank-original{display:none}
 .rank-number.first .mobile-illustration{width:24px;height:24px;filter:drop-shadow(0 0 5px #ffcb3c55)}
 .rank-row.me .avatar{border-color:#ffb98a;box-shadow:0 0 12px #ff914855}
 .profile-games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;background:transparent;border:0;padding:0}
 .profile-games>.mobile-played-game{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0 0 10px;background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}
 .mobile-profile-cover{width:100%;aspect-ratio:1.22;margin-bottom:8px}
 .profile-games .mobile-played-game>span:not(.mobile-game-art){font-size:10px;font-weight:800;color:var(--text);padding:0 5px;text-align:center;overflow-wrap:anywhere}
 .profile-games .mobile-played-game>b{max-width:none;font-size:10px;color:var(--muted);font-weight:500;padding:3px 5px 0;text-align:center}
 .profile-games>p{grid-column:1/-1}
}
@media(max-width:899px){.mobile-game-art,.mobile-reference-art{background-image:url("/rp-web-assets/asset-ee65b646150c249b51ee1ea0fc30333c70cff180812e8b876ebf1d42587daf93.png")}}


/* Friends by account ID. Uses the same mobile and desktop theme. */
.friends-home-link{grid-column:1/-1}
.friends-link-note{margin-left:auto;color:var(--muted);font-size:11px;font-weight:500}
.friends-home-link>.icon:last-child{width:14px}
.friend-profile-id{border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--muted);font-size:11px;padding:8px 11px;margin-top:4px;max-width:100%;overflow-wrap:anywhere}
.friend-profile-id b{color:var(--text);letter-spacing:.5px}
.friends-id-card{display:flex;gap:12px;align-items:center;margin-bottom:16px;background:linear-gradient(115deg,#d5682033,var(--panel))}
.friends-id-card .grow{min-width:0}
.friends-id-card small{display:block;color:var(--muted);font-size:11px;margin-bottom:6px}
.friends-id-card strong{display:block;font:800 18px var(--display);letter-spacing:1px;overflow-wrap:anywhere}
.friends-id-card>.btn{flex:0 0 auto;width:auto}
.friend-id-emblem{width:40px;height:40px;display:grid;place-items:center;background:#ff83301c;color:#ffae78;border:1px solid #f8883d4d;border-radius:12px;flex-shrink:0}
.friends-search{display:grid;gap:14px}
.friends-search input{letter-spacing:1px}
.friend-found{margin-top:16px;border-color:#e17b36}
.friend-found .friend-row{padding-bottom:0;border:0}
#friendLookupResult:focus{outline:none}
.friend-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--line)}
.friend-row:last-child{border-bottom:0}
.friend-person{display:flex;align-items:center;gap:10px;flex:1 1 135px;min-width:0}
.friend-person>span:last-child{min-width:0}
.friend-person b{display:block;font-size:13px;overflow-wrap:anywhere}
.friend-person small{display:block;color:var(--muted);font-size:10px;margin-top:4px;letter-spacing:.6px}
.friend-buttons{display:flex;align-items:center;gap:7px;flex-wrap:wrap;max-width:100%}
.friend-buttons .btn{width:auto;min-height:35px;padding:8px 12px;font-size:11px}
.friend-buttons .btn .icon{width:16px;height:16px}
.friend-remove{width:31px;height:31px;min-height:31px;border-color:transparent;background:transparent;color:var(--muted)}
.friend-remove:hover{color:var(--danger)}
.friend-tabs{gap:6px}
.friend-tabs .tab{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:10px 7px;font-size:11px}
.friend-tabs .tab span{font-size:10px;border-radius:10px;padding:1px 5px;background:#ffffff0c}
.friend-notification{display:flex;align-items:center;gap:12px;margin-bottom:18px;border-color:#e17b36}
.friend-notification>span{flex:1;min-width:0}
.friend-notification b{display:block;font-size:13px}
.friend-notification small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.friend-notification>.icon{color:var(--accent)}
.friend-rival-link{display:flex;gap:9px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--panel);font-size:12px;font-weight:700;margin-bottom:18px}
.friend-rival-link>.icon{color:var(--accent)}
.friend-rival-link>.icon:last-child{margin-left:auto;width:15px}
.desk-friend-incoming{display:flex;align-items:center;justify-content:space-between;color:#ffbe92;border-top:1px solid var(--line);padding:12px 4px 2px;font-size:11px}
.desk-friend-incoming .icon{width:14px}
@media(max-width:359px){.friends-id-card{gap:9px;padding:14px 11px}.friend-id-emblem{display:none}.friends-id-card strong{font-size:16px}.friends-id-card>.btn{font-size:10px;padding:9px}.friend-tabs .tab{font-size:10px}}

/* RP_ORANGE_THEME_V2_BEGIN — naranja intenso, referencia IMG_0459. */
:root {
  --accent: #ff7900;
  --purple: #ff6600;
  --soft: #ff6a0022;
  --gradient: linear-gradient(to left, #ff4700 0%, #ff6000 45%, #ff8102 75%, #ffab08 100%);
}
.hero .win,
.rp-final-hero-copy h1 b {
  background-image: var(--gradient);
}
.btn.secondary {
  background: linear-gradient(to left, #261511, #3b2116);
  border-color: #ff7900;
}
.home-cta > .btn:first-child {
  box-shadow: 0 6px 23px -5px #ff650088, inset 0 1px 0 #ffc22a;
}
.home-cta > .btn.secondary {
  box-shadow: 0 6px 20px -8px #ff650066, inset 0 1px 0 #ff9a0033;
}
.balance-plus,
.nav-item.active .nav-icon {
  box-shadow: 0 3px 18px -5px #ff680088;
}
.hero:before {
  background: radial-gradient(circle, #ff5b0066, transparent 68%);
}
/* Sólo la ilustración decorativa: no se filtran capturas ni fotos de usuarios. */
.hero .pad-reference {
  filter: hue-rotate(150deg) saturate(1.15) brightness(1.08) contrast(1.12) drop-shadow(0 5px 15px #ff5b004d);
}
.rp-final-cta.rp-final-find,
.rp-final-wallet-plus,
.rp-mobile-nav-item.active .rp-mobile-nav-icon,
.rp-mobile-nav-item[aria-current="page"] .rp-mobile-nav-icon {
  background: var(--gradient) !important;
}
.rp-final-cta.rp-final-create {
  background: linear-gradient(to left, #261511, #3b2116) !important;
}
@media (min-width: 900px) {
  .desk-forensic-art {
    filter: hue-rotate(150deg) saturate(1.15) brightness(1.08) contrast(1.12);
  }
  .desk-side-promo > .desk-art,
  .desk-ranking-card > .desk-art {
    filter: grayscale(1) sepia(1) saturate(4) hue-rotate(-23deg) brightness(1.2) contrast(1.08);
  }
}
/* RP_ORANGE_THEME_V2_END */

/* RP_CONTROLLER_BLACK_V1_BEGIN */
/* La luz sigue los materiales de la imagen; el CSS aporta profundidad y ambiente. */
.hero svg.pad.pad-reference {
  filter: drop-shadow(0 6px 10px #00000055);
}
.hero::before {
  right: -22px;
  top: 10px;
  width: 360px;
  height: 260px;
  background: radial-gradient(ellipse at 61% 52%, #ff650066 0%, #ca400030 26%, #78280a14 49%, transparent 71%);
}
/* RP_CONTROLLER_BLACK_V1_END */
