/* Shared phone layout. Unlayered by design: page decoration layers keep their desktop rules. */
.wc-mobile-title,.wc-mobile-nav-home,.wc-mobile-tools,.wc-mobile-notify-label{display:none}
#wc-mobile-home{max-width:720px;margin:0 auto;padding:24px 0 40px;color:var(--text-primary,#f3f0f1)}
.wc-mh-kicker{font-size:11px;letter-spacing:.12em;color:var(--accent-primary,#dda4b7);margin:0 0 12px}
.wc-mh-head h1{font-size:28px;line-height:1.2;margin:0 0 12px;font-weight:750}
.wc-mh-sub,.wc-mh-tip{font-size:14px;line-height:1.7;color:var(--text-secondary,#bdb6bc);margin:0 0 24px}
.wc-mh-links{display:grid;gap:12px}.wc-mh-card{display:grid;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:20px 16px;border:1px solid var(--border,#45404a);border-radius:16px;background:var(--bg-card,#211f25);text-align:left;color:inherit;text-decoration:none;font:inherit;cursor:pointer;min-height:100px}
.wc-mh-primary{border-color:var(--accent-primary,#dda4b7);background:linear-gradient(120deg,#dda4b718,transparent),var(--bg-card,#211f25)}
.wc-mh-symbol{font:600 24px/1 ui-monospace,monospace;color:var(--accent-primary,#dda4b7)}
.wc-mh-card b{display:block;font-size:17px;line-height:1.4}.wc-mh-card small{display:block;font-size:13px;line-height:1.6;color:var(--text-secondary,#bdb6bc);margin-top:6px}.wc-mh-tip{margin-top:24px;font-size:12px}
.wc-mh-card:focus-visible,.wc-mobile-title:focus-visible{outline:2px solid var(--accent-primary,#dda4b7);outline-offset:3px}
body.wc-mobile-home-on #workspaceLayout,body.wc-mobile-home-on #teamBar,body.wc-mobile-home-on #publicDbPage,body.wc-mobile-home-on #publicPlaceholderPage,body.wc-mobile-home-on .user-profile-page,body.wc-mobile-home-on .app-tools-drawer,body.wc-mobile-home-on .buff-drawer-root,body.wc-mobile-home-on .sc-announce{display:none!important}
@media(max-width:960px){
 html{--app-topbar-height:calc(56px + env(safe-area-inset-top));scroll-padding-top:calc(var(--app-topbar-height) + 12px)}
 html body{padding-top:var(--app-topbar-height);font-size:14px;-webkit-text-size-adjust:100%}
 html body>.wrap,html body.has-phase-rail>.wrap{width:100%;max-width:100%;margin:0;padding:12px 12px calc(24px + env(safe-area-inset-bottom));box-sizing:border-box;min-width:0}
 html header.app-topbar{position:fixed;inset:0 0 auto;height:var(--app-topbar-height);padding:env(safe-area-inset-top) 12px 0;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;z-index:1000;box-sizing:border-box;align-items:center;background:var(--bg-deepest,#19171c);border-bottom:1px solid var(--border,#46404a)}
 html header.app-topbar>.app-brand,html header.app-topbar>.app-topbar-tools,html header.app-topbar>.app-notify-btn{display:none!important}
 html header.app-topbar #sidenavMobileToggle{display:flex;grid-column:1;grid-row:1;align-items:center;justify-content:center;width:44px;height:44px;padding:0;z-index:2}
 html header.app-topbar .wc-mobile-title{display:block;grid-column:2;grid-row:1;min-width:0;text-align:left;border:0;background:none;color:var(--text-primary,#f4f0f2);font-size:17px;font-weight:650;line-height:1.3;font-family:inherit;padding:8px 0;min-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:2;cursor:pointer}
 html header.app-topbar>.app-user{grid-column:3;grid-row:1;margin:0;padding:0;width:44px;min-width:44px;height:44px;justify-content:center}.app-user .app-user-name{display:none!important}html header.app-topbar .app-user-avatar{width:34px;height:34px;font-size:14px}
 html #workspacePhaseBar{visibility:visible!important}
 html #workspacePhaseBar .app-sidenav-backdrop{display:block;position:fixed;inset:var(--app-topbar-height) 0 0;z-index:998;background:#0008;opacity:0;pointer-events:none}
 html body.sidenav-mobile-open #workspacePhaseBar .app-sidenav-backdrop{opacity:1;pointer-events:auto}
 html #workspacePhaseBar .app-sidenav{position:fixed;top:var(--app-topbar-height);bottom:0;left:0;width:min(340px,90vw);max-width:90vw;height:auto;padding:12px 12px calc(24px + env(safe-area-inset-bottom));transform:translateX(-110%);z-index:999;overflow-y:auto;overscroll-behavior:contain;background:var(--bg-deepest,#19171c);border-right:1px solid var(--border,#46404a);display:flex;flex-direction:column;gap:12px;box-sizing:border-box}
 html body.sidenav-mobile-open #workspacePhaseBar .app-sidenav{transform:none}
 html #workspacePhaseBar .app-sidenav-main,html #workspacePhaseBar .app-sidenav-foot{flex:none;overflow:visible;padding:0;margin:0}
 html #workspacePhaseBar .app-sidenav-brand,html #workspacePhaseBar .app-sidenav-mascot,html #workspacePhaseBar .local-pill-circle,html #workspacePhaseBar .local-pill-copy{display:none}
 html #workspacePhaseBar .app-sidenav-label{transform:none!important;white-space:normal;font-size:14px}
 html #workspacePhaseBar .app-sidenav-item,html #workspacePhaseBar .app-sidenav-special{min-height:44px;height:auto;width:100%;padding:10px 12px;text-align:left;border-radius:10px}
 html #workspacePhaseBar .app-sidenav-help{min-width:44px;min-height:44px}
 html #workspacePhaseBar .app-sidenav-row{gap:4px}
 html #workspacePhaseBar .wc-mobile-nav-home{display:block;min-height:44px;flex:none;text-align:left;padding:10px 12px;border:1px solid var(--border,#46404a);border-radius:10px;background:transparent;color:var(--text-primary,#f4f0f2);font-size:14px;font-weight:600;line-height:1.5;font-family:inherit}
 html .wc-mobile-tools{display:grid;gap:12px;border-top:1px solid var(--border,#46404a);padding-top:12px}
 html .wc-mobile-tools .app-topbar-tools{display:flex!important;flex-wrap:wrap;width:100%;gap:8px;margin:0}
 html .wc-mobile-tools .app-topbar-tools button,html .wc-mobile-tools #appNotifyBtn{display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px;width:auto;max-width:100%;padding:10px 12px;margin:0;font-size:13px}
 html .wc-mobile-tools .app-topbar-tools button span{display:inline!important}
 html .wc-mobile-tools .app-shortcuts-btn svg{width:18px;height:18px}
 html .wc-mobile-tools #appNotifyBtn{justify-content:flex-start;border:1px solid var(--border,#46404a);border-radius:10px}
 html .wc-mobile-tools .wc-mobile-notify-label{display:inline}
 html .wc-mobile-tools #locale-preview-toolbar{position:static!important;display:block!important;transform:none!important;inset:auto!important;padding:0!important;box-shadow:none!important;max-width:100%;order:-1;width:100%}
 html .wc-mobile-tools #configThemeSwitcher{position:static!important;display:flex!important;transform:none!important;inset:auto!important;flex-wrap:wrap;max-width:100%;gap:12px;background:none!important;padding:0!important}
 html .wc-mobile-tools #configThemeSwitcher .theme-btn{min-width:44px;min-height:44px}
 html .wc-mobile-tools #configThemeSwitcher select{min-height:44px}
 html #wc-mobile-home .locale-mobile-host{margin:0 0 20px}html #wc-mobile-home #locale-preview-toolbar{position:static!important;transform:none!important;inset:auto!important;max-width:100%}
 html #wc-mobile-home #locale-preview-toolbar button{min-height:44px;padding:10px 16px}
 html .public-db-page,html .user-profile-page,html #publicPlaceholderPage{max-width:100%;width:100%;padding:8px 0 24px;margin:0;box-sizing:border-box;min-width:0}
 html #workspaceLayout{grid-template-columns:minmax(0,1fr)!important;gap:12px;margin:0;min-width:0;width:100%;max-width:100%}
 html #sidebar,html #main{min-width:0;width:100%;max-width:100%;box-sizing:border-box}
 html #teamBar{max-width:100%;min-width:0}
 html .panel{min-width:0;max-width:100%;box-sizing:border-box;padding:14px;border-radius:14px}
 html :is(.toolbar,.panel-head,.panel-header,.card-head,.section-header){flex-wrap:wrap;gap:8px;min-width:0}
 html :is(.toolbar,.panel-head,.panel-header) :is(input,select){min-width:0;max-width:100%}
 html :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px;max-width:100%;box-sizing:border-box}
 html :is(.btn,.toolbar-btn,.pdb-btn,.up-btn,.pdb-detail-btn,.pdb-filter-tab,.pdb-zone-btn){min-height:44px;white-space:normal}
 html :is(.modal,.dialog,.pdb-detail-modal,.pdb-filter-modal,.pdb-review-modal,.pdb-report-modal,.cloud-modal){max-width:100vw;box-sizing:border-box}
 html :is(.pdb-detail-card,.pdb-detail-dialog,.pdb-filter-dialog,.pdb-review-dialog,.pdb-report-dialog,.cloud-dialog,.ecm-modal,.modal-dialog){max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));box-sizing:border-box;overflow:auto;overscroll-behavior:contain}
 html :is(.pdb-detail-title,.pdb-card .card-name,.panel-title,.up-name){overflow-wrap:anywhere}
 html :is(.table-wrap,.table-scroll,.table-container,.calc-table-wrap,.config-table-wrap,.pdb-detail-table-wrap){max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
 html .wc-mobile-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;min-width:0}
 html .pdb-card .card-heading-actions{gap:6px}html .pdb-card .card-heading-actions button{font-size:13px}
 html .pdb-toolbar-compact{padding:12px!important;margin-bottom:12px!important;border-radius:14px!important}
 html .pdb-card{padding:14px!important}
 html .pdb-detail-head,html .pdb-detail-actions{flex-wrap:wrap;gap:8px}
 html .pdb-detail-summary{flex-wrap:wrap;gap:12px}
 html .pdb-detail-body{min-width:0}
 html .pdb-detail-actions>button{flex:1 1 120px}
 html .sc-announce{max-width:calc(100vw - 24px)}
 html .app-sidenav-indicator{display:none}
 html .wc-mobile-tools button:focus-visible{outline:2px solid var(--accent-primary,#dda4b7);outline-offset:2px}
}
@media(prefers-reduced-motion:reduce){.wc-mh-card{transition:none}}
@media(max-width:960px){
 html header.app-topbar .wc-mobile-title{font-size:17px;font-weight:650;line-height:1.3}
 html #workspacePhaseBar .wc-mobile-nav-home{font-size:14px;font-weight:600;line-height:1.5}
 html #wc-mobile-home{padding-top:20px}
 html .site-decor-glow{display:none}
}
@media(max-width:960px){
 html .local-buff-member-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;margin:0 0 16px;min-width:0}
 html .local-buff-member-tab.local-team-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;height:auto;min-height:120px;padding:10px;gap:8px;overflow:visible;min-width:0;width:100%;box-sizing:border-box}
 html .local-team-avatar{width:40px;height:40px;min-width:40px;min-height:40px;flex:none}html .local-team-copy{min-width:0;width:100%}html .local-team-copy strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}html .local-team-copy small{font-size:11px;line-height:1.5;display:block;white-space:normal}html .local-team-copy small b{display:block;font-size:13px}html .local-team-index{display:none}
 html .local-buff-view-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;max-width:100%;padding:0 0 10px;margin-bottom:14px}
 html .local-buff-view-nav button{flex:0 0 auto;min-height:44px;padding:10px 14px;font-size:13px;white-space:nowrap;width:auto}
 html .local-buff-workspace{min-width:0;padding:0}
 html #calcSummaryRail{position:static;display:flex;flex-direction:column;max-width:100%;min-width:0;overflow:visible}
 html #calcSummaryRail .summary-group{display:flex;flex-wrap:wrap;max-width:100%;min-width:0;gap:6px;padding:8px}
 html #calcSummaryRail .summary-group-stats{display:grid;grid-template-columns:1fr 1fr}
 html #calcSummaryRail .summary-item{min-width:0;max-width:100%;padding:8px;white-space:normal;flex:1 1 auto;border:0;gap:6px}
 html #calcSummaryRail .summary-item-value{font-size:18px;overflow-wrap:anywhere}html #calcSummaryRail .summary-item.total .summary-item-value{font-size:22px}
 html #calcSummaryRail .summary-switch-chars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:4px;min-width:0}
 html #calcSummaryRail .summary-item.char{display:flex;flex-direction:column;min-height:60px;text-align:center;align-items:center;padding:8px 4px}
 html #calcSummaryRail .summary-item.char .summary-item-value{font-size:13px}html #calcSummaryRail .summary-item.char .tab-name{font-size:12px}
 html .calc-page,html .calc-check-page,html .overview-page,html .export-page{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
 html .calc-page .hint{white-space:normal;overflow-wrap:anywhere}
 html .calc-page .phase-toolbar{flex-wrap:wrap}
 html .check-topbar{position:static;display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0;padding:12px 0}
 html .check-topbar-left,html .check-topbar-right{display:flex;flex-wrap:wrap;min-width:0;max-width:100%;width:100%;gap:8px}
 html .check-topbar-tabs{display:flex;overflow-x:auto;max-width:100%;min-width:0;gap:6px}
 html .check-topbar-tab{min-height:44px;flex-shrink:0;padding:8px 10px}
 html .check-topbar-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;gap:4px}
 html .check-topbar-stat{min-width:0;padding:8px 6px;white-space:normal;text-align:left}
 html .check-topbar-stat-value{font-size:16px;overflow-wrap:anywhere}html .check-topbar-stat.is-team-total .check-topbar-stat-value,html .check-topbar-stat.is-total .check-topbar-stat-value{font-size:18px}
 html .check-topbar-link{min-height:44px;white-space:normal}html .check-topbar-link-full{display:inline}html .check-topbar-link-icon{display:none}
 html .check-excel-table-wrap,html .check-excel-scroll,html .overview-cycle-table-wrap,html .export-cfg-table-wrap{overflow-x:auto;max-width:100%;min-width:0;overscroll-behavior-x:contain}
 html .export-top-row,html .export-bottom-row{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-width:0}
 html .export-section,html .export-region,html .export-cfg-panel,html .export-page-header,html .export-page-header-row,html .export-region-head{min-width:0;max-width:100%;box-sizing:border-box}
 html .export-page-header-row,html .export-region-head{flex-wrap:wrap;gap:10px}
 html .export-page-title{font-size:22px;line-height:1.4}.export-page-header .hint{line-height:1.6}
 html .export-section{padding:12px}
 html .export-page .esm-stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}html .export-page .esm-stat{min-width:0}html .export-page .esm-stat-value{font-size:18px;overflow-wrap:anywhere}
}
@media(max-width:960px){
 html .overview-stack,html .overview-stack-row,html .export-cfg-split,html .oa-charts,html .oa-details{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:14px}
 html .overview-page .export-cfg-main,html .overview-page .export-cfg-chart,html .overview-page .export-cfg-panel-body,html .overview-page .export-cfg-compare,html .overview-page .export-cfg-live{min-width:0;max-width:100%;box-sizing:border-box}
 html .overview-page .export-cfg-panel-body{overflow-x:auto;overscroll-behavior-x:contain}
 html .overview-page .export-cfg-live{display:flex;flex-wrap:wrap;gap:8px}
 html .overview-page .export-cfg-live-main{display:flex;flex-wrap:wrap;gap:8px;max-width:100%;min-width:0}
 html .overview-page .export-cfg-chart-box{min-width:0;max-width:100%;overflow-x:auto}
 html .overview-page .export-cfg-chart-tabs{display:flex;flex-wrap:wrap;gap:8px}
 html .overview-page .export-cfg-chart-tab{min-height:44px}
 html .phase-skill-list{overflow-x:auto;max-width:100%;min-width:0;overscroll-behavior-x:contain}
 html .phase-skill-list>.timeline-head,html .phase-skill-list>.skill-group{min-width:620px}
 html .export-card-maker-preview{max-width:100%;overflow-x:auto!important;overscroll-behavior-x:contain}
 html .esm-export-card-actions,html .character-card-entry{flex-wrap:wrap}
 html .esm-btn{min-height:44px}
}
@media(max-width:960px){
 html #workspaceLayout .overview-page.export-page .export-cfg-split{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;width:100%;min-width:0;max-width:100%}
 html #workspaceLayout .overview-page.export-page .export-cfg-main,html #workspaceLayout .overview-page.export-page .export-cfg-chart{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
 html #workspaceLayout .overview-page.export-page .overview-stack,html #workspaceLayout .overview-page.export-page .overview-stack-row{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%}
}
@media(max-width:960px){
 html[data-wc-compact]{--ui-text:#f4eef1;--ui-muted:#bfb3bd;--ui-title:#e9b5c8;--ui-panel:#211e25;--ui-inset:#19171c;--ui-line:#4b424e;--ui-on-active:#241a21;--ui-rim:#dda4b7;--profile-surface:#211e25;--profile-inset:#19171c;--profile-stroke:#4b424e}
 html[data-wc-compact][data-config-theme=ivory-prism],html[data-wc-compact][data-theme=ivory-prism]{--ui-text:#263349;--ui-muted:#526078;--ui-title:#244876;--ui-panel:#fffefb;--ui-inset:#f1f2ee;--ui-line:#acb5c1;--ui-on-active:#fff;--ui-rim:#45698d;--profile-surface:#fffefb;--profile-inset:#f1f2ee;--profile-stroke:#acb5c1}
 html .pdb-detail-overlay,html .pdb-report-overlay{background:#000a;backdrop-filter:none;padding:12px;box-sizing:border-box}
 html .pdb-detail-dialog,html .pdb-review-dialog,html .pdb-report-dialog{background:var(--ui-panel,#211e25);color:var(--ui-text,#f4eef1);border:1px solid var(--ui-line,#4b424e);width:100%;max-width:calc(100vw - 24px);border-radius:16px}
 html .pdb-detail-head,html .pdb-detail-actions{background:var(--ui-panel,#211e25);padding:12px}
 html .pdb-detail-scroll{padding:14px;overflow:auto;min-height:0}
 html .pdb-detail-dialog .pdb-overview{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.7fr);gap:8px;padding:12px 0;min-width:0}
 html .pdb-detail-dialog .pdb-overview-divider{display:none}
 html .pdb-detail-dialog .pdb-overview-stat{min-width:0;max-width:100%;padding:0;gap:6px}
 html .pdb-detail-dialog .pdb-overview-value{font:700 clamp(15px,4vw,21px)/1.3 ui-monospace,monospace;letter-spacing:-.03em;white-space:normal;overflow-wrap:anywhere;color:var(--ui-title,#e9b5c8)}
 html .pdb-detail-dialog .pdb-overview-label{font-size:12px}
 html .pdb-detail-dialog .pdb-detail-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
 html .pdb-detail-dialog .pdb-detail-row{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:start}
 html .pdb-detail-dialog .pdb-detail-k{text-align:left;font-size:12px}html .pdb-detail-dialog .pdb-detail-v{font-size:13px;min-width:0;overflow-wrap:anywhere;line-height:1.65}
 html .pdb-detail-close,html .pdb-report-close,html .pdb-icon-btn{min-width:44px;min-height:44px;flex:none}
 html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage .up2-container{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;max-width:100%;min-width:0}
 html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage .up2-grid-span{grid-column:1/-1;min-width:0}
 html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage :is(.up2-col-left,.up2-col-right,.up2-identity-meta){width:100%;min-width:0;max-width:100%}
 html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage .up2-identity-row{display:flex;align-items:center;gap:14px;min-width:0}
 html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage .up-avatar-wrap{flex:0 0 56px}html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage .up-avatar{width:56px;height:56px}
 html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage .up2-identity{padding:16px;overflow:visible}
 html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage .up-identity-title-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
 html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage .up2-account-id{display:block;white-space:normal;text-align:left;max-width:100%;overflow-wrap:anywhere;min-height:36px;line-height:1.5}
 html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage .up2-content-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage .up2-stat-card{min-width:0;padding:12px 6px;font-size:12px}
 html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage .up2-shell{max-width:100%;width:100%;min-width:0}
 html .pdb-detail-team{max-width:100%;overflow-x:auto}
}
@media(max-width:960px){
 html #announcementBar .sc-announce.is-open{position:relative;inset:auto;max-width:100%;box-shadow:none}
 html #announcementBar .sc-announce-main{min-height:44px;padding-right:48px}
 html #announcementBar .sc-announce-close{top:0;right:0;width:44px;height:44px}
 html #announcementBar .sc-announce-body{max-height:160px}
 html #workspaceLayout .export-page .esm-stats-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.7fr)}
 html #workspaceLayout .export-page .esm-stat-value{font-size:clamp(14px,3.8vw,18px);white-space:normal;overflow-wrap:anywhere}
 html #workspaceLayout .buff-check-matrix-wrap{overflow-x:auto;min-width:0;max-width:100%}
 html #workspaceLayout .team-buff-assign-table{min-width:310px;width:100%}
 html #workspaceLayout .team-buff-assign-avatar .char-avatar-card{width:32px;min-width:32px;height:40px;max-width:none}
}
@media(max-width:960px){
 html[data-wc-compact] #userProfilePage .up2-container>*{grid-column:1/-1;grid-row:auto;min-width:0;width:100%;max-width:100%}
 html[data-wc-compact][data-config-theme=ivory-prism]{--bg-deepest:#f3f3ef;--bg-surface:#fffefb;--bg-card:#fffefb;--bg:#f3f3ef;--text-primary:#263349;--text-secondary:#526078;--text-muted:#59667b;--border:#acb5c1;--accent-primary:#244876;--accent:#244876}
 html[data-wc-compact][data-config-theme=ivory-prism] .wc-mh-card{background:#fffefb;border-color:#acb5c1;color:#263349}
 html[data-wc-compact][data-config-theme=ivory-prism] .wc-mh-primary{border-color:#244876;background:#edf1f4}
}
@media(max-width:960px){
 html[data-wc-compact][data-theme] body.user-profile-open #userProfilePage .up2-container>*{grid-column:1/-1;grid-row:auto;min-width:0;width:100%;max-width:100%}
}
@media(max-width:960px){
 html[data-wc-compact] .wc-mobile-tools #configThemeSwitcher{display:flex!important;position:static!important;visibility:visible!important;pointer-events:auto!important;flex-wrap:wrap;gap:12px;max-width:100%;transform:none!important}
 html[data-wc-compact] .wc-mobile-tools #configThemeSwitcher .theme-btn{display:block!important;width:44px;height:44px;min-width:44px;min-height:44px}
 html[data-wc-compact] .wc-mobile-tools{flex-shrink:0}
}
@media(max-width:960px){
 html[data-wc-compact] body header.app-topbar #sidenavMobileToggle{display:flex!important;visibility:visible!important;pointer-events:auto!important}
 html[data-wc-compact][data-theme=ivory-prism] #publicDbPage .pdb-card-btn.is-primary,html[data-wc-compact][data-theme=ivory-prism] #publicDbPage .pdb-btn-primary,html[data-wc-compact][data-theme=ivory-prism] #userProfilePage .up-btn-primary{color:#fff!important;background:#244876!important}
}
@media(max-width:960px){
 html[data-wc-compact] body #workspacePhaseBar{display:block!important;visibility:visible!important}
}
@media(max-width:960px){
 html[data-wc-compact][data-theme] body.user-profile-open #workspacePhaseBar,html[data-wc-compact][data-theme] body.public-section-open #workspacePhaseBar{display:block!important;visibility:visible!important}
}

@media(max-width:960px){
 html[data-wc-compact] header.app-topbar{background-image:none!important}
 html[data-wc-compact] header.app-topbar::before,html[data-wc-compact] header.app-topbar::after{display:none!important}
 html[data-wc-compact] header.app-topbar .wc-mobile-title{text-shadow:none!important;filter:none!important}
}
@media(max-width:960px){
 html[data-wc-compact][data-theme] body header.app-topbar>.app-brand,html[data-wc-compact] header.app-topbar>.app-topbar-motif,html[data-wc-compact] header.app-topbar>.app-corner{display:none!important}
 html[data-wc-compact] #workspaceLayout .local-buff-member-tab.local-team-card{height:auto!important;min-height:156px!important;max-height:none!important;overflow:hidden!important;padding:10px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:8px!important}
 html[data-wc-compact] #workspaceLayout .local-buff-member-tab .local-team-avatar{position:relative!important;inset:auto!important;width:44px!important;height:44px!important;flex:none!important}
 html[data-wc-compact] #workspaceLayout .local-buff-member-tab .local-team-copy{position:relative!important;inset:auto!important;display:block!important;width:100%!important;min-width:0!important;transform:none!important;z-index:2}
 html[data-wc-compact] #workspaceLayout .local-buff-member-tab .local-team-copy strong{display:block!important;font-size:14px!important;line-height:1.5!important;white-space:normal!important}
 html[data-wc-compact] #workspaceLayout .local-buff-member-tab .local-team-copy small{display:block!important;font-size:11px!important;line-height:1.5!important;white-space:normal!important}
 html[data-wc-compact] #workspaceLayout .local-buff-member-tab .local-team-copy b{display:block!important;font-size:12px!important;overflow-wrap:anywhere!important}
 html[data-wc-compact] #workspaceLayout .local-buff-member-tab .local-team-portrait,html[data-wc-compact] #workspaceLayout .local-buff-member-tab .local-team-index{display:none!important}
}
@media(max-width:960px){
 html[data-wc-compact] #workspaceLayout .local-buff-table th:not(:first-child),html[data-wc-compact] #workspaceLayout .local-buff-table td:not(:first-child){width:40px;min-width:40px;padding:8px 3px!important;box-sizing:border-box}
 html[data-wc-compact] #workspaceLayout .local-buff-table .buff-grid__recv{width:32px;min-width:32px;margin:auto}
 html[data-wc-compact] #workspaceLayout .local-buff-table .char-avatar-card{width:32px!important;min-width:32px!important;height:40px!important;max-width:none!important}
}
@media(max-width:960px){
 html[data-wc-compact] #workspaceLayout .local-buff-member-tab.local-team-card{padding:8px!important}
 html[data-wc-compact] #workspaceLayout .local-buff-member-tab .local-team-copy b{font-size:clamp(10px,2.8vw,12px)!important;white-space:nowrap!important;letter-spacing:0!important}
 html[data-wc-compact] #workspaceLayout :has(>.local-buff-table){min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
 html[data-wc-compact] #workspaceLayout .local-buff-table{min-width:300px;width:100%;max-width:none}
 html[data-wc-compact] #announcementBar .sc-announce-body,html[data-wc-compact] #announcementBar .sc-announce-body a{overflow-wrap:anywhere;word-break:break-word;white-space:normal}
}
