/* Official application components: shared DOM across mobile, tablet and desktop. */
body.official-active{background:radial-gradient(ellipse at 90% 10%,#073c70,transparent 45%),radial-gradient(ellipse at 5% 65%,#18104b,transparent 40%),#001122;color:#eff5ff;padding-bottom:90px}
.official-active *{box-sizing:border-box}.official-active .topbar,.official-active .help-fab,.official-active #poke-companion-wrap,.official-active #trainer-menu-button{display:none!important}.official-active .shell{display:block;max-width:none;margin:0;padding:0}.official-active .main{max-width:none;padding:0;min-width:0}.official-active .sidebar{display:none}.official-active [hidden]{display:none!important}.official-active button{cursor:pointer}.official-active button:disabled{cursor:not-allowed}.official-active button:focus-visible,.official-active a:focus-visible{outline:3px solid #ffe799;outline-offset:3px}.official-page{font-family:Inter,system-ui,sans-serif}.official-active.official-menu-open .sidebar{display:block!important;position:fixed;z-index:100;right:12px;left:auto;top:90px;bottom:88px;width:min(320px,calc(100vw - 24px));height:auto;overflow:auto;background:#041b35;border:1px solid #71d8ff;border-radius:20px;padding:18px;box-shadow:0 12px 60px #000b}
.official-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 24px;padding:16px max(24px,calc((100% - 1240px)/2));border-bottom:2px solid #53d6ff;background:radial-gradient(ellipse at 60% 0,#123b69,transparent 65%),#001327;box-shadow:0 3px 15px #008dff50}.official-header button{margin:0;color:#eff7ff}.official-brand{display:flex;gap:14px;align-items:center;border:0;background:none;padding:0;box-shadow:none;min-width:0;text-align:left}.official-brand img{width:58px;height:58px;object-fit:contain}.official-brand>span{font-size:29px;font-weight:900;font-style:italic;line-height:1}.official-brand b{color:#ffdc64;text-shadow:0 0 12px #f6b720}.official-brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:6px;font-style:normal}.official-account{display:flex;align-items:center;gap:14px}.official-owner{display:flex;flex-direction:column;align-items:center;padding:7px 16px;border:1px solid #ffdc67!important;border-radius:12px;background:linear-gradient(#082443,#020e23);box-shadow:0 0 9px #ffc84070;font-size:13px}.official-owner small{font-size:10px;color:#ffe579}.official-owner strong{max-width:140px;overflow:hidden;text-overflow:ellipsis}.official-bell,.official-menu{position:relative;background:none;border:0;padding:8px;min-height:44px;min-width:44px}.official-bell>svg,.official-menu>svg{width:28px;height:28px}.official-bell .cynthia-notification-badge{right:26px;top:-3px}.official-bell .cynthia-alert-badge{right:-3px;top:-3px}.official-links{display:flex;gap:32px;width:100%}.official-links a{display:flex;align-items:center;gap:8px;color:#d3e7fa;text-decoration:none;font-weight:750}.official-links svg{width:22px;height:22px}.official-content{width:100%;max-width:1240px;margin:0 auto;padding:24px}.official-hero{position:relative;min-height:245px;display:flex;align-items:center;isolation:isolate;overflow:clip;margin-bottom:22px;border-radius:24px;background:radial-gradient(ellipse at 80% 70%,#1056ab66,transparent 65%)}.official-hero-copy{position:relative;z-index:2;width:58%;padding:16px}.official-hero h1{font-size:clamp(32px,3.6vw,48px);line-height:1.06;letter-spacing:-1.4px;font-weight:850;font-style:italic;margin:12px 0;color:#ffe79d;text-shadow:0 3px 3px #07182f,0 0 18px #4bbaff55}.official-hero h1>span{display:block;color:#ffdd4a}.official-hero p{font-size:16px;line-height:1.4;color:#ccdeef;max-width:440px;margin:10px 0 18px}.official-back{border:0;background:#0a3050;padding:7px 13px;border-radius:20px;color:#aee5ff;font-size:14px;min-height:40px}.official-hero-art{position:absolute;inset:0 6% 0 auto;width:34%;pointer-events:none}.official-hero-art>img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 14px #ffcc5966)}.gold-orbit{position:absolute;inset:18% 4% 8%;border:2px solid #ffd75a;border-radius:50%;transform:rotate(-20deg);box-shadow:0 0 18px #ffcd66,inset 0 0 15px #ffcb7333}
.official-active .official-gold,.official-active .reserve-gold{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:repeating-linear-gradient(130deg,transparent 0 20px,#ffffff20 20px 32px),linear-gradient(#fff5ac,#ffd141 48%,#e5a500 75%,#ffe27a);color:#101a27;border:1px solid #fff2b5;border-radius:24px;min-height:48px;padding:10px 22px;font-size:16px;font-weight:850;box-shadow:0 0 12px #f9c94450,inset 0 0 5px #fff5bf}.official-active .official-blue{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #7eeeff;border-radius:26px;min-height:44px;padding:10px 24px;background:linear-gradient(#137ad5,#00529e 30%,#05224f 75%,#005dba);box-shadow:0 0 9px #1dc2ff88,inset 0 0 7px #7fe7ff;color:white;font-size:17px;font-weight:800;font-style:italic}.official-blue svg{width:23px;height:23px;flex:none}
.official-cynthia{display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:center;gap:22px;min-height:150px;margin:24px 0 8px;padding:16px 24px 16px 0;border:2px solid #f3d676;border-radius:25px;background:radial-gradient(ellipse at 15% 40%,#97731d88,transparent 35%),repeating-linear-gradient(135deg,transparent 0 110px,#0f427e55 110px 140px),linear-gradient(120deg,#052348,#001327);box-shadow:0 0 10px #ffda5c55,inset 0 0 9px #bfefff44;overflow:clip}.official-cynthia-art{height:130px;width:190px;align-self:end;overflow:clip;mask-image:linear-gradient(90deg,#000 85%,transparent)}.official-cynthia-art svg{width:100%;height:100%;object-fit:contain}.official-cynthia h2{font-size:26px;line-height:1.15;font-style:italic;color:#ffe46a;margin:0 0 8px}.official-cynthia p{font-size:16px;line-height:1.4;margin:0;color:#c9def2;max-width:400px}.official-cynthia.compact{min-height:94px;border-color:#68d7ff;margin-top:0}.official-cynthia.compact .official-cynthia-art{height:88px}.official-cynthia.compact h2{font-style:normal;color:white;font-size:25px}.official-cynthia.compact .official-gold{border:0;box-shadow:none;background:none;color:#e8f7ff;font-size:14px}.official-divider{height:24px;margin:14px 0 20px;text-align:center;color:#ffdd69;background:linear-gradient(transparent 45%,#ffda66 48%,#338fe1 51%,transparent 55%);font-size:22px}
.official-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.official-admin-card{position:relative;display:flex;align-items:center;gap:16px;min-height:124px;padding:22px 18px;text-align:left;color:#f6f8ff;border:2px solid #68dfff;border-radius:24px;overflow:hidden;background:repeating-linear-gradient(135deg,transparent 0 100px,#1e5d9b55 100px 120px),linear-gradient(145deg,#06427a,#041d3d 55%,#062855);box-shadow:0 0 8px #2fbaff66,inset 0 0 12px #6acfff55}.official-admin-card:after{content:'';position:absolute;right:-9px;bottom:-17px;width:80px;height:45px;border:4px solid #f2d473;border-radius:50%;transform:rotate(-38deg);pointer-events:none}.official-admin-card strong{font-size:18px;line-height:1.25;flex:1;min-width:0;overflow-wrap:normal}.official-medallion{display:grid;place-items:center;border:1px solid #f9d778;box-shadow:0 0 8px #ffce5355;border-radius:50%;color:#ffe16e;width:60px;height:60px;flex:none;background:radial-gradient(#62501f80,#092844)}.official-medallion svg{width:34px;height:34px}.official-arrow{width:28px;height:28px;display:grid;place-items:center;border:1px solid #58d9f3;border-radius:50%;flex:none;font-size:25px}
.alerts-hero{min-height:300px}.alerts-hero h1{color:white}.official-hero .official-ribbon{display:inline-block;background:linear-gradient(#f9415a,#a3001d 55%,#e60031);border:1px solid #ff9ac5;border-radius:6px;box-shadow:0 0 10px #ff26b4a0;color:white;font-size:14px;font-weight:850;padding:7px 16px;margin:0}.kanto-art{width:44%;right:0}.kanto-art img{position:absolute;object-fit:contain;height:auto;width:64%;filter:drop-shadow(0 0 13px #10baff80)}.kanto-art .charizard{top:-8%;right:2%;width:69%}.kanto-art .blastoise{bottom:-3%;left:0;width:62%}.kanto-art .venusaur{bottom:-10%;right:-3%;width:60%}.official-alert-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 4px;border:2px solid #ffe685;border-radius:23px;box-shadow:0 0 12px #ffdc73,inset 0 0 10px #51ccff77;background:linear-gradient(120deg,#071d3f,#010d20);margin:10px 0 24px}.official-alert-stats button{display:flex;align-items:center;justify-content:center;gap:14px;color:white;background:transparent;border:0;border-radius:0;border-right:1px solid #6f91cc;padding:6px 14px;min-height:68px;text-align:left}.official-alert-stats button:last-child{border:0}.official-alert-stats button>svg{width:35px;height:35px;color:#ffd940;flex:none}.official-alert-stats button:first-child>svg{color:#ff7474}.official-alert-stats button:last-child>svg{color:#ce87ff}.official-alert-stats span{font-size:14px;line-height:1.2}.official-alert-stats strong{display:block;font-size:34px;line-height:1.1;color:#ffe269}.official-alert-stats [aria-pressed=true]{background:#11447666;box-shadow:inset 0 -3px #44d8ff}.official-section-title{font-size:25px;font-style:italic;line-height:1.2;display:flex;align-items:center;gap:12px;margin:24px 0 15px;color:#f6f8ff;background:linear-gradient(90deg,#08649a,#073674 55%,transparent);border-radius:30px;padding:9px 16px;box-shadow:inset 2px 2px 3px #38dcff}.official-section-title small{margin-left:auto;font-size:12px;font-style:normal;color:#fff1a6}.official-alert-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:22px}.official-alert-card{border:2px solid #d596ff;border-radius:22px;padding:18px;background:radial-gradient(circle at 80% 20%,#54238499,transparent 70%),linear-gradient(#25105b,#14143c);box-shadow:0 0 10px #a83eff99,inset 0 0 12px #a761ff77;display:flex;flex-direction:column;min-width:0;overflow:hidden}.official-alert-heading{display:flex;gap:12px;align-items:center;margin-bottom:12px}.official-alert-heading img{width:80px;height:85px;object-fit:contain;border:1px solid #c4b2ff;border-radius:50%;background:radial-gradient(#10588c,#04162b);flex:none}.official-alert-heading>div{min-width:0}.official-alert-card h3{font-size:18px;line-height:1.2;overflow-wrap:anywhere;margin:8px 0 0}.official-status{display:inline-block;font-size:12px;font-weight:800;border-radius:14px;padding:4px 12px;background:linear-gradient(#fff26e,#ffbf00);color:#091626}.official-alert-detail{flex:1;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.official-alert-detail p{margin:9px 0}.official-alert-detail small{font-size:12px;opacity:.85}.official-alert-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.official-alert-actions button{flex:1;min-width:140px;min-height:44px;font-size:14px;padding:9px 10px}.official-review{background:#061e4660;border:1px solid #819ad0;color:#e4edff;border-radius:20px}.official-dealer-alert{background:radial-gradient(ellipse at 90% 0,#fffdf1,transparent 70%),linear-gradient(135deg,#fff5c9,#ffe19c);border-color:#fff0b2;box-shadow:0 0 10px #ffca3f99,inset 0 0 14px #ffe69d;color:#071629}.official-dealer-alert .official-status{background:linear-gradient(#7a5600,#281900);color:#ffe263}.official-dealer-alert .official-review{color:#062544;background:#fff7d680;border-color:#a08239}.official-dealer-alert .badge{color:#08314f;background:#ffefbb;border-color:#9c8240}.official-empty{grid-column:1/-1;border:1px solid #315779;border-radius:18px;background:#061c31;padding:25px;color:#b9cee4;line-height:1.5}.official-bottom{position:fixed;bottom:0;left:0;right:0;z-index:40;display:flex;justify-content:center;gap:20px;padding:8px 16px max(8px,env(safe-area-inset-bottom));background:#03172bf5;border-top:1px solid #67c8ff;box-shadow:0 -4px 18px #004c8155}.official-bottom button{display:flex;align-items:center;justify-content:center;gap:9px;width:140px;background:none;border:0;border-radius:12px;color:#bed7ee;font-size:14px;min-height:45px}.official-bottom svg{width:26px;height:26px}
/* Reuse all existing HOME filters, forms, permissions and API handlers. */
.official-active .reserve-content{max-width:1240px;padding:24px;margin:auto}.official-active .reserve-permission-link{border:2px solid #ffe882;border-radius:13px;background:linear-gradient(#132333,#040f20);box-shadow:0 0 12px #ffd74d77;color:#ffe58a;font-weight:800;font-size:16px;padding:12px 20px;margin:0 auto 16px;min-height:44px}.official-active .reserve-title{position:relative;min-height:220px;padding:14px 0;display:flex;align-items:center;isolation:isolate;margin:0 0 20px;overflow:clip}.official-active .reserve-title>div:first-child{width:58%;position:relative;z-index:2}.official-active .reserve-title h1{font-size:40px;font-weight:900;font-style:italic;color:#f6f8ff;line-height:1.05;letter-spacing:-1px}.official-active .reserve-title h1>span{display:block;font-size:74px;letter-spacing:-3px;color:#ffcf3d;text-shadow:0 2px #a36500,0 4px #714100,0 0 13px #ffdf4977}.official-active .reserve-title p{font-size:16px;max-width:450px;margin-top:12px}.official-home-art{position:absolute;right:2%;top:0;height:100%;width:39%;max-width:400px;pointer-events:none;background:radial-gradient(ellipse at 60% 90%,#28b8ff66,transparent 60%)}.official-home-art>img{position:absolute;height:68%;width:55%;object-fit:contain;bottom:-2%;left:-12%;filter:drop-shadow(0 0 8px #39d9ff)}.home-hologram{position:absolute;right:3%;top:0;bottom:5%;width:70%;border:2px solid #3ee8ff;border-radius:50%;box-shadow:0 0 12px #00cfff,inset 0 0 14px #00cfff;background:radial-gradient(ellipse at 50% 90%,#00b3d7aa,transparent 65%);transform:rotate(4deg);display:grid;place-content:center;text-align:center}.home-hologram:after{content:'';position:absolute;bottom:-12px;left:-10%;width:120%;height:35px;border:3px solid #6ef6ff;border-radius:50%;box-shadow:0 0 14px #008fff}.home-ball{position:absolute;top:-4px;left:20%;width:60%;aspect-ratio:1;border-radius:50%;border:3px solid #00172a;background:linear-gradient(#ff2452 0 43%,#001326 43% 54%,#e9f9ff 54%);box-shadow:inset -10px -8px 12px #0006,0 0 14px #b6f7ff}.home-ball:after{content:'';position:absolute;top:39%;left:37%;width:26%;height:26%;border:4px solid #001326;border-radius:50%;background:#eafbff}.home-hologram>strong{position:relative;margin-top:75px;font-size:26px;font-style:italic;color:#ffe545;text-shadow:2px 2px #214fa1}.home-hologram b{font-size:38px;color:#ddfff7;text-shadow:2px 2px #067955}
.official-active .reserve-tabs{gap:10px;margin-bottom:18px}.official-active .reserve-tabs button{flex:1;justify-content:center;max-width:350px;border:2px solid #2dc8ff;background:linear-gradient(#092b55,#020e24);color:#edf7ff;border-radius:17px 17px 5px 5px;font-size:18px;padding:14px;box-shadow:inset 0 -3px #0798eb,0 0 8px #0099ff44;min-height:57px}.official-active .reserve-tabs button.active{border-color:#ffe587;box-shadow:0 0 10px #ffdc6677,inset 0 -3px #ffd23a;background:linear-gradient(#443304,#100e05)}.official-active .reserve-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:end;gap:20px;padding:0;margin-bottom:24px}.official-active .reserve-filters{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(160px,1.1fr) minmax(180px,1.4fr);gap:14px;border:0;background:none;padding:0}.official-active .reserve-filters label{display:flex;flex-direction:column;align-items:stretch;gap:7px;font-size:14px;white-space:normal}.official-active .reserve-filters select{background:linear-gradient(#07386c,#02152d);border:1px solid #67e7ff;border-radius:13px;box-shadow:inset 0 2px 5px #5cccff80,0 0 8px #008fff66;height:48px;padding:9px 12px;font-size:14px;min-width:0}.official-active .reserve-filters .reserve-search{display:flex;flex-direction:row;align-items:center;align-self:end;height:48px;border:2px solid #64e6ff;border-radius:26px;background:linear-gradient(#092e55,#001022);box-shadow:inset 0 2px 6px #91e6ff60,0 0 9px #00baff66;padding:0 14px;grid-column:auto;width:auto}.official-active .reserve-search svg{width:24px;height:24px}.official-active .reserve-search input{font-size:15px;min-width:0}.official-active #reserve-add{position:static;width:auto;grid-column:1/-1;justify-self:start;min-height:48px;max-width:300px;font-size:17px;padding:12px 22px;border-radius:14px}.official-active .reserve-total{position:static;width:auto;height:auto;min-height:104px;border:2px solid #81ffe2;border-radius:18px;box-shadow:0 0 11px #02efc177,inset 0 0 9px #29ffcf66;background:linear-gradient(125deg,#075646,#001b28);padding:16px;gap:14px;font-size:14px}.official-active .reserve-total strong{font-size:27px;color:#ecfff6;text-shadow:0 0 7px #17e9ab88;white-space:normal}.official-active .reserve-columns{display:block}.official-active .reserve-columns.has-selection{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:22px}.official-active .reserve-panel{border:2px solid #be8bff;border-radius:22px;box-shadow:0 0 10px #a144fa66,inset 0 0 10px #436eff44;background:linear-gradient(140deg,#0d1941,#001122);overflow:visible}.official-active .reserve-inventory{padding:12px}.official-active .reserve-panel h2{font-size:24px;font-style:italic;letter-spacing:-.5px;border-bottom:0;padding:10px 10px 18px}.official-active .reserve-stock-head{display:none}.official-active .reserve-stock-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;border:0}.official-active .has-selection .reserve-stock-list{grid-template-columns:1fr}.official-active .reserve-stock-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(64px,.55fr) minmax(55px,.5fr);gap:12px;padding:15px;border:1px solid #b482fa;border-radius:18px;background:radial-gradient(ellipse at 10% 10%,#47307a88,transparent 70%),linear-gradient(#09274d,#001020);box-shadow:inset 0 0 9px #a664d955,0 0 5px #bc70ff77;font-size:14px;margin:0;min-height:155px}.official-active .reserve-stock-row.selected{border-color:#ffe477}.official-active .reserve-game-cell{display:none}.official-active .reserve-pokemon{gap:9px}.official-active .reserve-pokemon img{width:65px;height:76px;object-fit:contain}.official-active .reserve-pokemon strong{font-size:15px;line-height:1.25}.official-active .reserve-stock-row small{display:block;font-size:11px;line-height:1.3;color:#b9cce4;margin-bottom:4px}.official-active .reserve-stock-row .reserve-mobile-game{margin:6px 0 0;padding:4px 6px;background:#46347b88;border-radius:7px;font-size:10px}.official-active .reserve-stock-number strong{font-size:33px;color:#a9ff6c}.official-active .reserve-row-actions{grid-column:1/-1;display:flex;gap:12px}.official-active .reserve-row-actions button{flex:1;min-height:44px;max-width:230px;font-size:13px;padding:9px;border-radius:12px}.official-active .reserve-remove{color:#ffc2cf;border-color:#af6078;background:#291b3555}.official-active .reserve-out-panel{position:sticky;top:16px;border-color:#68f0dc}.official-active .reserve-out-top{display:block}.official-active .reserve-out-pokemon{border:0;display:grid;grid-template-columns:90px 1fr;align-items:center;padding:0;margin-bottom:18px}.official-active .reserve-out-pokemon img{width:90px;height:100px;grid-row:1/3}.official-active .reserve-out-pokemon>strong{font-size:20px}.official-active .reserve-out-fields label{font-size:14px;grid-template-columns:85px minmax(0,1fr)}.official-active .reserve-out-fields input,.official-active .reserve-out-fields select,.official-active .reserve-out-fields textarea{min-height:44px;font-size:14px}.official-active .reserve-history{margin-top:24px;border-color:#39b8ec}.official-active .reserve-history-row{border-color:#315376;font-size:14px;overflow-wrap:anywhere}.official-active .reserve-history-row .reserve-pokemon strong{font-size:14px}.official-active .reserve-history-row .reserve-pokemon img{width:42px;height:48px}.official-active .reserve-footnote{margin-top:24px}.official-active .reserve-content+.official-content{padding-top:0}.official-active .modal{max-height:calc(100dvh - 36px);overflow:auto;background:#061d36;border:1px solid #83ddff}.official-active .modal input,.official-active .modal select,.official-active .modal button{min-height:44px}
@media(min-width:1600px){.official-content,.official-active .reserve-content{max-width:1400px}.official-active .reserve-stock-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.official-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.official-active .reserve-columns.has-selection{grid-template-columns:1fr}.official-active .has-selection .reserve-stock-list{grid-template-columns:repeat(2,minmax(0,1fr))}.official-active .reserve-out-panel{position:static}.official-active .reserve-toolbar{grid-template-columns:1fr 220px}.official-active .reserve-filters{grid-template-columns:1fr 1fr}.official-active .reserve-filters .reserve-search{grid-column:1/-1}.official-cynthia{grid-template-columns:150px minmax(0,1fr) auto;gap:15px}.official-cynthia-art{width:150px}.official-cynthia h2{font-size:23px}.official-cynthia p{font-size:14px}.official-active .official-cynthia .official-gold{font-size:14px;padding:10px 16px}}
@media(max-width:600px){body.official-active{padding-bottom:85px}.official-content,.official-active .reserve-content{padding:16px 12px}.official-header{padding:10px 12px;gap:14px 8px}.official-brand{gap:6px}.official-brand img{width:36px;height:36px}.official-brand>span{font-size:20px}.official-brand small{font-size:6px;letter-spacing:1px}.official-account{gap:3px}.official-owner{padding:6px 8px;font-size:11px}.official-owner small{font-size:8px}.official-owner strong{max-width:65px}.official-bell,.official-menu{min-width:36px;padding:5px}.official-bell>svg,.official-menu>svg{width:23px;height:23px}.official-links{gap:20px;justify-content:space-between;font-size:13px}.official-links svg{width:19px;height:19px}.official-hero{min-height:175px;border-radius:16px;margin-bottom:16px}.official-hero-copy{padding:10px 0;width:62%}.official-hero h1{font-size:28px;letter-spacing:-1px;margin:12px 0}.official-hero p{font-size:13px;line-height:1.35}.admin-hero .official-hero-art{width:42%;right:-4%;top:10%}.official-back{font-size:12px;min-height:36px;padding:5px 12px}.official-admin-grid{gap:13px}.official-admin-card{display:grid;grid-template-columns:1fr auto;align-content:start;padding:14px 10px;gap:8px;min-height:134px;border-radius:18px}.official-admin-card strong{grid-column:1/-1;font-size:14px;line-height:1.25}.official-medallion{width:39px;height:39px}.official-medallion svg{width:24px;height:24px}.official-arrow{position:absolute;right:10px;top:20px;width:22px;height:22px;font-size:20px}.official-admin-card:after{width:55px;height:33px;opacity:.6}.official-cynthia{grid-template-columns:100px minmax(0,1fr);gap:8px 12px;padding:14px 12px 12px 0;border-radius:20px;min-height:140px;margin-top:22px}.official-cynthia-art{grid-row:1/3;align-self:stretch;height:100%;width:100px;min-height:116px}.official-cynthia-art svg{width:160px;height:100%;max-width:none;position:relative;left:-18px}.official-cynthia h2{font-size:20px;margin:0 0 7px;letter-spacing:-.4px}.official-cynthia p{font-size:12px;line-height:1.35}.official-active .official-cynthia .official-gold{grid-column:2;padding:8px 12px;font-size:13px;min-height:44px;gap:6px;width:100%}.official-cynthia.compact{grid-template-columns:90px 1fr;min-height:90px;padding:8px 10px 8px 0;gap:2px 8px}.official-cynthia.compact .official-cynthia-art{min-height:80px;width:90px;height:100%}.official-cynthia.compact .official-cynthia-art svg{width:135px;left:-10px}.official-cynthia.compact h2{font-size:21px;margin-bottom:3px}.official-active .official-cynthia.compact .official-gold{justify-content:flex-start;padding:4px 0;min-height:44px;font-size:12px}.alerts-hero{min-height:280px}.alerts-hero .official-hero-copy{width:59%}.alerts-hero h1{font-size:29px}.alerts-hero .official-ribbon{font-size:10px;white-space:nowrap;padding:6px 8px}.alerts-hero .official-hero-copy>p:not(.official-ribbon){max-width:178px;font-size:12px}.kanto-art{width:43%;top:30px;right:-2%;bottom:0}.kanto-art .charizard{top:0;right:-8%;width:95%}.kanto-art .blastoise{left:0;bottom:10%;width:100%}.kanto-art .venusaur{bottom:0;right:-10%;width:90%}.official-active .alerts-hero .official-blue{font-size:15px;padding:8px 16px}.official-alert-stats{padding:8px 2px;margin:12px 0 18px;border-radius:18px}.official-alert-stats button{padding:5px 7px;gap:7px;align-items:flex-start;min-height:65px}.official-alert-stats button>svg{width:20px;height:23px;margin-top:7px}.official-alert-stats span{font-size:11px}.official-alert-stats strong{font-size:27px}.official-section-title{font-size:19px;padding:9px 10px;gap:7px}.official-section-title small{font-size:9px;text-align:right}.official-alert-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px}.official-alert-card{padding:12px 9px;border-radius:18px}.official-alert-heading{flex-wrap:wrap;align-items:flex-start;gap:7px}.official-alert-heading img{width:65px;height:65px}.official-alert-card h3{font-size:15px}.official-status{font-size:10px;padding:4px 8px}.official-alert-detail{font-size:12px}.official-alert-detail small{font-size:10px}.official-alert-actions{gap:8px;margin-top:12px}.official-alert-actions button{min-width:0;flex-basis:100%;font-size:12px}.official-bottom{gap:0;padding:5px 6px max(8px,env(safe-area-inset-bottom))}.official-bottom button{width:25%;flex-direction:column;gap:4px;font-size:12px;min-height:53px}.official-bottom svg{width:25px;height:25px}
.official-active .reserve-permission-link{font-size:13px;padding:10px 12px;margin-bottom:12px}.official-active .reserve-title{min-height:175px;margin-bottom:14px}.official-active .reserve-title>div:first-child{width:58%}.official-active .reserve-title h1{font-size:29px}.official-active .reserve-title h1>span{font-size:57px;letter-spacing:-2px}.official-active .reserve-title p{font-size:12px;line-height:1.35;max-width:175px}.official-home-art{width:40%;right:0;top:14px;height:145px}.home-hologram{width:85%;right:0;top:4px;bottom:5px}.home-hologram>strong{font-size:17px;margin-top:50px}.home-hologram b{font-size:26px}.home-ball{width:70%;left:15%}.official-home-art>img{width:58%;height:65%;left:-10%;bottom:1%}.home-hologram:after{height:20px;bottom:-8px;border-width:2px}.official-active .reserve-tabs{gap:8px;margin:0 0 16px}.official-active .reserve-tabs button{font-size:14px;padding:10px 7px;min-height:50px;gap:7px;border-radius:14px 14px 3px 3px}.official-active .reserve-tabs svg{width:24px;height:24px}.official-active .reserve-toolbar{grid-template-columns:1fr 1fr;gap:14px 10px;position:relative;padding-bottom:102px;margin-bottom:20px}.official-active .reserve-filters{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:14px 10px}.official-active .reserve-filters label{font-size:13px;gap:6px}.official-active .reserve-filters select{font-size:13px;height:45px;padding:8px}.official-active .reserve-filters .reserve-search{grid-column:1/-1;height:46px}.official-active #reserve-add{position:absolute;bottom:0;right:0;width:49%;min-height:88px;font-size:15px;padding:9px 7px;white-space:normal;gap:5px}.official-active #reserve-add svg{width:25px;height:25px}.official-active .reserve-total{position:absolute;left:0;bottom:0;width:49%;height:88px;min-height:0;padding:9px 8px;font-size:11px;gap:8px;border-radius:15px;align-items:center}.official-active .reserve-total>svg{width:26px;height:26px;flex:none}.official-active .reserve-total strong{font-size:19px;line-height:1.15}.official-active .reserve-panel{border-radius:18px}.official-active .reserve-inventory{padding:9px}.official-active .reserve-panel h2{font-size:21px;padding:8px 4px 16px;gap:9px}.official-active .reserve-stock-list,.official-active .has-selection .reserve-stock-list{grid-template-columns:1fr;gap:13px}.official-active .reserve-stock-row{grid-template-columns:minmax(0,1.8fr) minmax(55px,.6fr) minmax(44px,.5fr);gap:9px;padding:12px 9px;min-height:150px;font-size:12px}.official-active .reserve-pokemon img{width:54px;height:65px}.official-active .reserve-pokemon strong{font-size:14px}.official-active .reserve-stock-row small{font-size:10px}.official-active .reserve-stock-row .reserve-mobile-game{font-size:9px;padding:3px 5px}.official-active .reserve-stock-number strong{font-size:30px}.official-active .reserve-row-actions{gap:10px}.official-active .reserve-columns.has-selection{gap:20px}.official-active .reserve-out-fields label{grid-template-columns:80px minmax(0,1fr);font-size:13px}.official-active .reserve-history-row{grid-template-columns:.9fr 1.3fr 1fr 1fr;font-size:11px;padding:12px 6px;gap:8px 6px}.official-active .reserve-history-row .reserve-pokemon{flex-direction:column;align-items:flex-start;gap:5px}.official-active .reserve-history-row .reserve-pokemon strong{font-size:12px}.official-active .reserve-footnote>span{margin-left:0}.official-active .reserve-footnote>div{min-width:0}}
@media(prefers-reduced-motion:reduce){.official-active *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.official-alert-card{max-width:560px}.official-bottom{background:#03172b}.kanto-art .charizard{width:65%;right:0;top:-6%}.kanto-art .blastoise{width:53%;bottom:-4%}.kanto-art .venusaur{width:50%;bottom:-5%}
@media(max-width:600px){.kanto-art .charizard{width:95%;top:0;right:-8%}.kanto-art .blastoise{width:90%;bottom:8%}.kanto-art .venusaur{width:85%;bottom:0}.official-alert-card{max-width:none}}

/* Reservas HOME: the illustrated headings and the live controls scale independently. */
.home-reserves-page .official-header {flex-wrap:nowrap;padding-block:5px;gap:8px;background:#010e20;border-image:linear-gradient(90deg,#e896ff,#7af9ff,#ffd464,#c843f2) 1}
.home-reserves-page .official-brand {min-width:0;flex:0 1 375px}
.home-reserves-page .official-brand .home-brand-art {display:block;width:100%;height:auto;object-fit:contain}
.home-reserves-page .official-links {display:none}
.official-menu-open .home-reserves-page .official-links {display:flex;position:absolute;z-index:101;right:12px;top:50px;width:min(320px,94vw);justify-content:space-around;padding:10px 4px;background:#041b35;font-size:13px}
.home-reserves-page .official-owner {background:#061020;box-shadow:0 0 6px #f9d861,inset 0 0 4px #a57824}
.home-reserves-page .reserve-permission-link {margin:0 auto 4px;min-height:40px;padding:6px 14px;box-shadow:0 0 4px #fff3c1,0 0 10px #ffbb26}
.home-reserves-page .reserve-title.home-banner {display:block;margin:0 auto 4px;padding:0;min-height:0;width:min(100%,800px)}
.home-reserves-page .home-banner h1 {margin:0;line-height:0}
.home-reserves-page .home-banner img,.home-reserves-page .home-stock-heading img {display:block;width:100%;height:auto}
.home-reserves-page {background:radial-gradient(ellipse at 85% 20%,#041e40,transparent 50%),#020c1c}
.home-reserves-page .reserve-tabs {margin-block:0 12px;justify-content:center;gap:5px}
.home-reserves-page .reserve-tabs button {min-height:44px;padding:8px;box-shadow:inset 0 -2px #0bbaff,0 1px 9px #0082ed}
.home-reserves-page .reserve-tabs button.active {box-shadow:inset 0 -2px #ffc52e,0 0 8px #fcca40}
.home-reserves-page .reserve-inventory {padding:0;background:transparent;border:0;box-shadow:none}
.home-reserves-page .reserve-inventory .home-stock-heading {display:block;width:min(100%,520px);margin:0;padding:0}
.home-reserves-page .reserve-stock-list {padding:12px;border:2px solid #d7b8ff;border-radius:16px;box-shadow:0 0 9px #7454dc,inset 0 0 9px #162e76;background:#030e24}
.home-reserves-page .reserve-stock-row {grid-template-columns:minmax(0,2fr) minmax(0,.75fr) minmax(0,.7fr) minmax(0,1fr);padding:10px;min-height:110px;gap:6px;border:1px solid #cfa4ff;box-shadow:inset 0 0 8px #a66bea99,0 0 6px #8d54d8}
.home-reserves-page .reserve-stock-row>div:nth-child(3),.home-reserves-page .reserve-stock-number {border-left:1px solid #738298;padding-left:5px;text-align:center;overflow-wrap:anywhere}
.home-reserves-page .reserve-stock-row .reserve-pokemon img {width:clamp(36px,5vw,62px);height:auto;aspect-ratio:1;filter:drop-shadow(0 0 4px #b469ff)}
.home-reserves-page .reserve-row-actions {grid-column:auto;display:grid;gap:2px}
.home-reserves-page .reserve-row-actions button {white-space:normal;min-height:40px;padding:4px;font-size:12px}
.home-reserves-page .reserve-row-actions .reserve-remove {font-size:10px;min-height:26px;border:0;background:transparent}
@media(max-width:600px){
 .home-reserves-page .official-header {padding:0 4px 0 0}
 .home-reserves-page .official-account {flex:none}
 .home-reserves-page .reserve-content {padding:10px 8px 16px}
 .home-reserves-page .reserve-tabs button {min-height:40px;font-size:13px}
 .home-reserves-page .reserve-toolbar {padding-bottom:68px;margin-bottom:12px}
 .home-reserves-page .reserve-filters {gap:10px}
 .home-reserves-page .reserve-filters select {height:39px}
 .home-reserves-page .reserve-filters .reserve-search {height:40px}
 .home-reserves-page #reserve-add,.home-reserves-page .reserve-total {min-height:56px;height:56px}
 .home-reserves-page .reserve-stock-list {padding:8px;gap:9px}
 .home-reserves-page .reserve-stock-row {padding:7px 5px;gap:4px;font-size:11px}
 .home-reserves-page .reserve-stock-row .reserve-pokemon {gap:4px}
 .home-reserves-page .reserve-stock-row .reserve-pokemon strong {font-size:12px}
 .home-reserves-page .reserve-stock-number strong {font-size:26px}
 .home-reserves-page .reserve-row-actions button {font-size:11px}
}
.home-reserves-page .reserve-filters label:has(select) {position:relative}
.home-reserves-page .reserve-filters label:has(select)::before {position:absolute;left:10px;bottom:13px;z-index:1;pointer-events:none;width:20px;height:20px;content:''}
.home-reserves-page .reserve-filters label:has(#reserve-group)::before {border-radius:50%;border:1px solid #020b1a;background:radial-gradient(circle,#fff 0 15%,#092037 17% 26%,transparent 28%),linear-gradient(#ed3847 45%,#07182b 46% 56%,#f9f9ff 57%);box-shadow:0 0 4px #a6cfff}
.home-reserves-page .reserve-filters label:has(#reserve-game)::before {border:1px solid #bacfe5;border-radius:5px;background:radial-gradient(circle at 25% 28%,#082037 9%,transparent 12%),radial-gradient(circle at 76% 67%,#082037 9%,transparent 12%),linear-gradient(90deg,#d9eaff 0 44%,#082037 45% 55%,#d9eaff 56%)}
.home-reserves-page .reserve-filters label select {padding-left:37px}
.home-reserves-page .reserve-stock-number small {white-space:nowrap;font-size:clamp(8px,2.2vw,11px);letter-spacing:-.35px}

/* The semantic title is painted even while the browser decodes the local artwork. */
.home-reserves-page .home-banner h1,
.home-reserves-page .home-stock-heading {position:relative;isolation:isolate}
.home-reserves-page .reserve-heading-copy {position:absolute;inset:0;display:flex;align-items:center;padding-inline:5%;line-height:1.15;color:#ffe387;background:linear-gradient(120deg,#071729,#102e54);font-size:clamp(17px,3.8vw,32px)}
.home-reserves-page .home-banner img,
.home-reserves-page .home-stock-heading img {position:relative;z-index:1}

/* The masthead shows the background painted by the current page. */
#root > #community-header.topbar{
 position:relative;inset:auto;z-index:12;display:flex!important;flex-direction:column;align-items:stretch;justify-content:center;gap:5px;
 width:100%;max-width:1180px;height:auto;min-height:0;margin:0 auto;padding:12px clamp(12px,3.2vw,32px) 8px;
 border:0;border-bottom:1px solid #99d2ef33;border-radius:0;background:transparent;box-shadow:none;color:#edf7ff;
}
.community-brand-row,.community-links,.community-brand,.community-links a{display:flex;align-items:center}
.community-brand-row{gap:clamp(8px,1.6vw,16px)}
.community-brand{min-width:0;gap:clamp(6px,1.8vw,16px);margin-right:auto;color:inherit;text-decoration:none}
.community-brand img{width:clamp(37px,8.8vw,69px);height:clamp(37px,8.8vw,69px);object-fit:contain}
.community-brand strong{font:750 clamp(12px,3.1vw,25px)/1.12 system-ui,sans-serif;letter-spacing:.012em}
.community-brand em{font-style:normal;color:#f0cb68}
#community-bell,.community-account summary{display:grid;place-items:center;height:44px;width:44px;min-width:0;padding:0;cursor:pointer;border:0;box-shadow:none;background:none;color:#8dd1eb}
#community-bell{position:relative;margin:0 4px;overflow:visible}#community-bell svg{width:31px;height:31px}
#community-bell .cynthia-alert-badge,#community-bell .cynthia-notification-badge{position:absolute;top:-4px;width:19px;height:19px;min-width:19px;font:800 12px/15px system-ui;text-align:center;border-radius:50%;border:2px solid white;color:white;display:grid;place-items:center;padding:0}
#community-bell .cynthia-alert-badge{right:-4px;left:auto;background:#d50c38}#community-bell .cynthia-notification-badge{left:-5px;right:auto;background:#692792}
#community-header [hidden]{display:none!important}
.community-account{position:relative;padding:0;border:0;margin:0;background:none}
.community-account summary{border:2px solid #85cce6;border-radius:50%;overflow:hidden;list-style:none}
.community-account summary::-webkit-details-marker{display:none}.community-account summary img{width:100%;height:100%;object-fit:cover;border:0}.community-account summary svg{width:70%}
.community-account>div{position:absolute;z-index:2;right:0;top:100%;min-width:142px;padding:5px;border:1px solid #52839a;border-radius:10px;background:#112332}
.community-account>div>*{display:block;width:100%;padding:10px;color:white;text-align:left;font:600 14px system-ui;background:none;border:0;text-decoration:none}
.community-links{gap:clamp(12px,3.2vw,34px);flex-wrap:wrap}.community-links a{min-height:44px;gap:7px;color:#e7f4ff;text-decoration:none;font:700 clamp(13px,3vw,20px)/1.1 system-ui}
.community-links svg{width:clamp(20px,5vw,30px);height:30px;color:#c4e9ff}
.section-menu-row{display:flex;justify-content:flex-end;padding:4px 16px}.section-menu-row button{display:inline-flex;align-items:center;gap:6px;min-height:36px;color:inherit;background:transparent}.section-menu-row svg{width:20px;height:20px}
body.users-reference #trainer-menu-button{position:relative;inset:auto;margin:5px 14px}

.reserve-menu-open .section-menu-row,.official-menu-open .section-menu-row{position:relative;z-index:65;pointer-events:none}.section-menu-row button{pointer-events:auto}

#root > #community-header.topbar{gap:0;padding-block:6px 0}
.community-brand img{width:clamp(34px,8vw,50px);height:clamp(34px,8vw,50px)}
body.users-reference{background:#03142a url('/celebi-night.webp') center top / 100% clamp(270px,53vw,490px) no-repeat}
body.users-reference #community-header{border-bottom:0;text-shadow:0 1px 5px #001028}
.users-back{display:block;width:max-content;margin:2px 0 0 max(14px,calc((100vw - 1090px)/2));padding:6px 12px;min-height:40px;color:#ffde7b;background:#051a30d9;border:1px solid #e6c065;border-radius:10px;font-weight:700}
.users-reference .approved-users .users-title{margin-top:0;padding-top:12px;min-height:0}
.users-reference .users-title h1,.users-reference .users-title p{text-shadow:0 2px 4px #001024,0 0 8px #001024}

/* The SVG viewport frames the original drawing at every screen width. */
.approved-users .users-celebi{top:0;right:0;width:27%;height:100%;filter:none;pointer-events:none}

/* Keep the orbital scene at its natural aspect ratio on both layouts. */
body:has(.cosmic-profile){
 background:#030c1a url('/profile-art/profile-sky.webp') center top / min(100%,1536px) auto repeat-y;
}
body:has(.cosmic-profile) #root>#community-header{background:transparent;border:0;box-shadow:none;text-shadow:0 1px 5px #000}
body:has(.cosmic-profile) #trainer-menu-button{display:none}
.cosmic-profile .page-head{background:none;border:0}
.cosmic-profile .page-head h1{color:#fff4d5;text-shadow:0 2px #6b3e14,0 0 6px #eda342;font-size:clamp(32px,4vw,64px);line-height:1.1}
.cosmic-profile .page-head p{color:#eef7ff;text-shadow:0 1px 4px #000}
.cosmic-profile .trainer-name-card{
 position:relative;container-type:inline-size;width:100%;max-width:540px;aspect-ratio:887/1135;
 margin:0 auto 1.2rem;padding:0;border:0;border-radius:0;box-shadow:none;
 background:transparent image-set(url('/profile-art/trainer-panel.webp') 1x,url('/profile-art/trainer-panel-hd.webp') 2x) center/100% 100% no-repeat;
}
/* Artwork carries the fixed title, label and button lettering. Their live
   equivalents remain available to assistive technology and keyboard users. */
.trainer-name-card h2,.trainer-name-card #username-form>label{color:transparent;text-shadow:none}
.trainer-name-card h2{position:absolute;inset:6% 22% auto 7%;margin:0;font-size:3.8cqw;pointer-events:none}
.trainer-name-card #username-form{display:contents}
.trainer-name-card #username-form>label{position:absolute;left:9%;right:9%;top:27.7%;height:14%;font-size:3cqw}
.trainer-name-card #username-form input{position:absolute;left:0;top:46.7%;width:100%;height:52%;min-height:0;background:linear-gradient(115deg,#11334a,#124462 68%,#092c48);color:#fff;border:0;border-radius:4px;padding:0 2%;font-size:clamp(18px,5.8cqw,30px);text-shadow:0 0 4px #9e79ff}
.trainer-name-card #username-form .help:not([role]){
 position:absolute;top:47.2%;left:8.4%;width:82%;height:19%;margin:0;padding:0 1% 0 0;
 background:#061d32;color:#e2efff;font:400 clamp(12px,3.85cqw,20px)/1.13 system-ui;
 clip-path:polygon(0 0,100% 0,100% 48%,89% 62%,85% 100%,0 100%);
}
.trainer-name-card #username-form .help:not([role]):before{content:'';float:right;shape-outside:polygon(100% 45%,100% 100%,0 100%);width:17%;height:100%}
.trainer-name-card #username-form .primary{position:absolute;left:18.2%;width:61.6%;top:66.2%;height:12.4%;margin:0;padding:0;background:transparent;border:0;box-shadow:none;color:transparent;text-shadow:none}
.trainer-name-card #username-form :focus-visible{outline:3px solid #fff1aa;outline-offset:2px}
.trainer-name-card #username-result:empty{display:none}
@media(max-width:700px){
 body:has(.cosmic-profile) .main{padding-inline:0}
 .cosmic-profile .page-head{position:relative;width:100%;aspect-ratio:887/314;margin:0;padding:0;background:image-set(url('/profile-art/mobile-intro.webp') 1x,url('/profile-art/mobile-intro-hd.webp') 2x) center/contain no-repeat;mask-image:linear-gradient(transparent,#000 15%)}
 .cosmic-profile .page-head>div{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .cosmic-profile>.card:not(.trainer-name-card){margin-inline:12px}
}
@media(min-width:701px){
 .cosmic-profile .page-head{max-width:780px;margin:0 auto 20px;text-align:center;display:block}
 .cosmic-profile .trainer-name-card{max-width:min(540px,100%)}
}
@media(forced-colors:active){
 .cosmic-profile .trainer-name-card{aspect-ratio:auto;padding:1rem}
 .trainer-name-card h2,.trainer-name-card #username-form>label,.trainer-name-card #username-form input,.trainer-name-card #username-form .help:not([role]),.trainer-name-card #username-form .primary{position:static;display:block;width:100%;height:auto;clip-path:none;color:CanvasText}
}

/* Continue the illustrated trainer panel with live account controls. */
.cosmic-profile > :is(.trainer-details,.trainer-security){
 box-sizing:border-box; position:relative; isolation:isolate;
 width:calc(100% - 16px); max-width:540px; margin:0 auto 18px;
 padding:clamp(16px,3vw,28px); border:2px solid transparent; border-radius:20px;
 background:linear-gradient(145deg,#0a2941ee,#04152aef 60%,#103451f5) padding-box,
            linear-gradient(130deg,#ffeda0,#bb8934 17%,#59def4 38%,#183e69 56%,#ffe599 82%,#9c6c24) border-box;
 box-shadow:inset 0 0 0 3px #061426,inset 0 0 0 4px #488fa2,0 0 16px #279dcc30;
}
.cosmic-profile .trainer-details::before,.cosmic-profile .trainer-security::before{
 content:"";position:absolute;inset:5px;z-index:-1;pointer-events:none;border-radius:15px;
 background:linear-gradient(180deg,#02132850,#04162af5 390px),url('/profile-art/profile-sky.webp') center top/100% auto no-repeat;
}
.cosmic-profile .trainer-details .profile-hero{padding:4px 0 16px;border-bottom:1px solid #43879b}
.cosmic-profile .trainer-details .profile-main-avatar{border:3px solid #f9d379;box-shadow:0 0 0 3px #102a41,0 0 16px #2ed3e899}
.cosmic-profile .trainer-details .profile-hero h2{color:#fff2ca;overflow-wrap:anywhere}
.cosmic-profile .trainer-details .profile-readonly-grid{gap:8px}
.cosmic-profile .trainer-details .profile-readonly-grid>div{padding:10px;border-left:2px solid #42c4db;background:#09283ce6;border-radius:3px;min-width:0;overflow-wrap:anywhere}
.cosmic-profile :is(.trainer-details,.trainer-security) small{color:#acd8e5}
.cosmic-profile :is(#profile-form,#password-form)>label{color:#eef8ff}
.cosmic-profile :is(#profile-form,#password-form)>label input{
 background:linear-gradient(110deg,#092336,#10344a);border:1px solid #5db2c6;border-radius:9px;color:white;
 box-shadow:inset 0 2px 4px #020c1b80;
}
.cosmic-profile :is(#profile-form,#password-form)>label input:focus-visible{outline:2px solid #ffdf89;outline-offset:2px}
.cosmic-profile :is(.trainer-details,.trainer-security) .help{color:#c1d6e5}
.cosmic-profile :is(.trainer-details,.trainer-security) .primary{border:2px solid #f3cb74;background:linear-gradient(#134966,#06243d);color:#ffe395;box-shadow:inset 0 0 0 2px #206e87;min-height:46px}
.cosmic-profile .trainer-details .avatar-option.selected,.cosmic-profile .trainer-details .avatar-option:has(:checked){outline:2px solid #ffda79;outline-offset:-2px}
@media(max-width:700px){
 .cosmic-profile > .card:is(.trainer-details,.trainer-security){margin-inline:auto}
 .cosmic-profile .trainer-name-card{margin-bottom:4px}
}
/* One surface from the platform through the last account control. */
.cosmic-profile .trainer-scene{
 width:min(100%,540px);margin-inline:auto;container-type:inline-size;
 background:#06192b url('/profile-art/circuit-floor.svg') center top/100% auto repeat-y;
}
.trainer-scene .trainer-name-card{margin:0}
.trainer-scene .trainer-details{z-index:1}
.trainer-scene .trainer-name-card #username-form .primary{z-index:2}

.trainer-scene :is(.trainer-details,.trainer-security){
 width:100%;max-width:none;margin:0;padding:20px 7%;border:0;border-radius:0;
 background:transparent;box-shadow:none;text-shadow:0 1px 4px #000;
}
.trainer-scene .trainer-details{padding-top:10cqw}
.trainer-scene :is(.trainer-details,.trainer-security)::before{content:none}
.trainer-scene .trainer-details .profile-hero{border:0;padding-bottom:6px}
.trainer-scene .trainer-details .profile-readonly-grid>div{background:transparent;border:0;padding:6px 0}
.trainer-scene :is(#profile-form,#password-form)>label input{
 border:1px solid #54dfed;background:#051b2edb;border-radius:6px;
 box-shadow:0 0 5px #40bec7,inset 0 0 0 2px #123f50;
}

/* Align the live trainer record with the platform and HUD of the reference. */
.trainer-scene .trainer-details{position:relative;padding-top:5.4cqw;isolation:isolate}
.trainer-scene .trainer-details::before{
 content:"";position:absolute;z-index:-1;inset:-31.86cqw 0 auto;aspect-ratio:710/715;border-radius:0;pointer-events:none;
 background:image-set(url('/profile-art/platform-console.webp') 1x,url('/profile-art/platform-console-hd.webp') 2x) center top/100% auto no-repeat;
 mask-image:linear-gradient(transparent,#000 5%,#000 84%,transparent);
}
.trainer-scene .trainer-details .profile-hero{
 position:relative;z-index:2;display:grid;grid-template-columns:20cqw minmax(0,1fr);
 column-gap:5cqw;align-items:center;padding:0;min-height:26cqw
}
.trainer-scene .profile-hero .profile-main-avatar{width:19.5cqw;height:19.5cqw}
.trainer-scene .profile-hero h2{font-size:clamp(22px,5.7cqw,32px);line-height:1.1;margin:0;color:#f1f5fa}
.trainer-scene .profile-hero p{margin:3.4cqw 0}
.trainer-scene .trainer-details .profile-readonly-grid{grid-template-columns:1fr 1fr;column-gap:4cqw;row-gap:1cqw}
.trainer-scene .profile-readonly-grid strong{display:block}
.trainer-scene :is(#profile-form,#password-form)>label input{
 border:2px solid #48d5e3;border-radius:5px;
 background:linear-gradient(#74ecf7,#74ecf7) left 4px top 4px/14px 2px,
 linear-gradient(#74ecf7,#74ecf7) left 4px top 4px/2px 10px,
 linear-gradient(#74ecf7,#74ecf7) right 4px bottom 4px/14px 2px,
 linear-gradient(#74ecf7,#74ecf7) right 4px bottom 4px/2px 10px,#041829dd;
 background-repeat:no-repeat;box-shadow:0 0 8px #18c4dc80,inset 0 0 9px #22acc850
}

/* Celestial delivery — native controls, independent artwork and vector sky. */
body:has(#order-items){background:#041625 url('/order-art/starfield.svg') center top/1200px auto repeat-y;color:#eef6ff}
body:has(#order-items) .site-header,body:has(#order-items) .app-header,body:has(#order-items) header{background:transparent!important;border-bottom:0!important;box-shadow:none!important;backdrop-filter:none}
body:has(#order-items) .community-links{position:relative;padding-right:54px}
body:has(#order-items) .community-links:after{content:"";position:absolute;right:-8px;top:-12px;width:72px;height:72px;background:url('/order-art/jirachi.webp') center/contain no-repeat;pointer-events:none;filter:drop-shadow(0 0 8px #ffe27b55)}
body:has(#order-items) .community-links a{gap:5px}
body:has(#order-items) .community-links a svg{display:none}
body:has(#order-items) .community-links a:before{content:"";width:30px;height:34px;flex-shrink:0;background:center/contain no-repeat}
body:has(#order-items) .community-links a:nth-child(1):before{background-image:url('/order-art/mew.webp')}
body:has(#order-items) .community-links a:nth-child(2):before{background-image:url('/order-art/celebi.webp')}
body:has(#order-items) .community-links a:nth-child(3):before{background-image:url('/trainers/1.png')}
body:has(#order-items) #trainer-menu-button{background:#071b2d88;border:1px solid #6f93b63b;border-radius:18px;padding:16px 20px;position:relative;z-index:2;margin-bottom:16px}
#workspace:has(#order-items){position:relative;isolation:isolate;background:transparent;max-width:1080px;margin-inline:auto;padding-bottom:120px}
#workspace:has(#order-items) .order-hero-pokemon{position:absolute;z-index:-1;pointer-events:none;object-fit:contain;right:0;top:-90px;width:min(75vw,475px);height:auto;opacity:.8;filter:drop-shadow(0 0 16px #ffe07977);mask-image:linear-gradient(#000 70%,transparent 100%)}
#workspace:has(#order-items)>.page-head{min-height:180px;margin-bottom:16px;padding:10px 0 20px;text-shadow:0 2px 8px #000}
#workspace:has(#order-items)>.page-head h1{font-size:clamp(27px,4vw,46px);line-height:1.16;color:#f7f8ff;max-width:650px}
#workspace:has(#order-items)>.page-head p{max-width:630px;color:#d4dfed}
#workspace:has(#order-items) .eyebrow{letter-spacing:.18em}
#local-orders-panel{position:relative;isolation:isolate;overflow:hidden;border-radius:24px;border:1px solid #aab8e442;background:linear-gradient(180deg,#482042e8 0%,#282042ed 46%,#071a2deb 47%,#334456e8 100%);box-shadow:inset 0 1px 12px #ebc7ff22,0 12px 30px #0005;padding:24px;margin-bottom:32px}
#local-orders-panel:before{content:"";position:absolute;z-index:-1;top:42%;left:44%;width:60px;height:60px;border:12px solid #04111f88;border-radius:50%;background:#899cb422;box-shadow:0 0 0 2px #aab6cc22}
#local-connection-status{font-weight:700;font-size:17px;line-height:1.35}
#local-orders-panel .help{color:#ced4e3}
#local-retry{position:relative;margin-top:8px;background:#0b2038;border:2px solid #9e81cc;border-left-color:#70dcff;border-radius:13px;box-shadow:-3px 0 12px #4bdbff66,3px 0 12px #f450cf66;padding:13px 16px;color:white;font-weight:700;white-space:normal}
#workspace:has(#order-items) .order-settings{position:relative;isolation:isolate;padding:23px 18px 18px;border:3px solid #c8a754;border-radius:23px;background:linear-gradient(140deg,#213148ce,#071522e8);box-shadow:inset 0 0 0 2px #f9dc8870,0 0 12px #e9ba4533;gap:16px;overflow:visible}
.order-guardians{position:absolute;pointer-events:none;inset:-30px 10px auto 22%;height:72px;z-index:-1;display:flex;justify-content:flex-end}
.order-guardians img{width:70px;object-fit:contain;filter:drop-shadow(0 1px 5px #000)}
.order-guardians img:first-child{margin-right:auto}
#workspace:has(#order-items) input,#workspace:has(#order-items) select,#workspace:has(#order-items) textarea{border:1px solid #b69d65;background:#061727ed;border-radius:12px;color:#f1f5ff;min-height:46px;box-shadow:inset 0 1px 6px #102b45}
#workspace:has(#order-items) input:focus,#workspace:has(#order-items) select:focus,#workspace:has(#order-items) textarea:focus{outline:2px solid #76dbfa;outline-offset:2px}
#workspace:has(#order-items) .card:not(#local-orders-panel):not(.order-settings){background:#091e31e8;border-color:#877648;box-shadow:0 0 0 1px #e3bd6020}
#workspace:has(#order-items) .save-bar{position:relative;bottom:auto;display:grid;grid-template-columns:1fr;background:transparent;border:0;box-shadow:none;padding:20px 0 0;gap:16px;backdrop-filter:none}
#order-total{color:#d7e3f1;text-shadow:0 1px 3px #000}
#request-order-approval{position:relative;min-height:55px;border:2px solid #7f9aac;border-radius:18px;background:linear-gradient(#34495edb,#1c3047ed);padding-right:85px}
#request-order-approval:after{content:"";position:absolute;right:-10px;bottom:-14px;width:115px;height:140px;background:url('/order-art/incineroar.webp') center/contain no-repeat;pointer-events:none}
#save-order{position:relative;min-height:57px;border:3px solid #f7df94;border-radius:30px;background:linear-gradient(105deg,#89601c,#fbe79a 45%,#b98520 75%,#e7c567);color:#211b0b;text-shadow:0 1px 1px #fff8;font-size:21px;font-weight:800;box-shadow:inset 0 0 0 2px #5f401b,0 0 0 2px #978059,0 4px 15px #f5c65533;padding-left:62px}
#save-order:before{content:"";position:absolute;left:12%;bottom:-2px;width:58px;height:70px;background:url('/order-art/victini.webp') center/contain no-repeat;pointer-events:none}
body:has(#order-items) #trainer-bottom{background:#041725f5;border-top:1px solid #718ba24d;box-shadow:0 -8px 24px #061a2b88}
body:has(#order-items) #trainer-bottom button span{display:block;width:30px;height:30px;margin:0 auto 5px;border:2px solid #a7c9e4;border-radius:50%;background:radial-gradient(circle at 50% 52%,#f6f8ff 0 14%,#243248 16% 26%,transparent 28%),linear-gradient(transparent 44%,#263247 45% 57%,transparent 58%),linear-gradient(#cf3849 0 50%,#dde6f4 51%);box-shadow:inset 3px 3px 5px #ffffff70,inset -3px -4px 6px #0009,0 0 6px #8ccfff55}
body:has(#order-items) #trainer-bottom button span svg{display:none}
body:has(#order-items) #trainer-bottom button:nth-child(2) span{filter:hue-rotate(310deg)}
body:has(#order-items) #trainer-bottom button:nth-child(3) span{filter:hue-rotate(260deg)}
body:has(#order-items) #trainer-bottom button:nth-child(4) span{filter:hue-rotate(65deg)}
@media(min-width:900px){#workspace:has(#order-items)>.page-head{min-height:250px;padding-top:48px;padding-right:28%}#workspace:has(#order-items) .order-hero-pokemon{right:2%;top:-55px;width:440px}body:has(#order-items){background-size:1440px auto}#local-orders-panel{padding:28px}#workspace:has(#order-items) .save-bar{grid-template-columns:1fr 1fr}#order-total{grid-column:1/-1}}
@media(max-width:480px){body:has(#order-items) .community-links{padding-right:35px;gap:9px}body:has(#order-items) .community-links a{font-size:13px}body:has(#order-items) .community-links a:before{width:24px}body:has(#order-items) .community-links:after{width:50px;right:-10px}#workspace:has(#order-items)>.page-head{min-height:170px}#local-orders-panel{padding:20px 17px}#save-order:before{left:9%}}
body:has(#order-items) #trainer-bottom button span{font-size:0}
#local-orders-panel:after{content:"M";position:absolute;top:9px;left:calc(50% - 9px);font:bold 20px Georgia,serif;color:#e4d8f13d;z-index:-1;pointer-events:none}

/* Order control shares the approved community navigation. */
body:has(#opening-controls) .site-header,body:has(#opening-controls) .app-header,body:has(#opening-controls) header{background:transparent!important;border-bottom:0!important;box-shadow:none!important;backdrop-filter:none}
body:has(#opening-controls) .community-links{position:relative;padding-right:54px}
body:has(#opening-controls) .community-links a{gap:5px}
body:has(#opening-controls) .community-links a svg{display:none}
body:has(#opening-controls) .community-links a:before{content:"";width:30px;height:34px;flex-shrink:0;background:center/contain no-repeat}
body:has(#opening-controls) .community-links a:nth-child(1):before{background-image:url('/order-art/mew.webp')}
body:has(#opening-controls) .community-links a:nth-child(2):before{background-image:url('/order-art/celebi.webp')}
body:has(#opening-controls) .community-links a:nth-child(3):before{background-image:url('/trainers/1.png')}
body:has(#opening-controls) #trainer-bottom{background:#041725f5;border-top:1px solid #718ba24d;box-shadow:0 -8px 24px #061a2b88}
body:has(#opening-controls) #trainer-bottom button span{display:block;width:30px;height:30px;margin:0 auto 5px;border:2px solid #a7c9e4;border-radius:50%;background:radial-gradient(circle at 50% 52%,#f6f8ff 0 14%,#243248 16% 26%,transparent 28%),linear-gradient(transparent 44%,#263247 45% 57%,transparent 58%),linear-gradient(#cf3849 0 50%,#dde6f4 51%);box-shadow:inset 3px 3px 5px #ffffff70,inset -3px -4px 6px #0009,0 0 6px #8ccfff55}
body:has(#opening-controls) #trainer-bottom button span svg{display:none}
body:has(#opening-controls) #trainer-bottom button:nth-child(2) span{filter:hue-rotate(310deg)}
body:has(#opening-controls) #trainer-bottom button:nth-child(3) span{filter:hue-rotate(260deg)}
body:has(#opening-controls) #trainer-bottom button:nth-child(4) span{filter:hue-rotate(65deg)}
body:has(#opening-controls) #trainer-bottom button span{font-size:0}
/* Ornate order controls: decorative vector frame, native accessible form. */
body:has(#opening-controls){background:#041b23 url('/order-art/starfield.svg') center top/1100px auto repeat-y;color:#f7edcc}
body:has(#opening-controls) .community-links{padding-right:0}
body:has(#opening-controls) .community-links:after{display:none!important}
#workspace:has(#opening-controls){background:transparent;padding:10px 12px 110px;max-width:1350px;margin-inline:auto}
#opening-controls>.group-grid{gap:24px;align-items:start}
#opening-controls [data-opening]{position:relative;min-width:0;border:24px solid transparent;border-image:url('/control-art/frame.svg') 32 fill stretch;background:linear-gradient(135deg,#063840b8,#061923ed 70%);padding:5px 10px 16px;gap:18px;box-shadow:0 0 24px #40dedb2a;isolation:isolate}
#opening-controls [data-opening]>.badge{display:block;background:linear-gradient(#16464b,#052128);border:2px solid #b9a262;box-shadow:inset 0 0 9px #4aebe555;color:#f9dfa0;font-size:16px;border-radius:6px;padding:8px 12px}
#opening-controls .control-title{font-size:clamp(25px,3.3vw,42px);text-align:center;line-height:1.2;margin:0;color:#fff7db;text-shadow:0 0 10px #ffe39a88;border:12px solid transparent;border-image:url('/control-art/row-frame.svg') 20 fill stretch;padding:6px 0}
.control-status{position:relative;border:15px solid transparent;border-image:url('/control-art/row-frame.svg') 20 fill stretch;padding:12px 48px;isolation:isolate;display:grid;gap:12px;text-align:center;background:#03232c;min-height:140px}
#opening-controls .control-status h2{margin:0;color:#76f1ed;text-transform:uppercase;font-size:clamp(18px,2vw,25px);text-shadow:0 0 10px #2fd1e4;border:1px solid #4fcbd0;background:linear-gradient(#0b434b,#052127);padding:10px 5px;box-shadow:inset 0 0 10px #29bcca66;border-radius:5px}
.control-status>img{position:absolute;top:25%;width:65px;height:90px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 0 7px #5cf3f355);z-index:-1}
.control-porygon{left:-10px}.control-mew{right:-10px}
#opening-controls .control-status label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#ffe6a2;gap:3px}
#opening-controls .control-status select{width:100%;min-height:44px;text-align:center;background:#162b29;border:2px solid #bfa264;box-shadow:inset 0 0 8px #e7c45e55;color:#ffeab1;font-size:18px;font-weight:800;text-transform:uppercase;padding:5px 20px 5px 5px}
#opening-controls .opening-games{border:0;padding:0;margin:0;min-width:0}
#opening-controls .opening-games legend{padding:0 0 14px;font-size:clamp(17px,1.7vw,23px);line-height:1.3;font-weight:800;color:#efd09a;text-align:center}
#opening-controls .opening-game-grid{display:grid;grid-template-columns:1fr;gap:12px}
#opening-controls .opening-game-option{position:relative;display:flex;align-items:center;min-height:66px;gap:8px;padding:7px 9px;border:2px solid #36565c;border-radius:9px;background:linear-gradient(110deg,#102c37,#0a232d);color:#d2dfe2;isolation:isolate;cursor:pointer;transition:box-shadow .15s,background .15s}
#opening-controls .opening-game-option:has(input:checked){border:8px solid transparent;border-image:url('/control-art/row-frame.svg') 20 fill stretch;border-radius:0;padding:1px 3px;box-shadow:0 0 8px #76daca33;color:#ffe6a9;background:#0c3539}
#opening-controls .opening-game-option:focus-within{outline:2px solid #8bfaff;outline-offset:3px}
#opening-controls .opening-game-option input{appearance:none;-webkit-appearance:none;flex:0 0 23px;width:23px;height:25px;min-height:0;margin:0;border:2px solid #64868c;border-radius:3px;background:#09232b;display:grid;place-content:center;cursor:pointer}
#opening-controls .opening-game-option input:checked{border-color:#f1d78d;box-shadow:0 0 5px #e8ce7966}
#opening-controls .opening-game-option input:checked:after{content:'✓';font-size:25px;line-height:1;color:#f9df8f;font-weight:900}
#opening-controls .opening-game-option>span:not(.control-mascots){flex:1;font-size:clamp(13px,1.2vw,18px);font-weight:700;line-height:1.25;position:relative;z-index:1}
.control-mascots{display:flex;align-items:center;justify-content:flex-end;flex:0 0 76px;width:76px;pointer-events:none}
.control-mascots img{width:46px;height:49px;object-fit:contain;filter:drop-shadow(0 0 4px #6fdad733)}
.control-mascots img+img{margin-left:-12px}
#opening-controls .help{color:#d6d5bd;font-size:14px;line-height:1.5}
#opening-controls textarea{background:#041e27;border:1px solid #70b7b9;color:#f4efdc;border-radius:8px}
#opening-controls [data-opening]>label{color:#e9cc97}
#opening-controls [data-opening]>button.primary{background:linear-gradient(#fae49b,#b28b35);border:2px solid #f4e1a2;color:#172a2d;font-weight:800;box-shadow:0 0 12px #e5c86b44;min-height:46px}
@media(max-width:800px){#opening-controls>.group-grid{grid-template-columns:1fr}#workspace:has(#opening-controls){padding:0 5px 110px}#opening-controls [data-opening]{border-width:18px;padding:4px 3px 12px;gap:13px}.control-status{padding:8px 36px;border-width:12px}.control-status>img{width:51px}#opening-controls .control-title{font-size:29px;border-width:10px}#opening-controls .opening-game-option>span:not(.control-mascots){font-size:13px}.control-mascots{flex-basis:64px;width:64px}.control-mascots img{width:40px;height:46px}#opening-controls .opening-games legend{font-size:17px}body:has(#opening-controls) .community-links{gap:10px}body:has(#opening-controls) .community-links a{font-size:13px}body:has(#opening-controls) .community-links a:before{width:25px}}

/* Real order controls: manual state and one-time schedules. */
#opening-controls .opening-automation{padding:16px;border:1px solid #4e9fa6;border-radius:12px;background:linear-gradient(135deg,#062b36ec,#09192ee8)}
#opening-controls .opening-automation label{font-weight:700;color:#e6dbb5}
#opening-controls .opening-automation input,#opening-controls .opening-automation select{width:100%;min-width:0;color:#edfaff;background:#081e2c;border:1px solid #5abac1;border-radius:9px;min-height:46px;color-scheme:dark;font:inherit;padding:10px}
#opening-controls .opening-schedule{padding-top:12px;border-top:1px solid #386b77}
#opening-controls .opening-schedule>strong{color:#8ee9ec;font-size:14px}
#opening-controls .opening-auto-notice{display:grid;gap:8px;padding:14px;border-left:3px solid #f0cd65;background:#061d2c;border-radius:6px}
#opening-controls .opening-auto-notice small{color:#9ac6d4}
#opening-controls .opening-auto-notice strong{color:#ffe38c;font-size:17px}
#opening-controls [hidden]{display:none!important}
#opening-controls .control-status select:disabled{opacity:1;color:#f7e3a3}

/* Opening controls use the existing header bell for Cynthia and all notices. */
body:has(#opening-controls) #open-assistant{display:none!important}
