:root{--bg:#f4f6fb;--paper:#fff;--ink:#1f2937;--muted:#667085;--line:#e6e8ef;--soft:#f8fafc;--brand:#ff6a00;--brand2:#ff3d00;--dark:#111827;--blue:#172554;--shadow:0 16px 42px rgba(15,23,42,.08);--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#fff 0,#f6f7fb 320px,#eef2f7 100%);font-family:'Pretendard','Noto Sans KR',Arial,sans-serif;color:var(--ink);letter-spacing:-.02em}a{text-decoration:none;color:inherit}.topbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(230,232,239,.9)}.topbar__inner{max-width:1120px;margin:0 auto;height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 18px}.brand{display:flex;align-items:center;gap:11px;font-size:22px;font-weight:950;color:#111827}.brand__mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--brand),#ffb703);display:grid;place-items:center;color:#fff;box-shadow:0 8px 20px rgba(255,106,0,.25)}.nav{display:flex;gap:6px}.nav a{padding:10px 15px;border-radius:999px;font-weight:850;color:#344054}.nav a:hover,.nav a.is-active{background:#111827;color:#fff}.navbtn{display:none;border:0;background:#111827;color:#fff;border-radius:12px;width:42px;height:42px;font-size:22px}.wrap{max-width:1120px;margin:0 auto;padding:28px 18px 42px}.hero{padding:34px 0 18px}.hero-card{border:1px solid #edf0f5;background:linear-gradient(135deg,#fff 0,#fff8f1 46%,#f7fbff 100%);border-radius:28px;padding:42px 44px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero-card:after{content:"";position:absolute;right:-70px;top:-80px;width:260px;height:260px;border-radius:999px;background:radial-gradient(circle,#ffb703 0,#ff6a00 42%,transparent 65%);opacity:.16}.eyebrow{display:inline-flex;gap:8px;align-items:center;background:#fff2e8;border:1px solid #fed7aa;color:#c2410c;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:900}.hero h1{position:relative;z-index:1;font-size:40px;line-height:1.2;letter-spacing:-.06em;margin:16px 0 13px;color:#111827}.lead{position:relative;z-index:1;max-width:850px;color:#475467;font-size:17px;line-height:1.85;margin:0}.update{display:inline-block;margin-top:14px;background:#111827;color:#fff;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:850}.main-grid{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:24px;margin-top:20px}.content{min-width:0}.section{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:0 10px 30px rgba(15,23,42,.05);margin-bottom:22px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}.section-head span{display:block;color:var(--brand);font-size:12px;letter-spacing:.12em;font-weight:950;text-transform:uppercase}.section-head h2{margin:5px 0 0;font-size:27px;letter-spacing:-.055em;color:#111827}.section-note{font-size:14px;color:var(--muted);font-weight:700}.rank-list{display:flex;flex-direction:column;gap:12px}.rank-card{--accent:#ff6a00;position:relative;display:grid;grid-template-columns:52px 1fr 118px;gap:15px;align-items:center;border:1px solid #eceff5;border-radius:18px;background:#fff;padding:17px 18px;box-shadow:0 8px 24px rgba(15,23,42,.045);overflow:hidden}.rank-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--accent)}.rank-card:nth-child(1){border-color:#ffd7aa;background:linear-gradient(180deg,#fff,#fff8f0)}.rank-card__num{width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,var(--accent),#1f2937);color:#fff;display:grid;place-items:center;font-weight:950;font-size:22px}.rank-card__top{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.rank-card h3{margin:0;font-size:21px;color:#111827}.pill{background:color-mix(in srgb,var(--accent) 14%,#fff);border:1px solid color-mix(in srgb,var(--accent) 25%,#fff);color:var(--accent);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:950}.benefit{margin:7px 0 5px;color:#b45309;font-weight:850;font-size:14px}.rank-card__desc{margin:0;color:#667085;font-size:14.5px;line-height:1.62}.score{margin-top:8px;color:#667085;font-size:13px}.score b{color:#111827}.score em{font-style:normal;color:#f59e0b;margin-left:8px}.go-btn{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;text-align:center;border-radius:999px;padding:12px 13px;font-weight:950;box-shadow:0 9px 18px rgba(255,106,0,.22)}.go-btn:hover{filter:brightness(.96);transform:translateY(-1px)}.article-block h2,.article-block h3{letter-spacing:-.05em;color:#111827}.article-block h2{font-size:28px;margin:0 0 16px;padding-left:13px;border-left:5px solid var(--brand)}.article-block h3{font-size:21px;margin:26px 0 10px}.article-block p{font-size:16.5px;line-height:1.95;color:#475467;margin:0 0 15px}.column-text{column-count:2;column-gap:38px;column-rule:1px solid #edf0f5}.column-text p{break-inside:avoid}.key-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 4px}.key-item{background:#f8fafc;border:1px solid #e9edf4;border-radius:16px;padding:16px}.key-item b{display:block;margin-bottom:7px;color:#111827}.key-item p{font-size:14.5px;line-height:1.7;margin:0;color:#667085}.compare{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;margin-top:14px}.compare th,.compare td{padding:15px 16px;text-align:left;border-bottom:1px solid var(--line);line-height:1.55}.compare tr:last-child td{border-bottom:0}.compare th{background:#111827;color:#fff;font-weight:900}.compare td:first-child{font-weight:900;color:#111827;background:#fafafa}.tip-box{background:linear-gradient(135deg,#fff7ed,#ffffff);border:1px solid #fed7aa;border-radius:18px;padding:19px;margin-top:18px;color:#9a3412;font-weight:800;line-height:1.75}.faq details{border:1px solid var(--line);border-radius:16px;background:#fbfcff;padding:16px 18px;margin-top:12px}.faq summary{cursor:pointer;font-weight:900;color:#111827}.faq p{margin:11px 0 0;color:#667085;line-height:1.75}.sidebar{position:sticky;top:90px;height:max-content;display:flex;flex-direction:column;gap:16px}.sidebox{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:0 10px 26px rgba(15,23,42,.045)}.sidebox h3{margin:0 0 13px;color:#111827;font-size:19px}.sidebox a{display:block;border-bottom:1px dashed #e5e7eb;padding:11px 0;color:#344054;font-weight:800;font-size:14px}.sidebox a:last-child{border-bottom:0}.side-rank li{display:flex;gap:9px;margin:10px 0;color:#475467;font-weight:750}.side-rank b{width:24px;height:24px;border-radius:8px;background:#111827;color:#fff;display:grid;place-items:center;font-size:12px;flex:none}.hotbox{background:linear-gradient(135deg,#fff7ed,#fff);border-color:#fed7aa}.recent-date{float:right;color:#98a2b3;font-size:12px}.footer{background:#111827;color:#d0d5dd;margin-top:32px}.footer__inner{max-width:1120px;margin:0 auto;padding:34px 18px;display:flex;justify-content:space-between;gap:20px}.footer p{color:#98a2b3;margin:7px 0 0}.footer__links{display:flex;gap:14px;font-weight:800}.page-title{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;margin-bottom:22px;box-shadow:0 10px 28px rgba(15,23,42,.05)}.page-title h1{margin:0;font-size:36px;letter-spacing:-.06em}.page-title p{color:#667085;line-height:1.8}.article p{line-height:1.9;color:#475467;font-size:16px}.notice{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:18px;padding:18px;font-weight:800;margin-top:18px}@media(max-width:980px){.main-grid{grid-template-columns:1fr}.sidebar{position:static}.column-text{column-count:1}.key-list{grid-template-columns:1fr}.rank-card{grid-template-columns:52px 1fr}.go-btn{grid-column:1/-1}.hero h1{font-size:34px}.hero-card{padding:32px}}@media(max-width:720px){.topbar__inner{height:66px}.nav{display:none;position:absolute;left:14px;right:14px;top:68px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;box-shadow:var(--shadow);flex-direction:column}.nav.is-open{display:flex}.navbtn{display:block}.wrap{padding:20px 14px 34px}.hero-card{border-radius:22px;padding:25px}.hero h1{font-size:29px}.section{padding:20px}.section-head{display:block}.rank-card{padding:15px;gap:12px}.footer__inner{flex-direction:column}.footer__links{flex-wrap:wrap}.compare{font-size:14px}.compare th,.compare td{padding:12px}}


/* Board + editor */
.board-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(135deg,#111827,#1f2937 58%,#ff6a00);color:#fff;border-radius:28px;padding:34px 38px;margin:24px 0;box-shadow:var(--shadow);overflow:hidden;position:relative}.board-hero:after{content:"";position:absolute;right:-80px;bottom:-90px;width:270px;height:270px;border-radius:999px;background:rgba(255,255,255,.12);pointer-events:none!important}.board-hero h1{margin:12px 0 10px;font-size:38px;letter-spacing:-.06em}.board-hero p{max-width:720px;color:#e5e7eb;line-height:1.8;margin:0}.write-cta,.submit-btn{border:0;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;border-radius:999px;padding:13px 21px;font-weight:950;box-shadow:0 12px 24px rgba(255,106,0,.25);cursor:pointer;white-space:nowrap}.ghost-btn{border:1px solid var(--line);background:#fff;color:#111827;border-radius:999px;padding:12px 18px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.submit-btn.small{padding:10px 15px}.board-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.board-tabs a{background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 15px;font-weight:900;color:#475467}.board-tabs a.on{background:#111827;color:#fff;border-color:#111827}.post-row{border:1px solid #edf0f5;background:#fff;border-radius:18px;margin-bottom:12px;transition:.18s;overflow:hidden}.post-row:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(15,23,42,.07)}.post-main{display:block;padding:20px}.post-cat{display:inline-flex;background:#fff2e8;border:1px solid #fed7aa;color:#c2410c;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:950}.post-main h3{font-size:22px;margin:10px 0 7px;letter-spacing:-.04em;color:#111827}.post-main p{margin:0;color:#667085;line-height:1.7}.post-meta{margin-top:12px;color:#98a2b3;font-size:13px;font-weight:750}.empty-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:18px;padding:38px;text-align:center;color:#667085;font-weight:850}.editor-layout{display:grid;grid-template-columns:minmax(0,820px) minmax(380px,1fr);gap:22px;align-items:start}.editor-panel,.live-preview .preview-phone,.view-card{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 12px 32px rgba(15,23,42,.055)}.editor-panel{padding:26px}.editor-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.editor-head h1{font-size:34px;margin:12px 0 8px;letter-spacing:-.06em}.editor-head p{margin:0;color:#667085;line-height:1.7}.write-form label{display:block;color:#344054;font-size:14px;font-weight:900;margin:13px 0}.write-form input,.write-form select{width:100%;height:46px;border:1px solid #d7dce5;border-radius:14px;padding:0 14px;font-size:15px;background:#fff;color:#111827;margin-top:7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.toolbar{display:flex;flex-wrap:wrap;gap:7px;background:#111827;border-radius:18px;padding:10px;margin-top:14px;position:sticky;top:82px;z-index:5}.toolbar button{border:1px solid rgba(255,255,255,.12);background:#1f2937;color:#fff;border-radius:11px;padding:9px 11px;font-weight:850;cursor:pointer}.toolbar button:hover{background:#374151}.editor{min-height:520px;border:1px solid #d7dce5;border-radius:18px;margin-top:12px;padding:24px;font-size:16px;line-height:1.85;outline:none;background:#fbfcff;color:#111827}.editor:focus{border-color:#ff9f43;box-shadow:0 0 0 4px rgba(255,106,0,.12)}.editor h2{font-size:28px;margin:0 0 12px}.editor h3{font-size:22px;margin:24px 0 8px}.editor blockquote{border-left:5px solid var(--brand);margin:16px 0;padding:12px 18px;background:#fff7ed;color:#9a3412;border-radius:12px}.editor table,.post-content table,.preview-body table{width:100%;border-collapse:collapse;margin:14px 0}.editor th,.editor td,.post-content th,.post-content td,.preview-body th,.preview-body td{border:1px solid #e5e7eb;padding:10px;text-align:left}.editor th,.post-content th,.preview-body th{background:#111827;color:#fff}.editor img,.post-content img,.preview-body img{max-width:100%;height:auto;border-radius:16px}.submit-row{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.live-preview{position:sticky;top:88px}.preview-phone{padding:12px;background:#0b1020}.preview-top{height:38px;display:flex;align-items:center;justify-content:center;color:#e5e7eb;font-weight:950;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:10px}.preview-body{background:#fff;border-radius:18px;min-height:580px;padding:24px;color:#111827;line-height:1.85;overflow:auto}.preview-body h2{font-size:26px;margin-top:0}.view-card{padding:30px;margin-top:24px}.view-head{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:24px}.view-head h1{font-size:38px;letter-spacing:-.06em;margin:12px 0 6px}.post-content{font-size:17px;line-height:1.95;color:#374151}.post-content h2{font-size:29px;letter-spacing:-.05em;color:#111827;margin:28px 0 12px}.post-content h3{font-size:23px;letter-spacing:-.04em;color:#111827;margin:24px 0 10px}.post-content blockquote{border-left:5px solid var(--brand);background:#fff7ed;padding:16px 20px;border-radius:14px;color:#9a3412}.view-actions{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:20px;margin-top:28px}@media(max-width:1120px){.editor-layout{grid-template-columns:1fr}.live-preview{position:static}.preview-body{min-height:360px}}@media(max-width:720px){.board-hero{display:block;padding:26px}.board-hero h1{font-size:30px}.write-cta{margin-top:18px;width:100%}.form-grid{grid-template-columns:1fr}.editor-panel{padding:18px}.editor-head{display:block}.toolbar{position:static}.editor{min-height:420px;padding:18px}.submit-row{flex-direction:column}.submit-row>*{width:100%}.view-head h1{font-size:30px}}

/* Admin */
.admin-body{background:linear-gradient(180deg,#0f172a 0,#111827 220px,#eef2f7 221px,#eef2f7 100%)}
.admin-topbar{background:#0b1020;color:#fff;border-bottom:1px solid rgba(255,255,255,.08);position:sticky;top:0;z-index:80}
.admin-topbar__inner{max-width:1280px;margin:0 auto;height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 18px}
.admin-brand{font-size:22px;font-weight:950;color:#fff;display:flex;align-items:center;gap:10px}.admin-brand:before{content:"A";width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#ff6a00,#ffb703);display:grid;place-items:center;color:#fff;font-weight:950}.admin-nav{display:flex;gap:8px;flex-wrap:wrap}.admin-nav a{color:#dbe4f0;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);border-radius:999px;padding:9px 13px;font-size:14px;font-weight:900}.admin-nav a:hover{background:#fff;color:#111827}.admin-wrap{max-width:1280px;margin:0 auto;padding:30px 18px 52px}.admin-login-card{max-width:460px;margin:70px auto;background:#fff;border:1px solid var(--line);border-radius:26px;padding:30px;box-shadow:0 22px 60px rgba(15,23,42,.22)}.admin-login-head h1,.admin-page-head h1{margin:12px 0 8px;font-size:34px;letter-spacing:-.06em;color:#111827}.admin-login-head p,.admin-page-head p{color:#667085;line-height:1.75;margin:0}.admin-form label{display:block;font-weight:900;color:#344054;margin:14px 0}.admin-form input{width:100%;height:48px;border:1px solid #d7dce5;border-radius:14px;padding:0 14px;margin-top:8px;font-size:15px}.admin-form .submit-btn{width:100%;margin-top:8px}.admin-alert{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:14px;padding:13px 15px;margin:14px 0;line-height:1.65;font-weight:750}.admin-alert.danger{background:#fef2f2;border-color:#fecaca;color:#991b1b}.admin-alert code{background:#111827;color:#fff;border-radius:7px;padding:2px 6px}.admin-page-head{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px 30px;margin-bottom:20px;box-shadow:0 15px 36px rgba(15,23,42,.08)}.admin-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.admin-stat{background:linear-gradient(135deg,#fff,#fff7ed);border:1px solid #fed7aa;border-radius:22px;padding:24px;box-shadow:0 12px 30px rgba(15,23,42,.06)}.admin-stat b{display:block;font-size:34px;letter-spacing:-.05em;color:#111827}.admin-stat span{display:block;margin-top:5px;color:#667085;font-weight:900}.admin-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:0 15px 36px rgba(15,23,42,.07);overflow:auto}.admin-panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.admin-panel-head h2{margin:0;font-size:24px;letter-spacing:-.05em}.admin-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;min-width:850px}.admin-table th,.admin-table td{padding:14px 15px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.admin-table th{background:#111827;color:#fff;font-weight:950}.admin-table tr:last-child td{border-bottom:0}.admin-table td{color:#475467}.admin-table td a{color:#111827;font-weight:900}.admin-actions{display:flex;align-items:center;gap:10px}.admin-actions form{display:inline;margin:0}.admin-actions button{border:0;background:#fee2e2;color:#991b1b;border-radius:999px;padding:8px 11px;font-weight:900;cursor:pointer}.admin-editor-layout{grid-template-columns:minmax(0,760px) minmax(420px,1fr)}
@media(max-width:900px){.admin-topbar__inner{height:auto;min-height:68px;align-items:flex-start;flex-direction:column;padding-top:14px;padding-bottom:14px}.admin-nav{margin-top:10px}.admin-stat-grid{grid-template-columns:1fr}.admin-editor-layout{grid-template-columns:1fr}.admin-login-card{margin:30px auto}.admin-page-head h1{font-size:29px}}

/* ===== Admin dashboard v6 - sidebar + popup login ===== */
.admin-dashboard-body{margin:0;background:#eef2f8;color:#101828;font-family:Arial,'Noto Sans KR',sans-serif;min-height:100vh}
.admin-dashboard-body .admin-topbar{display:none!important}
.admin-side{position:fixed;left:0;top:0;bottom:0;width:196px;background:#171d3a;color:#c7cce8;z-index:1000;padding:18px 8px;box-sizing:border-box;overflow:auto}
.admin-side-brand{display:flex;align-items:center;gap:8px;color:#cfc7ff;text-decoration:none;font-size:17px;font-weight:900;margin:0 0 24px;padding:0 6px}.admin-side-brand span{font-size:17px}.admin-side-brand b{letter-spacing:-.03em}.admin-nav-group{font-size:11px;color:#697094;font-weight:900;margin:20px 7px 8px}.admin-side-nav a{display:flex;align-items:center;gap:10px;height:38px;color:#d6daf7;text-decoration:none;border-radius:7px;padding:0 12px;font-size:14px;font-weight:800;margin:4px 0}.admin-side-nav a span{width:16px;text-align:center}.admin-side-nav a:hover,.admin-side-nav a.active{background:#373984;color:#fff}.admin-main{margin-left:196px;min-height:100vh;padding:31px 28px 60px;box-sizing:border-box}.dash-head{display:flex;align-items:center;gap:14px;margin-bottom:26px}.dash-head h1{margin:0;font-size:34px;letter-spacing:-.06em;color:#111827}.dash-head p{margin:7px 0 0;color:#687083;font-size:13px}.dash-view{background:#fff;border:1px solid #dfe5f0;border-radius:8px;color:#343b50;text-decoration:none;padding:8px 12px;font-size:13px;font-weight:900;box-shadow:0 1px 2px rgba(16,24,40,.04)}.dash-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.dash-stat{height:88px;background:#fff;border:1px solid #dde4ef;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center}.dash-stat strong{font-size:30px;color:#6b6ff5;line-height:1;font-weight:950}.dash-stat span{margin-top:10px;font-size:12px;color:#98a2b3;font-weight:800}.dash-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(420px,.75fr);gap:16px}.dash-card{background:#fff;border:1px solid #dde4ef;border-radius:10px;overflow:hidden}.dash-card-head{height:43px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #e2e8f0}.dash-card-head h2{font-size:16px;margin:0;color:#111827;font-weight:950;letter-spacing:-.03em}.dash-write{background:#6768f5;color:#fff!important;text-decoration:none;border-radius:7px;padding:7px 11px;font-size:12px;font-weight:950}.dash-table{width:100%;border-collapse:collapse;font-size:13px}.dash-table th{height:39px;background:#f6f8fc;color:#667085;border-bottom:1px solid #e2e8f0;text-align:left;padding:0 14px;font-size:12px}.dash-table td{height:38px;border-bottom:1px solid #edf1f7;padding:0 14px;color:#111827}.dash-table tr:last-child td{border-bottom:0}.dash-table a{color:#111827;text-decoration:none;font-weight:700}.dash-table em{font-style:normal;color:#9aa3b7;font-size:11px}.dash-table.compact td,.dash-table.compact th{height:34px}.admin-main .admin-page-head{display:none}.admin-main .admin-stat-grid{display:none}.admin-main .admin-panel{border-radius:10px;border-color:#dde4ef;box-shadow:none}.admin-main .admin-panel-head h2{font-size:18px}.admin-main .admin-table th{background:#f6f8fc;color:#667085}.admin-main .admin-table{border-color:#e2e8f0;border-radius:10px}.admin-main .admin-table th,.admin-main .admin-table td{border-bottom-color:#edf1f7}.admin-main .submit-btn,.admin-main .submit-btn.small{background:#6768f5;color:#fff;border:0;border-radius:8px;font-weight:950}
.admin-login-body{margin:0;min-height:100vh;background:radial-gradient(circle at 20% 20%,rgba(111,112,245,.32),transparent 30%),radial-gradient(circle at 80% 10%,rgba(34,211,238,.22),transparent 28%),linear-gradient(135deg,#111733,#070a14);font-family:Arial,'Noto Sans KR',sans-serif}.admin-login-main{min-height:100vh;display:grid;place-items:center;padding:22px;box-sizing:border-box}.login-modal-bg{position:fixed;inset:0;display:grid;place-items:center;background:rgba(4,8,20,.38);backdrop-filter:blur(8px)}.login-popup{width:min(430px,calc(100vw - 32px));background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.65);border-radius:26px;padding:34px;box-shadow:0 35px 90px rgba(0,0,0,.38);text-align:center;box-sizing:border-box}.login-logo{width:66px;height:66px;border-radius:22px;background:linear-gradient(135deg,#6366f1,#22d3ee);display:grid;place-items:center;margin:0 auto 18px;color:#fff;font-size:28px;box-shadow:0 16px 34px rgba(99,102,241,.32)}.login-popup h1{margin:0;font-size:30px;letter-spacing:-.06em;color:#111827}.login-popup p{margin:10px 0 24px;color:#667085;font-size:14px}.login-form{text-align:left}.login-form label{display:block;margin:14px 0;color:#344054;font-size:13px;font-weight:900}.login-form input{width:100%;height:50px;margin-top:8px;border:1px solid #d7deea;border-radius:14px;padding:0 15px;box-sizing:border-box;background:#f8fafc;color:#111827;font-size:15px;outline:0}.login-form input:focus{border-color:#6366f1;box-shadow:0 0 0 4px rgba(99,102,241,.14);background:#fff}.login-form button{width:100%;height:52px;margin-top:10px;border:0;border-radius:15px;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;font-size:16px;font-weight:950;cursor:pointer;box-shadow:0 14px 30px rgba(79,70,229,.32)}.login-error{background:#fff1f2;border:1px solid #fecdd3;color:#be123c;border-radius:13px;padding:11px 12px;margin-bottom:14px;font-size:13px;font-weight:900}.login-help{margin-top:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px;color:#667085;font-size:12px;line-height:1.65}.login-help code{background:#111827;color:#fff;border-radius:6px;padding:2px 5px}
@media(max-width:1100px){.admin-side{position:static;width:auto;height:auto}.admin-main{margin-left:0;padding:20px}.admin-side-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.admin-nav-group{grid-column:1/-1}.dash-stats{grid-template-columns:repeat(2,1fr)}.dash-grid{grid-template-columns:1fr}}
@media(max-width:640px){.dash-stats{grid-template-columns:1fr}.dash-head{align-items:flex-start;flex-direction:column}.admin-side-nav{grid-template-columns:1fr}.login-popup{padding:26px 20px}}

/* ===== Ranking manager v7 ===== */
.smart-rank-card{grid-template-columns:70px 1fr 132px;background:linear-gradient(180deg,#fff,#fbfcff);border-color:color-mix(in srgb,var(--accent) 16%,#e8edf5)}
.smart-rank-card .rank-medal{width:62px;height:62px;border-radius:18px;background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 35%,#111827));color:var(--accent-text);display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 10px 22px color-mix(in srgb,var(--accent) 25%,transparent)}
.rank-medal b{font-size:24px;line-height:1;font-weight:950}.rank-medal span{font-size:10px;font-weight:950;letter-spacing:.09em;margin-top:4px}.seo-auto-block{background:linear-gradient(135deg,#fff,#f8fbff)}.seo-auto-block>p{line-height:1.9;color:#475467;font-size:16px}.seo-rank-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.seo-rank-mini{border:1px solid color-mix(in srgb,var(--accent) 22%,#e6e8ef);border-left:5px solid var(--accent);background:#fff;border-radius:16px;padding:15px}.seo-rank-mini strong{display:block;font-size:16px;color:#111827}.seo-rank-mini span{display:inline-block;margin:8px 0;color:var(--accent);font-weight:900}.seo-rank-mini p{margin:0;color:#667085;line-height:1.7;font-size:14px}.rank-admin-card{overflow:auto}.admin-rank-table td{height:54px}.rank-num-chip{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#111827;color:#fff}.admin-pill{display:inline-flex;background:#eef2ff;color:#4f46e5;border-radius:999px;padding:5px 8px;font-size:12px;font-weight:950}.color-dot{display:inline-block;width:14px;height:14px;border-radius:999px;margin-right:7px;vertical-align:-2px;border:1px solid rgba(0,0,0,.12)}.mini-btn{display:inline-flex;background:#6768f5;color:#fff!important;border-radius:7px;padding:7px 10px;font-size:12px;font-weight:950}.admin-form-card{background:#fff;border:1px solid #dde4ef;border-radius:12px;padding:22px;max-width:980px}.admin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-form-card label{display:block;color:#344054;font-weight:900;font-size:13px;margin-bottom:13px}.admin-form-card input,.admin-form-card select,.admin-form-card textarea{width:100%;border:1px solid #d7dce5;border-radius:10px;background:#fff;color:#111827;padding:12px;margin-top:7px;font-size:14px}.admin-form-card input[type=color]{height:46px;padding:5px}.admin-form-card textarea{resize:vertical;line-height:1.7}.rank-live-card{border:1px solid color-mix(in srgb,var(--accent) 25%,#dde4ef);border-left:6px solid var(--accent);border-radius:14px;padding:16px;background:#fbfcff;margin:12px 0 18px}.rank-live-card b{display:block;font-size:18px;color:#111827}.rank-live-card span{display:block;margin:7px 0;color:var(--accent);font-weight:950}.rank-live-card p{margin:0;color:#667085;line-height:1.7}.dash-card .dash-write{white-space:nowrap}@media(max-width:980px){.smart-rank-card{grid-template-columns:54px 1fr}.smart-rank-card .go-btn{grid-column:1/-1}.smart-rank-card .rank-medal{width:52px;height:52px}.seo-rank-columns,.admin-form-grid{grid-template-columns:1fr}}


/* ===== v8 horizontal box ranking layout ===== */
.rank-list{display:grid;grid-template-columns:1fr;gap:14px}
.rank-box-card{--accent:#ff6a00;position:relative;display:grid;grid-template-columns:82px minmax(0,1fr) 154px;gap:18px;align-items:center;background:#fff;border:1px solid color-mix(in srgb,var(--accent) 18%,#e5e7eb);border-radius:20px;padding:18px 20px;box-shadow:0 12px 30px rgba(15,23,42,.07);overflow:hidden;transition:.18s}
.rank-box-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(15,23,42,.11)}
.rank-box-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:linear-gradient(180deg,var(--accent),color-mix(in srgb,var(--accent) 48%,#111827))}
.rank-box-card:after{content:"";position:absolute;right:-60px;top:-80px;width:180px;height:180px;border-radius:50%;background:var(--accent);opacity:.08;pointer-events:none}
.rank-box-left{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
.rank-box-num{width:62px;height:62px;border-radius:18px;background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 45%,#111827));color:var(--accent-text);display:grid;place-items:center;font-size:28px;font-weight:950;box-shadow:0 12px 24px color-mix(in srgb,var(--accent) 25%,transparent)}
.rank-box-label{font-size:10px;letter-spacing:.18em;color:#98a2b3;font-weight:950}
.rank-box-main{position:relative;z-index:1;min-width:0}
.rank-box-titleline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.rank-box-titleline h3{margin:0;font-size:23px;letter-spacing:-.055em;color:#111827}
.rank-box-tag{display:inline-flex;align-items:center;height:24px;border-radius:999px;background:color-mix(in srgb,var(--accent) 13%,#fff);border:1px solid color-mix(in srgb,var(--accent) 28%,#fff);color:var(--accent);padding:0 9px;font-size:12px;font-weight:950}
.rank-box-score{display:inline-flex;align-items:center;height:24px;border-radius:999px;background:#111827;color:#fff;padding:0 9px;font-size:12px;font-weight:950}
.rank-box-benefit{display:inline-flex;margin-bottom:8px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#b45309;padding:7px 10px;font-size:14px;font-weight:950}
.rank-box-main p{margin:0;color:#667085;font-size:14.5px;line-height:1.65;max-width:720px}
.rank-box-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.rank-box-chips span{background:#f6f8fc;border:1px solid #e7ebf2;border-radius:999px;color:#475467;padding:5px 9px;font-size:12px;font-weight:850}
.rank-box-action{position:relative;z-index:1;display:flex;justify-content:flex-end}
.rank-box-action a{display:inline-flex;align-items:center;justify-content:center;width:142px;height:46px;border-radius:999px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;font-weight:950;box-shadow:0 10px 22px rgba(255,106,0,.24);white-space:nowrap}
.rank-box-action a:hover{filter:brightness(.96);transform:translateY(-1px)}
.seo-rank-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.rank-box-card{grid-template-columns:62px minmax(0,1fr);gap:13px;padding:16px}.rank-box-num{width:52px;height:52px;font-size:24px}.rank-box-action{grid-column:1/-1;justify-content:stretch}.rank-box-action a{width:100%}.rank-box-benefit{display:flex}.rank-box-main p{font-size:14px}.rank-box-titleline h3{font-size:20px}}

/* ===== v9 fixed smart horizontal ranking cards ===== */
.rank-list{display:flex!important;flex-direction:column!important;gap:12px!important}
.srank-card{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr) 150px;align-items:center;gap:16px;background:#fff;border:1px solid #e7eaf1;border-radius:16px;padding:16px 18px 16px 20px;box-shadow:0 8px 22px rgba(15,23,42,.055);overflow:hidden;min-height:112px}
.srank-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--rank-accent)}
.srank-card:hover{border-color:color-mix(in srgb,var(--rank-accent) 34%,#e7eaf1);box-shadow:0 14px 32px rgba(15,23,42,.09);transform:translateY(-1px)}
.srank-left{position:relative;z-index:1;display:flex;justify-content:center;align-items:center}
.srank-num{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,var(--rank-accent),color-mix(in srgb,var(--rank-accent) 42%,#111827));color:var(--rank-accent-text);display:flex;flex-direction:column;justify-content:center;align-items:center;line-height:1;box-shadow:0 10px 22px color-mix(in srgb,var(--rank-accent) 24%,transparent)}
.srank-num span{font-size:16px;margin-bottom:3px}.srank-num b{font-size:24px;font-weight:950}
.srank-body{position:relative;z-index:1;min-width:0}.srank-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:7px}.srank-top h3{margin:0;color:#111827;font-size:22px;letter-spacing:-.045em;font-weight:950}.srank-badge{display:inline-flex;align-items:center;height:23px;border-radius:999px;background:color-mix(in srgb,var(--rank-accent) 13%,#fff);border:1px solid color-mix(in srgb,var(--rank-accent) 32%,#fff);color:var(--rank-accent);padding:0 9px;font-size:12px;font-weight:950}.srank-score{display:inline-flex;align-items:center;height:23px;border-radius:999px;background:#111827;color:#fff;padding:0 9px;font-size:12px;font-weight:950}.srank-benefit{display:inline-block;background:#fff4df;border:1px solid #ffd79b;color:#9a5b00;border-radius:999px;padding:6px 10px;margin-bottom:7px;font-size:13.5px;font-weight:950}.srank-body p{margin:0;color:#5f6b7a;font-size:14.5px;line-height:1.58;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.srank-go{position:relative;z-index:1;display:flex;justify-content:flex-end}.srank-go a{display:inline-flex;align-items:center;justify-content:center;width:138px;height:44px;border-radius:999px;background:linear-gradient(135deg,#ff6a00,#ff3d00);color:#fff!important;font-size:14px;font-weight:950;box-shadow:0 9px 18px rgba(255,106,0,.22);white-space:nowrap}.srank-go a:hover{filter:brightness(.96);transform:translateY(-1px)}
@media(max-width:760px){.srank-card{grid-template-columns:58px minmax(0,1fr);gap:12px;padding:15px}.srank-num{width:50px;height:50px;border-radius:15px}.srank-num b{font-size:21px}.srank-go{grid-column:1/-1;justify-content:stretch}.srank-go a{width:100%}.srank-top h3{font-size:19px}.srank-body p{-webkit-line-clamp:3}}

/* ===== v11 webhard ranking grid - screenshot style ===== */
.wrap{max-width:1220px!important;margin:0 auto!important;padding:22px 18px 42px!important}
.main-grid.rank-main-grid{display:block!important;margin-top:0!important}
.main-grid.rank-main-grid .content{width:100%!important}
.main-grid.rank-main-grid .sidebar{display:none!important}
.webhard-rank-section{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0 0 30px!important}
.webhard-rank-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important;margin:0 0 22px!important}
.webhard-rank-kicker{display:block!important;color:#ff6a00!important;font-size:13px!important;font-weight:900!important;letter-spacing:.06em!important;margin:0 0 10px!important;font-family:Consolas,monospace!important}
.webhard-rank-head h2{margin:0!important;font-size:30px!important;line-height:1.25!important;letter-spacing:-.055em!important;color:#06152a!important;font-weight:950!important}
.webhard-rank-note{font-size:16px!important;font-weight:800!important;color:#0f2340!important;white-space:nowrap!important}
.webhard-rank-lead{font-size:16px!important;line-height:1.85!important;color:#0f2340!important;margin:0 0 24px!important;letter-spacing:-.02em!important}
.webhard-rank-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px!important;margin:0 0 28px!important;width:100%!important}
.webhard-card{position:relative!important;display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid #cdd7e3!important;border-radius:14px!important;overflow:hidden!important;min-height:398px!important;box-shadow:none!important;transition:.15s!important;margin:0!important}
.webhard-card:first-child{border-color:#0799b2!important;box-shadow:0 0 0 1px rgba(7,153,178,.08)!important}
.webhard-card:hover{transform:translateY(-2px)!important;box-shadow:0 12px 26px rgba(15,23,42,.08)!important;border-color:#0799b2!important}
.webhard-rank-no{position:absolute!important;z-index:2!important;top:10px!important;left:10px!important;width:36px!important;height:36px!important;border-radius:999px!important;background:#fff!important;border:1px solid #d6e0ea!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:17px!important;font-weight:950!important;color:#11859a!important;box-shadow:0 3px 9px rgba(15,23,42,.18)!important}
.webhard-logo-area{height:151px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-bottom:1px solid #cdd7e3!important;background:#fff!important;padding:22px 20px!important;text-align:center!important;position:relative!important}
.webhard-logo-text{font-size:33px!important;font-weight:950!important;letter-spacing:-.07em!important;line-height:1!important;color:#111827!important;white-space:nowrap!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
.webhard-logo-sub{position:absolute!important;top:28px!important;left:50%!important;transform:translateX(-50%)!important;font-size:13px!important;font-weight:950!important;color:#333!important;white-space:nowrap!important}
.logo-1{color:#ef3b2f!important;text-shadow:1px 0 0 #ef3b2f!important}.logo-2{color:#1a1a1a!important}.logo-2:before{content:'🐝 ';font-size:28px!important}.logo-3{color:#f01755!important}.logo-3:before{content:'✦ ';color:#10b981!important}.logo-4{color:#3aa8f3!important;font-size:38px!important}.logo-5{color:#ff3b2f!important;font-style:italic!important}.logo-6{color:#431018!important}.logo-6:before{content:'▷';color:#e1192d!important;margin-right:2px!important}.logo-7{color:#111827!important}.logo-7:first-letter{color:#ff4b00!important}.logo-8{color:#27a8dc!important}.logo-9{color:#0f766e!important}.logo-10{color:#6d28d9!important}
.webhard-card-body{padding:20px 24px 18px!important;display:flex!important;flex-direction:column!important;gap:11px!important;flex:1!important;background:#fff!important}
.webhard-title-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0!important}
.webhard-name{font-size:19px!important;font-weight:950!important;color:#06152a!important;letter-spacing:-.04em!important;white-space:nowrap!important}
.webhard-score{font-size:14px!important;color:#06152a!important;white-space:nowrap!important}.webhard-score em{font-style:normal!important;color:#e8b400!important;letter-spacing:-.08em!important;font-size:18px!important;vertical-align:-1px!important}
.webhard-info-line{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:8px!important;align-items:start!important;margin:0!important;color:#23344f!important;font-size:14.5px!important;line-height:1.58!important}
.webhard-info-line b{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:25px!important;border-radius:999px!important;background:#e7f5ff!important;border:1px solid #84c5eb!important;color:#06293f!important;font-size:14px!important;font-weight:950!important;line-height:1!important}
.webhard-info-line.review b{background:#fff4d8!important;border-color:#f2c271!important;color:#4d3200!important}.webhard-info-line span{min-width:0!important;color:#23344f!important;display:block!important;line-height:1.62!important}.webhard-info-line.review span{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.webhard-go{margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;height:52px!important;border:2px solid #0799b2!important;background:#fff!important;color:#05798d!important;border-radius:11px!important;font-size:17px!important;font-weight:950!important;text-decoration:none!important;letter-spacing:-.03em!important}.webhard-card:first-child .webhard-go{background:#2194a6!important;color:#fff!important;border-color:#2194a6!important}.webhard-go:hover{background:#0799b2!important;color:#fff!important}
.section .webhard-rank-grid + *{clear:both!important}
@media(max-width:1024px){.webhard-rank-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.webhard-rank-head{display:block!important}.webhard-rank-note{margin-top:8px!important;display:block!important}}
@media(max-width:640px){.webhard-rank-grid{grid-template-columns:1fr!important;gap:18px!important}.webhard-card{min-height:0!important}.webhard-logo-area{height:130px!important}.webhard-logo-text{font-size:29px!important}.webhard-rank-head h2{font-size:25px!important}.webhard-rank-lead{font-size:15px!important}.webhard-title-row{align-items:flex-start!important;flex-direction:column!important}.webhard-score{font-size:13px!important}.webhard-info-line{grid-template-columns:54px 1fr!important}.webhard-card-body{padding:18px!important}}


/* rank v17 order/image/compact */

/* 순위 카드 강제 CSS */
.wrap{max-width:1040px!important;margin:0 auto!important;padding:30px 34px 52px!important}.main-grid.rank-main-grid{display:block!important;margin-top:0!important}.main-grid.rank-main-grid .content{width:100%!important}.main-grid.rank-main-grid .sidebar{display:none!important}.webhard-rank-section{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0 0 32px!important}.webhard-rank-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important;margin:0 0 18px!important}.webhard-rank-kicker{display:block!important;color:#ff6a00!important;font-size:12px!important;font-weight:900!important;letter-spacing:.08em!important;margin:0 0 8px!important;font-family:Consolas,monospace!important}.webhard-rank-head h2{margin:0!important;font-size:28px!important;line-height:1.25!important;letter-spacing:-.055em!important;color:#06152a!important;font-weight:950!important}.webhard-rank-note{font-size:15px!important;font-weight:800!important;color:#0f2340!important;white-space:nowrap!important}.webhard-rank-lead{font-size:15.5px!important;line-height:1.8!important;color:#0f2340!important;margin:0 0 22px!important;letter-spacing:-.02em!important}.webhard-rank-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;margin:0 0 28px!important;width:100%!important}.webhard-card{position:relative!important;display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid #cdd7e3!important;border-radius:12px!important;overflow:hidden!important;min-height:360px!important;box-shadow:none!important;transition:.15s ease!important;margin:0!important;color:#06152a!important}.webhard-card:hover{transform:translateY(-2px)!important;box-shadow:0 12px 26px rgba(15,23,42,.08)!important;border-color:#0799b2!important}.webhard-rank-no{position:absolute!important;z-index:2!important;top:9px!important;left:9px!important;width:32px!important;height:32px!important;border-radius:999px!important;background:#fff!important;border:1px solid #d6e0ea!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:15px!important;font-weight:950!important;color:#11859a!important;box-shadow:0 3px 9px rgba(15,23,42,.15)!important}.webhard-logo-area{height:126px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-bottom:1px solid #cdd7e3!important;background:#fff!important;padding:20px 18px!important;text-align:center!important;position:relative!important}.webhard-logo-img{display:block!important;max-width:210px!important;max-height:76px!important;width:auto!important;height:auto!important;object-fit:contain!important}.webhard-logo-text{font-size:29px!important;font-weight:950!important;letter-spacing:-.06em!important;line-height:1!important;color:#111827!important;white-space:nowrap!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}.webhard-card-body{padding:18px 20px 16px!important;display:flex!important;flex-direction:column!important;gap:10px!important;flex:1!important;background:#fff!important}.webhard-title-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0!important}.webhard-name{font-size:17px!important;font-weight:950!important;color:#06152a!important;letter-spacing:-.04em!important;white-space:nowrap!important}.webhard-score{font-size:13px!important;color:#06152a!important;white-space:nowrap!important}.webhard-score em{font-style:normal!important;color:#e8b400!important;letter-spacing:-.08em!important;font-size:17px!important;vertical-align:-1px!important}.webhard-info-line{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:7px!important;align-items:start!important;margin:0!important;color:#23344f!important;font-size:13.5px!important;line-height:1.55!important}.webhard-info-line b{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:23px!important;border-radius:999px!important;background:#e7f5ff!important;border:1px solid #84c5eb!important;color:#06293f!important;font-size:13px!important;font-weight:950!important;line-height:1!important}.webhard-info-line.review b{background:#fff4d8!important;border-color:#f2c271!important;color:#4d3200!important}.webhard-info-line span{min-width:0!important;color:#23344f!important;display:block!important;line-height:1.62!important}.webhard-info-line.review span{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.webhard-go{margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;height:44px!important;border:2px solid #0799b2!important;background:#fff!important;color:#05798d!important;border-radius:9px!important;font-size:15px!important;font-weight:950!important;text-decoration:none!important;letter-spacing:-.03em!important}.webhard-go:hover{background:#0799b2!important;color:#fff!important}.webhard-card:first-child .webhard-go{background:#fff!important;color:#05798d!important;border-color:#0799b2!important}.webhard-card:first-child .webhard-go:hover{background:#0799b2!important;color:#fff!important}@media(max-width:980px){.wrap{padding-left:22px!important;padding-right:22px!important}.webhard-rank-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.webhard-rank-head{display:block!important}.webhard-rank-note{margin-top:8px!important;display:block!important}}@media(max-width:640px){.webhard-rank-grid{grid-template-columns:1fr!important;gap:18px!important}.webhard-card{min-height:0!important}.webhard-logo-area{height:120px!important}.webhard-logo-img{max-width:200px!important;max-height:70px!important}.webhard-rank-head h2{font-size:24px!important}.webhard-rank-lead{font-size:15px!important}.webhard-title-row{align-items:flex-start!important;flex-direction:column!important}.webhard-score{font-size:13px!important}.webhard-info-line{grid-template-columns:50px 1fr!important}.webhard-card-body{padding:17px!important}}



/* v18 padding + hover override */

/* 순위 카드 강제 CSS v18 - 좌우 패딩 유지 + 3열 + hover 정상 */
body{background:#eef2f7!important;}
.wrap{
  width:100%!important;
  max-width:1080px!important;
  margin:0 auto!important;
  padding:36px 52px 56px!important;
  box-sizing:border-box!important;
  background:#fff!important;
}
.main-grid.rank-main-grid{display:block!important;margin-top:0!important;width:100%!important;}
.main-grid.rank-main-grid .content{width:100%!important;max-width:none!important;}
.main-grid.rank-main-grid .sidebar{display:none!important;}
.webhard-rank-section{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0 0 34px!important;width:100%!important;}
.webhard-rank-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important;margin:0 0 18px!important;}
.webhard-rank-kicker{display:block!important;color:#ff6a00!important;font-size:12px!important;font-weight:900!important;letter-spacing:.08em!important;margin:0 0 8px!important;font-family:Consolas,monospace!important;}
.webhard-rank-head h2{margin:0!important;font-size:28px!important;line-height:1.25!important;letter-spacing:-.055em!important;color:#06152a!important;font-weight:950!important;}
.webhard-rank-note{font-size:15px!important;font-weight:800!important;color:#0f2340!important;white-space:nowrap!important;}
.webhard-rank-lead{font-size:15.5px!important;line-height:1.8!important;color:#0f2340!important;margin:0 0 22px!important;letter-spacing:-.02em!important;}
.webhard-rank-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;margin:0 0 30px!important;width:100%!important;}
.webhard-card{position:relative!important;display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid #cdd7e3!important;border-radius:12px!important;overflow:hidden!important;min-height:360px!important;box-shadow:none!important;transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease!important;margin:0!important;color:#06152a!important;}
.webhard-card:hover{transform:translateY(-2px)!important;box-shadow:0 12px 26px rgba(15,23,42,.08)!important;border-color:#0799b2!important;}
.webhard-rank-no{position:absolute!important;z-index:2!important;top:9px!important;left:9px!important;width:32px!important;height:32px!important;border-radius:999px!important;background:#fff!important;border:1px solid #d6e0ea!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:15px!important;font-weight:950!important;color:#11859a!important;box-shadow:0 3px 9px rgba(15,23,42,.15)!important;}
.webhard-logo-area{height:126px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-bottom:1px solid #cdd7e3!important;background:#fff!important;padding:20px 18px!important;text-align:center!important;position:relative!important;}
.webhard-logo-img{display:block!important;max-width:210px!important;max-height:76px!important;width:auto!important;height:auto!important;object-fit:contain!important;}
.webhard-logo-text{font-size:29px!important;font-weight:950!important;letter-spacing:-.06em!important;line-height:1!important;color:#111827!important;white-space:nowrap!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.webhard-card-body{padding:18px 20px 16px!important;display:flex!important;flex-direction:column!important;gap:10px!important;flex:1!important;background:#fff!important;}
.webhard-title-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0!important;}
.webhard-name{font-size:17px!important;font-weight:950!important;color:#06152a!important;letter-spacing:-.04em!important;white-space:nowrap!important;}
.webhard-score{font-size:13px!important;color:#06152a!important;white-space:nowrap!important;}
.webhard-score em{font-style:normal!important;color:#e8b400!important;letter-spacing:-.08em!important;font-size:17px!important;vertical-align:-1px!important;}
.webhard-info-line{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:7px!important;align-items:start!important;margin:0!important;color:#23344f!important;font-size:13.5px!important;line-height:1.55!important;}
.webhard-info-line b{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:23px!important;border-radius:999px!important;background:#e7f5ff!important;border:1px solid #84c5eb!important;color:#06293f!important;font-size:13px!important;font-weight:950!important;line-height:1!important;}
.webhard-info-line.review b{background:#fff4d8!important;border-color:#f2c271!important;color:#4d3200!important;}
.webhard-info-line span{min-width:0!important;color:#23344f!important;display:block!important;line-height:1.62!important;}
.webhard-info-line.review span{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
.webhard-go{margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;height:44px!important;border:2px solid #0799b2!important;background:#fff!important;color:#05798d!important;border-radius:9px!important;font-size:15px!important;font-weight:950!important;text-decoration:none!important;letter-spacing:-.03em!important;transition:background .15s ease,color .15s ease,border-color .15s ease!important;}
.webhard-go:hover,.webhard-go:focus{background:#0799b2!important;color:#fff!important;border-color:#0799b2!important;}
.webhard-card:first-child .webhard-go{background:#fff!important;color:#05798d!important;border-color:#0799b2!important;}
.webhard-card:first-child .webhard-go:hover,.webhard-card:first-child .webhard-go:focus{background:#0799b2!important;color:#fff!important;border-color:#0799b2!important;}
@media(max-width:980px){.wrap{max-width:100%!important;padding:30px 30px 48px!important}.webhard-rank-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.webhard-rank-head{display:block!important}.webhard-rank-note{margin-top:8px!important;display:block!important}}
@media(max-width:640px){.wrap{padding:22px 18px 38px!important}.webhard-rank-grid{grid-template-columns:1fr!important;gap:18px!important}.webhard-card{min-height:0!important}.webhard-logo-area{height:120px!important}.webhard-logo-img{max-width:200px!important;max-height:70px!important}.webhard-rank-head h2{font-size:24px!important}.webhard-rank-lead{font-size:15px!important}.webhard-title-row{align-items:flex-start!important;flex-direction:column!important}.webhard-score{font-size:13px!important}.webhard-info-line{grid-template-columns:50px 1fr!important}.webhard-card-body{padding:17px!important}}

/* v20 admin dashboard + working editor refresh */
body.admin-dashboard-body{background:#eef2f8!important;color:#0f172a!important;font-family:'Pretendard','Noto Sans KR',Arial,sans-serif!important;}
body.admin-dashboard-body .admin-side{width:210px!important;background:linear-gradient(180deg,#182044 0%,#111936 100%)!important;padding:18px 10px!important;box-shadow:8px 0 26px rgba(15,23,42,.08)!important;}
body.admin-dashboard-body .admin-side-brand{height:44px!important;margin:0 0 18px!important;padding:0 10px!important;color:#e9e7ff!important;font-size:17px!important;}
body.admin-dashboard-body .admin-nav-group{font-size:11px!important;color:#7d86ac!important;margin:20px 9px 8px!important;letter-spacing:-.02em!important;}
body.admin-dashboard-body .admin-side-nav a{height:40px!important;border-radius:9px!important;padding:0 12px!important;font-size:14px!important;color:#d7dcff!important;transition:.15s ease!important;}
body.admin-dashboard-body .admin-side-nav a:hover,
body.admin-dashboard-body .admin-side-nav a.active{background:#373b87!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)!important;}
body.admin-dashboard-body .admin-main{margin-left:210px!important;padding:30px 34px 70px!important;background:#eef2f8!important;min-height:100vh!important;}
body.admin-dashboard-body .dash-head{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 0 26px!important;}
body.admin-dashboard-body .dash-head h1{font-size:34px!important;font-weight:950!important;color:#0f172a!important;margin:0!important;letter-spacing:-.065em!important;}
body.admin-dashboard-body .dash-head p{font-size:13px!important;color:#667085!important;margin:8px 0 0!important;}
body.admin-dashboard-body .dash-view{background:#fff!important;border:1px solid #dfe6f2!important;border-radius:10px!important;padding:9px 13px!important;color:#344054!important;font-weight:900!important;box-shadow:0 2px 8px rgba(15,23,42,.04)!important;}
body.admin-dashboard-body .dash-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin:0 0 24px!important;}
body.admin-dashboard-body .dash-stat{height:96px!important;background:#fff!important;border:1px solid #dce4f0!important;border-radius:13px!important;box-shadow:0 8px 22px rgba(15,23,42,.035)!important;position:relative!important;overflow:hidden!important;}
body.admin-dashboard-body .dash-stat:before{content:""!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;height:4px!important;background:linear-gradient(90deg,#6366f1,#22d3ee)!important;opacity:.75!important;}
body.admin-dashboard-body .dash-stat strong{font-size:31px!important;color:#6366f1!important;font-weight:950!important;}
body.admin-dashboard-body .dash-stat span{font-size:12px!important;color:#98a2b3!important;font-weight:800!important;}
body.admin-dashboard-body .dash-grid{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(430px,.8fr)!important;gap:18px!important;align-items:start!important;}
body.admin-dashboard-body .dash-card{background:#fff!important;border:1px solid #dce4f0!important;border-radius:13px!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(15,23,42,.035)!important;}
body.admin-dashboard-body .dash-card-head{height:52px!important;padding:0 18px!important;background:#fff!important;border-bottom:1px solid #e3e8f2!important;}
body.admin-dashboard-body .dash-card-head h2{font-size:16px!important;font-weight:950!important;color:#111827!important;}
body.admin-dashboard-body .dash-write{background:#6366f1!important;color:#fff!important;border-radius:8px!important;padding:8px 12px!important;font-size:12px!important;font-weight:950!important;}
body.admin-dashboard-body .dash-table{width:100%!important;border-collapse:collapse!important;font-size:13px!important;table-layout:fixed!important;}
body.admin-dashboard-body .dash-table th{height:42px!important;background:#f7f9fd!important;color:#667085!important;border-bottom:1px solid #e3e8f2!important;font-size:12px!important;font-weight:950!important;padding:0 16px!important;}
body.admin-dashboard-body .dash-table td{height:40px!important;border-bottom:1px solid #edf1f7!important;color:#0f172a!important;padding:0 16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body.admin-dashboard-body .dash-table td a{font-weight:800!important;color:#0f172a!important;}
body.admin-dashboard-body .dash-table em{font-style:normal!important;color:#98a2b3!important;font-size:11px!important;}
body.admin-dashboard-body .admin-page-head{display:block!important;background:#fff!important;border:1px solid #dce4f0!important;border-radius:16px!important;padding:22px 24px!important;margin:0 0 18px!important;box-shadow:0 8px 22px rgba(15,23,42,.035)!important;}
body.admin-dashboard-body .admin-page-head h1{font-size:30px!important;letter-spacing:-.06em!important;margin:8px 0 8px!important;color:#111827!important;}
body.admin-dashboard-body .admin-page-head p{margin:0!important;color:#667085!important;line-height:1.65!important;}
body.admin-dashboard-body .admin-page-head .eyebrow{background:#eef2ff!important;border:1px solid #c7d2fe!important;color:#4f46e5!important;}
body.admin-dashboard-body .admin-editor-layout{display:grid!important;grid-template-columns:minmax(640px,1fr) 420px!important;gap:20px!important;align-items:start!important;}
body.admin-dashboard-body .editor-panel,
body.admin-dashboard-body .live-preview .preview-phone{background:#fff!important;border:1px solid #dce4f0!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(15,23,42,.04)!important;}
body.admin-dashboard-body .editor-panel{padding:22px!important;}
body.admin-dashboard-body .write-form label{font-size:13px!important;color:#344054!important;font-weight:900!important;margin:12px 0!important;}
body.admin-dashboard-body .write-form input,
body.admin-dashboard-body .write-form select{height:46px!important;border:1px solid #d7deea!important;border-radius:10px!important;background:#fff!important;color:#111827!important;}
body.admin-dashboard-body .se-toolbar{display:flex!important;flex-wrap:wrap!important;gap:7px!important;background:#111827!important;border-radius:13px!important;padding:10px!important;margin:14px 0 0!important;position:sticky!important;top:15px!important;z-index:10!important;}
body.admin-dashboard-body .se-toolbar button,
body.admin-dashboard-body .se-toolbar label{height:34px!important;border:1px solid rgba(255,255,255,.13)!important;background:#1f2937!important;color:#fff!important;border-radius:8px!important;padding:0 10px!important;font-size:13px!important;font-weight:850!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;margin:0!important;}
body.admin-dashboard-body .se-toolbar button:hover,
body.admin-dashboard-body .se-toolbar label:hover{background:#374151!important;}
body.admin-dashboard-body .se-toolbar input[type=file]{display:none!important;}
body.admin-dashboard-body .editor{display:block!important;min-height:560px!important;width:100%!important;border:1px solid #d7deea!important;border-radius:14px!important;margin-top:12px!important;padding:24px!important;font-size:16px!important;line-height:1.85!important;background:#fbfcff!important;color:#111827!important;outline:none!important;overflow:auto!important;}
body.admin-dashboard-body .editor:empty:before{content:'본문을 입력하세요';color:#98a2b3;}
body.admin-dashboard-body .editor:focus{background:#fff!important;border-color:#6366f1!important;box-shadow:0 0 0 4px rgba(99,102,241,.12)!important;}
body.admin-dashboard-body .editor h2{font-size:28px!important;margin:0 0 12px!important;}
body.admin-dashboard-body .editor h3{font-size:22px!important;margin:20px 0 8px!important;}
body.admin-dashboard-body .editor blockquote{border-left:5px solid #6366f1!important;background:#eef2ff!important;color:#312e81!important;padding:12px 16px!important;border-radius:10px!important;margin:14px 0!important;}
body.admin-dashboard-body .editor table{width:100%!important;border-collapse:collapse!important;margin:14px 0!important;}
body.admin-dashboard-body .editor th,
body.admin-dashboard-body .editor td{border:1px solid #e5e7eb!important;padding:10px!important;text-align:left!important;}
body.admin-dashboard-body .editor th{background:#111827!important;color:#fff!important;}
body.admin-dashboard-body .editor img{max-width:100%!important;height:auto!important;border-radius:12px!important;}
body.admin-dashboard-body .submit-row{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin-top:14px!important;}
body.admin-dashboard-body .submit-btn{background:#6366f1!important;border-radius:10px!important;box-shadow:0 10px 20px rgba(99,102,241,.22)!important;}
body.admin-dashboard-body .ghost-btn{border-radius:10px!important;background:#fff!important;}
body.admin-dashboard-body .live-preview{position:sticky!important;top:18px!important;}
body.admin-dashboard-body .preview-phone{background:#0b1020!important;padding:12px!important;}
body.admin-dashboard-body .preview-top{height:38px!important;color:#e5e7eb!important;border-bottom:1px solid rgba(255,255,255,.08)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-weight:950!important;}
body.admin-dashboard-body .preview-body{display:block!important;background:#fff!important;color:#111827!important;border-radius:13px!important;min-height:560px!important;max-height:720px!important;padding:22px!important;overflow:auto!important;line-height:1.85!important;}
@media(max-width:1200px){body.admin-dashboard-body .admin-editor-layout{grid-template-columns:1fr!important;}body.admin-dashboard-body .live-preview{position:static!important;}body.admin-dashboard-body .dash-grid{grid-template-columns:1fr!important;}body.admin-dashboard-body .dash-stats{grid-template-columns:repeat(2,1fr)!important;}}
@media(max-width:700px){body.admin-dashboard-body .admin-main{margin-left:0!important;padding:18px!important;}body.admin-dashboard-body .admin-side{position:static!important;width:auto!important;}body.admin-dashboard-body .dash-stats{grid-template-columns:1fr!important;}body.admin-dashboard-body .form-grid{grid-template-columns:1fr!important;}body.admin-dashboard-body .submit-row{flex-direction:column!important;}body.admin-dashboard-body .submit-row>*{width:100%!important;}}

/* v21 실제 게시판 연동 대시보드 보정 */
.admin-dashboard-body .dash-grid{grid-template-columns:1.15fr 1fr!important;align-items:start!important;}
.admin-dashboard-body .dash-card-wide{grid-column:auto!important;}
.admin-dashboard-body .dash-table a{color:#111827;text-decoration:none;font-weight:800;}
.admin-dashboard-body .dash-table a:hover{color:#6c63ff;}
@media(max-width:1100px){.admin-dashboard-body .dash-grid{grid-template-columns:1fr!important}.admin-dashboard-body .dash-card-wide{grid-column:auto!important}}


/* v23 관리자 로그인 팝업 */
.admin-login-open{background:transparent;border:0;color:inherit;font:inherit;font-weight:800;cursor:pointer;padding:0;text-decoration:none}
.admin-login-open:hover{color:#0799b2}
.admin-login-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:24px}
.admin-login-modal.is-open{display:flex}
.admin-login-backdrop{position:absolute;inset:0;background:rgba(3,7,18,.72);backdrop-filter:blur(7px)}
.admin-login-box{position:relative;width:min(420px,calc(100vw - 36px));background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid rgba(203,213,225,.9);border-radius:24px;box-shadow:0 30px 80px rgba(2,6,23,.35);padding:34px 30px 30px;text-align:center;animation:adminLoginPop .18s ease-out;color:#0f172a}
@keyframes adminLoginPop{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.admin-login-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:999px;background:#eef2f7;color:#475569;font-size:22px;line-height:1;cursor:pointer}
.admin-login-close:hover{background:#e2e8f0;color:#0f172a}
.admin-login-icon{width:62px;height:62px;margin:0 auto 14px;border-radius:20px;background:linear-gradient(135deg,#6366f1,#06b6d4);display:flex;align-items:center;justify-content:center;font-size:30px;box-shadow:0 14px 34px rgba(99,102,241,.28)}
.admin-login-box h2{margin:0 0 8px;font-size:26px;font-weight:950;letter-spacing:-.06em;color:#0f172a}
.admin-login-box p{margin:0 0 20px;color:#64748b;font-size:14px;line-height:1.65}
.admin-login-error{margin:0 0 14px;padding:11px 12px;border-radius:12px;background:#fff1f2;border:1px solid #fecdd3;color:#be123c;font-size:13px;font-weight:900}
.admin-login-popup-form{display:grid;gap:12px;text-align:left}
.admin-login-popup-form label{display:grid;gap:7px;color:#334155;font-size:13px;font-weight:900}
.admin-login-popup-form input{height:48px;border:1px solid #d7deea;border-radius:12px;background:#fff;color:#0f172a;padding:0 14px;font-size:15px;outline:none;box-sizing:border-box;width:100%}
.admin-login-popup-form input:focus{border-color:#6366f1;box-shadow:0 0 0 4px rgba(99,102,241,.13)}
.admin-login-popup-form button{height:50px;margin-top:6px;border:0;border-radius:13px;background:linear-gradient(135deg,#6366f1,#06b6d4);color:#fff;font-size:16px;font-weight:950;cursor:pointer;box-shadow:0 15px 28px rgba(99,102,241,.24)}
.admin-login-popup-form button:hover{filter:brightness(1.05)}
body.login-modal-lock{overflow:hidden}

/* v25 board write/category visibility */
.board-hero .write-cta{display:inline-flex;align-items:center;justify-content:center;min-width:110px;height:44px;padding:0 18px;border-radius:999px;background:#111827;color:#fff!important;text-decoration:none;font-weight:900;box-shadow:0 10px 22px rgba(15,23,42,.16)}
.write-form select{appearance:auto;background:#fff;}


/* v26 board write button - admin logged-in only, force visible when rendered */
.write-cta-visible{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:116px!important;
  height:44px!important;
  padding:0 20px!important;
  border-radius:999px!important;
  background:#0799b2!important;
  color:#fff!important;
  font-weight:900!important;
  text-decoration:none!important;
  box-shadow:0 10px 22px rgba(7,153,178,.18)!important;
}
.write-cta-visible:hover{background:#05798d!important;color:#fff!important;}
.board-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;}
@media(max-width:720px){.board-hero{display:block!important}.write-cta-visible{margin-top:16px!important;width:100%!important}}

/* v27 관리자 로그아웃 + 세션 유지 보강 UI */
body.admin-dashboard-body .admin-user-box{
  margin:0 8px 18px!important;
  padding:12px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.07)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
body.admin-dashboard-body .admin-user-box b{display:block!important;color:#fff!important;font-size:13px!important;line-height:1.1!important;}
body.admin-dashboard-body .admin-user-box span{display:block!important;color:#aeb7e7!important;font-size:11px!important;margin-top:4px!important;}
body.admin-dashboard-body .admin-logout-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:30px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  background:#ff4d67!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.admin-dashboard-body .admin-logout-btn:hover{background:#e93451!important;}
body.admin-dashboard-body .admin-topbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin:-6px 0 22px!important;
  padding:14px 18px!important;
  border:1px solid #dde6f3!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(15,23,42,.04)!important;
}
body.admin-dashboard-body .admin-topbar-title{font-size:15px!important;font-weight:950!important;color:#111827!important;}
body.admin-dashboard-body .admin-topbar-actions{display:flex!important;gap:8px!important;align-items:center!important;}
body.admin-dashboard-body .admin-topbar-actions a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;height:34px!important;padding:0 12px!important;border-radius:9px!important;background:#f6f8fc!important;border:1px solid #dfe6f2!important;color:#344054!important;text-decoration:none!important;font-weight:900!important;font-size:13px!important;
}
body.admin-dashboard-body .admin-topbar-actions a.logout{background:#ff4d67!important;border-color:#ff4d67!important;color:#fff!important;}
@media(max-width:700px){body.admin-dashboard-body .admin-topbar{align-items:flex-start!important;flex-direction:column!important;}body.admin-dashboard-body .admin-topbar-actions{width:100%!important;}body.admin-dashboard-body .admin-topbar-actions a{flex:1!important;}}

/* admin settings/main link v28 */
.admin-quick-links{display:grid;gap:12px;margin-top:10px}
.admin-quick-links a{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-radius:14px;background:#f8fafc;border:1px solid #dbe4ef;color:#0f172a;text-decoration:none;font-weight:900;transition:.16s ease}
.admin-quick-links a:hover{background:#0f766e;color:#fff;border-color:#0f766e;transform:translateY(-1px)}
.admin-help-text{margin:18px 0 0;color:#64748b;line-height:1.7;font-size:14px}
.admin-help-text code{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;padding:2px 6px;color:#0f172a}


/* v30 board write click fix */
.board-hero{position:relative!important;overflow:hidden!important;}
.board-hero:before,.board-hero:after{pointer-events:none!important;}
.board-hero > *{position:relative!important;z-index:2!important;}
.board-hero .write-cta,.write-cta-visible{position:relative!important;z-index:999!important;pointer-events:auto!important;cursor:pointer!important;}


/* v32 editable site settings */
.settings-form-card{display:grid;gap:18px;max-width:1120px}
.settings-card{overflow:hidden!important}
.settings-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px}
.settings-form-grid label{display:block;color:#344054;font-size:13px;font-weight:950;line-height:1.4}
.settings-form-grid label small{display:block;margin-top:3px;color:#94a3b8;font-weight:800}
.settings-form-grid label.full{grid-column:1/-1}
.settings-form-grid input,.settings-form-grid textarea{width:100%;margin-top:8px;border:1px solid #d7dce7;border-radius:12px;background:#fff;color:#111827;padding:12px 13px;font-size:14px;line-height:1.55;outline:none;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.settings-form-grid input:focus,.settings-form-grid textarea:focus{border-color:#6768f5;box-shadow:0 0 0 4px rgba(103,104,245,.12)}
.color-input-row{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:center;margin-top:8px}.color-input-row input{margin-top:0!important}.color-input-row input[type=color]{height:45px;padding:4px;cursor:pointer}
.settings-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-bottom:28px}.settings-actions .submit-btn,.settings-actions .ghost-btn{min-width:132px;height:44px;text-decoration:none}
.admin-alert{border-radius:14px;padding:14px 16px;margin:0 0 16px;font-weight:900}.admin-alert.success{background:#ecfdf5;border:1px solid #a7f3d0;color:#047857}.admin-alert.error{background:#fff1f2;border:1px solid #fecdd3;color:#be123c}
.settings-preview{margin:20px;border:1px solid #e2e8f0;border-radius:18px;background:linear-gradient(135deg,#fff,#f8fafc);padding:24px}.preview-brand{display:flex;align-items:center;gap:12px}.preview-brand span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--preview-color);color:#fff;font-weight:950}.preview-brand b{font-size:22px;letter-spacing:-.05em;color:#111827}.settings-preview p{color:#64748b;line-height:1.8;margin:14px 0}.settings-preview a{display:inline-flex;background:var(--preview-color);color:#fff;border-radius:999px;padding:10px 14px;font-weight:950;text-decoration:none}
@media(max-width:760px){.settings-form-grid{grid-template-columns:1fr;padding:16px}.settings-actions{justify-content:stretch;flex-direction:column}.settings-actions .submit-btn,.settings-actions .ghost-btn{width:100%}}

/* ===============================
   v33 CLEAN UI OVERRIDE
   관리자/사이트 설정/게시판 CSS 정리
   =============================== */
:root{
  --adm-bg:#f3f6fb;
  --adm-panel:#ffffff;
  --adm-ink:#111827;
  --adm-muted:#667085;
  --adm-line:#e4eaf3;
  --adm-brand:#6366f1;
  --adm-brand2:#06b6d4;
  --adm-danger:#ef4444;
  --adm-radius:18px;
  --adm-shadow:0 14px 38px rgba(15,23,42,.08);
}
body.admin-dashboard-body{
  margin:0!important;
  background:linear-gradient(180deg,#eef3fb 0%,#f8fafc 100%)!important;
  color:var(--adm-ink)!important;
  font-family:'Pretendard','Noto Sans KR',Arial,sans-serif!important;
  min-height:100vh!important;
}
body.admin-dashboard-body .admin-side{
  position:fixed!important;
  left:20px!important;
  top:20px!important;
  bottom:20px!important;
  width:260px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#111827 0%,#172033 100%)!important;
  box-shadow:0 22px 60px rgba(15,23,42,.26)!important;
  padding:18px 14px!important;
  overflow:auto!important;
  z-index:1000!important;
}
body.admin-dashboard-body .admin-side-brand{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px 12px 18px!important;
  color:#fff!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(255,255,255,.09)!important;
  margin-bottom:14px!important;
}
body.admin-dashboard-body .admin-side-brand span{
  width:42px!important;height:42px!important;border-radius:14px!important;
  display:grid!important;place-items:center!important;
  background:linear-gradient(135deg,var(--adm-brand),var(--adm-brand2))!important;
  box-shadow:0 12px 24px rgba(99,102,241,.35)!important;
}
body.admin-dashboard-body .admin-side-brand b{font-size:17px!important;font-weight:950!important;letter-spacing:-.04em!important;}
body.admin-dashboard-body .admin-nav-group{
  margin:18px 10px 8px!important;
  color:#94a3b8!important;
  font-size:11px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
}
body.admin-dashboard-body .admin-side-nav a{
  display:flex!important;align-items:center!important;gap:11px!important;
  height:42px!important;
  padding:0 12px!important;
  border-radius:13px!important;
  color:#cbd5e1!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:850!important;
  transition:.16s ease!important;
}
body.admin-dashboard-body .admin-side-nav a span{width:21px!important;text-align:center!important;}
body.admin-dashboard-body .admin-side-nav a:hover,
body.admin-dashboard-body .admin-side-nav a.active{
  background:rgba(255,255,255,.11)!important;
  color:#fff!important;
  transform:translateX(2px)!important;
}
body.admin-dashboard-body .admin-user-box{
  margin:4px 2px 16px!important;
  padding:13px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.1)!important;
}
body.admin-dashboard-body .admin-main{
  margin-left:300px!important;
  padding:22px 26px 60px!important;
  max-width:calc(100vw - 300px)!important;
  box-sizing:border-box!important;
}
body.admin-dashboard-body .admin-topbar{
  position:sticky!important;
  top:16px!important;
  z-index:900!important;
  height:62px!important;
  margin:0 0 24px!important;
  padding:0 18px!important;
  border:1px solid rgba(226,232,240,.9)!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.86)!important;
  backdrop-filter:blur(16px)!important;
  box-shadow:0 10px 30px rgba(15,23,42,.06)!important;
}
body.admin-dashboard-body .admin-topbar-title{font-size:17px!important;font-weight:950!important;color:#111827!important;}
body.admin-dashboard-body .admin-topbar-actions a{
  height:38px!important;
  padding:0 14px!important;
  border-radius:12px!important;
  background:#fff!important;
  border:1px solid var(--adm-line)!important;
  color:#334155!important;
  font-weight:900!important;
}
body.admin-dashboard-body .admin-topbar-actions a:hover{border-color:#6366f1!important;color:#4338ca!important;box-shadow:0 8px 18px rgba(99,102,241,.12)!important;}
body.admin-dashboard-body .admin-topbar-actions a.logout{background:#fff1f2!important;border-color:#fecdd3!important;color:#be123c!important;}
body.admin-dashboard-body .admin-topbar-actions a.logout:hover{background:#ef4444!important;border-color:#ef4444!important;color:#fff!important;}
body.admin-dashboard-body .dash-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0 0 22px!important;
  padding:28px!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f5f8ff 55%,#eefbff 100%)!important;
  border:1px solid rgba(226,232,240,.95)!important;
  box-shadow:var(--adm-shadow)!important;
}
body.admin-dashboard-body .dash-head h1{
  margin:0 0 8px!important;
  font-size:34px!important;
  line-height:1.2!important;
  letter-spacing:-.07em!important;
  color:#0f172a!important;
  font-weight:950!important;
}
body.admin-dashboard-body .dash-head p{
  margin:0!important;
  color:#64748b!important;
  font-size:15px!important;
  line-height:1.7!important;
}
body.admin-dashboard-body .dash-view,
body.admin-dashboard-body .submit-btn,
body.admin-dashboard-body .ghost-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  border-radius:14px!important;
  padding:0 18px!important;
  text-decoration:none!important;
  font-weight:950!important;
  border:0!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
body.admin-dashboard-body .dash-view,
body.admin-dashboard-body .submit-btn{
  background:linear-gradient(135deg,var(--adm-brand),var(--adm-brand2))!important;
  color:#fff!important;
  box-shadow:0 14px 26px rgba(99,102,241,.22)!important;
}
body.admin-dashboard-body .ghost-btn{background:#fff!important;color:#334155!important;border:1px solid var(--adm-line)!important;}
body.admin-dashboard-body .dash-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:18px!important;}
body.admin-dashboard-body .stat-card,
body.admin-dashboard-body .dash-card,
body.admin-dashboard-body .settings-card{
  background:#fff!important;
  border:1px solid rgba(226,232,240,.95)!important;
  border-radius:22px!important;
  box-shadow:0 12px 30px rgba(15,23,42,.06)!important;
  overflow:hidden!important;
}
body.admin-dashboard-body .stat-card{grid-column:span 3!important;padding:22px!important;}
body.admin-dashboard-body .stat-card b{display:block!important;font-size:30px!important;letter-spacing:-.05em!important;color:#0f172a!important;}
body.admin-dashboard-body .stat-card span{display:block!important;margin-top:6px!important;color:#64748b!important;font-size:13px!important;font-weight:900!important;}
body.admin-dashboard-body .dash-card-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  padding:18px 22px!important;
  border-bottom:1px solid #edf2f7!important;
  background:linear-gradient(180deg,#ffffff,#fbfdff)!important;
}
body.admin-dashboard-body .dash-card-head h2{margin:0!important;font-size:18px!important;font-weight:950!important;letter-spacing:-.04em!important;color:#0f172a!important;}
body.admin-dashboard-body .dash-card{grid-column:span 6!important;}
body.admin-dashboard-body .dash-card-wide{grid-column:1/-1!important;}
body.admin-dashboard-body .dash-table{width:100%!important;border-collapse:collapse!important;}
body.admin-dashboard-body .dash-table th,
body.admin-dashboard-body .dash-table td{padding:15px 18px!important;border-bottom:1px solid #edf2f7!important;text-align:left!important;font-size:14px!important;}
body.admin-dashboard-body .dash-table th{background:#f8fafc!important;color:#475569!important;font-size:12px!important;font-weight:950!important;letter-spacing:.04em!important;}
body.admin-dashboard-body .dash-table tr:hover td{background:#fbfdff!important;}
body.admin-dashboard-body .settings-form-card{
  max-width:1180px!important;
  display:grid!important;
  gap:20px!important;
}
body.admin-dashboard-body .settings-form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px!important;
  padding:24px!important;
}
body.admin-dashboard-body .settings-form-grid label{
  display:block!important;
  color:#344054!important;
  font-size:13px!important;
  font-weight:950!important;
}
body.admin-dashboard-body .settings-form-grid label.full{grid-column:1/-1!important;}
body.admin-dashboard-body .settings-form-grid input,
body.admin-dashboard-body .settings-form-grid textarea,
body.admin-dashboard-body .settings-form-grid select,
body.admin-dashboard-body .write-form input,
body.admin-dashboard-body .write-form textarea,
body.admin-dashboard-body .write-form select{
  width:100%!important;
  margin-top:8px!important;
  border:1px solid #dbe4ef!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#111827!important;
  padding:13px 15px!important;
  font-size:14px!important;
  line-height:1.6!important;
  outline:none!important;
  box-shadow:0 1px 2px rgba(15,23,42,.03)!important;
  transition:border-color .15s ease, box-shadow .15s ease!important;
}
body.admin-dashboard-body .settings-form-grid input:focus,
body.admin-dashboard-body .settings-form-grid textarea:focus,
body.admin-dashboard-body .write-form input:focus,
body.admin-dashboard-body .write-form textarea:focus{
  border-color:#6366f1!important;
  box-shadow:0 0 0 4px rgba(99,102,241,.13)!important;
}
body.admin-dashboard-body .settings-form-grid textarea{min-height:110px!important;resize:vertical!important;}
body.admin-dashboard-body .color-input-row{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;}
body.admin-dashboard-body .color-input-row input[type=color]{height:50px!important;padding:5px!important;}
body.admin-dashboard-body .settings-preview{
  margin:24px!important;
  padding:28px!important;
  border-radius:22px!important;
  border:1px solid #e2e8f0!important;
  background:radial-gradient(circle at 0% 0%, color-mix(in srgb,var(--preview-color) 18%,#fff) 0%, #fff 40%, #f8fafc 100%)!important;
}
body.admin-dashboard-body .preview-brand span{width:52px!important;height:52px!important;border-radius:16px!important;}
body.admin-dashboard-body .preview-brand b{font-size:25px!important;}
body.admin-dashboard-body .settings-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  padding-bottom:20px!important;
}
body.admin-dashboard-body .admin-alert{border-radius:16px!important;padding:15px 18px!important;margin:0 0 18px!important;font-weight:950!important;box-shadow:0 8px 18px rgba(15,23,42,.04)!important;}
body.admin-dashboard-body .admin-alert.success{background:#ecfdf5!important;border:1px solid #a7f3d0!important;color:#047857!important;}
body.admin-dashboard-body .admin-alert.error{background:#fff1f2!important;border:1px solid #fecdd3!important;color:#be123c!important;}
body.admin-dashboard-body .write-form,
body.admin-dashboard-body .admin-form{
  max-width:1120px!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-radius:24px!important;
  padding:24px!important;
  box-shadow:var(--adm-shadow)!important;
}
body.admin-dashboard-body .editor-toolbar{
  display:flex!important;flex-wrap:wrap!important;gap:8px!important;
  padding:12px!important;margin:10px 0!important;
  background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:16px!important;
}
body.admin-dashboard-body .editor-toolbar button{
  height:36px!important;border:1px solid #dbe4ef!important;border-radius:10px!important;background:#fff!important;color:#334155!important;font-weight:900!important;cursor:pointer!important;padding:0 12px!important;
}
body.admin-dashboard-body .editor-toolbar button:hover{background:#6366f1!important;color:#fff!important;border-color:#6366f1!important;}
@media(max-width:1100px){
  body.admin-dashboard-body .admin-side{position:relative!important;left:auto!important;top:auto!important;bottom:auto!important;width:auto!important;margin:14px!important;}
  body.admin-dashboard-body .admin-main{margin-left:0!important;max-width:none!important;padding:14px!important;}
  body.admin-dashboard-body .stat-card{grid-column:span 6!important;}
  body.admin-dashboard-body .dash-card{grid-column:1/-1!important;}
}
@media(max-width:720px){
  body.admin-dashboard-body .dash-head{display:block!important;padding:22px!important;}
  body.admin-dashboard-body .dash-head h1{font-size:28px!important;}
  body.admin-dashboard-body .dash-view{margin-top:14px!important;width:100%!important;}
  body.admin-dashboard-body .settings-form-grid{grid-template-columns:1fr!important;padding:18px!important;}
  body.admin-dashboard-body .stat-card{grid-column:1/-1!important;}
  body.admin-dashboard-body .settings-actions{flex-direction:column!important;align-items:stretch!important;}
  body.admin-dashboard-body .settings-actions .submit-btn,
  body.admin-dashboard-body .settings-actions .ghost-btn{width:100%!important;}
}

/* v34 관리자 순위 드래그 정렬 */
body.admin-dashboard-body .rank-drag-admin{overflow:visible!important;padding-bottom:18px!important;}
body.admin-dashboard-body .rank-drag-head{height:auto!important;min-height:70px!important;padding:16px 18px!important;gap:14px!important;align-items:flex-start!important;}
body.admin-dashboard-body .rank-drag-head h2{margin:0 0 6px!important;}
body.admin-dashboard-body .rank-drag-help{margin:0!important;color:#6b7280!important;font-size:13px!important;font-weight:700!important;}
body.admin-dashboard-body .rank-drag-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;}
body.admin-dashboard-body .rank-save-btn{border:0!important;cursor:pointer!important;}
body.admin-dashboard-body .rank-save-btn.need-save{background:#16a34a!important;box-shadow:0 8px 18px rgba(22,163,74,.22)!important;}
body.admin-dashboard-body .rank-save-btn:disabled{opacity:.65!important;cursor:wait!important;}
body.admin-dashboard-body .rank-save-message{margin:14px 18px 0!important;border-radius:10px!important;padding:11px 14px!important;font-size:13px!important;font-weight:900!important;}
body.admin-dashboard-body .rank-save-message.ok{background:#ecfdf5!important;color:#047857!important;border:1px solid #bbf7d0!important;}
body.admin-dashboard-body .rank-save-message.bad{background:#fef2f2!important;color:#b91c1c!important;border:1px solid #fecaca!important;}
body.admin-dashboard-body .rank-drag-list{display:flex!important;flex-direction:column!important;gap:10px!important;padding:18px!important;}
body.admin-dashboard-body .rank-drag-row{display:grid!important;grid-template-columns:42px 62px 140px minmax(240px,1fr) 210px 72px!important;align-items:center!important;gap:14px!important;min-height:86px!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:14px!important;padding:13px 15px!important;box-shadow:0 6px 18px rgba(15,23,42,.045)!important;cursor:grab!important;user-select:none!important;transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease!important;}
body.admin-dashboard-body .rank-drag-row:hover{border-color:#b9c6dd!important;background:#fbfdff!important;box-shadow:0 10px 26px rgba(15,23,42,.08)!important;}
body.admin-dashboard-body .rank-drag-row.is-dragging{opacity:.55!important;transform:scale(.985)!important;cursor:grabbing!important;border-color:#6c63ff!important;background:#f5f7ff!important;}
body.admin-dashboard-body .rank-drag-handle{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border-radius:11px!important;background:#f1f5f9!important;color:#64748b!important;font-size:22px!important;font-weight:950!important;cursor:grab!important;}
body.admin-dashboard-body .rank-drag-number{display:flex!important;align-items:baseline!important;justify-content:center!important;gap:2px!important;width:58px!important;height:58px!important;border-radius:16px!important;background:linear-gradient(135deg,#111827,#334155)!important;color:#fff!important;}
body.admin-dashboard-body .rank-drag-number b{font-size:26px!important;line-height:58px!important;font-weight:950!important;}
body.admin-dashboard-body .rank-drag-number span{font-size:12px!important;font-weight:950!important;}
body.admin-dashboard-body .rank-drag-logo{height:52px!important;border:1px solid #edf2f7!important;border-radius:12px!important;background:#f8fafc!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:7px!important;overflow:hidden!important;}
body.admin-dashboard-body .rank-drag-logo img{max-width:120px!important;max-height:38px!important;display:block!important;}
body.admin-dashboard-body .rank-drag-logo strong{font-size:22px!important;color:#111827!important;}
body.admin-dashboard-body .rank-drag-info strong{display:block!important;font-size:17px!important;color:#111827!important;font-weight:950!important;line-height:1.2!important;}
body.admin-dashboard-body .rank-drag-info em{display:block!important;margin-top:4px!important;font-style:normal!important;color:#94a3b8!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body.admin-dashboard-body .rank-drag-info p{margin:7px 0 0!important;color:#475569!important;font-size:13px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body.admin-dashboard-body .rank-drag-meta{display:flex!important;align-items:center!important;gap:8px!important;justify-content:flex-start!important;flex-wrap:wrap!important;}
body.admin-dashboard-body .rank-drag-meta .rank-score{font-size:13px!important;font-weight:950!important;color:#f59e0b!important;}
body.admin-dashboard-body .rank-drag-row .mini-btn{justify-content:center!important;text-align:center!important;}
@media(max-width:1200px){body.admin-dashboard-body .rank-drag-row{grid-template-columns:42px 56px 110px minmax(180px,1fr) 150px 70px!important;gap:10px!important;}}
@media(max-width:820px){body.admin-dashboard-body .rank-drag-row{grid-template-columns:38px 54px 1fr 70px!important;}body.admin-dashboard-body .rank-drag-logo,body.admin-dashboard-body .rank-drag-meta{display:none!important;}body.admin-dashboard-body .rank-drag-head{flex-direction:column!important;}body.admin-dashboard-body .rank-drag-actions{width:100%!important;}body.admin-dashboard-body .rank-drag-actions .dash-write{flex:1!important;text-align:center!important;}}


/* v36 write editor full width - preview removed */
.editor-wrap{max-width:1180px!important;margin:0 auto!important;padding-left:24px!important;padding-right:24px!important;}
.editor-layout{display:block!important;width:100%!important;max-width:none!important;}
.admin-editor-layout{display:block!important;width:100%!important;max-width:none!important;}
body.admin-dashboard-body .admin-editor-layout{display:block!important;grid-template-columns:none!important;width:100%!important;max-width:none!important;}
.editor-panel{width:100%!important;max-width:none!important;box-sizing:border-box!important;}
body.admin-dashboard-body .editor-panel{width:100%!important;max-width:none!important;box-sizing:border-box!important;}
.live-preview,.preview-phone,.preview-body,#livePreview{display:none!important;}
.editor{min-height:760px!important;font-size:17px!important;line-height:1.9!important;padding:30px!important;}
body.admin-dashboard-body .editor{min-height:760px!important;font-size:17px!important;line-height:1.9!important;padding:30px!important;background:#fbfcff!important;border:1px solid #d7dce5!important;border-radius:18px!important;}
.write-form input[name=title]{height:58px!important;font-size:18px!important;font-weight:800!important;}
.toolbar,.se-toolbar{position:sticky!important;top:0!important;z-index:20!important;}
.submit-row{justify-content:flex-end!important;margin-top:18px!important;}
@media(max-width:760px){.editor-wrap{padding-left:14px!important;padding-right:14px!important}.editor{min-height:560px!important;padding:18px!important}.submit-row{flex-direction:column!important}.submit-row>*{width:100%!important}}


/* v37 글쓰기 폭 최종 보정 */
main > .wrap.editor-wrap,.wrap.editor-wrap{width:min(100% - 48px,1280px)!important;max-width:1280px!important;margin:0 auto!important;padding:42px 24px 64px!important;background:transparent!important;box-sizing:border-box!important}
.wrap.editor-wrap .editor-layout{display:block!important;width:100%!important;max-width:none!important}
.wrap.editor-wrap .editor-panel{width:100%!important;max-width:none!important;padding:34px!important;box-sizing:border-box!important}
.wrap.editor-wrap .write-form{width:100%!important;max-width:none!important}
.wrap.editor-wrap .editor{width:100%!important;min-height:760px!important;box-sizing:border-box!important}
.wrap.editor-wrap .live-preview,.wrap.editor-wrap .preview-phone,.wrap.editor-wrap .preview-body,.wrap.editor-wrap #livePreview{display:none!important}
body.admin-dashboard-body .admin-editor-layout{display:block!important;grid-template-columns:none!important;width:100%!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important}
body.admin-dashboard-body .admin-editor-layout .editor-panel,body.admin-dashboard-body .admin-editor-layout .write-form{width:100%!important;max-width:none!important;box-sizing:border-box!important}
body.admin-dashboard-body .admin-editor-layout .editor{width:100%!important;min-height:760px!important;box-sizing:border-box!important}
body.admin-dashboard-body .admin-editor-layout .live-preview,body.admin-dashboard-body .admin-editor-layout .preview-phone,body.admin-dashboard-body .admin-editor-layout .preview-body,body.admin-dashboard-body .admin-editor-layout #livePreview{display:none!important}
@media(max-width:760px){main > .wrap.editor-wrap,.wrap.editor-wrap{width:100%!important;padding:22px 14px 42px!important}.wrap.editor-wrap .editor-panel{padding:20px!important}.wrap.editor-wrap .form-grid,body.admin-dashboard-body .admin-editor-layout .form-grid{grid-template-columns:1fr!important}.wrap.editor-wrap .editor,body.admin-dashboard-body .admin-editor-layout .editor{min-height:560px!important}}

/* v41 real image upload: file input is uploaded by AJAX, not saved as base64 in content */
.toolbar .upload-toolbar-btn,.se-toolbar .upload-toolbar-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.12);background:#1f2937;color:#fff;border-radius:11px;padding:9px 11px;font-weight:850;cursor:pointer;line-height:1;font-size:14px}
.toolbar .upload-toolbar-btn:hover,.se-toolbar .upload-toolbar-btn:hover{background:#374151}
.toolbar .upload-toolbar-btn input,.se-toolbar .upload-toolbar-btn input{display:none!important}
.editor img,.post-content img,.preview-body img{max-width:100%;height:auto;border-radius:14px;display:block;margin:10px 0}


/* v40 editor upload button polish + 413 prevention UI */
.toolbar .upload-toolbar-btn,
.se-toolbar .upload-toolbar-btn{
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  min-height:39px!important;padding:9px 13px!important;border-radius:12px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:linear-gradient(135deg,#2563eb,#7c3aed)!important;color:#fff!important;
  font-size:14px!important;font-weight:950!important;line-height:1!important;cursor:pointer!important;
  box-shadow:0 8px 18px rgba(37,99,235,.22)!important;transition:.16s ease!important;
}
.toolbar .upload-toolbar-btn:hover,
.se-toolbar .upload-toolbar-btn:hover{transform:translateY(-1px)!important;filter:brightness(1.08)!important;box-shadow:0 12px 24px rgba(37,99,235,.3)!important;}
.toolbar .upload-toolbar-btn.is-uploading,
.se-toolbar .upload-toolbar-btn.is-uploading{opacity:.78!important;pointer-events:none!important;filter:saturate(.6)!important;}
.toolbar .upload-toolbar-btn input,
.se-toolbar .upload-toolbar-btn input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important;}
.upload-icon{display:inline-grid!important;place-items:center!important;width:20px!important;height:20px!important;border-radius:999px!important;background:rgba(255,255,255,.22)!important;font-size:17px!important;font-weight:950!important;line-height:1!important;}
.upload-text{white-space:nowrap!important;}
.editor img{display:block!important;margin:14px auto!important;max-width:100%!important;height:auto!important;border-radius:16px!important;box-shadow:0 10px 24px rgba(15,23,42,.12)!important;}
.editor p:has(img){text-align:center!important;}
