@charset "UTF-8";
:root{color-scheme:dark;--text:#eff7ff;--muted:#a0c5db;--line:#22516d;--cyan:#49ddf4;--panel:rgba(5,24,41,.86)}*{box-sizing:border-box}body{margin:0;background:#030a17;color:var(--text);font:15px/1.55 'Segoe UI',Arial,sans-serif;min-height:100vh;background-image:radial-gradient(ellipse at 3% 65%,#49167760,transparent 40%),radial-gradient(ellipse at 85% 12%,#35164d65,transparent 35%),radial-gradient(ellipse at 50% 28%,#003c5259,transparent 50%)}body:before{content:'';position:fixed;z-index:-1;width:140vw;height:38vw;left:-20vw;top:29vh;border-top:1px solid #8d87ff90;border-radius:50%;transform:rotate(-18deg);box-shadow:0 -5px 24px #7764f055}.stars{position:fixed;inset:0;z-index:-1;opacity:.45;background-image:radial-gradient(1px 1px at 20% 30%,#fff 90%,transparent),radial-gradient(1px 1px at 75% 70%,#75aaff 90%,transparent),radial-gradient(1px 1px at 40% 90%,#7bcfff 90%,transparent);background-size:157px 181px,233px 211px,97px 137px}button,a,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:#a5e9ff;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #65e6ff;outline-offset:4px}header{max-width:1320px;margin:auto;display:flex;align-items:center;gap:18px;padding:20px 24px}.brand{display:flex;align-items:center;gap:12px;color:#d5faff;font-size:30px;font-weight:800;letter-spacing:-1px}.brand img{width:66px;height:66px;object-fit:contain}.brand span span{color:#cda1ff}.badge,.pill{border:1px solid #684c90;background:#47236550;border-radius:30px;padding:4px 12px;color:#dfc6ff;font-size:12px}.mode{margin-left:auto;display:flex;background:#03101d;border:1px solid var(--line);padding:4px;border-radius:12px;gap:4px}.mode button{color:var(--muted);border:0;background:transparent;padding:7px 17px;border-radius:8px}.mode button[aria-pressed=true]{background:linear-gradient(100deg,#07577a,#542a82);color:white}main{max-width:1320px;margin:auto;padding:0 24px 24px}.hero{text-align:center;padding:18px 0 28px}.eyebrow{font-size:11px;letter-spacing:3px;color:#62dff4;font-weight:700}.hero h1{font-size:clamp(28px,3.1vw,43px);line-height:1.25;letter-spacing:-1.1px;margin:12px 0}.hero h1 span{background:linear-gradient(90deg,#77e6f8,#d385fa);background-clip:text;color:transparent}.hero>p:last-child{color:var(--muted);font-size:17px;margin:14px 0 0}.workspace{display:grid;gap:18px}nav{display:flex;gap:5px;border:1px solid var(--line);border-radius:15px;background:#051322c9;padding:7px;overflow:auto}nav a{flex:1;white-space:nowrap;text-align:center;padding:9px 12px;border-radius:9px;color:#a5bdd1;font-size:14px}nav a.active{background:linear-gradient(105deg,#07587970,#53258170);color:#fff}body.windows .workspace{grid-template-columns:180px 1fr}body.windows nav{flex-direction:column;align-self:start;padding:12px}body.windows nav a{flex:none;text-align:left}.home{display:grid;grid-template-columns:350px 1fr;gap:18px}.panel{border:1px solid var(--line);border-radius:24px;background:linear-gradient(125deg,var(--panel),rgba(16,19,45,.89));padding:26px;box-shadow:0 16px 45px #0003}h2{font-size:24px;line-height:1.3;margin:0 0 6px;letter-spacing:-.4px}h3{font-size:19px;margin:0 0 8px}.muted{color:var(--muted);margin:0 0 18px}.account .logo{width:112px;height:112px;object-fit:contain;display:block;margin:0 auto 15px}.account h2{text-align:center}.account>p{text-align:center}.notice{background:linear-gradient(110deg,#07365860,#29206a50);border:1px solid #285c8c;border-radius:14px;padding:15px;color:#b7d8f0;font-size:13px;margin:20px 0}.notice strong{color:#eefaff;display:block;margin-bottom:4px}.primary,.secondary,.card button{display:block;text-align:center;border:1px solid #24668b;border-radius:10px;padding:10px 14px;color:white;background:linear-gradient(105deg,#064b6b,#2b2163);font-weight:650}.primary{background:linear-gradient(105deg,#1774ad,#8c3dd2);border-color:#6c71d6}.secondary{margin-top:10px;background:#0a1b2b}.caption{color:#9cb9ce;font-size:12px;margin-top:12px}.apps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:20px}.card{grid-column:span 2;border:1px solid #20526f;background:linear-gradient(135deg,#062335b0,#061322c9);border-radius:19px;padding:17px;display:flex;flex-direction:column;min-width:0}.card:nth-child(n+4){grid-column:span 3;border-color:#4d3a71;background:linear-gradient(130deg,#1f173aa0,#061322c9)}.app-head{display:flex;align-items:center;gap:12px;margin-bottom:13px}.app-icon{height:54px;width:54px;object-fit:contain;flex-shrink:0;border-radius:12px}.placeholder{display:grid;place-items:center;border:1px solid #9859d0;background:#271445;color:#d89bff;font-size:27px}.card h3{font-size:17px;margin:0}.card p{color:var(--muted);font-size:13px;margin:0 0 14px;flex:1}.pill{display:inline-block;width:fit-content;line-height:1.3;padding:5px 9px;margin-bottom:14px;font-size:11px}.pill.available{border-color:#106675;color:#59e6df;background:#00484c55}.card button{font-size:12px;width:100%;padding:9px 6px}.platform{display:block;color:#83a5be;font-size:11px;margin-top:4px}.page-content{min-height:380px}.rows{display:grid;gap:12px;margin-top:24px}.row{padding:18px;border:1px solid #24455d;background:#071a2c;border-radius:13px}.row p{color:var(--muted);margin:6px 0 0}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:25px}select{background:#071b2c;border:1px solid #36627c;color:white;border-radius:9px;padding:10px;max-width:100%}footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border:1px solid var(--line);border-radius:16px;padding:16px 20px;margin-top:18px;font-size:12px;color:#a2c2d5}footer b{color:#f3f8ff}footer small{width:100%;color:#87a9bf}dialog{max-width:540px;width:calc(100% - 30px);border:1px solid #5473af;border-radius:22px;background:#09172c;color:white;padding:32px;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#020713ba;backdrop-filter:blur(6px)}dialog p{color:#b4d1e4}.close{position:absolute;right:12px;top:10px;background:none;border:0;font-size:28px;color:white}.compact .hero{padding:3px 0 15px}.compact .hero h1{font-size:30px}.compact .card{padding:12px}.compact .panel{padding:20px}@media(max-width:1100px){.home{grid-template-columns:290px 1fr}.card{grid-column:span 3}.card:last-child{grid-column:span 6}body.windows .home{grid-template-columns:1fr}body.windows .account .logo{display:none}}@media(max-width:780px){header{padding:12px 16px;gap:10px;flex-wrap:wrap}.brand{font-size:25px}.brand img{width:50px;height:50px}.badge{font-size:10px}.mode{width:100%;margin:0;justify-content:center}.mode button{flex:1}main{padding:0 14px 18px}.hero{padding:14px 0 22px}.hero>p:last-child{font-size:14px}.home{grid-template-columns:1fr}.panel{padding:20px;border-radius:20px}.account .logo{width:70px;height:70px}body.windows .workspace{grid-template-columns:1fr}body.windows nav{flex-direction:row}body.windows nav a{text-align:center}nav a{flex:none;font-size:12px;padding:8px 11px}.settings-row{align-items:flex-start;flex-direction:column}.apps{gap:10px}.card{padding:14px}.app-head{gap:8px}.app-icon{width:42px;height:42px}.card h3{font-size:15px}footer{padding:14px}.hero h1{letter-spacing:-.7px}}@media(max-width:430px){.card,.card:nth-child(n+4),.card:last-child{grid-column:span 6}.account h2{font-size:22px}}

.home{display:block}.catalog{padding:30px;background:rgba(5,18,34,.75)}.catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:24px}.catalog-heading .secondary{flex-shrink:0;margin:0}.catalog-heading .eyebrow{margin:0 0 10px}.catalog-heading .muted{margin:10px 0 0}.catalog .apps{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}.catalog .card,.catalog .card:nth-child(n+4),.catalog .card:last-child{grid-column:auto;min-height:285px;padding:26px;background:radial-gradient(ellipse at top right,#124a6540,transparent 75%),#071625;border-color:#27485e}.catalog .app-chat{background:radial-gradient(ellipse at top right,#633ca255,transparent 75%),#0b182c}.catalog .app-head{gap:16px;margin-bottom:22px}.catalog .app-icon{width:70px;height:70px}.catalog .card h3{font-size:22px}.catalog .platform{font-size:12px;margin-top:6px}.catalog .card p{font-size:14px;line-height:1.65;flex:1;margin:0 0 24px}.card-footer{display:grid;gap:10px}.catalog .card .primary{padding:12px 16px;font-size:14px;margin:0;width:100%}.catalog .card .card-options{background:transparent;border:0;color:#a3c8dd;font-size:13px;padding:6px;min-height:34px}.coming-soon{display:block;padding:12px;color:#b9a3d4;font-size:14px}.app-maker,.app-view{opacity:.85}#detail .app-actions{display:flex;flex-direction:column;gap:8px}#detail .app-actions .secondary{margin:0}#detail{max-height:90dvh;overflow:auto}.catalog .card:hover{border-color:#4387a2}@media(max-width:1050px){.catalog .apps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.catalog{padding:20px}.catalog-heading{align-items:flex-start;flex-direction:column;gap:14px}.catalog .apps{grid-template-columns:1fr;gap:14px;margin-top:22px}.catalog .card{min-height:250px;padding:22px}.catalog .app-icon{width:60px;height:60px}.catalog .card h3{font-size:21px}}
/* Touch scrolling stays available; only the mobile page scrollbar is hidden. */
@media(max-width:780px){
 html,body{scrollbar-width:none}
 html::-webkit-scrollbar,body::-webkit-scrollbar{width:0;height:0}
 nav{scrollbar-width:thin;scrollbar-color:#7160bb #09192c}
 nav::-webkit-scrollbar{height:4px}
 nav::-webkit-scrollbar-track{background:#09192c;border-radius:8px}
 nav::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#36cde5,#985ce3);border-radius:8px}
}

/* Home dashboard follows the approved YamaPortal account and app layout. */
.hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(340px,.9fr);align-items:center;gap:32px;text-align:left;padding:20px 0 28px}
.dashboard-intro{text-align:center;padding:12px 0}
.dashboard-intro .eyebrow{margin:0 0 10px}
.dashboard-intro h1{font-size:clamp(30px,3.25vw,48px);line-height:1.15;letter-spacing:-1.2px;margin:0 0 20px}
.dashboard-intro>p:last-child{color:var(--muted);font-size:17px;line-height:1.65;margin:0}
.account-summary{padding:22px 24px;border-color:#345a91;background:linear-gradient(130deg,#071a2beb,#11152ce8);box-shadow:0 0 24px #2285bd20,0 16px 45px #0003}
.summary-profile{display:flex;align-items:center;gap:16px;border-bottom:1px solid #29425e;padding-bottom:16px}
.summary-profile .account-avatar{width:78px;height:78px;flex:0 0 78px;border:2px solid #4ca7dd;box-shadow:0 0 16px #28b9e644}
.summary-profile>div{display:grid;gap:3px;min-width:0}
.summary-profile strong{font-size:17px}
.summary-profile>div>span:last-child{color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.account-active{display:flex;align-items:center;gap:8px;color:#63e7cd;font-size:13px;font-weight:700}
.account-active i{width:9px;height:9px;border-radius:50%;background:#29d99a;box-shadow:0 0 10px #29d99a;display:inline-block}
.account-active.inactive{color:#b9cce0}
.account-active.inactive i{background:#899bb2;box-shadow:none}
.account-facts{display:grid;grid-template-columns:1fr 1fr;margin:15px 0;gap:12px}
.account-fact{display:grid;gap:4px;min-width:0}
.account-fact+ .account-fact{border-left:1px solid #29425e;padding-left:14px}
.account-fact span{color:var(--muted);font-size:12px}
.account-fact strong{font-size:14px;overflow-wrap:anywhere}
.account-summary>.primary{margin:0;text-decoration:none}
.guest-summary h2{font-size:20px;margin:10px 0}
.guest-summary p{color:var(--muted);font-size:13px;margin:0 0 16px}
.guest-summary>.secondary{width:100%}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(270px,.95fr);gap:16px;align-items:start}
.dashboard-grid .catalog{min-width:0;padding:25px}
.dashboard-grid .catalog-heading{align-items:flex-end}
.dashboard-grid .catalog .apps{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.dashboard-grid .catalog .card,.dashboard-grid .catalog .card:nth-child(n+4),.dashboard-grid .catalog .card:last-child{grid-column:auto;min-height:292px;padding:17px}
.dashboard-grid .catalog .app-head{gap:12px;margin-bottom:12px}
.dashboard-grid .catalog .app-icon{width:58px;height:58px}
.dashboard-grid .catalog .card h3{font-size:18px}
.dashboard-grid .catalog .platform{font-size:11px}
.dashboard-grid .catalog .card p{font-size:13px;line-height:1.5;margin:10px 0 16px}
.app-status{display:inline-flex;align-self:flex-start;max-width:100%;flex-wrap:wrap;white-space:normal;margin:0 0 4px;border:1px solid #146b70;border-radius:30px;padding:3px 9px;color:#6fe8d7;background:#00484c40;font-size:10px;line-height:1.3}
.app-status.pending{border-color:#624b88;color:#dac0ff;background:#32174a50}
.dashboard-grid .catalog .card .primary{font-size:12px;padding:10px 8px}
.dashboard-grid .catalog .card .card-options{font-size:11px}
.dashboard-side{display:grid;gap:12px}
.quick-panel,.activity-panel{padding:18px}
.quick-panel>.eyebrow,.activity-panel>.eyebrow{margin:0 0 12px}
.quick-action{width:100%;min-height:43px;display:flex;align-items:center;gap:11px;text-align:left;padding:9px 12px;margin-top:8px;border:1px solid #285676;border-radius:11px;color:white;background:linear-gradient(100deg,#075c7b,#29205c);font-size:13px;font-weight:650;cursor:pointer}
.quick-action:hover{border-color:#64dff1;filter:brightness(1.12)}
.quick-action>span{font-size:20px;line-height:1}
.quick-action>b{margin-left:auto;font-size:21px;font-weight:400}
.quick-search{background:linear-gradient(100deg,#075879,#102b5a)}
.quick-help{background:linear-gradient(100deg,#402269,#172e55)}
.quick-view{background:linear-gradient(100deg,#073d68,#34215f)}
.quick-convert{background:linear-gradient(100deg,#075c68,#17345b)}
.activity-empty{min-height:92px;display:flex;align-items:center;gap:12px;padding:13px;border:1px dashed #31506a;border-radius:12px;background:#07182a70;color:var(--muted)}
.activity-empty>span{font-size:24px;color:#69dff0}
.activity-empty p{margin:0;font-size:12px;line-height:1.5}
.release-feed{display:grid;gap:7px}.activity-more{display:block;margin-top:10px;text-align:right;color:var(--muted);font-size:11px}.release-row{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto 12px;align-items:center;gap:9px;padding:9px 7px;text-align:left;color:var(--text);background:transparent;border:0;border-bottom:1px solid #ffffff10;cursor:pointer}.release-row:hover,.release-row:focus-visible{background:#12304c80;border-radius:9px;outline:1px solid #2fcde2}.release-icon-wrap{width:32px;height:32px;display:grid;place-items:center}.release-app-icon{display:block;width:30px;height:30px;object-fit:contain;border-radius:8px}.release-app-symbol{width:28px;height:28px;display:grid;place-items:center;border:1px solid #8557b8;border-radius:8px;color:#d59bff;background:#21153a}.release-copy{min-width:0;display:grid;gap:4px}.release-copy strong{font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.release-copy>span,.release-row time{color:var(--muted);font-size:10px;line-height:1.35}.release-row time{white-space:nowrap}.release-arrow{color:#76eaff;font-size:22px}.release-detail{width:min(560px,calc(100% - 28px));max-height:min(85dvh,720px);overflow:auto;padding:28px;background:#09182b;color:var(--text);border:1px solid #368fb0;border-radius:20px;box-shadow:0 24px 100px #000b}.release-detail::backdrop{background:#020611c9;backdrop-filter:blur(7px)}.release-modal-heading{display:flex;align-items:center;gap:15px;padding-right:24px}.release-modal-heading .release-app-icon{width:58px;height:58px;border-radius:13px}.release-modal-heading .release-app-symbol{width:54px;height:54px;border-radius:13px;font-size:26px}.release-modal-heading .eyebrow{margin:0 0 7px}.release-modal-heading h2{margin:0 0 8px}.release-modal-summary{margin:20px 0 12px;font-size:16px;line-height:1.6}.release-modal-details{padding:14px 16px;border:1px solid #244f6b;border-radius:13px;background:#061424;font-size:13px;line-height:1.65}.release-modal-details p{margin:0 0 8px}.release-modal-details p:last-child{margin-bottom:0}.release-detail .close{position:sticky;float:right;top:0}.release-detail>.secondary{margin-top:14px}@media(max-width:680px){.release-row{grid-template-columns:34px minmax(0,1fr) 10px}.release-row time{display:none}.release-copy strong{white-space:normal}.release-detail{padding:22px 18px}}
.portal-download-banner{margin-top:16px}
header>.mode{order:3}
header>.account-menu-button{order:4;margin-left:4px;display:inline-flex;align-items:center;gap:9px;max-width:235px;overflow:hidden}
header>.account-menu-button .account-avatar{width:34px;height:34px;flex:0 0 34px}
@media(max-width:1100px){.hero{grid-template-columns:minmax(0,1.2fr) minmax(290px,.9fr);gap:18px}.dashboard-grid{grid-template-columns:1fr}.dashboard-side{grid-template-columns:1fr 1fr}.dashboard-grid .catalog .card,.dashboard-grid .catalog .card:nth-child(n+4),.dashboard-grid .catalog .card:last-child{min-height:265px}}
@media(max-width:780px){header>.account-menu-button{order:2;margin-left:auto}header>.mode{order:5;margin-left:0}.hero{grid-template-columns:1fr;gap:12px;padding:14px 0 20px}.dashboard-intro{padding:4px 0 12px}.dashboard-intro h1{font-size:clamp(28px,7vw,38px)}.dashboard-intro>p:last-child{font-size:14px}.account-summary{padding:17px}.summary-profile .account-avatar{width:62px;height:62px;flex-basis:62px}.dashboard-grid .catalog{padding:18px}.dashboard-grid .catalog-heading{align-items:flex-start}.dashboard-grid .catalog .apps{grid-template-columns:1fr}.dashboard-grid .catalog .card,.dashboard-grid .catalog .card:nth-child(n+4),.dashboard-grid .catalog .card:last-child{min-height:unset;padding:18px}.dashboard-grid .catalog .card p{margin:8px 0 15px}.dashboard-side{grid-template-columns:1fr}.dashboard-grid .catalog .app-icon{width:54px;height:54px}.account-facts{gap:8px}.account-fact+ .account-fact{padding-left:10px}}

.portal-community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.community-card{padding:22px;background:radial-gradient(ellipse at top right,#124a6540,transparent 75%),linear-gradient(125deg,#071625,#11132d)}.community-card-heading{display:flex;align-items:center;gap:13px}.community-card-heading .eyebrow{margin:0 0 3px}.community-card-heading h2{margin:0}.community-symbol{width:48px;height:48px;display:grid;place-items:center;border:1px solid #168da9;border-radius:14px;background:#052e46;color:#68e9fa;font-size:26px}.forum-symbol{border-color:#7152ad;background:#251746;color:#d19dff}.community-card>p{color:var(--muted);min-height:48px;margin:16px 0}.community-card .primary{max-width:300px}.community-page{max-width:920px;min-height:420px;margin:0 auto;padding:clamp(18px,4vw,32px)}.community-page>h1{font-size:clamp(25px,4vw,36px);margin:6px 0}.community-page>.eyebrow{margin:20px 0 8px}.community-back{display:inline-block;color:#aeeeff;padding:5px 0}.community-login{max-width:260px}.community-content{margin-top:22px}.community-content .notice{margin-top:0}.community-form{border:1px solid #22516d;background:#061827;border-radius:15px;padding:16px;margin-top:18px}.community-form label{display:block;color:#b8d5e6;font-size:13px;font-weight:650;margin:9px 0 6px}.community-form input,.community-form textarea{width:100%;color:#f4fbff;background:#03111d;border:1px solid #315a73;border-radius:9px;padding:12px;resize:vertical}.community-form input:focus,.community-form textarea:focus{border-color:#4ce0f5}.community-compose{display:flex;gap:9px}.community-compose .primary{flex:0 0 130px;margin:0}.live-chat-list{display:flex;flex-direction:column;gap:9px;max-height:min(55vh,560px);min-height:130px;overflow:auto;padding:4px 3px 12px;scrollbar-color:#245876 transparent}.live-message{padding:11px 14px;border:1px solid #1c4159;background:#061827c9;border-radius:12px}.live-message-meta{display:flex;justify-content:space-between;gap:12px;color:#70e8f4;font-size:13px}.live-message time{color:#8eaec2;font-size:11px;white-space:nowrap}.live-message p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#d3e9f5}.community-empty{border:1px dashed #31566e;border-radius:12px;padding:24px;text-align:center;color:#9bb9ce}.form-status:empty{display:none}.community-error{overflow-wrap:anywhere}.forum-create h2,.forum-list h2{font-size:20px}.forum-create .primary{margin-top:12px}.forum-list{margin-top:30px}.forum-list>h2{padding-bottom:12px;border-bottom:1px solid #23465d}.forum-topic{padding:17px 4px;border-bottom:1px solid #17374c}.forum-topic h3{color:#ecf8ff;margin:0 0 7px}.forum-topic p{white-space:pre-wrap;overflow-wrap:anywhere;color:#b4d1e4;margin:0 0 8px}.forum-topic .caption{margin:0}
@media(max-width:780px){.portal-community-grid{grid-template-columns:1fr}.community-card{padding:18px}.community-page{padding:18px}.community-compose{flex-direction:column}.community-compose .primary{flex:auto;width:100%}.live-chat-list{max-height:50vh}}
@media(max-width:390px){.account-facts{grid-template-columns:1fr}.account-fact+ .account-fact{border-left:0;border-top:1px solid #29425e;padding:10px 0 0}.summary-profile{gap:11px}.summary-profile .account-avatar{width:52px;height:52px;flex-basis:52px}}

/* Desktop chrome follows the same palette as the Portal. */
:root{scrollbar-width:thin;scrollbar-color:#6c5da4 #071322}::-webkit-scrollbar{width:9px;height:6px}::-webkit-scrollbar-track{background:#071322}::-webkit-scrollbar-thumb{background:linear-gradient(#36cde5,#8652c2);border:2px solid #071322;border-radius:12px}::-webkit-scrollbar-thumb:hover{background:#9b75d5}
.window-titlebar{position:sticky;top:0;z-index:1000;height:40px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(100deg,#06243a,#1d1535);border-bottom:1px solid #28506a;-webkit-app-region:drag;user-select:none}.window-brand{display:flex;align-items:center;gap:9px;padding-left:12px;font-size:13px;color:#cde8f4}.window-brand img{width:27px;height:27px;object-fit:contain}.window-controls{display:flex;height:100%;-webkit-app-region:no-drag}.window-controls button{width:48px;border:0;border-radius:0;background:transparent;color:#cce5f3;font-size:20px}.window-controls button:hover{background:#39617d70}.window-controls button[data-window=close]:hover{background:#ae3157}.native-desktop .mode{display:none}.portal-download-banner{margin:22px 0 0;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #2c5470;border-radius:18px;background:linear-gradient(105deg,#06324870,#37215b65)}.portal-download-banner h2{font-size:20px}.portal-download-banner p{margin:4px 0;color:var(--muted)}@media(max-width:620px){.portal-download-banner{flex-direction:column;align-items:stretch}}
@media(max-width:780px){:root{scrollbar-width:none}:root::-webkit-scrollbar{width:0;height:0}}
/* Owner tools use the existing Yamaportals cosmic glass panels. */
.owner-entry{display:flex;justify-content:center;margin-top:10px}
.owner-admin{max-width:1120px;margin-inline:auto}
.owner-admin>.eyebrow{color:#42dff2;letter-spacing:.18em;font-weight:800}
.owner-admin h2{margin:.25rem 0 .5rem}
.admin-state{margin:1.2rem 0;padding:1rem 1.2rem;border:1px solid #34718e;border-radius:14px;background:#0b1a30;color:#bdeaff}
.admin-content[hidden]{display:none}
.admin-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}
.admin-stat,.admin-section{padding:18px;border:1px solid #1b6483;border-radius:16px;background:linear-gradient(145deg,rgba(12,34,57,.92),rgba(23,19,55,.8))}
.admin-stat{display:grid;gap:5px}.admin-stat span,.admin-section h3{color:#a7deef}.admin-stat strong{font-size:1.7rem}.admin-stat small,.admin-users small{color:#9ab7ce}
.admin-section{margin:16px 0}.admin-section h3{margin:0 0 8px}.admin-users ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}.admin-users li{display:grid;gap:3px;padding:12px;border-radius:12px;background:rgba(4,12,26,.58);border:1px solid rgba(84,169,205,.24)}.admin-users li span{color:#50def0}.admin-users li small{font-size:.78rem}
.admin-section form{display:grid;gap:9px}.admin-section input:not([type=checkbox]),.admin-section textarea,.admin-section select{width:100%;padding:11px 13px;border:1px solid #39718c;border-radius:10px;background:#081526;color:#eef8ff;font:inherit}.admin-section textarea{resize:vertical}.admin-confirm{display:flex;align-items:flex-start;gap:9px;margin:8px 0;color:#c7deef}.admin-confirm input{margin-top:4px;accent-color:#35cce6}
@media(max-width:640px){.admin-stats{grid-template-columns:1fr}.admin-users ul{grid-template-columns:1fr}}
.forum-topic{padding:0}.forum-topic-open{width:100%;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 4px;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}.forum-topic-open:hover,.forum-topic-open:focus-visible{color:#a0f0ff;outline:1px solid #38bed6;border-radius:8px}.forum-topic-open>span:first-child{display:grid;gap:6px;min-width:0}.forum-topic-open strong{font-size:16px}.forum-topic-preview{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:70ch}.forum-topic-cta{color:#8feaff;font-size:12px;white-space:nowrap}.forum-thread{display:grid;gap:14px}.forum-thread-topic{padding:16px;border:1px solid #2a5673;border-radius:13px;background:#081a2b}.forum-thread-topic h2{margin:0 0 8px}.forum-thread-topic p{line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.forum-reply-list>h3{margin:0 0 8px}.forum-reply-list>[data-forum-replies]{max-height:45vh;overflow:auto}.forum-reply{padding:11px;border-bottom:1px solid #ffffff17}.forum-reply>p{margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.forum-reply-form textarea{resize:vertical}.forum-back{justify-self:start}@media(max-width:620px){.forum-topic-open{align-items:flex-start;flex-direction:column}.forum-topic-preview{white-space:normal}.forum-topic-cta{align-self:flex-end}}
