.mct-setting[hidden],#mctMoreButton[hidden],.mct-more [hidden],.mct-admin-group[hidden],.mct-admin-group [hidden]{display:none!important}
.mct-setting{padding:.8rem 0;border-top:1px solid #ffffff25;display:grid;gap:.5rem;color:inherit}
.mct-setting label,.mct-font-control label{font-weight:650}.mct-setting p{font-size:.78rem;line-height:1.45;margin:0;color:inherit;opacity:.8}
.mct-input-row,.mct-font-control{display:flex;align-items:center;justify-content:space-between;gap:.7rem}
.mct-input-row input{min-width:0;width:100%}
.mct-setting input,.mct-setting button,.mct-font-control select,.mct-dialog button{min-height:40px;font:inherit;border:1px solid #75819877;border-radius:7px;padding:.4rem .6rem;background:#151b29;color:#f5f7fb}
.mct-font-adjusted .counter-grid,.mct-font-adjusted .cru-face-grid{grid-auto-rows:auto!important;align-items:start!important}
html.mct-font-adjusted body #resultsBody .counter-card{min-height:0!important;padding:1.25rem!important;height:auto!important}
html.mct-font-adjusted body #resultsBody .counter-name{font-size:1rem!important;line-height:1.3}
html.mct-font-adjusted body #resultsBody .counter-note-inline{font-size:.8rem!important}
.mct-pin{position:absolute;right:44px;bottom:8px;width:32px;height:32px;display:grid;place-items:center;border:1px solid #8ba0be55;border-radius:7px;background:#0a1724;color:#b8cbe7;cursor:pointer;z-index:5;touch-action:manipulation}
.mct-pin svg{width:17px;height:17px}.mct-pin[aria-pressed=true]{color:#83f3b2;border-color:#48c983;background:#123f2b}
#resultsBody .mct-pinned{background:linear-gradient(135deg,#113323,#0c2019)!important;border-color:#49c884!important;box-shadow:0 0 0 1px #49c88422!important}
#mctPinnedSection{margin:.8rem 0 1.6rem}#mctPinnedHeading{font-size:1.05rem;color:#73e3a2;margin:0 0 .75rem}
.mct-pinned-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:1rem;align-items:start}
.mct-pinned-grid .counter-card{position:relative;min-height:0!important;padding-bottom:2.5rem!important}
body[data-msf-design] .msf-card-footer .mct-pin{position:static!important;flex:none;margin-left:auto;order:9;width:36px;height:36px}
body[data-msf-design] .msf-card-footer .mct-pin+.ctr-share-btn{margin-left:0;order:10}
.mct-pinned-grid.mct-faces{grid-template-columns:repeat(2,minmax(0,1fr))}
.mct-limit-info{font-size:.8rem;color:#a6b8cb;margin:.5rem 0}
.mct-dialog{width:min(640px,calc(100% - 24px));max-height:85dvh;overflow:auto;background:#0c121d;color:#edf3fc;border:1px solid #6d829766;border-radius:16px;padding:20px}
.mct-dialog::backdrop{background:#000a}.mct-dialog header{display:flex;justify-content:space-between;gap:1rem;align-items:center}.mct-dialog h2{font-size:1.25rem}
.mct-saved-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #ffffff16}.mct-saved-row a{flex:1;color:#88dfb3;text-decoration:none;overflow-wrap:anywhere}
.mct-member-font p{font-size:.8rem;color:inherit;opacity:.75}
.mct-more{min-height:100dvh;background:#080d14;color:#edf2fc;padding:24px 20px 80px}.mct-more-wrap{max-width:1180px;margin:auto}
#msfMorePage h1{text-transform:uppercase!important}
.mct-more-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:30px}.mct-more h1{font-size:clamp(1.6rem,5vw,2.5rem);letter-spacing:-.05em;margin:0}
.mct-more button,.mct-more select,.mct-more input,.mct-admin-search{font:inherit;color:inherit;border:1px solid #ffffff26;background:#131c29;border-radius:8px;padding:10px 12px;min-height:42px}
.mct-more button{cursor:pointer}.mct-more button:disabled{cursor:default}.mct-more button:focus-visible,.mct-more select:focus-visible,.mct-more input:focus-visible,.mct-pin:focus-visible{outline:2px solid #73e3a2;outline-offset:3px}
.mct-more-toolbar{display:flex;gap:20px;align-items:end;justify-content:space-between;margin-bottom:26px}.mct-more-toolbar label{display:grid;gap:6px;font-size:.8rem;color:#9faec1}.mct-more-toolbar input{min-width:260px}
.mct-more-edit{padding:16px;border:1px solid #ffffff26;border-radius:12px;margin-bottom:24px}.mct-more-edit p{font-size:.85rem;margin:0 0 12px;color:#aab7c8}.mct-more-edit button{margin:0 8px 4px 0}
.mct-more-status{font-size:.85rem;color:#8bdbac}.mct-more-section{margin:24px 0 32px;border-radius:12px}.mct-more-section-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.mct-more-section h2{font-size:1rem;font-weight:600;color:#aab9cb;margin:0}.mct-more-section-heading input{min-width:0;max-width:220px}
.mct-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:24px}.mct-more-item{min-width:0}.mct-more button.mct-more-card{position:relative;width:100%;min-height:184px;padding:24px;text-align:left;overflow:hidden;border-radius:16px;background:linear-gradient(135deg,#17344a,#0c1b2e);border-color:#37516b77;display:flex;align-items:end;isolation:isolate}
.mct-more-card img{position:absolute;right:0;top:0;width:62%;height:100%;object-fit:contain;opacity:.65;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 25%)}
.mct-more-title{display:block;font-size:1.4rem;font-weight:650;max-width:74%;line-height:1.1;text-wrap:balance;text-shadow:0 2px 15px #000}
.mct-more-item:nth-child(3n+2) .mct-more-card{background:linear-gradient(135deg,#313039,#122130)}.mct-more-item:nth-child(3n) .mct-more-card{background:linear-gradient(135deg,#214036,#0e2227)}
.mct-move-controls{display:flex;gap:5px;margin-top:6px}.mct-move-controls select{width:100%;min-width:0}.mct-move-controls button{font-size:.72rem;flex-shrink:0}.mct-drop-target{outline:2px solid #6bdf9f;outline-offset:8px}
.mct-more[data-design=rows] .mct-more-grid{grid-template-columns:1fr 1fr}.mct-more[data-design=rows] button.mct-more-card{min-height:124px;align-items:center;padding-left:32%;border-radius:10px}.mct-more[data-design=rows] .mct-more-card img{width:28%;left:0;right:auto;opacity:.9;mask-image:none}.mct-more[data-design=rows] .mct-more-title{max-width:100%;font-size:1.2rem}
.mct-more[data-design=compact] [data-groups]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.mct-more[data-design=compact] .mct-more-section{padding:18px;background:#111b28;border:1px solid #ffffff12;margin:0}.mct-more[data-design=compact] .mct-more-grid{grid-template-columns:1fr;gap:4px}.mct-more[data-design=compact] button.mct-more-card{min-height:76px;background:transparent;border:0;border-radius:8px;padding:12px 12px 12px 70px;align-items:center}.mct-more[data-design=compact] .mct-more-card img{left:8px;width:50px;opacity:.85;mask-image:none}.mct-more[data-design=compact] .mct-more-title{font-size:.95rem;max-width:100%;text-shadow:none}.mct-more[data-design=compact] .mct-more-section-heading{flex-wrap:wrap}
.mct-admin-search{width:100%;margin:0 0 20px;color:#edf3fc}.modctl-grid:has(.mct-admin-group){display:block}.mct-admin-group{margin:0 0 28px}.mct-admin-group h2{font:600 1rem/1.3 'Outfit',sans-serif;color:#a2b4c9}.mct-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}.modctl-sub{display:none}
@media(hover:hover) and (pointer:fine){.mct-more-card:hover{border-color:#90b6cf!important;filter:brightness(1.1)}.mct-pin:hover{color:#9ff5c0}}
@media(max-width:650px){.mct-pinned-grid,.mct-pinned-grid.mct-faces{grid-template-columns:1fr}.mct-more{padding:18px 14px 60px}.mct-more-header{gap:8px}.mct-more-header button{font-size:.75rem;padding:8px}.mct-more-toolbar{flex-wrap:wrap;gap:12px}.mct-more-toolbar label{width:100%}.mct-more-toolbar input{width:100%;min-width:0}.mct-more-grid{grid-template-columns:1fr 1fr;gap:10px}.mct-more button.mct-more-card{min-height:150px;padding:16px 12px}.mct-more-title{font-size:1.08rem;max-width:95%}.mct-more[data-design=rows] .mct-more-grid{grid-template-columns:1fr}.mct-more[data-design=compact] [data-groups]{grid-template-columns:1fr}.mct-more-section-heading{flex-wrap:wrap}.mct-more-section-heading input{width:100%;max-width:none}.mct-move-controls{flex-wrap:wrap}}

/* MSFMORE uses the existing MSFWAR wordmark colors and type. */
#msfMorePage .mct-more-brand,#msfMorePage .mct-more-brand *{font-family:Outfit,sans-serif;font-weight:700;line-height:1;letter-spacing:.12em;text-transform:uppercase!important;color:rgba(235,240,252,.92)}
#msfMorePage .mct-more-brand{font-size:clamp(1.2rem,4vw,2.5rem);white-space:nowrap}
#msfMorePage .mct-more-brand b{color:var(--red-bright,#ff3b4e)}
#hamMoreBtn.mct-more-link .ham-chevron{display:none}
#hamMoreBtn [data-more-label]{text-transform:none!important}
.mct-more button.mct-more-card{padding:16px;min-height:220px;align-items:stretch;flex-direction:column;gap:12px;background:#111b28!important}
.mct-more-card img{position:static;width:100%;height:132px;object-fit:contain;opacity:1;mask-image:none;z-index:auto}
.mct-more-title{font-size:1.1rem;line-height:1.25;max-width:100%;text-shadow:none}
.mct-more[data-design=rows] button.mct-more-card{flex-direction:row;align-items:center;padding:12px;gap:16px}
.mct-more[data-design=rows] .mct-more-card img{width:110px;height:90px;opacity:1;flex:none}
.mct-more[data-design=compact] button.mct-more-card{padding:10px 4px;flex-direction:row;gap:10px}
.mct-more[data-design=compact] .mct-more-card img{width:64px;height:56px;flex:none;opacity:1}
#modControlsPage .mct-admin-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}
#modControlsPage .mct-admin-grid>:is(button,a).modctl-btn{box-sizing:border-box;aspect-ratio:auto;width:100%;height:72px;min-height:72px;padding:10px 12px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;text-align:center}
#modControlsPage .modctl-btn .mc-desc{display:none}
#modControlsPage .modctl-btn .mc-title{font-size:.85rem;line-height:1.25;margin:0;overflow-wrap:anywhere}
#modControlsPage .modctl-btn .mc-icon{margin:0;flex:none}
@media(max-width:650px){.mct-more-header{flex-wrap:wrap}.mct-more-header [data-edit]{margin-left:auto}.mct-more button.mct-more-card{min-height:174px;padding:12px;gap:10px}.mct-more-card img{height:98px}.mct-more-title{font-size:.95rem}.mct-more[data-design=rows] .mct-more-card img{width:84px;height:74px}#modControlsPage .mct-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#modControlsPage .mct-admin-grid>:is(button,a).modctl-btn{padding:10px 5px;gap:7px}#modControlsPage .modctl-btn .mc-title{font-size:.75rem}}

#msfMorePage .mct-more-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
#msfMorePage [data-back]{justify-self:start}#msfMorePage [data-edit]{justify-self:end}
#msfMorePage .mct-more-brand,#msfMorePage .mct-more-brand *{font-family:var(--msf-heading-font,Outfit),system-ui,sans-serif!important;font-weight:800;letter-spacing:-.05em}
#msfMorePage .mct-more-brand span{color:#df354c!important}
#msfMorePage .mct-more-brand b{color:var(--msf-text,#edf2fc)!important}
#modControlsPage .mct-admin-grid>.modctl-btn:not(button):not(a){aspect-ratio:auto!important;min-height:0!important;height:auto!important;padding:16px!important}
#modControlsPage .mct-admin-grid>.modctl-btn:not(button):not(a) button{min-height:36px!important;padding:6px 12px!important}
@media(max-width:360px){#modControlsPage .mct-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#msfMorePage .mct-more-brand{font-size:1.1rem}}

#modControlsPage #mcPaidMemberCount{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px!important}
#modControlsPage #mcPaidMemberCount>div:last-child{grid-column:1/-1;display:flex;align-items:center;gap:12px}
#modControlsPage #mcPaidMemberCount button{aspect-ratio:auto!important;width:auto!important;height:auto!important;min-height:36px!important;font-size:.78rem}
#modControlsPage #mcPaidMemberCount [role=status]{margin:0!important;font-size:.7rem}

@media(max-width:650px){#modControlsPage .mct-admin-grid>.modctl-btn .mc-title{font-size:.8rem!important;overflow-wrap:normal;word-break:normal}}

/* MSFMORE mode colors follow the feature even when an administrator moves it. */
#msfMorePage .mct-more-card[data-mode=war]{--mct-mode-color:#df354c}
#msfMorePage .mct-more-card[data-mode=cru]{--mct-mode-color:#00c8ff}
#msfMorePage .mct-more-card[data-mode=war],#msfMorePage .mct-more-card[data-mode=cru]{border:1px solid var(--mct-mode-color);box-shadow:inset 4px 0 0 var(--mct-mode-color)}
#msfMorePage .mct-more-card[data-mode=war]:hover,#msfMorePage .mct-more-card[data-mode=cru]:hover{border-color:var(--mct-mode-color)!important}
#msfMorePage .mct-more-card img[data-art-kind=event-photo]{object-fit:cover;border-radius:8px}
#msfMorePage .mct-more-card img[data-art-kind=event-face]{object-fit:contain}

/* Navigation remains in the DOM so MSFMORE reuses the original handlers. */
#hamburgerMenu #hamAllianceResBtn,#hamburgerMenu #hamAllianceSubmenu,#hamburgerMenu #hamTubeBtn,#tnAllianceBtn,#tnTubeBtn{display:none!important}
body:has(#msfMorePage[style*="display: block"]) #searchPage{display:none!important}
#modControlsPage .mct-admin-grid>:is(button,a).modctl-btn .mc-title{width:100%;text-align:center}
#modControlsPage .mct-admin-grid>:is(button,a).modctl-btn{position:relative;overflow:visible;padding-block:10px!important}
#modControlsPage .mct-admin-grid>.modctl-btn .ham-reports-badge{position:absolute;top:0;right:0;transform:translate(35%,-35%);margin:0;z-index:2}
