/* typography.css */
/* Shared typography: compact headings and supporting text across Owl. */
:root { --owl-heading-size:14px; --owl-text-size:11px; font-family:Arial,Helvetica,sans-serif !important; }
body, dialog, .owl-player-panel, .owl-player-modal, .owl-chat-log, .owl-notice { font-family:Arial,Helvetica,sans-serif !important; font-size:var(--owl-text-size) !important; line-height:1.55; }
body * { font-family:Arial,Helvetica,sans-serif !important; font-size:inherit !important; }
h1,h2,h3,h4,h5,h6 { font-size:var(--owl-heading-size) !important; font-weight:600 !important; letter-spacing:normal !important; line-height:1.4; }
p,small,label,summary,footer,th,td,li,pre,code,.tag,.count,.label,.status,.notice,.note,.step,.eyebrow,.back,.open,.stat-row,.stat-name,.comparison-head,.metric span,.owl-player-note,.owl-player-gear,.owl-unread-label,.owl-player-status,.owl-notice p,.owl-notification-badge { font-size:var(--owl-text-size) !important; line-height:1.55 !important; }
button,nav a,.brand,.icon,.metric b { font-family:Arial,Helvetica,sans-serif !important; font-size:var(--owl-heading-size) !important; }
button { min-height:40px; }
input,select,textarea { font-family:Arial,Helvetica,sans-serif !important; font-size:16px !important; }
input[type=file] { font-size:var(--owl-text-size) !important; }
/* The player's identity is intentionally more prominent than supporting text. */
.owl-player-panel .owl-profile-top { font-size:18px !important; line-height:1.4; }
.owl-player-panel .owl-profile-top span { font-size:18px !important; }
.owl-player-panel .owl-profile-name { font-size:22px !important; margin:12px 0 20px; }

/* Image branding keeps the supplied artwork intact at every screen size. */
header.owl-header{display:grid;grid-template-columns:1fr minmax(0,320px) 1fr;align-items:center;gap:16px;padding-top:12px;padding-bottom:12px;}
.owl-header .brand{justify-self:start;display:inline-flex;align-items:center;min-width:0;}
.owl-app-icon{display:block;width:64px;height:64px;object-fit:contain;}
.owl-header #owl-player-chat{justify-self:end;white-space:nowrap;}
@media(max-width:650px){header.owl-header{grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:10px 16px;}.owl-header .owl-app-icon{width:44px;height:44px;}.owl-header #owl-player-chat{font-size:11px !important;padding:8px;}}

/* Private messages artwork and separate unread badge. */
#owl-player-chat{position:relative;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:10px;padding:0;cursor:pointer;width:64px;height:64px;flex-shrink:0;}
.owl-messages-icon{display:block;width:100%;height:100%;object-fit:contain;}
#owl-player-chat .owl-notification-badge{position:absolute;top:0;right:-4px;margin:0;pointer-events:none;}
@media(max-width:650px){.owl-header #owl-player-chat{width:44px;height:44px;padding:0;}}

/* scholar-theme.css */
/* Scholar theme: decorative artwork under live responsive controls. */
:root{--muted:#b4b8bb;--line:#4e5b64;--purple:#78ddea;--owl-text-size:12px;--owl-heading-size:16px;--scholar-ink:#10151b;--scholar-ivory:#e8e3d7;--scholar-brass:#c3a366}
html{background:var(--scholar-ink)}body{color:var(--scholar-ivory);background:linear-gradient(#10151b85,#10151bad),url('/assets/scholar-background-v1.webp') center/cover no-repeat}
body :is(h1,h2,h3,h4){font-family:Georgia,'Times New Roman',serif !important;color:var(--scholar-ivory);letter-spacing:.3px !important}body h1{font-size:22px !important}body h2{font-size:18px !important}body h3{font-size:16px !important}
header.owl-header{background:#10151bdb;padding:4px 16px;border-bottom:1px solid #665d4c;min-height:0}
body>main{padding:18px 20px;background:transparent}body :is(.eyebrow,.step,.status,.back,.open){color:var(--scholar-brass)}
body :is(.card,.notice,.owl-player-panel){border:22px solid transparent !important;border-image:url('/assets/scholar-panel-v1.webp') 145 stretch !important;border-radius:0 !important;background:linear-gradient(135deg,#182029ed,#10151bf5) !important;padding:12px !important;box-shadow:0 5px 18px #0004}
body :is(dialog,.owl-player-modal){border:22px solid transparent !important;border-image:url('/assets/scholar-panel-v1.webp') 145 stretch !important;border-radius:0 !important;background:#182029 !important;padding:12px !important;color:var(--scholar-ivory)}dialog::backdrop,.owl-player-modal::backdrop{background:#050b11df}
body :is(button,.primary,.secondary):not(.owl-conversation-link):not(#owl-player-chat):not(.owl-profile-icon-button):not(.owl-avatar-choice):where(:not(#owl-chat-settings-open):not(.owl-chat-send):not([data-tutorial]):not([data-expert-step]):not(.bp-layout button):not(.home-confirm button):not(.settings-quick-actions button)){min-height:44px;border:1px solid #756d59 !important;border-radius:8px !important;background:#192d36 url('/assets/scholar-button-v1.webp') center/100% 100% no-repeat !important;color:#f3ecd9 !important;padding:12px 18px !important;text-shadow:0 1px 2px #000;box-shadow:0 2px 7px #0004}
body button:disabled{opacity:.48;cursor:not-allowed}body button:active:not(:disabled){filter:brightness(1.12)}body :is(button,a,input,select,textarea):focus-visible{outline:2px solid #78ddea;outline-offset:3px}
body :is(input,select,textarea){background:#101820 !important;border-color:#53616d !important;color:#e8e3d7 !important;min-height:44px}body label{color:#b4b8bb}
nav.owl-bottom-nav{background:#101820f5;border-top:1px solid #887452;gap:6px;padding-top:8px;box-shadow:0 -4px 16px #0005}
body .owl-bottom-nav a,body .owl-bottom-nav #owl-player-chat,body .owl-bottom-nav a[aria-current=page],body .owl-bottom-nav #owl-player-chat[aria-current=page]{height:auto;width:100%;min-height:0;background:#182029 url('/assets/scholar-navigation-v1.webp') center/100% 100% no-repeat !important;border:1px solid transparent;border-radius:9px;padding:8px 3px !important;color:#c7c2b6;box-shadow:none;gap:5px;text-shadow:none}
body .owl-bottom-nav a[aria-current=page],body .owl-bottom-nav #owl-player-chat[aria-current=page]{border-color:#d2b775;box-shadow:inset 0 0 12px #a080322f,0 0 9px #9cdde52a;color:#f9e5b6}
body .owl-bottom-nav img{width:52px;height:52px;border-radius:0}body .owl-bottom-nav span{font-size:10px !important;line-height:1.2 !important;min-height:24px}
body .owl-profile-top,body .owl-profile-top span{color:#cfb681 !important;font-size:18px !important}.owl-profile-identity{margin:10px 0 14px}.owl-profile-avatar{width:84px;height:84px;border-radius:0}.owl-player-panel .owl-profile-name{font-family:Georgia,serif !important;font-size:23px !important;margin:8px 0 12px}.owl-player-panel h3{color:#dbc59a}
body .owl-chat-log{background:#0e171fee;border:1px solid #485967}body .owl-chat-message{border-bottom-color:#43515c}body #owl-friends-page .owl-conversation-link{background:transparent !important;border:0 !important;color:#e8e3d7 !important;padding:8px 0 !important;box-shadow:none;text-shadow:none}body #owl-friends-page .owl-conversation-link:disabled{opacity:1}body .owl-unread-count,body .owl-unread-dot,body .owl-notification-badge{background:#78ddea;color:#101820}.owl-player-row{border-bottom-color:#445461}
body .stat-row{background:#1a2530}body .stat-row:nth-child(even){background:#202d38}body .hero-card,body .chat-message{background:#17232deb;border-color:#4e5b64}body #owl-status{background:#101820f0;color:#d2b775}body .room{background:#182029 !important;color:#e8e3d7 !important}body .room[aria-pressed=true]{border-color:#78ddea !important;box-shadow:inset 0 0 9px #78ddea22}
#content>.cards:not(.tools){gap:12px}#content>.cards:not(.tools) .card{border-width:16px !important;padding:12px 8px !important}#content>.cards:not(.tools) .icon{width:64px;height:64px;background:transparent;border-radius:0}#content>.cards:not(.tools) .icon img{width:100%;height:100%;object-fit:contain}#content>.cards:not(.tools) .open{margin-top:12px}
.owl-notice{background:#182029;border-color:#a89163}.owl-notice button{background:#192d36;color:#f3ecd9}.owl-notice-stack{bottom:calc(var(--owl-nav-height,112px) + 12px)}#owl-friends-page #owl-add-user{bottom:calc(var(--owl-nav-height,112px) + 12px);right:max(16px,env(safe-area-inset-right));z-index:3}.owl-messages-page main{padding-bottom:90px}
@media(max-width:650px){header.owl-header{padding:3px 12px}body>main{padding:14px 12px}body :is(.card,.notice,.owl-player-panel,dialog,.owl-player-modal){border-width:18px !important;padding:10px !important}nav.owl-bottom-nav{gap:3px;padding-left:8px;padding-right:8px}body .owl-bottom-nav img{width:42px;height:42px}body .owl-bottom-nav span{font-size:9px !important}body .owl-bottom-nav a,body .owl-bottom-nav #owl-player-chat{padding:6px 2px !important}#content>.cards:not(.tools){grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}#content>.cards:not(.tools) .card{border-width:10px !important;padding:8px 2px !important}#content>.cards:not(.tools) .icon{width:48px;height:48px;margin:auto}#content>.cards:not(.tools) h2{font-size:13px !important;text-align:center}#content>.cards:not(.tools) :is(p,.count,.open){display:none}.owl-player-panel .owl-profile-name{font-size:21px !important}.owl-conversation-actions button{padding:8px !important;font-size:11px !important}}
@media(prefers-reduced-motion:reduce){body *,body *::before,body *::after{animation:none !important;transition:none !important;scroll-behavior:auto !important}}

/* Player-selected portraits and generated troop emblems. */
body button.owl-profile-icon-button{display:block;width:88px;height:88px;padding:2px !important;margin:0 auto;background:transparent !important;border:1px solid transparent !important;box-shadow:none;border-radius:50% !important}body button.owl-profile-icon-button:hover{border-color:#c3a366 !important}body .owl-profile-icon-button img{display:block;object-fit:contain;margin:0;width:100%;height:100%}.owl-avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}body button.owl-avatar-choice{color:#e8e3d7 !important;display:flex;flex-direction:column;align-items:center;gap:6px;background:#101820 !important;padding:8px 3px !important;border:1px solid #53616d !important;min-width:0}body button.owl-avatar-choice[aria-pressed=true]{border-color:#78ddea !important;box-shadow:0 0 8px #78ddea55}body .owl-avatar-choice img{width:64px;height:64px;object-fit:contain}.owl-avatar-choice span{text-align:center;font-size:10px !important}.owl-message-own-icon{float:right;margin-top:-45px !important;width:44px !important;height:44px !important}.owl-troop-icon{display:block;object-fit:contain;width:56px;height:56px;margin:0 auto 6px}.metric{text-align:center}.metric img+span{display:block}@media(max-width:550px){.owl-avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.owl-avatar-choice img{width:60px;height:60px}.owl-troop-icon{width:44px;height:44px}}

body .owl-assistance-toggle{display:flex !important;align-items:center;gap:10px;color:#e8e3d7}body input#owl-assistance{width:22px;min-height:22px;height:22px;flex:none;margin:0;accent-color:#78ddea}

/* Public sign-in and approval screens share the workspace artwork. */
body.owl-auth-page{min-height:100vh;min-height:100svh;box-sizing:border-box;padding:24px 12px;background-attachment:fixed}
body.owl-auth-page>main.card{box-sizing:border-box;width:min(100%,480px);max-width:480px;margin:0;padding:22px !important}
.owl-auth-page .brand{text-align:center;margin:0 0 20px;letter-spacing:normal}
body.owl-auth-page h1{font-size:24px !important;text-align:center;margin:12px 0 16px}
body.owl-auth-page p{font-size:14px !important;line-height:1.65;color:#c4c8c9}
body.owl-auth-page :is(a.primary,button){box-sizing:border-box;width:100%;font-size:14px !important;text-align:center}
body.owl-auth-page #message:empty{display:none}
@media(max-width:480px){body.owl-auth-page>main.card{padding:16px !important}body.owl-auth-page h1{font-size:22px !important}}

/* Keep panel fills inside the illustrated frame, with calm readable surfaces. */
body :is(.card,.notice,.owl-player-panel,dialog,.owl-player-modal){background-clip:padding-box !important;box-sizing:border-box;box-shadow:none}
body :is(.card,.notice,.owl-player-panel){background-color:#151d25 !important;background-image:none !important}
body :is(dialog,.owl-player-modal){background-color:#151d25 !important}
body :is(p,.owl-player-note,.owl-conversation-copy small){color:#d0d5da}
body :is(input,select,textarea){background-color:#0e161e !important;color:#f0eee7 !important}
body :is(button,.primary,.secondary):not(.owl-conversation-link):not(#owl-player-chat):not(.owl-profile-icon-button):not(.owl-avatar-choice):where(:not(#owl-chat-settings-open):not(.owl-chat-send):not([data-tutorial]):not([data-expert-step]):not(.bp-layout button):not(.home-confirm button):not(.settings-quick-actions button)){background-color:transparent !important;border-color:transparent !important;box-shadow:none}
/* Navigation artwork stands alone without a second ornamental frame. */
body .owl-bottom-nav a,body .owl-bottom-nav #owl-player-chat,body .owl-bottom-nav a[aria-current=page],body .owl-bottom-nav #owl-player-chat[aria-current=page]{background:transparent !important;border:0 !important;border-radius:0;box-shadow:none;color:#d0d5da;position:relative}
body .owl-bottom-nav a[aria-current=page],body .owl-bottom-nav #owl-player-chat[aria-current=page]{color:#fff3ce;background:#ffffff08 !important}
body .owl-bottom-nav [aria-current=page]::after{content:'';position:absolute;bottom:0;left:25%;right:25%;height:2px;background:#78ddea;border-radius:2px}
body .owl-bottom-nav span{font-family:Arial,Helvetica,sans-serif;font-size:11px !important;font-weight:500}
body .owl-bottom-nav img{width:48px;height:48px}
/* Profile: portrait and identity together, labeled metadata beneath the name. */
body #owl-player-panel{padding:18px !important}
.owl-profile-heading{display:flex;align-items:center;gap:18px;margin-bottom:18px}
body .owl-profile-heading .owl-profile-icon-button{margin:0;flex:0 0 84px;width:84px;height:84px}
.owl-profile-details{flex:1;min-width:0}
body .owl-player-panel .owl-profile-name{text-align:left;font-size:22px !important;line-height:1.35;margin:0 0 12px;font-family:Georgia,serif !important;overflow-wrap:anywhere}
.owl-profile-meta{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0;font-family:Georgia,serif}
.owl-profile-meta div{display:grid;gap:4px}.owl-profile-meta dt{font-family:Arial,Helvetica,sans-serif;font-size:11px;color:#c0c9d1}.owl-profile-meta dd{margin:0;font-size:16px;color:#f0e7d3;overflow-wrap:anywhere}
body #owl-player-panel #owl-profile-open{background:#202e38 !important;border:1px solid #73818b !important;font-family:Arial,Helvetica,sans-serif;font-size:13px !important;padding:8px 16px !important;min-height:40px;width:auto;max-width:100%;text-shadow:none}
.owl-profile-connections{margin-top:22px;padding-top:4px;border-top:1px solid #53606b}
body .owl-profile-connections h3{color:#ece7dc;font-size:16px !important}
body .owl-player-panel .owl-player-note{color:#d0d5da;font-size:12px !important;line-height:1.65}
@media(max-width:650px){body .owl-bottom-nav img{width:38px;height:38px}body .owl-bottom-nav span{font-size:10px !important}body #owl-player-panel{padding:12px !important}.owl-profile-heading{gap:12px}body .owl-profile-heading .owl-profile-icon-button{flex-basis:68px;width:68px;height:68px}body .owl-player-panel .owl-profile-name{font-size:19px !important}.owl-profile-meta{gap:8px 18px}.owl-profile-meta dd{font-size:15px}}

/* Dim artwork beneath reading areas, while retaining it around the page. */
body:not(.owl-auth-page)>main{background:#10151bd9}
body :is(.owl-player-status,#owl-status){color:#e9e1c8}

/* Unified typography and inset surfaces follow the ornamental frame. */
body :is(.card,.notice,.owl-player-panel,dialog,.owl-player-modal){border-image-outset:0 !important;background-clip:padding-box !important;border-radius:18px !important}
body *,body :is(input,select,textarea,button,nav a){font-family:Georgia,'Times New Roman',serif !important}
body :is(p,label,small,.note,.owl-player-note){color:#d9dce0}
/* State and alliance read as badges of identity. */
.owl-profile-heading{padding:10px 0 18px;border-bottom:1px solid #ad94634f}
body .owl-profile-heading .owl-profile-icon-button{width:96px;height:96px;flex-basis:96px;filter:drop-shadow(0 0 9px #c7a86a38)}
body .owl-player-panel .owl-profile-name{color:#fff0c5;font-size:23px !important}
.owl-profile-meta div{background:linear-gradient(130deg,#302a1c,#182934);border:1px solid #9c865b;border-radius:7px;padding:7px 12px;min-width:80px}
.owl-profile-meta dt{color:#d8c49b;font-size:10px !important;letter-spacing:.7px;text-transform:uppercase}.owl-profile-meta dd{color:#fff1cf;font-size:19px !important;font-weight:bold}
/* Restrained brass and blue illumination, without ornamental navigation boxes. */
nav.owl-bottom-nav{background:linear-gradient(180deg,#1c2933,#0c141c);border-top:1px solid #ab9265;box-shadow:0 -4px 20px #0008}
body .owl-bottom-nav a,body .owl-bottom-nav #owl-player-chat{border-radius:12px;background:radial-gradient(ellipse at 50% 75%,#87cddd10,transparent 70%) !important}
body .owl-bottom-nav a[aria-current=page],body .owl-bottom-nav #owl-player-chat[aria-current=page]{background:radial-gradient(ellipse at 50% 75%,#78ddea30,transparent 75%) !important;color:#fff1cd}
body .owl-bottom-nav img{filter:drop-shadow(0 2px 5px #0008);width:52px;height:52px}body .owl-bottom-nav [aria-current=page] img{filter:drop-shadow(0 0 6px #78ddea66)}
/* Battle stats: consistent editable values, no old dark input rectangles. */
body .comparison-head,body .stat-row{grid-template-columns:minmax(0,1fr) minmax(100px,1.6fr) minmax(0,1fr);gap:6px;padding:12px 8px}
body .comparison-head{color:#e4d2ab;border-bottom:1px solid #827453}
body .stat-row{background:#17232d;border-bottom:1px solid #52616c44}body .stat-row:nth-child(even){background:#1c2b36}
body .stat-name{color:#f0e8d9;font-size:12px !important}
body .stat-value{gap:3px;min-width:0;color:#e3e7ec;font-variant-numeric:tabular-nums}
body .stat-value input{background:transparent !important;color:inherit !important;min-height:36px;padding:3px 0 !important;max-width:calc(100% - 12px);border:0 !important;border-bottom:1px solid #8393a04f !important;font-size:14px !important;box-shadow:none}
body .stat-value.winner{color:#a7e3bd}body .stat-value.loser{color:#ffb2a7}
/* Conversations replace navigation with a dedicated chat workspace. */
body.owl-in-conversation{grid-template-rows:auto minmax(0,1fr);grid-template-areas:'header' 'workspace'}
body.owl-in-conversation .owl-bottom-nav,body.owl-in-conversation #content>h1,body.owl-in-conversation>a[href='/admin/access']{display:none !important}
.owl-header{position:relative}body button#owl-conversation-back{position:absolute;left:10px;top:50%;transform:translateY(-50%);z-index:4;width:40px;min-height:40px;padding:0 !important;background:#172934 !important;border:1px solid #bba16b !important;border-radius:50% !important;color:#fff0ca;font-size:30px !important;line-height:1;box-shadow:0 0 10px #0008}
body.owl-in-conversation>main{padding:8px 12px;background:#101923f2}
body.owl-in-conversation #content,body.owl-in-conversation #owl-friends-page{height:100%;min-height:0}
body.owl-in-conversation #owl-friends-page{display:flex;flex-direction:column}
body .owl-conversation-title{text-align:center;color:#eddfbd;font-size:17px !important;margin:4px 0 10px}
body.owl-in-conversation .owl-chat-log{flex:1;min-height:100px;height:auto;border:0;background:transparent;border-radius:0;padding:8px 0;white-space:normal;display:flex;flex-direction:column;gap:16px}
body .owl-chat-message{flex:none;border:1px solid #667e8d66;border-radius:12px;padding:12px;background:#20303c;max-width:88%;width:fit-content;overflow-wrap:anywhere;white-space:pre-wrap;box-shadow:0 3px 8px #0003}
body .owl-message-other{align-self:flex-start;margin-right:auto;border-left:2px solid #b5a078}
body .owl-message-own{align-self:flex-end;margin-left:auto;background:#263c46;border-right:2px solid #82c9d5}
body .owl-chat-message strong{color:#fff1d3}body .owl-chat-message p{margin:6px 0 0;color:#eef0ee;font-size:13px !important}
body .owl-chat-composer{display:flex;align-items:flex-end;gap:8px;flex:none;margin:10px 0 0 !important;max-width:none !important;width:100%}
body .owl-chat-composer label{flex:1;min-width:0;margin:0 !important}body .owl-chat-composer textarea{box-sizing:border-box;width:100%;resize:none;min-height:52px;max-height:140px;margin:0;border-radius:10px;font-size:16px !important;padding:10px}
body .owl-chat-composer button{flex:none;width:64px;min-height:52px;background:#253d47 !important;border:1px solid #b49b69 !important;padding:8px !important;border-radius:10px !important;font-size:13px !important}
.owl-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body dialog.owl-chat-dialog{position:fixed;inset:88px 0 0;margin:0 auto;width:min(100%,900px);max-width:100%;height:calc(100% - 88px);max-height:none;border:0 !important;border-image:none !important;padding:12px !important;background:#101923 !important;overflow:hidden}
body dialog.owl-chat-dialog[open]{display:flex;flex-direction:column}body .owl-chat-dialog::backdrop{background:transparent}body .owl-chat-dialog #owl-chat-close{display:none}
body .owl-chat-dialog .owl-chat-log{display:flex;flex-direction:column;gap:14px;flex:1;min-height:80px;height:auto;background:transparent;border:0}
body .owl-chat-dialog .owl-assistance-toggle{font-size:12px !important}body .owl-chat-dialog #owl-assistance-note{margin:4px 0 10px}
@media(max-width:650px){body .owl-bottom-nav img{width:44px;height:44px}body dialog.owl-chat-dialog{top:76px;height:calc(100% - 76px)}body .owl-profile-heading .owl-profile-icon-button{width:76px;height:76px;flex-basis:76px}body .owl-player-panel .owl-profile-name{font-size:20px !important}.owl-profile-meta div{padding:6px 9px;min-width:66px}.owl-profile-meta dd{font-size:17px !important}body .owl-chat-message{max-width:92%}}

/* Beat legacy button selectors for compact conversation controls. */
body.owl-in-conversation #owl-conversation-back#owl-conversation-back{background:#172934 !important;border:1px solid #bba16b !important;border-radius:50% !important;box-shadow:0 0 10px #0008;padding:0 !important}
body #owl-ai-form.owl-chat-composer button,body .owl-chat-dialog .owl-chat-composer button{background:#253d47 !important;border:1px solid #b49b69 !important;border-radius:10px !important;min-height:52px;padding:8px !important;box-shadow:none}
body #form .stat-value input{font-size:12px !important;background:transparent !important;max-width:calc(100% - 10px)}
body #owl-player-panel #owl-profile-open{background:#202e38 !important}
@media(max-width:480px){.owl-profile-heading{flex-direction:column;gap:12px}.owl-profile-details{width:100%}body .owl-player-panel .owl-profile-name{text-align:center}.owl-profile-meta{justify-content:center}.owl-profile-meta div{min-width:100px;text-align:center}body #owl-player-panel #owl-profile-open{display:block;margin:0 auto}}

/* Let page artwork continue beneath the navigation, matching the header. */
nav.owl-bottom-nav{background:transparent;box-shadow:none}

/* Separate the player march from the opposing troop counts. */
.lab-march-capacity{padding-bottom:22px}
.lab-enemy-troops{border-top:1px solid #a88f6366;padding-top:20px}
body .lab-enemy-troops h3{margin:0 0 12px;color:#e4d2ab;font-size:16px !important}
body .lab-march-capacity label{margin-top:0}

#formation-panel[hidden]{display:none !important}

/* Match the Send control to the full composer input height. */
body .owl-chat-composer{align-items:stretch}
body #owl-ai-form.owl-chat-composer button,body .owl-chat-dialog .owl-chat-composer button{align-self:stretch;height:auto;min-height:52px;display:flex;align-items:center;justify-content:center}

.owl-thinking-message p{color:#c9d8e0 !important;font-style:italic}
.owl-thinking-dots{display:inline-block;animation:owl-thinking-pulse 1.2s ease-in-out infinite}
@keyframes owl-thinking-pulse{50%{opacity:.35}}

/* Bright, continuous brass outline on both chat composers. */
body #owl-ai-form.owl-chat-composer textarea,body .owl-chat-dialog .owl-chat-composer textarea{border:1px solid #b5a078 !important;margin:0 !important}

body.owl-in-conversation #owl-conversation-back#owl-conversation-back{display:grid;place-items:center;line-height:0}
#owl-conversation-back svg{display:block;transform:translateX(-.5px)}

body .owl-chat-composer label{display:flex;align-items:stretch}
body .owl-chat-composer textarea{display:block}

/* Keep navigation artwork dimmed like the workspace; enlarge destination icons. */
nav.owl-bottom-nav{background:#10151bd9}
body .owl-bottom-nav img{width:80px;height:80px;max-width:100%;object-fit:contain}
.owl-messages-page{--owl-nav-clearance:148px}
@media(max-width:650px){body .owl-bottom-nav img{width:clamp(52px,16vw,68px);height:clamp(52px,16vw,68px)}.owl-messages-page{--owl-nav-clearance:120px}}
/* Auth medallion: artwork remains faint beneath a dark inward edge shadow. */
body.owl-auth-page{padding:24px 20px}
body.owl-auth-page>main.card{background:radial-gradient(ellipse at center,#10151b80 0%,#0a1018bd 65%,#050a10ed 100%) !important;background-clip:padding-box !important;box-shadow:inset 0 0 48px 14px #03070cbb;border-image-outset:0 !important}
body.owl-auth-page p{color:#e1e4e5;text-shadow:0 1px 3px #000}
@media(max-width:480px){body.owl-auth-page>main.card{box-shadow:inset 0 0 32px 9px #03070cbb}}
/* Both conversation types share one translucent workspace. */
body.owl-in-conversation #owl-add-user{display:none !important}
body.owl-in-conversation>main{background:#101923a6}
body.owl-in-conversation dialog.owl-chat-dialog{background:#101923a6 !important;border-radius:0 !important;box-shadow:none}
body.owl-in-conversation:has(dialog.owl-chat-dialog[open])>main{background:transparent}
/* Event tools unlock only after a saved Reveal. */
.owl-locked-tool{position:relative;min-height:160px;overflow:hidden}
.owl-locked-content{opacity:.28;filter:blur(1px)}
.owl-tool-lock{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:radial-gradient(ellipse,#080e17d9,#080e1766);color:#d6bb7e;text-align:center;padding:20px}
.owl-tool-lock svg{width:48px;height:48px;filter:drop-shadow(0 2px 5px #000)}
.owl-tool-lock span{font-size:13px;color:#f0dfb8}

/* Messages owns friend requests and alliance discovery. */
body #owl-friends-page #owl-network-open{float:right;position:relative;margin-top:-45px;width:48px;height:48px;padding:8px !important;background:radial-gradient(ellipse,#78ddea25,transparent) !important;border:1px solid #b5a078 !important;border-radius:50% !important;color:#e5ce98 !important}
#owl-network-open svg{display:block;width:100%;height:100%;fill:currentColor}
.owl-network-count{position:absolute;right:-4px;top:-4px;background:#78ddea;color:#10151b;border-radius:12px;padding:2px 5px;font-size:11px}
#owl-network-panel{clear:both;padding:16px;margin:10px 0;background:#101923bb;border:1px solid #a88f6377;border-radius:12px}
#owl-network-panel[hidden]{display:none !important}
body.owl-in-conversation #owl-network-open{display:none !important}

/* Labyrinth headings and button labels share a centered alignment. */
body.owl-labyrinth-page>main>h1{text-align:center}
body .rooms .room{text-align:center !important}
body #upload-stats{display:block;width:100%;text-align:center;margin:0 auto}
/* Keep the friend list out of the translucent conversation workspace. */
body.owl-in-conversation #owl-friends-list{visibility:hidden;pointer-events:none}
body dialog.owl-chat-dialog .owl-assistance-toggle{position:absolute;top:8px;right:12px;margin:0;gap:7px}
body .owl-assistance-toggle img{border-radius:50%;object-fit:contain;width:40px;height:40px}
body .owl-chat-dialog .owl-conversation-title{padding:0 75px;min-height:44px}
body .owl-chat-dialog #owl-assistance-note{position:absolute;margin:0}
.owl-chat-entry{display:flex;flex-direction:column;max-width:92%;flex:none}
.owl-chat-entry.owl-entry-own{align-self:flex-end;align-items:flex-end}
.owl-chat-entry.owl-entry-other{align-self:flex-start;align-items:flex-start}
body .owl-chat-entry .owl-chat-message{max-width:100%;display:flex;gap:10px}
body .owl-chat-entry .owl-chat-avatar{float:none;margin:0}
.owl-message-time{display:block;margin:4px 8px 0;font-size:11px;color:#c4cbd0;font-variant-numeric:tabular-nums}

/* Event artwork remains vivid at the right and dissolves before the copy. */
body .owl-event-card{position:relative;isolation:isolate;overflow:hidden;min-height:230px}
.owl-event-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;pointer-events:none;z-index:-1;mask-image:linear-gradient(to right,transparent 40%,#000 78%);-webkit-mask-image:linear-gradient(to right,transparent 40%,#000 78%)}
.owl-event-card .owl-event-copy{position:relative;width:57%;text-shadow:0 1px 3px #000}
body .owl-event-card .tool-header{display:block}
body .owl-event-card h2{overflow-wrap:normal}
body .owl-event-card .owl-tool-lock{z-index:2}
@media(max-width:480px){body .owl-event-card{min-height:230px}.owl-event-card .owl-event-copy{width:60%}body .owl-event-card h2{font-size:17px !important}.owl-event-card p{font-size:12px}.owl-event-card .open{font-size:12px}}

body .owl-chat-composer>label{position:relative}body button.owl-mention-suggestion{position:absolute;bottom:calc(100% + 8px);left:0;display:flex;align-items:center;gap:10px;min-width:150px;padding:10px 14px !important;background:#18252d !important;border:1px solid #b5a078 !important;box-shadow:0 4px 16px #0008;z-index:3}body button.owl-mention-suggestion[hidden]{display:none !important}body .owl-mention-suggestion img{width:32px;height:32px;border-radius:50%;margin:0}

/* Battle & Events: one setup flow, then a ranked upgrade panel. */
body .owl-battle-title{text-align:center}body.owl-battle-page #tool-root{margin:20px auto;max-width:1050px}body #owl-battle-events[hidden]{display:none !important}body #owl-battle-events>h2{text-align:center;margin-top:30px}body #tool-root .owl-priorities{background:radial-gradient(ellipse at top right,#78ddea12,transparent 60%),linear-gradient(135deg,#182029ed,#10151bf5) !important;padding:20px !important}body .owl-priorities h2{color:#efdfae;font-size:clamp(24px,4vw,32px);margin:8px 0 12px}body .owl-priority-list{padding:0;margin:24px 0;list-style:none;display:grid;gap:14px}body .owl-priority-list li{display:flex;align-items:center;gap:14px;padding:16px 12px;border:1px solid #b5a07855;border-radius:10px;background:linear-gradient(100deg,#c5a55a12,#78ddea08)}body .owl-priority-rank{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #b5a078;border-radius:50%;color:#efdfae;font-weight:bold}body .owl-priority-detail{flex:1;min-width:0}body .owl-priority-detail strong{display:block;font-size:16px;color:#f3ecd9}body .owl-priority-track{height:5px;margin-top:10px;background:#0b1219;border-radius:5px;overflow:hidden}body .owl-priority-track span{display:block;height:100%;background:linear-gradient(90deg,#a88f63,#78ddea)}body .owl-priority-score{color:#9edce6;text-align:right;font-size:22px;font-weight:bold}body .owl-priority-score small{display:block;font-size:11px;color:#b5c8cd;font-weight:normal}body #tool-root #reset-battle{display:block;width:100%;margin:22px 0 0}body .owl-comparison-heroes>div{padding:14px;background:#78ddea0b;border:1px solid #b5a07866;border-radius:8px}body .owl-comparison-heroes span,body .owl-comparison-heroes strong{display:block}body .owl-comparison-heroes span{color:#b5a078;font-size:13px;margin-bottom:6px}body .owl-priority-empty{padding:18px;border:1px solid #b5a07855;border-radius:8px}@media(max-width:550px){body #tool-root .owl-priorities{padding:10px !important}body .owl-priority-list li{gap:10px;padding:12px 8px}body .owl-priority-rank{width:30px;height:30px}body .owl-priority-detail strong{font-size:14px}body .owl-priority-score{font-size:19px}}

body .owl-message-original{margin:8px 0 0;font-size:12px}body .owl-message-original[hidden]{display:none !important}body .owl-message-original summary{color:#b5a078;cursor:pointer}body .owl-message-original p{opacity:.8}body [dir=auto]{text-align:start}

/* Translation-friendly geometry: labels grow inside their artwork and containers. */
body :is(button,.button,.link-card,h1,h2,h3,label,.owl-bottom-nav span){overflow-wrap:anywhere;word-break:normal;}
body :is(button,.button){white-space:normal!important;max-inline-size:100%;min-inline-size:0;block-size:auto;}
body :is(.card,.link-card,.owl-chat-message-body,.owl-conversation-copy,form label,.owl-bottom-nav a,.owl-bottom-nav button){min-inline-size:0;}
body :is(input,textarea,select){max-inline-size:100%;min-inline-size:0;box-sizing:border-box;}
body .owl-bottom-nav span{white-space:normal;max-inline-size:100%;height:auto!important;}
body .owl-bottom-nav{direction:ltr;}
body .owl-bottom-nav span{direction:inherit;unicode-bidi:plaintext;}
body .owl-chat-message-body{overflow-wrap:anywhere;text-align:start;}
body .owl-message-text,body .owl-message-original p{white-space:pre-wrap;unicode-bidi:plaintext;}
html[dir=rtl] body :is(.card,.owl-profile-details,.owl-conversation-copy){text-align:start;}
html[dir=rtl] body :is(h1,h2,h3,.kicker,button,label){letter-spacing:normal!important;}
html:is([lang^=ko],[lang^=ja],[lang^=zh]) body :is(h1,h2,h3,.kicker,button,label){letter-spacing:normal!important;word-break:normal;}
body #owl-player-chat{white-space:normal;}

body dialog.owl-chat-dialog #owl-chat-settings-open{position:absolute;top:4px;right:12px;width:44px;height:44px;min-height:44px;padding:5px;background:radial-gradient(circle,#253743,#111b23);border:1px solid #b5a078;border-radius:50%;box-shadow:inset 0 0 8px #78ddea33;}
body #owl-chat-settings-open img{display:block;width:100%;height:100%;}
body dialog.owl-chat-settings-dialog{max-width:500px;max-height:calc(100dvh - 40px);box-sizing:border-box;z-index:1200;background:#141e26;border:2px solid #b5a078;box-shadow:inset 0 0 0 1px #78ddea66,0 20px 70px #000b;}
body .owl-chat-settings-dialog .owl-settings-consent{display:flex;align-items:center;gap:12px;margin-top:24px;}
body .owl-chat-settings-dialog input#owl-assistance{width:24px;min-height:24px;flex:none;}
body .owl-chat-settings-dialog p{overflow-wrap:anywhere;}
body .owl-chat-settings-dialog #owl-assistance-note{color:#a7d9df;}
body .owl-chat-settings-dialog #owl-settings-error{color:#edb8a7;}
body .owl-chat-settings-dialog select{width:100%;}

body dialog.owl-chat-dialog button#owl-chat-settings-open{background-image:none!important;border:1px solid #b5a078!important;border-radius:50%!important;width:44px!important;height:44px!important;padding:6px!important;min-width:44px!important;}
body dialog.owl-chat-dialog button#owl-chat-settings-open img{width:30px!important;height:30px!important;max-width:none;object-fit:contain;}
body .owl-chat-composer button[type=submit]{min-inline-size:60px;}

body .owl-chat-composer button.owl-chat-send{color:#f3ecd9!important;text-shadow:0 1px 2px #000;}

@media(prefers-reduced-motion:reduce){.owl-thinking-dots,.working:before{animation:none !important}}

/* Each event room uses its own approved artwork; the workspace scrolls above it. */
body.owl-event-room{background-image:linear-gradient(180deg,#0b121c70 0%,#0b121c80 40%,#0b121cb0 100%),var(--owl-room-art);background-position:center,center 30%;background-size:cover;background-repeat:no-repeat}
body[data-event-room="bear-trap"]{--owl-room-art:url("/assets/owl-nexus/event-backgrounds/bear-trap-v1.webp") }
body[data-event-room="alliance-championship"]{--owl-room-art:url("/assets/owl-nexus/event-backgrounds/alliance-championship-v1.webp") }
body[data-event-room="icefire-warhymn"]{--owl-room-art:url("/assets/owl-nexus/event-backgrounds/icefire-warhymn-v1.webp") }
body[data-event-room="winter-siege"]{--owl-room-art:url("/assets/owl-nexus/event-backgrounds/winter-siege-v1.webp") }
body[data-event-room="canyon-clash"]{--owl-room-art:url("/assets/owl-nexus/event-backgrounds/canyon-clash-v1.webp") }
@media(min-width:900px){body.owl-event-room{background-position:center,center 35%}}

/* Reveal owns the screen until reports and every event setup finish. */
body dialog.owl-reveal-progress{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(340px,calc(100vw - 32px));max-width:340px;max-height:calc(var(--owl-viewport-height,100dvh) - 32px);overflow:auto;padding:18px!important;background:#121b22;border:18px solid transparent!important;border-image:url('/assets/scholar-panel-v1.webp') 100 stretch!important;color:#eee9d6;text-align:center;outline:none!important;box-shadow:0 18px 60px #0008;border-radius:0!important;}
body dialog.owl-reveal-progress::backdrop{background:#070c12dd;}
.owl-reveal-progress .owl-reveal-art{display:block;width:min(128px,22dvh);max-width:100%;aspect-ratio:1;object-fit:cover;object-position:right center;margin:0 auto 16px;border-radius:8px;}
.owl-reveal-progress .owl-reveal-label{margin:0;font-size:clamp(17px,4.8vw,23px);line-height:1.4;overflow-wrap:anywhere;color:#f0e3be;}
.owl-reveal-progress .owl-reveal-note{font-size:14px;line-height:1.5;color:#b9bec2;margin:12px 0 0;}
body.owl-reveal-running #owl-status{display:none;}

/* Labyrinth entry artwork; stage forms remain on their own room URL. */
body.owl-labyrinth-page .rooms{display:grid;grid-template-columns:1fr;gap:20px;margin:26px 0}
body.owl-labyrinth-page .rooms:empty{display:none}
body.owl-labyrinth-page #form[hidden]{display:none!important}
body.owl-labyrinth-page .owl-labyrinth-card{position:relative;isolation:isolate;overflow:hidden;min-height:230px;display:block;text-decoration:none;margin:0}
.owl-labyrinth-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;z-index:-1;pointer-events:none}
.owl-labyrinth-copy{position:relative;width:55%;text-shadow:0 1px 3px #000}
body .owl-labyrinth-copy h2{overflow-wrap:anywhere}
.owl-labyrinth-back{display:inline-block;margin-bottom:14px}
.owl-gear-assignment ul{margin:8px 0;padding-inline-start:20px}
@media(max-width:480px){body.owl-labyrinth-page .owl-labyrinth-card{min-height:230px}.owl-labyrinth-copy{width:60%}body .owl-labyrinth-copy h2{font-size:19px!important}.owl-labyrinth-copy p,.owl-labyrinth-copy .open{font-size:12px}}

body.owl-labyrinth-room{background-image:linear-gradient(180deg,#0b121c70 0%,#0b121c80 40%,#0b121cb0 100%),var(--owl-labyrinth-room-art);background-position:center,center 30%;background-size:cover;background-repeat:no-repeat}
body[data-labyrinth-room="cave-of-monsters"]{--owl-labyrinth-room-art:url("/assets/owl-nexus/labyrinth-backgrounds/cave-of-monsters-v1.webp")}
body[data-labyrinth-room="charm-mine"]{--owl-labyrinth-room-art:url("/assets/owl-nexus/labyrinth-backgrounds/charm-mine-v1.webp")}
body[data-labyrinth-room="research-center"]{--owl-labyrinth-room-art:url("/assets/owl-nexus/labyrinth-backgrounds/research-center-v1.webp")}
body[data-labyrinth-room="gear-forge"]{--owl-labyrinth-room-art:url("/assets/owl-nexus/labyrinth-backgrounds/gear-forge-v1.webp")}
body[data-labyrinth-room="land-of-heroes"]{--owl-labyrinth-room-art:url("/assets/owl-nexus/labyrinth-backgrounds/land-of-heroes-v1.webp")}
body[data-labyrinth-room="gaia-heart"]{--owl-labyrinth-room-art:url("/assets/owl-nexus/labyrinth-backgrounds/gaia-heart-v1.webp")}
@media(min-width:900px){body.owl-labyrinth-room{background-position:center,center 35%}}

.owl-share-button{float:right!important;background:transparent!important;border:0!important;padding:4px 8px!important;min-height:32px!important;font:12px Arial,sans-serif!important;color:#b9c6dc!important;cursor:pointer}.owl-forward-dialog{font-family:Arial,sans-serif!important;background:#202530!important;border:1px solid #606777!important;border-radius:12px!important;width:min(460px,94vw)!important;max-height:85dvh!important;padding:20px!important;color:#eee!important}.owl-forward-dialog header,.owl-forward-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.owl-forward-dialog button{background:#31394a!important;background-image:none!important;border:1px solid #58657c!important;border-radius:6px!important;padding:8px 12px!important;min-height:36px!important;font:14px Arial,sans-serif!important}.owl-forward-preview{border-left:3px solid #8694b4;background:#171b24;padding:10px 14px;max-height:140px;overflow:auto;margin:14px 0;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.owl-forward-preview p{margin:6px 0}.owl-forward-friends{max-height:240px;overflow:auto}.owl-forward-friend{display:flex!important;width:100%;align-items:center;gap:12px;margin:6px 0;text-align:start}.owl-forward-friend img{border-radius:50%}.owl-forward-friend span:nth-child(2){flex:1;overflow-wrap:anywhere}.owl-forward-friend[aria-pressed=true]{border-color:#a99aff!important;background:#393653!important}.owl-forwarded-label{display:block;color:#abb9d1;font:12px Arial,sans-serif;margin-bottom:8px}

.expert-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin:1.25rem 0}.expert-tabs [aria-selected="true"]{border-color:#b7dbe6;background:#263c49}.expert-balances{display:grid;gap:.6rem}.expert-balances>div{display:flex;justify-content:space-between;gap:1rem;padding:.65rem 0;border-bottom:1px solid #ffffff18}.expert-checklist{display:grid;gap:.75rem}.expert-checklist label{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.expert-checklist input,.expert-relationship-row input[type=checkbox]{width:auto}.expert-checklist small{opacity:.75}.expert-skill-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.expert-skill-grid>div{min-width:0}.expert-relationship-row{margin:1rem 0}@media(max-width:650px){.expert-skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.expert-balances>div{font-size:.95rem}}

body .expert-checklist{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body .expert-checklist .expert-choice{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:8px;padding:10px 12px;min-width:0;min-height:60px;border:1px solid #708593;border-radius:8px;background:linear-gradient(135deg,#202c36,#111a22);box-shadow:inset 0 0 0 2px #ffffff08;margin:0;cursor:pointer}body .expert-choice input[type=checkbox]{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;pointer-events:none}body .expert-choice-copy{display:grid;gap:4px;min-width:0}body .expert-choice-copy strong{font-size:16px;color:#efe6cf}body .expert-choice-copy small{font-size:12px;color:#b5c1c7}body .expert-choice-mark{color:#d6b56c;opacity:.2}body .expert-choice:has(input:checked){border-color:#d6b56c;background:linear-gradient(135deg,#344550,#172b36)}body .expert-choice:has(input:checked) .expert-choice-mark{opacity:1}body .expert-choice:focus-within{outline:2px solid #d6b56c;outline-offset:2px}body .expert-relationship-row input[type=checkbox]{appearance:auto;width:18px;height:18px;min-height:18px;padding:0;accent-color:#d6b56c}

@media(max-width:360px){body .expert-checklist{grid-template-columns:1fr}}

body #tool-root .scan-tutorial{overflow:hidden;border:1px solid #b99b5b66;border-radius:12px;background:linear-gradient(120deg,#263743,#101a23);margin:0 0 20px;box-shadow:inset 0 1px #ffffff0a}
body #tool-root .scan-tutorial-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;position:relative}
body #tool-root .scan-tutorial-track::-webkit-scrollbar{display:none}
body #tool-root .scan-tutorial-slide{box-sizing:border-box;flex:0 0 100%;min-width:0;scroll-snap-align:start;padding:18px 20px 10px;display:grid;gap:6px}
body #tool-root .scan-tutorial-slide span{font-size:12px;letter-spacing:.08em;color:#d6b56c;text-transform:uppercase}
body #tool-root .scan-tutorial-slide strong{font-size:19px;color:#efe6cf;line-height:1.4}
body #tool-root .scan-tutorial-dots{display:flex;justify-content:center;gap:0;padding:0 0 6px}
body #tool-root .scan-tutorial-dots button{width:32px;height:30px;padding:0;margin:0;border:0;background:transparent;display:grid;place-items:center}
body #tool-root .scan-tutorial-dots button::after{content:"";width:6px;height:6px;border-radius:50%;background:#71818c}
body #tool-root .scan-tutorial-dots button[aria-current="step"]::after{width:18px;border-radius:4px;background:#d6b56c}
body #tool-root .scan-tutorial-dots button:focus-visible,body #tool-root .scan-tutorial-track:focus-visible{outline:2px solid #d6b56c;outline-offset:-2px}

body #tool-root .expert-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0}
body #tool-root .expert-steps button{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 4px;margin:0;background:#182630;color:#b5c1c7;border:1px solid #526575;border-radius:8px;font-size:12px;min-width:0}
body #tool-root .expert-steps button span{font-size:13px;color:#d6b56c}
body #tool-root .expert-steps button.done span{color:#a5cb8a}
body #tool-root .expert-steps button[aria-current="step"]{border-color:#d6b56c;color:#efe6cf;background:#2d3d46}

body.owl-labyrinth-page .owl-labyrinth-copy{width:100%;box-sizing:border-box}body.owl-labyrinth-page .owl-labyrinth-copy p{max-width:32ch;line-height:1.5;color:#eee7d7;text-shadow:0 1px 4px #000;margin:8px 0 0}

/* Compact Expert navigation must override the global framed-button theme. */
body #tool-root .scan-tutorial-dots button{appearance:none!important;background:none!important;background-image:none!important;border:0!important;border-image:none!important;box-shadow:none!important;min-width:32px!important;min-height:32px!important;width:32px!important;height:32px!important;padding:0!important;margin:0!important;border-radius:0!important}
body #tool-root .expert-steps button{appearance:none!important;background:#182630!important;background-image:none!important;border:1px solid #526575!important;border-image:none!important;box-shadow:none!important;border-radius:8px!important;min-width:0!important;min-height:56px!important;padding:8px 2px!important;margin:0!important;display:flex!important;flex-direction:column;gap:4px;font:600 11px/1.2 Arial,sans-serif!important;letter-spacing:normal!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;color:#b5c1c7!important}
body #tool-root .expert-steps button[aria-current="step"]{border-color:#d6b56c!important;color:#efe6cf!important;background:#2d3d46!important}
body #tool-root .expert-steps button span{font:600 13px/1 Arial,sans-serif!important}

body #tool-root.owl-experts .scan-tutorial{margin-bottom:10px;border-radius:8px;background:linear-gradient(120deg,#263743,#15212a)}
body #tool-root.owl-experts .scan-tutorial-slide{padding:12px 14px 2px;gap:3px}
body #tool-root.owl-experts .scan-tutorial-slide strong{font-size:15px!important;line-height:1.35!important}
body #tool-root.owl-experts .scan-tutorial-slide span{font-size:10px!important}
body #tool-root.owl-experts .scan-tutorial-dots{padding-bottom:0}
body #tool-root.owl-experts .expert-steps{margin:8px 0 14px}
body #tool-root.owl-experts .expert-steps button{min-height:48px!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center}
body #tool-root.owl-experts .card p{margin:8px 0;line-height:1.5!important}
body #tool-root.owl-experts .note{color:#bac4cb}

/* Home identity card: portrait, stacked badges, centered identity and action. */
body #owl-player-panel{max-width:600px;margin:28px auto!important;padding:18px!important}
body #owl-player-panel .owl-profile-heading{display:flex;flex-direction:row!important;justify-content:space-between;align-items:center;gap:20px;padding:0 10px;border-bottom:0}
body #owl-player-panel .owl-profile-icon-button{width:clamp(120px,38vw,220px)!important;height:clamp(120px,38vw,220px)!important;flex:0 0 auto!important;margin:0!important;padding:0!important}
body #owl-player-panel .owl-profile-details{flex:0 1 34%;min-width:0}
body #owl-player-panel .owl-profile-meta{display:grid;gap:14px;width:100%;margin:0;text-align:center}
body #owl-player-panel .owl-profile-meta div{min-width:0;padding:10px 6px;border-radius:8px}
body #owl-player-panel .owl-profile-meta dt{font-family:Georgia,serif!important;font-size:10px!important;letter-spacing:.5px}
body #owl-player-panel .owl-profile-meta dd{font-family:Georgia,serif!important;font-size:clamp(18px,5vw,28px)!important;line-height:1.35}
body #owl-player-panel .owl-profile-name{text-align:center!important;margin:20px 0 16px!important;font-size:clamp(24px,6vw,36px)!important;line-height:1.35!important}
body #owl-player-panel .owl-profile-actions{border-top:0;padding-top:16px;text-align:center}
body #owl-player-panel #owl-profile-open{display:inline-block!important;margin:0!important;background:#25313b!important;background-image:none!important;border:1px solid #84929d!important;border-radius:8px!important;padding:10px 18px!important;font:15px Georgia,serif!important;box-shadow:none!important}
@media(max-width:360px){body #owl-player-panel{padding:10px!important}body #owl-player-panel .owl-profile-heading{padding:0;gap:10px}body #owl-player-panel .owl-profile-details{flex-basis:38%}body #owl-player-panel .owl-profile-meta{gap:10px}}
/* The map scales with its hit areas; stage calculators retain their existing layout. */
body.owl-labyrinth-menu,body.owl-labyrinth-room{grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"workspace" "navigation"}
body.owl-labyrinth-menu>header.owl-header,body.owl-labyrinth-room>header.owl-header{display:none}
body.owl-labyrinth-menu main{max-width:none;padding:0!important;overflow:hidden;scrollbar-gutter:auto;container-type:size}
body.owl-labyrinth-menu main>h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.owl-labyrinth-menu .rooms{display:flex;align-items:center;justify-content:center;height:100%;margin:0!important;gap:0}
.owl-labyrinth-map{position:relative;width:min(100%,calc(100cqh * 941 / 1672));isolation:isolate;flex:none}
.owl-labyrinth-map>img{display:block;width:100%;height:auto}
body .owl-labyrinth-map a.owl-map-location{position:absolute;display:block;margin:0;padding:0;border:0;border-radius:14px;background:transparent;box-shadow:none;min-width:0;min-height:0;transition:box-shadow .18s ease,background .18s ease}
body .owl-labyrinth-map a.owl-map-location:hover,body .owl-labyrinth-map a.owl-map-location:focus-visible{background:rgba(110,207,240,.08);box-shadow:inset 0 0 22px rgba(111,219,255,.32);outline:2px solid #d7bd79;outline-offset:-2px}
.owl-map-accessible{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(prefers-reduced-motion:reduce){body .owl-labyrinth-map a.owl-map-location{transition:none}}
body.owl-home-page #content{max-width:1050px;margin:0 auto}
body.owl-home-page #owl-home-battle #tool-root{margin:20px 0 0;max-width:none}

/* silver-gold.css */
/* Approved Silver / Gold presentation. Only selected routes receive the page system. */
:root{--sg-root:'/assets/owl-nexus/silver-gold-v1/';--sg-ink:#edf3f9;--sg-muted:#afc3d6;--sg-accent:#97c4e4;--sg-line:#668ba661;--sg-panel:url('/assets/owl-nexus/silver-gold-v1/steel/panel-frame.png');--sg-row:url('/assets/owl-nexus/silver-gold-v1/steel/row-button-frame.png');--sg-title:url('/assets/owl-nexus/silver-gold-v1/steel/title-banner-complete.png');--sg-vault:url('/assets/owl-nexus/silver-gold-v1/steel/vault-arch-frame.png');--sg-ratio:url('/assets/owl-nexus/silver-gold-v1/steel/crystal-ratio-frame-empty.png')}
:root[data-owl-theme=gold]{--sg-accent:#e5c78e;--sg-line:#b1915266;--sg-panel:url('/assets/owl-nexus/silver-gold-v1/gold/panel-frame.png');--sg-row:url('/assets/owl-nexus/silver-gold-v1/gold/row-button-frame.png');--sg-title:url('/assets/owl-nexus/silver-gold-v1/gold/title-banner-complete.png');--sg-vault:url('/assets/owl-nexus/silver-gold-v1/gold/vault-arch-frame.png');--sg-ratio:url('/assets/owl-nexus/silver-gold-v1/gold/crystal-ratio-frame-empty.png')}
html[data-sg-page]:not([data-sg-page='']) body{color:var(--sg-ink);font-family:Georgia,'Times New Roman',serif}
html[data-sg-page]:not([data-sg-page='']):not([data-sg-page=event]):not([data-sg-page=lab-room]) body{background:#06111e url('/assets/owl-nexus/silver-gold-v1/shared/backgrounds/blurred-sapphire-castle.png') center/cover fixed!important}
html[data-sg-page]:not([data-sg-page='']) body::before,html[data-sg-page]:not([data-sg-page='']) body::after{display:none!important}
html[data-sg-page]:not([data-sg-page='']) body>main{background:none!important;box-shadow:none!important;border:0!important;max-width:720px;width:100%;box-sizing:border-box;scrollbar-gutter:auto}
html[data-sg-page]:not([data-sg-page='']) :is(button,a,input,textarea,select):focus-visible{outline:2px solid #a6eaff!important;outline-offset:3px}
.sg-appearance{display:flex;gap:2px;border:1px solid var(--sg-line);border-radius:22px;background:#03101de8;padding:3px;width:fit-content;max-width:100%;margin:8px auto 16px;box-shadow:0 2px 12px #0008;isolation:isolate}
body #sg-appearance#sg-appearance#sg-appearance button{border:1px solid transparent!important;border-image:none!important;background:transparent!important;border-radius:18px!important;box-shadow:none!important;color:#a8bdd0!important;padding:8px 12px!important;margin:0!important;min-height:36px;width:auto;font:12px/1.2 Georgia,serif!important;transition:background-color .2s,color .2s}
body #sg-appearance#sg-appearance#sg-appearance button[aria-pressed=true]{border-color:var(--sg-line)!important;background:linear-gradient(#173a55,#0c2238)!important;color:#fff4d9!important;box-shadow:inset 0 1px 6px #7ddcff26!important}
.sg-theme-veil{position:fixed;inset:0;z-index:100000;background:#071625;opacity:0;pointer-events:none;transition:opacity .16s ease}.sg-theme-veil.sg-visible{opacity:.86}
/* Authentication vault retains the real provider buttons and approval/install states. */
html[data-sg-page=auth]{overflow:auto;height:auto;min-height:100%;min-height:100dvh;background:#06111e url('/assets/owl-nexus/silver-gold-v1/shared/backgrounds/blurred-sapphire-castle.png') center/cover no-repeat!important}
html[data-sg-page=auth] body.owl-auth-page{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column;justify-content:center;align-items:center;min-height:100svh;min-height:100dvh;height:auto!important;overflow:visible!important;padding:32px 16px;box-sizing:border-box;background:transparent!important}
html[data-sg-page=auth] main.card{position:relative;isolation:isolate;width:min(100%,350px)!important;max-width:350px!important;margin:0!important;padding:56px 30px 35px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;text-align:center}
html[data-sg-page=auth] main.card::before{content:'';position:absolute;inset:0;z-index:-2;background:var(--sg-vault) center/100% 100% no-repeat;pointer-events:none;filter:drop-shadow(0 8px 15px #000a)}
html[data-sg-page=auth] main.card::after{content:'';position:absolute;inset:0;z-index:-3;background:linear-gradient(#05182fec,#07182ef7),url('/assets/owl-nexus/silver-gold-v1/shared/textures/faceted-midnight-navy.png') center/cover;border-radius:0;clip-path:var(--sg-vault-opening);pointer-events:none}
html[data-sg-page=auth] .sg-login-crest{display:block;width:94px;height:94px;object-fit:contain;margin:0 auto 5px;filter:drop-shadow(0 2px 6px #000)}
html[data-sg-page=auth] h1{font:600 clamp(25px,7vw,32px)/1.1 Georgia,serif!important;color:#f2e8cd!important;letter-spacing:0!important;margin:8px 0 16px!important;text-shadow:0 2px 4px #000}
html[data-sg-page=auth] main.card>p{font:14px/1.5 Georgia,serif!important;color:#b9cede!important;margin:12px 0}
html[data-sg-page=auth] main.card .signin-note{font-size:11px!important;line-height:1.5!important;color:#9db3c7!important}
html[data-sg-page=auth] main.card .signin-note:nth-of-type(3){display:none}
html[data-sg-page=auth] :is(a.primary,#activity-signin,#enter-owl){display:flex;align-items:center;justify-content:center;gap:8px;width:100%;box-sizing:border-box;min-height:48px;border:1px solid var(--sg-accent)!important;border-radius:5px!important;border-image:none!important;background:linear-gradient(#18335d,#0e2044)!important;color:#eef6ff!important;font:600 14px/1.25 Georgia,serif!important;padding:10px 12px!important;margin:12px 0!important;box-shadow:inset 0 0 0 2px #071329,0 3px 8px #0007!important;text-decoration:none}
html[data-sg-page=auth] #google-signin{background:linear-gradient(#fffdf2,#e5dfd0)!important;color:#183047!important}
html[data-sg-page=auth] :is(.primary,#activity-signin)>img{width:21px;height:21px;object-fit:contain}
html[data-sg-page=auth] [hidden]{display:none!important}
html[data-sg-page=auth] .signin-help{font:11px/1.5 Georgia,serif!important;color:#a8c6d9;margin:14px 0}
html[data-sg-page=auth] .sg-appearance{margin:18px auto 0;flex-wrap:wrap;justify-content:center}
html[data-sg-page=auth] .sg-appearance button{padding:8px!important;font-size:11px!important}
/* Settings: one consistent compact system, with no additional owner panel. */
html[data-sg-page=settings] body>main{max-width:520px;padding:8px 10px 24px!important}
html[data-sg-page=settings] #content{padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-back{position:static!important;clip-path:none!important;width:fit-content!important;height:auto!important;display:flex!important;align-items:center;padding:5px 0!important;min-height:32px!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#cad8e5!important;font:13px/1.3 Georgia,serif!important;text-decoration:none}
html[data-sg-page=settings] body.owl-settings-page #content#content#content h1.settings-title{position:relative;isolation:isolate;display:block;box-sizing:border-box;width:100%;height:77px!important;min-height:0!important;max-width:none!important;margin:0!important;padding:0!important;background:none!important;color:#f7e8c3!important;font:600 25px/1 Georgia,serif!important;letter-spacing:.06em;text-transform:uppercase;text-shadow:0 2px 4px #000,0 0 9px #93d7ff55}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-title::before{content:'';display:none!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;margin:0!important;transform:none!important;border:0!important;z-index:-2;pointer-events:none}
html[data-sg-page=settings][data-owl-theme=gold] body.owl-settings-page #content#content#content .settings-title::before{display:block!important;background:linear-gradient(180deg,#08203f,#051428)!important;clip-path:polygon(16.5% 53%,83.5% 53%,86.2% 71%,83.5% 88.5%,16.5% 88.5%,13.8% 71%)}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-title::after{content:'';display:block!important;position:absolute;inset:0;z-index:-1;width:auto!important;height:auto!important;background:var(--sg-title) center/100% 100% no-repeat!important;pointer-events:none}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .sg-settings-title-label{position:absolute;left:18%;right:18%;top:46%;bottom:12%;display:flex;align-items:center;justify-content:center;padding-top:.12em;box-sizing:border-box;font:inherit!important;line-height:1!important;letter-spacing:inherit;text-align:center}
html[data-sg-page=settings][data-owl-theme=gold] body.owl-settings-page #content#content#content .sg-settings-title-label{top:57%;bottom:12%}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-surface{display:block!important;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-surface::before,html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-surface::after{display:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account{position:relative;display:grid!important;grid-template-columns:64px minmax(0,1fr) 106px!important;gap:8px!important;align-items:center!important;width:100%!important;height:auto!important;min-height:124px!important;margin:0 0 14px!important;padding:17px 15px!important;box-sizing:border-box!important;border:12px solid transparent!important;border-image:var(--sg-panel) 100 110 100 110 stretch!important;background:linear-gradient(90deg,#061329b0,#061329ef),url('/assets/owl-nexus/silver-gold-v1/shared/account-chamber-background.png') center/cover!important;box-shadow:0 4px 14px #0008!important;isolation:isolate}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account::before,html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account::after{display:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-frame{position:relative!important;inset:auto!important;transform:none!important;width:64px!important;height:64px!important;min-width:0!important;margin:0!important;padding:5px!important;background:url('/assets/owl-nexus/silver-gold-v1/shared/profile/ic1_avatar_ring.webp') center/contain no-repeat!important;border:0!important;box-sizing:border-box}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-frame::before,html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-frame::after{display:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account-avatar{position:static!important;transform:none!important;width:100%!important;height:100%!important;object-fit:contain!important;border-radius:50%!important;display:block!important;filter:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account-identity{position:static!important;display:flex!important;flex-direction:column;gap:5px!important;min-width:0!important;padding:0!important;margin:0!important;text-align:left!important;transform:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .sg-account-label{font:600 13px/1.25 Georgia,serif!important;color:#f1e4c8}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account-identity>strong{position:static!important;transform:none!important;font:600 15px/1.2 Georgia,serif!important;display:block!important;margin:0!important;padding:0!important;color:#fff2d5!important;overflow-wrap:anywhere;letter-spacing:0}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account-meta{display:block!important;margin:0!important;font:11px/1.4 Georgia,serif!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account-meta>div{display:flex;gap:3px}.settings-account-meta dd{margin:0}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-quick-actions{position:static!important;display:grid!important;grid-template-columns:1fr!important;gap:6px!important;width:auto!important;margin:0!important;padding:0!important;transform:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-quick-actions button{display:flex!important;justify-content:center!important;align-items:center!important;position:relative!important;inset:auto!important;transform:none!important;width:100%!important;min-height:44px!important;height:auto!important;margin:0!important;padding:7px 4px!important;border:6px solid transparent!important;border-image:var(--sg-row) 75 90 stretch!important;border-radius:0!important;background:#071c32!important;box-shadow:0 2px 4px #0007!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-quick-actions button::before,html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-quick-actions button::after{display:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-action-copy{position:static!important;transform:none!important;margin:0!important;padding:0!important;display:block!important;text-align:center!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-action-copy strong{font:600 12px/1.25 Georgia,serif!important;color:#f1e4ca!important;display:block}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-action-copy small{font:10px/1.3 Georgia,serif!important;color:#aec6db!important;display:block;margin-top:2px}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-menu-list,html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-owner-list{display:grid!important;gap:7px!important;padding:0!important;margin:0!important;background:none!important;border:0!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-item{position:relative!important;display:grid!important;grid-template-columns:38px minmax(0,1fr) 10px!important;align-items:center!important;gap:9px!important;width:100%!important;min-height:70px!important;height:auto!important;padding:10px 13px!important;margin:0!important;border:8px solid transparent!important;border-image:var(--sg-row) 75 100 stretch!important;border-radius:0!important;box-sizing:border-box!important;background:linear-gradient(100deg,#071c32f2,#07172dee),url('/assets/owl-nexus/silver-gold-v1/shared/textures/faceted-midnight-navy.png') center/cover!important;box-shadow:0 3px 7px #0007!important;text-align:left!important;text-decoration:none;clip-path:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-item::before,html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-item::after{display:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-icon{position:static!important;inset:auto!important;display:flex!important;justify-content:center!important;align-items:center!important;width:38px!important;height:38px!important;transform:none!important;margin:0!important;padding:0!important;background:none!important;border:0!important;filter:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-icon::before,html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-icon::after{display:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-icon img{display:block!important;width:38px!important;height:38px!important;object-fit:contain!important;transform:none!important;filter:drop-shadow(0 2px 3px #0009)!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-copy{position:static!important;transform:none!important;padding:0!important;margin:0!important;min-width:0;display:block!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-copy strong{font:600 16px/1.2 Georgia,serif!important;color:#f1e5ca!important;display:block!important;overflow-wrap:break-word}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-copy small{font:12px/1.4 Georgia,serif!important;color:#aec2d5!important;display:block!important;margin-top:4px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-arrow{position:static!important;width:8px!important;height:15px!important;transform:none!important;display:block!important;padding:0!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-arrow img{width:100%!important;height:100%!important;object-fit:contain}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-action-delete{background:linear-gradient(100deg,#391b2aeb,#171b30f2)!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-action-delete strong{color:#eeac9d!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-owner-tools{background:none!important;border:0!important;padding:0!important;margin:17px 0 0!important;box-shadow:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-owner-tools::before,html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-owner-tools::after{display:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-owner-tools>h2{height:auto!important;min-height:0!important;padding:6px 0!important;margin:0 0 8px!important;background:none!important;border:0!important;color:#dfd7c3!important;display:flex!important;align-items:center!important;gap:10px;font:600 13px/1.4 Georgia,serif!important;text-transform:uppercase;letter-spacing:.1em}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-owner-tools>h2::before,html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-owner-tools>h2::after{content:''!important;display:block!important;position:static!important;height:1px!important;flex:1!important;background:linear-gradient(90deg,transparent,var(--sg-accent))!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-owner-tools>h2::after{transform:rotate(180deg)}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-detail{margin-top:12px!important;border:12px solid transparent!important;border-image:var(--sg-panel) 100 stretch!important;background:#07182df5!important;padding:15px!important;box-shadow:0 6px 14px #0008}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-detail h2{font:600 23px/1.25 Georgia,serif!important;color:#f3e6c7!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-detail :is(button,input,textarea){min-height:44px;box-sizing:border-box;max-width:100%}
/* Battle hub shares the same frames and environmental lighting. */
html[data-sg-page=battle] body>main{max-width:620px;padding:12px 10px 22px!important}
html[data-sg-page=battle] body #content#content#content #owl-battle-events{display:block!important;flex:none!important}
html[data-sg-page=battle] body #content#content#content .be-list{height:auto!important;flex:none!important;min-height:0!important;grid-template-rows:none!important;grid-auto-rows:auto!important}
html[data-sg-page=battle] body #content#content#content .be-heading{margin:0 0 14px!important;padding:0!important;background:none!important;border:0!important}
html[data-sg-page=battle] body #content#content#content .be-heading h2{position:relative;isolation:isolate;display:block;height:82px;margin:0!important;padding:0!important;background:none!important;font:600 clamp(15.5px,4.5vw,25px)/1 Georgia,serif!important;color:#f2e5c7!important;text-transform:uppercase;letter-spacing:.015em;text-shadow:0 2px 3px #000}
html[data-sg-page=battle] body #content#content#content .be-heading h2::before{content:'';position:absolute;inset:0;z-index:-2;display:none;pointer-events:none}
html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .be-heading h2::before{display:block;background:linear-gradient(180deg,#08203f,#051428);clip-path:polygon(16.5% 53%,83.5% 53%,86.2% 71%,83.5% 88.5%,16.5% 88.5%,13.8% 71%)}
html[data-sg-page=battle] body #content#content#content .be-heading h2::after{content:'';position:absolute;inset:0;z-index:-1;background:var(--sg-title) center/100% 100% no-repeat;pointer-events:none}
html[data-sg-page=battle] body #content#content#content .sg-battle-title-label{position:absolute;left:18%;right:18%;top:69.6%;bottom:auto;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding-top:.12em;font:inherit!important;line-height:1!important;letter-spacing:inherit;white-space:nowrap}
html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .sg-battle-title-label{top:73.1%}
html[data-sg-page=battle]{--hub-star-mount:url('/assets/owl-nexus/silver-gold-v1/hub-polish/star-mount-steel.svg');--hub-corner:url('/assets/owl-nexus/silver-gold-v1/hub-polish/sapphire-corner.png')}
html[data-sg-page=battle][data-owl-theme=gold]{--hub-star-mount:url('/assets/owl-nexus/silver-gold-v1/hub-polish/star-mount-gold.svg');--hub-corner:url('/assets/owl-nexus/silver-gold-v1/hub-polish/corner-gold.svg')}
html[data-sg-page=battle] body #content#content#content .be-heading p{font:12px/1.4 Georgia,serif!important;letter-spacing:normal!important;text-transform:none!important;color:#c7d9e7!important;margin:8px 0 0!important}
html[data-sg-page=battle] body #content#content#content .be-heading p:empty{display:none}
html[data-sg-page=battle] body #content#content#content .be-heading::after{width:105px!important;height:9px!important;left:calc(50% - 52.5px)!important;bottom:-13px!important;background:url('/assets/owl-nexus/silver-gold-v1/hub-polish/title-divider.png') center/contain no-repeat!important;filter:none!important}
html[data-sg-page=battle] body #content#content#content .be-list{gap:15px 11px!important;padding:18px 4px 5px!important}
html[data-sg-page=battle] body #content#content#content .be-card{border:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important;aspect-ratio:1/1!important;overflow:visible!important;border-radius:0!important;transform:none!important}
html[data-sg-page=battle] body #content#content#content .be-card[data-featured=true],html[data-sg-page=battle] body #content#content#content .be-card[data-wide-last=true]{aspect-ratio:2.02/1!important;min-height:0!important}
html[data-sg-page=battle] body #content#content#content .be-frame{position:absolute;inset:0!important;box-sizing:border-box;border:14px solid transparent!important;border-image:var(--sg-panel) 100 110 stretch!important;background:none!important;pointer-events:none;z-index:5;filter:drop-shadow(0 3px 3px #0009)}
html[data-sg-page=battle] body #content#content#content .be-frame::before,html[data-sg-page=battle] body #content#content#content .be-frame::after{display:none!important}
html[data-sg-page=battle] body #content#content#content .be-corner{position:absolute;display:block;width:24px;height:26px;background:var(--hub-corner) center/contain no-repeat;pointer-events:none;filter:drop-shadow(0 1px 1px #0009)}
html[data-sg-page=battle] body #content#content#content .be-corner-tl{left:-18px;top:-18px}
html[data-sg-page=battle] body #content#content#content .be-corner-tr{right:-18px;top:-18px}
html[data-sg-page=battle] body #content#content#content .be-corner-bl{left:-18px;bottom:-18px}
html[data-sg-page=battle] body #content#content#content .be-corner-br{right:-18px;bottom:-18px}
html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .be-corner-tr{transform:rotate(90deg)}
html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .be-corner-bl{transform:rotate(270deg)}
html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .be-corner-br{transform:rotate(180deg)}
html[data-sg-page=battle] body #content#content#content .be-art{object-fit:cover!important;width:calc(100% - 12px)!important;height:calc(100% - 12px)!important;inset:6px!important;opacity:1!important;filter:none!important;clip-path:polygon(4% 0,96% 0,100% 4%,100% 96%,96% 100%,4% 100%,0 96%,0 4%)}
html[data-sg-page=battle] body #content#content#content .be-label{left:13px!important;right:13px!important;bottom:13px!important;padding:0!important;text-shadow:0 2px 3px #000;pointer-events:none}
html[data-sg-page=battle] body #content#content#content .be-label h3{font:600 clamp(12px,3.4vw,16px)/1.13 Georgia,serif!important;letter-spacing:normal!important;color:#f4e6c6!important;margin:0 0 3px!important;text-transform:none!important;overflow-wrap:normal;text-wrap:balance}
html[data-sg-page=battle] body #content#content#content .be-label p{font:clamp(10px,2.9vw,12px)/1.25 Georgia,serif!important;letter-spacing:normal!important;text-transform:none!important;color:#cad8e5!important;margin:0!important;opacity:1}
html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .be-label{text-align:center}
html[data-sg-page=battle] body #content#content#content .be-card[data-featured=true] .be-label{width:64%;max-width:calc(100% - 26px);left:17px!important;right:auto!important;bottom:17px!important;text-align:left}
html[data-sg-page=battle] body #content#content#content .be-card[data-featured=true] .be-label h3{font:600 clamp(20px,5.8vw,29px)/1.08 Georgia,serif!important;margin-bottom:4px!important;text-wrap:balance}
html[data-sg-page=battle] body #content#content#content .be-card[data-featured=true] .be-label p{font-size:clamp(12px,3.3vw,15px)!important}
html[data-sg-page=battle] body #content#content#content .be-artshade{inset:6px!important;clip-path:polygon(4% 0,96% 0,100% 4%,100% 96%,96% 100%,4% 100%,0 96%,0 4%);background:linear-gradient(0deg,#021025fa 0%,#04152cc9 21%,#04152c22 60%,transparent 85%)!important}
html[data-sg-page=battle] body #content#content#content .be-card[data-featured=true] .be-artshade{background:linear-gradient(90deg,#031325f5 0%,#031325db 21%,#03132540 58%,transparent 85%),linear-gradient(0deg,#021025c9,transparent 75%)!important}
html[data-sg-page=battle] body #content#content#content .be-card[data-featured=true] .be-art{object-position:75% 50%!important}
html[data-sg-page=battle] body #content#content#content .be-emblem{display:none!important}
html[data-sg-page=battle] body #content#content#content .on-battle-events button.be-star{isolation:isolate;transform:translateX(-50%)!important;position:absolute!important;z-index:8;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;left:50%!important;right:auto!important;top:-16px!important;padding:0!important;border:0!important;border-image:none!important;border-radius:0!important;background:none!important;box-shadow:none!important;filter:none!important}
html[data-sg-page=battle] body #content#content#content .be-star::before{content:'';position:absolute;inset:7px;z-index:-1;background:var(--hub-star-mount) center/contain no-repeat;filter:drop-shadow(0 2px 2px #000a);pointer-events:none}
html[data-sg-page=battle] body #content#content#content .be-star img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)!important;display:block;width:19px!important;height:19px!important;object-fit:contain!important;max-width:none;filter:drop-shadow(0 1px 1px #0008)}
html[data-sg-page=battle] body #content#content#content .be-card[data-featured=true] .be-star::before{inset:4px}
html[data-sg-page=battle] body #content#content#content .be-card[data-featured=true] .be-star img{width:23px!important;height:23px!important}
html[data-sg-page=battle] body #content#content#content .be-featured-badge{position:static!important;display:flex!important;align-items:center;gap:6px;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;margin:10px 0 0!important;padding:0!important;width:fit-content;font:12px/1.3 Georgia,serif!important;letter-spacing:normal!important;text-transform:none!important;color:#f2d38e!important;pointer-events:none}
html[data-sg-page=battle] body #content#content#content .be-favorite-note-star{display:block;width:14px;height:14px;object-fit:contain;flex:none}
html[data-sg-page=battle] body #content#content#content .be-favorite-divider{display:none}
html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .be-favorite-divider{display:block;width:100px;height:5px;margin:7px 0 6px;background:url('/assets/owl-nexus/silver-gold-v1/hub-polish/title-divider.png') center/contain no-repeat}
html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .be-featured-badge{gap:5px;margin-top:0!important}
html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .be-featured-badge::before,html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .be-featured-badge::after{content:'';display:block;width:14px;height:23px;background:url('/assets/owl-nexus/silver-gold-v1/hub-polish/laurel.svg') center/contain no-repeat;flex:none}
html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .be-featured-badge::after{transform:scaleX(-1)}
html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .be-favorite-note-star{display:none}
html[data-sg-page=battle] body #content#content#content .be-lock{position:absolute;top:26px!important;bottom:auto!important;left:11px!important;right:11px!important;z-index:4;padding:3px 4px!important;border:1px solid #8a9dad88;border-radius:3px;background:#041121df;color:#d7e3eb;font:10px/1.25 Georgia,serif!important;text-shadow:0 1px 2px #000;pointer-events:none}
html[data-sg-page=battle] body #content#content#content .be-card.owl-locked-tool[data-featured=true]{min-height:188px!important}
html[data-sg-page=battle] body #content#content#content .be-card[data-featured=true] .be-lock{left:12px!important;right:12px!important;top:27px!important;width:auto;box-sizing:border-box}
html[data-sg-page=battle] body #content#content#content .on-battle-events button.be-open{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;border-image:none!important;border-radius:0!important;background:none!important;box-shadow:none!important;padding:0!important}
html[data-sg-page=battle] #owl-svs-entry{display:flex;align-items:center;gap:10px;margin:12px 0 0!important;min-height:70px!important;padding:10px 15px!important;border:8px solid transparent!important;border-image:var(--sg-row) 75 100 stretch!important;background:#07172de8!important;color:#d7e5ef;box-sizing:border-box;text-decoration:none}
html[data-sg-page=battle] #owl-svs-entry img{width:44px;height:44px;object-fit:contain}html[data-sg-page=battle] #owl-svs-entry strong{display:block;color:#f3e5c7;font:600 16px/1.3 Georgia,serif}html[data-sg-page=battle] #owl-svs-entry small{display:block;font:12px/1.4 Georgia,serif;color:#aabfd2}
/* Crystal-inlay event result presentation: saved assignments only. */
html[data-sg-page=event] body>main{max-width:760px;padding:0 8px 22px!important}
html[data-sg-page=event] #tool-root.owl-event-results{max-width:720px!important}
html[data-sg-page=event] body.owl-event-room{background-image:linear-gradient(180deg,#07132170 0%,#07132188 45%,#071321bb 100%),var(--owl-room-art)!important;background-position:center,center 30%!important;background-size:cover!important;background-repeat:no-repeat!important;background-attachment:fixed!important}
html[data-sg-page=event] .er-header{height:auto!important;min-height:76px;margin:0 -8px 8px!important;padding:18px 12px 12px!important;position:relative;background:transparent!important;overflow:visible}
html[data-sg-page=event] .er-header::before{display:none!important}
html[data-sg-page=event] .er-title{position:static!important;font:600 clamp(25px,6.6vw,35px)/1.05 Georgia,serif!important;color:#fff1d2!important;margin:0!important;text-align:center;text-shadow:0 2px 5px #000,0 0 10px #071726}
html[data-sg-page=event] .er-header>.er-event-pennant{display:none!important}
html[data-sg-page=event] .er-back{top:12px!important;left:12px!important;min-height:40px!important;padding:5px 12px!important;border-color:var(--sg-accent)!important;background:#071b32dd!important}
html[data-sg-page=event] .er-stack{gap:12px!important;margin:8px 0!important}
html[data-sg-page=event] body #tool-root .er-squad{position:relative;display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:7px!important;border:12px solid transparent!important;border-image:var(--sg-panel) 100 110 stretch!important;border-radius:0!important;background:linear-gradient(115deg,#061a2de8,#06172be8)!important;padding:9px 3px 10px!important;box-shadow:0 5px 12px #000a!important;isolation:isolate}
html[data-sg-page=event] .er-squad::before{display:none!important}
html[data-sg-page=event] .er-squad-banner{display:block!important;border:0!important;padding:0!important;text-align:center}
html[data-sg-page=event] .er-squad-banner img{display:none!important}
html[data-sg-page=event] body #tool-root .er-squad-banner h2{display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important;font:600 32px/1 Georgia,serif!important;margin:0!important;padding:0!important;color:#fff0d0!important}
html[data-sg-page=event] .er-squad-banner h2 span{font:10px/1.3 Georgia,serif!important;text-transform:uppercase}
html[data-sg-page=event] .er-squad-banner h2 small{font-size:10px!important;overflow-wrap:anywhere}
html[data-sg-page=event] .er-squad-main{display:contents!important}
html[data-sg-page=event] .er-heroes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;grid-column:2}
html[data-sg-page=event] .er-hero{border:0!important;padding:0!important;min-width:0}
html[data-sg-page=event] .er-hero+.er-hero{border-left:1px solid var(--sg-line)!important;padding-left:5px!important}
html[data-sg-page=event] .er-hero-heading{display:grid!important;grid-template-columns:18px minmax(0,1fr);gap:3px!important;align-items:center!important;margin:0 0 6px!important;min-height:34px}
html[data-sg-page=event] .er-troop-emblem{width:18px!important;height:29px!important;object-fit:contain!important;grid-row:1/3}
html[data-sg-page=event] .er-type{font:9px/1.15 Georgia,serif!important;color:#afcadd!important;overflow-wrap:anywhere}
html[data-sg-page=event] body #tool-root .er-hero h3{font:600 12px/1.15 Georgia,serif!important;margin:0!important;color:#fff0d0!important;overflow-wrap:anywhere}
html[data-sg-page=event] .owl-gear-assignment ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px 3px!important;padding:0!important;margin:0!important;list-style:none}
html[data-sg-page=event] .owl-gear-assignment li{display:flex!important;flex-direction:column!important;align-items:center!important;gap:1px!important;min-width:0!important;border:1px solid #2756748a!important;border-radius:4px!important;padding:2px 0 4px!important;margin:0!important;background:#03152c88!important;overflow:hidden}
html[data-sg-page=event] .er-gear-icon{width:100%;max-width:48px;height:35px;object-fit:contain;filter:drop-shadow(0 2px 2px #000)}
html[data-sg-page=event] .er-gear-values{white-space:normal!important;display:block!important;text-align:center;font:600 10px/1.2 Georgia,serif!important;color:#efe5cd!important}
html[data-sg-page=event] .er-gear-values>span{display:block!important;white-space:nowrap}
html[data-sg-page=event] .er-slot{font:9px/1.2 Georgia,serif!important;text-align:center;overflow-wrap:anywhere}
html[data-sg-page=event] body #tool-root .er-hero p{font:11px/1.4 Georgia,serif!important}
html[data-sg-page=event] :is(.er-ratio,.er-why){grid-column:1/-1!important;min-width:0}
html[data-sg-page=event] body #tool-root .er-ratio h3{font:600 15px/1.2 Georgia,serif!important;color:#f4e7cb!important;margin:3px 0 4px!important}
html[data-sg-page=event] .er-ratio-art{height:30px!important;padding:8px 14px!important;filter:drop-shadow(0 0 4px #4abaff35)}
html[data-sg-page=event] .er-ratio-art::after{border-width:7px 13px!important;border-image:var(--sg-ratio) 60 160 stretch!important}
html[data-sg-page=event] .er-ratio-fill{height:14px!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html[data-sg-page=event] .er-ratio-fill .er-infantry{background-image:url('/assets/owl-nexus/silver-gold-v1/shared/ratios/crystal-fill-infantry.png')!important}
html[data-sg-page=event] .er-ratio-fill .er-lancer{background-image:url('/assets/owl-nexus/silver-gold-v1/shared/ratios/crystal-fill-lancer.png')!important}
html[data-sg-page=event] .er-ratio-fill .er-marksman{background-image:url('/assets/owl-nexus/silver-gold-v1/shared/ratios/crystal-fill-marksman.png')!important}
html[data-sg-page=event] .er-ratio-values{margin:3px 0!important;gap:4px!important}
html[data-sg-page=event] .er-ratio-values>div{display:flex;justify-content:center;flex-wrap:wrap;gap:3px;align-items:center}
html[data-sg-page=event] .er-ratio-values dt{font:10px/1.3 Georgia,serif!important;gap:3px!important}
html[data-sg-page=event] .er-ratio-values dt img{display:none!important}
html[data-sg-page=event] .er-ratio-values dd{font:600 12px/1.3 Georgia,serif!important;margin:0!important}
html[data-sg-page=event] .er-why{border-top:1px solid var(--sg-line)!important;margin:3px 0 0!important;padding:6px 3px 0!important;background:none!important}
html[data-sg-page=event] body #tool-root .er-why h3{font:600 16px/1.2 Georgia,serif!important;margin:0 0 4px!important;color:#f0e7d4!important}
html[data-sg-page=event] .er-why h3::before{display:none!important}
html[data-sg-page=event] body #tool-root .er-why p{font:12px/1.4 Georgia,serif!important;margin:0!important;color:#c1d2e2!important}
html[data-sg-page=event] .owl-alternatives{border:8px solid transparent!important;border-image:var(--sg-row) 75 100 stretch!important;background:#07192ee6;padding:6px!important;margin:12px 0}
html[data-sg-page=event] .owl-alternatives>summary{font:14px/1.35 Georgia,serif!important;min-height:32px;cursor:pointer;padding:5px 8px;color:#ebdfc6}
html[data-sg-page=event] .sg-event-input{border:12px solid transparent;border-image:var(--sg-panel) 100 110 stretch;background:#06182ded;padding:10px}
/* Layered Moonlit Relief map. Every location remains a real link. */
html[data-sg-page=map] body{background:#101722 url('/assets/owl-nexus/web-light-20261108/labyrinth/desk-background.webp') center/cover fixed!important}
html[data-sg-page=map] body>main{max-width:650px!important;padding:0!important;overflow-x:hidden}
html[data-sg-page=map] main>h1,html[data-sg-page=map] main>.lead{display:none!important}
html[data-sg-page=map] .rooms{display:block!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
.sg-map{position:relative;width:100%;aspect-ratio:941/1672;isolation:isolate;overflow:hidden;background:#101b2a}
.sg-map img,.sg-map>a{position:absolute;display:block;box-sizing:border-box}.sg-map>img{pointer-events:none;object-fit:fill;max-width:none!important}
.sg-map>a{padding:0!important;background:none!important;border:0!important;box-shadow:none!important;min-height:44px;color:#f7ead0;text-decoration:none;z-index:auto!important}
.sg-map>a img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 7px #000a);pointer-events:none;z-index:20}
.sg-map .sg-map-name{position:absolute;left:10%;right:10%;bottom:-2%;display:block;isolation:isolate;box-sizing:border-box;padding:13.5px 10px;background:none;font:600 clamp(11px,3.4vw,20px)/1.05 Georgia,serif;letter-spacing:normal!important;text-align:center;text-shadow:0 2px 3px #000;z-index:30}
.sg-map .sg-map-name-label{display:block;min-width:0;font:inherit!important;line-height:1.05!important;letter-spacing:normal!important;overflow-wrap:normal;text-wrap:balance}
.sg-map .sg-map-name::before{content:'';position:absolute;inset:0;z-index:-2;clip-path:var(--sg-map-name-sliced-opening);background:linear-gradient(100deg,#071c32ed,#07172de0),url('/assets/owl-nexus/silver-gold-v1/shared/textures/faceted-midnight-navy.png') center/cover;pointer-events:none}
.sg-map .sg-map-name::after{content:'';position:absolute;inset:0;z-index:-1;box-sizing:border-box;border:solid transparent;border-width:12px 13px;border-image:url('/assets/owl-nexus/silver-gold-v1/labyrinth/location-nameplate-frame.png') 160 180 160 180 stretch;background:none;pointer-events:none}
.sg-map-title{position:absolute;left:17.85%;top:4.5%;width:64.3%;height:8.7%;isolation:isolate;display:block;margin:0;padding:0;background:none;color:#f2e4c3;font:600 clamp(20px,7vw,35px)/1 Georgia,serif;text-transform:uppercase;text-shadow:0 2px 5px #000;z-index:41}
.sg-map-title::before{content:'';position:absolute;inset:0;z-index:-2;clip-path:var(--sg-map-title-opening);background:linear-gradient(100deg,#071c32ed,#07172de0),url('/assets/owl-nexus/silver-gold-v1/shared/textures/faceted-midnight-navy.png') center/cover;pointer-events:none}
.sg-map-title::after{content:'';position:absolute;inset:0;z-index:-1;background:url('/assets/owl-nexus/silver-gold-v1/labyrinth/title-banner-frame.png') center/100% 100% no-repeat;pointer-events:none}
.sg-map-title-label{position:absolute;left:10%;right:10%;top:19%;bottom:43%;display:flex;align-items:center;justify-content:center;padding-top:.12em;box-sizing:border-box;font:inherit!important;line-height:1!important;letter-spacing:inherit}
.sg-map>a:hover img,.sg-map>a:focus-visible img{filter:drop-shadow(0 0 6px #65bffe9c)}
/* Neutralize legacy global button art on the new controls only. */
html[data-sg-page=auth] body.owl-auth-page :is(#google-signin#google-signin#google-signin,#browser-signin#browser-signin#browser-signin,#activity-signin#activity-signin#activity-signin,#enter-owl#enter-owl#enter-owl){border:1px solid var(--sg-accent)!important;border-image:none!important;border-radius:5px!important;background:linear-gradient(#18335d,#0e2044)!important;padding:10px 8px!important;min-height:48px!important;box-shadow:inset 0 0 0 2px #071329,0 3px 8px #0007!important}
html[data-sg-page=auth] body.owl-auth-page #google-signin#google-signin#google-signin{background:linear-gradient(#fffdf2,#e5dfd0)!important;color:#183047!important;text-shadow:none!important}
html[data-sg-page=auth] body.owl-auth-page #sg-appearance#sg-appearance#sg-appearance{flex-wrap:nowrap;width:max-content;max-width:100%;border-radius:20px;padding:2px}
html[data-sg-page=auth] body.owl-auth-page #sg-appearance#sg-appearance#sg-appearance button{width:auto!important;font-size:10px!important;flex:1;min-height:36px!important;padding:6px 7px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account{grid-template-areas:none!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-frame{grid-column:1!important;grid-row:1!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account-identity{grid-column:2!important;grid-row:1!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-quick-actions{grid-column:3!important;grid-row:1!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-quick-actions button{grid-column:auto!important;grid-row:auto!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-item.settings-without-icon{grid-template-columns:minmax(0,1fr) 10px!important;padding-left:17px!important}
/* Compact live content without stretching the illustrated corner details. */
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account{grid-template-columns:54px minmax(0,1fr) 110px!important;gap:7px!important;min-height:124px!important;padding:8px!important;border-width:10px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-frame{width:54px!important;height:54px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .sg-account-label{font-size:12px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account-identity>strong{font-size:15px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-quick-actions button{padding:2px 3px!important;border-width:5px!important;min-height:44px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-action-copy strong{font-size:11px!important;white-space:nowrap}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-action-copy small{font-size:9px!important;white-space:nowrap}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-item{padding:5px 10px!important;border-width:6px!important;min-height:65px!important;grid-template-columns:34px minmax(0,1fr) 8px!important;gap:8px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-icon,html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-icon img{width:34px!important;height:34px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-copy strong{font-size:14px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-copy small{font-size:11px!important;line-height:1.3!important;margin-top:3px!important}
html[data-sg-page=auth] body.owl-auth-page #sg-appearance#sg-appearance#sg-appearance button{white-space:nowrap!important;flex:0 0 auto!important}
@media(max-width:374px){html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account{grid-template-columns:46px minmax(0,1fr) 104px!important;padding:7px 4px!important;gap:5px!important}html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-frame{width:46px!important;height:46px!important}html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account-identity>strong{font-size:13px!important}html[data-sg-page=settings] body.owl-settings-page #content#content#content .sg-account-label{font-size:11px!important}}
@media(max-width:374px){html[data-sg-page=event] body #tool-root .er-squad{grid-template-columns:30px minmax(0,1fr)!important;gap:5px!important;padding:7px 0!important;border-width:10px!important}html[data-sg-page=event] .er-squad-banner img{width:27px!important}html[data-sg-page=event] .er-heroes{gap:4px!important}html[data-sg-page=event] .er-troop-emblem{width:15px!important;height:25px!important}html[data-sg-page=event] .er-hero-heading{grid-template-columns:15px minmax(0,1fr)}html[data-sg-page=event] body #tool-root .er-hero h3{font-size:11px!important}html[data-sg-page=event] .er-gear-icon{height:29px}html[data-sg-page=event] .er-gear-values{font-size:9px!important}}
@media(min-width:600px){html[data-sg-page=event] .er-gear-icon{max-width:80px;height:65px}html[data-sg-page=event] body #tool-root .er-hero h3{font-size:18px!important}html[data-sg-page=event] .er-type{font-size:12px!important}html[data-sg-page=event] .er-gear-values{font-size:13px!important}}
@media(prefers-reduced-motion:reduce){.sg-theme-veil{transition:none}body #sg-appearance#sg-appearance#sg-appearance button{transition:none}html[data-sg-page]:not([data-sg-page='']) *{scroll-behavior:auto!important}}

/* Vault openings traced from the supplied frame alpha; no approximate dome. */
html[data-sg-page=auth]{--sg-vault-opening:polygon(42.6747% 11.5646%,39.3145% 12.0408%,36.4919% 12.5850%,32.7285% 13.5374%,30.5780% 14.2177%,29.6371% 14.7619%,28.6962% 15.7823%,27.8898% 17.0068%,23.9919% 17.6871%,21.9758% 18.2313%,19.9597% 18.9796%,17.6747% 20.2041%,15.3898% 22.0408%,13.7769% 24.3537%,13.2392% 26.2585%,14.5833% 27.0748%,14.5833% 27.2109%,11.4919% 28.4354%,9.4758% 29.6599%,8.5349% 30.6122%,8.5349% 30.8163%,9.8790% 31.4286%,9.8790% 31.5646%,7.3253% 33.0612%,7.3253% 89.3197%,8.5349% 90.0680%,7.9973% 90.5442%,8.1317% 91.5646%,8.8038% 92.6531%,9.8790% 93.5374%,11.3575% 94.2857%,12.4328% 94.6259%,14.8522% 95.0340%,17.6747% 96.5306%,82.1909% 96.5306%,85.1478% 95.0340%,87.7016% 94.5578%,90.1210% 93.4694%,91.0618% 92.6531%,91.7339% 91.6327%,91.8683% 90.4762%,91.4651% 90.2041%,91.4651% 90.0000%,92.5403% 89.3878%,92.6747% 89.1156%,92.5403% 33.1293%,91.8683% 32.5850%,89.9866% 31.5646%,91.4651% 30.8163%,90.6586% 29.7959%,88.9113% 28.7075%,85.2823% 27.2109%,85.2823% 27.0748%,86.6263% 26.3265%,86.3575% 24.8980%,85.0134% 22.5850%,83.8038% 21.3605%,82.3253% 20.2721%,79.9059% 18.9796%,77.8898% 18.2313%,75.4704% 17.6190%,71.9758% 17.0068%,71.0349% 15.6463%,70.2285% 14.8299%,69.4220% 14.2857%,64.1801% 12.7891%,61.8952% 12.3129%,57.0565% 11.5646%)}
html[data-sg-page=auth][data-owl-theme=gold]{--sg-vault-opening:polygon(41.2838% 10.8328%,36.2838% 11.9160%,32.5000% 12.9316%,28.8514% 14.0826%,22.9054% 16.5200%,20.0676% 18.0095%,17.6351% 19.4990%,15.6081% 21.0562%,13.9865% 22.8165%,13.1757% 24.5091%,13.0405% 26.0664%,11.1486% 26.8788%,11.1486% 29.9255%,8.8514% 31.4150%,7.6351% 32.6337%,7.6351% 91.1307%,8.0405% 91.6046%,9.9324% 92.8910%,11.8243% 93.6357%,13.4459% 93.9743%,15.3378% 95.3284%,16.6892% 96.0731%,19.7973% 96.2085%,82.7703% 96.2085%,84.2568% 95.5315%,86.4189% 93.9066%,87.9054% 93.7035%,88.8514% 93.4326%,90.8784% 92.4171%,92.3649% 91.1307%,92.2297% 32.4983%,90.7432% 31.1442%,88.8514% 30.0609%,88.7162% 26.8788%,86.8243% 25.9986%,86.6892% 24.3060%,85.8784% 22.8165%,84.3919% 21.1239%,81.6892% 19.0928%,79.6622% 17.8741%,76.2838% 16.1814%,71.8243% 14.3534%,65.0676% 12.2546%,58.7162% 10.8328%)}
/* End traced vault openings. */

/* Traced title and nameplate openings. */
html[data-sg-page=settings][data-owl-theme=gold],html[data-sg-page=battle][data-owl-theme=gold],html[data-sg-page=lab-room][data-owl-theme=gold]{--sg-settings-opening:polygon(28.4062% 52.4138%,17.5312% 52.6437%,17.2188% 54.2529%,16.2812% 54.4828%,13.8438% 63.6782%,13.5312% 65.2874%,13.5312% 68.0460%,13.8438% 69.1954%,14.9062% 71.4943%,14.8438% 71.9540%,14.2188% 73.1034%,13.5937% 74.9425%,13.5312% 77.0115%,14.0312% 79.3103%,15.9688% 86.4368%,16.2188% 87.1264%,17.2188% 87.3563%,17.5312% 88.7356%,82.3438% 88.7356%,82.7188% 87.3563%,83.7188% 87.1264%,84.0312% 86.2069%,86.3438% 77.4713%,86.4062% 76.5517%,86.4062% 75.4023%,86.1562% 74.2529%,84.9688% 71.7241%,85.7188% 70.1149%,86.4062% 68.0460%,86.4062% 65.2874%,85.3438% 60.6897%,83.6562% 54.4828%,82.7188% 54.2529%,82.4062% 52.6437%,71.0312% 52.4138%)}
html[data-sg-page=map]{--sg-map-title-opening:polygon(41.1944% 18.0523%,9.2500% 18.2898%,8.7500% 21.6152%,8.0278% 24.9406%,6.9722% 28.2660%,6.1944% 29.9287%,6.1944% 58.4323%,7.8056% 62.7078%,8.5833% 65.7957%,9.3056% 69.8337%,90.6389% 69.8337%,91.3611% 65.7957%,91.9167% 63.4204%,92.6389% 61.0451%,93.7500% 58.4323%,93.7500% 29.9287%,92.9722% 28.2660%,91.8611% 24.7031%,91.0278% 20.6651%,90.6944% 18.2898%,58.7500% 18.0523%)}
html[data-sg-page=map]{--sg-map-name-opening:polygon(10.5833% 22.5296%,9.9722% 25.4941%,8.9722% 29.0514%,7.8056% 32.0158%,6.1389% 35.1779%,6.1389% 46.2451%,7.0833% 50.0000%,7.0278% 50.7905%,6.1389% 54.3478%,6.1389% 64.2292%,7.5833% 66.6008%,8.6389% 68.9723%,9.6389% 72.1344%,10.5278% 75.8893%,10.7500% 76.0870%,88.9722% 76.0870%,89.4167% 75.8893%,90.0278% 73.1225%,90.8611% 70.1581%,91.5833% 68.1818%,92.9167% 65.6126%,93.7500% 64.4269%,93.8056% 64.0316%,93.8056% 54.7431%,93.5278% 53.1621%,92.8611% 50.5929%,92.8611% 50.0000%,93.7500% 46.6403%,93.7500% 34.9802%,92.4167% 32.6087%,91.3056% 30.0395%,90.3611% 27.0751%,89.3611% 22.5296%)}
/* End traced title and nameplate openings. */

/* Nine-sliced room nameplate opening. */
html[data-sg-page=map]{--sg-map-name-sliced-opening:polygon(calc(0.72912% + 12.81043px) 8.54998px,12.96386px 9.67501px,11.66386px 11.02501px,10.14728px calc(1.07524% + 11.74194px),7.98057px calc(9.67751% + 9.67740px),7.98057px calc(39.78506% + 2.45159px),9.20829px calc(50.00000% + 0.00000px),9.13614px calc(52.15050% + -0.51612px),7.98057px calc(61.82789% + -2.83869px),7.98057px calc(88.70954% + -9.29029px),9.85829px calc(95.16132% + -10.83872px),11.23057px calc(100% - 11.77501px),12.53057px calc(100% - 10.57500px),calc(0.65975% + 12.82847px) calc(100% - 9.15001px),calc(0.93750% + 12.75625px) calc(100% - 9.07498px),calc(98.71525% + -12.66596px) calc(100% - 9.07498px),calc(99.27088% + -12.81043px) calc(100% - 9.15001px),calc(100% - 12.96386px) calc(100% - 10.20001px),calc(100% - 11.88057px) calc(100% - 11.32500px),calc(100% - 10.94171px) calc(99.46232% + -11.87096px),calc(100% - 9.20829px) calc(92.47299% + -10.19352px),calc(100% - 8.12500px) calc(89.24737% + -9.41937px),calc(100% - 8.05272px) calc(88.17199% + -9.16128px),calc(100% - 8.05272px) calc(62.90327% + -3.09679px),calc(100% - 8.41386px) calc(58.60227% + -2.06455px),calc(100% - 9.28057px) calc(51.61294% + -0.38711px),calc(100% - 9.28057px) calc(50.00000% + 0.00000px),calc(100% - 8.12500px) calc(40.86017% + 2.19356px),calc(100% - 8.12500px) calc(9.13968% + 9.80648px),calc(100% - 9.85829px) calc(2.68818% + 11.35484px),calc(100% - 11.30272px) 11.39999px,calc(100% - 12.53057px) 10.27500px,calc(99.20137% + -12.79236px) 8.54998px)}
/* End nine-sliced room nameplate opening. */

/* silver-gold-polish.css */
/* Finish the selected Silver / Gold components. Route scopes preserve other pages. */

/* Illustrated provider controls and a readable faceted vault interior. */
html[data-sg-page=auth] main.card::after{background:linear-gradient(155deg,#06172a68,#07182edb 65%),url('/assets/owl-nexus/silver-gold-v1/shared/textures/faceted-midnight-navy.png') center/cover}
html[data-sg-page=auth] body.owl-auth-page :is(#google-signin#google-signin#google-signin,#browser-signin#browser-signin#browser-signin,#activity-signin#activity-signin#activity-signin,#enter-owl#enter-owl#enter-owl){border:9px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;border-radius:0!important;min-height:60px!important;padding:7px 5px!important;background:linear-gradient(#14365b,#071a35)!important;box-shadow:0 3px 8px #0008!important;line-height:1.25!important}
html[data-sg-page=auth] body.owl-auth-page #google-signin#google-signin#google-signin{background:linear-gradient(#fffdf2,#e5dfd0)!important;color:#183047!important}
html[data-sg-page=auth] main.card{padding-inline:27px!important}

/* The account portrait has room to read at small mobile widths. */
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account{grid-template-columns:84px minmax(0,1fr) 112px!important;gap:8px!important;min-height:150px!important;border-width:12px!important;border-image-slice:65 75!important;padding:9px 7px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-frame{width:84px!important;height:84px!important;padding:7px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .sg-account-label{font-size:13px!important;line-height:1.3!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account-identity>strong{font-size:16px!important;line-height:1.2!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-quick-actions button{min-height:49px!important;border-width:6px!important;border-image-slice:55 85!important;padding:3px 2px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-action-copy strong{font-size:12px!important;white-space:normal!important;line-height:1.25!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-action-copy small{font-size:10.5px!important;white-space:normal!important;line-height:1.3!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-item{border-width:8px!important;border-image-slice:55 85!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-detail{border-width:14px!important;border-image-slice:65 75!important;background:linear-gradient(135deg,#071a31dc,#06162af5),url('/assets/owl-nexus/silver-gold-v1/shared/textures/faceted-midnight-navy.png') center/cover!important;padding:15px 12px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-detail>p{font:14px/1.5 Georgia,serif!important;color:#c2d4e4!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-detail label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font:14px/1.4 Georgia,serif!important;color:#e5d9be}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-detail :is(input,textarea,select){width:100%;border:1px solid var(--sg-line)!important;background:#041325!important;border-radius:4px!important;color:#e8eef5!important;font:16px/1.4 Georgia,serif!important;padding:11px!important;box-shadow:inset 0 2px 8px #0006!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-detail textarea{min-height:140px;resize:vertical}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-detail button{border:8px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;border-radius:0!important;background:linear-gradient(#12334e,#07192c)!important;box-shadow:0 3px 7px #0005!important;color:#f2e7cd!important;font:600 14px/1.3 Georgia,serif!important;min-height:48px!important;max-width:100%;padding:6px 12px!important;white-space:normal!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content #settings-submit-feedback{width:100%;margin-top:8px}
html[data-sg-page=settings] body.owl-settings-page #content#content#content #settings-language-list{display:grid;gap:8px;margin-top:12px}
html[data-sg-page=settings] body.owl-settings-page #content#content#content #settings-language-list button{text-align:left!important;margin:0!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-grid button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px;width:100%!important;border-image:var(--sg-panel) 65 75 stretch!important;padding:9px 3px!important;min-width:0!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-grid img{width:78px!important;height:78px!important;object-fit:contain}
html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-grid button[aria-pressed=true]{box-shadow:inset 0 0 15px #5fbfff35,0 0 7px #80d5ff80!important;background:#123753!important}
html[data-sg-page=settings] body.owl-settings-page #content#content#content #settings-delete-account{background:linear-gradient(#462334,#221525)!important;color:#ffc6b8!important}
html[data-sg-page=settings] .owl-player-modal:has(#owl-profile-file){width:min(94vw,520px)!important;max-height:90dvh;border:14px solid transparent!important;border-image:var(--sg-panel) 65 75 stretch!important;border-radius:0!important;background:linear-gradient(#071b30e8,#061528f5),url('/assets/owl-nexus/silver-gold-v1/shared/textures/faceted-midnight-navy.png') center/cover!important;background-clip:padding-box!important;padding:15px!important;color:#e7edf3;font-family:Georgia,serif!important}
html[data-sg-page=settings] .owl-player-modal:has(#owl-profile-file)::backdrop{background:#030b18d9}
html[data-sg-page=settings] .owl-player-modal:has(#owl-profile-file) h2{font:600 22px/1.3 Georgia,serif!important;color:#f1e5ca!important}
html[data-sg-page=settings] .owl-player-modal:has(#owl-profile-file) :is(p,label){font:13px/1.5 Georgia,serif!important;color:#bfcfdf!important}
html[data-sg-page=settings] .owl-player-modal:has(#owl-profile-file) :is(#owl-profile-scan,#owl-profile-later,#owl-profile-close,#owl-profile-form button){width:100%;border:8px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;border-radius:0!important;background:#10314a!important;background-clip:padding-box!important;color:#f1e4c8!important;min-height:48px!important;font:600 14px/1.3 Georgia,serif!important;padding:5px 9px!important}
html[data-sg-page=settings] .owl-player-modal:has(#owl-profile-file) :is(input,select){border:1px solid var(--sg-line)!important;background:#05162a!important;color:#e7edf3!important;font:16px/1.4 Georgia,serif!important;max-width:100%;min-height:44px!important;padding:9px!important}

/* Empty event setup uses the same frames as its generated results. */
html[data-sg-page=event] body #tool-root#tool-root .er-back{border:7px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;border-radius:0!important;background:#071b32ef!important;min-height:44px!important;padding:4px 9px!important;font:13px/1.2 Georgia,serif!important}
html[data-sg-page=event] body #tool-root#tool-root .sg-event-input{border-width:15px!important;border-image-slice:65 75!important;padding:12px 9px!important;background:linear-gradient(#071b30e8,#061528f5),url('/assets/owl-nexus/silver-gold-v1/shared/textures/faceted-midnight-navy.png') center/cover!important}
html[data-sg-page=event] body #tool-root#tool-root .sg-event-input .card{border:0!important;border-image:none!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:10px 0!important;margin:8px 0!important;min-height:0!important}
html[data-sg-page=event] body #tool-root#tool-root .sg-event-input h2{font:600 20px/1.3 Georgia,serif!important;color:#f3e6c9!important;margin:8px 0!important}
html[data-sg-page=event] body #tool-root#tool-root .sg-event-input label{display:block;margin:12px 0;font:14px/1.5 Georgia,serif!important;color:#c5d6e5}
html[data-sg-page=event] body #tool-root#tool-root .sg-event-input :is(input,select){width:100%;min-height:46px;background:#06172a!important;color:#edf2f8!important;border:1px solid var(--sg-line)!important;border-radius:4px!important;font:16px/1.4 Georgia,serif!important;padding:9px!important}
html[data-sg-page=event] body #tool-root#tool-root .sg-event-input button{width:100%!important;min-height:54px!important;height:auto!important;border:9px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;border-radius:0!important;background:#102e49!important;box-shadow:0 3px 8px #0005!important;font:600 17px/1.3 Georgia,serif!important;color:#f5e7c7!important;padding:7px 8px!important;white-space:normal!important;clip-path:none!important}
html[data-sg-page=event] body #tool-root#tool-root .sg-event-input button::before,html[data-sg-page=event] body #tool-root#tool-root .sg-event-input button::after{display:none!important}

/* Crystal Inlays: stronger metal, legible assignments and uniform legends. */
html[data-sg-page=event] body #tool-root#tool-root .er-squad{border-width:15px!important;border-image-slice:65 75!important;grid-template-columns:42px minmax(0,1fr)!important;gap:7px!important;padding:9px 3px 10px!important}
html[data-sg-page=event] body #tool-root#tool-root .er-squad-banner img{width:38px!important;height:67px!important}
html[data-sg-page=event] body #tool-root#tool-root .er-hero-heading{grid-template-columns:22px minmax(0,1fr)!important;gap:4px!important;min-height:43px!important}
html[data-sg-page=event] body #tool-root#tool-root .er-troop-emblem{width:22px!important;height:33px!important}
html[data-sg-page=event] body #tool-root#tool-root .er-type{font-size:10px!important;line-height:1.2!important}
html[data-sg-page=event] body #tool-root#tool-root .er-hero h3{font-size:clamp(12px,3.4vw,15px)!important;line-height:1.2!important}
html[data-sg-page=event] body #tool-root#tool-root .er-gear-icon{height:39px!important;max-width:52px!important}
html[data-sg-page=event] body #tool-root#tool-root .er-gear-values{font-size:11px!important;line-height:1.3!important}
html[data-sg-page=event] body #tool-root#tool-root .owl-gear-assignment li{padding:3px 0 5px!important}

html[data-sg-page] body #tool-root#tool-root .sg-formation{min-width:0;grid-column:1/-1;margin:8px 0 0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html[data-sg-page] body #tool-root#tool-root .sg-formation h3{font:600 15px/1.3 Georgia,serif!important;letter-spacing:normal!important;color:#f0e4c7!important;margin:2px 0 5px!important}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-art{position:relative;height:35px!important;padding:9px 14px!important;filter:drop-shadow(0 0 3px #4abaff35)}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-art::after{content:'';position:absolute;inset:0;border:solid transparent;border-width:8px 13px!important;border-image:var(--sg-ratio) 60 160 stretch!important;pointer-events:none}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-fill{display:flex;height:17px!important;overflow:hidden;background:#04101c;border:0!important;box-shadow:none!important;border-radius:0!important}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-fill span{min-width:0;flex-shrink:0;background-position:center;background-size:auto 100%;box-shadow:inset 0 2px 3px #fff4,inset 0 -2px 3px #0008}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-fill .er-infantry{background-image:url('/assets/owl-nexus/silver-gold-v1/shared/ratios/crystal-fill-infantry.png')!important;background-color:#7542cd}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-fill .er-lancer{background-image:url('/assets/owl-nexus/silver-gold-v1/shared/ratios/crystal-fill-lancer.png')!important;background-color:#178ce5}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-fill .er-marksman{background-image:url('/assets/owl-nexus/silver-gold-v1/shared/ratios/crystal-fill-marksman.png')!important;background-color:#dc9629}
.er-ratio-markers{position:absolute;left:14px;right:14px;top:1px;bottom:1px;pointer-events:none;z-index:2}
.er-ratio-marker{position:absolute;top:0;bottom:0;width:10px;transform:translateX(-50%);background:url('/assets/owl-nexus/silver-gold-v1/shared/ratios/sapphire-divider-marker.png') center/100% 100% no-repeat;filter:drop-shadow(0 1px 1px #0009)}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-values{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:5px 0!important;padding:0!important}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-values>div{display:flex!important;flex-direction:column!important;align-items:center;justify-content:flex-start;gap:2px!important;min-width:0;padding:0!important;background:none!important;border:0!important}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-values dt{display:flex;align-items:center;justify-content:center;gap:3px!important;font:11px/1.3 Georgia,serif!important;color:#d9c7f5;white-space:nowrap}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-values .er-lancer dt{color:#8ae1ff}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-values .er-marksman dt{color:#f5cd83}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-values dt img{display:block!important;width:14px!important;height:18px!important;object-fit:contain}
html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-values dd{font:600 12px/1.3 Georgia,serif!important;margin:0!important;color:#ece8df;white-space:nowrap}
html[data-sg-page] body #tool-root#tool-root .sg-counts-unavailable{font:11px/1.4 Georgia,serif!important;margin:8px 0 0!important;color:#adc2d4!important}

/* Keep the map's terrain visible behind compact, corner-preserving nameplates. */
html[data-sg-page=map] .sg-map .sg-map-name{left:2%;right:2%;padding:12px 15px;font-size:clamp(10.5px,2.9vw,16px)!important;line-height:1.15;font-weight:600}
html[data-sg-page=map] .sg-map .sg-map-name-label{line-height:1.15!important;text-wrap:normal}

/* Inner Labyrinth rooms inherit the finish selected in Login/Settings. */
html[data-sg-page=lab-room] body>main{max-width:720px!important;padding:10px 10px 24px!important}
html[data-sg-page=lab-room] #content>.back{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:fit-content;min-height:34px;margin:0 0 8px!important;padding:4px 10px!important;border:5px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;background:linear-gradient(180deg,#123454e8,#07192ef2)!important;background-clip:padding-box!important;box-shadow:0 3px 8px #0008!important;font:600 12px/1.2 Georgia,serif!important;color:#fff0d0!important;text-decoration:none}
html[data-sg-page=lab-room][data-owl-theme=gold] #content>.back{background:linear-gradient(180deg,#433015e8,#211608f2)!important}
html[data-sg-page=lab-room] body #content#content .sg-lab-room-title{position:relative;isolation:isolate;display:block;width:100%;height:88px;min-height:0;margin:4px auto 10px!important;padding:0!important;background:none!important;font:600 clamp(18px,5.6vw,26px)/1 Georgia,serif!important;letter-spacing:.015em!important;text-transform:uppercase;color:#f3e7c9!important;text-shadow:0 2px 4px #000}
html[data-sg-page=lab-room] .sg-lab-room-title::after{content:'';position:absolute;inset:0;z-index:-1;background:var(--sg-title) center/100% 100% no-repeat;pointer-events:none}
html[data-sg-page=lab-room] .sg-lab-title-label{position:absolute;left:15%;right:15%;top:69.6%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;padding-top:.12em;box-sizing:border-box;font:600 clamp(12px,4.5vw,24px)/1.05 Georgia,serif!important;white-space:normal;text-align:center;text-wrap:balance;overflow-wrap:anywhere}
html[data-sg-page=lab-room][data-owl-theme=gold] .sg-lab-title-label{top:73.1%}
html[data-sg-page=lab-room][data-owl-theme=gold] .sg-lab-room-title::before{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#08203f,#051428);clip-path:polygon(16.5% 53%,83.5% 53%,86.2% 71%,83.5% 88.5%,16.5% 88.5%,13.8% 71%);pointer-events:none}
html[data-sg-page=lab-room] body #content#content .loh-hero{margin:0 0 12px!important;padding:6px 0 10px!important;min-height:0!important;border:0!important;background:none!important}
html[data-sg-page=lab-room] .loh-hero::before{display:none!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .gaia-page{background:none!important;border:0!important;box-shadow:none!important;padding-inline:0!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .gaia-hero{background:none!important;border:0!important;padding:4px 0 10px!important;margin-bottom:10px!important}
html[data-sg-page=lab-room] body #tool-root#tool-root :is(.loh-panel,.squad,.gaia-panel,.gaia-results,.squad-card,.alternatives){border:13px solid transparent!important;border-image:var(--sg-panel) 65 75 stretch!important;border-radius:0!important;outline:0!important;background:linear-gradient(135deg,#071b30df,#06162bf0),url('/assets/owl-nexus/silver-gold-v1/shared/textures/faceted-midnight-navy.png') center/cover!important;box-shadow:0 4px 12px #0006!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .gaia-panel::before,html[data-sg-page=lab-room] body #tool-root#tool-root .gaia-panel::after,html[data-sg-page=lab-room] body #tool-root#tool-root .gaia-results::before,html[data-sg-page=lab-room] body #tool-root#tool-root .gaia-results::after{display:none!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .gaia-results{padding:8px 4px!important}
html[data-sg-page=lab-room] body #tool-root#tool-root :is(.squad,.squad-card){padding:9px 4px!important;margin-bottom:12px!important}
html[data-sg-page=lab-room] body #tool-root#tool-root :is(.generate-button,.gaia-generate,.upload-cta){height:auto!important;min-height:56px!important;border:9px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;border-radius:0!important;clip-path:none!important;background:#12324d!important;background-image:none!important;box-shadow:0 3px 8px #0006!important;filter:none!important;padding:7px 9px!important;font:600 19px/1.3 Georgia,serif!important;color:#f1e5c8!important;text-align:center}
html[data-sg-page=lab-room] body #tool-root#tool-root .upload-cta{display:flex!important;align-items:center;justify-content:center;min-height:48px!important;font-size:14px!important;max-width:100%;width:100%;cursor:pointer}
html[data-sg-page=lab-room] body #tool-root#tool-root .upload-cta::before,html[data-sg-page=lab-room] body #tool-root#tool-root .upload-cta::after{display:none!important}
html[data-sg-page=lab-room] body #tool-root#tool-root :is(.loh-gear-tab,[data-gaia-role]){border:7px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;border-radius:0!important;background:#081d32!important;color:#e4e9ed!important;min-height:70px!important;box-shadow:none!important;font:12px/1.3 Georgia,serif!important}
html[data-sg-page=lab-room] body #tool-root#tool-root :is(.loh-gear-tab,[data-gaia-role])[aria-selected=true]{background:#113b56!important;box-shadow:inset 0 0 12px #73c9ff40,0 0 5px #62c6ff66!important}
html[data-sg-page=lab-room] body #tool-root#tool-root :is(.loh-gear-tab .troop-icon,[data-gaia-role] .role-symbol img){width:26px!important;height:31px!important;object-fit:contain}
html[data-sg-page=lab-room] body #tool-root#tool-root :is(select,[data-pet-skill]){border:1px solid var(--sg-line)!important;background:#06182b!important;color:#edf2f8!important;border-radius:4px!important;min-height:44px!important;font-size:16px!important;padding:7px!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .loh-mode{display:flex;align-items:center;justify-content:space-between;gap:10px;border:8px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;background:#071a2de8!important;background-clip:padding-box!important;padding:5px 12px!important;color:#e9dfc9!important;font:600 14px/1.4 Georgia,serif!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .loh-mode select{min-width:130px;text-align:center}
html[data-sg-page=lab-room] body #tool-root#tool-root .gear-preview{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-columns: unset!important;width:100%!important;gap:6px!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .hero-gear{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .mini-gear{min-height:73px!important;padding:3px 0!important;gap:3px!important;background:#04152c!important;border-color:var(--sg-line)!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .mini-gear img{height:37px!important;object-fit:contain}
html[data-sg-page=lab-room] body #tool-root#tool-root .mini-gear .gear-enhance{position:static!important;font:600 10px/1.3 Georgia,serif!important;background:none!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .mini-level{font:10px/1.3 Georgia,serif!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .hero-name{font-size:clamp(12px,3.6vw,16px)!important;line-height:1.2!important}
html[data-sg-page=lab-room] body #tool-root#tool-root :is(.why-button,.gaia-why summary){border:6px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;border-radius:0!important;background:#0a233a!important;min-height:44px!important;max-width:100%;font:12px/1.3 Georgia,serif!important;padding:5px 7px!important;white-space:normal}
html[data-sg-page=lab-room] body #tool-root#tool-root .hero-row{display:grid;grid-template-columns:22px minmax(0,1fr)!important;gap:6px!important;padding:8px 0!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .hero-row>.role-symbol{grid-column:1;grid-row:1}
html[data-sg-page=lab-room] body #tool-root#tool-root .hero-row>.hero-name{grid-column:2;grid-row:1;text-align:left}
html[data-sg-page=lab-room] body #tool-root#tool-root .hero-slots{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .hero-slots .gear-item{min-height:96px!important;height:96px!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .hero-slots .gear-item img{height:56px!important;object-fit:contain}
html[data-sg-page=lab-room] body #tool-root#tool-root .hero-slots :is(.gear-enhance,.gear-level){font-size:10px!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .gaia-note{border-color:var(--sg-line)!important;border-radius:0!important;background:#081b2de6!important;color:#d0dce6!important}
html[data-sg-page=lab-room] body #tool-root#tool-root .gear-grid:has(>.empty-state){display:block!important;min-height:70px!important}

/* Native upload controls retain their file lists, keyboard behavior and validation. */
html[data-sg-page=settings] input[type=file]::file-selector-button,html[data-sg-page=event] .sg-event-input input[type=file]::file-selector-button{border:0;background:var(--sg-row) center/100% 100% no-repeat #102c45;color:#f1e4c7;padding:11px 14px;margin:0 8px 0 0;font:13px Georgia,serif;cursor:pointer}
@media(max-width:374px){
 html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account{grid-template-columns:minmax(0,1fr) 112px!important;gap:7px!important;padding:11px 7px!important;border-width:10px!important}
 html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-frame{width:68px!important;height:68px!important;padding:6px!important}
 html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-frame{grid-column:1!important;grid-row:1!important;justify-self:center}
 html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account-identity{grid-column:1!important;grid-row:2!important;text-align:center!important;align-items:center!important}
 html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-quick-actions{grid-column:2!important;grid-row:1/3!important;align-self:center}
 html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-account-identity>strong{font-size:14px!important}
 html[data-sg-page=settings] body.owl-settings-page #content#content#content .sg-account-label{font-size:12px!important}
 html[data-sg-page=event] body #tool-root#tool-root .er-squad{grid-template-columns:31px minmax(0,1fr)!important;border-width:12px!important;gap:5px!important;padding-inline:0!important}
 html[data-sg-page=event] body #tool-root#tool-root .er-squad-banner img{width:29px!important;height:55px!important}
 html[data-sg-page=event] body #tool-root#tool-root .er-hero-heading{grid-template-columns:18px minmax(0,1fr)!important;gap:3px!important}
 html[data-sg-page=event] body #tool-root#tool-root .er-troop-emblem{width:18px!important;height:29px!important}
 html[data-sg-page=event] body #tool-root#tool-root .er-gear-values{font-size:10.5px!important}
 html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-values dt{font-size:10px!important;gap:2px!important}
 html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-values dt img{width:12px!important;height:16px!important}
 html[data-sg-page=lab-room] body #tool-root#tool-root :is(.gaia-panel,.gaia-results,.squad-card,.squad){border-width:10px!important;padding-inline:4px!important}
}
@media(prefers-reduced-motion:no-preference){html[data-sg-page] .sg-formation .er-ratio-marker{transition:left .18s ease}html[data-sg-page=lab-room] button{transition:filter .15s ease,background-color .15s ease}}
@media(prefers-reduced-motion:reduce){html[data-sg-page] .er-ratio-marker{transition:none!important}html[data-sg-page=lab-room] button{transition:none!important}}

/* Fills stop inside hollow artwork; no opaque rectangles behind cut corners. */
html[data-sg-page=auth] body.owl-auth-page :is(#google-signin#google-signin#google-signin,#browser-signin#browser-signin#browser-signin,#activity-signin#activity-signin#activity-signin,#enter-owl#enter-owl#enter-owl),
html[data-sg-page=settings] body.owl-settings-page #content#content#content :is(.settings-account,.settings-item,.settings-detail,.settings-detail button,.settings-quick-actions button),
html[data-sg-page=event] body #tool-root#tool-root :is(.er-squad,.er-back,.sg-event-input,.sg-event-input button),
html[data-sg-page=lab-room] body #tool-root#tool-root :is(.loh-panel,.squad,.gaia-panel,.gaia-results,.squad-card,.alternatives,.generate-button,.gaia-generate,.upload-cta,.loh-gear-tab,[data-gaia-role]){background-clip:padding-box!important}

/* Sealed & Ready states on Battle & Events Hub and direct locked event routes. */
html[data-sg-page=battle] body #content#content#content>.note{margin:0 0 12px!important;padding:9px 12px!important;border:8px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;background:linear-gradient(#091f36e8,#061527f2),url('/assets/owl-nexus/silver-gold-v1/shared/textures/faceted-midnight-navy.png') center/cover!important;background-clip:padding-box!important;color:#dce8f2!important;font:12.5px/1.4 Georgia,serif!important;text-align:center!important;box-shadow:0 3px 8px #0007!important}
html[data-sg-page=battle] body #content#content#content>.note a{color:#f5e4bd!important;font-weight:600;text-decoration:underline;text-underline-offset:2px}
html[data-sg-page=battle] body #content#content#content .be-card.owl-locked-tool .be-art{filter:saturate(.45) brightness(.65)!important}
html[data-sg-page=event] body #content#content>.back{display:inline-flex!important;align-items:center;border:7px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;border-radius:0!important;background:#071b32ef!important;background-clip:padding-box!important;color:#f1e4c8!important;min-height:44px!important;padding:4px 10px!important;margin:8px 0 12px!important;font:13px/1.2 Georgia,serif!important}
html[data-sg-page=event] body #content#content>.card.owl-locked-tool{position:relative;isolation:isolate;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:12px;margin:0 0 14px!important;padding:28px 16px!important;border:14px solid transparent!important;border-image:var(--sg-panel) 65 75 stretch!important;border-radius:0!important;background:linear-gradient(#071b30e8,#051324f5),url('/assets/owl-nexus/silver-gold-v1/shared/textures/faceted-midnight-navy.png') center/cover!important;background-clip:padding-box!important;box-shadow:0 6px 16px #0009!important;text-align:center}
html[data-sg-page=event] body #content#content>.card.owl-locked-tool::before{content:'';display:block;width:112px;height:112px;background:url('/assets/owl-nexus/silver-gold-v1/shared/branding/owl-compass-crest.png') center/contain no-repeat;filter:drop-shadow(0 4px 10px #000b)}
html[data-sg-page=event] body #content#content>.card.owl-locked-tool h1{font:600 clamp(22px,6vw,30px)/1.15 Georgia,serif!important;color:#f4e7c9!important;margin:0!important;text-shadow:0 2px 4px #000}
html[data-sg-page=event] body #content#content>.card.owl-locked-tool .owl-tool-lock{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:6px 12px;border:1px solid var(--sg-line);border-radius:4px;background:#041224d9;color:#c9dceb;font:13px/1.35 Georgia,serif}
html[data-sg-page=event] body #content#content>.card.owl-locked-tool .owl-tool-lock svg{width:18px;height:18px;flex:none;color:var(--sg-accent)}
html[data-sg-page=event] body #content#content>a.primary{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:54px!important;padding:8px 12px!important;border:9px solid transparent!important;border-image:var(--sg-row) 55 85 stretch!important;border-radius:0!important;background:linear-gradient(#14385c,#071c36)!important;background-clip:padding-box!important;box-shadow:0 4px 10px #0008!important;color:#f5e8ca!important;font:600 16px/1.25 Georgia,serif!important;text-align:center;text-decoration:none}

/* AAA atmospheric & interactive animations (motion-safe, zero layout shift). */
@media(prefers-reduced-motion:no-preference){
 html[data-sg-page] :is(h1.settings-title,.be-heading h2,.sg-lab-room-title)::after{animation:sg-banner-gleam 7.5s ease-in-out infinite}
 html[data-sg-page=auth] .sg-login-crest,html[data-sg-page=event] body #content#content>.card.owl-locked-tool::before{animation:sg-crest-float 4.8s ease-in-out infinite}
 html[data-sg-page=battle] body #content#content#content .be-card .be-art{transition:transform .28s cubic-bezier(.22,.61,.36,1),filter .28s ease}
 html[data-sg-page=battle] body #content#content#content .be-card .be-frame{transition:filter .24s ease}
 html[data-sg-page=battle] body #content#content#content .be-card:not(.owl-locked-tool):is(:hover,:focus-within) .be-art{transform:scale(1.032);filter:brightness(1.08)!important}
 html[data-sg-page=battle] body #content#content#content .be-card:not(.owl-locked-tool):is(:hover,:focus-within) .be-frame{filter:drop-shadow(0 0 8px #58c4ff66) drop-shadow(0 3px 4px #000b)}
 html[data-sg-page=battle][data-owl-theme=gold] body #content#content#content .be-card:not(.owl-locked-tool):is(:hover,:focus-within) .be-frame{filter:drop-shadow(0 0 8px #ebc87566) drop-shadow(0 3px 4px #000b)}
 html[data-sg-page=battle] body #content#content#content .be-star[aria-pressed=true] img{animation:sg-star-glow 2.8s ease-in-out infinite}
 html[data-sg-page=battle] #owl-svs-entry{transition:filter .18s ease,box-shadow .18s ease}
 html[data-sg-page=battle] #owl-svs-entry:is(:hover,:focus-visible){filter:brightness(1.09);box-shadow:0 0 12px #4ebaff35}
 html[data-sg-page=event] body #tool-root#tool-root .er-squad{animation:sg-squad-fade .32s cubic-bezier(.22,.61,.36,1) both}
 html[data-sg-page=event] body #tool-root#tool-root .er-squad:nth-child(2){animation-delay:55ms}
 html[data-sg-page=event] body #tool-root#tool-root .er-squad:nth-child(3){animation-delay:110ms}
 html[data-sg-page=event] body #tool-root#tool-root .er-squad-banner img{transform-origin:top center;animation:sg-pennant-unfurl .42s cubic-bezier(.22,1,.36,1) both}
 html[data-sg-page] body #tool-root#tool-root .sg-formation .er-ratio-fill span{transition:width .36s cubic-bezier(.22,1,.36,1);animation:sg-crystal-shimmer 3.8s ease-in-out infinite}
 html[data-sg-page=event] body #tool-root#tool-root .owl-gear-assignment li{transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
 html[data-sg-page=event] body #tool-root#tool-root .owl-gear-assignment li:hover{border-color:var(--sg-accent)!important;box-shadow:inset 0 0 8px #66c7ff30}
 html[data-sg-page=map] .sg-map>a img{transition:transform .24s cubic-bezier(.22,.61,.36,1),filter .24s ease;animation:sg-pin-float 4.6s ease-in-out infinite}
 html[data-sg-page=map] .sg-map>a:nth-of-type(2n) img{animation-delay:-1.5s}
 html[data-sg-page=map] .sg-map>a:nth-of-type(3n) img{animation-delay:-2.9s}
 html[data-sg-page=map] .sg-map>a:is(:hover,:focus-visible) img{transform:translateY(-3px) scale(1.03);filter:drop-shadow(0 0 10px #65bffecc) drop-shadow(0 5px 7px #000a)}
 html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-item{transition:filter .16s ease,box-shadow .16s ease}
 html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-item:is(:hover,:focus-visible){filter:brightness(1.08);box-shadow:0 4px 12px #0009,inset 0 0 10px #62c3ff24!important}
 html[data-sg-page=settings] body.owl-settings-page #content#content#content .settings-avatar-frame{animation:sg-avatar-aura 5s ease-in-out infinite}
 @keyframes sg-banner-gleam{0%,100%{filter:drop-shadow(0 2px 4px #0006) brightness(1)}50%{filter:drop-shadow(0 2px 10px #70cbff38) brightness(1.06)}}
 @keyframes sg-crest-float{0%,100%{transform:translateY(0);filter:drop-shadow(0 3px 7px #000b)}50%{transform:translateY(-2px);filter:drop-shadow(0 5px 12px #58c2ff45)}}
 @keyframes sg-star-glow{0%,100%{filter:drop-shadow(0 1px 2px #0009) drop-shadow(0 0 4px #ffd26966)}50%{filter:drop-shadow(0 1px 2px #0009) drop-shadow(0 0 9px #ffe08acc) brightness(1.12)}}
 @keyframes sg-squad-fade{from{opacity:.4;filter:brightness(1.2)}to{opacity:1;filter:none}}
 @keyframes sg-pennant-unfurl{from{transform:scaleY(.86);opacity:.5}to{transform:scaleY(1);opacity:1}}
 @keyframes sg-crystal-shimmer{0%,100%{filter:brightness(1) saturate(1)}50%{filter:brightness(1.14) saturate(1.12)}}
 @keyframes sg-pin-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-2.5px)}}
 @keyframes sg-avatar-aura{0%,100%{filter:drop-shadow(0 0 4px #56beff22)}50%{filter:drop-shadow(0 0 10px #74ceff52)}}
}

html[data-sg-page=battle] body #content#content#content .be-card .be-art{filter:saturate(.95) brightness(.78)!important}
