:root{
    --bg:#0a0a0a;
    --bg2:#111111;
    --bg3:#171717;
    --panel:#151515;
    --panel2:#1c1c1c;
    --line:#303030;
    --line-soft:rgba(255,255,255,.08);
    --text:#f5f5f5;
    --muted:#b8b8b8;
    --gold:#ffca28;
    --gold-deep:#e0a800;
    --gold-soft:rgba(255,202,40,.14);
    --danger:#d84e4e;
    --shadow:0 20px 60px rgba(0,0,0,.35);
    --radius:18px;
    --font-ui:"Pretendard Variable","Pretendard","Noto Sans KR","Malgun Gothic","Apple SD Gothic Neo","Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
    font-family:var(--font-ui);
    background:#090909;
    color:var(--text);
    line-height:1.55;
    overflow-x:hidden;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
button,input,textarea,select{font:inherit;}
body,button,input,textarea,select,table,th,td,a{word-break:keep-all;}
.brand,.app-brand__text strong,.hero-copy h1,.panel-header h1,.panel-header h2,.sidebar-link,.nav-link,.btn{letter-spacing:-0.02em;}
textarea{resize:vertical;}
.container{
    width:min(1280px, calc(100% - 32px));
    margin:0 auto;
}
.site-shell{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}
.page-content{flex:1;}

.top-header{
    background:#000;
    border-bottom:1px solid rgba(255,255,255,.06);
    position:sticky;
    top:0;
    z-index:50;
    backdrop-filter:blur(10px);
}
.top-header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:84px;
    gap:20px;
}
.brand{
    display:flex;
    align-items:center;
    gap:16px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
    min-width:0;
}
.brand img{
    width:46px;
    height:46px;
    object-fit:contain;
    flex:0 0 auto;
}
.brand span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.top-actions{
    display:flex;
    align-items:center;
    gap:14px;
    white-space:nowrap;
    flex-wrap:wrap;
    justify-content:flex-end;
}
.welcome-text{color:var(--muted);}
.text-link{color:#fff;opacity:.9;}
.text-link:hover{color:var(--gold);}
.mobile-menu-toggle{
    display:none;
    background:transparent;
    color:#fff;
    border:1px solid var(--line);
    border-radius:12px;
    padding:10px 14px;
}
.main-nav{
    background:linear-gradient(180deg, #202020, #181818);
    border-bottom:1px solid rgba(255,255,255,.06);
}
.nav-inner{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px 14px;
    min-height:56px;
    padding:6px 0;
}
.nav-link{
    padding:12px 10px;
    color:#f8f8f8;
    font-weight:700;
    white-space:nowrap;
    border-radius:10px;
}
.nav-link:hover,.nav-link.is-active{
    color:var(--gold);
    background:rgba(255,255,255,.03);
}
.nav-muted{margin-left:auto;color:var(--muted);}
.admin-subnav{
    background:#111;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.admin-subnav-inner{
    display:flex;
    gap:10px;
    overflow:auto;
    min-height:48px;
    align-items:center;
}
.admin-subnav-link{
    white-space:nowrap;
    padding:10px 14px;
    background:#1a1a1a;
    border:1px solid #272727;
    border-radius:999px;
    color:#fff;
}
.admin-subnav-link:hover{
    border-color:var(--gold);
    color:var(--gold);
}
.flash{
    margin:18px 0 0;
    padding:14px 16px;
    border-radius:14px;
    border:1px solid var(--line);
    background:#161616;
}
.flash-success{border-color:rgba(255,202,40,.5); color:#ffe8a6;}
.flash-error{border-color:rgba(216,78,78,.45); color:#ffd4d4;}
.flash-warning{border-color:rgba(255,255,255,.18); color:#fff;}

.hero{background-size:cover;background-position:center;}
.hero-public{min-height:680px;display:flex;align-items:center;}
.hero-member{min-height:440px;display:flex;align-items:flex-end;}
.hero-inner{
    display:grid;
    grid-template-columns:minmax(0, 1.15fr) minmax(320px, .85fr);
    gap:28px;
    align-items:center;
    padding:80px 0;
}
.hero-inner-member{align-items:end;}
.hero-copy{min-width:0;}
.hero-copy h1{
    font-size:clamp(34px, 5vw, 64px);
    line-height:1.05;
    margin:12px 0 18px;
}
.hero-copy p{
    max-width:700px;
    color:#ececec;
    font-size:18px;
}
.hero-tag{
    display:inline-block;
    padding:8px 12px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.14em;
    color:var(--gold);
    text-transform:uppercase;
    background:rgba(0,0,0,.25);
}
.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}
.hero-card,.hero-stat-card{align-self:center;}
.panel{
    background:linear-gradient(180deg, rgba(26,26,26,.96), rgba(15,15,15,.98));
    border:1px solid rgba(255,255,255,.08);
    border-radius:var(--radius);
    padding:24px;
    box-shadow:var(--shadow);
}
.panel-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:18px;
}
.panel-header h1,.panel-header h2{margin:0;}
.panel-header span{color:var(--muted);font-size:14px;}
.auth-form{display:grid;gap:16px;}
.auth-form label,.post-form label,.admin-edit-form label{display:grid;gap:8px;color:#f0f0f0;}
.auth-form small{color:var(--muted);}
input[type=text],input[type=password],input[type=email],textarea,select{
    width:100%;
    border:1px solid #2f2f2f;
    background:#0d0d0d;
    color:#fff;
    border-radius:14px;
    padding:14px 16px;
    outline:none;
}
input:focus,textarea:focus,select:focus{
    border-color:var(--gold);
    box-shadow:0 0 0 4px rgba(255,202,40,.12);
}
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:46px;
    padding:0 18px;
    border-radius:14px;
    font-weight:800;
    border:1px solid transparent;
    cursor:pointer;
    transition:.2s ease;
    white-space:nowrap;
}
.btn:hover{transform:translateY(-1px);}
.btn-lg{min-height:54px;padding:0 24px;}
.btn-block{width:100%;}
.btn-gold{background:linear-gradient(180deg, #ffd347, #e5ad00);color:#0b0b0b;}
.btn-dark{background:#151515;color:#fff;border-color:#343434;}
.btn-danger{background:#3a1717;color:#fff;border-color:#8a3b3b;}
.btn-xs{min-height:34px;padding:0 12px;font-size:13px;border-radius:10px;}
.auth-page{padding:54px 0 80px;}
.auth-container{width:min(580px, calc(100% - 32px));}
.auth-container-wide{width:min(760px, calc(100% - 32px));}
.auth-bottom,.auth-help{
    margin-top:16px;
    display:flex;
    justify-content:space-between;
    gap:12px;
    color:var(--muted);
    flex-wrap:wrap;
}

.landing-features{
    padding:42px 0 84px;
    background:linear-gradient(180deg, #0a0a0a, #0f0f0f);
}
.landing-grid{display:grid;grid-template-columns:repeat(3, minmax(0,1fr));gap:20px;}
.feature-card{
    background:#151515;
    border:1px solid #262626;
    border-radius:var(--radius);
    padding:24px;
}
.feature-card h3{margin-top:0;margin-bottom:12px;}
.section-title-wrap{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:16px;
    margin-bottom:22px;
}
.section-title-wrap.left{flex-direction:column;align-items:flex-start;}
.section-title-wrap h1,.section-title-wrap h2,.section-title-wrap h3{margin:0;}
.section-title-wrap p{margin:0;color:var(--muted);}

.boards-overview{padding:34px 0 90px;}
.board-section-grid{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:22px;}
.board-card{
    background:linear-gradient(180deg, #171717, #121212);
    border:1px solid #252525;
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow);
    min-width:0;
}
.board-card-head{
    padding:22px 22px 18px;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
}
.board-card-head h3{margin:0 0 8px;}
.board-card-head p{margin:0;color:var(--muted);}
.board-more{color:var(--gold);white-space:nowrap;}
.main-board-list{
    display:grid;
    gap:0;
    border-top:1px solid rgba(255,255,255,.06);
}
.main-board-item,
.main-board-head{
    display:grid;
    grid-template-columns:84px minmax(0, 1fr);
    gap:14px;
    padding:16px 22px;
    align-items:center;
}
.main-board-head{
    background:#101010;
    color:#d7d7d7;
    font-size:13px;
    font-weight:800;
}
.main-board-item + .main-board-item{border-top:1px solid rgba(255,255,255,.06);}
.main-board-item:hover{background:rgba(255,255,255,.02);}
.main-board-no{
    width:60px;
    min-height:44px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.08);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    color:#dedede;
    background:#111;
}
.main-board-main{min-width:0;display:grid;gap:10px;}
.main-board-title{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    font-weight:700;
    min-width:0;
}
.main-board-title-text{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.main-board-meta{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
    color:var(--muted);
    font-size:13px;
}
.main-board-meta span{
    display:flex;
    align-items:center;
    gap:6px;
    min-width:0;
}
.main-board-meta em{
    font-style:normal;
    color:#8f8f8f;
    flex:0 0 auto;
}
.main-board-meta .meta-text{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.main-board-empty{padding:28px 22px;color:var(--muted);text-align:center;border-top:1px solid rgba(255,255,255,.06);}

.table-wrap{width:100%;overflow-x:auto;overflow-y:hidden;}
.list-table{width:100%;border-collapse:collapse;min-width:100%;}
.list-table th,.list-table td{
    padding:15px 18px;
    border-top:1px solid rgba(255,255,255,.06);
    font-size:14px;
    vertical-align:middle;
}
.list-table thead th{
    background:#101010;
    color:#d7d7d7;
    font-weight:800;
    border-top:none;
}
.list-table tbody tr:hover{background:rgba(255,255,255,.02);}
.col-no{width:92px;text-align:center;}
.col-views{width:92px;text-align:center;}
.col-writer{width:130px;text-align:center;}
.col-date{width:168px;text-align:center;}
.nowrap{white-space:nowrap;}
.title-cell{min-width:0;}
.title-cell a{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;}
.reply-count{color:var(--gold);font-weight:800;}
.tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:24px;
    padding:0 8px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
}
.tag-notice{background:rgba(255,202,40,.16);color:#ffd76a;border:1px solid rgba(255,202,40,.35);}
.tag-new{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.12);}
.empty-row,.empty-comment{padding:30px 18px;text-align:center;color:var(--muted);}

.sub-hero{padding:34px 0 18px;}
.compact-hero .sub-hero-content{
    background:linear-gradient(180deg, #171717, #121212);
    border:1px solid #242424;
    border-radius:var(--radius);
    padding:24px 28px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
}
.compact-hero h1{margin:8px 0 10px;word-break:break-word;}
.compact-hero p{color:var(--muted);margin:0;}
.board-page,.form-page,.post-view-page,.admin-page,.admin-dashboard{padding:0 0 80px;}
.board-actions{display:flex;justify-content:flex-end;margin-top:18px;}
.pagination{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:28px;}
.page-link{
    min-width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#141414;
    border:1px solid #303030;
}
.page-link.is-active,.page-link:hover{background:var(--gold);color:#111;border-color:var(--gold);}

.post-card{
    background:linear-gradient(180deg, #161616, #121212);
    border:1px solid #242424;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
}
.post-head{padding:24px 26px;border-bottom:1px solid rgba(255,255,255,.07);}
.post-head-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:10px;
}
.post-head h2{margin:0;font-size:32px;word-break:break-word;}
.post-meta-inline{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    color:var(--muted);
    font-size:14px;
    justify-content:flex-end;
}
.post-content{padding:30px 26px;min-height:240px;overflow-wrap:anywhere;}
.post-content img{max-width:100%;height:auto;border-radius:14px;}
.post-content blockquote{
    margin:14px 0;
    padding:14px 18px;
    border-left:4px solid var(--gold);
    background:rgba(255,255,255,.03);
}
.post-content pre{
    padding:16px;
    background:#0b0b0b;
    border:1px solid #242424;
    border-radius:14px;
    overflow:auto;
}
.post-content table,
.editor-area table{
    width:100%;
    border-collapse:collapse;
    margin:18px 0;
}
.post-content table th,
.post-content table td,
.editor-area table th,
.editor-area table td{
    border:1px solid #3a3a3a;
    padding:10px 12px;
}
.post-content table th,
.editor-area table th{background:#151515;}
.post-actions{
    padding:20px 26px 26px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    border-top:1px solid rgba(255,255,255,.07);
}
.comment-section{margin-top:26px;}
.comment-form-card,
.comment-card{
    background:#141414;
    border:1px solid #242424;
    border-radius:var(--radius);
    padding:20px;
}
.comment-form-card{margin-bottom:20px;}
.comment-list{display:grid;gap:16px;}
.comment-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
}
.comment-head > div:first-child{display:flex;gap:12px;flex-wrap:wrap;align-items:center;}
.comment-content{margin-top:12px;overflow-wrap:anywhere;}
.comment-inline-actions,.inline-form-wrap{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.comment-edit-box{margin-top:16px;padding-top:16px;border-top:1px dashed rgba(255,255,255,.1);}

.editor{
    border:1px solid #2b2b2b;
    border-radius:18px;
    overflow:hidden;
    background:#0f0f0f;
    position:relative;
}
.editor.is-fullscreen{
    position:fixed;
    inset:18px;
    z-index:200;
    border-radius:22px;
    box-shadow:0 0 0 9999px rgba(0,0,0,.82), var(--shadow);
}
body.editor-fullscreen-open{overflow:hidden;}
.editor-toolbar{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:12px;
    background:linear-gradient(180deg, #171717, #131313);
    border-bottom:1px solid #2b2b2b;
    position:sticky;
    top:0;
    z-index:2;
}
.editor-group{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    padding:0 10px 0 0;
    margin-right:4px;
    border-right:1px solid rgba(255,255,255,.08);
}
.editor-group-right{margin-left:auto;padding-right:0;border-right:none;}
.editor-toolbar button,
.editor-select{
    border:1px solid #343434;
    background:#111;
    color:#fff;
    border-radius:10px;
    padding:9px 11px;
    cursor:pointer;
    min-height:40px;
}
.editor-toolbar button:hover,
.editor-select:hover{border-color:var(--gold);color:var(--gold);}
.editor-select{min-width:132px;}
.editor-color-group{gap:10px;}
.editor-color-label{
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 10px;
    min-height:40px;
    border-radius:10px;
    border:1px solid #343434;
    background:#111;
    font-size:13px;
    color:#d8d8d8;
}
.editor-color-label input[type=color]{
    width:26px;
    height:26px;
    padding:0;
    border:none;
    background:transparent;
    border-radius:8px;
    cursor:pointer;
    box-shadow:none;
}
.editor-area{
    min-height:340px;
    padding:20px;
    outline:none;
    color:#fff;
    overflow:auto;
}
.editor-area:empty:before{
    content:attr(data-placeholder);
    color:#6c6c6c;
}
.editor.is-compact .editor-area{min-height:180px;}
.editor-textarea{
    display:none;
    min-height:340px;
    border:none !important;
    border-radius:0 !important;
    background:#0b0b0b !important;
    padding:20px !important;
    font-family:Consolas, Monaco, monospace;
    line-height:1.6;
}
.editor.is-compact .editor-textarea{min-height:180px;}
.editor.is-source-mode .editor-toolbar{border-bottom-color:#3b3211;}
.checkbox-row{display:flex !important;align-items:center;gap:10px;}
.checkbox-row input{width:auto;}
.form-grid{display:grid;gap:16px;}
.form-grid.two-col{grid-template-columns:repeat(2, minmax(0,1fr));}
.form-grid .full-col{grid-column:1 / -1;}
.form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;}
.search-form,.search-form-wide{display:flex;gap:12px;flex-wrap:wrap;}
.search-form input,.search-form select{flex:1;min-width:220px;}

.admin-stats-grid{display:grid;grid-template-columns:repeat(6, minmax(0,1fr));gap:16px;margin-bottom:22px;}
.stat-box,.stat-mini,.stat-tile{
    background:linear-gradient(180deg, #171717, #111);
    border:1px solid #252525;
    border-radius:16px;
    padding:20px;
}
.stat-box strong,.stat-mini strong{display:block;font-size:34px;line-height:1;color:var(--gold);margin-bottom:10px;}
.stat-box span,.stat-mini span,.stat-tile span{color:var(--muted);}
.admin-grid-2{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:22px;margin-top:22px;}
.panel-visual{background-size:cover;background-position:center;min-height:320px;display:flex;align-items:flex-end;}
.panel-visual-body{max-width:620px;}
.panel-visual-body h2{font-size:34px;margin:16px 0 10px;}
.quick-link-grid{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:12px;}
.quick-link-card{
    background:#131313;
    border:1px solid #262626;
    border-radius:14px;
    padding:16px;
    font-weight:700;
}
.quick-link-card:hover{border-color:var(--gold);color:var(--gold);}
.check-list{margin:0;padding-left:18px;color:#dedede;}
.check-list li+li{margin-top:10px;}
.preview-logo{width:62px;height:62px;object-fit:contain;}
.hero-stat-card{
    background:linear-gradient(180deg, rgba(20,20,20,.94), rgba(10,10,10,.98));
    border:1px solid rgba(255,255,255,.08);
    border-radius:var(--radius);
    padding:22px;
    box-shadow:var(--shadow);
}
.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;}
.stat-mini strong{font-size:26px;}
.site-footer{background:#080808;border-top:1px solid rgba(255,255,255,.06);margin-top:auto;}
.footer-inner{min-height:84px;display:flex;justify-content:space-between;align-items:center;gap:20px;}
.footer-inner p{margin:6px 0 0;color:var(--muted);}
.footer-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);}
.muted{color:var(--muted);}

@media (max-width: 1180px){
    .admin-stats-grid{grid-template-columns:repeat(3, minmax(0,1fr));}
    .board-section-grid{grid-template-columns:1fr;}
}

@media (max-width: 980px){
    .hero-inner,
    .admin-grid-2,
    .landing-grid{grid-template-columns:1fr;}
    .hero-public{min-height:auto;}
    .hero-copy p{font-size:16px;}
    .board-card-head{align-items:flex-start;}
    .main-board-meta{grid-template-columns:repeat(2, minmax(0,1fr));}
}

@media (max-width: 860px){
    .list-table thead{display:none;}
    .table-wrap{overflow:visible;}
    .list-table,
    .list-table tbody,
    .list-table tr,
    .list-table td{display:block;width:100%;}
    .list-table tr{
        margin-bottom:14px;
        border:1px solid rgba(255,255,255,.06);
        border-radius:16px;
        overflow:hidden;
        background:linear-gradient(180deg, #151515, #101010);
    }
    .list-table td{
        border-top:1px solid rgba(255,255,255,.06);
        text-align:left !important;
        padding:12px 16px 12px 132px;
        position:relative;
        min-height:48px;
        white-space:normal;
        word-break:break-word;
    }
    .list-table td:first-child{border-top:none;}
    .list-table td::before{
        content:attr(data-label);
        position:absolute;
        left:16px;
        top:12px;
        width:100px;
        color:#9f9f9f;
        font-weight:700;
        font-size:12px;
    }
    .list-table .empty-row{
        padding:24px 16px;
        text-align:center !important;
    }
    .list-table .empty-row::before{display:none;}
    .col-no,.col-views,.col-writer,.col-date{width:auto;}
}

@media (max-width: 760px){
    .top-header-inner{min-height:72px;flex-wrap:wrap;padding:12px 0;}
    .top-actions{margin-left:auto;}
    .mobile-menu-toggle{display:inline-flex;margin-left:auto;}
    .main-nav{display:none;}
    .main-nav.is-open{display:block;}
    .nav-inner{display:grid;grid-template-columns:1fr;padding:8px 0;min-height:auto;}
    .nav-link,.nav-muted{margin-left:0;}
    .form-grid.two-col{grid-template-columns:1fr;}
    .post-head-top,
    .compact-hero .sub-hero-content,
    .footer-inner,
    .panel-header,
    .board-card-head,
    .comment-head{flex-direction:column;align-items:flex-start;}
    .post-meta-inline{justify-content:flex-start;}
    .admin-stats-grid{grid-template-columns:repeat(2, minmax(0,1fr));}
    .quick-link-grid,
    .stat-grid,
    .main-board-meta{grid-template-columns:1fr;}
    .main-board-head{display:none;}
    .main-board-item{grid-template-columns:1fr;}
    .main-board-no{width:100%;justify-content:flex-start;padding:0 14px;}
    .board-actions{justify-content:flex-start;}
    .editor-toolbar{padding:10px;}
    .editor-group,
    .editor-group-right{width:100%;margin-left:0;border-right:none;padding-right:0;}
    .editor-group-right{justify-content:flex-start;}
    .editor-select{min-width:100%;}
}

@media (max-width: 560px){
    .container{width:min(100% - 20px, 1280px);}
    .brand span{display:none;}
    .top-actions{width:100%;justify-content:flex-end;}
    .admin-stats-grid{grid-template-columns:1fr;}
    .hero-copy h1{font-size:34px;}
    .panel,.hero-stat-card{padding:18px;}
    .main-board-item,
    .main-board-head{padding:14px 16px;}
    .list-table td{padding-left:108px;}
    .list-table td::before{width:82px;}
    .post-head,
    .post-content,
    .post-actions{padding-left:18px;padding-right:18px;}
}

/* ===== 2026-03 메인/에디터 수정 덮어쓰기 ===== */
.board-card-head h3{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:28px;
    line-height:1.1;
}
.board-more{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-weight:800;
}
.main-board-list-v2{
    border-top:1px solid rgba(255,255,255,.06);
}
.main-board-item-v2{
    grid-template-columns:72px minmax(0,1fr);
    gap:14px;
    padding:14px 20px;
}
.main-board-item-v2 .main-board-no{
    width:58px;
    min-height:34px;
    font-size:13px;
    border-radius:10px;
}
.main-board-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:14px;
    align-items:center;
    min-width:0;
}
.main-board-meta-right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:14px;
    font-size:12px;
    color:#a6adc1;
    white-space:nowrap;
}
.main-board-meta-right span{
    display:inline-flex;
    align-items:center;
    gap:6px;
}
.main-board-meta-right strong{
    font-weight:700;
    color:#dfe7ff;
}
.main-board-title{
    flex-wrap:nowrap;
    min-width:0;
}
.main-board-title-text{
    display:block;
    min-width:0;
}
.tag-normal{
    background:rgba(255,255,255,.12);
    color:#f1f1f1;
    border:1px solid rgba(255,255,255,.14);
}
.editor-toolbar-classic{
    background:linear-gradient(180deg, #8a8d95, #73767e);
    border-bottom:1px solid #595b61;
    gap:6px;
    padding:8px;
}
.editor-group-classic{
    gap:4px;
    border-right:none;
    margin-right:0;
    padding-right:0;
}
.editor-tool,
.editor-select-heading,
.editor-select-size{
    border:1px solid #61646c;
    background:linear-gradient(180deg, #ffffff, #d9dde4);
    color:#111;
    border-radius:4px;
    min-height:34px;
    padding:6px 10px;
    font-weight:700;
}
.editor-tool:hover,
.editor-select-heading:hover,
.editor-select-size:hover{
    color:#111;
    border-color:#f2c243;
    background:linear-gradient(180deg, #fff7cf, #f3d267);
}
.editor-tool-italic{font-style:italic;}
.editor-tool-underline{text-decoration:underline;}
.editor-tool-strike{text-decoration:line-through;}
.editor-select-heading{min-width:92px;}
.editor-select-size{min-width:70px;}
.editor-color-label-classic{
    min-height:34px;
    padding:0 6px;
    border-radius:4px;
    border:1px solid #61646c;
    background:linear-gradient(180deg, #ffffff, #d9dde4);
    color:#111;
    gap:6px;
}
.editor-color-preview{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    font-weight:900;
    color:#ffcc00;
}
@media (max-width: 980px){
    .main-board-row{grid-template-columns:1fr;align-items:flex-start;}
    .main-board-meta-right{justify-content:flex-start;flex-wrap:wrap;}
}
@media (max-width: 760px){
    .main-board-item-v2{grid-template-columns:1fr;}
    .main-board-item-v2 .main-board-no{width:100%;justify-content:flex-start;padding:0 14px;}
    .main-board-row{grid-template-columns:1fr;}
    .main-board-title{flex-wrap:wrap;}
    .editor-group-classic{width:100%;justify-content:flex-start;}
}


.top-notice-bar{background:linear-gradient(90deg,#0a0a0a,#1a1205,#0a0a0a);border-bottom:1px solid rgba(212,175,55,.25);color:#f4e6b0;font-size:12px;letter-spacing:.2px;}
.top-notice-bar .container{padding:8px 0;}
.text-link.text-admin{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 14px;border:1px solid rgba(212,175,55,.45);border-radius:999px;background:linear-gradient(180deg,rgba(212,175,55,.16),rgba(212,175,55,.06));color:#ffe7a0;font-weight:700;}
.text-link.text-admin:hover{border-color:rgba(212,175,55,.9);box-shadow:0 0 0 1px rgba(212,175,55,.14),0 0 18px rgba(212,175,55,.12);}
.main-board-title{display:flex;align-items:center;gap:8px;min-width:0;}
.main-board-title-text{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.main-board-meta-right{flex-shrink:0;white-space:nowrap;}
.board-card-head p,.section-title-wrap p{display:none!important;}


/* ===== layout remake ===== */
body{background:#0a0a0a;color:#f2f2f2;font-size:14px;}
.container{width:min(1380px, calc(100% - 28px));}
.top-notice-bar{background:#080808;border-bottom:1px solid rgba(212,167,67,.22);color:#f5e4b0;font-size:13px;}
.top-notice-bar .container{padding:8px 0;}
.app-frame-wrap{padding:16px 0 24px;}
.app-hero{position:relative;border:4px solid #101010;border-radius:0;overflow:hidden;background-size:cover;background-position:center;box-shadow:0 18px 48px rgba(0,0,0,.35);margin-bottom:12px;}
.app-hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.28));}
.app-hero__inner{position:relative;display:grid;grid-template-columns:260px minmax(0,1fr) auto;gap:16px;align-items:center;min-height:116px;padding:18px 22px;}
.app-brand{display:flex;align-items:center;gap:16px;min-width:0;}
.app-brand img{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(0,0,0,.4));}
.app-brand__text strong{display:block;font-size:28px;font-weight:900;letter-spacing:.03em;color:#fff;line-height:1.05;text-shadow:0 2px 12px rgba(0,0,0,.35);}
.app-brand__text span{display:block;margin-top:6px;color:#f3d27a;font-size:12px;letter-spacing:.16em;text-transform:uppercase;}
.app-hero__title{min-width:0;text-align:center;}
.app-hero__title h1{margin:0;font-size:34px;line-height:1.1;color:#fff5db;text-shadow:0 2px 16px rgba(0,0,0,.45), 0 0 18px rgba(212,167,67,.18);}
.app-hero__title p{margin:8px 0 0;color:#ead9aa;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.top-actions-inhero{justify-content:flex-end;gap:10px;}
.top-actions-inhero .welcome-text{display:block;color:#f7e4b2;font-size:13px;text-align:right;}
.btn-sm{min-height:40px;padding:0 14px;border-radius:12px;font-size:13px;}
.app-layout{display:grid;grid-template-columns:208px minmax(0,1fr);gap:12px;align-items:start;}
.sidebar{background:linear-gradient(180deg,#0a0a0a,#101010);border:4px solid #101010;padding:14px 14px;min-height:640px;border-radius:20px;box-shadow:0 16px 40px rgba(0,0,0,.24);}
.sidebar-visual{margin:0 0 14px;border:1px solid rgba(212,167,67,.24);background:#0c0c0c;aspect-ratio:1 / .82;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:12px;}
.sidebar-visual img{width:100%;height:100%;object-fit:cover;display:block;}
.sidebar-visual__placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#9a8450;font-size:13px;font-weight:700;letter-spacing:.04em;background:linear-gradient(180deg,rgba(212,167,67,.08),rgba(212,167,67,.02));}
.sidebar-nav{display:flex;flex-direction:column;gap:8px;}
.sidebar-link{display:block;padding:14px 14px;border:1px solid rgba(212,167,67,.16);background:#111;color:#fff;font-weight:800;font-size:20px;letter-spacing:-.02em;transition:.18s ease;border-radius:10px;}
.sidebar-link:hover,.sidebar-link.is-active{background:linear-gradient(90deg, rgba(212,167,67,.18), rgba(212,167,67,.05));border-color:rgba(212,167,67,.48);color:#ffe9a6;transform:translateX(2px);box-shadow:0 10px 24px rgba(0,0,0,.18);}
.mobile-side-toggle{display:none;margin-top:14px;width:100%;}
.content-area{background:linear-gradient(180deg,#0b0b0b,#111111);border:4px solid #101010;min-height:640px;padding:16px;}
.content-panel{background:transparent;}
.panel-header-board,.panel-header-home{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid rgba(212,167,67,.14);margin-bottom:14px;}
.panel-header-board h2,.panel-header-home h2{margin:0;font-size:34px;line-height:1;color:#fff;font-weight:900;letter-spacing:-.03em;}
.home-board-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.home-board-card{background:#0b0b0b;border:1px solid rgba(212,167,67,.18);padding:0;min-height:260px;}
.home-board-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid rgba(212,167,67,.1);}
.home-board-card__head h3{margin:0;font-size:16px;color:#d9b04c;font-weight:900;letter-spacing:-.02em;}
.board-more{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:999px;border:1px solid rgba(212,167,67,.28);background:#111;color:#fff4cf;font-weight:800;font-size:13px;}
.home-board-card__body{padding:10px 14px 14px;}
.home-post-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:9px 4px;border-bottom:1px solid rgba(255,255,255,.05);}
.home-post-row:last-child{border-bottom:none;}
.home-post-row__left{display:flex;align-items:center;gap:8px;min-width:0;}
.home-post-row__meta{display:flex;align-items:center;gap:10px;color:#b8b8b8;font-size:12px;white-space:nowrap;}
.home-post-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;color:#f2f2f2;}
.post-no-chip{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:26px;padding:0 8px;border-radius:999px;border:1px solid rgba(212,167,67,.22);background:#151515;color:#f2d17b;font-size:12px;font-weight:900;flex:0 0 auto;}
.tag{display:inline-flex;align-items:center;justify-content:center;height:24px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:900;flex:0 0 auto;}
.tag-notice{background:#1b1610;border:1px solid rgba(212,167,67,.38);color:#ffdb84;}
.tag-normal{background:#161616;border:1px solid rgba(255,255,255,.1);color:#d9d9d9;}
.tag-new{background:#fff;color:#111;padding:0 10px;}
.reply-count{color:#f7d470;font-size:12px;font-weight:800;white-space:nowrap;}
.main-board-empty,.empty-row,.empty-comment{padding:40px 16px;text-align:center;color:#b8aa88;}
.table-wrap{border:1px solid rgba(212,167,67,.18);background:#0b0b0b;overflow:hidden;}
.list-table{width:100%;border-collapse:collapse;table-layout:fixed;}
.list-table th,.list-table td{padding:13px 12px;border-bottom:1px solid rgba(255,255,255,.05);font-size:13px;}
.list-table th{background:#111;color:#e0bd62;font-size:12px;font-weight:900;}
.list-table .col-no{width:84px;text-align:center;}
.list-table .col-writer{width:120px;}
.list-table .col-date{width:140px;}
.list-table .col-views{width:90px;text-align:center;}
.title-cell a,.table-title-link{display:flex;align-items:center;gap:8px;min-width:0;}
.board-title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;}
.nowrap{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.board-actions{display:flex;justify-content:flex-end;margin-top:14px;}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:18px;flex-wrap:wrap;}
.page-link{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;border:1px solid rgba(212,167,67,.18);background:#111;color:#fff;}
.page-link.is-active,.page-link:hover{border-color:rgba(212,167,67,.55);color:#ffdf88;background:#16120a;}
.panel{background:#0b0b0b;border:1px solid rgba(212,167,67,.18);border-radius:0;padding:18px;box-shadow:none;}
.post-card,.comment-form-card,.comment-card{background:#0b0b0b;border:1px solid rgba(212,167,67,.18);padding:18px;border-radius:0;}
.post-head h2{margin:12px 0 0;font-size:28px;line-height:1.25;}
.post-head-top,.post-meta-inline,.comment-head,.comment-inline-actions,.post-actions,.form-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;}
.post-content{padding:24px 0;min-height:180px;color:#f2f2f2;line-height:1.75;}
.comment-section{margin-top:18px;display:grid;gap:14px;}
.comment-content{padding-top:8px;line-height:1.7;}
.editor-shell{border:1px solid rgba(212,167,67,.18)!important;background:#101010!important;}
.editor-toolbar{background:#181818!important;border-bottom:1px solid rgba(212,167,67,.18)!important;}
.editor-content{min-height:340px!important;background:#0d0d0d!important;color:#fff!important;}
.site-footer{border-top:1px solid rgba(212,167,67,.12);background:#080808;margin-top:18px;}
.footer-inner{padding:16px 0;color:#aeaeae;font-size:12px;}
.footer-inner p{margin:6px 0 0;}
.admin-subnav{margin-bottom:14px;}
.admin-subnav-inner{display:flex;gap:8px;overflow:auto;}
.admin-subnav-link{white-space:nowrap;padding:10px 12px;background:#111;border:1px solid rgba(212,167,67,.18);color:#fff;}
.hero-public{min-height:640px;display:flex;align-items:center;}
.page-public .hero-inner{padding:70px 0;}
@media (max-width: 1180px){
  .app-hero__inner{grid-template-columns:220px minmax(0,1fr);}
  .top-actions-inhero{grid-column:1 / -1;justify-content:flex-end;}
  .home-post-row{grid-template-columns:minmax(0,1fr);}
  .home-post-row__meta{justify-content:flex-end;}
}
@media (max-width: 920px){
  .app-layout{grid-template-columns:1fr;}
  .sidebar{min-height:auto;padding:14px;}
  .mobile-side-toggle{display:block;}
  .sidebar-nav{display:none;}
  .sidebar.is-open .sidebar-nav{display:flex;}
  .content-area{min-height:auto;}
  .home-board-grid{grid-template-columns:1fr;}
  .app-hero__inner{grid-template-columns:1fr;text-align:center;}
  .app-brand{justify-content:center;}
  .top-actions-inhero{justify-content:center;}
  .app-hero__title p{white-space:normal;}
}
@media (max-width: 720px){
  .container{width:min(100% - 20px, 1380px);}
  .panel-header-board h2,.panel-header-home h2{font-size:28px;}
  .sidebar-link{font-size:18px;}
  .list-table, .list-table thead, .list-table tbody, .list-table tr, .list-table th, .list-table td{display:block;width:100%;}
  .list-table thead{display:none;}
  .list-table tr{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.07);}
  .list-table td{padding:6px 10px;border-bottom:none;text-align:left !important;}
  .list-table td::before{content:attr(data-label);display:inline-block;min-width:54px;color:#cda955;font-weight:800;margin-right:8px;}
  .title-cell a,.table-title-link{display:flex;flex-wrap:nowrap;}
}

/* board manager + gallery */
.full-span{grid-column:1 / -1;}
.muted{color:#9e9e9e;font-size:12px;}
.home-gallery-row{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid rgba(212,167,67,.08);text-decoration:none;color:inherit;align-items:center;}
.home-gallery-row:last-child{border-bottom:0;}
.home-gallery-row__thumb{width:100px;height:68px;border:1px solid rgba(212,167,67,.18);background:#0f0f0f;overflow:hidden;border-radius:6px;display:flex;align-items:center;justify-content:center;}
.home-gallery-row__thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.home-gallery-row__title{font-size:14px;font-weight:800;color:#f5f5f5;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.home-gallery-row__meta{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:#b7a57c;margin-top:6px;}
.gallery-empty-thumb{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#9c8450;font-size:11px;font-weight:800;letter-spacing:.08em;background:linear-gradient(180deg,rgba(212,167,67,.06),rgba(212,167,67,.015));}
.board-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.gallery-card{display:block;text-decoration:none;color:inherit;background:#0c0c0c;border:1px solid rgba(212,167,67,.14);border-radius:10px;overflow:hidden;}
.gallery-card__thumb{aspect-ratio:1 / .72;background:#111;overflow:hidden;}
.gallery-card__thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.gallery-card__body{padding:12px;}
.gallery-card__title{font-size:15px;font-weight:900;color:#f2f2f2;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px;}
.gallery-card__meta{display:flex;flex-wrap:wrap;gap:10px;font-size:11px;color:#b7a57c;margin-top:8px;}
.board-gallery-empty{grid-column:1 / -1;background:#0b0b0b;border:1px solid rgba(212,167,67,.12);padding:40px 20px;border-radius:10px;}
@media (max-width: 1024px){.board-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 640px){.board-gallery-grid{grid-template-columns:1fr;}.home-gallery-row{grid-template-columns:84px 1fr;}.home-gallery-row__thumb{width:84px;height:60px;}}


.editor-status{padding:8px 12px;border-bottom:1px solid rgba(212,167,67,.14);font-size:12px;color:#d7c48a;background:#141414;}
.editor-status.is-error{color:#ff9d9d;}
.editor-status.is-success{color:#d7c48a;}
.editor-area img{max-width:100%;height:auto;border-radius:6px;display:block;margin:8px 0;}
.editor-area a[target="_blank"]{text-decoration:underline;}
.editor-generated-table{width:100%;border-collapse:collapse;margin:10px 0;}
.editor-generated-table td{border:1px solid rgba(212,167,67,.28);padding:8px;}
.editor-tool,.editor-select-heading,.editor-select-size{font-size:13px;}
.editor-select-size{min-width:76px;}


/* ===== premium home gallery ===== */
.home-board-card:has(.home-gallery-showcase){min-height:unset;}
.main-board-empty--gallery{display:flex;align-items:center;justify-content:center;min-height:360px;background:radial-gradient(circle at center, rgba(212,167,67,.08), rgba(212,167,67,.015) 48%, transparent 72%);color:#d4bb7d;font-weight:700;}
.home-gallery-showcase{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.95fr);gap:12px;}
.home-gallery-showcase.is-single{grid-template-columns:1fr;}
.gallery-feature-card,.gallery-side-card{position:relative;display:block;overflow:hidden;background:#090909;border:1px solid rgba(212,167,67,.16);color:#fff;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;}
.gallery-feature-card:hover,.gallery-side-card:hover{transform:translateY(-2px);border-color:rgba(255,214,110,.44);box-shadow:0 14px 30px rgba(0,0,0,.26);}
.gallery-feature-card__media{position:relative;aspect-ratio:1 / .86;background:#111;overflow:hidden;}
.gallery-feature-card__media img,.gallery-side-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.gallery-feature-card:hover .gallery-feature-card__media img,.gallery-side-card:hover .gallery-side-card__media img{transform:scale(1.04);}
.gallery-feature-card__overlay,.gallery-side-card__overlay{position:absolute;left:0;right:0;bottom:0;padding:16px;background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.72) 55%, rgba(0,0,0,.9) 100%);}
.gallery-chip-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:8px;}
.gallery-chip{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 10px;border-radius:999px;background:rgba(212,167,67,.22);border:1px solid rgba(255,214,110,.34);color:#ffe7a0;font-size:11px;font-weight:900;letter-spacing:.04em;}
.gallery-chip--light{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.2);color:#fff;}
.gallery-feature-card__title{font-size:20px;font-weight:900;line-height:1.35;color:#fff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 2px 12px rgba(0,0,0,.45);}
.gallery-feature-card__meta,.gallery-side-card__meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:9px;font-size:12px;color:#e8d4a0;}
.gallery-side-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.gallery-side-card__media{aspect-ratio:1 / .86;background:#111;overflow:hidden;}
.gallery-side-card__overlay{padding:12px;}
.gallery-side-card__title{font-size:14px;font-weight:800;line-height:1.4;color:#fff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px;text-shadow:0 1px 8px rgba(0,0,0,.45);}
.gallery-empty-thumb--hero{font-size:13px;}
.gallery-card{transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;}
.gallery-card:hover{transform:translateY(-2px);border-color:rgba(255,214,110,.42);box-shadow:0 12px 24px rgba(0,0,0,.22);}
.gallery-card__thumb{position:relative;}
.gallery-card__thumb::after{content:"";position:absolute;inset:auto 0 0 0;height:52%;background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,.68) 100%);pointer-events:none;}
.gallery-card__title{min-height:44px;}
@media (max-width: 1180px){.home-gallery-showcase{grid-template-columns:1fr;}.gallery-feature-card__media{aspect-ratio:1 / .62;}}
@media (max-width: 700px){.gallery-side-grid{grid-template-columns:1fr 1fr;}.gallery-feature-card__title{font-size:18px;}}
@media (max-width: 560px){.gallery-side-grid{grid-template-columns:1fr;}.gallery-feature-card__overlay,.gallery-side-card__overlay{padding:12px;}.main-board-empty--gallery{min-height:240px;}}

/* comment thread refinement */
.comment-list{display:grid;gap:10px;}
.comment-card{padding:14px 16px;position:relative;}
.comment-form-card{padding:14px 16px;}
.comment-head{gap:10px;}
.comment-head > div:first-child{gap:8px;}
.comment-content{margin-top:8px;padding-top:0;line-height:1.6;word-break:break-word;}
.comment-inline-actions{gap:6px;align-items:center;justify-content:flex-end;}
.comment-link-btn{text-decoration:none;}
.comment-edit-box{margin-top:12px;padding-top:12px;}
.comment-plain-box textarea,.comment-form-card textarea{min-height:110px;resize:vertical;line-height:1.6;}
.comment-form-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:10px;}
.replying-notice{margin-bottom:10px;padding:10px 12px;border:1px solid rgba(212,167,67,.22);background:rgba(212,167,67,.06);font-size:13px;line-height:1.5;}
.replying-notice a{margin-left:10px;font-weight:700;white-space:nowrap;}
.comment-reply-badge{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 8px;border:1px solid rgba(212,167,67,.28);font-size:11px;font-weight:800;letter-spacing:.04em;color:#ffdf88;background:rgba(212,167,67,.08);}
.comment-depth-1,.comment-depth-2,.comment-depth-3,.comment-depth-4,.comment-depth-5,.comment-depth-6,.comment-depth-7,.comment-depth-8,.comment-depth-9,.comment-depth-10,.comment-depth-11,.comment-depth-12{margin-left:0;}
.comment-depth-1{margin-left:22px;}
.comment-depth-2{margin-left:44px;}
.comment-depth-3{margin-left:66px;}
.comment-depth-4{margin-left:88px;}
.comment-depth-5{margin-left:110px;}
.comment-depth-6,.comment-depth-7,.comment-depth-8,.comment-depth-9,.comment-depth-10,.comment-depth-11,.comment-depth-12{margin-left:120px;}
.comment-depth-1::before,.comment-depth-2::before,.comment-depth-3::before,.comment-depth-4::before,.comment-depth-5::before,.comment-depth-6::before,.comment-depth-7::before,.comment-depth-8::before,.comment-depth-9::before,.comment-depth-10::before,.comment-depth-11::before,.comment-depth-12::before{content:'';position:absolute;left:10px;top:14px;bottom:14px;width:1px;background:rgba(212,167,67,.16);}
@media (max-width: 768px){
  .comment-card,.comment-form-card{padding:12px;}
  .comment-depth-1{margin-left:12px;}
  .comment-depth-2{margin-left:24px;}
  .comment-depth-3{margin-left:36px;}
  .comment-depth-4{margin-left:48px;}
  .comment-depth-5,.comment-depth-6,.comment-depth-7,.comment-depth-8,.comment-depth-9,.comment-depth-10,.comment-depth-11,.comment-depth-12{margin-left:54px;}
  .comment-depth-1::before,.comment-depth-2::before,.comment-depth-3::before,.comment-depth-4::before,.comment-depth-5::before,.comment-depth-6::before,.comment-depth-7::before,.comment-depth-8::before,.comment-depth-9::before,.comment-depth-10::before,.comment-depth-11::before,.comment-depth-12::before{left:6px;top:12px;bottom:12px;}
  .comment-form-actions,.comment-inline-actions{justify-content:flex-start;}
}


/* ===== 2026-03 답글 구분 강화 ===== */
.comment-card{transition:border-color .15s ease, background .15s ease, box-shadow .15s ease;}
.comment-depth-1,.comment-depth-2,.comment-depth-3,.comment-depth-4,.comment-depth-5,.comment-depth-6,.comment-depth-7,.comment-depth-8,.comment-depth-9,.comment-depth-10,.comment-depth-11,.comment-depth-12{
    border-left:3px solid rgba(212,167,67,.42);
    background:linear-gradient(180deg, rgba(212,167,67,.10), rgba(212,167,67,.04));
    box-shadow:inset 0 0 0 1px rgba(212,167,67,.07);
}
.comment-depth-1 strong,.comment-depth-2 strong,.comment-depth-3 strong,.comment-depth-4 strong,.comment-depth-5 strong,.comment-depth-6 strong,.comment-depth-7 strong,.comment-depth-8 strong,.comment-depth-9 strong,.comment-depth-10 strong,.comment-depth-11 strong,.comment-depth-12 strong{
    color:#ffe39a;
}
.comment-depth-1 .comment-content,.comment-depth-2 .comment-content,.comment-depth-3 .comment-content,.comment-depth-4 .comment-content,.comment-depth-5 .comment-content,.comment-depth-6 .comment-content,.comment-depth-7 .comment-content,.comment-depth-8 .comment-content,.comment-depth-9 .comment-content,.comment-depth-10 .comment-content,.comment-depth-11 .comment-content,.comment-depth-12 .comment-content{
    padding-left:2px;
}
.comment-depth-1::before,.comment-depth-2::before,.comment-depth-3::before,.comment-depth-4::before,.comment-depth-5::before,.comment-depth-6::before,.comment-depth-7::before,.comment-depth-8::before,.comment-depth-9::before,.comment-depth-10::before,.comment-depth-11::before,.comment-depth-12::before{
    width:10px;
    height:10px;
    top:22px;
    bottom:auto;
    left:-6px;
    border-radius:50%;
    background:#d4a743;
    box-shadow:0 0 0 4px rgba(212,167,67,.12);
}
.comment-reply-badge{
    min-height:24px;
    padding:0 10px;
    border-color:rgba(212,167,67,.45);
    color:#1b1304;
    background:linear-gradient(180deg,#f4d98a,#cfa13e);
    box-shadow:0 6px 16px rgba(0,0,0,.18);
}
@media (max-width: 760px){
    .comment-depth-1,.comment-depth-2,.comment-depth-3,.comment-depth-4,.comment-depth-5,.comment-depth-6,.comment-depth-7,.comment-depth-8,.comment-depth-9,.comment-depth-10,.comment-depth-11,.comment-depth-12{
        border-left-width:2px;
        box-shadow:inset 0 0 0 1px rgba(212,167,67,.05);
    }
    .comment-depth-1::before,.comment-depth-2::before,.comment-depth-3::before,.comment-depth-4::before,.comment-depth-5::before,.comment-depth-6::before,.comment-depth-7::before,.comment-depth-8::before,.comment-depth-9::before,.comment-depth-10::before,.comment-depth-11::before,.comment-depth-12::before{
        width:8px;height:8px;left:-5px;top:18px;
    }
}


/* grouped reply thread refinement */
.comment-root-item{z-index:2;}
.comment-thread-group{
  position:relative;
  margin:-4px 0 12px 24px;
  padding:10px 0 4px 18px;
  border-left:2px solid rgba(212,167,67,.28);
}
.comment-thread-group::before{
  content:'';
  position:absolute;
  left:-2px;
  top:0;
  bottom:12px;
  width:2px;
  background:linear-gradient(180deg, rgba(212,167,67,.52) 0%, rgba(212,167,67,.18) 100%);
}
.comment-thread-group::after{
  content:'';
  position:absolute;
  left:-6px;
  top:0;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#d4a743;
  box-shadow:0 0 0 4px rgba(212,167,67,.10);
}
.comment-thread-group > .comment-reply-item{
  margin:0 !important;
  padding:12px 14px 12px 18px;
  background:transparent;
  border:none;
  border-left:2px solid transparent;
  border-radius:0;
  box-shadow:none;
}
.comment-thread-group > .comment-reply-item + .comment-reply-item{
  border-top:1px solid rgba(255,255,255,.06);
}
.comment-thread-group > .comment-reply-item:last-child{
  margin-bottom:0 !important;
}
.comment-thread-group > .comment-reply-item::before{
  display:none !important;
}
.comment-thread-group > .comment-reply-item .comment-head,
.comment-thread-group > .comment-reply-item .comment-content,
.comment-thread-group > .comment-reply-item .comment-edit-box{
  position:relative;
}
.comment-thread-group > .comment-reply-item .comment-head::before{
  content:'';
  position:absolute;
  left:-20px;
  top:16px;
  width:12px;
  height:12px;
  border-left:2px solid rgba(212,167,67,.22);
  border-bottom:2px solid rgba(212,167,67,.22);
  border-bottom-left-radius:10px;
}
.comment-reply-target{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 8px;
  border:1px solid rgba(212,167,67,.24);
  background:rgba(212,167,67,.07);
  color:#f0d78d;
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
}
.comment-reply-arrow{display:none;}
.comment-thread-group .comment-depth-2,
.comment-thread-group .comment-depth-3,
.comment-thread-group .comment-depth-4,
.comment-thread-group .comment-depth-5,
.comment-thread-group .comment-depth-6,
.comment-thread-group .comment-depth-7,
.comment-thread-group .comment-depth-8,
.comment-thread-group .comment-depth-9,
.comment-thread-group .comment-depth-10,
.comment-thread-group .comment-depth-11,
.comment-thread-group .comment-depth-12{
  margin-left:14px;
  padding-left:18px;
  border-left:1px dashed rgba(212,167,67,.16);
}
@media (max-width: 768px){
  .comment-thread-group{
    margin:-2px 0 10px 12px;
    padding:8px 0 2px 12px;
  }
  .comment-thread-group::after{
    width:8px;
    height:8px;
    left:-5px;
    box-shadow:0 0 0 3px rgba(212,167,67,.10);
  }
  .comment-thread-group > .comment-reply-item{
    padding:10px 10px 10px 14px;
  }
  .comment-thread-group > .comment-reply-item .comment-head::before{
    left:-15px;
    top:15px;
    width:9px;
    height:9px;
  }
  .comment-thread-group .comment-depth-2,
  .comment-thread-group .comment-depth-3,
  .comment-thread-group .comment-depth-4,
  .comment-thread-group .comment-depth-5,
  .comment-thread-group .comment-depth-6,
  .comment-thread-group .comment-depth-7,
  .comment-thread-group .comment-depth-8,
  .comment-thread-group .comment-depth-9,
  .comment-thread-group .comment-depth-10,
  .comment-thread-group .comment-depth-11,
  .comment-thread-group .comment-depth-12{
    margin-left:10px;
    padding-left:12px;
  }
  .comment-reply-target{font-size:10px;padding:0 6px;}
}
