/* Decorative grid siblings must not move the logo into an implicit grid row. */
.workspace-art img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);object-fit:contain}
.profile-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}
.auth-main{display:grid;place-items:center;min-height:calc(100vh - 95px)}
.auth-card{width:min(100%,560px);text-align:center;padding:42px;display:flex;flex-direction:column;align-items:center;gap:18px}
.auth-card h1{font-size:clamp(28px,4vw,40px);margin:0}
.auth-card .button{margin-top:8px;min-height:48px}
.auth-card .auth-feedback{font-size:12px;min-height:1.7em;color:var(--cyan)}
.auth-details{border-top:1px solid var(--line);padding-top:20px;text-align:left;display:grid;gap:12px}
.auth-details p{font-size:12px}
body[data-design=merkez] #app>.topbar .top-brand{display:flex;align-items:center;gap:10px}
#discord-logout{padding:8px 12px;min-height:40px}
@media(max-width:650px){.auth-card{padding:25px 20px}.auth-main{min-height:calc(100vh - 78px)}.auth-main .eyebrow{font-size:9px}#discord-logout{padding:7px;font-size:10px}.topbar-right{gap:10px}.auth-card .button{width:100%}.topbar>.text-link{font-size:10px}}
/* Sign-out is a destructive account action: high-contrast red with visible hover/focus/disabled states. */
:root{--danger:#b3261e;--danger-hover:#cf3a31;--danger-text:#fff;--danger-ring:#ffb3ad;--danger-disabled:#6e2a2a;--danger-disabled-text:#f3d6d4}
#discord-logout.button{background:var(--danger);border-color:var(--danger);color:var(--danger-text);white-space:nowrap}
#discord-logout.button:hover:not(:disabled){background:var(--danger-hover);border-color:var(--danger-hover);box-shadow:0 6px 20px #b3261e40}
#discord-logout.button:focus-visible{outline:2px solid var(--danger-ring);outline-offset:3px}
#discord-logout.button:disabled{background:var(--danger-disabled);border-color:var(--danger-disabled);color:var(--danger-disabled-text);cursor:not-allowed;box-shadow:none}
.auth-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;width:100%}
.auth-account{font-size:12px}


.dashboard-top-actions{display:flex;align-items:center;gap:12px}


/* Compact moderation center: dense, scannable controls that grow with the live feature list. */
.mod-overview{gap:14px;padding:15px 18px;margin-bottom:14px}
.mod-overview-icon{width:38px;height:38px;border-radius:10px}
.mod-overview-icon .icon{width:20px;height:20px}
.mod-overview h2{font-size:16px;margin:2px 0}
.mod-overview p{font-size:10px;margin:0}
.mod-overview-count{padding:5px 9px;font-size:9px}
.mod-command-row{display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap;padding:11px 14px;margin:0 0 18px}
.mod-command-heading{flex:none;margin:0;font-size:9px;letter-spacing:.08em}
.mod-command-items{display:flex;align-items:center;gap:8px;flex:1;min-width:0;flex-wrap:wrap}
.mod-command-item{display:flex;align-items:center;gap:8px;min-width:0;padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:#26304455}
.mod-command-item code{font:600 10px/1.3 'Cascadia Code',Consolas,monospace;color:var(--accent);white-space:nowrap}
.mod-command-item span{font-size:9px;line-height:1.35;color:var(--muted)}
.mod-command-guide{flex:none;color:var(--accent);font-size:10px;font-weight:700;text-decoration:none;white-space:nowrap}
.mod-command-guide:hover{text-decoration:underline}
.mod-section{margin-bottom:18px}
.mod-section .section-title,.mod-config .section-title{margin-bottom:10px}
.protection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.protection{min-height:74px;padding:11px 51px 11px 12px;gap:10px;border-radius:10px}
.protection-icon{display:grid;place-items:center;flex:none;width:31px;height:31px;border:1px solid #E66D5538;border-radius:9px;background:#E66D550D}
.protection-icon .icon{width:16px;height:16px}
.protection-copy{min-width:0;flex:1}
.protection strong{font-size:11px;line-height:1.3;overflow-wrap:anywhere}
.protection small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:9px;line-height:1.35;margin-top:3px}
.protection input{right:12px;top:calc(50% - 10px);width:34px;height:20px}
.protection .toggle{width:34px;height:19px}
.protection .toggle::after{top:2px;left:2px;width:13px;height:13px}
.protection input:checked+.toggle::after{transform:translateX(14px)}
.mod-config{padding:16px 18px;margin-bottom:12px}
.mod-config .config-panel{gap:14px}
.mod-config .config-panel label{gap:6px;font-size:10px}
.mod-config .config-panel select{min-height:40px;padding:8px 10px;font-size:11px}
.save-bar{margin-top:12px;gap:12px}
.save-bar p{font-size:9px}
.mod-empty-note{grid-column:1/-1;padding:14px;color:var(--muted);font-size:11px}
@media(max-width:1100px){.protection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.mod-command-row{gap:9px}.mod-command-items{flex-basis:100%;order:3}.mod-command-guide{margin-left:auto}}
@media(max-width:650px){.protection-grid{grid-template-columns:1fr;gap:8px}.protection{min-height:68px;padding:10px 50px 10px 11px}.mod-overview{padding:14px;gap:10px}.mod-overview-count{width:auto;margin-left:0}.mod-command-row{align-items:flex-start;padding:12px}.mod-command-items{flex-direction:column;align-items:stretch}.mod-command-item{width:100%}.mod-config{padding:15px}.save-bar{align-items:flex-start;flex-direction:column}.save-bar .button{width:100%;justify-content:center}}


/* Explicit view/edit states for the live moderation settings. */
.mod-section-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:none}
.mod-edit-button{min-height:34px;padding:7px 11px;gap:7px;color:var(--cyan);font-size:10px}
.mod-edit-button .icon{width:14px;height:14px}
.mod-editing-label{display:inline-flex;align-items:center;padding:6px 9px;border:1px solid #E66D5538;border-radius:8px;background:#E66D550D;color:var(--cyan);font-size:9px;font-weight:750;letter-spacing:.05em;white-space:nowrap}
.mod-config-value{display:grid;gap:6px;min-width:0;color:var(--muted);font-size:10px}
.mod-config-value strong{display:flex;align-items:center;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#263044;color:var(--text);font-size:11px;font-weight:600;overflow-wrap:anywhere}
.save-actions{display:flex;align-items:center;gap:9px;flex:none}

/* The centered dashboard preset used a 170px minimum for every protection card.
   Override that higher-specificity rule so card height follows its actual content. */
body[data-design=merkez] .protection{min-height:102px;padding:11px 12px;grid-template-columns:31px minmax(0,1fr);grid-template-rows:31px auto;align-content:center;gap:7px 10px}
body[data-design=merkez] .protection>span:nth-child(2){grid-column:1/3;grid-row:2}
body[data-design=merkez] .protection .toggle{grid-column:2;grid-row:1;justify-self:end}
body[data-design=merkez] .protection input{top:12px;right:12px;width:34px;height:20px}
body[data-design=merkez] .protection-state{grid-column:2;grid-row:1;justify-self:end;align-self:center;padding:4px 8px;border:1px solid #465164;border-radius:999px;background:#26304455;color:var(--muted);font-size:9px;font-weight:700;line-height:1;white-space:nowrap}
body[data-design=merkez] .protection-state.is-on{border-color:#E66D5540;background:#E66D550D;color:#F2A18F}
body[data-design=merkez] .protection-state.is-off{color:#BFC8D6}
body[data-design=merkez] .protection.is-editing{cursor:pointer}
body[data-design=merkez] .protection-copy{grid-column:1/3;grid-row:2;min-width:0}
body[data-design=merkez] .protection-copy small{-webkit-line-clamp:2;line-height:1.35}
@media(max-width:800px){.mod-section-actions{gap:8px}}
@media(max-width:650px){
 .save-actions{width:100%}
 .save-actions .button{width:auto;flex:1}
 body[data-design=merkez] .protection{min-height:88px;padding:10px 11px;grid-template-columns:31px minmax(0,1fr)}
}


/* Moderation v2 — independent, scannable controls for each protection. */
body[data-design=merkez] .mod-overview{
 display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;
 gap:15px;padding:18px 20px;margin-bottom:14px;border-radius:15px
}
body[data-design=merkez] .mod-overview h2{font-size:17px;line-height:1.3;margin:3px 0}
body[data-design=merkez] .mod-overview p{font-size:12px;line-height:1.5;margin:0}
body[data-design=merkez] .mod-overview-count{align-self:center;white-space:nowrap}
body[data-design=merkez] .mod-command-row{gap:12px 16px;padding:12px 15px;margin-bottom:23px}
body[data-design=merkez] .mod-command-heading{font-size:10px}
body[data-design=merkez] .mod-command-item{gap:9px;padding:7px 10px}
body[data-design=merkez] .mod-command-item code{font-size:11px}
body[data-design=merkez] .mod-command-item span{font-size:11px}
body[data-design=merkez] .mod-command-guide{font-size:11px}
body[data-design=merkez] .mod-section{margin-bottom:20px}
body[data-design=merkez] .mod-section .section-title{align-items:end;margin-bottom:12px}
body[data-design=merkez] .mod-section .section-title h2,
body[data-design=merkez] .mod-config .section-title h2{font-size:16px;line-height:1.35}
body[data-design=merkez] .mod-section .section-title p,
body[data-design=merkez] .mod-config .section-title p{font-size:12px;line-height:1.5;margin-top:3px}
body[data-design=merkez] .mod-feature-count{color:var(--muted);font-size:11px;white-space:nowrap}
body[data-design=merkez] .protection-grid{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start
}
body[data-design=merkez] .protection-card{
 display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:11px;
 min-width:0;min-height:0;height:auto;padding:15px;border-radius:13px;
 border:1px solid var(--line);background:linear-gradient(155deg,#263044 0%,#1a2231 100%);
 transition:border-color .16s ease,background-color .16s ease
}
body[data-design=merkez] .protection-card:hover{border-color:#68758a}
body[data-design=merkez] .protection-card.is-enabled{border-color:#E66D5552}
body[data-design=merkez] .protection-card-head{
 display:grid;grid-template-columns:36px minmax(0,1fr) 42px;align-items:center;gap:10px;min-width:0
}
body[data-design=merkez] .protection-card .protection-icon{
 display:grid;place-items:center;width:36px;height:36px;border:1px solid #E66D5538;
 border-radius:10px;background:#E66D550D;color:var(--accent)
}
body[data-design=merkez] .protection-title{display:grid;gap:4px;min-width:0}
body[data-design=merkez] .protection-title strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
body[data-design=merkez] .protection-state{
 display:inline-flex;align-items:center;justify-self:start;width:max-content;max-width:100%;
 padding:2px 7px;border:1px solid #68758a65;border-radius:999px;
 color:#C5CEDA;background:#4651642a;font-size:10px;font-weight:700;line-height:1.35
}
body[data-design=merkez] .protection-state.is-on{color:#F0A08E;border-color:#E66D5560;background:#E66D5514}
body[data-design=merkez] .protection-state.is-off{color:#C5CEDA}
body[data-design=merkez] .protection-switch{
 position:relative;display:inline-flex;align-items:center;justify-content:flex-start;
 width:42px;height:25px;padding:3px;border:1px solid #68758A;border-radius:999px;
 background:#303B50;cursor:pointer;transition:background .16s ease,border-color .16s ease
}
body[data-design=merkez] .protection-switch span{
 display:block;width:17px;height:17px;border-radius:50%;background:#D6DCE5;
 box-shadow:0 1px 2px #0004;transition:transform .16s ease
}
body[data-design=merkez] .protection-switch.is-on{justify-content:flex-start;border-color:#E66D55;background:#E66D55}
body[data-design=merkez] .protection-switch.is-on span{background:#111722;transform:translateX(16px)}
body[data-design=merkez] .protection-switch:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
body[data-design=merkez] .protection-switch:disabled{opacity:.55;cursor:wait}
body[data-design=merkez] .protection-description{
 min-height:0;max-width:none;margin:0;color:#C6CFDC;font-size:12px;line-height:1.5;
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden
}
body[data-design=merkez] .protection-card-foot{
 display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0;
 padding-top:10px;border-top:1px solid #4651648a
}
body[data-design=merkez] .protection-summary{
 min-width:0;color:#BFC8D6;font-size:11px;line-height:1.4;overflow-wrap:anywhere
}
body[data-design=merkez] .mod-feature-edit{
 display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;
 min-height:30px;padding:5px 8px;border:1px solid #E66D5545;border-radius:8px;
 background:#E66D550D;color:#F09A86;font-size:11px;font-weight:700;cursor:pointer
}
body[data-design=merkez] .mod-feature-edit .icon{width:13px;height:13px}
body[data-design=merkez] .mod-feature-edit:hover{background:#E66D5520;border-color:#E66D55}
body[data-design=merkez] .mod-managed-label{
 color:#AEB9C9;font-size:10px;font-weight:600;white-space:nowrap
}
body[data-design=merkez] .mod-feature-form{
 display:grid;gap:12px;margin-top:1px;padding-top:13px;border-top:1px solid #465164
}
body[data-design=merkez] .mod-feature-fields{
 display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:11px
}
body[data-design=merkez] .mod-field{
 display:grid;align-content:start;gap:6px;min-width:0;color:#E5EAF1;font-size:12px;font-weight:650
}
body[data-design=merkez] .mod-field-wide{grid-column:1/-1}
body[data-design=merkez] .mod-field input,
body[data-design=merkez] .mod-field textarea{
 width:100%;min-width:0;min-height:40px;padding:9px 10px;
 border:1px solid #59667B;border-radius:9px;background:#171F2D;color:var(--text);
 font:500 13px/1.45 Manrope,sans-serif
}
body[data-design=merkez] .mod-field textarea{min-height:92px;resize:vertical;font:500 12px/1.55 Consolas,monospace}
body[data-design=merkez] .mod-field input:focus-visible,
body[data-design=merkez] .mod-field textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-color:var(--accent)}
body[data-design=merkez] .mod-field small{color:#BFC8D6;font-size:11px;line-height:1.45;font-weight:450}
body[data-design=merkez] .mod-feature-actions,
body[data-design=merkez] .mod-config-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
body[data-design=merkez] .mod-feature-actions .button,
body[data-design=merkez] .mod-config-actions .button{min-height:35px;padding:7px 11px;font-size:11px}
body[data-design=merkez] .mod-config{
 padding:17px 19px 18px;margin:22px 0 12px;border-radius:14px
}
body[data-design=merkez] .mod-config .section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}
body[data-design=merkez] .mod-config .section-title>div{min-width:0}
body[data-design=merkez] .mod-config .mod-edit-button{min-height:34px;padding:7px 10px;font-size:11px}
body[data-design=merkez] .mod-config .config-panel{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:0
}
body[data-design=merkez] .mod-config .config-panel label{display:grid;gap:7px;color:#E0E6EF;font-size:12px;font-weight:650}
body[data-design=merkez] .mod-config .config-panel select{
 width:100%;min-height:42px;padding:9px 11px;border:1px solid #59667B;
 border-radius:9px;background:#171F2D;color:var(--text);font-size:13px
}
body[data-design=merkez] .mod-config-value{display:grid;align-content:start;gap:7px;color:#C4CDDA;font-size:11px}
body[data-design=merkez] .mod-config-value strong{
 display:flex;align-items:center;min-height:42px;padding:8px 11px;border:1px solid #465164;
 border-radius:9px;background:#171F2D;color:var(--text);font-size:12px;font-weight:600;overflow-wrap:anywhere
}
body[data-design=merkez] .mod-config-actions{margin-top:13px;padding-top:12px;border-top:1px solid #465164}
body[data-design=merkez] .mod-config .mod-editing-label{font-size:10px}
body[data-design=merkez] .mod-empty-note{grid-column:1/-1}
@media(max-width:1200px){
 body[data-design=merkez] .protection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
 body[data-design=merkez] .mod-overview{grid-template-columns:40px minmax(0,1fr);padding:16px}
 body[data-design=merkez] .mod-overview-count{grid-column:2;justify-self:start}
 body[data-design=merkez] .mod-command-row{align-items:flex-start}
 body[data-design=merkez] .mod-command-items{flex-basis:100%;order:3}
 body[data-design=merkez] .mod-command-guide{margin-left:auto}
}
@media(max-width:650px){
 body[data-design=merkez] .protection-grid{grid-template-columns:1fr;gap:10px}
 body[data-design=merkez] .protection-card{padding:14px}
 body[data-design=merkez] .protection-description{-webkit-line-clamp:3}
 body[data-design=merkez] .mod-config{padding:15px}
 body[data-design=merkez] .mod-config .config-panel{grid-template-columns:1fr;gap:12px}
 body[data-design=merkez] .mod-config .section-title{align-items:flex-start;flex-direction:column}
 body[data-design=merkez] .mod-config .mod-edit-button{width:auto}
 body[data-design=merkez] .mod-feature-fields{grid-template-columns:1fr 1fr}
 body[data-design=merkez] .mod-feature-fields .mod-field-wide{grid-column:1/-1}
 body[data-design=merkez] .mod-feature-actions,
 body[data-design=merkez] .mod-config-actions{justify-content:stretch}
 body[data-design=merkez] .mod-feature-actions .button,
 body[data-design=merkez] .mod-config-actions .button{flex:1}
}
@media(max-width:390px){
 body[data-design=merkez] .mod-feature-fields{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
 body[data-design=merkez] .protection-switch span,
 body[data-design=merkez] .protection-card{transition:none}
}
