/* 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 */

/* RP_COORDINATION_V1_BEGIN */
.coord-composer .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.coordination { display: grid; gap: 16px; margin: 20px 0; min-width: 0; }
.coordination .card { margin: 0; padding: 22px; border: 1px solid #283348; background: linear-gradient(150deg,#162030,#0e1522); }
.coordination-heading { display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.coordination-heading h2,.coordination-chat h2 { margin:0 0 5px; font-size:1.14rem; letter-spacing:-.02em; }
.coordination-heading .step-label { margin:0 0 5px; font-size:.66rem; letter-spacing:.13em; color:#ff9c40; }
.coordination-icon { display:grid; place-items:center; width:46px; height:46px; flex:0 0 auto; border-radius:15px; color:#ffa047; background:#ff7d001a; border:1px solid #ff8c002c; }
.coord-player { display:flex; align-items:flex-start; gap:12px; padding:17px; background:#0b1220; border:1px solid #2b3547; border-radius:16px; }
.coord-player > div { flex:1; min-width:0; }
.coord-player b { display:block; overflow-wrap:anywhere; font-size:1.06rem; }
.coord-player-label { display:block; color:#929eb4; font-size:.73rem; margin:2px 0 12px; }
.coord-game-name { display:block; color:#f0f4fb; font-size:.91rem; overflow-wrap:anywhere; }
.coord-id { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; }
.coord-id code { overflow-wrap:anywhere; min-width:0; color:#ffb36a; font-family:ui-monospace,monospace; font-size:.9rem; }
.coord-id .btn { flex-shrink:0; width:auto; white-space:nowrap; border:1px solid #354057; padding:8px 10px; min-height:36px; font-size:.75rem; }
.coord-my-profile { margin:13px 0 0; padding:0 2px; }
.coord-my-profile summary { color:#aab6c8; cursor:pointer; font-size:.82rem; padding:6px 0; }
.coord-my-profile[open] summary { margin-bottom:10px; }
.coord-my-profile > .btn { margin-top:9px; width:auto; }
.coord-inviter { display:flex; align-items:flex-start; gap:9px; margin:17px 0 0; font-size:.81rem; color:#f8cca0; line-height:1.5; }
.coord-inviter .icon { width:17px; height:17px; flex-shrink:0; margin-top:2px; }
.coord-profile-note { font-size:.7rem; line-height:1.5; margin:10px 0 0; color:#8894aa; }
.coordination-chat { position:relative; min-width:0; }
.coordination-chat > .row { align-items:flex-start; }
.coord-chat-options { position:relative; }
.coord-chat-options summary { display:flex; align-items:center; justify-content:center; cursor:pointer; list-style:none; width:36px; height:34px; border:1px solid #313d52; border-radius:10px; color:#c1cbda; letter-spacing:2px; }
.coord-chat-options summary::-webkit-details-marker { display:none; }
.coord-chat-options > div { position:absolute; z-index:4; right:0; top:40px; padding:7px; width:240px; border-radius:13px; background:#172133; border:1px solid #3c4861; box-shadow:0 8px 28px #0008; }
.coord-chat-options .btn { font-size:.78rem; justify-content:flex-start; text-align:left; }
.coord-messages { display:flex; flex-direction:column; align-items:flex-start; gap:12px; max-height:345px; min-height:150px; overflow:auto; overscroll-behavior:contain; margin:20px -3px 0; padding:3px 3px 15px; scrollbar-width:thin; scrollbar-color:#3f4a5d transparent; }
.coord-message { max-width:90%; min-width:125px; padding:11px 13px; border-radius:15px 15px 15px 4px; background:#212d40; border:1px solid #303e54; }
.coord-message.is-mine { align-self:flex-end; border-radius:15px 15px 4px 15px; background:#4b2b1b; border-color:#a559243d; }
.coord-message-meta { display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:.68rem; color:#abb8ce; }
.coord-message.is-mine .coord-message-meta { color:#f3bc91; }
.coord-message-meta b { overflow-wrap:anywhere; }
.coord-message-meta time { white-space:nowrap; flex-shrink:0; }
.coord-message p { margin:6px 0 0; font-size:.88rem; line-height:1.55; color:#f0f3f9; white-space:pre-wrap; overflow-wrap:anywhere; }
.coord-message-report { display:block; margin:7px 0 0; padding:2px 0; border:0; background:none; color:#a2aec2; cursor:pointer; font-size:.66rem; text-decoration:underline; text-underline-offset:3px; }
.coord-chat-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-height:140px; padding:18px; width:100%; color:#9ba8bd; }
.coord-chat-empty .icon { width:28px; height:28px; margin-bottom:12px; color:#ffa24c; }
.coord-chat-empty b { color:#dce4f0; font-size:.86rem; }
.coord-chat-empty p { margin:6px 0 0; font-size:.78rem; line-height:1.5; }
.coord-quick-actions { display:flex; flex-wrap:wrap; gap:7px; border-top:1px solid #28354a; padding-top:15px; }
.coord-quick-actions button { border:1px solid #4d392b; border-radius:22px; color:#ffb774; background:#ff87000a; cursor:pointer; padding:9px 11px; font-size:.72rem; line-height:1.3; }
.coord-quick-actions button:hover { background:#ff87001b; }
.coord-quick-actions button:disabled { cursor:default; opacity:.55; }
.coord-composer { margin-top:13px; }
.coord-composer textarea { display:block; resize:vertical; width:100%; min-height:78px; max-height:180px; box-sizing:border-box; border:1px solid #344058; border-radius:12px; color:#f1f4f9; background:#0b1220; padding:13px; font:inherit; font-size:.88rem; }
.coord-composer textarea::placeholder { color:#8491a8; }
.coord-composer-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:9px; }
.coord-composer-footer .btn { width:auto; min-width:94px; padding:9px 15px; }
.coord-composer-footer .icon { width:16px; height:16px; }
.coord-chat-note { border-top:1px solid #263147; padding-top:13px; margin:16px 0 0; color:#8996ac; font-size:.69rem; line-height:1.6; }
.coord-chat-readonly { font-size:.81rem; line-height:1.5; padding:13px; margin:5px 0 0; border-radius:10px; background:#ffffff06; color:#b1bbcb; }
.coord-chat-error { color:#ffba89; background:#a747111a; border-radius:9px; padding:10px; margin-top:12px; font-size:.77rem; line-height:1.5; }
.coord-chat-error .btn { display:inline-flex; width:auto; }
.coord-new-messages { display:block; margin:0 auto 10px; padding:7px 13px; border:1px solid #a16535; border-radius:20px; background:#35271f; color:#ffbd82; cursor:pointer; font-size:.75rem; }
.coord-selected-rival { display:flex; gap:14px; align-items:center; margin-bottom:20px; border-color:#ff8a0040; background:linear-gradient(100deg,#42271544,#111a29); }
.coord-selected-rival > div { min-width:0; }
.coord-selected-rival .step-label { font-size:.65rem; color:#ffa554; margin:0 0 5px; letter-spacing:.12em; }
.coord-selected-rival b { font-size:1.1rem; overflow-wrap:anywhere; }
.coord-selected-rival .muted { margin-top:5px; }
.coordination-setup { border:1px solid #384354; background:#121d2c; }
.coord-setup-heading { display:flex; align-items:center; gap:9px; color:#ffaf66; margin-bottom:12px; }
.coord-setup-heading h3 { margin:0; font-size:1rem; }
.coord-setup-heading .icon { width:20px; height:20px; }
.coordination-setup p { overflow-wrap:anywhere; line-height:1.5; margin:7px 0; }
.coordination-setup .btn { margin-top:10px; width:auto; }
.coord-profile-card summary { cursor:pointer; display:flex; align-items:center; gap:13px; list-style:none; }
.coord-profile-card summary::-webkit-details-marker { display:none; }
.coord-profile-card summary > span:not(.mobile-game-art) { flex:1; min-width:0; }
.coord-profile-card summary small { display:block; color:#96a2b8; font-size:.77rem; margin-top:4px; }
.coord-profile-card summary > .icon { width:18px; height:18px; color:#fca65c; }
.coord-profile-card[open] summary > .icon { transform:rotate(90deg); }
.coord-profile-card .coord-profile-form { border-top:1px solid #2c384d; margin-top:18px; padding-top:18px; }
.coord-profile-form input { font-size:16px; }
.coord-report p { line-height:1.6; }
.coord-report > .small { margin:10px 0; }
.coord-report-reason,.coord-report blockquote { white-space:pre-wrap; overflow-wrap:anywhere; }
.coord-report blockquote { border-left:3px solid #a36736; margin:15px 0; padding:10px 13px; color:#c2ccdc; background:#ffffff05; }
.coord-report > .btn { margin-top:13px; }
.coordination :focus-visible,.coord-profile-card :focus-visible,.coordination-setup :focus-visible { outline:2px solid #ffac64; outline-offset:3px; }
@media(max-width:480px) {
 .coordination .card { padding:17px; }
 .coord-player { padding:13px; gap:10px; }
 .coordination-heading { gap:11px; }
 .coordination-heading h2,.coordination-chat h2 { font-size:1.04rem; }
 .coordination-heading .step-label { font-size:.59rem; }
 .coord-message { max-width:94%; }
 .coord-quick-actions { gap:6px; }
 .coord-quick-actions button { font-size:.68rem; padding:9px; }
}
/* RP_COORDINATION_V1_END */

/* RP_COMMUNITY_V1_BEGIN */
.community-page { max-width:620px; }
.community-page-heading { display:flex; gap:13px; align-items:center; margin:0 0 22px; }
.community-page-heading h1 { margin:0 0 5px; font-size:1.65rem; }
.community-page-heading p:not(.step-label) { font-size:.8rem; color:#a2aec3; }
.community-page-heading .step-label { font-size:.58rem; color:#ffa55c; letter-spacing:.12em; }
.community-mark { width:48px; height:48px; display:grid; place-items:center; flex-shrink:0; border:1px solid #ff96003f; color:#ffad65; border-radius:16px; background:#ff840014; }
.community-root.card { padding:18px; background:linear-gradient(155deg,#151f30,#0d1422); border-color:#303b50; }
.community-toolbar { display:flex; align-items:flex-end; gap:9px; border-bottom:1px solid #2b364b; padding-bottom:16px; }
.community-toolbar .field { flex:1; min-width:0; }
.community-toolbar .field > span { font-size:.68rem; color:#9caac0; }
.community-toolbar select { padding:9px; min-height:40px; font-size:.78rem; }
.community-toolbar .btn { flex-shrink:0; min-height:40px; font-size:.76rem; padding:9px 11px; }
.community-options { position:relative; }
.community-options summary { width:33px; height:40px; display:grid; place-items:center; padding:0; list-style:none; border-radius:10px; background:#202a3d; font-size:1rem; }
.community-options summary::-webkit-details-marker { display:none; }
.community-options > div { position:absolute; z-index:4; top:47px; right:0; width:220px; border:1px solid #435069; border-radius:12px; background:#182236; padding:8px; box-shadow:0 10px 30px #0008; }
.community-options .btn { width:100%; text-align:left; justify-content:flex-start; }
.community-feed { min-height:240px; max-height:min(58dvh,580px); overflow:auto; overscroll-behavior:contain; padding:17px 2px; display:flex; flex-direction:column; gap:13px; scrollbar-width:thin; scrollbar-color:#435069 transparent; }
.community-message { padding:14px; border:1px solid #29374d; background:#192437; border-radius:15px; min-width:0; }
.community-message.is-mine { border-color:#77502f; background:#2b241f; }
.community-message > header { display:flex; align-items:flex-start; gap:9px; justify-content:space-between; }
.community-author { display:flex; gap:9px; align-items:center; border:0; background:none; padding:0; text-align:left; min-width:0; }
.community-author .avatar { width:33px; height:33px; font-size:.85rem; flex-shrink:0; }
.community-author > span { min-width:0; }
.community-author b { display:block; font-size:.85rem; line-height:1.4; overflow-wrap:anywhere; }
.community-author small { display:block; color:#94a2b9; font-size:.63rem; margin-top:2px; }
.community-message time { color:#90a0b7; font-size:.63rem; white-space:nowrap; margin-top:4px; }
.community-text { font-size:.89rem; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; margin:10px 0 0; }
.community-game-tag { display:inline-block; border:1px solid #4b4c4d; color:#c2cede; font-size:.63rem; border-radius:20px; padding:2px 8px; margin-top:10px; }
.community-report-link { display:block; padding:0; margin:10px 0 0; border:0; background:none; color:#98a7bf; font-size:.64rem; text-decoration:underline; text-underline-offset:3px; }
.community-looking { border-color:#b16c343f; background:linear-gradient(130deg,#45301f55,#182132); }
.community-offer-tag { display:flex; align-items:center; gap:6px; margin:15px 0 8px; color:#ffb574; font-size:.63rem; letter-spacing:.12em; font-weight:800; }
.community-offer-tag .icon { width:17px; height:17px; }
.community-offer-title { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.community-offer-title strong { font-size:1.04rem; }
.community-offer-title > b { font-size:1.2rem; color:#ffb673; }
.community-offer-tags { display:flex; flex-wrap:wrap; gap:7px; margin-top:10px; }
.community-offer-tags span { padding:4px 8px; color:#c6d1e1; background:#ffffff08; border:1px solid #ffffff13; border-radius:7px; font-size:.68rem; }
.community-offer-footer { display:flex; flex-wrap:wrap; gap:9px; align-items:center; justify-content:space-between; margin-top:13px; padding-top:12px; border-top:1px solid #ffffff12; }
.community-offer-footer > small { color:#a4b0c4; font-size:.63rem; }
.community-offer-footer > p { line-height:1.6; }
.community-empty { display:grid; justify-items:center; align-content:center; text-align:center; padding:35px 18px; min-height:220px; color:#a4b0c5; }
.community-empty .icon { width:32px; height:32px; color:#ffad63; margin-bottom:14px; }
.community-empty b { color:#dde5f1; font-size:.92rem; }
.community-empty p { font-size:.78rem; margin-top:7px; }
.community-older { align-self:center; }
.community-composer { border-top:1px solid #2e3a50; padding-top:14px; }
.community-composer textarea { font-size:16px; min-height:78px; max-height:180px; background:#0b1321; }
.community-composer-tools { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:9px; }
.community-composer-tools > label { flex:1; min-width:0; max-width:200px; }
.community-composer-tools select { min-height:35px; padding:7px; font-size:.7rem; }
.community-composer-tools > span { font-size:.63rem; color:#96a4b9; }
.community-composer-tools .btn { min-height:36px; flex-shrink:0; }
.community-footnote { margin:15px 0 0; color:#8d9ab1; font-size:.67rem; line-height:1.6; }
.community-error { color:#ffc194; border:1px solid #b373353f; background:#6a3b161e; border-radius:9px; padding:10px 12px; margin:12px 0; font-size:.78rem; line-height:1.55; }
.community-profile { display:grid; justify-items:center; text-align:center; gap:10px; margin:0 0 22px; }
.community-profile .avatar { width:58px; height:58px; font-size:1.5rem; }
.community-profile h3 { font-size:1.15rem; overflow-wrap:anywhere; }
.community-profile p { color:#a8b6cb; font-size:.8rem; }
.community-admin-report > .small { margin-top:8px; }
.community-admin-report blockquote { border-left:3px solid #a96c38; padding:10px 13px; margin:14px 0; white-space:pre-wrap; overflow-wrap:anywhere; background:#ffffff05; }
.community-moderation-actions { display:flex; flex-wrap:wrap; gap:7px; margin:12px 0; }
.community-moderation-actions .btn { font-size:.68rem; }
.community-composer .sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.community-root :focus-visible { outline:2px solid #ffad64; outline-offset:3px; }
@media(max-width:899px) { .bottom-nav:has(a[href="#/community"]) { padding-left:6px; padding-right:6px; } .bottom-nav:has(a[href="#/community"]) .nav-item { font-size:9px; min-width:0; } }
@media(max-width:380px) { .community-root.card { padding:13px; } .community-toolbar { gap:6px; } .community-toolbar .btn { padding:9px; font-size:.69rem; } .community-message { padding:12px; } .community-author b { font-size:.77rem; } }
/* RP_COMMUNITY_V1_END */

/* RP_DIRECT_CHAT_V1_BEGIN */
.direct-nav{position:relative;flex:0 0 auto;margin-left:auto}
.direct-nav-count,.direct-inline-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;border-radius:999px;background:#ff861c;color:#10151d;font-size:11px;font-weight:850;padding:0 5px}
.direct-nav-count{position:absolute;top:-3px;right:-3px;border:2px solid #101722}
.direct-nav-count[hidden],.direct-inline-count[hidden]{display:none}
.direct-page{padding-top:8px}.direct-page h1{font-size:clamp(23px,5.5vw,32px);line-height:1.15}
.direct-inbox{overflow:hidden}.direct-inbox-row{display:flex;gap:12px;align-items:center;padding:18px;color:inherit;border-bottom:1px solid var(--line,#293344);text-decoration:none;transition:background .15s}
.direct-inbox-row:last-child{border-bottom:0}.direct-inbox-row:hover,.direct-inbox-row:focus-visible{background:rgba(255,136,28,.07)}.direct-inbox-row.has-unread{background:rgba(255,136,28,.045)}
.direct-inbox-row .grow{min-width:0;display:flex;flex-direction:column;gap:5px}.direct-inbox-row .grow b{font-size:16px}.direct-inbox-row .grow>span{font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#aeb9c8}.direct-inbox-row .grow small{font-size:11px;color:#8692a4}
.direct-inbox-meta{display:flex;gap:8px;align-items:flex-end;flex-direction:column}.direct-inbox-meta time{color:#94a0b2;font-size:11px;white-space:nowrap}.direct-inbox-meta b{display:grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:999px;background:#ff861c;color:#10151d;font-size:11px}
.direct-inbox-row>.icon{width:16px;opacity:.5}.direct-chat-root{padding:20px;overflow:visible}.direct-chat-header{display:flex;gap:12px;align-items:center}.direct-chat-header .grow{min-width:0}.direct-chat-header h1{margin:0;overflow-wrap:anywhere}.direct-chat-header p{font-size:12px;color:#99a5b8;margin-top:5px}
.direct-chat-options{position:relative;align-self:start}.direct-chat-options>summary{cursor:pointer;padding:8px 10px;list-style:none;font-weight:850;font-size:18px}.direct-chat-options>summary::-webkit-details-marker{display:none}.direct-chat-options>div{position:absolute;right:0;top:38px;z-index:8;width:220px;padding:10px;background:#152130;border:1px solid #34425a;border-radius:16px;box-shadow:0 12px 32px #0008;display:grid;gap:6px}.direct-chat-options .btn{white-space:normal;justify-content:flex-start}
.direct-intro{font-size:13px;line-height:1.55;color:#a8b4c5;margin:18px 0}.direct-chat-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-bottom:16px}.direct-sound{font-size:12px;min-height:38px}.direct-sound .icon{width:16px;height:16px}.direct-chat-tools>.btn{font-size:12px}.direct-messages{height:clamp(260px,42dvh,560px);max-height:560px;min-height:260px;margin-top:15px}.direct-messages .coord-message p{overflow-wrap:anywhere;white-space:pre-wrap}.direct-composer textarea{font:inherit;resize:vertical;min-height:68px;max-height:180px}
.direct-footnote{font-size:11px;line-height:1.5;color:#8896a9;margin:13px 0 0}.direct-proposal{padding:13px;border:1px solid #664327;border-radius:14px;background:linear-gradient(115deg,#3d291f80,#1e263780);display:grid;gap:5px}.direct-proposal>b{font-size:16px}.direct-proposal>span:not(.step-label){font-size:13px;color:#ffc188}.direct-proposal>small{font-size:11px;color:#a5afbd}.direct-proposal .step-label{margin:0;font-size:10px}
.direct-setup-entry{display:flex;gap:16px;align-items:center;justify-content:space-between}.direct-setup-entry h3{font-size:15px;margin-bottom:6px}.direct-setup-entry .btn{flex-shrink:0}.direct-match-entry{margin-bottom:12px}.direct-match-entry>.btn{width:100%}
@media(max-width:480px){.direct-chat-root{padding:16px}.direct-chat-header .avatar{width:40px;height:40px;flex-basis:40px}.direct-chat-tools{align-items:stretch}.direct-chat-tools>.btn{padding:10px 12px}.direct-setup-entry{display:block}.direct-setup-entry>.btn{margin-top:12px;width:100%}.direct-inbox-row{padding:15px 12px;gap:10px}.direct-inbox-row .grow b{font-size:14px}.direct-inbox-meta time{font-size:10px}.direct-messages{height:42dvh;min-height:240px}.direct-nav{min-width:42px;min-height:42px}}
@media(min-width:900px){.desktop-panel .direct-nav{margin-left:4px;margin-right:4px}.direct-page{max-width:780px}.direct-chat-root{padding:26px}.direct-messages{height:440px}}
/* RP_DIRECT_CHAT_V1_END */

/* RP_CHAT_REALTIME_V1_BEGIN */
.chat-connection{display:flex;align-items:center;gap:.45rem;margin:.2rem 0 .7rem;font-size:.76rem;color:var(--muted,#8997a9);min-height:1.2em}
.chat-connection:before{content:"";width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#c99b48}
.chat-connection[data-live="true"]:before{background:#42ce9c}
.chat-typing{min-height:1.2rem;margin:0 0 .3rem;color:var(--muted,#8997a9);font-size:.78rem}
.chat-pending{opacity:.66}
.chat-failed{border-color:rgba(248,112,106,.45)!important}
.chat-delivery{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;flex-wrap:wrap;font-size:.74rem;color:var(--muted,#8997a9);margin-top:.45rem}
.chat-failed .chat-delivery{color:#ffaaa4}
.chat-delivery .btn{min-height:34px;padding:5px 12px}
.chat-history{display:block;margin:6px auto 12px}
.direct-messages,.community-feed{overflow-anchor:none;overscroll-behavior:contain}
.direct-messages [data-chat-key],.community-feed [data-chat-key]{contain:layout style;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.direct-messages [data-chat-key],.community-feed [data-chat-key]{animation:none!important;transition:none!important}}
/* RP_CHAT_REALTIME_V1_END */

/* RP_COMMUNITY_POLISH_V1_BEGIN */
.community-page { max-width:780px; }
.community-tabs { display:flex; align-items:center; gap:6px; padding:0 2px 12px; }
.community-tab { display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:9px 13px; border-radius:11px; color:#9da8bb; font-size:12px; font-weight:800; white-space:nowrap; }
.community-tab > span:first-child { color:#8993a6; font-size:20px; font-weight:500; line-height:1; }
.community-tab .icon { width:17px; height:17px; }
.community-tab.is-active { background:#ff790015; color:#ffad69; }
.community-tab.is-active > span:first-child { color:#ffad69; }
.community-tab:hover { background:#ffffff08; color:#f4f5fb; }
.community-tab .direct-inline-count { margin:0; font-size:10px; }
.community-root.card { display:flex; flex-direction:column; height:min(760px,calc(100dvh - 215px)); min-height:440px; padding:0; border:1px solid #ffffff0e; border-radius:18px; background:#141b28; box-shadow:0 10px 34px #00000012; }
.community-channel-head { display:flex; align-items:center; gap:11px; padding:17px 19px 13px; flex-shrink:0; }
.community-channel-symbol { color:#a1a9b8; font:500 31px/1 var(--body); }
.community-channel-copy { flex:1; min-width:0; }
.community-channel-copy h1 { font:800 16px/1.4 var(--body); overflow-wrap:anywhere; }
.community-channel-copy p { margin-top:2px; color:#939fb2; font-size:11px; }
.community-root .community-options > summary { width:36px; height:36px; background:transparent; border-radius:10px; color:#b4bdcd; font-size:23px; line-height:1; }
.community-root .community-options[open] > summary,.community-root .community-options > summary:hover { background:#ffffff09; }
.community-root .community-options > div { top:40px; right:0; padding:7px; border-color:#ffffff15; border-radius:12px; background:#1d2534; box-shadow:0 12px 36px #0008; }
.community-options .btn { min-height:39px; background:transparent; border:0; border-radius:7px; font-size:12px; }
.community-options .btn:hover { background:#ffffff08; }
.community-menu-note { padding:9px 7px 4px; color:#9ba7b9; font-size:11px; line-height:1.5; border-top:1px solid #ffffff0d; margin-top:5px; }
.community-toolbar { align-items:center; justify-content:space-between; gap:10px; padding:0 17px 13px; border-color:#ffffff0a; flex-shrink:0; }
.community-filter-label { flex:1; min-width:0; max-width:220px; }
.community-toolbar select { height:36px; min-height:36px; padding:7px 28px 7px 10px; background:#ffffff04; border-color:#ffffff0e; border-radius:8px; color:#b5bfd0; font-size:12px; }
.community-toolbar .community-find-rival { min-height:36px; padding:8px 12px; border-radius:9px; background:#ff8100; color:#201207; box-shadow:none; font-size:11px; gap:6px; }
.community-find-rival .icon { width:14px; height:14px; }
.community-status-line { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-shrink:0; padding:9px 20px 2px; min-height:24px; }
.community-status-line .chat-connection { margin:0; font-size:10px; line-height:1.45; color:#9ba7ba; }
.community-cache-note { color:#8e9ab0; font-size:10px; flex-shrink:0; }
.community-feed { flex:1; min-height:170px; max-height:none; padding:4px 0 18px; gap:0; scrollbar-color:#394254 transparent; }
.community-feed:focus-visible { outline-offset:-3px; }
.community-day { display:flex; align-items:center; gap:12px; padding:15px 20px 11px; color:#a4aec0; font-size:10px; font-weight:700; text-align:center; flex-shrink:0; }
.community-day:before,.community-day:after { content:''; height:1px; background:#ffffff0c; flex:1; }
.community-day span { white-space:nowrap; }
.community-message,.community-message.is-mine,.community-message.community-looking { position:relative; display:grid; grid-template-columns:36px minmax(0,1fr); column-gap:11px; flex-shrink:0; padding:11px 37px 7px 17px; border:0; border-radius:0; background:transparent; }
.community-message:hover,.community-message:focus-within { background:#ffffff03; }
.community-avatar { display:block; width:36px; height:36px; border:0; padding:0; background:none; border-radius:12px; }
.community-avatar .avatar { width:36px; height:36px; border-radius:12px; font-size:13px; border-color:#ffffff13; }
.community-message-main { position:relative; min-width:0; }
.community-message-main > header { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; min-height:20px; }
.community-author { display:inline-flex; align-items:center; gap:6px; max-width:100%; }
.community-author b { display:inline; font-size:13px; line-height:1.45; font-weight:800; color:#e4e9f2; }
.community-author:hover b { text-decoration:underline; text-underline-offset:3px; }
.community-you { color:#ffa964; background:#ff790015; padding:1px 5px; border-radius:4px; font-size:8px; font-weight:800; }
.community-message time { margin:0; color:#929eb0; font-size:9px; font-weight:500; line-height:1.5; }
.community-message .community-text { margin:2px 0 0; font-size:14px; line-height:1.65; color:#cdd5e2; }
.community-message.is-mine .community-author b { color:#ffb472; }
.community-message.is-consecutive { padding-top:2px; padding-bottom:2px; }
.community-message.is-consecutive .community-avatar { visibility:hidden; height:0; }
.community-message.is-consecutive .community-message-main > header { position:absolute; left:-48px; top:5px; width:36px; min-height:0; justify-content:center; }
.community-message.is-consecutive .community-author { display:none; }
.community-message.is-consecutive time { font-size:8px; opacity:0; }
.community-message.is-consecutive:hover time,.community-message.is-consecutive:focus-within time { opacity:1; }
.community-message.is-consecutive .community-text { margin-top:0; }
.community-message-options { position:absolute; top:7px; right:8px; z-index:2; }
.community-message-options[open] { z-index:5; }
.community-message:has(.community-message-options[open]) { z-index:6; }
.community-message-options > summary { display:grid; place-items:center; width:28px; height:28px; padding:0; list-style:none; border-radius:7px; color:#9ba7ba; font-size:21px; line-height:1; }
.community-message-options > summary::-webkit-details-marker { display:none; }
.community-message-options > summary:hover,.community-message-options[open] > summary { background:#2b3444; color:#fff; }
.community-message-options > div { position:absolute; right:0; top:31px; width:170px; padding:6px; border:1px solid #ffffff14; border-radius:11px; background:#1d2636; box-shadow:0 10px 30px #0009; }
.community-message-options .btn { width:100%; justify-content:flex-start; min-height:37px; padding:8px 10px; background:transparent; border:0; border-radius:6px; color:#dae1ec; font-size:11px; }
.community-message-options .btn:hover { background:#ffffff0a; }
.community-message-options [data-action="community-report"] { color:#ffaca2; }
.community-message.is-consecutive .community-message-options { top:0; }
.community-game-tag { margin-top:6px; padding:2px 7px; background:#ffffff04; border:1px solid #ffffff0a; border-radius:5px; color:#9aabc0; font-size:9px; }
.community-offer-card { margin:7px 0 3px; padding:13px; border:1px solid #ff922028; border-left:3px solid #ff9220; border-radius:10px; background:linear-gradient(115deg,#ff86100c,#1c2535); }
.community-offer-tag { gap:5px; margin:0 0 9px; color:#ffad64; font-size:9px; letter-spacing:.1em; }
.community-offer-tag .icon { width:13px; height:13px; }
.community-offer-title { gap:10px; align-items:flex-start; }
.community-offer-title strong { font-size:14px; line-height:1.4; padding-top:2px; }
.community-offer-title > b { color:#fff0df; font-size:17px; line-height:1.25; text-align:right; }
.community-offer-title > b small { display:block; color:#9ba6b8; font-size:9px; font-weight:500; margin-top:2px; }
.community-offer-tags { gap:5px; margin-top:8px; }
.community-offer-tags span { padding:3px 6px; font-size:9px; color:#c3ccda; border-color:#ffffff08; border-radius:5px; }
.community-offer-card .community-text { margin-top:9px; font-size:12px; }
.community-offer-footer { gap:8px; margin-top:11px; padding-top:10px; border-color:#ffffff0c; }
.community-offer-footer .btn { min-height:33px; padding:6px 10px; font-size:10px; border-radius:7px; box-shadow:none; }
.community-offer-footer .btn.secondary { background:#ff890017; border-color:#ff890032; color:#ffb16e; }
.community-offer-footer > small { font-size:9px; }
.community-offer-footer > .small { font-size:10px; }
.community-feed .chat-delivery { justify-content:flex-start; font-size:10px; margin-top:4px; }
.community-feed .chat-delivery .btn { min-height:30px; font-size:10px; }
.community-message.chat-failed { background:#ff707008; }
.community-root > .coord-new-messages { position:relative; flex-shrink:0; align-self:center; margin:3px 16px 8px; width:auto; border-color:#ff810040; background:#372619; color:#ffd1a7; border-radius:18px; font-size:11px; padding:6px 12px; }
.community-composer { flex-shrink:0; margin:0; padding:10px 15px 12px; border-top:1px solid #ffffff08; background:#121a27; border-radius:0 0 18px 18px; }
.community-compose-box { display:flex; align-items:flex-end; gap:7px; padding:4px 6px 5px 0; border:1px solid #ffffff0c; border-radius:12px; background:#222c3d; }
.community-compose-box:focus-within { border-color:#ff9a434f; box-shadow:0 0 0 2px #ff8c0010; }
.community-compose-box textarea { flex:1; min-height:52px; height:52px; max-height:140px; padding:10px 12px 8px; border:0; outline:0; border-radius:10px; background:transparent; color:#e8edf7; font-size:16px; line-height:1.4; resize:none; box-shadow:none; }
.community-compose-box textarea::placeholder { color:#9aa5b7; font-size:13px; }
.community-send { display:grid; place-items:center; flex-shrink:0; width:36px; height:36px; margin-bottom:2px; padding:0; border:0; border-radius:9px; background:#ff8a14; color:#231408; }
.community-send:hover { background:#ffa246; }
.community-send .icon { width:21px; height:21px; transform:rotate(-90deg); }
.community-composer-tools { gap:8px; margin:6px 1px 0; }
.community-composer-tools > label { max-width:195px; }
.community-composer-tools select { min-height:28px; height:28px; padding:3px 22px 3px 4px; background:transparent; border:0; border-radius:5px; color:#a4aec0; font-size:10px; }
.community-composer-tools > span { color:#8f9bb0; font-size:9px; }
.community-root .community-error { flex-shrink:0; padding:9px 11px; margin:8px 15px; font-size:11px; }
.community-root .form-error { margin:7px 0 0; font-size:11px; }
.community-empty { min-height:170px; height:100%; padding:25px 27px; align-content:end; text-align:left; justify-items:start; }
.community-empty-symbol { display:grid; place-items:center; width:50px; height:50px; margin-bottom:14px; border-radius:17px; background:#ffffff09; color:#c5cfdd; font-size:32px; }
.community-empty b { font-size:17px; line-height:1.4; max-width:280px; }
.community-empty p { font-size:12px; line-height:1.6; max-width:280px; }
.community-feed > .community-older,.community-feed > .chat-history { flex-shrink:0; align-self:center; margin:8px auto; min-height:30px; padding:5px 11px; font-size:10px; border-color:#ffffff0e; background:#ffffff04; border-radius:8px; }
.community-root .sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (hover:hover) and (pointer:fine) { .community-message-options:not([open]) > summary { opacity:0; } .community-message:hover .community-message-options > summary,.community-message:focus-within .community-message-options > summary { opacity:1; } }
@media(max-width:899px) { .community-tabs { gap:3px; padding-bottom:11px; } .community-tab { padding:8px 10px; font-size:11px; } .community-root.card { height:calc(100dvh - 220px); } }
@media(max-width:380px) { .community-channel-head { padding:14px 13px 11px; } .community-toolbar { padding:0 12px 11px; gap:7px; } .community-toolbar select { font-size:11px; } .community-toolbar .community-find-rival { padding:7px 9px; font-size:10px; } .community-message,.community-message.is-mine,.community-message.community-looking { grid-template-columns:30px minmax(0,1fr); column-gap:9px; padding-left:11px; padding-right:31px; } .community-avatar,.community-avatar .avatar { width:30px; height:30px; font-size:11px; border-radius:10px; } .community-author b { font-size:12px; } .community-message .community-text { font-size:13px; } .community-message.is-consecutive .community-message-main > header { left:-39px; width:30px; } .community-message-options { right:3px; } .community-offer-card { padding:10px; } .community-offer-title strong { font-size:12px; } .community-offer-title > b { font-size:15px; } .community-composer { padding-left:10px; padding-right:10px; } .community-tab { padding:8px; font-size:10px; gap:6px; } }
/* RP_COMMUNITY_POLISH_V1_END */

/* RP_RESULT_STATUS_V1_BEGIN */
.rp-result-status{margin-top:18px;display:flex;align-items:flex-start;gap:14px;padding:19px 20px;border:1px solid rgba(255,157,55,.28);border-radius:18px;background:linear-gradient(115deg,rgba(255,138,28,.12),rgba(255,138,28,.035));color:var(--text,#e8eef2);text-align:left}
.rp-result-status-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:rgba(255,145,34,.13);color:#ff9d37}
.rp-result-status-icon .spinner{width:22px;height:22px;border-width:2px}
.rp-result-status h2{margin:0 0 5px;font-size:17px;line-height:1.4;font-weight:750;letter-spacing:-.2px}
.rp-result-status p{margin:0;color:var(--muted,#a1aabb);font-size:14px;line-height:1.55}
.rp-result-status--waiting,.rp-result-status--received{border-color:rgba(144,161,188,.2);background:rgba(144,161,188,.055)}
.rp-result-status--received .rp-result-status-icon{color:#54d6ac;background:rgba(84,214,172,.12)}
.rp-result-idle,.rp-result-idle::before,.rp-result-idle::after{animation:none!important}
@media(max-width:600px){.rp-result-status{padding:16px;gap:12px}.rp-result-status h2{font-size:16px}.rp-result-status p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.rp-result-status .spinner{animation:none}}
.rp-match-connection{border:1px solid rgba(144,161,188,.2);border-radius:14px;background:rgba(144,161,188,.035);overflow:hidden}
.rp-match-connection>summary{display:flex;align-items:center;gap:11px;list-style:none;padding:15px 16px;font-size:14px;font-weight:650;cursor:pointer;color:var(--muted,#a1aabb)}
.rp-match-connection>summary::-webkit-details-marker{display:none}
.rp-match-connection>summary .icon{width:18px;height:18px}
.rp-match-connection-arrow{margin-left:auto;font-size:21px;line-height:1}
.rp-match-connection[open] .rp-match-connection-arrow{transform:rotate(180deg)}
.rp-connection-content{padding:0 16px 15px;display:grid;gap:14px}
.rp-connection-player{padding-top:13px;border-top:1px solid rgba(144,161,188,.15)}
.rp-connection-name{margin:5px 0;font-size:14px;color:var(--muted,#a1aabb);overflow-wrap:anywhere}
.rp-match-connection .coordination-loading{border:0;border-radius:0;box-shadow:none}
/* RP_RESULT_STATUS_V1_END */

/* RP_POOL_CAPTURE_GATE_V1_BEGIN */
/* Only the server-gated 8 Ball Pool preparation room. */
.rp-pool-room .match-hero{padding-bottom:1.25rem}
.rp-pool-preparation{padding:1.6rem;border:1px solid rgba(255,154,58,.3);border-radius:24px;background:linear-gradient(145deg,rgba(255,150,48,.09),rgba(20,31,47,.9));text-align:center}
.rp-pool-symbol{display:inline-flex;width:52px;height:52px;align-items:center;justify-content:center;margin-bottom:1rem;border-radius:17px;background:rgba(255,145,25,.12);color:#ff941f}
.rp-pool-symbol .icon{width:27px;height:27px}
.rp-pool-preparation h1{font-size:clamp(1.6rem,5.4vw,2.1rem);line-height:1.15;margin:0 0 .8rem}
.rp-pool-description{color:#b3bdcb;line-height:1.55;margin:0 auto 1.3rem;max-width:37rem}
.rp-pool-players{display:grid;gap:10px;margin:1.25rem 0;text-align:left}
.rp-pool-player{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid rgba(160,180,210,.13);border-radius:16px;background:rgba(9,16,28,.5)}
.rp-pool-player .grow{min-width:0}
.rp-pool-player b,.rp-pool-player small{display:block;overflow-wrap:anywhere}
.rp-pool-player small{color:#a7b3c6;font-size:.85rem;margin-top:4px}
.rp-pool-player .avatar{width:40px;height:40px;flex:0 0 40px;font-size:1rem}
.rp-pool-player-mark{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:rgba(255,170,70,.12);color:#ffac54;font-weight:800}
.rp-pool-player-mark.is-ready{background:rgba(46,214,154,.13);color:#35dba2}
.rp-pool-player-mark.is-interrupted{background:rgba(255,170,70,.18);color:#ffac54}
.rp-pool-deadline{font-size:.88rem;color:#c3ccda;margin:1.1rem 0}
.rp-pool-help{color:#a2adbe;line-height:1.55;font-size:.85rem;margin:1.2rem 0 0;text-align:left}
.rp-pool-room .stats{margin-top:1.5rem}
.rp-pool-preparation.is-interrupted{border-color:rgba(255,178,77,.4)}
@media(max-width:480px){.rp-pool-preparation{padding:1.15rem;border-radius:20px}.rp-pool-player{padding:12px;gap:10px}.rp-pool-room .stats strong{font-size:1.2rem}}
/* RP_POOL_CAPTURE_GATE_V1_END */

/* RP_COMMUNITY_SCREEN_V1_BEGIN */
/* Layout only; community-screen.js scopes the page. */
html.rp-community-screen,
html.rp-community-screen body { overflow: hidden; overscroll-behavior: none; }
html.rp-community-screen #appShell {
  position: fixed;
  inset: var(--rp-community-top, 0px) 0 auto;
  width: 100%; max-width: none; margin: 0;
  height: 100vh; height: var(--rp-community-height, 100dvh);
  min-height: 0;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
}
html.rp-community-screen #appShell > .main-shell {
  display: flex; flex-direction: column;
  min-width: 0; min-height: 0; height: 100%;
  padding: 0 16px 12px; overflow: hidden;
}
html.rp-community-screen #topbar {
  flex: 0 0 auto; height: 60px; min-height: 60px;
  padding: 6px 0; margin: 0; border: 0; border-radius: 0; background: transparent;
}
html.rp-community-screen #view {
  display: flex; flex: 1 1 0; min-width: 0; min-height: 0; padding: 0; margin: 0;
}
html.rp-community-screen #view > .community-page {
  display: flex; flex-direction: column; flex: 1 1 0;
  width: 100%; max-width: none; min-width: 0; min-height: 0; margin: 0; padding: 0;
}
html.rp-community-screen .community-tabs {
  flex: 0 0 auto; min-height: 48px; padding: 2px 0 6px; gap: 8px;
}
html.rp-community-screen .community-tab { min-height: 40px; font-size: 13px; }
html.rp-community-screen #communityRoot {
  display: flex; flex-direction: column; flex: 1 1 0;
  width: 100%; height: auto; max-height: none; min-height: 0; padding: 0;
  border-radius: 14px;
}
html.rp-community-screen .community-channel-head { padding: 13px 20px 10px; }
html.rp-community-screen .community-channel-copy h1 { font-size: 18px; }
html.rp-community-screen .community-channel-copy p { font-size: 12px; }
html.rp-community-screen .community-toolbar { padding: 0 20px 10px; }
html.rp-community-screen .community-filter-label { max-width: 300px; }
html.rp-community-screen .community-toolbar select { font-size: 13px; }
html.rp-community-screen .community-toolbar .community-find-rival { font-size: 12px; }
html.rp-community-screen .community-status-line { padding: 5px 20px; }
html.rp-community-screen .community-status-line .chat-connection { font-size: 11px; }
html.rp-community-screen #communityFeed {
  flex: 1 1 0; height: auto; min-height: 0; max-height: none;
  overflow-y: auto; overflow-x: hidden; padding-bottom: 14px;
  scroll-padding-block: 12px; -webkit-overflow-scrolling: touch;
}
html.rp-community-screen .community-message .community-text { font-size: 15px; line-height: 1.6; }
html.rp-community-screen .community-author b { font-size: 14px; }
html.rp-community-screen .community-message time { font-size: 10px; }
html.rp-community-screen .community-offer-card { max-width: 680px; }
html.rp-community-screen .community-composer { padding: 10px 16px 10px; border-radius: 0 0 14px 14px; }
html.rp-community-screen .community-compose-box textarea { height: 50px; min-height: 50px; }
html.rp-community-screen .community-compose-box textarea::placeholder { font-size: 14px; }
html.rp-community-screen .community-send { width: 42px; height: 42px; }
html.rp-community-screen .community-composer-tools select { font-size: 11px; }
html.rp-community-screen #connection { flex: 0 0 auto; margin: 3px 0 0; }
html.rp-community-screen #sidebar { min-height: 0; height: 100%; overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 900px) {
  html.rp-community-screen #appShell { display: grid; grid-template-columns: 222px minmax(0, 1fr); }
  html.rp-community-screen #bottomNav { display: none; }
}
@media (max-width: 899px) {
  html.rp-community-screen #appShell { display: flex; flex-direction: column; }
  html.rp-community-screen #sidebar { display: none; }
  html.rp-community-screen #appShell > .main-shell { flex: 1 1 0; height: auto; padding: 0; }
  html.rp-community-screen #topbar { padding: 4px 12px; height: 52px; min-height: 52px; }
  html.rp-community-screen #topbar .icon-button { width: 40px; height: 40px; }
  html.rp-community-screen .community-tabs { padding: 0 10px 4px; min-height: 44px; gap: 4px; }
  html.rp-community-screen .community-tab { padding: 8px 10px; font-size: 12px; }
  html.rp-community-screen #communityRoot { border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; }
  html.rp-community-screen .community-channel-head { padding: 10px 14px 8px; }
  html.rp-community-screen .community-channel-copy h1 { font-size: 17px; }
  html.rp-community-screen .community-toolbar { padding: 0 14px 8px; }
  html.rp-community-screen .community-status-line { padding: 4px 14px; }
  html.rp-community-screen .community-composer { padding: 8px 10px; border-radius: 0; }
  html.rp-community-screen .community-composer-tools { margin-top: 3px; }
  html.rp-community-screen #bottomNav {
    position: static; flex: 0 0 auto; width: 100%;
    padding: 5px 6px max(5px, env(safe-area-inset-bottom, 0px));
  }
  html.rp-community-screen #bottomNav .nav-item { min-height: 43px; gap: 2px; }
  html.rp-community-screen #connection:not(:empty) { margin: 0; padding: 2px 8px; }
}
/* Reclaim vertical space when the keyboard is open or the phone is landscape. */
html.rp-community-screen.rp-community-short #topbar { display: none; }
html.rp-community-screen.rp-community-short .community-channel-head { padding-block: 5px; }
html.rp-community-screen.rp-community-short .community-channel-copy p { display: none; }
html.rp-community-screen.rp-community-short .community-toolbar { padding-bottom: 4px; }
html.rp-community-screen.rp-community-short .community-status-line { min-height: 18px; padding-block: 1px; }
html.rp-community-screen.rp-community-short .community-tabs { min-height: 36px; padding-block: 0; }
html.rp-community-screen.rp-community-short .community-tab { min-height: 36px; padding-block: 5px; }
html.rp-community-screen.rp-community-short .community-composer { padding-block: 5px; }
html.rp-community-screen.rp-community-short .community-compose-box textarea { height: 44px; min-height: 44px; }
html.rp-community-screen.rp-community-short .community-composer-tools select { min-height: 24px; height: 24px; }
html.rp-community-screen.rp-community-short #bottomNav .nav-item { min-height: 37px; }
/* RP_COMMUNITY_MOBILE_HEIGHT_V2_BEGIN */
/* The APK already has a native title bar. Use one compact conversation toolbar
   on phones; all desktop declarations above keep their original values. */
@media (max-width: 899px) {
  html.rp-community-screen #topbar { display: none; }
  html.rp-community-screen #view > .community-page { height: 100%; }
  html.rp-community-screen .community-tabs,
  html.rp-community-screen.rp-community-short .community-tabs {
    min-height: 44px; padding: 0 10px; gap: 4px;
  }
  html.rp-community-screen .community-tab,
  html.rp-community-screen.rp-community-short .community-tab { min-height: 44px; padding-block: 8px; }
  html.rp-community-screen #communityRoot { position: relative; }
  html.rp-community-screen .community-channel-head,
  html.rp-community-screen.rp-community-short .community-channel-head {
    position: absolute; top: 6px; right: 8px; z-index: 7;
    display: block; width: 44px; height: 44px; padding: 0;
  }
  html.rp-community-screen .community-channel-symbol { display: none; }
  html.rp-community-screen .community-channel-copy {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
    white-space: nowrap; border: 0;
  }
  html.rp-community-screen #communityRoot .community-options > summary { width: 44px; height: 44px; }
  html.rp-community-screen #communityRoot .community-options > div { top: 46px; }
  html.rp-community-screen .community-toolbar,
  html.rp-community-screen.rp-community-short .community-toolbar {
    flex: 0 0 auto; min-height: 56px; padding: 6px 58px 6px 12px; gap: 8px;
  }
  html.rp-community-screen .community-toolbar select { min-height: 44px; height: 44px; }
  html.rp-community-screen .community-toolbar .community-find-rival { min-height: 44px; padding: 8px 10px; }
  html.rp-community-screen .community-filter-label { max-width: none; }
  html.rp-community-screen .community-status-line,
  html.rp-community-screen.rp-community-short .community-status-line { min-height: 20px; padding: 1px 12px 2px; }
  html.rp-community-screen .community-composer { padding-block: 6px; }
  html.rp-community-screen .community-send { width: 44px; height: 44px; }
}
/* RP_COMMUNITY_MOBILE_HEIGHT_V2_END */
/* RP_COMMUNITY_SCREEN_V1_END */

/* RP_PRIVATE_ROOMS_STYLE_V1_BEGIN */
/* RP_PRIVATE_ROOMS_V1_BEGIN: presentation scoped to private group screens. */
.gr-page{--gr-bg:#111a27;--gr-panel:#172230;--gr-border:#293344;--gr-muted:#9ca9bd;display:flex;flex-direction:column;min-width:0;min-height:0;width:100%;max-width:none;color:#f2f4f8}.gr-page *{box-sizing:border-box}.gr-page a{text-decoration:none}.gr-tabs{flex:0 0 auto;gap:6px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}.gr-tabs::-webkit-scrollbar{display:none}.gr-page .gr-tabs .community-tab{flex:0 0 auto}.gr-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #394455;border-radius:11px;padding:10px 15px;background:#222e3e;color:#edf0f6;font:inherit;font-size:14px;font-weight:650;cursor:pointer;text-align:center}.gr-button:hover{background:#2b394c;border-color:#53617a}.gr-button:focus-visible,.gr-back:focus-visible,.gr-room-card:focus-visible{outline:2px solid #ff9b3f;outline-offset:3px}.gr-button:disabled{opacity:.45;cursor:default}.gr-primary{background:#ff8b11;color:#211307;border-color:#ff8b11}.gr-primary:hover{background:#ffa336;border-color:#ffa336}.gr-text-button{border:0;background:transparent;color:#ffb16d;min-height:36px;padding:6px 9px}.gr-icon-button{width:40px;min-height:40px;padding:6px;font-size:23px;background:transparent;border-color:transparent;flex-shrink:0}.gr-danger{color:#ff969d;border-color:#75404a;background:#391f2a}.gr-list-root{flex:1;overflow:auto;background:linear-gradient(140deg,#172230,#111a27 52%);border:1px solid var(--gr-border);border-radius:18px;padding:30px;min-height:0}.gr-list-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:5px 0 20px}.gr-eyebrow{color:#f5a464;font-size:10px;letter-spacing:2px;font-weight:800}.gr-list-head h1{font-size:32px;line-height:1.2;margin:10px 0}.gr-list-head p{font-size:14px;color:var(--gr-muted);line-height:1.6;margin:0}.gr-hero-icon{display:flex;align-items:center;justify-content:center;width:76px;height:76px;flex-shrink:0;border-radius:24px;background:#ff8b1118;color:#ffad59}.gr-hero-icon .icon{width:36px;height:36px}.gr-start-actions{display:flex;gap:10px;margin:2px 0 28px}.gr-section-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.gr-section-label>b{font-size:11px;letter-spacing:1.6px;color:#abb7ca}.gr-room-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:12px;align-content:start}.gr-room-card{display:flex;align-items:center;gap:14px;min-width:0;padding:18px;border:1px solid var(--gr-border);border-radius:15px;background:#1b2737;color:#edf2fa;transition:background .12s,border-color .12s}.gr-room-card:hover{background:#233246;border-color:#53617a}.gr-room-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex-shrink:0;border-radius:15px;background:linear-gradient(145deg,#a9531a,#492e25);font-size:17px;font-weight:850;color:#ffe0bc}.gr-room-copy{min-width:0;flex:1}.gr-room-copy b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.gr-room-copy small{display:block;margin-top:5px;color:var(--gr-muted);font-size:11px}.gr-room-card>.icon{color:#8290a6;width:18px;height:18px}.gr-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:230px;padding:26px 16px;text-align:center;grid-column:1/-1}.gr-empty h1,.gr-empty h2{font-size:23px;margin:0;line-height:1.25}.gr-empty p{font-size:14px;color:var(--gr-muted);max-width:350px;line-height:1.6;margin:0}.gr-empty-symbol{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:21px;background:#ff9b1618;color:#ffac66;font-size:38px;font-weight:750}.gr-list-note{font-size:12px;color:var(--gr-muted);line-height:1.6;margin:25px 0 0}.gr-workspace{display:flex;flex:1;min-height:0;min-width:0;border:1px solid var(--gr-border);border-radius:16px;overflow:hidden;background:var(--gr-bg)}.gr-rail{display:flex;flex-direction:column;gap:12px;width:232px;flex-shrink:0;background:#101924;border-right:1px solid var(--gr-border);padding:15px 10px;overflow:auto}.gr-rail>header{display:flex;align-items:center;justify-content:space-between;padding:0 7px;font-size:13px}.gr-rail-room{padding:10px 7px;border:0;border-radius:9px;background:transparent;margin-bottom:5px;gap:9px}.gr-rail-room .gr-room-icon{width:32px;height:32px;font-size:12px;border-radius:10px}.gr-rail-room .gr-room-copy b{font-size:12px}.gr-rail-room .gr-room-copy small{font-size:10px}.gr-rail-room>.icon{display:none}.gr-rail-room.is-active{background:#ff8b111b;border:1px solid #ab5b1a55;color:#ffc28b}.gr-chat-root{position:relative;display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}.gr-chat-head{flex:0 0 auto;display:flex;gap:10px;align-items:center;padding:12px 18px;background:#172230;border-bottom:1px solid var(--gr-border)}.gr-back{display:none;color:#ccd5e6;font-size:34px;line-height:1;padding:2px 6px}.gr-channel-symbol{font-size:28px;color:#ffae67;font-weight:750}.gr-chat-title{flex:1;min-width:0}.gr-chat-title h1{font-size:17px;margin:0 0 4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.gr-chat-title>span{font-size:11px;color:var(--gr-muted)}.gr-connection{padding:4px 19px;flex:0 0 auto}.gr-connection .chat-connection{font-size:10px;margin:0;padding:0;line-height:1.5}.gr-history-controls{flex:0 0 auto;display:flex;justify-content:center;gap:8px}.gr-history-controls:empty{display:none}.gr-history-controls .gr-button{font-size:11px;min-height:28px}.gr-messages{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:8px 22px 20px;scrollbar-width:thin;scrollbar-color:#455469 transparent;overflow-anchor:none}.gr-message{display:flex;gap:11px;padding:13px 0 0;min-width:0}.gr-avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:35px;height:35px;border-radius:12px;background:linear-gradient(135deg,#343e65,#4e334d);color:#e6dcff;font-size:11px;font-weight:800}.gr-message-body{flex:1;min-width:0}.gr-message header{display:flex;align-items:center;gap:8px;min-width:0;margin-bottom:3px}.gr-message header>b{font-size:13px;color:#ffd0a6;overflow-wrap:anywhere}.gr-message time{font-size:10px;color:#8c9ab0}.gr-you{font-size:9px;border-radius:4px;padding:1px 5px;background:#ff9d1f19;color:#ffb975}.gr-message-body>p{margin:0;color:#e2e7f0;font-size:15px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.gr-message.is-consecutive{padding-top:4px}.gr-message.is-consecutive>.gr-avatar{visibility:hidden;height:1px}.gr-message.is-consecutive header{display:none}.gr-message.is-pending .gr-message-body>p{opacity:.6}.gr-message.is-failed .gr-message-body>p{color:#ffb5b7}.gr-delivery{display:flex;align-items:center;gap:5px;font-size:11px;color:#b8a4ac;flex-wrap:wrap}.gr-delivery .gr-button{font-size:11px;min-height:26px}.gr-date{display:flex;align-items:center;gap:12px;margin:18px 0 8px;color:#9eacc0;font-size:10px;font-weight:650}.gr-date:before,.gr-date:after{content:'';height:1px;background:var(--gr-border);flex:1}.gr-composer{flex:0 0 auto;padding:12px 16px 10px;border-top:1px solid #29334477;background:#141f2e}.gr-compose-box{display:flex;align-items:center;gap:8px;border:1px solid #39465b;background:#253044;border-radius:14px;padding:8px 9px 8px 13px}.gr-compose-box:focus-within{border-color:#b47945}.gr-compose-box textarea{flex:1;min-width:0;border:0;background:transparent;color:#f3f5fa;border-radius:0;font:inherit;font-size:15px;line-height:1.45;resize:none;padding:7px 0;min-height:38px;max-height:110px;outline:0;box-shadow:none}.gr-compose-box textarea::placeholder{color:#9caac0}.gr-send{display:flex;align-items:center;justify-content:center;border:0;border-radius:11px;background:#ff8b11;color:#241506;width:42px;height:42px;flex-shrink:0;cursor:pointer}.gr-send .icon{width:21px;height:21px;transform:rotate(-90deg)}.gr-compose-note{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#8c9ab0;margin:6px 3px 0}.gr-new-messages{position:absolute;align-self:center;bottom:112px;background:#ca6c0a;color:white;border-color:#ff9c39;box-shadow:0 6px 20px #0005;font-size:12px;min-height:34px}.gr-error{color:#ffb49a;background:#442a203f;border-bottom:1px solid #56382d;padding:8px 16px;font-size:12px;margin:0}.gr-chat-loading{flex:1}.gr-members{display:flex;flex-direction:column;gap:6px;max-height:55vh;overflow:auto}.gr-member{display:flex;align-items:center;gap:11px;padding:10px 0}.gr-member>span:nth-child(2){flex:1;min-width:0}.gr-member b{display:block;font-size:14px;overflow-wrap:anywhere}.gr-member small{display:block;color:#9ca9bd;font-size:11px;margin-top:3px}.gr-invite{display:flex;flex-direction:column;align-items:center;gap:11px;text-align:center;padding:18px;border:1px solid #394455;border-radius:15px;background:#202d3e}.gr-invite>span,.gr-invite small{color:#adb9ca;font-size:12px}.gr-invite>b{font-size:21px;letter-spacing:2px;overflow-wrap:anywhere;max-width:100%}.gr-dialog-form{margin-top:15px}
html.rp-group-screen,html.rp-group-screen body{overflow:hidden;overscroll-behavior:none}html.rp-group-screen #appShell{position:fixed;inset:var(--gr-viewport-top,0px) 0 auto;width:100%;max-width:none;margin:0;height:var(--gr-viewport-height,100dvh);min-height:0;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) 0 env(safe-area-inset-left,0px)}html.rp-group-screen #appShell>.main-shell{display:flex;flex-direction:column;min-height:0;min-width:0;height:100%;padding:0 16px 12px;overflow:hidden}html.rp-group-screen #topbar{flex:0 0 auto;height:60px;min-height:60px;padding:6px 0;margin:0;border:0;background:transparent}html.rp-group-screen #view{display:flex;flex:1;min-height:0;min-width:0;padding:0;margin:0}html.rp-group-screen #view>.gr-page{flex:1;max-width:none;height:100%;margin:0;padding:0}html.rp-group-screen #connection{flex:0 0 auto;margin:3px 0 0}html.rp-group-screen #sidebar{min-height:0;height:100%;overflow-y:auto}html.rp-group-screen .gr-tabs{min-height:48px;padding:2px 0 6px}html.rp-group-screen .gr-tabs .community-tab{font-size:13px;min-height:40px}
@media(min-width:900px){html.rp-group-screen #appShell{display:grid;grid-template-columns:222px minmax(0,1fr)}html.rp-group-screen #bottomNav{display:none}}
@media(max-width:899px){html.rp-group-screen #appShell{display:flex;flex-direction:column}html.rp-group-screen #sidebar,html.rp-group-screen #topbar{display:none}html.rp-group-screen #appShell>.main-shell{flex:1;height:auto;padding:0}html.rp-group-screen #bottomNav{position:static;flex:0 0 auto;width:100%;padding:5px 6px max(5px,env(safe-area-inset-bottom,0px))}html.rp-group-screen #bottomNav .nav-item{min-height:43px;gap:2px}html.rp-group-screen #connection:not(:empty){padding:2px 8px;margin:0}html.rp-group-screen .gr-tabs{min-height:46px;padding:0 7px;gap:0}html.rp-group-screen .gr-tabs .community-tab{padding:8px 9px;min-height:46px;font-size:11px;gap:5px}html.rp-group-screen .gr-tabs .icon{width:15px;height:15px}.gr-list-root{border-radius:0;border-left:0;border-right:0;border-bottom:0;padding:21px 16px}.gr-list-head h1{font-size:27px}.gr-hero-icon{width:58px;height:58px;border-radius:20px}.gr-list-head p{font-size:13px}.gr-eyebrow{font-size:9px;letter-spacing:1.4px}.gr-start-actions{gap:8px;margin-bottom:20px}.gr-start-actions .gr-button{flex:1;font-size:12px;padding-inline:10px}.gr-room-card{padding:15px}.gr-room-list{grid-template-columns:1fr}.gr-workspace{border-radius:0;border-left:0;border-right:0;border-bottom:0}.gr-rail{display:none}.gr-back{display:block}.gr-channel-symbol{display:none}.gr-chat-head{padding:8px 10px;gap:7px;min-height:62px}.gr-chat-title h1{font-size:15px}.gr-chat-title>span{font-size:10px}.gr-chat-head .gr-icon-button{width:36px;min-height:36px}.gr-connection{padding:3px 15px}.gr-messages{padding:5px 14px 15px}.gr-message-body>p{font-size:14px}.gr-message header>b{font-size:12px}.gr-avatar{width:31px;height:31px;font-size:10px;border-radius:10px}.gr-message{gap:9px}.gr-composer{padding:8px 10px}.gr-compose-box{padding:6px 7px 6px 11px}.gr-compose-box textarea{font-size:14px}.gr-compose-note{font-size:9px}.gr-send{width:40px;height:40px}.gr-new-messages{bottom:102px}}
/* Third conversation tab fits narrow screens without changing desktop sizing. */
@media(max-width:899px){.community-page>.community-tabs{overflow-x:auto;white-space:nowrap;scrollbar-width:none}.community-page>.community-tabs>.community-tab{flex:0 0 auto;font-size:11px!important;padding-inline:8px!important;gap:5px}.community-page>.community-tabs>.community-tab>.icon{width:15px;height:15px}}
/* RP_PRIVATE_ROOMS_V1_END */

/* RP_PRIVATE_ROOMS_STYLE_V1_END */

/* RP_COMMUNITY_COLORS_V1_STYLE_BEGIN */
/* Comunidad: separar visualmente el autor del contenido del mensaje. */
#view #communityFeed .community-message .community-author > b {
  color: #38bdf8;
}

#view #communityFeed .community-message.is-mine .community-author > b {
  color: #ffb472;
}

#view #communityFeed .community-message .community-text {
  color: #d5deec;
}

/* RP_COMMUNITY_COLORS_V1_STYLE_END */

/* RP_DIRECT_COLORS_V1_STYLE_BEGIN */
/* Mensajes privados: distinguir el nombre del contenido de cada mensaje. */
#view #directMessages .coord-message .coord-message-meta > b {
  color: #38bdf8;
}

#view #directMessages .coord-message.is-mine .coord-message-meta > b {
  color: #ffb472;
}

#view #directMessages .coord-message > p {
  color: #d5deec;
}

/* RP_DIRECT_COLORS_V1_STYLE_END */
