.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}.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-avatar-options{max-height:145px}}

.op-dialog,.op-profile-form{font-family:"Exo 2",system-ui,sans-serif;line-height:1.5;box-sizing:border-box}.op-profile-form input[type=file]{max-width:100%}.op-dialog button:disabled{opacity:.6;cursor:default}

/* Native inputs and fieldsets must not widen the form's implicit grid column. */
.op-profile-form,.op-profile-form label{grid-template-columns:minmax(0,1fr);min-width:0}
.op-profile-form>*{min-width:0}
.op-profile-form input{min-width:0;max-width:100%;box-sizing:border-box}
/* iOS's native date theme can force content-box sizing even with width:100%.
   Disable only its appearance; retain the native date picker and validation.
   https://bugs.webkit.org/show_bug.cgi?id=301648 */
.op-profile-form input[type=date]{-webkit-appearance:none;appearance:none;min-height:48px;min-inline-size:0}
.op-profile-form small{overflow-wrap:anywhere}
.op-avatar-grid{display:flex;flex-wrap:wrap;gap:8px;width:100%;min-width:0}

/* Profile editing keeps the originating page beneath a native modal. */
dialog.op-dialog.op-profile-editor-dialog{--op-profile-safe-top:env(safe-area-inset-top,0px);--op-profile-safe-left:env(safe-area-inset-left,0px);--op-profile-safe-width:calc(100vw - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));--op-profile-safe-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));position:fixed;box-sizing:border-box;inset:calc(var(--op-profile-safe-top) + 16px) calc(100vw - var(--op-profile-safe-left) - var(--op-profile-safe-width) + 16px) calc(100dvh - var(--op-profile-safe-top) - var(--op-profile-safe-height) + 16px) calc(var(--op-profile-safe-left) + 16px);width:min(360px,calc(var(--op-profile-safe-width) - 32px));max-width:calc(var(--op-profile-safe-width) - 32px);height:fit-content;max-height:calc(var(--op-profile-safe-height) - 32px);min-width:0;min-height:0;margin:auto;padding:20px;border:1px solid #7883a866;border-radius:24px;background:#151925;color:#f1f2fa;box-shadow:none;overflow:hidden;text-align:left;}
.op-profile-editor-dialog[open]{display:flex;flex-direction:column;gap:16px;}
.op-profile-editor-dialog>.op-profile-editor-heading{flex:none;min-width:0;min-height:32px;margin:0;padding:0 0 14px;border-bottom:1px solid #7883a84d;}
.op-profile-editor-dialog .op-profile-editor-heading>h2{margin:0;color:#f1f2fa;font-size:24px;font-weight:650;line-height:1.25;text-align:left;overflow-wrap:anywhere;}
.op-profile-editor-dialog #op-profile-editor-title:focus{outline:0;}
.op-profile-editor-dialog>.op-profile-settings-content{display:flex;flex-direction:column;flex:1 1 auto;min-width:0;min-height:0;}
.op-profile-editor-dialog .op-profile-editor{display:flex;flex-direction:column;gap:16px;flex:1 1 auto;min-width:0;min-height:0;}
.op-profile-editor .op-profile-editor-body{display:flex;flex-direction:column;gap:14px;min-width:0;}
.op-profile-editor-dialog .op-profile-editor-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding-block:8px;scrollbar-width:thin;}
.op-profile-editor .op-profile-editor-body>*{flex:none;min-width:0;max-width:100%;}
.op-profile-editor .op-profile-editor-footer{flex:none;min-width:0;padding:0;margin:0;}
.op-profile-editor .op-profile-picture{margin:0 0 6px;}
.op-profile-editor .op-profile-picture-row{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:14px;min-width:0;}
.op-profile-editor .op-avatar-preview{padding:0;text-align:left;}
.op-profile-editor .op-avatar-preview>.op-avatar{width:72px;height:72px;border:1px solid #e5c84a;border-radius:50%;box-sizing:border-box;}
.op-profile-editor .op-avatar-preview>.op-profile-photo-placeholder{color:#bdc4df;border-color:#7883a866;background:#10151f;}
.op-profile-editor .op-profile-photo-placeholder>svg{width:34px;height:34px;}
.op-profile-editor .op-profile-picture-copy{min-width:0;}
.op-profile-editor .op-profile-picture-copy>h3{margin:0;color:#f1f2fa;font-size:19px;font-weight:600;line-height:1.3;text-align:left;}
.op-profile-editor .op-profile-picture-copy>p{margin:3px 0 8px;color:#bdc4df;font-size:13px;line-height:1.4;}
.op-profile-editor .op-profile-picture-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #7883a866;border-radius:10px;overflow:hidden;}
.op-profile-editor .op-profile-picture-tabs>button{box-sizing:border-box;min-width:0;min-height:44px;margin:0;padding:8px;border:1px solid transparent;border-radius:0;font-size:14px;line-height:1.35;}
.op-profile-editor .op-profile-picture-tabs>button+button{border-left:1px solid #7883a866;}
.op-profile-editor .op-profile-picture-tabs>button[aria-selected=true]{border:1px solid #e5c84a;color:#e5c84a;}
.op-profile-editor .op-avatar-options{display:block;min-width:0;max-height:none;margin:16px 0 0;padding:0;border:0;border-radius:0;background:none;overflow:visible;}
.op-profile-editor .op-avatar-options>legend{position:absolute;width:1px;height:1px;margin:-1px;padding:0;clip-path:inset(50%);overflow:hidden;}
.op-profile-editor .op-avatar-grid{display:flex;flex-wrap:nowrap;gap:8px;box-sizing:border-box;width:100%;min-width:0;padding:4px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;}
.op-profile-editor .op-avatar-grid>button{display:grid;place-items:center;flex:0 0 52px;box-sizing:border-box;width:52px;min-width:52px;height:52px;min-height:52px;margin:0;padding:3px;border:1px solid #7883a866;border-radius:12px;color:#f1f2fa;}
.op-profile-editor .op-avatar-grid>button[aria-pressed=true]{outline:0;border:2px solid #e5c84a;color:#e5c84a;}
.op-profile-editor .op-avatar-grid>button>svg{display:block;width:100%;height:100%;}
.op-profile-editor .op-profile-photo-choice{margin-top:14px;}
.op-profile-editor .op-profile-photo-empty{margin:0 0 8px;color:#bdc4df;font-size:13px;line-height:1.4;}
.op-profile-editor .op-profile-upload{position:relative;display:grid;place-items:center;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #7883a866;border-radius:12px;background:#232837;color:#f1f2fa;font-size:14px;cursor:pointer;overflow:hidden;}
.op-profile-editor .op-profile-upload>input[type=file]{position:absolute;inset:0;width:100%;height:100%;min-height:44px;margin:0;padding:0;opacity:0;cursor:pointer;}
.op-profile-editor .op-profile-photo-choice>small{display:block;margin-top:6px;font-size:12px;line-height:1.4;}
.op-profile-editor :is(.op-profile-name-field,.op-profile-birth-field){display:grid;gap:7px;min-width:0;font-size:15px;line-height:1.4;}
.op-profile-editor .op-profile-name-row{display:flex;align-items:center;gap:8px;min-width:0;border:1px solid #7883a866;border-radius:12px;background:#10151f;}
.op-profile-editor .op-profile-name-row>input{flex:1 1 auto;width:0;min-width:0;min-height:48px;margin:0;padding:11px 12px;border:0;border-radius:12px;font:inherit;font-size:16px;}
.op-profile-editor .op-profile-name-row>.op-profile-tag{flex:none;margin-right:12px;color:#bdc4df;font-size:16px;line-height:1.4;}
.op-profile-editor .op-profile-name-field+small{margin-top:-8px;font-size:12px;line-height:1.45;}
.op-profile-editor .op-profile-birth-field{margin-top:4px;}
.op-profile-editor .op-profile-birth-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.op-profile-editor .op-profile-birth-heading>small{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.35;}
.op-profile-editor .op-profile-birth-heading>small>svg{display:block;flex:none;width:15px;height:15px;}
.op-profile-editor .op-profile-birth-field>input{display:block;min-width:0;width:100%;min-height:48px;margin:0;padding:11px 12px;border:1px solid #7883a866;border-radius:12px;font:inherit;font-size:16px;}
.op-profile-form input::-webkit-date-and-time-value{min-width:0;text-align:left;}
.op-profile-editor .op-profile-save{display:flex;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;width:100%;min-height:48px;margin:0;padding:11px 14px;border:1px solid #e5c84a;border-radius:12px;background:#29291f;color:#e5c84a;font:600 16px/1.4 "Exo 2",system-ui,sans-serif;}
.op-profile-editor .op-profile-save>svg{display:block;flex:none;width:22px;height:22px;}
.op-profile-editor .op-profile-error{margin:0;color:#ffb5a7;overflow-wrap:anywhere;font-size:14px;line-height:1.45;}
.op-profile-editor .op-profile-error:empty{display:none;}
.op-profile-editor-dialog [hidden],.op-profile-editor [hidden]{display:none!important;}
.op-profile-editor-dialog :is(button,input,summary):focus-visible,.op-profile-editor .op-profile-upload:focus-within{outline:2px solid #e5c84a;outline-offset:-2px;}
.op-profile-editor-dialog .op-profile-discard{min-height:0;overflow-y:auto;}
.op-profile-editor-dialog .op-profile-discard>h3{margin:0 0 10px;font-size:20px;line-height:1.3;text-align:left;}
.op-profile-editor-dialog .op-profile-discard>p{margin:0 0 18px;color:#bdc4df;font-size:15px;line-height:1.45;}
.op-profile-editor-dialog .op-profile-discard-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.op-profile-editor-dialog .op-profile-discard-actions>button{min-width:0;min-height:44px;padding:9px;font-size:14px;line-height:1.4;}
@media(min-width:701px){dialog.op-dialog.op-profile-editor-dialog{width:min(520px,calc(var(--op-profile-safe-width) - 32px));}}
@media(max-width:360px),(max-height:440px){dialog.op-dialog.op-profile-editor-dialog{padding:16px;}.op-profile-editor-dialog .op-profile-editor-heading>h2{font-size:22px;}.op-profile-editor .op-profile-picture-row{grid-template-columns:64px minmax(0,1fr);gap:10px;}.op-profile-editor .op-avatar-preview>.op-avatar{width:64px;height:64px;}.op-profile-editor .op-profile-picture-copy>h3{font-size:18px;}.op-profile-editor .op-profile-birth-heading{flex-wrap:wrap;}}
@media(forced-colors:active){.op-profile-editor .op-avatar-preview>.op-avatar{border-color:ButtonText;}.op-profile-editor .op-profile-upload,.op-profile-editor .op-profile-name-row{background:Canvas;border-color:ButtonText;color:CanvasText;}.op-profile-editor .op-profile-picture-copy>p,.op-profile-editor .op-profile-tag,.op-profile-editor-dialog .op-profile-discard>p{color:CanvasText;}.op-profile-editor .op-avatar-grid>button[aria-pressed=true]{border-color:Highlight;}}

#commander-table .ct-primary-profile{align-items:center}.ct-primary-profile .ct-primary-name{width:100%}
.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-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}}: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-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}}
/* The directory is an open page; conversations retain their own glass surface.
   Only the contact list or current timeline scrolls. */
#commander-table:has(#ct-messages){box-sizing:border-box}
#commander-table #ct-lobby:has(#ct-messages){min-height:0}
#commander-table .ct-profiles-page:has(#ct-messages){padding-bottom:0}
#commander-table #ct-messages.op-messages-layout{display:flex;flex-direction:column;gap:0;height:calc(100dvh - 64px);min-height:260px;overflow:hidden;box-sizing:border-box;border:1px solid #d7def052;border-radius:22px;padding:16px 14px}
#commander-table #ct-messages.op-messages-layout[data-chat-view=directory]{border:0;border-radius:0;padding:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
#commander-table #ct-messages.op-messages-layout :is(.op-chat-people,.op-chat-pane)[hidden]{display:none!important}
#commander-table #ct-messages.op-messages-layout .op-chat-people{display:flex;flex-direction:column;align-items:stretch;gap:0;flex:1;min-height:0;min-width:0;padding:0;border:0;overflow:hidden}
#commander-table #ct-messages .op-chat-directory-head{display:flex;flex-direction:column;gap:16px;flex:none;padding:0 0 12px}
#commander-table #ct-messages .op-chat-directory-head h1{margin:0!important;padding:0!important;text-align:left;font-size:32px;line-height:1.2;font-weight:650;letter-spacing:-.02em}
#commander-table #ct-messages .op-chat-search{display:flex;align-items:center;gap:10px;box-sizing:border-box;min-height:46px;width:100%;padding:0 12px;border:1px solid #d7def075;border-radius:24px;color:#d4d9ef}
#commander-table #ct-messages .op-chat-search>svg{width:21px;height:21px;flex:none}
#commander-table #ct-messages .op-chat-search input{box-sizing:border-box;flex:1;min-width:0;width:100%;min-height:44px;margin:0;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;font:inherit;font-size:16px;color:#f1f2fa;outline-offset:-2px}
#commander-table #ct-messages .op-chat-search input::placeholder{color:#b5bdd8;opacity:1}
#commander-table #ct-messages .op-chat-filters{display:flex;align-items:center;gap:8px;width:100%;min-width:0}
#commander-table #ct-messages :is(.op-chat-filter,.op-chat-new){display:flex;align-items:center;justify-content:center;box-sizing:border-box;position:static;flex:none;width:auto;min-height:44px;height:44px;margin:0;padding:8px 12px;border:1px solid #d7def060;border-radius:24px;font-size:14px;line-height:1;white-space:nowrap;color:#f1f2fa}
#commander-table #ct-messages .op-chat-new{gap:6px;margin-left:auto}
#commander-table #ct-messages .op-chat-new>span:first-child{color:#e5c84a;font-size:23px;line-height:1}
/* Overlay scrollbars consume no layout width on iOS. Keep a real inner lane
   for them too, while native classic scrollbars reserve their own gutter. */
#commander-table #ct-messages.op-messages-layout .op-chat-list{display:flex;flex-direction:column;align-items:stretch;gap:0;flex:1;min-height:0;min-width:0;width:100%;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;padding:0 0 4px;padding-inline-end:12px;scroll-padding:4px;-webkit-overflow-scrolling:touch}
#commander-table #ct-messages .op-chat-row{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;column-gap:12px;flex:none;min-height:84px;min-width:0}
#commander-table #ct-messages .op-chat-profile{display:grid;place-items:center;box-sizing:border-box;flex:none;width:52px;height:52px;min-height:52px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;color:#e5c84a}
#commander-table #ct-messages .op-chat-profile:disabled{opacity:1;cursor:default}
#commander-table #ct-messages .op-chat-profile .op-avatar{display:grid;place-items:center;width:52px;height:52px;min-width:0;border-radius:50%;overflow:hidden;background:#182244;color:#E5C84A;font-weight:700}
#commander-table #ct-messages .op-chat-profile .op-avatar :is(img,svg){display:block;width:100%;height:100%;object-fit:cover}
#commander-table #ct-messages .op-chat-person{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:center;align-items:center;column-gap:8px;row-gap:4px;box-sizing:border-box;min-width:0;width:100%;min-height:84px;height:auto;flex:none;margin:0;padding:12px 0;border:0;border-bottom:1px solid #bac4e02b;border-radius:0;background:transparent;box-shadow:none;text-align:left;color:#f1f2fa}
#commander-table #ct-messages .op-chat-row:last-child .op-chat-person{border-bottom-color:transparent}
#commander-table #ct-messages .op-chat-name{position:static;display:block;min-width:0;max-width:100%;padding:0;border-radius:0;background:transparent;font-size:17px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f1f2fa}
#commander-table #ct-messages .op-chat-preview{grid-column:1;min-width:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;line-height:1.35;color:#bfc6df;overflow-wrap:anywhere}
#commander-table #ct-messages .op-chat-time{grid-column:2;grid-row:1;font-size:12px;line-height:1.3;white-space:nowrap;color:#bfc6df}
#commander-table #ct-messages.op-messages-layout .op-chat-badge{position:static;grid-column:2;grid-row:2;justify-self:end;display:grid;place-items:center;box-sizing:border-box;min-width:21px;height:21px;padding:1px 5px;border-radius:14px;background:#e5c84a;color:#11152b;font-size:12px;line-height:1}
#commander-table #ct-messages.op-messages-layout .op-chat-support{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) 24px;align-items:center;justify-items:stretch;gap:12px;flex:none;box-sizing:border-box;width:100%;height:64px;min-height:64px;margin:0;padding:8px 0;border:0;border-bottom:1px solid #bac4e02b;border-radius:0;background:transparent;box-shadow:none;color:#f1f2fa;text-align:left;font-size:18px}
#commander-table #ct-messages.op-messages-layout .op-chat-support>svg{justify-self:center;width:25px;height:25px;transform:rotate(-28deg);color:#e5c84a}
#commander-table #ct-messages .op-chat-support>span:nth-child(3){display:grid;place-items:center}
#commander-table #ct-messages .op-chat-support>span:nth-child(3)>svg{width:18px;height:18px}
#commander-table #ct-messages.op-messages-layout .op-chat-support .op-chat-badge{position:absolute;grid-area:auto;right:30px;top:21px;bottom:auto}
#commander-table #ct-messages .op-chat-directory-status{flex:none;font-size:13px;line-height:1.4;color:#c3cbe2;margin:8px 0 0}
#commander-table #ct-messages .op-chat-directory-status:empty{display:none}
#commander-table #ct-messages .op-chat-directory-status>button{min-height:44px;margin:8px 0 0}
#commander-table #ct-messages .op-chat-pane{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;overflow:hidden}
#commander-table #ct-messages .op-chat-pane>p{margin:8px;font-size:14px;line-height:1.5}
#commander-table #ct-messages .op-chat-conversation-head{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;min-height:52px;flex:none;border-bottom:1px solid #64598655;padding-bottom:8px;margin-bottom:0}
#commander-table #ct-messages .op-chat-back{width:44px;height:44px;min-height:44px;display:grid;place-items:center;margin:0;padding:8px;border:0;border-radius:14px;background:transparent;box-shadow:none;color:#f1f2fa}
#commander-table #ct-messages .op-chat-heading{text-align:center;margin:0!important;padding:0 4px;font-size:20px;line-height:1.2;overflow-wrap:anywhere;outline:none}
#ct-messages .op-chat-timeline{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:12px 2px;scrollbar-width:thin}
#ct-messages .op-message-list{max-height:none;overflow:visible;margin:0;min-width:0}
#ct-messages .op-message-list li{box-sizing:border-box;max-width:90%;flex-shrink:0}
#ct-messages .op-chat-status{font-size:12px;margin:4px 0;flex:none}
#ct-messages .op-chat-status:empty{display:none}
#ct-messages .op-chat-composer{display:flex;align-items:flex-end;gap:8px;flex:none;padding-top:10px;border-top:1px solid #64598655}
#commander-table #ct-messages .op-chat-composer textarea{flex:1;min-width:0;resize:none;max-height:120px;border:1px solid #645986;border-radius:12px;background:#111a34;color:#eef0ff;padding:10px;font:inherit}
#commander-table #ct-messages .op-chat-composer button{flex:none;width:auto;margin:0;padding:12px;border:1px solid #E5C84A80;border-radius:12px;background:#E5C84A22;color:#E5C84A}
.op-new-chat-friend{display:block;width:100%;margin:8px 0;padding:12px}
@media(max-width:360px){#commander-table #ct-messages.op-messages-layout{padding-inline:10px}#commander-table #ct-messages .op-chat-filters{gap:5px}#commander-table #ct-messages :is(.op-chat-filter,.op-chat-new){padding-inline:9px;font-size:12px}#commander-table #ct-messages .op-chat-row{column-gap:10px}#commander-table #ct-messages.op-messages-layout .op-chat-support{column-gap:10px}#commander-table #ct-messages .op-chat-name{font-size:16px}#commander-table #ct-messages .op-chat-time{font-size:11px}}
@media(max-height:420px){#commander-table #ct-messages .op-chat-directory-head{gap:8px;padding-bottom:6px}#commander-table #ct-messages .op-chat-directory-head h1{font-size:24px}#commander-table #ct-messages .op-chat-conversation-head{min-height:44px;padding-bottom:0}}
@media(hover:hover){#commander-table #ct-messages :is(.op-chat-person,.op-chat-support,.op-chat-profile,.op-chat-back):hover{background:#e5c84a0c}}

/* Friends is an open page. The shell owns safe insets and the one navigation
   clearance; these rows add neither an inner scroller nor another bottom pad. */
#commander-table #ct-lobby .op-friends-page{box-sizing:border-box;width:100%;min-width:0;max-width:780px;margin:0 auto;padding:0;text-align:left;background:none;border:0;box-shadow:none;}
#commander-table #ct-lobby .op-friends-page>.op-friends-heading{position:static;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;width:100%;min-width:0;max-width:100%;min-height:44px;margin:0 0 20px;padding:0;border:0;background:none;box-shadow:none;}
#commander-table #ct-lobby .op-friends-page>.op-friends-heading>.ct-back{position:static;grid-column:1;grid-row:1;transform:none;display:grid;place-items:center;box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:10px;}
#commander-table #ct-lobby .op-friends-page>.op-friends-heading>h1{grid-column:2;grid-row:1;justify-self:start;min-width:0;max-width:100%;margin:0;font-size:28px;line-height:1.2;font-weight:650;text-align:left;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friends-directory{box-sizing:border-box;min-width:0;width:100%;max-width:none;margin:0;padding:0;border:0;background:none;text-align:left;}
#commander-table #ct-lobby .op-friends-directory .op-friend-tools{display:block;min-width:0;margin:0 0 14px;padding:0;}
#commander-table #ct-lobby .op-friends-directory .op-friend-add{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:50px;margin:0;padding:10px 16px;border:1px solid #756a37;border-radius:14px;font:inherit;font-size:17px;font-weight:550;line-height:1.3;white-space:normal;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friends-directory .op-friend-search-field{box-sizing:border-box;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:10px;min-width:0;width:100%;min-height:50px;margin:0 0 10px;padding:0 14px;border:1px solid #7883a866;border-radius:14px;background:#10151f;}
#commander-table #ct-lobby .op-friend-search-field>svg{display:block;width:20px;height:20px;color:#bdc4df;fill:none;stroke-width:1.8;pointer-events:none;}
#commander-table #ct-lobby .op-friend-search-field>.op-search-clear-field{min-width:0;width:100%;margin:0;}
#commander-table #ct-lobby .op-friend-search-field .op-friend-search{box-sizing:border-box;display:block;min-width:0;width:100%;max-width:100%;min-height:46px;height:46px;margin:0;padding:8px 0;border:0;border-radius:0;font:inherit;font-size:16px;line-height:1.35;}
#commander-table #ct-lobby .op-friend-search-field .op-friend-search::placeholder{color:#aeb7cd;opacity:1;}
#commander-table #ct-lobby .op-friends-directory .op-friend-list-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:44px;margin:0 0 4px;padding:0;}
#commander-table #ct-lobby .op-friends-directory .op-friend-total{flex:1;min-width:0;margin:0;color:#b6bfd1;font-size:14px;line-height:1.4;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friends-directory .op-request-button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:7px;flex:none;width:auto;min-width:44px;min-height:44px;height:auto;margin:0;padding:7px 12px;border:1px solid #7883a866;border-radius:22px;font:inherit;font-size:14px;line-height:1.3;white-space:normal;}
#commander-table #ct-lobby .op-friends-directory .op-request-count{position:static;box-sizing:border-box;display:grid;place-items:center;flex:none;min-width:20px;height:20px;margin:0;padding:0 5px;border:0;border-radius:99px;background:#e5c84a;color:#11142b;font-size:11px;font-weight:650;line-height:1;}
#commander-table #ct-lobby .op-friends-directory>.op-friend-status{margin:0 0 10px;padding:0;border:0;border-radius:0;color:#b6bfd1;font-size:14px;line-height:1.5;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friends-directory>.op-friend-status:empty{display:none;}
#commander-table #ct-lobby .op-friends-directory>.op-friend-status[role=alert]{color:#ffb5a7;}
#commander-table #ct-lobby .op-friends-directory .op-friend-list{display:block;list-style:none;min-width:0;max-width:100%;margin:0;padding:0;border:0;background:none;}
#commander-table #ct-lobby .op-friends-directory .op-friend-row{display:block;min-width:0;max-width:100%;margin:0;padding:0;border:0;background:none;}
#commander-table #ct-lobby .op-friends-directory .op-friend-card{position:relative;box-sizing:border-box;display:grid;grid-template-columns:50px minmax(0,1fr) 18px;align-items:center;justify-items:stretch;gap:14px;min-width:0;width:100%;max-width:100%;min-height:74px;height:auto;margin:0;padding:11px 0;border:0;border-radius:0;font:inherit;text-align:left;white-space:normal;}
#commander-table #ct-lobby .op-friends-directory .op-friend-card::after{content:"";position:absolute;left:64px;right:0;bottom:0;height:1px;background:#7883a83d;pointer-events:none;}
#commander-table #ct-lobby .op-friends-directory .op-friend-card>.op-avatar{display:grid;place-items:center;box-sizing:border-box;width:50px;min-width:50px;max-width:50px;height:50px;min-height:50px;margin:0;border:1px solid #e5c84a80;border-radius:50%;overflow:hidden;background:#10172d;color:#e5c84a;}
#commander-table #ct-lobby .op-friends-directory .op-friend-card>.op-avatar>:is(img,svg){display:block;width:100%;height:100%;object-fit:cover;}
#commander-table #ct-lobby .op-friends-directory .op-friend-identity{display:grid;gap:3px;min-width:0;max-width:100%;}
#commander-table #ct-lobby .op-friends-directory .op-friend-name{display:block;min-width:0;max-width:100%;margin:0;color:#f1f2fa;font-size:18px;font-weight:600;line-height:1.25;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friends-directory .op-friend-tag{display:block;min-width:0;margin:0;color:#aeb7cd;font-size:13px;line-height:1.3;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friends-directory .op-friend-tag:empty{display:none;}
#commander-table #ct-lobby .op-friends-directory .op-friend-chevron{display:block;width:18px;height:18px;color:#b6bfd1;fill:none;stroke-width:1.8;pointer-events:none;}
#commander-table #ct-lobby .op-friends-directory .op-friend-empty{margin:12px 0;padding:10px 0;color:#b6bfd1;font-size:15px;line-height:1.5;list-style:none;}
#commander-table #ct-lobby .op-friends-directory :is(.op-friend-add,.op-friend-card,.op-request-button,.op-friend-search):focus-visible{outline:2px solid #e5c84a;outline-offset:-2px;}
@media(max-width:360px){#commander-table #ct-lobby .op-friends-page>.op-friends-heading>h1{font-size:26px;}#commander-table #ct-lobby .op-friends-directory .op-friend-add{font-size:16px;}#commander-table #ct-lobby .op-friends-directory .op-friend-card{gap:12px;}#commander-table #ct-lobby .op-friends-directory .op-friend-card::after{left:62px;}#commander-table #ct-lobby .op-friends-directory .op-friend-name{font-size:17px;}}
@media(forced-colors:active){#commander-table #ct-lobby .op-friends-directory .op-friend-card::after{background:GrayText;}#commander-table #ct-lobby .op-friends-directory .op-request-count{background:Highlight;color:HighlightText;}#commander-table #ct-lobby .op-friends-directory .op-friend-card>.op-avatar{border-color:ButtonText;}#commander-table #ct-lobby .op-friends-directory :is(.op-friend-name,.op-friend-tag,.op-friend-chevron,.op-friend-total){color:CanvasText;}}

/* One compact invitation dialog. The dialog-specific fitter supplies the safe
   app/visual-viewport intersection; the 12px gap is counted only here. */
dialog.op-dialog.op-friend-invite{--op-invite-safe-top:env(safe-area-inset-top,0px);--op-invite-safe-left:env(safe-area-inset-left,0px);--op-invite-safe-width:calc(100vw - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));--op-invite-safe-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));position:fixed;box-sizing:border-box;inset:calc(var(--op-invite-safe-top) + 12px) calc(100vw - var(--op-invite-safe-left) - var(--op-invite-safe-width) + 12px) calc(100dvh - var(--op-invite-safe-top) - var(--op-invite-safe-height) + 12px) calc(var(--op-invite-safe-left) + 12px);width:min(360px,calc(var(--op-invite-safe-width) - 24px));max-width:calc(var(--op-invite-safe-width) - 24px);height:fit-content;max-height:calc(var(--op-invite-safe-height) - 24px);min-width:0;min-height:0;margin:auto;padding:20px;border:1px solid #7883a866;border-radius:24px;background:#151925;color:#f1f2fa;box-shadow:none;overflow:hidden;text-align:left;}
dialog.op-dialog.op-friend-invite[open]{display:flex;flex-direction:column;gap:12px;}
#commander-table #ct-lobby .op-friend-invite>.op-friend-invite-heading{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;flex:none;min-width:0;min-height:44px;margin:0;padding:0;border:0;}
#commander-table #ct-lobby .op-friend-invite-heading>h2{justify-self:start;min-width:0;margin:0;padding:0;color:#f1f2fa;font:inherit;font-size:24px;font-weight:650;line-height:1.2;text-align:left;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friend-invite-heading>.op-close{box-sizing:border-box;display:grid;place-items:center;min-width:44px;width:44px;min-height:44px;height:44px;margin:0;padding:10px;border:0;border-radius:10px;line-height:1;}
#commander-table #ct-lobby .op-friend-invite-heading>.op-close>svg{display:block;width:22px;height:22px;fill:none;stroke-width:1.8;pointer-events:none;}
#commander-table #ct-lobby .op-friend-invite>.op-friend-invite-body{display:flex;flex-direction:column;gap:16px;flex:1 1 auto;box-sizing:border-box;min-width:0;min-height:0;width:100%;margin:0;padding:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding-block:8px;scrollbar-width:thin;}
#commander-table #ct-lobby .op-friend-invite-body>*{flex:none;min-width:0;max-width:100%;}
#commander-table #ct-lobby .op-friend-invite .op-invite-search{margin:0;padding:0;border:0;background:none;}
#commander-table #ct-lobby .op-friend-invite .op-invite-search>h3{margin:0 0 10px;color:#bdc4df;font:inherit;font-size:15px;font-weight:500;line-height:1.35;text-align:left;}
#commander-table #ct-lobby .op-friend-invite .op-user-search{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:end;gap:12px;min-width:0;margin:0;padding:0;}
#commander-table #ct-lobby .op-friend-invite .op-user-search>label{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;min-width:0;width:100%;max-width:100%;margin:0;color:#c9cfdd;font-size:14px;line-height:1.3;text-align:left;}
#commander-table #ct-lobby .op-friend-invite .op-user-search input{box-sizing:border-box;display:block;min-width:0;width:100%;max-width:100%;min-height:46px;height:46px;margin:0;padding:10px 12px;border:1px solid #7883a866;border-radius:12px;font:inherit;font-size:16px;line-height:1.3;}
#commander-table #ct-lobby .op-friend-invite .op-user-search .op-friend-user-search{grid-column:1/-1;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;width:100%;min-height:46px;height:auto;margin:0;padding:10px 12px;border:1px solid #7883a866;border-radius:12px;font:inherit;font-size:16px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friend-invite .op-friend-user-search>svg{flex:none;width:19px;height:19px;fill:none;stroke-width:1.8;pointer-events:none;}
#commander-table #ct-lobby .op-friend-invite .op-invite-divider{display:flex;align-items:center;gap:12px;min-width:0;margin:0;color:#9ca8bf;font-size:13px;line-height:1.4;text-align:center;}
#commander-table #ct-lobby .op-friend-invite .op-invite-divider::before,#commander-table #ct-lobby .op-friend-invite .op-invite-divider::after{content:"";flex:1;min-width:10px;height:1px;background:#7883a84d;}
#commander-table #ct-lobby .op-friend-invite .op-invite-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;margin:0;padding:0;}
#commander-table #ct-lobby .op-friend-invite .op-invite-share{box-sizing:border-box;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;justify-content:center;gap:10px;min-width:0;width:100%;min-height:64px;margin:0;padding:10px 16px;border:1px solid #e5c84a;border-radius:14px;font:inherit;text-align:left;white-space:normal;}
#commander-table #ct-lobby .op-friend-invite .op-invite-share>svg{grid-column:1;grid-row:1;justify-self:center;width:23px;height:23px;fill:none;stroke-width:1.8;pointer-events:none;}
#commander-table #ct-lobby .op-friend-invite .op-invite-share>span{grid-column:2;grid-row:1;display:grid;gap:2px;min-width:0;}
#commander-table #ct-lobby .op-friend-invite .op-invite-share>span>strong{min-width:0;font-size:17px;font-weight:550;line-height:1.3;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friend-invite .op-invite-share>span>small{min-width:0;color:#bdc4df;-webkit-text-fill-color:#bdc4df;font-size:12px;font-weight:400;line-height:1.4;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friend-invite .op-invite-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;}
#commander-table #ct-lobby .op-friend-invite .op-invite-quick-actions>button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;width:100%;min-height:56px;height:auto;margin:0;padding:9px 8px;border:1px solid #7883a866;border-radius:12px;font:inherit;font-size:14px;line-height:1.3;text-align:center;white-space:normal;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friend-invite .op-invite-quick-actions>button>svg{flex:none;width:19px;height:19px;fill:none;stroke-width:1.8;pointer-events:none;}
#commander-table #ct-lobby .op-friend-invite .op-invite-confirmation{align-self:center;max-width:32ch;margin:0 auto;color:#9ca8bf;font-size:12px;line-height:1.5;text-align:center;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friend-invite .op-invite-status{margin:0;padding:0;color:#bdc4df;font-size:13px;line-height:1.5;text-align:left;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friend-invite :is(.op-invite-status,.op-invite-results):empty{display:none;}
#commander-table #ct-lobby .op-friend-invite .op-invite-status[role=alert]{color:#ffb5a7;}
#commander-table #ct-lobby .op-friend-invite :is(.op-invite-output,.op-invite-received,.op-invite-results){box-sizing:border-box;min-width:0;width:100%;margin:0;padding:12px 0 0;border:0;border-top:1px solid #7883a84d;border-radius:0;background:none;}
#commander-table #ct-lobby .op-friend-invite .op-invite-output-heading{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;min-width:0;margin:0 0 8px;}
#commander-table #ct-lobby .op-friend-invite :is(.op-invite-output-heading>h3,.op-invite-received>h3){min-width:0;margin:0;color:#e5c84a;font-size:16px;line-height:1.35;text-align:left;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friend-invite .op-invite-output-close{display:grid;place-items:center;box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:11px;border:0;border-radius:10px;}
#commander-table #ct-lobby .op-friend-invite .op-invite-output-close>svg{display:block;width:18px;height:18px;pointer-events:none;}
#commander-table #ct-lobby .op-friend-invite :is(.op-invite-output,.op-invite-received)>p{margin:8px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friend-invite .op-invite-link{box-sizing:border-box;display:block;min-width:0;width:100%;max-width:100%;min-height:68px;margin:6px 0 10px;padding:10px 12px;border:1px solid #7883a866;border-radius:12px;font:inherit;font-size:16px;line-height:1.4;overflow-wrap:anywhere;resize:vertical;}
#commander-table #ct-lobby .op-friend-invite .op-friend-qr{display:block;width:min(100%,240px);height:auto;max-width:100%;aspect-ratio:1;margin:10px auto 16px;border-radius:8px;shape-rendering:crispEdges;}
#commander-table #ct-lobby .op-friend-invite :is(.op-invite-output,.op-invite-received)>button{min-width:44px;min-height:44px;max-width:100%;margin:6px 0 0;padding:10px 12px;white-space:normal;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friend-invite .op-invite-results .orbunity-links-panel{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px 12px;min-width:0;margin:0;padding:12px 0;border:0;border-bottom:1px solid #7883a84d;border-radius:0;}
#commander-table #ct-lobby .op-friend-invite .op-invite-results .op-avatar{grid-column:1;width:44px;height:44px;min-width:44px;}
#commander-table #ct-lobby .op-friend-invite .op-invite-results .orbunity-links-panel>p{grid-column:2;min-width:0;margin:0;font-size:15px;line-height:1.4;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friend-invite .op-invite-results .orbunity-links-panel>button{grid-column:1/-1;min-height:44px;max-width:100%;margin:0;padding:10px 12px;white-space:normal;overflow-wrap:anywhere;}
#commander-table #ct-lobby .op-friend-invite [hidden]{display:none!important;}
#commander-table #ct-lobby .op-friend-invite :is(button,input,textarea):focus-visible{outline:2px solid #e5c84a;outline-offset:-2px;}
@media(min-width:701px){dialog.op-dialog.op-friend-invite{width:min(520px,calc(var(--op-invite-safe-width) - 24px));}}
@media(max-width:360px),(max-height:440px){dialog.op-dialog.op-friend-invite{padding:16px;}#commander-table #ct-lobby .op-friend-invite-heading>h2{font-size:22px;}#commander-table #ct-lobby .op-friend-invite>.op-friend-invite-body{gap:14px;}#commander-table #ct-lobby .op-friend-invite .op-invite-quick-actions>button{gap:5px;font-size:13px;}}
@media(forced-colors:active){#commander-table #ct-lobby .op-friend-invite .op-invite-divider::before,#commander-table #ct-lobby .op-friend-invite .op-invite-divider::after{background:GrayText;}#commander-table #ct-lobby .op-friend-invite :is(h2,h3,p,label,small){color:CanvasText;}#commander-table #ct-lobby .op-friend-invite .op-invite-share>span>small{color:ButtonText;-webkit-text-fill-color:ButtonText;}}
