/* Shared ACEX application system. Operations, forms and utilities share navigation and type. */
html[data-acex-page]{--ax-canvas:#f5f6f8;--ax-surface:#fff;--ax-ink:#172921;--ax-muted:#66766e;--ax-line:#e0e6e2;--ax-primary:#155b48;--ax-soft:#eaf3ec;color-scheme:light;font-family:Inter,Pretendard,'Noto Sans KR',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
html[data-acex-page] *{box-sizing:border-box}html[data-acex-page] body{margin:0;background:var(--ax-canvas);color:var(--ax-ink);font-family:inherit;font-size:16px;line-height:1.65}html[data-acex-page] :is(button,input,select,textarea){font:inherit}html[data-acex-page] a{color:var(--ax-primary);text-underline-offset:4px}html[data-acex-page] :is(button,a,input,select,textarea):focus-visible{outline:3px solid #53a587;outline-offset:4px}html[data-acex-page] [hidden]{display:none!important}
html[data-acex-page] .acex-topbar{position:relative;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:none;min-height:88px;padding:18px max(28px,calc((100% - 1280px)/2));background:#10291f;border:0;color:white;margin:0;box-shadow:0 1px 0 #d4f5bc22}
.acex-topbar a{text-decoration:none!important;color:#eaf3ed!important}.acex-topbar .acex-header-context{margin:auto;font-size:12px;letter-spacing:.16em;color:#8faa9c}.acex-topbar nav{display:flex;align-items:center;gap:6px}.acex-topbar nav a{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border:1px solid transparent;border-radius:10px;font-size:14px;font-weight:600;white-space:nowrap}.acex-topbar nav a:hover{background:#ffffff0d;border-color:#ffffff25}.acex-topbar nav a[aria-current=page]{background:#d4f5bc;color:#183e2c!important}.acex-topbar svg,.acex-pagebar svg{width:18px;height:18px;vertical-align:middle}.acex-topbar select{width:40px!important;max-width:40px!important;min-width:40px!important;cursor:pointer;background:#ffffff12!important;color:transparent!important;border:1px solid #ffffff35!important;border-radius:10px!important;margin:0!important;padding:10px!important;height:42px}.acex-topbar .acex-theme-wrap{position:relative}.acex-theme-wrap::before{content:'◐';color:#d4e1d8;position:absolute;top:7px;left:13px;pointer-events:none}.acex-topbar select option{color:#172921;background:white}
html[data-acex-page] .acex-pagebar{display:flex;align-items:center;gap:14px;max-width:1280px;margin:0 auto;padding:24px 28px 0;color:var(--ax-muted);font-size:13px}.acex-pagebar .acex-back{display:flex;gap:6px;align-items:center;min-height:38px;padding:8px 12px;background:var(--ax-surface);border:1px solid var(--ax-line);border-radius:10px;color:var(--ax-ink);font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 2px 3px #1d392706}.acex-pagebar .acex-back:hover{border-color:#7aa08c}.acex-pagebar span{letter-spacing:.04em}.acex-back svg{width:16px}
html[data-acex-page] main{max-width:1280px;margin:26px auto 60px;padding:0 28px;min-width:0}html[data-acex-page] h1{color:var(--ax-ink);font-size:clamp(28px,3.2vw,40px);line-height:1.25;letter-spacing:-.055em;font-weight:800;margin:0 0 14px}html[data-acex-page] h2{color:var(--ax-ink);font-size:21px;line-height:1.45;letter-spacing:-.035em;margin:0 0 14px}html[data-acex-page] h3{color:var(--ax-ink);letter-spacing:-.025em}html[data-acex-page] p{color:var(--ax-muted);line-height:1.75}html[data-acex-page] section{background:var(--ax-surface);border:1px solid var(--ax-line);border-radius:20px;padding:28px;box-shadow:0 8px 30px #173b2614;margin:22px 0}html[data-acex-page] section>p:first-of-type{margin-top:0}html[data-acex-page] label{color:var(--ax-ink);font-size:14px;font-weight:600}html[data-acex-page] :is(input,textarea,select){accent-color:var(--ax-primary)}
html[data-acex-page] input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),html[data-acex-page] textarea,html[data-acex-page] select{background:var(--ax-surface);color:var(--ax-ink);border:1px solid #cdd8d0;border-radius:11px;padding:12px 14px;min-height:46px;box-shadow:0 1px 2px #1d392704;font-size:15px;max-width:100%}html[data-acex-page] input::placeholder,html[data-acex-page] textarea::placeholder{color:#819087;opacity:1}html[data-acex-page] input:read-only{background:var(--ax-soft)!important}html[data-acex-page] input[type=file]{font-size:13px!important}html[data-acex-page] input[type=file]::file-selector-button{border:0;border-radius:7px;background:var(--ax-soft);color:var(--ax-primary);padding:8px 12px;margin-right:12px;font:600 13px inherit;cursor:pointer}html[data-acex-page] input[type=checkbox]{width:18px;height:18px;flex:none;margin:0 9px 0 0;vertical-align:middle}html[data-acex-page] input[type=range]{accent-color:#408767;border:0;background:transparent;min-height:24px}html[data-acex-page] input[type=color]{border:1px solid var(--ax-line);background:var(--ax-surface);padding:4px;border-radius:9px;width:100%;min-height:46px}
html[data-acex-page] button,html[data-acex-page] .btn,html[data-acex-page] .primary{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;background:var(--ax-primary);color:#fff;border:1px solid transparent;border-radius:11px;padding:11px 18px;text-decoration:none;cursor:pointer;font-size:14px;font-weight:650;line-height:1.4;box-shadow:0 3px 5px #143f2510;transition:background .15s,box-shadow .15s}html[data-acex-page] button:hover,html[data-acex-page] .btn:hover{background:#0e4637;box-shadow:0 4px 10px #153d2720}html[data-acex-page] :is(button,.btn):is(.muted,.gray,.secondary){background:var(--ax-soft);color:var(--ax-primary);border-color:var(--ax-line)}html[data-acex-page] :is(button,.btn):is(.red,.danger){background:#aa3046;color:#fff;border-color:#aa3046}html[data-acex-page] button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}html[data-acex-page] .password-visibility{position:absolute;min-height:36px;box-shadow:none!important;background:transparent!important;border:0!important;color:var(--ax-muted)!important;padding:8px!important;margin:0!important}
html[data-acex-page] :is(#msg,#message,#accountMessage,#ownerStatus){font-size:14px;overflow-wrap:anywhere;color:var(--ax-primary);border-radius:10px;max-width:100%}html[data-acex-page] :is(#msg,#message,#accountMessage):empty{display:none}html[data-acex-page] .notice{background:#eff5e5;color:#4c6034;border:1px solid #dbe7c8;border-radius:12px}html[data-acex-page] .eyebrow{font-size:12px;color:#4b7b62;letter-spacing:.18em;font-weight:750;margin:0 0 8px}html[data-acex-page] .inline-form{gap:12px;align-items:end}html[data-acex-page] .inline-form input{width:100%;margin:6px 0 0}html[data-acex-page] .inline-form select{display:block;width:100%;margin-top:6px}html[data-acex-page] .inline-form button{margin:0;min-height:46px}
html[data-acex-page] .admin-grid{gap:20px}html[data-acex-page] .admin-card{display:flex;flex-direction:column;position:relative;padding:28px;text-decoration:none;background:var(--ax-surface);color:var(--ax-ink);border:1px solid var(--ax-line);border-radius:18px;min-height:230px;transition:transform .2s,box-shadow .2s}.admin-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #23422b10}.admin-card>span{font-size:13px;color:var(--ax-primary);letter-spacing:.04em;font-weight:650}.admin-card h2{margin:30px 0 8px!important}.admin-card p{font-size:14px;margin:0}.admin-card::before{content:'';position:absolute;right:24px;top:25px;width:40px;height:40px;border-radius:14px;background:var(--ax-soft);box-shadow:inset 0 0 0 9px var(--ax-surface),0 0 0 1px var(--ax-line)}
html[data-acex-page] .member-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}html[data-acex-page] .member-card{border:1px solid var(--ax-line);border-radius:15px;padding:24px;min-width:0;background:var(--ax-surface)}html[data-acex-page] .member-card p{font-size:14px;overflow-wrap:anywhere}.member-card .inline-form{align-items:center;gap:8px}.member-card button{font-size:13px!important;padding:10px 12px!important}html[data-acex-page] output{background:var(--ax-soft);color:var(--ax-primary);padding:16px;border-radius:10px;border:1px dashed #9cb7a4}html[data-acex-page] output:empty{display:none}html[data-acex-page] dialog{color:var(--ax-ink);background:var(--ax-surface);border:1px solid var(--ax-line);border-radius:20px;box-shadow:0 24px 100px #12291d44}html[data-acex-page] dialog::backdrop{background:#11291c99;backdrop-filter:blur(4px)}html[data-acex-page] #permissionFields label{padding:10px 12px;border:1px solid var(--ax-line);border-radius:9px;background:var(--ax-canvas)}html[data-acex-page] .acex-empty{text-align:center;grid-column:1/-1;padding:36px 24px;color:var(--ax-muted);background:var(--ax-canvas);border:1px dashed var(--ax-line);border-radius:16px}.acex-empty svg{display:block;width:40px;height:40px;margin:0 auto 16px;color:#5d8d75}.acex-empty strong{display:block;color:var(--ax-ink);font-size:16px;margin-bottom:8px}.acex-site-footer{text-align:center;max-width:1280px;margin:0 auto;padding:28px;border-top:1px solid var(--ax-line);color:var(--ax-muted);font-size:12px;letter-spacing:.03em}
/* Account screens */
html[data-acex-page] .acex-auth-layout{max-width:1180px!important;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:48px;align-items:start;padding:0 28px!important;margin:34px auto 60px!important}html[data-acex-page] .acex-auth-layout>section{max-width:none!important;margin:0!important;padding:36px!important;min-width:0}.acex-auth-layout> a{display:none}.acex-auth-story{position:sticky;top:30px;min-height:570px;overflow:hidden;border-radius:24px;background:radial-gradient(circle at 90% 80%,#4e7955 0,transparent 55%),#153d2d;padding:52px 40px;color:white}.acex-auth-story .acex-emblem{width:100px;height:100px;color:#d4f5bc;margin-bottom:50px}.acex-auth-story h2{font-size:36px!important;line-height:1.3!important;letter-spacing:-.055em;color:#fff!important;position:relative}.acex-auth-story p{color:#bbcfbf!important;font-size:15px;position:relative}.acex-auth-story .acex-kicker{font-size:10px;letter-spacing:.18em;color:#a8ce9b!important}.story-features{display:flex;flex-wrap:wrap;gap:8px;margin-top:40px}.story-features span{padding:5px 9px;border:1px solid #bdd6be3b;border-radius:6px;font-size:11px;color:#d6e6d7}.story-orbit{position:absolute;width:400px;height:400px;border:1px solid #c9e2c525;border-radius:50%;left:180px;top:-160px;box-shadow:0 0 0 50px #ffffff03,0 0 0 100px #ffffff02}.acex-auth-layout form>label{display:block;margin:18px 0 0}.acex-auth-layout form>button{width:100%;margin:26px 0 0}.acex-auth-layout form>label input{margin:6px 0 0}.acex-auth-layout .tabs{background:var(--ax-soft);border:1px solid var(--ax-line);padding:5px;border-radius:12px;gap:4px}.acex-auth-layout .tabs button{margin:0;box-shadow:none;background:transparent;color:var(--ax-primary)}.acex-auth-layout .tabs button[aria-pressed=true]{background:var(--ax-surface);color:var(--ax-primary);box-shadow:0 2px 8px #142b2112}.acex-auth-layout #phoneVerification{padding:16px;border:1px solid var(--ax-line);background:var(--ax-canvas);border-radius:12px;margin-top:16px}.acex-auth-layout #phoneVerification button{width:100%;margin:4px 0}.acex-auth-layout #ownerFields{margin-top:24px;padding-top:4px;border-top:1px solid var(--ax-line)}.acex-auth-layout label:has(input[type=checkbox]){display:flex;align-items:flex-start;font-size:13px;font-weight:400;gap:6px}.acex-auth-layout label:has(input[type=checkbox]) input{margin-top:3px!important}.acex-auth-layout input[type=date]{width:100%}.acex-auth-layout #resetForm label{display:block}.acex-auth-layout #verified{padding-top:20px;border-top:1px solid var(--ax-line);margin-top:20px}.acex-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.acex-profile-grid>div{background:var(--ax-canvas);border:1px solid var(--ax-line);border-radius:12px;padding:16px;min-width:0;overflow-wrap:anywhere}.acex-profile-grid dt{font-size:12px;color:var(--ax-muted);margin-bottom:5px}.acex-profile-grid dd{margin:0;font-size:15px;font-weight:650}.acex-profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.acex-profile-actions a{padding:10px 12px;border:1px solid var(--ax-line);border-radius:9px;font-size:13px;text-decoration:none}.acex-state-pill{display:inline-flex;border:1px solid #c4ddc9;background:var(--ax-soft);padding:5px 12px;border-radius:30px;font-size:13px;color:var(--ax-primary)}
/* Multivision and design editors */
html[data-acex-page] .row{background:var(--ax-surface);color:var(--ax-ink);border:1px solid var(--ax-line);border-radius:16px;padding:22px;box-shadow:0 4px 18px #1b392306}html[data-acex-page] .row input{width:19px}.row a.btn{min-height:40px;font-size:13px!important}.row a.btn:last-child{background:#eaf0fc;color:#315b98;border-color:#d7e1f3}.acex-pagebar+main>p{max-width:820px}.layout-cards{scrollbar-width:thin;scrollbar-color:#b8cabc transparent}html[data-acex-page] .layout-card{padding:8px;background:var(--ax-surface);color:var(--ax-ink);border:1px solid var(--ax-line);border-radius:12px;box-shadow:none;display:block;white-space:normal;font-size:12px}.layout-card.selected{outline:2px solid #31795b;border-color:#31795b!important}.layout-card .mini{margin-bottom:8px}html[data-acex-page] .layout #previewWrap{box-shadow:0 16px 50px #16352124;border:1px solid #294533;border-radius:16px!important}.layout>section:nth-child(2){position:sticky;top:24px;align-self:start}.layout .controls{gap:16px}.layout .controls label{font-size:13px}.layout #msg{min-height:1em}.layout .check{margin:14px 0}.layout h2{margin-top:28px!important}html[data-acex-page] .theme{background:var(--ax-surface);border:1px solid var(--ax-line);border-radius:18px;box-shadow:0 5px 18px #17352109}html[data-acex-page] .theme .info{padding:22px}.theme .preview{border:0}.theme.selected{outline:2px solid var(--ax-primary)}
/* Refined home */
html[data-acex-page=home] .acex-pagebar{display:none}html[data-acex-page=home] main{margin:0 auto;padding:0 36px}html[data-acex-page=home] section.hero{padding:64px 0;margin:0;border:0;box-shadow:none;background:none;border-radius:0;gap:60px;grid-template-columns:1.1fr 1fr}html[data-acex-page=home] .hero h1{font-size:clamp(38px,4.4vw,66px);letter-spacing:-.07em;color:#18372a}.hero em{background:linear-gradient(120deg,#317a50,#709860)!important;background-clip:text!important}.hero-art{background:radial-gradient(ellipse at 75% 20%,#52704d,transparent 65%),linear-gradient(140deg,#154431,#10281d)!important;transform:rotate(-1deg)!important;border-radius:28px!important;box-shadow:0 20px 60px #1d3c2920!important}.hero-art .hero-emblem{background:#d4f5bc}.hero .hero-copy>small{font-size:12px!important;color:#468060!important}.hero-copy>p{font-size:16px!important}.hero .primary{background:#155b48;min-height:50px;border-radius:12px}.art-chip{display:none}html[data-acex-page=home] section.links{background:none;padding:0;border:0;box-shadow:none;margin:0;gap:18px}.menu-card .arrow{display:none}.menu-card i svg{width:25px;height:25px}.menu-card .arrow{display:none}.menu-card>div{font-size:18px!important}.links span{font-size:14px!important;line-height:1.7!important}.section-title h2{font-size:26px!important}.section-title small{font-size:12px!important}.section-title p{font-size:14px!important}.art-label{font-size:11px!important}.home-brand{display:none}html[data-acex-page=home] footer{font-size:12px;color:var(--ax-muted)}
/* Keep the operational workspace and every existing action in place. */
html[data-acex-page=dashboard] body{background:#f5f6f8}html[data-acex-page=dashboard] .acex-pagebar{display:none}html[data-acex-page=dashboard] main{max-width:none;margin:0 0 0 238px;padding:32px 28px 70px}html[data-acex-page=dashboard] aside .brand{padding:28px 22px;color:#ecf3ee;text-align:left}html[data-acex-page=dashboard] aside .brand::before{display:none!important}html[data-acex-page=dashboard] aside .brand>.acex-emblem{display:block;color:#d4f5bc;margin-bottom:16px;width:48px;height:48px}html[data-acex-page=dashboard] aside{background:#132c22;color:#b8cec1;border-color:#243f30}html[data-acex-page=dashboard] .nav-group summary{font-size:11px;color:#8aab97;padding:20px 18px 9px;letter-spacing:.1em}html[data-acex-page=dashboard] .nav-group a{color:#bcd1c4;border-radius:9px;margin:3px 12px;padding:10px 14px;font-size:14px}html[data-acex-page=dashboard] .nav-group a.active{background:#d4f5bc;color:#153424;box-shadow:none}html[data-acex-page=dashboard] .nav-footer{color:#789984}html[data-acex-page=dashboard] header{height:84px;background:#fff;border-bottom:1px solid var(--ax-line);padding:16px 28px;box-shadow:none}html[data-acex-page=dashboard] header b::before{display:none!important}html[data-acex-page=dashboard] header a[aria-label="ACEX 메인"]{color:#183a29}html[data-acex-page=dashboard] header a[aria-label="ACEX 메인"] b{color:#183a29;font-size:21px}html[data-acex-page=dashboard] .header-caption{display:none}html[data-acex-page=dashboard] section{margin:20px 0;box-shadow:none}html[data-acex-page=dashboard] h1{font-size:32px}html[data-acex-page=dashboard] .stat{box-shadow:none;border:1px solid var(--ax-line);border-radius:16px;padding:22px;background:#fff}html[data-acex-page=dashboard] .stat strong{font-size:36px;color:#193f2b}.acex-operations .metric-grid{gap:16px}.acex-operations .selected-tournament{border-radius:18px!important;background:linear-gradient(115deg,#163e2d,#295c40)!important;border:1px solid #365f47!important;padding:28px!important;color:#eef7ed!important}.acex-operations .selected-tournament h2{color:#fff!important}.acex-operations .selected-tournament time{color:#d4f5bc!important}.acex-operations .selected-tournament .status{background:#ffffff12;color:#c8eab9;border-color:#ffffff35}.acex-operations .selected-tournament div>span:first-child{color:#b4ccb9}.acex-operations .tablewrap{border-radius:14px!important}.acex-operations th{font-size:12px!important;letter-spacing:.01em}.acex-operations .event-name{font-size:14px}.acex-operations .event-actions{gap:6px}.acex-operations .event-actions .sm{min-height:36px;padding:8px 10px;font-size:12px;border-radius:8px}.acex-operations .event-detail{font-size:12px}.acex-operations #workspaceTabs{padding:0 0 18px;background:none;border:0;margin-bottom:28px;gap:8px}.acex-operations #workspaceTabs a{padding:9px 14px;font-size:13px;background:#fff;border:1px solid var(--ax-line);border-radius:9px;box-shadow:none}.acex-operations #workspaceTabs a.active,.acex-operations #workspaceTabs a[aria-current=page]{background:#173f2e;color:#fff;border-color:#173f2e}.acex-operations .page-title p{font-size:14px}.acex-operations #acexTheme{margin-left:10px}html[data-acex-page=dashboard] .acex-site-footer{display:none}
/* Neutral dark surfaces, readable fields, and persistent semantic button colors. */
html[data-acex-page][data-appearance=dark]{--ax-canvas:#111715;--ax-surface:#1a221e;--ax-ink:#eef4ef;--ax-muted:#a0b0a5;--ax-line:#34443a;--ax-primary:#78c49d;--ax-soft:#233d2e;color-scheme:dark}html[data-acex-page][data-appearance=dark] body{background:var(--ax-canvas);color:var(--ax-ink)}html[data-acex-page][data-appearance=dark] input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),html[data-acex-page][data-appearance=dark] :is(select,textarea){border-color:#52675a}html[data-acex-page][data-appearance=dark] button,html[data-acex-page][data-appearance=dark] .btn{background:#2e7050;color:#fff}html[data-acex-page][data-appearance=dark] .admin-card,html[data-acex-page][data-appearance=dark] .row,html[data-acex-page][data-appearance=dark] .member-card{background:var(--ax-surface)}html[data-acex-page][data-appearance=dark] .hero h1{color:var(--ax-ink)}html[data-acex-page][data-appearance=dark] .menu-card{background:var(--ax-surface);color:var(--ax-ink);border-color:var(--ax-line)}html[data-acex-page][data-appearance=dark] .acex-topbar{background:#0b1e14}html[data-acex-page][data-appearance=dark] .acex-back{color:var(--ax-ink);background:var(--ax-surface);border-color:var(--ax-line)}html[data-acex-page][data-appearance=dark] .layout-card{background:var(--ax-surface)}
@media(max-width:1000px){.acex-header-context{display:none}html[data-acex-page] .acex-topbar{padding:16px 24px;gap:16px}.acex-auth-layout{gap:24px!important}.acex-auth-story{padding:36px 28px;min-height:540px}.acex-auth-story h2{font-size:30px!important}html[data-acex-page=dashboard] main{margin-left:220px;padding:24px 20px}.acex-operations .event-actions .sm{font-size:12px}}
@media(max-width:760px){html[data-acex-page] .acex-topbar{min-height:76px;padding:14px 16px;gap:12px}.acex-wordmark{font-size:20px}.acex-wordmark small{font-size:8px;letter-spacing:.1em}.acex-topbar .acex-emblem{width:32px;height:32px}.acex-brand-lockup{gap:8px}.acex-topbar nav{gap:3px}.acex-topbar nav a{padding:10px;font-size:12px}.acex-topbar nav a span{display:none}.acex-topbar svg{width:19px;height:19px}.acex-topbar .acex-theme-wrap{display:none}html[data-acex-page] .acex-pagebar{padding:16px 16px 0}html[data-acex-page] main{padding:0 16px;margin:24px auto 40px}html[data-acex-page] section{padding:22px;border-radius:16px}html[data-acex-page] h1{font-size:29px}html[data-acex-page] .member-list{grid-template-columns:1fr}.acex-auth-story{display:none}html[data-acex-page] .acex-auth-layout{display:block;margin:24px auto 40px!important;padding:0 16px!important}.acex-auth-layout>section{padding:26px!important}.acex-profile-grid{grid-template-columns:1fr 1fr}.layout>section:nth-child(2){position:static}.acex-topbar nav a[data-acex-master]{display:none}.acex-pagebar>span{font-size:12px}.acex-operations .selected-tournament{padding:22px!important}html[data-acex-page=dashboard] main{margin:0;padding:22px 16px 50px}html[data-acex-page=dashboard] header{height:auto;min-height:76px;padding:12px 16px}html[data-acex-page=dashboard] header>div{gap:6px;flex-wrap:wrap;justify-content:end}html[data-acex-page=dashboard] header .theme-label{display:none}html[data-acex-page=home] main{padding:0 20px}html[data-acex-page=home] section.hero{grid-template-columns:1fr;padding:36px 0;gap:28px}.hero-art{height:240px!important}html[data-acex-page=home] .hero h1{font-size:40px}html[data-acex-page=home] section.links{grid-template-columns:1fr 1fr}.links .menu-card{padding:20px!important}.links .menu-card>div{font-size:16px!important}.links span{font-size:13px!important}.section-title{margin-top:10px}.section-title h2{font-size:23px!important}.section-title>p{display:none}}
@media(max-width:380px){.acex-topbar .acex-wordmark small{display:none}.acex-topbar nav a{padding:8px}.acex-profile-grid{grid-template-columns:1fr}html[data-acex-page=home] section.links{grid-template-columns:1fr}.acex-auth-layout>section{padding:20px!important}}
@media(prefers-reduced-motion:reduce){html[data-acex-page] *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.acex-topbar,.acex-pagebar,.acex-site-footer{display:none!important}}

html[data-acex-page] .password-field input{padding-inline-end:54px!important}html[data-acex-page] .password-visibility{right:0;top:50%;transform:translateY(-50%);width:44px;height:40px;justify-self:auto}html[data-acex-page=multi] body.display :is(.acex-topbar,.acex-pagebar,.acex-site-footer){display:none!important}
.admin-card::before{display:none!important}.acex-card-icon{width:52px;height:52px;display:grid;place-items:center;background:#e8f3e7;color:#3b714b;border-radius:16px;margin-bottom:26px}.acex-card-icon svg{width:25px;height:25px}.admin-card:nth-child(2) .acex-card-icon{background:#e9effa;color:#5073a9}.admin-card:nth-child(3) .acex-card-icon{background:#efebf9;color:#8270ae}.admin-card h2{margin-top:12px!important}.admin-card>span{font-size:12px}.acex-profile-grid>div:has(dd:empty){display:none}
html[data-acex-page=dashboard] .menu-toggle{display:none!important}.acex-operations .acex-header-back,.acex-operations .acex-header-home{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;min-height:38px;background:#eff3ef;border:1px solid #dee5df;border-radius:9px;color:#456454;font-size:12px;box-shadow:none}.acex-operations :is(.acex-header-back,.acex-header-home) svg{width:15px;height:15px}.acex-operations header>div{display:flex;align-items:center;gap:10px}.acex-operations header .theme-label{font-size:12px!important}.acex-operations header #acexTheme{min-height:38px;font-size:12px}
@media(max-width:800px){html[data-acex-page=dashboard] .menu-toggle{display:inline-flex!important;min-height:36px;height:36px;width:36px;padding:7px;margin:0 8px 0 0;flex-shrink:0}html[data-acex-page=dashboard] main{margin-left:0!important;padding:22px 16px 50px}html[data-acex-page=dashboard] header{min-height:76px;height:76px;padding:12px 16px;gap:8px}html[data-acex-page=dashboard] header a[aria-label="ACEX 메인"]{display:inline-flex!important;margin-right:auto}html[data-acex-page=dashboard] header a[aria-label="ACEX 메인"] b{font-size:16px;white-space:nowrap}html[data-acex-page=dashboard] header b span{display:none}html[data-acex-page=dashboard] header>div{gap:5px}html[data-acex-page=dashboard] header>div>a:not(.acex-header-home){display:none!important}html[data-acex-page=dashboard] header .theme-label{display:none}html[data-acex-page=dashboard] header #acexTheme{display:none}html[data-acex-page=dashboard] header .acex-header-home{display:inline-flex!important}html[data-acex-page=dashboard] header :is(.acex-header-home,.acex-header-back){width:36px;height:36px;min-height:36px;margin:0;padding:8px}html[data-acex-page=dashboard] header :is(.acex-header-home,.acex-header-back) span{display:none}html[data-acex-page=dashboard] header #logout{min-height:36px;margin:0;padding:8px 10px;font-size:11px}html[data-acex-page=dashboard] aside{top:76px}html[data-acex-page=dashboard] .mobile-scrim{inset:76px 0 0}.acex-operations .topline select{width:100%;min-width:0}.acex-operations .table-toolbar>.actions{min-width:0;flex-wrap:wrap}.acex-operations .table-toolbar input{max-width:100%;min-width:0}.acex-operations #workspaceTabs{max-width:100%;overflow:auto;flex-wrap:nowrap}.acex-operations #workspaceTabs a{flex-shrink:0}.acex-operations .selected-tournament{padding:22px!important}.acex-operations .selected-tournament h2{font-size:21px!important}.acex-operations .table-board{grid-template-columns:1fr}.acex-operations .panel{padding:18px!important}}
html[data-acex-page] .notice-dialog{border:1px solid var(--ax-line);border-radius:20px;background:var(--ax-surface);color:var(--ax-ink);font:15px/1.7 inherit}html[data-acex-page] .notice-band{background:var(--ax-soft);border-color:var(--ax-line);padding:28px}html[data-acex-page] .notice-kicker{font-size:11px;letter-spacing:.17em;color:var(--ax-primary)}html[data-acex-page] .notice-head h2{font-size:28px;margin:14px 0 0;color:var(--ax-ink)}html[data-acex-page] .notice-body{padding:28px;color:var(--ax-ink)}html[data-acex-page] .notice-foot{border-color:var(--ax-line);padding:18px 28px}.notice-dialog .notice-close{min-height:36px!important;box-shadow:none!important}.notice-dialog .notice-confirm{background:#155b48!important}.notice-dialog .notice-foot label{color:var(--ax-muted)}
html[data-acex-page][data-appearance=dark] :is(button,.btn):is(.red,.danger){background:#ad344a;color:#fff;border-color:#ca6477}html[data-acex-page][data-appearance=dark] :is(button,.btn):is(.gray,.muted,.secondary){background:var(--ax-soft);color:#c4e2ca;border-color:var(--ax-line)}.acex-mobile-tools{display:none}
@media(max-width:800px){html[data-acex-page=dashboard] .acex-mobile-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 18px}.acex-mobile-tools label{font-size:12px;color:var(--ax-muted)}html[data-acex-page=dashboard] .acex-mobile-tools #acexTheme{display:block;min-height:36px;height:36px;width:145px;min-width:0;font-size:12px;margin:0;padding:7px 10px}}
@media(max-width:760px){.acex-topbar .acex-theme-wrap{display:block}.acex-topbar select{min-height:36px!important;height:36px;width:36px!important;min-width:36px!important;max-width:36px!important;padding:8px!important}.acex-theme-wrap::before{top:5px;left:11px}.acex-topbar nav a{padding:8px}.acex-topbar nav{gap:2px}}

/* Navigation icon contrast must survive legacy dark button rules. */
html[data-acex-page=dashboard][data-appearance=dark] .acex-operations header :is(.acex-header-home,.acex-header-back){background:#26342b!important;border-color:#52655a!important;color:#e7f2e9!important}html[data-acex-page=dashboard][data-appearance=dark] .acex-operations header :is(.acex-header-home,.acex-header-back):hover{background:#354b3d!important;color:#fff!important}
