.op-dialog{width:min(820px,calc(100vw - 24px));max-height:90dvh;padding:24px;border:1px solid #3D4767;border-radius:22px;background:#090D24;color:#f5f0dc;box-shadow:0 28px 100px #0009}.op-dialog::backdrop{background:#090D24d9;backdrop-filter:blur(6px)}.op-dialog button,.op-dialog input,.op-dialog select{font:inherit}.op-dialog button,.op-primary{border:1px solid #7883A8;border-radius:12px;padding:11px 18px;background:#101A36;color:#fff;cursor:pointer}.op-dialog button:hover{background:#1C2949}.op-dialog .op-close{display:block;margin-left:auto;background:transparent}.op-profile-form{display:grid;gap:14px;text-align:left}.op-profile-form label{display:grid;gap:7px}.op-profile-form input:not([type=file]){width:100%;box-sizing:border-box;padding:12px;border:1px solid #7883A8;border-radius:10px;background:#090D24;color:#fff;color-scheme:dark}.op-profile-form small{color:#BDC4DF}.op-profile-form h3{margin-bottom:0}.op-avatar-options{display:flex;flex-wrap:wrap;gap:8px;max-height:190px;overflow:auto;border:1px solid #3D4767;border-radius:12px}.op-avatar-options button{width:52px;height:52px;padding:4px;background:#101A36;border:1px solid #3D4767;border-radius:10px;color:#d9c575}.op-avatar-options button[aria-pressed=true]{outline:3px solid #e1bf64}.op-avatar-options svg{width:100%;height:100%}.op-avatar{display:inline-flex;width:88px;height:88px;border-radius:50%;overflow:hidden;background:#101A36;color:#E5C84A;align-items:center;justify-content:center;flex-shrink:0}.op-avatar img,.op-avatar svg{width:100%;height:100%;object-fit:cover}.op-avatar-preview{text-align:center}.op-profile-header{text-align:center;padding:22px 12px 28px;border-bottom:1px solid #1C2949;margin-bottom:20px}.op-profile-header h2{font-size:clamp(24px,5vw,38px);margin:14px 0 6px;overflow-wrap:anywhere}.op-profile-header p{color:#BDC4DF;margin:0}.op-profile-tools{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;margin:18px 0}.op-profile-tools select{padding:10px;background:#101A36;color:#fff;border:1px solid #3D4767;border-radius:10px}.op-dialog .orbunity-profile-links{max-width:none;margin:0;padding:0}.op-dialog .orbunity-links-panel{border-radius:14px;background:#101A36;border:1px solid #1C2949;padding:18px;margin:14px 0}.op-dialog .orbunity-links-panel h3{margin-top:0;color:#E5C84A}.op-dialog [role=alert]{color:#ffb5a7;font-weight:600}.op-friend-tools{display:flex;justify-content:space-between;gap:12px;align-items:center}.op-friend-search{width:100%;box-sizing:border-box;padding:13px;margin:16px 0;border-radius:12px;border:1px solid #3D4767;background:#101A36;color:#fff}.op-friend-card{width:100%;display:flex;gap:16px;align-items:center;text-align:left;padding:16px;border:1px solid #3D4767;border-radius:14px;background:#101A36;color:#fff;margin:10px 0}.op-friend-card .op-avatar{width:52px;height:52px}.ct-primary-profile{text-align:center!important;justify-content:center!important}.ct-primary-profile .ct-primary-name{justify-content:center!important}.ct-primary-profile .ct-primary-chevron{display:none}.ct-primary-profile .op-avatar{margin:0 auto 12px}.op-dialog details{margin:12px 0}.op-dialog summary{cursor:pointer}.op-dialog ul{padding-left:22px;overflow-wrap:anywhere}@media(max-width:500px){.op-dialog{padding:16px}.op-profile-tools>*{flex:1}.op-friend-tools{flex-wrap:wrap}.op-avatar-options{max-height:145px}}

.op-dialog,.op-profile-form{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.5;box-sizing:border-box}.op-profile-form input[type=file]{max-width:100%}.op-friend-card span{overflow-wrap:anywhere;min-width:0}.op-dialog button:disabled{opacity:.6;cursor:default}

#commander-table .ct-primary-profile{align-items:center}.ct-primary-profile .ct-primary-name{width:100%}
.op-invite-menu{display:grid;gap:0;margin:22px 0;border:1px solid #1C2949;border-radius:18px;overflow:hidden;background:#101A36}.op-dialog .op-invite-option{display:grid;grid-template-columns:42px minmax(0,1fr) 12px;align-items:center;gap:13px;width:100%;box-sizing:border-box;padding:16px;text-align:left;border:0;border-bottom:1px solid #1C2949;border-radius:0;background:transparent;color:#f5f0dc;text-decoration:none;cursor:pointer}.op-dialog .op-invite-option:last-child{border-bottom:0}.op-dialog .op-invite-option:hover,.op-dialog .op-invite-option:focus-visible{background:#101A36}.op-invite-option strong{display:block;font-size:16px;font-weight:650}.op-invite-option small{display:block;color:#BDC4DF;font-size:12px;margin-top:3px;line-height:1.45}.op-invite-icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid #3D4767;border-radius:12px;background:#101A36;color:#E5C84A}.op-invite-icon svg{width:23px;height:23px}.op-invite-panel,.op-invite-received{padding:16px;background:#101A36;border:1px solid #1C2949;border-radius:16px;margin:16px 0}.op-invite-panel[hidden]{display:none}.op-invite-panel textarea{width:100%;box-sizing:border-box;padding:12px;background:#090D24;border:1px solid #3D4767;border-radius:10px;color:#f5f0dc;font:inherit;resize:vertical}.op-friend-qr{display:block;width:min(100%,240px);margin:16px auto;shape-rendering:crispEdges;border-radius:8px}.op-invite-received h3{color:#E5C84A}.op-invite-option:focus-visible{outline:2px solid #E5C84A;outline-offset:-3px}
.op-profile-settings-row{display:flex;justify-content:flex-end;margin-bottom:14px}:is(#commander-table,.op-dialog) .op-profile-summary{display:flex;align-items:center;gap:20px;padding:24px;border:1px solid #7883A8;border-radius:18px;background:#101A36;margin-bottom:24px}:is(#commander-table,.op-dialog) .op-profile-summary .ct-avatar{width:82px;height:82px;flex-shrink:0}:is(#commander-table,.op-dialog) .op-profile-summary h1{margin:0;font-size:clamp(22px,4vw,32px);overflow-wrap:anywhere;min-width:0}.op-profile-destinations{display:grid;gap:12px}:is(#commander-table,.op-dialog) .op-profile-destinations button{display:grid;grid-template-columns:28px 1fr 16px;align-items:center;gap:16px;width:100%;padding:23px;text-align:left;background:#101A36;border:1px solid #3D4767;border-radius:15px;font-size:18px}.op-profile-destinations svg{color:#E5C84A}.op-friend-tools{display:grid;grid-template-columns:1fr 1fr}.op-friend-tools button{width:100%;margin:0!important}.op-friend-group{border:1px solid #3D4767;border-radius:14px;padding:15px;margin:12px 0}.op-friend-group summary{font-weight:650;font-size:18px;cursor:pointer}.op-friend-row{display:flex;gap:8px;align-items:center}.op-friend-row .op-friend-card{flex:1;min-width:0}.op-favorite{flex-shrink:0;color:#E5C84A!important;font-size:24px!important;padding:8px!important}.op-user-search{display:grid;grid-template-columns:minmax(0,1fr) 82px 48px;gap:9px;align-items:end}.op-user-search label{display:grid;gap:6px;font-size:13px}.op-user-search input{min-width:0;width:100%;box-sizing:border-box;background:#090D24;color:white;border:1px solid #3D4767;border-radius:10px;padding:12px;font:inherit}.op-user-search button{height:44px;padding:0!important;font-size:25px!important}.op-deck-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.op-history-pages{display:flex;justify-content:center;align-items:center;gap:14px;margin:24px 0}.op-news-empty{padding:24px;border:1px solid #3D4767;border-radius:16px;background:#101A36}@media(max-width:500px){:is(#commander-table,.op-dialog) .op-profile-summary{gap:14px;padding:18px}.op-friend-tools{gap:8px}.op-friend-tools button{font-size:14px!important;padding:12px 7px!important}.op-user-search{grid-template-columns:minmax(0,1fr) 66px 42px;gap:6px}}
#commander-table .op-friend-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center;margin-top:12px}#commander-table .op-friend-row .op-friend-card{display:flex!important;justify-content:flex-start;width:100%;min-width:0;margin:0;padding:12px;gap:12px;text-align:left}#commander-table .op-friend-row .op-favorite{width:44px;min-width:44px;max-width:44px;height:44px;margin:0;padding:0!important}#commander-table .op-friend-card .op-avatar{width:48px;height:48px;min-width:48px}#commander-table .op-friend-card>span:last-child{display:block;min-width:0;overflow-wrap:anywhere}:is(#commander-table,.op-dialog) .op-profile-destinations button{display:grid!important;grid-template-columns:28px 1fr 16px;justify-content:initial;text-align:left}
.op-friends-directory .op-friend-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center;margin-top:12px}.op-friends-directory .op-friend-card{width:100%;min-width:0;margin:0;box-sizing:border-box}.op-friends-directory .op-favorite{width:44px;min-width:44px;max-width:44px;height:44px;margin:0}.op-friends-directory .op-friend-group{box-sizing:border-box;min-width:0}.op-friends-directory{min-width:0}.op-friend-tools button{min-width:0}

.op-user-search button,.op-user-search input{margin:0!important}.op-user-search button{display:grid;place-items:center;align-self:end;height:46px}

/* Local V0.13 profile, game selection and private conversations. */
.op-friends-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.op-friends-heading h1{margin-right:auto}
#commander-table .op-request-button{position:relative;width:48px;min-width:48px;height:48px;margin:0;padding:8px;font-size:24px}
.op-request-count{position:absolute;right:-3px;top:-5px;border-radius:99px;background:#E5C84A;color:#090D24;padding:2px 6px;font-size:12px;font-weight:700}
.op-format-favorites,.op-format-category{margin:16px 0;padding:16px;border:1px solid #1C2949;border-radius:16px;background:#090D24}.op-format-category summary{cursor:pointer;font-size:19px;font-weight:700;padding:8px 0}
#commander-table .op-format-row{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;align-items:center}#commander-table .op-format-row button{min-width:0;margin:5px 0;width:100%;text-align:left}#commander-table .op-format-row [data-format-star]{text-align:center;padding:10px;font-size:23px}#commander-table .op-format-row [aria-pressed=true]{color:#E5C84A}
.op-message-list{display:flex;flex-direction:column;gap:12px;padding:0;list-style:none;max-height:50vh;overflow:auto}.op-message-list li{max-width:85%;align-self:flex-start;padding:10px 14px;background:#101A36;border-radius:14px;overflow-wrap:anywhere}.op-message-list li.op-message-own{align-self:flex-end;background:#1C2949}.op-message-list p{white-space:pre-wrap;margin:0 0 8px}.op-message-list small{font-size:11px;color:#BDC4DF}#ct-messages textarea{box-sizing:border-box;width:100%}

.op-dialog .op-profile-summary .op-avatar{width:82px;height:82px;min-width:82px}.op-dialog .op-profile-summary h1{color:#fff}.op-dialog .op-profile-destinations button{color:#fff}.op-dialog .op-profile-summary{box-sizing:border-box}.op-dialog .op-profile-tools{margin-bottom:16px}

/* Orbunity V0.13: indigo brand palette, shared by app and account dialogs. */
:root{--orb-bg:#050509;--orb-surface:#101A36;--orb-raised:#1C2949;--orb-violet:#7861B5;--orb-berry:#332239;--orb-gold:#E5C84A;--orb-text:#F1F2FA;--orb-muted:#BDC4DF;--orb-border:#3D4767;color-scheme:dark}
html,body{background:var(--orb-bg);color:var(--orb-text)}
#commander-table{--ct-bg:var(--orb-bg)!important;--ct-panel:var(--orb-surface)!important;--ct-button:var(--orb-raised)!important;--ct-ink:var(--orb-text)!important;--ct-muted:var(--orb-muted)!important;--ct-line:var(--orb-border)!important;--ct-gold:var(--orb-gold)!important;background:var(--orb-bg);color-scheme:dark}
#commander-table .ct-app-nav{background:linear-gradient(165deg,#0C1328 15%,#101A36 75%,#29203F);border-color:#3D4767}
#commander-table .ct-app-nav{--ct-nav-highlight:#E5C84A}
#commander-table .ct-app-nav button[aria-current=page]{color:#E5C84A}
#commander-table .ct-app-nav button:not(#ct-nav-play)[aria-current=page]>svg{color:#11142B;background:#E5C84A}
#commander-table .ct-app-nav #ct-nav-play{--ct-play-surface:#101A36;--ct-play-card-fill:#101A36}
#commander-table .ct-app-nav #ct-nav-play[aria-current=page]{--ct-play-surface:#E5C84A;--ct-play-card-fill:#E5C84A;color:#11142B}
:is(#commander-table,.op-dialog) .op-profile-summary{background:linear-gradient(112deg,#101A36 12%,#201D3D 76%,#332239);border-color:#514568}
:is(#commander-table,.op-dialog) .op-profile-destinations button{background:linear-gradient(110deg,#101A36 65%,#29203F);border-color:#3D4767}
.op-dialog{background:#0C1328;color:#F1F2FA;border-color:#3D4767}.op-format-category,.op-format-favorites,.orbunity-links-panel,.orbunity-cloud-panel{background:#101A36;border-color:#3D4767}
#commander-table #ct-lobby :is(button[aria-pressed=true],button[aria-selected=true]),.op-dialog :is(button[aria-pressed=true],button[aria-selected=true]),#commander-table .ct-primary{background:#E5C84A!important;color:#11142B!important;border-color:#E5C84A!important}
#commander-table #ct-lobby [data-format-star][aria-pressed=true]{color:#11142B!important}
:is(#commander-table,.op-dialog,.orbunity-gate) :focus-visible{outline:3px solid #E5C84A;outline-offset:3px}
#commander-table .ct-bar{background:#050509;--bar-surface:#050509;--bar-frame:#3D4767}
.orbunity-gate{background:#050509}.orbunity-login button{background:#101A36;border-color:#3D4767}.orbunity-login button[type=submit]{background:#E5C84A;color:#11142B;border-color:#E5C84A}
.op-message-list li{background:#101A36;color:#F1F2FA}.op-message-list li.op-message-own{background:#29203F}.op-message-list small{color:#BDC4DF}
@media(hover:hover){:is(#commander-table,.op-dialog) .op-profile-destinations button:hover{border-color:#7861B5;box-shadow:none}}

/* A restrained celestial sheen; decoration stays behind content and never intercepts taps. */
:is(#commander-table,.op-dialog) .op-profile-summary{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 85% 0%,#a992dc28,transparent 62%),linear-gradient(112deg,#101A36 12%,#242044 76%,#392740);border-color:#645780;box-shadow:inset 0 1px 0 #d5c6f52b,inset 0 -1px 18px #8063b512,0 3px 22px #7861b510}
:is(#commander-table,.op-dialog) .op-profile-summary::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 69% 14%,#e5dcffb3 0 .8px,transparent 1.5px),radial-gradient(circle at 91% 72%,#e5dcff99 0 .7px,transparent 1.5px),radial-gradient(circle at 81% 88%,#e5dcff88 0 .8px,transparent 1.6px),radial-gradient(circle at 54% 83%,#e5dcff66 0 .7px,transparent 1.4px),radial-gradient(circle at 96% 37%,#e5dcff88 0 .7px,transparent 1.4px);}
:is(#commander-table,.op-dialog) .op-profile-summary::after{content:"";position:absolute;right:11%;top:14%;width:13px;height:13px;pointer-events:none;z-index:-1;opacity:.75;background:#ddd2fa;clip-path:polygon(50% 0,59% 40%,100% 50%,59% 59%,50% 100%,40% 59%,0 50%,40% 40%);}
:is(#commander-table,.op-dialog) .op-profile-destinations button{background:linear-gradient(165deg,#c0a9ee0a,transparent 34%),linear-gradient(110deg,#101A36 65%,#29203F);box-shadow:inset 0 1px 0 #c5b8e81a}
@media(hover:hover){:is(#commander-table,.op-dialog) .op-profile-destinations button:hover{border-color:#8a74b3;box-shadow:inset 0 1px 0 #e4d8ff26,0 0 16px #7861b514}}
