.rn-relative{position:relative}.rn-isolate{isolation:isolate}.rn-flex{display:flex}.rn-grid{display:grid}.rn-min-h-\[44px\]{min-height:44px}.rn-min-w-0{min-width:0}.rn-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.rn-flex-col{flex-direction:column}.rn-items-center{align-items:center}.rn-justify-center{justify-content:center}.rn-border{border-width:1px}.rn-border-amber-500\/60{border-color:rgba(245,158,11,.6)}.rn-shadow-\[inset_0_0_25px_rgba\(217\,178\,94\,0\.2\)\]{--tw-shadow:inset 0 0 25px rgba(217,178,94,.2);--tw-shadow-colored:inset 0 0 25px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:root{--royal-footer-height:100px;--royal-gold:#d2b172;--royal-cyan:#76e1df}.royal-footer-enabled #royal-nav,.royal-footer-enabled .home-nav-copy{display:none!important}.royal-footer-enabled .royal-dashboard,.royal-footer-enabled dialog.with-royal-nav{padding-bottom:calc(var(--royal-footer-height) + env(safe-area-inset-bottom) + 20px)!important}.royal-footer-enabled dialog:has(>.royal-footer-portal-host){transform:none!important;animation:none!important}.royal-footer-main-host,.royal-footer-portal-host{position:fixed;inset:auto 0 0;z-index:10000;pointer-events:none}.royal-footer{position:fixed;left:10px;right:10px;bottom:env(safe-area-inset-bottom);height:var(--royal-footer-height);max-width:1160px;margin:auto;box-sizing:border-box;padding:7px 8px;border:5px double #c3a167;border-radius:10px;background:linear-gradient(#1b0d08aa,#170b08bb),url(/royal-wood-v2.webp) 50%/cover;box-shadow:0 -7px 25px #0009,inset 0 0 0 2px #4d2c1c,inset 0 0 25px #000b;color:#e4c88c;pointer-events:auto;font-family:Georgia,Noto Sans Ethiopic,serif}.royal-footer:after,.royal-footer:before{content:"";position:absolute;left:12px;right:12px;height:3px;background:linear-gradient(90deg,transparent,#bd9b57,#f3d18a,#bd9b57,transparent);pointer-events:none}.royal-footer:before{top:-7px}.royal-footer:after{bottom:-7px}.royal-footer-tab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:60px;margin:0;padding:3px 4px!important;border:1px solid #89643c!important;border-radius:45% 45% 6px 6px!important;background:radial-gradient(ellipse at 50% 40%,#75452866,#1d100af0)!important;color:#dfc187!important;box-shadow:inset 0 0 0 3px #25130e,inset 0 0 0 4px #81572e;cursor:pointer;transition:filter .15s,box-shadow .15s;overflow:visible}.royal-footer-tab+.royal-footer-tab{margin-left:4px}.royal-footer-icon{width:48px;height:48px;filter:drop-shadow(0 2px 2px #000);flex-shrink:0}.royal-footer-label{font-size:12px;line-height:1.15;letter-spacing:.8px;white-space:nowrap;font-weight:700}.royal-footer-tab.royal-active{border-color:#f2d388!important;background:radial-gradient(ellipse at 50% 38%,#cf9e3a55,#392315)!important;box-shadow:inset 0 0 0 3px #6b4c26,inset 0 0 25px #e6bd5f55,0 0 13px #e1b65b66;color:#ffe8a8!important}.royal-active .royal-footer-icon{filter:drop-shadow(0 0 5px #69e5e6cc) drop-shadow(0 2px 2px #000)}.royal-footer-tab:focus-visible{outline:3px solid #85edee!important;outline-offset:3px}.royal-footer-tab:disabled{opacity:.65;cursor:wait}.royal-corner-jewel,.royal-footer-jewel{position:absolute;width:13px;height:13px;background:linear-gradient(135deg,#dbffff,#3da8b4 50%,#117085);border:2px ridge #e5c579;transform:rotate(45deg);box-shadow:0 0 7px #4ecee955;pointer-events:none}.royal-jewel-top{top:-12px;left:calc(50% - 7px)}.royal-jewel-bottom{bottom:-12px;left:calc(50% - 7px)}.royal-footer-badge{position:absolute;right:4px;top:1px;min-width:18px;height:18px;padding:1px 4px;border:1px solid #efbb80;border-radius:50%;background:#863b28;color:#fff3d0;font:700 11px sans-serif;box-sizing:border-box}.royal-submenu-overlay{position:fixed;inset:auto 12px calc(var(--royal-footer-height) + env(safe-area-inset-bottom) + 16px);width:min(1130px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - var(--royal-footer-height) - env(safe-area-inset-bottom) - 36px);margin:0 auto;padding:0;border:0;border-radius:0;background:transparent;color:#f0ddbc;overflow:visible;transform:none!important;animation:none!important;font-family:Georgia,Noto Sans Ethiopic,serif}.royal-submenu-overlay::backdrop{background:#100905b8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.royal-submenu-inner{position:relative;border:6px double #b39865;border-radius:11px;background:linear-gradient(#25150ed9,#1b100bd9),url(/royal-wood-v2.webp) 50%/cover;box-shadow:0 20px 70px #000d,inset 0 0 0 2px #5b3621;max-height:inherit;display:flex;flex-direction:column;box-sizing:border-box}.royal-submenu-inner:after,.royal-submenu-inner:before{content:"";position:absolute;width:12px;height:12px;background:#43b6c0;transform:rotate(45deg);border:3px ridge #debf7d;z-index:2;box-shadow:0 0 6px #53cce599;pointer-events:none}.royal-submenu-inner:before{top:-10px;left:-10px}.royal-submenu-inner:after{bottom:-10px;right:-10px}.royal-menu-account{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;border-bottom:1px solid #8e6c43;color:#e2c48a;font-size:14px}.royal-menu-account>span{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:28%}.royal-menu-account>div{display:flex;gap:13px;align-items:center}.royal-menu-account>div>span{display:flex;align-items:center;gap:5px;white-space:nowrap}.royal-menu-account svg{width:23px;height:23px}.royal-submenu-overlay .royal-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 12px;padding:8px 10px;border:3px double #cfad71;border-radius:10px;background:linear-gradient(#5a3c25,#2c1b11);position:relative}.royal-menu-heading h1{font-size:clamp(19px,3.3vw,32px);font-weight:500;text-transform:uppercase;letter-spacing:1px;margin:0;text-shadow:0 2px 1px #000;color:#f2d397}.royal-menu-heading>div{display:flex;gap:6px}.royal-menu-heading button{min-width:44px;min-height:44px;background:#24140d;border:1px solid #b58e56;border-radius:8px;color:#f4ddb5;font-size:24px;cursor:pointer}.royal-menu-heading button:disabled{opacity:.45}.royal-corner-jewel{left:-12px;top:13px;width:12px;height:18px}.royal-submenu-scroll{overflow:auto;overscroll-behavior:contain;padding:10px 16px 18px;scrollbar-color:#967644 #21130b;min-height:0}.royal-submenu-scroll h2{font-size:clamp(16px,2.3vw,22px);color:#e6c98e;font-weight:500;margin:4px 0 14px;text-align:center}.royal-submenu-scroll p{line-height:1.45}.royal-submenu-scroll button,.royal-submenu-scroll select{font-family:inherit}.royal-submenu-scroll button:focus-visible,.royal-submenu-scroll select:focus-visible{outline:3px solid #75dce3;outline-offset:2px}.royal-framed-panel{position:relative;border:4px double #9c7e50;border-radius:7px;padding:16px;background:linear-gradient(120deg,#4a2d1b55,#170d08a8),url(/royal-wood-v2.webp) 50%/cover;box-shadow:inset 0 0 18px #0007}.royal-framed-panel:after,.royal-framed-panel:before{content:"";position:absolute;width:6px;height:6px;border:1px solid #cba96c;background:#47aab1;transform:rotate(45deg);pointer-events:none}.royal-framed-panel:before{top:3px;left:3px}.royal-framed-panel:after{bottom:3px;right:3px}.royal-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid #a18450;border-radius:8px;background:linear-gradient(#604329,#25160e);color:#f3deac;font-size:14px;font-weight:700;cursor:pointer;box-shadow:inset 0 0 0 2px #28170f,0 2px 3px #0008;line-height:1.2}.royal-action:hover{filter:brightness(1.12)}.royal-action-primary{background:linear-gradient(#ecd28b,#a57d40);color:#2b1a10;border-color:#ffdf95}.royal-action:disabled{opacity:.45;cursor:default;filter:none}.royal-menu-message{padding:10px;border:1px solid #79abb0;border-radius:8px;background:#20393b;color:#d5f6ee}.royal-fine{font-size:12px;color:#c4b08e;line-height:1.5}.royal-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.royal-six-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.royal-game-card{display:flex;flex-direction:column;align-items:stretch;text-align:center;padding:13px}.royal-game-icon{display:block;width:90px;height:90px;margin:0 auto 6px;filter:drop-shadow(0 4px 5px #000)}.royal-game-card h2{font-size:18px;margin:0 0 10px}.royal-game-card label{font-size:11px;text-transform:uppercase;color:#ccb588}.royal-framed-panel select,.royal-game-card select{box-sizing:border-box;min-height:44px;max-width:100%;width:100%;margin-top:5px;background:#1e110c;border:1px solid #9a7b4a;border-radius:7px;color:#e7d3ac;padding:6px 8px;font-size:13px}.royal-game-metric{border:1px solid #80613b;background:#190e09;padding:6px;font-size:12px;margin:8px 0}.royal-game-card .royal-action{width:100%;margin-top:7px;box-sizing:border-box;font-size:12px;min-height:42px}.royal-mode-switch{display:flex;gap:5px;margin:8px 0}.royal-mode-switch button{flex:1;min-height:38px;border:1px solid #8f754d;border-radius:6px;background:#28180f;color:#d6c39d;font-size:12px;padding:7px}.royal-mode-switch button[aria-pressed=true]{background:linear-gradient(#9c7941,#47311b);border-color:#e5c482;color:#fff0bf}.royal-extra-games{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.royal-extra-games h2{width:100%;margin-bottom:4px}.royal-extra-games>.royal-action{flex:1}.royal-castle-grid{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(280px,1.2fr);gap:17px}.royal-character-card{text-align:center}.royal-character-card>img{display:block;width:150px;height:150px;-o-object-fit:cover;object-fit:cover;border:5px ridge #c5a56b;border-radius:50%;margin:12px auto;background:#20160e}.royal-castle-grid .royal-action{display:flex;width:100%;margin:12px 0;box-sizing:border-box}.royal-stat-pills{display:flex;gap:10px;justify-content:center}.royal-stat-pills span{border:1px solid #8a6f43;border-radius:20px;padding:8px 12px;background:#25180f}.royal-castle-grid progress{width:100%;height:18px;accent-color:#c9a34d}.royal-language{border:1px solid #8a7047;border-radius:8px;padding:12px;display:flex;gap:8px}.royal-language button{flex:1;min-height:44px;border:1px solid #9e844c;background:#29190f;color:#e1c58f;border-radius:7px}.royal-language button[aria-pressed=true]{background:#9f7d40;color:#fff4d3}.royal-allies-grid{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(270px,1.2fr);gap:17px}.royal-gift-column{display:flex;flex-direction:column;gap:17px}.royal-gift-column h2{display:flex;align-items:center;justify-content:center;gap:10px}.royal-gift-column h2 svg{width:45px;height:45px}.royal-friend-list{max-height:420px;overflow:auto;margin-top:12px}.royal-friend-row{display:flex;align-items:center;gap:9px;text-align:left;width:100%;padding:12px 4px;border:0;border-bottom:1px solid #755332;background:transparent;color:#e8d3a9;cursor:pointer}.royal-friend-row img,.royal-rank-list img{width:45px;height:45px;-o-object-fit:cover;object-fit:cover;border-radius:50%;border:2px solid #b19253;background:#3d291b}.royal-friend-row>span{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.royal-friend-row strong{overflow:hidden;text-overflow:ellipsis}.royal-friend-row small{color:#af9c7b;font-size:12px}.royal-presence{width:9px;height:9px;border-radius:50%;background:#ad4a42;border:1px solid #c68b68}.royal-presence.online{background:#73bd76;box-shadow:0 0 6px #72cb76}.royal-presence.playing{background:#e2bf59;box-shadow:0 0 5px #e2bf59}.royal-received-gift{display:flex;gap:9px;align-items:center;border-bottom:1px solid #6b5032;padding:9px 0}.royal-received-gift svg{width:35px;height:35px}.royal-received-gift span{flex:1}.royal-received-gift .royal-action{font-size:12px}.royal-confirm-gift{border:1px solid #a58c56;padding:12px;border-radius:8px}.royal-confirm-gift .royal-action{margin-right:8px}.royal-ranking-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(260px,1.1fr);gap:17px}.royal-rank-list{list-style:none;margin:0;padding:0;max-height:440px;overflow:auto}.royal-rank-list li{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #84623a}.royal-rank-list li>span{flex:1;overflow:hidden;text-overflow:ellipsis}.royal-rank-list small{display:block;color:#b7a281;font-size:11px}.royal-champions{text-align:center}.royal-podium svg{width:200px;max-width:80%;height:200px;filter:drop-shadow(0 5px 10px #0008)}.royal-champions h3{color:#d7bb7d;font-size:21px}.royal-shop-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.royal-shop-item{display:grid;grid-template-columns:50px 1fr;gap:7px;align-items:center;border:3px double #ad8c52;border-radius:8px;padding:9px;margin:11px 0;background:#28180fb3}.royal-shop-item svg{grid-row:span 2;width:48px;height:48px}.royal-shop-item strong{font-size:14px;font-weight:400}.royal-shop-item button{min-height:33px;width:-moz-max-content;width:max-content;max-width:100%;border:1px solid #856b43;border-radius:6px;background:#21140e;color:#bbac8a;font-size:11px;padding:5px 9px;cursor:default}.royal-shop-grid .royal-action{width:100%;box-sizing:border-box}.royal-daily-panel{display:flex;gap:12px;align-items:center;margin-bottom:16px}.royal-daily-panel>div{flex:1;min-width:0}.royal-daily-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.royal-daily-days>div{display:flex;flex-direction:column;align-items:center;gap:4px;padding:7px 2px;background:#24150d;border:1px solid #6c5030;border-radius:7px;font-size:13px}.royal-daily-days .current{border-color:#e6c87d;background:#614726}.royal-daily-days svg{width:23px;height:23px}.royal-daily-days small{font-size:10px}.royal-shop-actions{display:flex;gap:10px;justify-content:center;margin-top:16px}@media(max-width:680px){:root{--royal-footer-height:88px}.royal-footer{left:4px;right:4px;border-width:4px;padding:5px}.royal-footer-icon{width:36px;height:36px}.royal-footer-label{font-size:10px;letter-spacing:.2px}.royal-footer-tab+.royal-footer-tab{margin-left:2px}.royal-submenu-overlay{left:8px;right:8px;width:calc(100vw - 16px);bottom:calc(var(--royal-footer-height) + env(safe-area-inset-bottom) + 12px);max-height:calc(100dvh - var(--royal-footer-height) - env(safe-area-inset-bottom) - 24px)}.royal-submenu-inner{border-width:4px}.royal-menu-account{font-size:11px;padding:6px 9px;gap:5px}.royal-menu-account>div{gap:6px}.royal-menu-account svg{width:17px;height:17px}.royal-menu-heading h1{font-size:17px;letter-spacing:0}.royal-submenu-overlay .royal-menu-heading{margin:6px 8px;padding:6px 8px;gap:5px}.royal-menu-heading button{min-width:38px;min-height:40px;font-size:20px}.royal-submenu-scroll{padding:8px 9px 12px}.royal-six-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.royal-game-card{padding:9px 7px}.royal-game-icon{width:65px;height:65px}.royal-game-card h2{font-size:14px}.royal-game-card .royal-action{font-size:11px;min-height:44px}.royal-mode-switch button{font-size:10px;min-height:36px;padding:5px}.royal-allies-grid,.royal-castle-grid,.royal-ranking-grid{grid-template-columns:1fr}.royal-framed-panel{padding:12px}.royal-character-card>img{width:110px;height:110px}.royal-shop-grid{grid-template-columns:1fr}.royal-daily-panel{flex-direction:column;align-items:stretch}.royal-daily-days{gap:3px}.royal-daily-days small{font-size:9px}.royal-daily-days svg{width:20px;height:20px}.royal-shop-actions{flex-direction:column}.royal-footer-portal-host .royal-footer{max-width:none}.royal-extra-games>.royal-action{flex-basis:40%;font-size:12px}.royal-friend-list{max-height:270px}.royal-footer-badge{right:1px;top:0}}@media(prefers-reduced-motion:reduce){.royal-footer,.royal-footer *,.royal-submenu-overlay *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}body.royal-footer-enabled dialog.royal-submenu-overlay.with-royal-nav{top:12px;bottom:auto;height:auto;min-height:0;padding:0!important;overflow:visible;box-sizing:border-box}body.royal-footer-enabled .royal-submenu-inner,body.royal-footer-enabled dialog.royal-submenu-overlay.with-royal-nav{max-height:calc(100dvh - var(--royal-footer-height) - env(safe-area-inset-bottom) - 36px)}@media(max-width:680px){.royal-menu-heading button{min-width:44px;min-height:44px}.royal-mode-switch button{min-height:44px}}.royal-nine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.royal-trial-tile{border:1px solid #c49b5a;border-radius:18px;background:radial-gradient(ellipse at 50% 20%,#70502f,#29170e 85%);padding:14px 7px;color:#ffe2a7;min-height:120px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}.royal-trial-tile svg{width:66px;height:66px;filter:drop-shadow(0 2px 4px #000)}.royal-trial-tile span{font-size:13px;font-weight:700}.royal-trial-tile:focus-visible{outline:3px solid #67e7fa}.royal-trial-shortcuts{display:grid;gap:8px;margin-top:16px}.royal-trial-option-backdrop{position:absolute;inset:0;background:linear-gradient(#1c100ca8,#1c100ce8),url(/warrior-grounds-v1.webp) 50%/cover;z-index:8;display:grid;place-items:center;border-radius:20px;padding:20px}.royal-trial-options{position:relative;width:min(100%,370px);border:2px solid #d4b066;border-radius:22px;background:linear-gradient(#533722,#23130d);padding:30px 22px 22px;display:flex;flex-direction:column;gap:12px;box-shadow:0 15px 80px #000b}.royal-trial-options>svg{width:80px;height:80px;align-self:center}.royal-trial-options h2{text-align:center}.royal-option-close{position:absolute;right:8px;top:8px;min-width:44px;min-height:44px;color:#f4d49d;border:1px solid #9f743f;border-radius:50%;background:#24140d;font-size:24px}.royal-trial-section-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.royal-submenu-scroll{position:relative}.royal-trial-options select{min-height:44px;width:100%}.royal-trial-shortcuts,.royal-trial-tile{-moz-user-select:none;user-select:none;-webkit-user-select:none;touch-action:manipulation}@media(max-width:600px){.royal-nine-grid{gap:8px}.royal-trial-tile{min-height:100px;padding:8px 4px}.royal-trial-tile svg{width:52px;height:52px}.royal-trial-tile span{font-size:11px}.royal-trial-options{padding:35px 16px 16px}.royal-trial-section-title h2{font-size:16px}}.royal-return-floating{position:fixed;right:14px;bottom:calc(var(--royal-footer-height) + 15px);z-index:800;border:1px solid #d5b06b;border-radius:14px;background:#382216f2;color:#ffe0a2;min-height:44px;padding:10px 16px}.royal-submenu-scroll{overflow-x:hidden}.royal-trial-options{box-sizing:border-box}.royal-nine-grid>button{min-width:0}.compete-hub{max-width:760px;margin:auto;color:#f6e4bf}.compete-intro h2{font:600 clamp(22px,5vw,30px)/1.2 Georgia;margin:14px 0 10px}.compete-intro p{line-height:1.6;color:#d6c19d}.compete-practice{display:inline-flex;gap:6px;border:1px solid #79b9ad66;color:#c4efe2;background:#143d343d;border-radius:30px;padding:6px 10px;font:700 10px system-ui;letter-spacing:.08em}.compete-results-link{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px 0;margin:12px 0;border:0;border-top:1px solid #b3975944;border-bottom:1px solid #b3975944;background:transparent;color:#f2cf8c;font:600 13px system-ui;min-height:44px}.compete-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;background:#160e0a88;border:1px solid #b7985c44;border-radius:14px;margin:18px 0}.compete-tabs button{min-height:44px;min-width:0;border:1px solid transparent;border-radius:10px;color:#c6b698;background:transparent;font:600 13px system-ui}.compete-tabs button[aria-selected=true]{background:linear-gradient(#6b4e2d,#3f2d1c);border-color:#c8a96a;color:#fff0cd;box-shadow:0 2px 10px #0004}.compete-empty{text-align:center;padding:28px 16px;border:1px solid #a98e5a44;border-radius:18px;background:radial-gradient(ellipse at top,#6f4c202c,transparent 75%)}.compete-empty-emblem,.compete-empty>span{display:block;color:#e5c57d;font-size:40px;margin:4px 0 16px}.compete-empty h3{font:600 21px Georgia;margin:0 0 12px}.compete-empty p{color:#d2c3a8;line-height:1.65;font-size:13px;max-width:420px;margin:0 auto 18px}.compete-fine{font-size:12px!important;line-height:1.6;color:#beaf93!important}.compete-rules{margin:22px 0 8px;padding:16px;border:1px solid #b7985c44;border-radius:14px;background:#1a100a44;font-size:13px;line-height:1.65}.compete-rules summary{cursor:pointer;color:#f1d397;min-height:28px;font-weight:600}.compete-rules ol{padding-left:22px}.compete-rules li{padding:5px 0}.compete-event{margin:14px 0}.compete-event progress{width:100%;accent-color:#81cbbb}.compete-hub button:focus-visible,.compete-rules summary:focus-visible{outline:2px solid #85d8dc;outline-offset:3px}@media(prefers-reduced-motion:reduce){.compete-hub *{scroll-behavior:auto}}.compete-task{padding:18px 0;border-top:1px solid #b78e4744;overflow-wrap:anywhere}.compete-task h4{margin:6px 0;color:#f0d58b}.compete-task-actions{display:flex;gap:10px;flex-wrap:wrap}.compete-task-actions button{flex:1;min-width:125px}.compete-detail{padding:18px}.compete-summary{display:grid;gap:10px;padding:16px 0}.compete-summary progress{width:100%;accent-color:#d3aa50}.compete-error{color:#ffc1a1;padding:12px}.competition-system textarea{width:100%;min-height:90px}.competition-system p{overflow-wrap:anywhere}.compete-task p{line-height:1.5}.royal-trial-tile{position:relative}.trial-invite-badge{position:absolute;top:8px;right:10px;display:grid;place-items:center;min-width:23px;height:23px;box-sizing:border-box;padding:0 5px;border:2px solid #f6d6a0;border-radius:20px;background:#b62926;color:#fff;font:700 12px system-ui;box-shadow:0 2px 6px #0008;z-index:2}.compete-simple{max-width:850px;margin:auto}.compete-lead{color:#e4cda3;margin:0 0 20px;font:16px/1.5 Georgia}.compete-kind-cards{display:grid;gap:14px}.compete-kind-card{border:1px solid #927147;border-radius:16px;padding:22px;background:radial-gradient(ellipse at right top,#96703d25,transparent 60%),#261b13;display:block}.compete-kind-label{font:700 12px system-ui;letter-spacing:2px;color:#cba463;text-transform:uppercase}.compete-kind-card h2{font:700 25px/1.25 Georgia;margin:9px 0;color:#f0dab1}.compete-kind-card p{font:14px/1.5 system-ui;color:#d2bd99;margin:6px 0}.compete-kind-card button{min-width:150px;margin-top:14px}.compete-card-progress{display:block;font:13px system-ui;color:#d9c799}.compete-other-event{margin-top:20px;border-top:1px solid #81643b66;padding-top:12px}.compete-other-event h2{font-size:19px}.compete-quiet{font:12px/1.5 system-ui;color:#b29b79;text-align:center;margin:20px 0}.compete-kind-card button:disabled{opacity:.48;cursor:default}body:has(.competition-window-v11[open]) .royal-footer-main-host{display:none!important}.royal-submenu-overlay.competition-window-v11{inset:0!important;width:min(100%,900px)!important;max-width:900px!important;height:100dvh!important;max-height:100dvh!important;margin:0 auto!important;transform:none!important;padding:0!important;border:1px solid #9b7848!important;border-radius:0!important;background:#17110b!important}.competition-window-v11 .royal-submenu-inner{height:100%;padding:0!important;overflow:hidden}.competition-window-v11 .royal-submenu-scroll{height:100%;max-height:none;overflow:auto;padding:0!important}.compete-event-window{font-family:Georgia,serif;color:#efdab4;min-height:100%;padding:0 24px 25px}.compete-event-header{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;gap:15px;padding:22px 0 16px;background:#17110bf5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid #735638}.compete-event-header>div{min-width:0}.compete-event-header span{font:700 10px system-ui;letter-spacing:2px;color:#bf9b61}.compete-event-header h1{font:700 clamp(23px,4vw,32px)/1.2 Georgia;margin:6px 0 9px;color:#f5dfb7;overflow-wrap:anywhere}.compete-close{align-self:flex-start;flex:none;min-width:44px;min-height:44px;padding:3px;border:1px solid #b58c51;border-radius:10px;background:#372518;color:#f1dbb5;font:29px Georgia;cursor:pointer}.compete-clock{font:13px/1.4 system-ui;color:#dfbd7e!important}.compete-event-tabs{display:flex;gap:5px;background:#22190f;padding:5px;border:1px solid #785c38;border-radius:12px;margin:18px 0}.compete-event-tabs button{flex:1;min-height:44px;border:0!important;border-radius:8px!important;background:none!important;color:#c5b18b!important;font:600 15px system-ui!important;cursor:pointer}.compete-event-tabs button[aria-pressed=true]{background:#bd9754!important;color:#21170c!important;box-shadow:0 2px 8px #0005}.compete-progress-card{padding:16px;border:1px solid #705637;border-radius:13px;background:#2a1e13;margin-bottom:18px}.compete-progress-card>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.compete-progress-card strong{font:700 26px Georgia;color:#efd8a6}.compete-progress-card span{font:13px system-ui;flex:1}.compete-progress-card b{font:600 14px system-ui}.compete-progress-card progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:7px;border:0;border-radius:9px;overflow:hidden;margin:12px 0 8px;background:#120e09}.compete-progress-card progress::-webkit-progress-bar{background:#120e09}.compete-progress-card progress::-webkit-progress-value{background:#d1ad66}.compete-event-rules p,.compete-join-card p,.compete-progress-card p,.compete-task-card p,.compete-together p{font:13px/1.55 system-ui;color:#c8b594;margin:0}.compete-join-card{padding:17px;border:1px solid #a8844e;border-radius:13px;margin:0 0 18px}.compete-join-card button{margin-top:12px}.compete-task-card{border-bottom:1px solid #634b2e;padding:19px 0}.compete-task-heading{display:flex;gap:12px;align-items:flex-start}.compete-task-heading>div{flex:1;min-width:0}.compete-task-heading small{font:11px system-ui;color:#b39972}.compete-task-heading h2{font:700 21px/1.25 Georgia;color:#f0dcb8;margin:3px 0 6px}.compete-task-heading>strong{font:600 21px Georgia;min-width:40px;text-align:right}.compete-task-heading>strong>small{display:block;text-align:right;margin-top:4px}.compete-task-check{flex:none;color:#8a7755;font:24px system-ui;line-height:1.1}.compete-task-check.complete{color:#8cbd95}.compete-task-controls{display:flex;align-items:end;gap:12px;margin:14px 0 0 36px}.compete-task-controls label{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;font:11px system-ui;color:#b79c72}.compete-task-controls select{width:100%;max-width:280px;min-height:44px;padding:9px;background:#21180f;color:#e6cfaa;border:1px solid #745937;border-radius:9px;font:13px system-ui}.compete-task-controls button{min-width:100px}.compete-together{display:flex;gap:15px;align-items:center;padding:19px 0}.compete-together>div{flex:1}.compete-together h2{font:700 20px Georgia;margin:0 0 7px}.compete-event-rules{border-top:1px solid #634b2e;padding:16px 0}.compete-event-rules summary{cursor:pointer;font:14px system-ui;color:#cfb181;min-height:32px}.compete-my-position,.compete-top-ten{padding:18px;border:1px solid #785c38;border-radius:13px;margin-bottom:16px;background:#22190f}.compete-rankings h2{font:700 22px Georgia;margin:0 0 10px}.compete-rankings p,.compete-rankings small{font:13px/1.5 system-ui;color:#bfa986}.compete-rankings ol{display:block!important;padding:0;margin:12px 0 0;list-style:none}.compete-rank-row{display:flex!important;align-items:center;gap:12px;padding:14px 10px;border-bottom:1px solid #72573344;border-radius:0;background:none;min-width:0;font:14px system-ui}.compete-rank-row>strong{min-width:35px;color:#cdab6f}.compete-rank-row>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compete-rank-row>b{font-variant-numeric:tabular-nums;color:#ead5b2}.compete-rank-row.is-you{background:#81623144;border:1px solid #be985b;border-radius:9px}.compete-my-position>small{display:block;margin-top:12px}.compete-error{font:14px/1.5 system-ui;background:#592d20;padding:14px;border:1px solid #ac7254;border-radius:10px;color:#ffe0bc}@media(min-width:760px){.compete-kind-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.compete-kind-card{padding:20px}.compete-kind-card h2{font-size:23px}.compete-rankings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px;align-items:start}}@media(max-width:450px){.compete-event-window{padding:0 14px 18px}.compete-event-header{padding-top:16px}.compete-task-controls{margin-left:0}.compete-task-heading h2,.compete-task-heading>strong{font-size:19px}.compete-together{align-items:flex-start}.compete-task-card p{font-size:12px}}.compete-my-position h2,.compete-task-heading h2,.compete-task-heading p,.compete-together h2,.compete-top-ten h2{text-align:left!important}.competition-invite-badge{position:absolute;left:5px;top:5px;min-width:19px;height:19px;padding:1px 5px;background:#bd342b;color:#fff;border:1px solid #ffd8a2;border-radius:12px;font:700 11px/16px system-ui;z-index:4}.competition-new-dot{position:absolute;right:7px;top:7px;width:13px;height:13px;border:2px solid #fff0af;border-radius:50%;background:#ffce3c;box-shadow:0 0 8px #ffce3c99;z-index:4}.compete-kind-card .royal-action{position:relative}.competition-friends-panel{padding:16px;border:2px solid #ba985e;border-radius:12px;background:#2b1b10;margin:12px 0}.competition-friends-panel header{display:flex;align-items:center;justify-content:space-between}.competition-friends-panel header button{color:#f2d89c;background:#543b22;border:1px solid #ba985e;border-radius:8px;font-size:24px;padding:0 10px}.competition-friend-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid #ba985e55}.competition-friend-row small{display:block;opacity:.7;font-size:11px}.competition-friend-row span{min-width:0;overflow-wrap:anywhere}.competition-invitation-alert{margin:12px}.competition-friends-backdrop{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:20px;background:#080604bb;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.competition-friends-backdrop .competition-friends-panel{width:min(440px,100%);max-height:80dvh;overflow:auto;margin:0;padding:20px;background:linear-gradient(145deg,#46301ff5,#21150ffb);border:2px solid #bba16a;border-radius:18px;box-shadow:0 20px 80px #000b}.competition-friend-search{width:100%;box-sizing:border-box;min-height:44px;margin:12px 0;padding:10px 14px;border:1px solid #aa8b52;border-radius:22px;background:#160f0c;color:#f7dfb1}.compete-friend-requirement button{position:relative}.compete-together>button{position:relative;min-width:100px}.compete-together>button .competition-invite-badge{left:3px;top:-8px}