.td-post-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #e5eaf2}
.td-action{appearance:none;padding:7px 11px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font:inherit;font-size:.84rem;font-weight:700;cursor:pointer}
.td-action:hover{border-color:#60a5fa;background:#eff6ff;color:#1d4ed8}
.td-action--vote.is-voted{border-color:#2563eb;background:#2563eb;color:#fff}
.td-action--report{margin-left:auto;color:#64748b}
.td-action[disabled]{cursor:wait;opacity:.65}


/* 소셜 로그인 버튼 */
.td-social{display:flex;flex-direction:column;gap:10px;max-width:420px;margin:18px auto}
.td-social-btn{display:flex;align-items:center;gap:14px;height:52px;padding:0 20px;border-radius:12px;font-size:16px;font-weight:700;text-decoration:none!important;box-sizing:border-box;transition:filter .15s}
.td-social-btn svg{width:24px;height:24px;flex:none}
.td-social-btn:hover{filter:brightness(.94)}
.td-social-discord{background:#5865f2;color:#fff!important}
.td-social-kakao{background:#fee500;color:#191919!important}
.td-social-naver{background:#03c75a;color:#fff!important}#wpforo-wrap .td-social{margin:14px auto 22px;padding:0 16px}
#wpforo-wrap .td-social-btn{font-size:16px!important;font-weight:700!important;line-height:1!important;width:auto}
#wpforo-wrap .td-social-btn span{font-size:16px!important;font-weight:700!important;color:inherit!important}
#wpforo-wrap .td-social-btn:hover{color:inherit}

/* ===== 편의 기능: 떠 있는 버튼 · 썸네일 · 개념글 탭 ===== */
.td-dock{position:fixed;right:14px;bottom:20px;z-index:90;display:flex;flex-direction:column;gap:8px}
.td-dock button{width:42px;height:42px;border:0;border-radius:50%;background:rgba(40,46,58,.82);color:#fff;font-size:16px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.25);transition:background .15s,transform .1s}
.td-dock button:hover{background:rgba(28,79,147,.95)}
.td-dock button:active{transform:scale(.94)}
@media(max-width:781px){.td-dock{bottom:78px}.td-dock button{width:38px;height:38px}}
#wpforo-wrap .wpf-thread .wpf-thread-title.td-hasthumb{display:flex!important;align-items:center;gap:10px}
#wpforo-wrap .wpf-thread .td-rowtxt{min-width:0;flex:1}
#wpforo-wrap .td-thumb{flex:none;width:76px;height:56px;border-radius:6px;object-fit:cover;background:#e4e7ee}
#wpforo-wrap .td-rowvote{margin-left:8px;color:#e0344b;font-weight:700;font-size:12px}
#wpforo-wrap .wpf-thread.td-hot .wpf-thread-title a{font-weight:800}
.td-segbar{display:flex;align-items:center;gap:6px;margin:10px 0 6px}
.td-segbar button{padding:5px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font-size:13px;font-weight:700;cursor:pointer}
.td-segbar button.on{background:var(--brand);border-color:var(--brand);color:#fff}
.td-segnote{margin-left:4px;color:var(--mute);font-size:12px}
.td-only-hot .wpf-thread:not(.td-hot){display:none!important}

/* ===== 다크 모드 ===== */
html[data-td-theme="dark"]{color-scheme:dark;
  --bg:#121418;--surface:#1c1f26;--surface2:#232730;--line:#2d323d;--line2:#272b34;
  --text:#e4e7ec;--mute:#9099a8;--brand:#3d7bd9;--brand2:#7aaaf2;--flame-bg:#2b2218;--flame-line:#5a4224}
html[data-td-theme="dark"] body,html[data-td-theme="dark"] .wp-site-blocks{background:var(--bg)!important;color:var(--text)}
html[data-td-theme="dark"] .td-header,html[data-td-theme="dark"] .td-top{background:#181b21!important;border-color:var(--line)}
html[data-td-theme="dark"] .td-gnb{background:#1f2430!important}
html[data-td-theme="dark"] .td-search .wp-block-search__inside-wrapper{background:#22262e!important;border-color:var(--brand)}
html[data-td-theme="dark"] .td-search .wp-block-search__input,html[data-td-theme="dark"] .td-search input{color:var(--text)!important}
html[data-td-theme="dark"] .td-login-link,html[data-td-theme="dark"] .td-login-link a{color:#c7cdd8}
html[data-td-theme="dark"] .td-logo a{color:#8fb6f2}
html[data-td-theme="dark"] .td-header .td-nav .wp-block-navigation__submenu-container{background:#22262e;border-color:var(--line)}
html[data-td-theme="dark"] .td-header .td-nav .wp-block-navigation__submenu-container a{color:var(--text)!important}
html[data-td-theme="dark"] .td-header .td-nav .wp-block-navigation__submenu-container a:hover{background:#2c3340}
html[data-td-theme="dark"] .td-card,html[data-td-theme="dark"] .td-quick{background:var(--surface);border-color:var(--line)}
html[data-td-theme="dark"] .td-quick a{background:var(--surface2);color:var(--text)}
html[data-td-theme="dark"] .td-table th{background:var(--surface2);color:var(--mute)}
html[data-td-theme="dark"] .td-table td,html[data-td-theme="dark"] .td-table th,html[data-td-theme="dark"] .td-board-list li{border-color:var(--line2)}
html[data-td-theme="dark"] .td-table a,html[data-td-theme="dark"] .td-board-list a{color:var(--text)}
html[data-td-theme="dark"] .td-table .c-board span{background:var(--surface2);color:var(--mute)}
html[data-td-theme="dark"] .td-footer{background:#181b21!important;border-color:var(--line)!important;color:var(--mute)}
html[data-td-theme="dark"] .td-footer a{color:var(--mute)}
html[data-td-theme="dark"] .td-btn{background:var(--surface2);color:var(--text);border-color:var(--line)}
html[data-td-theme="dark"] .td-flash{background:#25324a;color:#dbe6fb;border-color:#35496d}
/* wpForo */
html[data-td-theme="dark"] #wpforo-wrap,html[data-td-theme="dark"] #wpforo-wrap .wpforo-main,html[data-td-theme="dark"] #wpforo-wrap .wpf-thread,html[data-td-theme="dark"] #wpforo-wrap .wpf-thread-list,html[data-td-theme="dark"] #wpforo-wrap .wpforo-post,html[data-td-theme="dark"] #wpforo-wrap .wpforo-content,html[data-td-theme="dark"] #wpforo-wrap .wpf-post-wrap,html[data-td-theme="dark"] #wpforo-wrap .wpforo-login-content{background:var(--surface)!important;color:var(--text)!important}
html[data-td-theme="dark"] #wpforo-wrap,html[data-td-theme="dark"] #wpforo-wrap *{border-color:var(--line)}
html[data-td-theme="dark"] #wpforo-wrap a{color:#a9c6f5}
html[data-td-theme="dark"] #wpforo-wrap .wpf-thread .wpf-thread-title a{color:var(--text)}
html[data-td-theme="dark"] #wpforo-wrap .wpf-thread:hover{background:#232830!important}
html[data-td-theme="dark"] #wpforo-wrap #wpforo-menu,html[data-td-theme="dark"] #wpforo-wrap #wpforo-menu *,html[data-td-theme="dark"] #wpforo-wrap .wpforo-subtop,html[data-td-theme="dark"] #wpforo-wrap .wpf-head-bar,html[data-td-theme="dark"] #wpforo-wrap .wpf-threads-head,html[data-td-theme="dark"] #wpforo-wrap .wpforo-category .wpforo-cat-panel{background:var(--surface2)!important;color:var(--text)!important}
html[data-td-theme="dark"] #wpforo-wrap .wpf-thread-author-name,html[data-td-theme="dark"] #wpforo-wrap .wpf-thread-posts,html[data-td-theme="dark"] #wpforo-wrap .wpf-thread-views,html[data-td-theme="dark"] #wpforo-wrap .wpforo-date{color:var(--mute)!important}
html[data-td-theme="dark"] #wpforo-wrap input,html[data-td-theme="dark"] #wpforo-wrap textarea,html[data-td-theme="dark"] #wpforo-wrap select{background:#22262e!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-td-theme="dark"] #wpforo-wrap .wpforo-post-content,html[data-td-theme="dark"] #wpforo-wrap .wpforo-post-content *{color:var(--text)}
html[data-td-theme="dark"] #wpforo-wrap .wpforo-post-content a{color:#a9c6f5}
html[data-td-theme="dark"] #wpforo-wrap .wpf-button{background:var(--surface2);color:var(--text)!important}
html[data-td-theme="dark"] .td-dealbox,html[data-td-theme="dark"] .td-dealform{background:var(--surface2)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-td-theme="dark"] #wpforo-wrap .td-chip-mall{background:#223654!important;color:#9cc0f5!important}
html[data-td-theme="dark"] #wpforo-wrap .td-chip-cat{background:#2a2f39!important;color:#aab3c2!important;border-color:var(--line)!important}
html[data-td-theme="dark"] #wpforo-wrap .td-price{color:#ff6f84!important}
html[data-td-theme="dark"] .td-dealfilter button,html[data-td-theme="dark"] .td-end-btn{background:var(--surface2)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-td-theme="dark"] #wpforo-wrap .td-thumb{background:#2a2f39}
html[data-td-theme="dark"] .td-dock button{background:rgba(70,80,100,.9)}html[data-td-theme="dark"] #wpforo-wrap .wpf-footer-box,html[data-td-theme="dark"] #wpforo-wrap .wpf-item-element.active,html[data-td-theme="dark"] #wpforo-wrap .wpforo-footer,html[data-td-theme="dark"] #wpforo-wrap .wpf-breadcrumb,html[data-td-theme="dark"] #wpforo-wrap .wpf-breadcrumb *{background:var(--surface2)!important;color:var(--text)!important}
html[data-td-theme="dark"] #wpforo-wrap .wpf-breadcrumb a,html[data-td-theme="dark"] #wpforo-wrap .wpf-footer-box a{color:#a9c6f5!important}
html[data-td-theme="dark"] #wpforo-wrap .wpf-footer-box *{color:var(--mute)}
#wpforo-wrap .td-segbar button{font-size:13px!important;padding:5px 14px!important;line-height:1.2!important;height:auto!important;width:auto!important;margin:0!important}html[data-td-theme="dark"] #wpforo-wrap .wpf-post-head-top,html[data-td-theme="dark"] #wpforo-wrap .wpf-content-foot,html[data-td-theme="dark"] #wpforo-wrap .wpf-please-login,html[data-td-theme="dark"] #wpforo-wrap .wpforo-topic-footer,html[data-td-theme="dark"] #wpforo-wrap .wpf-member-title,html[data-td-theme="dark"] .td-action{background:var(--surface2)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-td-theme="dark"] #wpforo-wrap .wpf-breadcrumb .wpf-item-element,html[data-td-theme="dark"] #wpforo-wrap .wpf-breadcrumb .wpf-item-element::before,html[data-td-theme="dark"] #wpforo-wrap .wpf-breadcrumb .wpf-item-element::after{background:var(--surface2)!important;border-color:var(--line)!important}
html[data-td-theme="dark"] #wpforo-wrap .wpf-breadcrumb .wpf-item-element:after{border-left-color:var(--surface2)!important}
/* 알림 · 정렬 */
.td-dock button{position:relative}
.td-badge{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#e5484d;color:#fff;font-size:11px;font-weight:700;line-height:18px;display:none;align-items:center;justify-content:center;box-sizing:border-box}
.td-notif{position:fixed;right:64px;bottom:20px;z-index:95;width:min(330px,calc(100vw - 80px));max-height:60vh;overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 28px rgba(0,0,0,.25)}
.td-notif[hidden]{display:none}
.td-notif-h{padding:10px 14px;font-weight:700;font-size:14px;border-bottom:1px solid var(--line)}
.td-notif-i{display:block;padding:10px 14px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--text);font-size:13px;line-height:1.45}
.td-notif-i.new{background:rgba(28,79,147,.09)}
.td-notif-i b{display:block;font-weight:600}.td-notif-i span{display:block;color:var(--muted,#6b7280);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.td-notif-i em{font-style:normal;font-size:12px;color:var(--muted,#6b7280)}
.td-notif-empty{padding:22px 14px;text-align:center;color:var(--muted,#6b7280);font-size:13px;line-height:1.6}
@media(max-width:781px){.td-notif{bottom:78px}}
.td-sortgrp{margin-left:auto;display:flex;gap:4px}
#wpforo-wrap .td-sortgrp button{border:0!important;background:transparent!important;color:var(--muted,#6b7280)!important;padding:5px 8px!important}
#wpforo-wrap .td-sortgrp button.on{color:var(--brand)!important;text-decoration:underline}

/* ===== 게시판 목록: 한 줄 제목 + 작성자·시간·조회·추천 ===== */
#wpforo-wrap .wpf-head-bar{background:var(--surface)!important;border-radius:0!important;padding:10px 4px 8px!important;margin:0 0 6px!important;min-height:0!important;display:flex!important;align-items:center;gap:10px;border-bottom:2px solid var(--brand)}
#wpforo-wrap .wpf-head-bar:before,#wpforo-wrap .wpf-head-bar:after{display:none!important}
#wpforo-wrap .wpf-head-bar-left{flex:1;min-width:0;float:none!important;width:auto!important}
#wpforo-wrap .wpf-head-bar-right{float:none!important;width:auto!important;margin:0!important;padding:0!important}
#wpforo-wrap .wpf-head-bar h1#wpforo-title{font-size:20px!important;margin:0!important;padding:0!important;border:0!important}
#wpforo-wrap .wpf-head-bar #wpforo-description{font-size:13px!important;margin:2px 0 0!important;opacity:.75}
#wpforo-wrap .wpf-head-bar .wpf-button{padding:7px 14px!important;font-size:14px!important;border-radius:6px!important;white-space:nowrap}
#wpforo-wrap .wpf-thread-list .wpf-thread{border-bottom:1px solid var(--line)!important;padding:0!important}
#wpforo-wrap .wpf-thread .wpf-thread-body{display:flex!important;align-items:center;padding:9px 6px!important;min-height:0!important}
#wpforo-wrap .wpf-thread .wpf-thread-status,#wpforo-wrap .wpf-thread .wpf-thread-author,#wpforo-wrap .wpf-thread .wpf-thread-forum,#wpforo-wrap .wpf-thread .wpf-thread-posts,#wpforo-wrap .wpf-thread .wpf-thread-views,#wpforo-wrap .wpf-thread .wpf-thread-last-reply,#wpforo-wrap .wpf-thread .wpf-thread-forum-mobile,#wpforo-wrap .wpf-thread .wpf-thread-status-mobile,#wpforo-wrap .wpf-thread .wpf-thread-author-name{display:none!important}
#wpforo-wrap .wpf-thread .wpf-thread-title{display:block!important;flex:1;min-width:0;width:auto!important;padding:0!important}
#wpforo-wrap .wpf-thread .wpf-thread-title > a,#wpforo-wrap .wpf-thread .td-rowtxt > a{font-size:15.5px!important;font-weight:600!important;color:var(--text)!important;text-decoration:none;line-height:1.4}
#wpforo-wrap .wpf-thread .wpf-thread-title > a:hover,#wpforo-wrap .wpf-thread .td-rowtxt > a:hover{color:var(--brand)!important;text-decoration:underline}
#wpforo-wrap .wpf-thread:visited,#wpforo-wrap .wpf-thread-title a:visited{color:var(--muted,#6b7280)!important}
.td-cmt{margin-left:5px;font-size:13px;font-weight:700;color:var(--brand)}
.td-meta{display:flex;flex-wrap:wrap;gap:0;margin-top:3px;font-size:12.5px;color:var(--muted,#6b7280);line-height:1.4}
.td-meta > span + span:before{content:"|";margin:0 7px;opacity:.45}
.td-m-who{font-weight:600;color:var(--text)}
.td-m-vote.on{color:#e5484d;font-weight:700}
#wpforo-wrap .wpf-thread.td-hot .wpf-thread-title > a,#wpforo-wrap .wpf-thread.td-hot .td-rowtxt > a{font-weight:800!important}
#wpforo-wrap .wpf-thread.td-hot{background:rgba(229,72,77,.05)}
#wpforo-wrap .wpf-thread.td-current{background:rgba(28,79,147,.10)!important;box-shadow:inset 3px 0 0 var(--brand)}
.td-rowtxt{min-width:0}

/* ===== 글 보기 ===== */
.td-more{margin:18px 0 6px;border-top:2px solid var(--brand)}
.td-more-h{font-size:15px;margin:10px 4px 6px;font-weight:700}
.td-more-h a{color:var(--brand);text-decoration:none}
body #wpforo-wrap .wpforo-post-head{display:none!important}
#wpforo-wrap .wpforo-post .wpf-left{display:none!important}
#wpforo-wrap .wpforo-post .wpf-right{width:100%!important;margin:0!important;padding:0!important}
#wpforo-wrap .wpforo-post .wpf-content-head-bottom .wpf-author,#wpforo-wrap .wpforo-post .wpf-post-starter,#wpforo-wrap .wpforo-post .wpf-author-nicename,#wpforo-wrap .wpforo-post .wpf-author-joined{display:none!important}
#wpforo-wrap .wpforo-post .wpf-content-head{padding:8px 6px!important;border-bottom:1px solid var(--line)!important}
#wpforo-wrap .wpforo-post .wpf-content-head-top{display:flex!important;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
#wpforo-wrap .wpforo-post .wpf-author{display:flex!important;align-items:center;gap:8px}
#wpforo-wrap .wpforo-post .wpf-author-name{font-weight:700;font-size:14px}
#wpforo-wrap .wpforo-post .wpf-post-date{font-size:12.5px;color:var(--muted,#6b7280)}
#wpforo-wrap .wpforo-post .wpf-content{padding:14px 6px!important}
#wpforo-wrap .wpforo-post .wpforo-post-content{font-size:16px;line-height:1.75}
#wpforo-wrap .wpforo-post.wpf-parent-post{margin-top:4px}
#wpforo-wrap .wpforo-post:not(.wpf-parent-post){border-top:1px solid var(--line);background:var(--surface2,transparent)}
#wpforo-wrap .wpforo-post:not(.wpf-parent-post) .wpf-content{padding:8px 6px!important}
#wpforo-wrap .wpforo-post:not(.wpf-parent-post) .wpforo-post-content{font-size:15px;line-height:1.6}
#wpforo-wrap .wpforo-post .td-post-actions{display:flex;justify-content:center;gap:10px;margin:18px 0 6px}
#wpforo-wrap .wpforo-post .td-action--vote{padding:10px 26px!important;font-size:15px!important;font-weight:700!important;border-radius:999px!important}

/* ===== 글쓰기 ===== */
.td-writetip{margin:8px 0 12px;padding:12px 16px;border:1px solid var(--line);border-left:4px solid var(--brand);border-radius:6px;background:var(--surface2,#f6f8fb);font-size:13.5px;line-height:1.6;color:var(--text)}
.td-writetip ul{margin:6px 0 0 18px;padding:0}
#wpforo-wrap .wpf-form-wrapper input[name="topic[title]"]{width:100%!important;font-size:17px!important;font-weight:600!important;padding:11px 12px!important;border-radius:6px!important}
#wpforo-wrap .wpf-form-wrapper .wpf-buttons-wrap{text-align:right}
#wpforo-wrap .wpf-form-wrapper .wpf-buttons-wrap input[type=submit]{padding:10px 28px!important;font-size:15px!important;font-weight:700!important;border-radius:6px!important}
#wpforo-wrap .wpf-form-wrapper .mce-edit-area{min-height:320px}
@media(max-width:781px){#wpforo-wrap .wpf-head-bar{flex-wrap:wrap}#wpforo-wrap .wpf-thread .wpf-thread-title > a{font-size:15px!important}}
#wpforo-wrap:has(.wpf-thread-list) > div:has(.wpf-footer-title),#wpforo-wrap:has(.wpforo-post) > div:has(.wpf-footer-title),#wpforo-wrap:has(.wpf-thread-list) .wpf-sbtn{display:none!important}

/* ===== 가입 ===== */
#wpforo-wrap:has(form[name="wpfreg"]) .wpf-breadcrumb,#wpforo-wrap:has(form[name="wpfreg"]) .wpf-head-bar,#wpforo-wrap:has(form[name="wpfreg"]) > div:has(.wpf-footer-title),#wpforo-wrap:has(form[name="wpfreg"]) .wpf-sbtn,#wpforo-wrap:has(form[name="wpfreg"]) .wpforo-subtop{display:none!important}
#wpforo-wrap:has(form[name="wpfreg"]) .wpforo-content{max-width:520px;margin:0 auto;padding:6px 4px}
#wpforo-wrap form[name="wpfreg"]{background:transparent!important;margin-top:4px}
#wpforo-wrap form[name="wpfreg"] .wpf-field-wrap,#wpforo-wrap form[name="wpfreg"] .wpf-field{border:0!important}
#wpforo-wrap form[name="wpfreg"] input[type=submit]{width:100%!important;padding:12px!important;font-size:16px!important;font-weight:700!important;border-radius:6px!important}
.td-terms{max-width:520px;margin:0 auto 6px}
.td-terms-h{font-size:22px;margin:6px 0 12px}
.td-terms-box{height:190px;overflow:auto;padding:10px 14px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font-size:13px;line-height:1.65}
.td-terms-box h3{font-size:14px;margin:2px 0 8px}
.td-terms-box ol{margin:0 0 0 18px;padding:0}.td-terms-box li{margin:0 0 6px}
.td-terms-ck{display:flex;align-items:center;gap:8px;margin:10px 0 4px;font-size:14px;cursor:pointer}
.td-terms-ck em{font-style:normal;color:#e5484d}
.td-terms-warn .td-terms-ck{color:#e5484d;font-weight:700}
.td-fieldnote{margin:4px 0 0 18px;padding:0;font-size:12.5px;color:var(--muted,#6b7280);line-height:1.5}
#wpforo-wrap .wpf-pt-register #wpforo-title,#wpforo-wrap .wpforo-register-content > h3{display:none!important}
#wpforo-wrap .td-terms{padding:0 12px;box-sizing:border-box}
#wpforo-wrap .td-terms-h{font-size:22px!important;margin:8px 0 12px!important;color:var(--text)!important}
#wpforo-wrap .td-terms-box{height:190px!important;overflow:auto!important;padding:10px 14px!important;border:1px solid var(--line)!important;border-radius:6px!important;background:var(--surface)!important;color:var(--text)!important;font-size:13px!important;line-height:1.65!important;box-sizing:border-box}
#wpforo-wrap .td-terms-box h3{font-size:14px!important;margin:2px 0 8px!important;color:var(--text)!important}
#wpforo-wrap .td-terms-box li{margin:0 0 6px!important;color:var(--text)!important}
#wpforo-wrap .td-terms-ck{margin:12px 0 8px!important;color:var(--text)!important;font-size:14px!important}
#wpforo-wrap .td-terms-ck input{width:18px!important;height:18px!important;margin:0!important}
#wpforo-wrap .td-fieldnote li{color:var(--muted,#6b7280)!important}

/* ===== 로그인 ===== */
#wpforo-wrap:has(form[name="wpflogin"]) .wpf-breadcrumb,#wpforo-wrap:has(form[name="wpflogin"]) .wpforo-subtop,#wpforo-wrap:has(form[name="wpflogin"]) .wpf-head-bar,#wpforo-wrap:has(form[name="wpflogin"]) > div:has(.wpf-footer-title),#wpforo-wrap:has(form[name="wpflogin"]) .wpf-sbtn,#wpforo-wrap .wpf-pt-login #wpforo-title,#wpforo-wrap form[name="wpflogin"] .nfd-sso-hosting-login{display:none!important}
#wpforo-wrap:has(form[name="wpflogin"]) .wpforo-content{padding:18px 8px}
#wpforo-wrap form[name="wpflogin"] .wpforo-login-wrap{max-width:430px;margin:0 auto;padding:26px 26px 22px!important;background:var(--surface)!important;border:1px solid var(--line);border-radius:36px 6px 6px 6px;box-shadow:0 3px 14px rgba(0,0,0,.12);box-sizing:border-box}
#wpforo-wrap form[name="wpflogin"] .wpforo-login-content > h3{font-size:0!important;text-align:center;margin:6px 0 18px!important}
#wpforo-wrap form[name="wpflogin"] .wpforo-login-content > h3:before{content:"팁담팸 로그인";font-size:24px;font-weight:800;color:var(--text)}
#wpforo-wrap form[name="wpflogin"] input[name="wpforologin"]{width:100%!important;padding:12px!important;font-size:16px!important;font-weight:700!important;border-radius:6px!important;margin-top:10px}
#wpforo-wrap form[name="wpflogin"] .wpf-field-reg{margin-top:14px;text-align:center}
#wpforo-wrap form[name="wpflogin"] .wpf-field-reg a{display:block;padding:11px;border:1px solid var(--brand);border-radius:6px;color:var(--brand)!important;font-weight:700;text-decoration:none}
#wpforo-wrap form[name="wpflogin"] .wpf-extra{font-size:13px;margin:6px 0 0}
#wpforo-wrap:has(form[name="wpflogin"]){background:var(--surface2,#eef0f3)!important}
#wpforo-wrap form[name="wpflogin"] .wpforo-login-table,#wpforo-wrap form[name="wpflogin"] .wpforo-login-table .wpf-tr,#wpforo-wrap form[name="wpflogin"] .wpforo-login-table .wpf-td{background:transparent!important;width:100%!important;max-width:100%!important;margin:0!important;padding-left:0!important;padding-right:0!important;border:0!important;float:none!important;box-sizing:border-box}
#wpforo-wrap form[name="wpflogin"] .wpforo-login-wrap hr,#wpforo-wrap:has(form[name="wpflogin"]) .wpforo-content > hr{display:none!important}
#wpforo-wrap form[name="wpflogin"] .wpf-field-wrap{width:100%!important}
#wpforo-wrap form[name="wpflogin"] .wpf-field,#wpforo-wrap form[name="wpflogin"] .wpf-field-wrap{background:transparent!important;border:0!important}
#wpforo-wrap .wpf-pt-login .wpf-profile-body{display:flex!important;justify-content:center!important;width:100%!important;padding:0!important}
#wpforo-wrap .wpf-pt-login form[name="wpflogin"]{width:100%;max-width:430px}
#wpforo-wrap form[name="wpflogin"] .wpforo-login-wrap{width:100%!important}
#wpforo-wrap .wpf-pt-login .wpf-profile-body > p{display:none!important}

/* ===== 댓글 머리말 · 추천컷 ===== */
.td-cmthead{display:flex;align-items:center;justify-content:space-between;margin:16px 0 0;padding:9px 6px;border-top:2px solid var(--brand);border-bottom:1px solid var(--line);font-size:15px}
.td-cmthead span{color:var(--brand)}
.td-cmthead a{padding:5px 12px;border:1px solid var(--brand);border-radius:6px;color:var(--brand)!important;font-size:13px;font-weight:700;text-decoration:none}
.td-cmtempty{padding:20px 6px;text-align:center;color:var(--muted,#6b7280);font-size:14px}
#wpforo-wrap .wpforo-post:not(.wpf-parent-post) .wpf-author-name{font-size:13.5px}
#wpforo-wrap .wpforo-post:not(.wpf-parent-post) .wpf-content-head{padding:6px 6px 2px!important;border-bottom:0!important}
#wpforo-wrap .wpforo-post:not(.wpf-parent-post) .wpf-content-foot{padding:0 6px 6px!important}
#wpforo-wrap .wpforo-post:not(.wpf-parent-post) .wpf-post-btns{display:none}
select.td-cut{margin-left:6px;padding:4px 6px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font-size:12.5px}

/* =====================================================================
   커뮤니티식 평면(flat) 스킨 — 연회색 바탕, 각진 흰 상자, 1px 회색 테두리,
   어두운 한 줄 상단바, 말머리(카테고리) 배지, 점선 댓글 머리줄
   ===================================================================== */
html:not([data-td-theme="dark"]) body,html:not([data-td-theme="dark"]) .wp-site-blocks{background:#eee!important}
html:not([data-td-theme="dark"]) .td-header,html:not([data-td-theme="dark"]) .td-top{background:#3d414d!important;border:0!important}
html:not([data-td-theme="dark"]) .td-top .td-logo a,html:not([data-td-theme="dark"]) .td-top .td-logo,html:not([data-td-theme="dark"]) .td-login-link,html:not([data-td-theme="dark"]) .td-top a{color:#fff!important}
html:not([data-td-theme="dark"]) .td-gnb{background:#353944!important}
html:not([data-td-theme="dark"]) .td-top .wp-block-search__input{background:#fff!important;border:1px solid #bbb!important;border-radius:0!important}
html:not([data-td-theme="dark"]) .td-cta{border-radius:2px!important}
#wpforo-wrap{font-size:15px!important;line-height:1.5!important;border-radius:0!important;border:1px solid #bbb;box-shadow:none!important}
html:not([data-td-theme="dark"]) #wpforo-wrap{background:#fff!important}
#wpforo-wrap .wpf-button,#wpforo-wrap input[type=submit],#wpforo-wrap button,.td-cmthead a,.td-segbar button,select.td-cut{border-radius:2px!important}
#wpforo-wrap input[type=text],#wpforo-wrap input[type=email],#wpforo-wrap input[type=password],#wpforo-wrap textarea,#wpforo-wrap select{border-radius:0!important;border:1px solid #bbb!important}

/* 목록 줄: 보통 굵기 제목, 회색 작은 글씨, 얇은 구분선 */
#wpforo-wrap .wpf-thread-list .wpf-thread{border-bottom:1px solid #ddd!important}
#wpforo-wrap .wpf-thread .wpf-thread-title > a,#wpforo-wrap .wpf-thread .td-rowtxt > a{font-size:14.25px!important;font-weight:400!important;line-height:1.5}
#wpforo-wrap .wpf-thread.td-hot .wpf-thread-title > a,#wpforo-wrap .wpf-thread.td-hot .td-rowtxt > a{font-weight:700!important}
.td-meta{font-size:12px;color:#777}
.td-m-who{font-weight:400;color:#555}
/* 말머리 배지 */
.td-badge2{display:inline-block;margin-right:6px;padding:2px 5px;border-radius:2px;background:#42464f;color:#fff;font-size:12px;font-weight:700;line-height:1.1;vertical-align:1px;white-space:nowrap}
/* 글 머리: 제목 크게, 아래 회색 선 */
html:not([data-td-theme="dark"]) #wpforo-wrap .wpf-head-bar{background:#fff!important;border-bottom:1px solid #bbb!important}
#wpforo-wrap .wpf-head-bar h1#wpforo-title{font-size:19.5px!important;font-weight:500!important}
#wpforo-wrap .wpforo-post .wpforo-post-content{font-size:15px;line-height:1.5}
/* 댓글: 회색 머리줄(점선) + 작은 본문 */
html:not([data-td-theme="dark"]) #wpforo-wrap .wpforo-post:not(.wpf-parent-post){background:#fff!important;border-top:0!important}
html:not([data-td-theme="dark"]) #wpforo-wrap .wpforo-post:not(.wpf-parent-post) .wpf-content-head{background:#eee!important;border-bottom:1px dashed #bbb!important;font-size:12.75px;padding:3px 7px!important}
#wpforo-wrap .wpforo-post:not(.wpf-parent-post) .wpf-content{padding:8px 7px!important}
#wpforo-wrap .wpforo-post:not(.wpf-parent-post) .wpforo-post-content{font-size:14.25px;line-height:1.5}
.td-cmthead{border-top:1px solid #bbb;border-bottom:1px solid #bbb;background:#fff;font-size:14.25px;padding:6px 8px}
/* 가운데 알림 상자 · 약관 · 카드: 각지게 */
.td-notif,.td-terms-box,.td-writetip,#wpforo-wrap .td-terms-box{border-radius:0!important}

/* ===== 최신글(전체) 목록: 말머리 배지 + 한 줄 제목 ===== */
#wpforo-wrap .wpforo-recent-content .wpf-htr,#wpforo-wrap .wpforo-recent-content .wpf-ptr,#wpforo-wrap .wpforo-recent-content .wpf-spost-avatar,#wpforo-wrap .wpforo-recent-content .wpf-spost-title > i,#wpforo-wrap .wpforo-recent-content .wpf-spost-forum i,#wpforo-wrap .wpforo-recent-content .wpf-spost-forum-label{display:none!important}
#wpforo-wrap .wpforo-recent-content .wpf-ttr{border-bottom:1px solid #ddd}
#wpforo-wrap .wpforo-recent-content .wpf-ttr > td{display:block;padding:0!important;background:transparent!important}
#wpforo-wrap .wpforo-recent-content .wpf-spost-title{display:flex!important;flex-wrap:wrap;align-items:baseline;padding:8px 8px!important}
#wpforo-wrap .wpforo-recent-content .wpf-spost-forum{order:-1;margin:0 6px 0 0}
#wpforo-wrap .wpforo-recent-content .wpf-spost-forum a{display:inline-block;padding:2px 5px;border-radius:2px;background:#42464f;color:#fff!important;font-size:12px;font-weight:700;line-height:1.1;text-decoration:none}
#wpforo-wrap .wpforo-recent-content .wpf-spost-title-link{font-size:14.25px!important;font-weight:400!important;color:var(--text)!important;line-height:1.5}
#wpforo-wrap .wpforo-recent-content .wpf-spost-title p{order:3;flex-basis:100%;margin:2px 0 0!important;font-size:12px!important;color:#777}
#wpforo-wrap .wpforo-recent-content .wpf-spost-title p a{color:#555!important}
#wpforo-wrap .wpforo-recent-content .wpf-spost-title{gap:2px 7px}
#wpforo-wrap .wpforo-recent-content .wpf-spost-forum{margin:0!important}
#wpforo-wrap .wpforo-recent-content .wpf-spost-forum a{padding:3px 6px}
#wpforo-wrap:has(.wpforo-recent-content) > div:has(.wpf-footer-title),#wpforo-wrap:has(.wpforo-recent-content) .wpf-sbtn{display:none!important}

/* dislike / scrap */
.td-action--scrap.is-on{color:#b7791f;border-color:#b7791f}
.td-action--dislike.is-voted{color:#c0392b;border-color:#c0392b}
.td-dock [data-a=scraps]{color:#b7791f}

/* flat search box and pagination (arca style) */
html:not([data-td-theme="dark"]) #wpforo-wrap .wpf-search-field{border-radius:0!important;border:1px solid #bbb!important;background:#fff!important;box-shadow:none!important}
html:not([data-td-theme="dark"]) #wpforo-wrap .wpf-head-bar{background:#f5f5f5!important;border:0!important;border-bottom:1px solid #ddd!important;border-radius:0!important}
#wpforo-wrap .wpf-navi a,#wpforo-wrap .wpf-navi span,#wpforo-wrap [class*=page-numbers]{border-radius:2px!important;min-width:28px;text-align:center;font-size:13px}

/* lighter category badge (readable) */
#wpforo-wrap .td-badge2,.td-badge2{background:#eef0f3!important;color:#3d414d!important;border:1px solid #d3d7dd!important;padding:1px 6px!important;font-weight:600!important;text-shadow:none!important}
html[data-td-theme="dark"] #wpforo-wrap .td-badge2{background:#2b3038!important;color:#d6dae0!important;border-color:#454b55!important}

/* light pill badge like the reference table */
#wpforo-wrap .wpforo-recent-content .wpf-spost-forum a,#wpforo-wrap .td-badge2,.td-badge2{background:#f1f3f5!important;color:#555!important;border:0!important;border-radius:4px!important;padding:3px 8px!important;font-size:12px!important;font-weight:600!important}
html[data-td-theme="dark"] #wpforo-wrap .wpforo-recent-content .wpf-spost-forum a{background:#2b3038!important;color:#d6dae0!important}

/* ===== table-style board list (desktop) ===== */
.td-ttl{display:inline}
.td-ttl > a{font-size:14.25px!important;font-weight:400!important;line-height:1.5;color:var(--text)!important;text-decoration:none}
#wpforo-wrap .wpf-thread.td-hot .td-ttl > a{font-weight:700!important}
.td-ttl > a:hover{text-decoration:underline}
.td-new{display:inline-block;margin-left:5px;padding:0 4px;border-radius:3px;background:#e5384f;color:#fff;font-size:10px;font-weight:700;line-height:15px;vertical-align:1px}
.td-thead{display:none}
@media (min-width:760px){
  #wpforo-wrap .wpf-thread .wpf-thread-body{display:grid!important;grid-template-columns:104px minmax(0,1fr) 120px 90px 56px 56px;align-items:center;padding:0!important}
  #wpforo-wrap .wpf-thread .wpf-thread-title,#wpforo-wrap .wpf-thread .td-rowtxt,#wpforo-wrap .wpf-thread .td-meta{display:contents!important}
  #wpforo-wrap .wpf-thread .td-thumb{display:none!important}
  #wpforo-wrap .wpf-thread .td-badge2{justify-self:center;margin:0!important;padding:11px 0}
  #wpforo-wrap .wpf-thread .td-badge2{padding:3px 8px!important}
  #wpforo-wrap .wpf-thread .td-ttl{display:block;min-width:0;padding:11px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #wpforo-wrap .wpf-thread .td-meta > span{padding:11px 4px;text-align:center;font-size:13px;color:#777;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #wpforo-wrap .wpf-thread .td-meta > span:before{content:none!important}
  #wpforo-wrap .wpf-thread .td-meta > span i{display:none}
  #wpforo-wrap .wpf-thread .td-m-who{color:#444}
  .td-thead{display:grid;grid-template-columns:104px minmax(0,1fr) 120px 90px 56px 56px;background:#f8f9fa;border-top:1px solid #ddd;border-bottom:1px solid #ccc;font-size:13px;color:#777;font-weight:600}
  .td-thead span{padding:9px 4px;text-align:center}
}
html[data-td-theme="dark"] .td-thead{background:#232830;border-color:#3a404a;color:#aab}
#wpforo-wrap .wpf-thread .td-ttl .td-new{color:#fff!important;font-size:10px!important;font-weight:700!important;line-height:15px!important;background:#e5384f!important;padding:0 4px!important}

/* ===== table-style recent list (desktop) ===== */
.wpforo-recent-content .td-meta{display:none}
@media (min-width:760px){
  #wpforo-wrap .wpforo-recent-content .wpf-spost-title{display:grid!important;grid-template-columns:104px minmax(0,1fr) 120px 90px 56px 56px;align-items:center;gap:0!important;padding:0!important}
  #wpforo-wrap .wpforo-recent-content .wpf-spost-title > p{display:none!important}
  #wpforo-wrap .wpforo-recent-content .wpf-spost-forum{order:-1;justify-self:center;margin:0!important}
  #wpforo-wrap .wpforo-recent-content .td-ttl{display:block;min-width:0;padding:11px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #wpforo-wrap .wpforo-recent-content .td-meta{display:contents!important}
  #wpforo-wrap .wpforo-recent-content .td-meta > span{padding:11px 4px;text-align:center;font-size:13px;color:#777;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #wpforo-wrap .wpforo-recent-content .td-meta > span i{display:none}
  #wpforo-wrap .wpforo-recent-content .td-m-who{color:#444}
  #wpforo-wrap .wpforo-recent-content .td-new{color:#fff!important;font-size:10px!important}
  #wpforo-wrap .wpforo-recent-content .wpf-spost-title-link{font-size:14.25px!important;font-weight:400!important}
}

/* comment editor: half height (post pages only) */
#wpforo-wrap:has(.wpforo-post.wpf-parent-post) .wpf-post-create .mce-tinymce{height:auto!important}
#wpforo-wrap:has(.wpforo-post.wpf-parent-post) .wpf-post-create .mce-edit-area{height:150px!important}
#wpforo-wrap:has(.wpforo-post.wpf-parent-post) .wpf-post-create .mce-edit-area iframe{height:100%!important}
#wpforo-wrap:has(.wpforo-post.wpf-parent-post) .wpf-post-create textarea[name*=body]{min-height:0!important;height:150px!important}
#wpforo-wrap:has(.wpforo-post.wpf-parent-post) .wpf-form-wrapper .mce-edit-area{min-height:0!important;height:150px!important}
#wpforo-wrap:has(.wpforo-post.wpf-parent-post) .wpf-form-wrapper .mce-edit-area iframe{min-height:0!important}
#wpforo-wrap .wpforo-recent-content .td-meta > span:before{content:none!important}

/* ===== id decoration: nick color, title, frame, character avatar ===== */
.td-dpre{display:inline-flex;align-items:center;gap:4px;margin-right:4px;vertical-align:middle}
.td-dpre .td-av{border-radius:4px;flex:none}
.td-title{font-style:normal;font-size:11px;font-weight:600;line-height:1;padding:2px 5px;border-radius:9px;background:#eef0f3;color:#555}
.td-fr-line{text-decoration:underline wavy;text-underline-offset:3px}
.td-fr-box{border:1px solid currentColor;border-radius:4px;padding:0 4px}
.td-fr-star:before{content:"\2605\00a0";color:#f08c00}
#wpforo-wrap .wpf-thread .td-m-who .td-title,#wpforo-wrap .wpforo-recent-content .td-m-who .td-title{display:none}
.td-m-who .td-dpre .td-av{width:14px;height:14px}
.td-dock [data-a=decor]{font-size:15px}
.td-decor{position:fixed;z-index:100000;right:70px;bottom:20px;width:340px;max-width:calc(100vw - 24px);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:auto;background:#fff;color:#222;border:1px solid #bbb;border-radius:6px;box-shadow:0 8px 28px rgba(0,0,0,.22);padding:0 0 10px;font-size:13px}
.td-decor[hidden]{display:none}
.td-dh{position:sticky;top:0;background:#3d414d;color:#fff;font-weight:700;padding:9px 12px;display:flex;justify-content:space-between;align-items:center}
.td-dx{background:none;border:0;color:#fff;cursor:pointer;font-size:14px}
.td-dprev{display:flex;gap:12px;align-items:center;padding:12px;background:#f5f6f8;border-bottom:1px solid #e1e3e8}
.td-dprev .td-av{width:72px;height:72px;border-radius:12px}
.td-dname{font-size:15px;font-weight:600}
.td-dsec{padding:8px 12px 0}
.td-dsec b{display:block;margin-bottom:5px;font-size:12px;color:#666}
.td-dopts{display:flex;flex-wrap:wrap;gap:5px}
.td-sw{width:24px;height:24px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #bbb;cursor:pointer;padding:0}
.td-sw.on{box-shadow:0 0 0 2px #1971c2}
.td-ch{padding:4px 9px;border:1px solid #ccd;border-radius:14px;background:#fff;color:#333;font-size:12px;cursor:pointer}
.td-ch.on{background:#1971c2;border-color:#1971c2;color:#fff}
.td-dact{display:flex;align-items:center;gap:8px;padding:12px 12px 0}
.td-dsave{background:#1971c2;color:#fff;border:0;border-radius:4px;padding:7px 18px;font-weight:700;cursor:pointer}
.td-dreset{background:#fff;border:1px solid #bbb;border-radius:4px;padding:6px 12px;cursor:pointer;color:#444}
.td-dmsg{font-size:12px;color:#2f9e44}
.td-dnote{margin:8px 12px 0;font-size:11px;color:#888}
html[data-td-theme="dark"] .td-decor{background:#1f242c;color:#e3e6ea;border-color:#454b55}
html[data-td-theme="dark"] .td-dprev{background:#272d36;border-color:#3a404a}
html[data-td-theme="dark"] .td-ch{background:#272d36;color:#d6dae0;border-color:#454b55}
html[data-td-theme="dark"] .td-title{background:#2b3038;color:#d6dae0}

/* ===== compact mobile menu: keep the hamburger dropdown, make it small ===== */
@media (max-width:781px){
  .td-top>.td-wrap,.td-top__in{min-height:0!important;padding-top:5px!important;padding-bottom:5px!important;gap:8px!important}
  .td-top .td-logo,.td-top .td-logo a{font-size:16px!important;line-height:1.2!important}
  .td-login-link,.td-cta{font-size:12.5px!important}
  .td-gnb .td-wrap{min-height:0!important;padding-top:2px!important;padding-bottom:2px!important}
  .td-nav .wp-block-navigation__responsive-container-open{padding:5px 2px!important}
  .td-nav .wp-block-navigation__responsive-container-open::after{font-size:13px!important}
  .td-nav .wp-block-navigation__responsive-container-open svg{width:20px!important;height:20px!important}
  /* opened menu: small panel at the top, two columns, not full screen */
  .td-nav .wp-block-navigation__responsive-container.is-menu-open{top:0!important;bottom:auto!important;height:auto!important;max-height:80vh;overflow:auto!important;border-radius:0 0 10px 10px;box-shadow:0 10px 28px rgba(0,0,0,.35);background:#353944!important}
  .td-nav .is-menu-open .wp-block-navigation__responsive-container-content{padding:38px 10px 10px!important}
  .td-nav .is-menu-open .wp-block-navigation__responsive-container-close{top:6px!important;right:8px!important}
  .td-nav .is-menu-open .wp-block-navigation__container{display:grid!important;grid-template-columns:1fr 1fr;gap:4px!important;width:100%}
  .td-nav .is-menu-open .wp-block-navigation-item,.td-nav .is-menu-open .wp-block-navigation-item.has-child{display:block!important;width:auto}
  .td-nav .is-menu-open .wp-block-navigation-item.has-child{display:contents!important}
  .td-nav .is-menu-open .wp-block-navigation__submenu-container{display:contents!important;position:static!important;padding:0!important}
  .td-nav .is-menu-open .wp-block-navigation__submenu-icon{display:none!important}
  .td-nav .is-menu-open a.wp-block-navigation-item__content,.td-nav .is-menu-open .wp-block-navigation__submenu-container a.wp-block-navigation-item__content{display:block;padding:9px 10px!important;font-size:14px!important;font-weight:600!important;border-radius:6px;background:rgba(255,255,255,.08);color:#fff!important;opacity:1!important}
  #wpforo-wrap .wpforo-subtop{padding-top:2px!important;padding-bottom:2px!important;min-height:0!important;height:auto!important}
  #wpforo-wrap #wpforo-menu a{padding-top:6px!important;padding-bottom:6px!important;font-size:13px!important}
  #wpforo-wrap .wpf-breadcrumb{padding-top:2px!important;padding-bottom:2px!important}
  #wpforo-wrap .wpf-head-bar{padding-top:6px!important;padding-bottom:6px!important}
}
@media (max-width:781px){
  html body .td-nav .wp-block-navigation__responsive-container.is-menu-open{background:#353944!important}
  html body .td-nav .is-menu-open .wp-block-navigation__responsive-container-content{padding:34px 8px 8px!important}
  html body .td-nav .is-menu-open .wp-block-navigation__container{gap:3px!important}
  html body .td-nav .is-menu-open a.wp-block-navigation-item__content,html body .td-nav .is-menu-open .wp-block-navigation__submenu-container a.wp-block-navigation-item__content{padding:6px 9px!important;font-size:13px!important;font-weight:600!important}
}

/* open site menu: nothing from wpForo's own menu may show through */
html.has-modal-open #wpforo-menu,html.has-modal-open #wpforo-menu *,html.has-modal-open #wpforo-wrap .wpforo-subtop *{visibility:hidden!important}
html.has-modal-open .td-nav .wp-block-navigation__responsive-container.is-menu-open{z-index:2147483000!important}
html.has-modal-open .td-dock,html.has-modal-open .td-notif,html.has-modal-open .td-decor{display:none!important}
/* open site menu must not lock page scrolling (scrolling closes it) */
html.has-modal-open,html.has-modal-open body{overflow:auto!important}

/* ===== phones: same table look as the home page (board | title | time) ===== */
@media (max-width:759px){
  /* board lists */
  #wpforo-wrap .wpf-thread .wpf-thread-body{display:grid!important;grid-template-columns:84px minmax(0,1fr) 62px;align-items:center;padding:0!important}
  #wpforo-wrap .wpf-thread .wpf-thread-title,#wpforo-wrap .wpf-thread .td-rowtxt,#wpforo-wrap .wpf-thread .td-meta{display:contents!important}
  #wpforo-wrap .wpf-thread .td-thumb{display:none!important}
  #wpforo-wrap .wpf-thread .td-badge2{justify-self:center;margin:0!important}
  #wpforo-wrap .wpf-thread .td-ttl{display:block;min-width:0;padding:11px 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #wpforo-wrap .wpf-thread .td-meta > span{display:none!important}
  #wpforo-wrap .wpf-thread .td-meta > .td-m-when{display:block!important;padding:11px 4px;text-align:right;font-size:12px;color:#8a93a3;white-space:nowrap}
  #wpforo-wrap .wpf-thread .td-meta > span:before{content:none!important}
  /* recent list */
  #wpforo-wrap .wpforo-recent-content .wpf-spost-title{display:grid!important;grid-template-columns:84px minmax(0,1fr) 62px;align-items:center;gap:0!important;padding:0!important}
  #wpforo-wrap .wpforo-recent-content .wpf-spost-title > p{display:none!important}
  #wpforo-wrap .wpforo-recent-content .wpf-spost-forum{order:-1;justify-self:center;margin:0!important}
  #wpforo-wrap .wpforo-recent-content .td-ttl{display:block;min-width:0;padding:11px 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #wpforo-wrap .wpforo-recent-content .td-meta{display:contents!important}
  #wpforo-wrap .wpforo-recent-content .td-meta > span{display:none!important}
  #wpforo-wrap .wpforo-recent-content .td-meta > .td-m-when{display:block!important;padding:11px 4px;text-align:right;font-size:12px;color:#8a93a3;white-space:nowrap}
  /* header row: board | title | time */
  .td-thead{display:grid;grid-template-columns:84px minmax(0,1fr) 62px;background:#f8f9fa;border-top:1px solid #ddd;border-bottom:1px solid #ccc;font-size:12.5px;color:#777;font-weight:600}
  .td-thead span{padding:8px 4px;text-align:center}
  .td-thead span:nth-child(3),.td-thead span:nth-child(5),.td-thead span:nth-child(6){display:none}
  .td-thead span:nth-child(4){text-align:right}
  /* wpForo's own duplicate menu (hamburger + tabs) is gone; the site menu above is the only one */
  #wpforo-wrap .wpforo-subtop,#wpforo-wrap #wpforo-menu{display:none!important}
  .td-top__acts .td-register{display:inline!important}
}
@media (max-width:759px){
  html body #wpforo-wrap .td-thead span:nth-child(3),html body #wpforo-wrap .td-thead span:nth-child(5),html body #wpforo-wrap .td-thead span:nth-child(6),html body .td-thead span:nth-child(3),html body .td-thead span:nth-child(5),html body .td-thead span:nth-child(6){display:none!important}
}
#wpforo-wrap .td-ttl .td-new{color:#fff!important;font-size:10px!important;font-weight:700!important;line-height:15px!important;background:#e5384f!important;padding:0 4px!important}

/* ===== clean list pages: same card look as the home page ===== */
html:not([data-td-theme="dark"]) #wpforo-wrap{border:1px solid #dfe3ea!important;border-radius:10px!important;box-shadow:0 1px 3px rgba(20,30,60,.06)!important;overflow:hidden}
#wpforo-wrap .wpf-breadcrumb{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:8px 12px!important;font-size:12px!important;color:#8a93a3}
#wpforo-wrap .wpf-breadcrumb *{font-size:12px!important;line-height:1.3!important}
#wpforo-wrap .wpf-breadcrumb svg,#wpforo-wrap .wpf-breadcrumb img,#wpforo-wrap .wpf-breadcrumb .wpf-item-element{width:auto!important;height:auto!important}
#wpforo-wrap .wpf-breadcrumb svg{width:10px!important;height:10px!important}
html:not([data-td-theme="dark"]) #wpforo-wrap .wpf-head-bar{background:#fff!important;border-bottom:1px solid #eceff4!important;padding:10px 12px!important}
#wpforo-wrap .wpf-head-bar h1#wpforo-title{border-left:4px solid #1c4f93;padding-left:8px;font-size:17px!important;font-weight:700!important;line-height:1.3!important}
#wpforo-wrap .wpf-head-bar-left > div:not(.wpf-action-link){font-size:12.5px!important;color:#8a93a3;margin:2px 0 0 12px}
#wpforo-wrap .wpf-head-bar .wpf-action-link{margin:6px 0 0 12px}
/* chips: all / best / cut / sort */
.td-segbar{display:flex!important;align-items:center;flex-wrap:nowrap!important;gap:6px;padding:8px 12px!important;overflow-x:auto;scrollbar-width:none;background:#fff!important;border-bottom:1px solid #eceff4}
.td-segbar::-webkit-scrollbar{display:none}
.td-segbar > button,.td-sortgrp button{flex:none;border:0!important;border-radius:99px!important;background:#eef0f3!important;color:#555!important;padding:5px 12px!important;font-size:12.5px!important;font-weight:600!important;box-shadow:none!important;text-decoration:none!important}
.td-segbar > button.on,.td-sortgrp button.on{background:#1c4f93!important;color:#fff!important}
.td-sortgrp{display:flex;gap:6px;flex:none;margin-left:auto}
.td-segbar .td-cut{flex:none;border:1px solid #dfe3ea!important;border-radius:99px!important;background:#fff!important;color:#555!important;padding:4px 8px!important;font-size:12.5px!important;height:auto!important}
.td-thead{background:#f8f9fa!important}
@media (max-width:759px){
  #wpforo-wrap .wpf-head-bar .wpf-action-link{display:none}
  .td-segbar .td-cut{display:none}
  #wpforo-wrap .wpf-head-bar-right .wpf-button{padding:6px 12px!important;font-size:13px!important}
  #wpforo-wrap .wpf-head-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
}
@media (max-width:759px){
  html body #wpforo-wrap .td-segbar select.td-cut{display:none!important}
  html body #wpforo-wrap .td-thead span:nth-child(4){padding-right:10px}
}
html body #wpforo-wrap .td-segbar .td-sortgrp button,html body #wpforo-wrap .td-segbar > button{border:0!important;border-radius:99px!important;background:#eef0f3!important;color:#555!important;padding:5px 12px!important;font-size:12.5px!important;font-weight:600!important;text-decoration:none!important}
html body #wpforo-wrap .td-segbar .td-sortgrp button.on,html body #wpforo-wrap .td-segbar > button.on{background:#1c4f93!important;color:#fff!important}
@media (max-width:759px){html body #wpforo-wrap .wpf-breadcrumb{display:none!important}}
@media (max-width:759px){
  html body #wpforo-wrap .td-meta > .td-m-when{padding-right:12px!important}
  html body #wpforo-wrap .td-thead span:nth-child(4){padding-right:12px!important}
}

/* floating buttons: one small ... button on phones, others unfold on tap */
.td-dock [data-a=more]{display:none}
@media (max-width:781px){
  .td-dock [data-a=more]{display:flex}
  .td-dock.td-collapsed > button:not([data-a=more]):not([data-a=top]){display:none!important}
  .td-dock button{width:34px!important;height:34px!important;opacity:.92}
  .td-dock{gap:6px;right:10px}
  .td-post-actions{display:flex;flex-wrap:wrap;gap:6px}
  .td-post-actions .td-action{padding:7px 10px!important;font-size:13px!important}
}

/* ===== list polish: row lines, roomier rows, time column that fits ===== */
html body #wpforo-wrap .wpforo-recent-content .wpf-ttr{border-bottom:1px solid #eceff4!important}
html body #wpforo-wrap .wpf-thread{border-bottom:1px solid #eceff4!important}
html body #wpforo-wrap .td-ttl .td-new{margin-left:6px!important}
@media (max-width:759px){
  html body #wpforo-wrap .wpf-thread .wpf-thread-body,html body #wpforo-wrap .wpforo-recent-content .wpf-spost-title{grid-template-columns:86px minmax(0,1fr) 74px!important}
  html body .td-thead{grid-template-columns:86px minmax(0,1fr) 74px!important}
  html body #wpforo-wrap .td-ttl{padding:13px 6px!important;font-size:14.5px}
  html body #wpforo-wrap .td-meta > .td-m-when{padding:13px 10px 13px 2px!important;text-align:right;font-size:12px!important}
  html body #wpforo-wrap .wpforo-recent-content .wpf-spost-forum a,html body #wpforo-wrap .td-badge2{padding:4px 8px!important}
  /* filter dropdown is rarely needed on phones: hide to keep the top row calm */
  html body #wpforo-wrap .wpf-head-filter{display:none!important}
}

/* ===== board pages: same card, tab header and table as the home page ===== */
html:not([data-td-theme="dark"]) body #wpforo-wrap{border:1px solid var(--line,#dfe3ea)!important;border-radius:6px!important;background:#fff!important}
html:not([data-td-theme="dark"]) body #wpforo-wrap .wpf-head-bar{display:flex!important;align-items:stretch;justify-content:space-between;gap:8px;padding:0!important;background:var(--surface2,#f6f8fb)!important;border:0!important;border-bottom:2px solid var(--brand,#1c4f93)!important;border-radius:0!important}
html body #wpforo-wrap .wpf-head-bar-left{display:flex;align-items:center;flex-wrap:wrap;min-width:0}
html body #wpforo-wrap .wpf-head-bar h1#wpforo-title{margin:0!important;padding:11px 22px!important;border:0!important;background:var(--brand,#1c4f93);color:#fff!important;font-size:.92rem!important;font-weight:800!important;line-height:1.2!important}
html body #wpforo-wrap .wpf-head-bar-left > div:not(.wpf-action-link){display:none!important}
html body #wpforo-wrap .wpf-head-bar .wpf-action-link{margin:0 0 0 10px!important}
html body #wpforo-wrap .wpf-head-bar-right{display:flex;align-items:center;padding-right:8px;margin:0!important}
html body #wpforo-wrap .wpf-head-bar-right .wpf-button{padding:6px 14px!important;font-size:.82rem!important;border-radius:4px!important}
/* table header + rows (same numbers as the home table) */
html body .td-thead{background:var(--surface2,#f6f8fb)!important;border-top:0!important;border-bottom:1px solid var(--line,#dfe3ea)!important;color:var(--mute,#7a8394)!important;font-size:.74rem!important;font-weight:700!important}
html body .td-thead span{padding:8px 4px!important}
html body #wpforo-wrap .wpf-thread,html body #wpforo-wrap .wpforo-recent-content .wpf-ttr{border-bottom:1px solid var(--line2,#eceff4)!important}
html body #wpforo-wrap .wpf-thread:last-child{border-bottom:0!important}
html body #wpforo-wrap .wpf-thread:hover,html body #wpforo-wrap .wpforo-recent-content .wpf-ttr:hover{background:#f5f9ff}
html body #wpforo-wrap .td-ttl > a,html body #wpforo-wrap .wpforo-recent-content .wpf-spost-title-link{font-size:.9rem!important;font-weight:500!important}
html body #wpforo-wrap .td-badge2,html body #wpforo-wrap .wpforo-recent-content .wpf-spost-forum a{background:var(--surface2,#f6f8fb)!important;color:#5a6479!important;border:0!important;border-radius:3px!important;padding:2px 7px!important;font-size:.72rem!important;font-weight:700!important}
html body #wpforo-wrap .td-meta > span{font-size:.78rem!important;color:var(--mute,#7a8394)!important}
html body #wpforo-wrap .td-meta > .td-m-who{color:#4a5368!important}
@media (min-width:760px){
  html body #wpforo-wrap .td-ttl,html body #wpforo-wrap .td-meta > span{padding-top:9px!important;padding-bottom:9px!important}
}
@media (max-width:759px){
  html body #wpforo-wrap .wpf-head-bar h1#wpforo-title{padding:11px 16px!important}
  html body #wpforo-wrap .wpf-head-bar-right .wpf-button span{display:none}
  html body #wpforo-wrap .wpf-head-bar-right .wpf-button{padding:6px 10px!important}
}
html body #wpforo-wrap .wpf-thread .wpf-thread-body,html body #wpforo-wrap .wpforo-recent-content .wpf-spost-title{align-items:center!important}
html body #wpforo-wrap .td-ttl{line-height:1.4!important}
@media (max-width:759px){
  html body #wpforo-wrap .td-ttl{padding:10px 6px!important}
  html body #wpforo-wrap .td-meta > .td-m-when{padding:10px 10px 10px 2px!important}
}
html body #wpforo-wrap .td-ttl{display:flex!important;align-items:center;min-width:0}
html body #wpforo-wrap .td-ttl > a{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #wpforo-wrap .td-ttl > .td-new,html body #wpforo-wrap .td-ttl > .td-cmt{flex:none}
/* board pages (also empty ones): no share bar or forum-info block under the list */
#wpforo-wrap:has(h1#wpforo-title):not(:has(.wpforo-post)) .wpf-sbtn,#wpforo-wrap:has(h1#wpforo-title):not(:has(.wpforo-post)) > div:has(.wpf-footer-title){display:none!important}
html body #wpforo-wrap .wpf-subforum-sep{display:none!important}
html body #wpforo-wrap .wpforo-main{padding-top:0!important}
html body #wpforo-wrap{padding-top:0!important}

/* ===== board index (/community/): same table rows, category bars like the home cards ===== */
html body #wpforo-wrap .wpf-thread .wpf-thread-head{display:contents!important}
html body #wpforo-wrap .wpforo-cat-panel{background:var(--surface2,#f6f8fb)!important;border:0!important;border-bottom:2px solid var(--brand,#1c4f93)!important;border-radius:0!important;padding:0!important;min-height:0!important}
html body #wpforo-wrap .wpforo-cat-panel .wpf-cat-title,html body #wpforo-wrap .wpforo-cat-panel [class*=cat-title],html body #wpforo-wrap .wpforo-cat-panel h3,html body #wpforo-wrap .wpforo-cat-panel h2{font-size:.92rem!important;font-weight:800!important;margin:0!important}
html body #wpforo-wrap .wpforo-cat-panel > *{padding-top:10px;padding-bottom:10px}
html body #wpforo-wrap #wpforo-forum-index h1#wpforo-title,html body #wpforo-wrap .wpf-head-bar-left h1{line-height:1.3}
html body #wpforo-wrap .wpf-thread .wpf-viewing{display:none!important}

/* ---- PC 오른쪽 사이드바 (1200px 이상) ---- */
.td-sb{display:none}
@media(min-width:1000px){
  html body .td-sbwrap{display:flex;gap:16px;align-items:flex-start;max-width:1180px;margin:0 auto}
  html body .td-sbwrap > #wpforo-wrap{flex:1 1 0;min-width:0;width:auto!important;max-width:none!important}
  html body .td-sb{display:flex;flex:0 0 300px;position:sticky;top:16px}
  .td-sb-box{background:#fff;border:1px solid #dfe3ea;border-radius:6px;margin-bottom:12px;overflow:hidden}
  .td-sb-box h3{margin:0;padding:9px 12px;font-size:14px;font-weight:700;color:#fff;background:#2f6fd6}
  .td-sb-box ol{list-style:none;margin:0;padding:4px 0}
  .td-sb-box li{padding:0;font-size:13.5px;line-height:1.35}
  .td-sb-box li a{display:block;padding:6px 12px;color:#222;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .td-sb-box li a:hover{background:#f1f5fd;color:#1a55b8}
  .td-sb-box ol.n{counter-reset:n}
  .td-sb-box ol.n li a::before{counter-increment:n;content:counter(n);display:inline-block;width:18px;margin-right:6px;font-weight:700;color:#e5384f}
  html[data-td-theme="dark"] .td-sb-box{background:#1f232b;border-color:#343a46}
  html[data-td-theme="dark"] .td-sb-box li a{color:#dde1e8}
  html[data-td-theme="dark"] .td-sb-box li a:hover{background:#2a3040}
}

/* 보는 중 표시는 표 칸을 깨뜨려 숨김 */
html body #wpforo-wrap .wpf-viewing,html body #wpforo-wrap [class*="viewing"],html body #wpforo-wrap .wpforo-recent-content i.wpf-viewing{display:none!important}

/* ---- 사이드바: 좁은 화면(폰·태블릿)에서는 게시판 아래에 나란히 ---- */
@media(max-width:999px){
  html body .td-sbwrap{display:block;padding:0 0 14px}
  html body .td-sb{display:flex;margin:14px 0 0;padding:0}
  .td-sb-box{background:#fff;border:1px solid #dfe3ea;border-radius:6px;margin-bottom:10px;overflow:hidden}
  .td-sb-box h3{margin:0;padding:9px 12px;font-size:14px;font-weight:700;color:#fff;background:#2f6fd6}
  .td-sb-box ol{list-style:none;margin:0;padding:4px 0}
  .td-sb-box li a{display:block;padding:8px 12px;font-size:14px;color:#222;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .td-sb-box ol.n{counter-reset:n}
  .td-sb-box ol.n li a::before{counter-increment:n;content:counter(n);display:inline-block;width:18px;margin-right:6px;font-weight:700;color:#e5384f}
  html[data-td-theme="dark"] .td-sb-box{background:#1f232b;border-color:#343a46}
  html[data-td-theme="dark"] .td-sb-box li a{color:#dde1e8}
}

/* 사이드바 링크: 메인 페이지와 같은 모양(밑줄·파란 글씨 제거) */
html body .td-sb a{text-decoration:none!important}
html body .td-sb .td-card__head a{color:var(--mute)!important;font-size:12px}
html body .td-sb .td-plain a,html body .td-sb .td-topic-list a{color:#222!important}
html body .td-sb .td-plain a:hover,html body .td-sb .td-topic-list a:hover{color:#1a55b8!important;text-decoration:underline!important}
html body .td-sb .td-btn{color:#222!important}
html body .td-sb .td-btn--primary{color:#fff!important;background:#1f4e96!important}
html body .td-sb .td-login__out{color:var(--mute)!important;text-decoration:underline!important}
html[data-td-theme="dark"] body .td-sb .td-plain a,html[data-td-theme="dark"] body .td-sb .td-topic-list a,html[data-td-theme="dark"] body .td-sb .td-btn{color:#dde1e8!important}

/* 사이드바 카드 크기를 메인 페이지와 같게 */
html body .td-sb .td-card__head{padding:11px 14px 9px!important;min-height:0!important}
html body .td-sb .td-card__head h2{font-size:15.68px!important;line-height:1.1!important;margin:0!important;padding:0 0 0 9px!important;font-weight:900!important;border-left:4px solid #1f4e96!important}
html body .td-sb .td-card__body{padding:2px 14px 8px!important;font-size:14px}
html body .td-sb .td-plain li,html body .td-sb .td-topic-list li{font-size:14px;min-height:34px}
html body .td-sb .td-login{gap:10px;padding:6px 0 4px}

/* 게시판 글쓰기 버튼을 사이드바 글쓰기와 같은 모양으로 */
html body #wpforo-wrap .wpf-head-bar button.wpf-button{background:#1f4e96!important;border:1px solid #1f4e96!important;color:#fff!important;border-radius:6px!important;font-weight:800!important;box-shadow:none!important;text-shadow:none!important}
html body #wpforo-wrap .wpf-head-bar button.wpf-button:hover{filter:brightness(1.12)}
html body #wpforo-wrap .wpf-head-bar button.wpf-button i,html body #wpforo-wrap .wpf-head-bar button.wpf-button svg{display:none!important}
html body #wpforo-wrap .wpf-head-bar button.wpf-button::before{content:"✎ ";margin-right:2px}

/* ---- 메인 탭: 스크립트가 탭 막대를 만들기 전에도 같은 높이를 미리 잡아 화면이 밀리지 않게 함 ---- */
.td-card--main[data-tabs]:not(:has(> .td-tabbar)) > [data-tab-panel] ~ [data-tab-panel]{display:none}
.td-card--main[data-tabs]:not(:has(> .td-tabbar)) > [data-tab-panel] > .td-card__head{display:none}
.td-card--main[data-tabs]:not(:has(> .td-tabbar))::before{content:"베스트";display:block;box-sizing:border-box;padding:11px 22px;border-bottom:2px solid var(--brand,#1f4e96);background:linear-gradient(var(--brand,#1f4e96),var(--brand,#1f4e96)) 0 0/calc(2.76rem + 44px) 100% no-repeat,var(--surface2,#f4f6fa);color:#fff;font-size:.92rem;font-weight:800;line-height:normal}

/* ---- 글 페이지: 스크립트가 나중에 끼워 넣는 요소의 자리를 미리 잡아 화면이 밀리지 않게 함 ---- */
html body #wpforo-wrap .wpf-content-head-top{flex-wrap:nowrap!important}
html body #wpforo-wrap .wpf-content-head-top .wpf-author{flex:1 1 0!important;min-width:0!important}
html body #wpforo-wrap .wpf-content-head-top .wpf-post-date{flex:none!important;margin-left:8px}
html body #wpforo-wrap .post-wrap:has(.wpf-parent-post):not(:has(+ .td-cmthead)){margin-bottom:40px!important}
html body #wpforo-wrap .post-wrap:has(.wpf-parent-post):not(:has(+ .td-cmthead)):not(:has(~ .post-wrap)){margin-bottom:70px!important}

/* ---- 기기 기본 글꼴 사용 (외부 글꼴을 불러오지 않음) ---- */
:root{--font:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR","Noto Sans CJK KR",Roboto,"Segoe UI",sans-serif!important}
html body{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR","Noto Sans CJK KR",Roboto,"Segoe UI",sans-serif}

/* 기본 글꼴은 글자 폭이 조금 넓어서, 폰에서 게시판 이름표와 시간이 잘리지 않게 약간 줄임 */
@media(max-width:559px){
  html body .td-table .c-board span{font-size:.64rem;padding:2px 4px;letter-spacing:-.05em;max-width:100%}
  html body .td-table .c-time{font-size:.74rem;letter-spacing:-.03em}
}

/* ---- 테두리에 글자가 붙어 보이는 곳에 좌우 여백 ---- */
html body #wpforo-wrap .wpforo-cat-panel{padding-left:14px!important;padding-right:14px!important}
html body #wpforo-wrap .td-cmthead{padding-left:14px!important;padding-right:14px!important}
html body #wpforo-wrap .td-cmtempty{padding-left:14px!important;padding-right:14px!important}
html body #wpforo-wrap .wpf-reply-form-title,html body #wpforo-wrap .wpf-please-login{padding-left:14px!important;padding-right:14px!important;box-sizing:border-box}

/* ---- 답글·글쓰기 폼이 한쪽(오른쪽)으로 치우치지 않게: wpForo가 아바타 칸만큼 띄운 왼쪽 여백 제거 ---- */
html body #wpforo-wrap .wpf-form-wrapper{margin-left:0!important;margin-right:0!important;width:100%!important;max-width:none!important;box-sizing:border-box}

/* 아이디 꾸미기: 칭호는 작은 알약으로, 닉네임과 간격을 둔다 */
html body #wpforo-wrap .td-dpre{gap:5px;margin-right:7px;text-decoration:none!important}
html body #wpforo-wrap .td-dpre .td-av{width:20px;height:20px;border-radius:6px}
html body #wpforo-wrap .td-dpre .td-title{display:inline-block;font-size:11px!important;font-weight:600!important;line-height:1!important;padding:3px 7px!important;border-radius:99px;background:#eef3fb;color:#3a5a99!important;letter-spacing:-.01em;text-decoration:none!important;white-space:nowrap}
html body #wpforo-wrap .wpf-author-name{display:flex;align-items:center;flex-wrap:nowrap;gap:2px;min-width:0}
html body #wpforo-wrap .wpf-author-name > a{display:inline-flex;align-items:center;font-size:14.5px;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #wpforo-wrap .wpf-author-title .wpf-member-title{margin-left:6px;font-size:11px;padding:2px 8px;border-radius:99px}

/* 프로필 화면: 글자·아이콘이 카드 테두리에 붙지 않게 안쪽 여백 */
html body #wpforo-wrap .wpforo-profile-head-bottom{padding-right:16px!important;box-sizing:border-box}
html body #wpforo-wrap .wpforo-profile-menu{padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
html body #wpforo-wrap .wpforo-profile-content{padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
html body #wpforo-wrap .wpforo-profile-content .wpforo-profile-content{padding-left:0!important;padding-right:0!important}
@media(max-width:559px){html body #wpforo-wrap .wpforo-profile-head-bottom{padding-right:10px!important}html body #wpforo-wrap .wpforo-profile-menu,html body #wpforo-wrap .wpforo-profile-content{padding-left:10px!important;padding-right:10px!important}}

/* 프로필: 내 캐릭터 아바타와 꾸미기 버튼 */
html body #wpforo-wrap .td-profav{width:150px;height:150px;border-radius:50%;overflow:hidden;box-sizing:border-box;border:4px solid #fff;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18)}
html body #wpforo-wrap .td-profav svg{display:block;width:100%;height:100%}
html body #wpforo-wrap .td-profdeco{margin-left:12px;padding:5px 12px;border:1px solid #1f4e96;border-radius:99px;background:#fff;color:#1f4e96;font-size:12.5px;font-weight:700;line-height:1.2;cursor:pointer}
html body #wpforo-wrap .td-profdeco:hover{background:#1f4e96;color:#fff}
html[data-td-theme="dark"] body #wpforo-wrap .td-profdeco,html[data-td-theme="dark"] #wpforo-wrap .td-profdeco{background:#1f242c;color:#9db8e6;border-color:#4a6aa3}
html body #wpforo-wrap .wpforo-profile-head-bottom .td-profdeco{flex:none;align-self:center;white-space:nowrap;margin:0 0 0 8px}
html body #wpforo-wrap .wpforo-profile-head-bottom{position:relative;z-index:3}
html body #wpforo-wrap .wpforo-profile-head-bottom .td-profdeco{position:relative;z-index:4}

/* 프로필 본문 여백 정리: 안쪽 내용 영역에만 여백을 주고, 구독 화면은 점선 대신 깔끔한 카드로 */
html body #wpforo-wrap .wpforo-profile-content{padding-left:0!important;padding-right:0!important}
html body #wpforo-wrap .wpforo-profile > .wpforo-profile-content{padding-left:16px!important;padding-right:16px!important}
html body #wpforo-wrap .wpforo-subscriptions{padding-top:16px!important}
html body #wpforo-wrap .wpforo-subscriptions .wpf-tools{border:1px solid #e3e7ee!important;border-radius:8px;margin:0 0 20px!important;padding:18px 20px!important;box-sizing:border-box;background:#fff}
html body #wpforo-wrap .wpforo-subscriptions .wpf-tools h3,html body #wpforo-wrap .wpforo-subscriptions .wpf-tools .wpf-sbs-title{margin:0 0 12px!important}
html body #wpforo-wrap .wpforo-subscriptions .wpf-p-error{border-radius:8px;margin:0!important;padding:18px 20px!important;box-sizing:border-box}
html body #wpforo-wrap .wpforo-subscriptions .wpf-tools input[type=submit],html body #wpforo-wrap .wpforo-subscriptions .wpf-tools .wpf-button{margin:10px 0 16px!important}
@media(max-width:559px){html body #wpforo-wrap .wpforo-profile > .wpforo-profile-content{padding-left:10px!important;padding-right:10px!important}}
html[data-td-theme="dark"] body #wpforo-wrap .wpforo-subscriptions .wpf-tools{background:#1f242c;border-color:#454b55!important}

/* 활동 점수 카드 / 프로필 칩 */
.td-pt{margin-top:12px;padding-top:12px;border-top:1px solid #e6eaf0}
.td-pt__row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.td-pt__lv{font-size:14px;color:#1f4e96}
.td-pt__bal{font-size:12.5px;color:#5a6479}
.td-pt__bar{display:block;height:6px;border-radius:99px;background:#e9edf3;margin:8px 0;overflow:hidden}
.td-pt__bar i{display:block;height:100%;background:#1f4e96;border-radius:99px}
.td-pt small{font-size:12px;color:var(--mute)}
html body .td-pt .td-pt__btn{border:1px solid #1f4e96;background:#1f4e96;color:#fff;border-radius:99px;padding:4px 12px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
html body .td-pt .td-pt__btn:disabled{background:#eef0f3;border-color:#d3d7dd;color:var(--mute);cursor:default}
html body #wpforo-wrap .td-ptchip{align-self:center;margin-left:8px;padding:3px 10px;border-radius:99px;background:#eef3fb;color:#1f4e96;font-size:12px;font-weight:700;white-space:nowrap}
html[data-td-theme="dark"] .td-pt{border-color:#454b55}
html[data-td-theme="dark"] .td-pt__bar{background:#2b3038}
html[data-td-theme="dark"] .td-pt__bal,html[data-td-theme="dark"] .td-pt small{color:#aab1bd}

/* 이벤트 */
.td-ev{max-width:880px;margin:0 auto}
.td-evtabs{display:flex;gap:6px;margin:0 0 16px;flex-wrap:wrap}
html body .td-evtabs a{padding:7px 14px;border-radius:99px;background:#eef0f3;color:#555;font-size:13.5px;font-weight:600;text-decoration:none}
html body .td-evtabs a.on{background:#1f4e96;color:#fff}
.td-evlist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.td-evcard{margin:0;border:1px solid #e3e7ee;border-radius:10px;background:#fff;overflow:hidden}
html body .td-evcard a{display:block;color:inherit;text-decoration:none}
.td-evimg img{display:block;width:100%;height:150px;object-fit:cover}
.td-evbody{display:flex;flex-direction:column;gap:6px;padding:14px 16px}
.td-evtitle{font-size:15.5px;line-height:1.4;color:#222}
.td-evmeta{font-size:12.5px;color:var(--mute);line-height:1.5}
.td-evb{align-self:flex-start;display:inline-block;padding:2px 8px;border-radius:99px;font-size:11.5px;font-weight:700}
.td-evb--live{background:#e7f4ea;color:#1c7a3a}.td-evb--soon{background:#fff3dc;color:#9a6200}.td-evb--end{background:#eef0f3;color:#6b7280}.td-evb--win{background:#e8eefb;color:#1f4e96}
.td-evempty{padding:40px 16px;text-align:center;color:var(--mute);border:1px dashed #d3d7dd;border-radius:10px}
.td-evinfo{margin:0 0 18px;padding:14px 16px;border-radius:10px;background:#f6f8fb;display:flex;flex-direction:column;gap:6px;font-size:14px}
.td-evrow{display:flex;gap:8px;align-items:center}.td-evrow b{color:#5a6479;min-width:36px}
.td-evwin{margin:22px 0;padding:14px 16px;border-radius:10px;background:#eef3fb}.td-evwin h3{margin:0 0 6px;font-size:15px}
.td-evact{margin:20px 0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html body .td-evbtn{display:inline-block;padding:11px 22px;border:0;border-radius:8px;background:#1f4e96;color:#fff;font-size:15px;font-weight:700;text-decoration:none;cursor:pointer}
html body .td-evbtn:disabled{background:#eef0f3;color:var(--mute);cursor:default}
.td-evmsg{font-size:13px;color:#1c7a3a}
html[data-td-theme="dark"] .td-evcard{background:#1f242c;border-color:#454b55}
html[data-td-theme="dark"] .td-evtitle{color:#e3e6ea}
html[data-td-theme="dark"] .td-evinfo{background:#252b33}
html[data-td-theme="dark"] .td-evwin{background:#232b3a}
html[data-td-theme="dark"] .td-evtabs a{background:#2b3038;color:#d6dae0}

/* 출석표 */
.td-pt__more{display:block;margin-top:8px;font-size:12px;color:#1f4e96;text-decoration:none}
.td-att{max-width:560px;margin:0 auto}
.td-atthead{display:flex;align-items:center;justify-content:center;gap:18px;margin-bottom:10px;font-size:17px}
html body .td-atthead a{padding:2px 12px;font-size:20px;color:#1f4e96;text-decoration:none}
.td-attsum{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:space-between;margin:0 0 12px;padding:12px 14px;border-radius:10px;background:#f6f8fb;font-size:14px}
.td-attsum b{color:#1f4e96}
.td-attgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.td-attw{text-align:center;font-size:12px;font-weight:700;color:var(--mute);padding:4px 0}
.td-attw.sun{color:#d8453a}.td-attw.sat{color:#2f6fd0}
.td-attd{position:relative;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f1f3f5;font-size:13px;color:#555}
.td-attd i{font-style:normal}
.td-attd.none{background:transparent}
.td-attd.future{opacity:.45}
.td-attd.today{outline:2px solid #1f4e96;outline-offset:-2px}
.td-attd.on{background:#1f4e96;color:#fff}
.td-attd.on em{position:absolute;right:5px;bottom:2px;font-style:normal;font-size:11px}
.td-attnote{margin:12px 0 0;font-size:12.5px;color:var(--mute);text-align:center}
html[data-td-theme="dark"] .td-attsum{background:#252b33}
html[data-td-theme="dark"] .td-attd{background:#2b3038;color:#d6dae0}
html[data-td-theme="dark"] .td-attd.on{background:#2f5fb3;color:#fff}

/* 점수·레벨 안내 */
.td-rules{max-width:720px;margin:0 auto;line-height:1.7}
.td-rules h2{margin:26px 0 10px;font-size:17px}
.td-rtable{width:100%;border-collapse:collapse;font-size:14px}
.td-rtable th,.td-rtable td{padding:9px 10px;border-bottom:1px solid #e6eaf0;text-align:left;vertical-align:top}
.td-rtable th{background:#f6f8fb;color:#5a6479;font-size:13px}
.td-rtable td:nth-child(2){white-space:nowrap}
.td-rules ul{margin:0;padding-left:20px}
.td-rules li{margin:6px 0}
.td-rnote{font-size:13px;color:var(--mute)}
html[data-td-theme="dark"] .td-rtable th{background:#252b33;color:#aab1bd}
html[data-td-theme="dark"] .td-rtable th,html[data-td-theme="dark"] .td-rtable td{border-color:#454b55}

/* floating buttons: icons exactly centered */
html body .td-dock button{align-items:center;justify-content:center;padding:0!important;margin:0;text-align:center;text-indent:0;letter-spacing:0;line-height:1;box-sizing:border-box}
html body .td-dock button:not([data-a=more]){display:inline-flex}
@media (max-width:781px){html body .td-dock [data-a=more]{display:inline-flex}html body .td-dock.td-collapsed>button:not([data-a=more]):not([data-a=top]){display:none!important}}

/* 추천인 이벤트 */
.td-ref{max-width:640px;margin:0 auto;line-height:1.7}
.td-ref h2{margin:24px 0 10px;font-size:17px}
.td-ref ol,.td-ref ul{margin:0;padding-left:20px}
.td-ref li{margin:6px 0}
.td-refbox{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0;padding:14px;border-radius:10px;background:#f6f8fb}
.td-refbox label{width:100%;font-size:13px;font-weight:700;color:#5a6479}
.td-refbox input{flex:1;min-width:0;padding:9px 10px;border:1px solid #cfd6e0;border-radius:8px;font-size:14px;background:#fff;color:#222}
.td-refsum{margin:6px 0;padding:10px 14px;border-radius:10px;background:#f6f8fb;font-size:14px}
.td-refsum b{color:#1f4e96}
.td-refbar{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:95;display:flex;align-items:center;gap:12px;max-width:calc(100% - 24px);padding:10px 14px;border-radius:12px;background:#1f4e96;color:#fff;font-size:14px;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.td-refbar a{padding:6px 12px;border-radius:8px;background:#fff;color:#1f4e96;font-weight:700;text-decoration:none;white-space:nowrap}
.td-refbar button{border:0;background:none;color:#fff;font-size:16px;cursor:pointer;padding:0 2px}
html[data-td-theme="dark"] .td-refbox,html[data-td-theme="dark"] .td-refsum{background:#252b33}
html[data-td-theme="dark"] .td-refbox input{background:#1d2127;color:#e6e9ee;border-color:#454b55}

/* 가입 화면 추천인 코드 칸 */
.td-refreg .td-reflabel small{font-weight:400;color:var(--mute)}
.td-refreg input[name=td_ref]{width:100%;box-sizing:border-box;letter-spacing:1px}
.td-refhint{margin:6px 0 0;font-size:13px;min-height:1px}
.td-refhint.ok{color:#1d7a46}.td-refhint.bad{color:#c0392b}
.td-refben{margin:8px 0 0;padding:10px 12px;border-radius:8px;background:#eef4ff;color:#1f4e96;font-size:13px;line-height:1.6}
html[data-td-theme="dark"] .td-refben{background:#232c3d;color:#9dbcf0}
html[data-td-theme="dark"] .td-refhint.ok{color:#5fd08f}
html[data-td-theme="dark"] .td-refhint.bad{color:#ff8a7a}
.td-reftoast{bottom:auto;top:70px}

/* profile: referral copy button wraps instead of overflowing */
html body #wpforo-wrap .wpforo-profile-head-bottom{flex-wrap:wrap;row-gap:8px}
html body #wpforo-wrap .wpforo-profile-head-bottom .td-profref{margin-left:8px}

/* 글 공유하기 */
.td-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 4px;padding:12px 14px;border:1px solid #e1e6ee;border-radius:12px;background:#f8fafc}
.td-share__t{margin-right:4px;font-size:14px;font-weight:800;color:#1f2a3d}
html body .td-share .td-share__b{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:38px;padding:0 14px;border:1px solid #cfd6e0;border-radius:99px;background:#fff;color:#222;font-size:14px;font-weight:700;line-height:1;cursor:pointer;text-decoration:none}
html body .td-share .td-share__b[hidden]{display:none}
html body .td-share .td-share__b:hover{border-color:#1f4e96;color:#1f4e96}
html body .td-share .td-share__b--copy{background:#1f4e96;border-color:#1f4e96;color:#fff}
html body .td-share .td-share__b--copy:hover{background:#173d78;color:#fff}
html body .td-share .td-share__b--copy.is-done{background:#1d7a46;border-color:#1d7a46}
html body .td-share .td-share__b--fb{color:#1877f2}
html body .td-share .td-share__b--band{color:#12b850}
#wpforo-wrap .wpf-sbtn{display:none!important}
html[data-td-theme="dark"] .td-share{background:#232830;border-color:#454b55}
html[data-td-theme="dark"] .td-share__t{color:#e6e9ee}
html[data-td-theme="dark"] body .td-share .td-share__b,html[data-td-theme="dark"] .td-share .td-share__b{background:#1d2127;color:#e6e9ee;border-color:#4a5160}
html[data-td-theme="dark"] .td-share .td-share__b--copy{background:#2f5fb3;border-color:#2f5fb3;color:#fff}
@media (max-width:781px){.td-share{padding:10px}.td-share__t{width:100%}.td-share .td-share__b{flex:1 1 auto;padding:0 10px;min-height:40px}}
html body #wpforo-wrap .td-share{border:1px solid #c9d3e3;background:#f1f5fb}
html body #wpforo-wrap .td-share .td-share__b{background:#fff;color:#1f2a3d;border:1px solid #b9c4d6}
html body #wpforo-wrap .td-share .td-share__b--copy{background:#1f4e96!important;border-color:#1f4e96!important;color:#fff!important}
html body #wpforo-wrap .td-share .td-share__b--copy.is-done{background:#1d7a46!important;border-color:#1d7a46!important}
html body #wpforo-wrap .td-share .td-share__b--fb{color:#1877f2}
html body #wpforo-wrap .td-share .td-share__b--band{color:#0e9d47}
html[data-td-theme="dark"] body #wpforo-wrap .td-share{background:#232830;border-color:#454b55}
html[data-td-theme="dark"] body #wpforo-wrap .td-share .td-share__b{background:#1d2127;color:#e6e9ee;border-color:#4a5160}
html[data-td-theme="dark"] body #wpforo-wrap .td-share .td-share__b--copy{background:#2f5fb3!important;border-color:#2f5fb3!important;color:#fff!important}
html body #wpforo-wrap .td-share{border:1px solid #c9d3e3!important;border-radius:12px!important;padding:12px 14px!important;margin:14px 0 6px!important}
html body #wpforo-wrap .td-share .td-share__b{border-radius:99px!important}
html[data-td-theme="dark"] body #wpforo-wrap .td-share{border-color:#454b55!important}
html body #wpforo-wrap .td-share .td-share__b--kakao{background:#fee500;border-color:#e6cf00;color:#191919}
html body #wpforo-wrap .td-share .td-share__b--naver{background:#03c75a;border-color:#03c75a;color:#fff}
html[data-td-theme="dark"] body #wpforo-wrap .td-share .td-share__b--kakao{background:#fee500;color:#191919;border-color:#e6cf00}
html[data-td-theme="dark"] body #wpforo-wrap .td-share .td-share__b--naver{background:#03c75a;color:#fff;border-color:#03c75a}
html body #wpforo-wrap .td-share--top{margin:0 0 14px!important;padding:8px 12px!important}
html body #wpforo-wrap .td-share--top .td-share__b{min-height:34px;font-size:13px}

/* phone: compact share rows, author name wraps instead of being cut off */
@media (max-width:781px){
  html body #wpforo-wrap .td-share--top{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:8px 10px!important;scrollbar-width:none}
  html body #wpforo-wrap .td-share--top::-webkit-scrollbar{display:none}
  html body #wpforo-wrap .td-share--top .td-share__t{display:none}
  html body #wpforo-wrap .td-share--top .td-share__b{flex:0 0 auto;white-space:nowrap;min-height:34px;padding:0 12px}
  html body #wpforo-wrap .td-share:not(.td-share--top){display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
  html body #wpforo-wrap .td-share:not(.td-share--top) .td-share__t{grid-column:1/-1;width:auto}
  html body #wpforo-wrap .td-share:not(.td-share--top) .td-share__b{padding:0 6px;font-size:13px;white-space:nowrap}
  html body #wpforo-wrap .wpf-author-name .td-fr-box{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;white-space:normal;overflow:visible;text-overflow:clip}
}

/* dark mode: comment header strip and reply editor chrome */
html[data-td-theme="dark"] #wpforo-wrap .td-cmthead{background:#1f242c!important;color:#e6e9ee!important}
html[data-td-theme="dark"] #wpforo-wrap .td-cmthead *{color:inherit}
html[data-td-theme="dark"] #wpforo-wrap .mce-tinymce,html[data-td-theme="dark"] #wpforo-wrap .mce-container,html[data-td-theme="dark"] #wpforo-wrap .mce-panel{background:#232830!important;border-color:#454b55!important}
html[data-td-theme="dark"] #wpforo-wrap .mce-toolbar-grp,html[data-td-theme="dark"] #wpforo-wrap .mce-toolbar{background:#2b3038!important}
html[data-td-theme="dark"] #wpforo-wrap .mce-ico,html[data-td-theme="dark"] #wpforo-wrap .mce-txt,html[data-td-theme="dark"] #wpforo-wrap .mce-caret{color:#d6dae0!important}
html[data-td-theme="dark"] #wpforo-wrap .mce-btn:hover{background:#3a414c!important}
html[data-td-theme="dark"] #wpforo-wrap .wpf-post-create{background:#1f242c!important;color:#e6e9ee!important}
html[data-td-theme="dark"] #wpforo-wrap .wpf-post-create label,html[data-td-theme="dark"] #wpforo-wrap .wpf-post-create .wpf-field-label,html[data-td-theme="dark"] #wpforo-wrap .wpf-post-create small,html[data-td-theme="dark"] #wpforo-wrap .wpf-post-create p{color:#c3c9d3!important}
html[data-td-theme="dark"] #wpforo-wrap .td-segbar{background:#1f242c!important}

/* 출석표 페이지의 출석체크 버튼 */
html body .td-attsum .td-attbtn{background:#1f4e96!important;color:#fff!important;border:0!important;border-radius:8px;padding:8px 14px;font-weight:700;font-size:14px;cursor:pointer;line-height:1.2}
html body .td-attsum .td-attbtn:hover{background:#173d78!important}
html body .td-attsum .td-attbtn[disabled]{background:#c9d1de!important;color:#5b6577!important;cursor:default}
html[data-td-theme="dark"] body .td-attsum .td-attbtn[disabled]{background:#2c3446!important;color:#8f9bb3!important}
.td-attsum{flex-wrap:wrap;gap:8px}

/* 가입 화면 혜택 안내: 다크모드 글자 대비 */
html[data-td-theme="dark"] body #wpforo-wrap .td-refreg .td-refben,html[data-td-theme="dark"] body .td-refreg .td-refben{background:#232c3d!important;color:#b9d1f7!important}
html[data-td-theme="dark"] body .td-refreg .td-refben b{color:#fff!important}
html[data-td-theme="dark"] body .td-refreg .td-refhint.ok{color:#5fd08f!important}

/* 추천 코드 나중에 입력 상자 */
.td-refin{display:flex;flex-direction:column;gap:8px;margin:12px 0;padding:14px 16px;border-radius:10px;background:#eef4ff;border:1px solid #cfdcf5;color:#1f3a6b;font-size:14px;line-height:1.55;max-width:560px;box-sizing:border-box}
.td-refin>b{font-size:15px}
.td-refin__r{display:flex;gap:8px}
.td-refin__r input{flex:1;min-width:0;padding:9px 10px;border:1px solid #b9c7e0;border-radius:8px;font-size:15px;letter-spacing:1px;background:#fff;color:#111}
.td-refin__r button{padding:9px 16px;border:0!important;border-radius:8px;background:#1f4e96!important;color:#fff!important;font-weight:700;cursor:pointer}
.td-refin__r button[disabled]{opacity:.6}
.td-refin__m{margin:0;min-height:1px;font-size:13px}
.td-refin__m.ok{color:#1d7a46}.td-refin__m.bad{color:#c0392b}
html[data-td-theme="dark"] .td-refin{background:#232c3d;border-color:#34415c;color:#b9d1f7}
html[data-td-theme="dark"] .td-refin__r input{background:#171c27;color:#e6ebf5;border-color:#3b486a}
html[data-td-theme="dark"] .td-refin__m.ok{color:#5fd08f}html[data-td-theme="dark"] .td-refin__m.bad{color:#ff8a7a}
.wpforo-profile-wrap .td-refin,#wpforo-wrap .td-refin{margin:12px 16px;max-width:none}

/* 내가 초대한 친구 현황 */
.td-reflist{list-style:none;margin:8px 0 14px;padding:0;border:1px solid #e1e6ef;border-radius:10px;overflow:hidden}
.td-reflist li{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 14px;border-top:1px solid #e1e6ef;font-size:14px}
.td-reflist li:first-child{border-top:0}
.td-reflist .n{font-weight:700}.td-reflist .d{color:var(--mute);font-size:13px}
.td-reflist .s{margin-left:auto;font-size:13px;font-weight:600}
.td-reflist .s.ok{color:#1d7a46}.td-reflist .s.wait{color:#b06a00}.td-reflist .s.no{color:var(--mute)}
html[data-td-theme="dark"] .td-reflist,html[data-td-theme="dark"] .td-reflist li{border-color:#2f3a52}
html[data-td-theme="dark"] .td-reflist .s.ok{color:#5fd08f}html[data-td-theme="dark"] .td-reflist .s.wait{color:#f0b35a}

/* 추천 코드 입력 상자: 프로필에서 여백·폭·다크모드 보정 */
html body .td-refin{margin:14px 12px!important;width:auto!important;max-width:calc(100% - 24px)!important;box-sizing:border-box!important;overflow:hidden}
html body .td-refin__r{width:100%;box-sizing:border-box}
html[data-td-theme="dark"] body .td-refin{background:#232c3d!important;border:1px solid #34415c!important;color:#b9d1f7!important}
html[data-td-theme="dark"] body .td-refin>b,html[data-td-theme="dark"] body .td-refin span b{color:#fff!important}
html[data-td-theme="dark"] body .td-refin__r input{background:#171c27!important;color:#e6ebf5!important;border-color:#3b486a!important}

/* 로그인한 회원에게는 헤더의 회원가입·로그인 숨김(폰 화면 강제 표시 규칙보다 우선) */
html body.logged-in .td-top__acts .td-guest,html body.logged-in .td-top__acts .td-register{display:none!important}
html body:not(.logged-in) .td-top__acts .td-myprof{display:none!important}

/* 글쓰기: 게시판 고르기 */
.td-wpick{position:fixed;inset:0;z-index:100000;background:rgba(15,20,30,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.td-wpick__box{position:relative;width:100%;max-width:420px;max-height:84vh;overflow:auto;background:#fff;color:#1b2333;border-radius:14px;padding:22px 18px 18px;box-shadow:0 12px 40px rgba(0,0,0,.3);box-sizing:border-box}
.td-wpick__box h3{margin:0 28px 4px 0;font-size:18px;font-weight:800}
.td-wpick__sub,.td-wpick__none{margin:0 0 12px;font-size:13px;color:#6a7488}
.td-wpick__x{position:absolute;top:10px;right:10px;width:32px;height:32px;border:0!important;border-radius:50%;background:#eef1f6!important;color:#333!important;font-size:15px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0!important}
.td-wpick__list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.td-wpick__list a{display:block;padding:12px 10px;border:1px solid #d5dcea;border-radius:10px;text-align:center;font-weight:700;font-size:15px;color:#1f4e96!important;text-decoration:none!important;background:#f6f9ff}
.td-wpick__list a:hover{background:#1f4e96;color:#fff!important}
html[data-td-theme="dark"] .td-wpick__box{background:#1d2433;color:#e6ebf5}
html[data-td-theme="dark"] .td-wpick__sub,html[data-td-theme="dark"] .td-wpick__none{color:#9aa6bd}
html[data-td-theme="dark"] .td-wpick__list a{background:#232c3d;border-color:#34415c;color:#b9d1f7!important}
html[data-td-theme="dark"] .td-wpick__x{background:#2c3446!important;color:#e6ebf5!important}

/* PC 가입 화면: wpForo가 폭을 520px로 고정해 왼쪽에 몰리는 문제 → 가운데 정렬·넓게 */
@media (min-width:760px){
  html body #wpforo-wrap.wpft-register .wpforo-content,html body #wpforo-wrap .wpforo-content:has(.wpforo-register-wrap){width:100%!important;max-width:680px!important;margin-left:auto!important;margin-right:auto!important;float:none!important}
  html body #wpforo-wrap .wpforo-register-wrap{width:100%!important;max-width:none!important}
}
/* 추천인 코드 칸: 다른 칸과 같은 줄맞춤 */
html body #wpforo-wrap .td-refreg .wpf-field-wrap input[name=td_ref]{width:100%;box-sizing:border-box;padding:7px 10px}
html body #wpforo-wrap .td-refreg .td-refben{margin:8px 0 14px}

/* 가입 화면: 이용 규칙 상자도 폼 폭에 맞추고, 추천인 코드 글자 시작 위치(아이콘 없는 칸이라 여백 축소) */
html body #wpforo-wrap .td-terms{width:100%!important;max-width:none!important;box-sizing:border-box}
html body #wpforo-wrap .td-terms .td-terms-box{width:100%!important;box-sizing:border-box}
html body #wpforo-wrap .td-refreg .wpf-field-wrap input[name=td_ref]{padding-left:10px!important}

/* 로그인 화면: 회원가입 버튼을 로그인 버튼과 같은 크기로 */
html body #wpforo-wrap .wpforo-login-wrap .wpf-field-reg{margin-top:12px}
html body #wpforo-wrap .wpforo-login-wrap .wpf-field-reg a{display:flex!important;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;width:100%;min-height:48px;padding:10px 16px!important;border:2px solid #1f4e96!important;border-radius:6px;background:#fff;color:#1f4e96!important;font-size:16px!important;font-weight:800;text-decoration:none!important}
html body #wpforo-wrap .wpforo-login-wrap .wpf-field-reg a:hover{background:#1f4e96;color:#fff!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpforo-login-wrap .wpf-field-reg a{background:transparent;border-color:#6f9be0!important;color:#b9d1f7!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpforo-login-wrap .wpf-field-reg a:hover{background:#1f4e96;color:#fff!important}
html body #wpforo-wrap .wpforo-login-wrap input[type=submit]{min-height:48px;font-size:17px;font-weight:800}

/* 로그인·회원가입 버튼 높이를 똑같이 48px로 고정 */
html body #wpforo-wrap .wpforo-login-wrap input[type=submit]{height:48px!important;min-height:0!important;box-sizing:border-box!important;padding-top:0!important;padding-bottom:0!important;line-height:1!important}
html body #wpforo-wrap .wpforo-login-wrap .wpf-field-reg,html body #wpforo-wrap .wpforo-login-wrap .wpf-field-reg a{box-sizing:border-box!important}
html body #wpforo-wrap .wpforo-login-wrap .wpf-field-reg a{height:48px!important;min-height:0!important;padding-top:0!important;padding-bottom:0!important;line-height:1!important;margin:0!important}
html body #wpforo-wrap .wpforo-login-wrap .wpf-field-reg{margin-top:12px!important;padding:0!important;height:auto!important}

/* 프로필 오른쪽 끝 아이콘의 말풍선이 화면 밖으로 잘리지 않게: 오른쪽 끝에 맞춰 왼쪽으로 펼침 */
html body #wpforo-wrap .wpf-ab-edit_dash[wpf-tooltip]:after,html body #wpforo-wrap .wpf-ab-edit[wpf-tooltip]:after{left:auto!important;right:-6px!important;transform:translateY(-65.5px)!important;text-align:right}
html body #wpforo-wrap .wpf-ab-edit_dash[wpf-tooltip]:before,html body #wpforo-wrap .wpf-ab-edit[wpf-tooltip]:before{left:auto!important;right:6px!important}

/* 공유 줄(글 아래 한 곳만): 작고 깔끔하게 */
html body #wpforo-wrap .td-share--top{display:none!important}
html body #wpforo-wrap .td-share{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;margin:12px 0 4px!important;padding:8px 12px!important;border:1px solid #e3e8f1!important;border-radius:10px!important;background:#f7f9fc!important}
html body #wpforo-wrap .td-share .td-share__t{width:auto!important;margin:0 4px 0 0!important;font-size:12px!important;font-weight:700!important;color:var(--mute)!important;letter-spacing:.02em}
html body #wpforo-wrap .td-share .td-share__b{flex:0 0 auto!important;min-height:0!important;height:26px!important;padding:0 11px!important;gap:4px!important;font-size:12px!important;font-weight:600!important;line-height:1!important;border-radius:13px!important;white-space:nowrap!important;box-shadow:none!important;transition:background .15s,border-color .15s,color .15s}
html body #wpforo-wrap .td-share .td-share__b i{font-size:11px;font-style:normal}
html body #wpforo-wrap .td-share .td-share__b:not(.td-share__b--copy):not(.td-share__b--kakao):not(.td-share__b--naver){background:#fff!important;border:1px solid #d3dae6!important;color:#4a5670!important}
html body #wpforo-wrap .td-share .td-share__b:not(.td-share__b--copy):not(.td-share__b--kakao):not(.td-share__b--naver):hover{border-color:#1f4e96!important;color:#1f4e96!important}
html body #wpforo-wrap .td-share .td-share__b--kakao,html body #wpforo-wrap .td-share .td-share__b--naver,html body #wpforo-wrap .td-share .td-share__b--copy{border-color:transparent!important}
html body #wpforo-wrap .td-share .td-share__b--kakao:hover,html body #wpforo-wrap .td-share .td-share__b--naver:hover,html body #wpforo-wrap .td-share .td-share__b--copy:hover{filter:brightness(.94)}
html[data-td-theme="dark"] body #wpforo-wrap .td-share{background:#1e232c!important;border-color:#343b47!important}
html[data-td-theme="dark"] body #wpforo-wrap .td-share .td-share__t{color:#8f9bb3!important}
html[data-td-theme="dark"] body #wpforo-wrap .td-share .td-share__b:not(.td-share__b--copy):not(.td-share__b--kakao):not(.td-share__b--naver){background:#262c36!important;border-color:#3b4352!important;color:#c9d2e3!important}
@media (max-width:781px){
  html body #wpforo-wrap .td-share:not(.td-share--top){display:flex!important}
  html body #wpforo-wrap .td-share:not(.td-share--top) .td-share__t{grid-column:auto;width:100%!important;margin-bottom:2px!important}
  html body #wpforo-wrap .td-share:not(.td-share--top) .td-share__b{flex:0 0 auto!important;height:28px!important;padding:0 12px!important;font-size:12px!important}
}

/* 프로필 아이콘 말풍선: 글자 왼쪽 정렬 + 한 줄로(두 줄로 접히며 가운데 정렬되던 것 수정) */
html body #wpforo-wrap .wpforo-profile-head-bottom [wpf-tooltip]:after,html body #wpforo-wrap .wpf-profile-head [wpf-tooltip]:after{text-align:left!important;white-space:nowrap!important;width:auto!important;min-width:0!important;max-width:none!important;padding:7px 12px!important;line-height:1.35!important}
html body #wpforo-wrap [class*="wpf-ab-"][wpf-tooltip]:after{text-align:left!important;white-space:nowrap!important;width:auto!important;min-width:0!important;max-width:none!important;padding:7px 12px!important;line-height:1.35!important}
/* 말풍선 화살표를 아이콘 가운데에 정확히 */
html body #wpforo-wrap .wpf-ab-edit_dash[wpf-tooltip]:before,html body #wpforo-wrap .wpf-ab-edit[wpf-tooltip]:before{left:50%!important;right:auto!important;transform:translateX(-50%)!important}

/* 프로필 아이콘 말풍선: 종 아이콘(언급된 이메일 차단)과 똑같이 아이콘 바로 위 가운데에 */
html body #wpforo-wrap .wpf-ab-edit_dash[wpf-tooltip]:after,html body #wpforo-wrap .wpf-ab-edit[wpf-tooltip]:after{left:50%!important;right:auto!important;top:-8px!important;bottom:1.15px!important;transform:translate(calc(-50% - 12px),-28.85px)!important;text-align:left!important}
/* 오른쪽 끝 아이콘의 말풍선이 잘리지 않게 아이콘 줄을 안쪽으로 */
html body #wpforo-wrap .wpforo-user-tools{margin-right:34px}
html body #wpforo-wrap .wpf-ab-edit_dash[wpf-tooltip]:after,html body #wpforo-wrap .wpf-ab-edit[wpf-tooltip]:after{transform:translate(-50%,-28.85px)!important}
html body #wpforo-wrap .wpforo-user-actions .wpforo-user-tools{margin-right:34px!important}
html body #wpforo-wrap .wpforo-user-actions .wpforo-user-tools{margin-right:62px!important}

/* 공유하기: 주소 종류 선택(짧은 주소 / 원래 주소) */
.td-share__head{display:flex;align-items:center;gap:10px;margin-right:4px}
html body .td-share .td-share__head .td-share__t{width:auto;margin-right:0}
.td-share__mode{display:inline-flex;padding:2px;border-radius:99px;background:#e4e9f1}
html body .td-share .td-share__mode button{min-height:26px;padding:0 11px;border:0;border-radius:99px;background:transparent;color:#5b6678;font-size:12px;font-weight:700;line-height:1;cursor:pointer}
html body .td-share .td-share__mode button.is-on{background:#fff;color:#1f4e96;box-shadow:0 1px 3px rgba(20,40,90,.18)}
html[data-td-theme="dark"] .td-share__mode{background:#343a45}
html[data-td-theme="dark"] body .td-share .td-share__mode button{color:#aab2c0}
html[data-td-theme="dark"] body .td-share .td-share__mode button.is-on{background:#1d2127;color:#8fb4f0}
@media (max-width:781px){.td-share__head{width:100%;justify-content:space-between}}

/* PC 가입 화면: 혜택 안내 박스를 라벨 왼쪽 끝~입력칸 오른쪽 끝에 맞춤 */
@media (min-width:760px){
  html body #wpforo-wrap .td-refreg .td-refben{margin:8px 8px 14px 15px!important}
}
@media (max-width:759px){html body #wpforo-wrap .td-refreg .td-refben{margin-left:12px!important;margin-right:8px!important}}
/* wpForo가 p 태그의 여백·안쪽 여백을 0으로 덮어써서 글자가 상자 끝에 붙던 문제 */
html body #wpforo-wrap .td-refreg p.td-refben{margin-top:8px!important;margin-bottom:14px!important;padding:10px 14px!important;font-size:13px!important;line-height:1.6!important;box-sizing:border-box}

/* 가입 화면: 아래쪽 '로그인' 링크를 눈에 띄는 버튼으로 */
html body #wpforo-wrap .wpf-field-login a{display:inline-flex;align-items:center;gap:6px;padding:10px 22px;font-size:15px;font-weight:600;line-height:1.2;border:1px solid #2563eb;border-radius:8px;color:#2563eb!important;background:#fff;text-decoration:none!important;box-sizing:border-box}
html body #wpforo-wrap .wpf-field-login a:hover{background:#2563eb;color:#fff!important}
@media (prefers-color-scheme:dark){html body #wpforo-wrap .wpf-field-login a{background:transparent;color:#93b4ff!important;border-color:#93b4ff}html body #wpforo-wrap .wpf-field-login a:hover{background:#93b4ff;color:#111!important}}
html body #wpforo #wpforo-wrap .wpforo-register-wrap .wpf-field-login a{display:inline-flex!important;align-items:center;gap:6px;padding:0 20px!important;min-height:38px!important;box-sizing:border-box!important;margin-left:12px!important;font-size:14px!important;font-weight:600!important;line-height:1.2!important;border:1px solid #2563eb!important;border-radius:8px!important;color:#2563eb!important;background:#fff!important;text-decoration:none!important}
html body #wpforo #wpforo-wrap .wpforo-register-wrap .wpf-field-login a i{color:inherit!important;font-size:14px}
html body #wpforo #wpforo-wrap .wpforo-register-wrap .wpf-field-login a:hover{background:#2563eb!important;color:#fff!important}
@media (prefers-color-scheme:dark){html body #wpforo #wpforo-wrap .wpforo-register-wrap .wpf-field-login a{background:transparent!important;color:#93b4ff!important;border-color:#93b4ff!important}html body #wpforo #wpforo-wrap .wpforo-register-wrap .wpf-field-login a:hover{background:#93b4ff!important;color:#111!important}}

/* 가입 화면: 폭이 좁아져도(760px 미만) 폼을 가운데에 둔다 */
@media (max-width:759px){html body #wpforo-wrap.wpft-register .wpforo-content,html body #wpforo-wrap .wpforo-content:has(.wpforo-register-wrap){max-width:520px!important;margin-left:auto!important;margin-right:auto!important}}
@media (max-width:759px){html body #wpforo-wrap .td-terms{padding-left:14px!important;padding-right:14px!important;box-sizing:border-box}}
html body #wpforo-wrap .td-terms-box ol{padding-left:22px!important;margin-left:0!important}
html body #wpforo-wrap .td-terms-ck{margin-top:10px!important;line-height:1.5}
html body #wpforo-wrap label.td-terms-ck{display:flex!important;align-items:center;gap:8px;margin-top:10px!important;line-height:1.5}
html body #wpforo-wrap label.td-terms-ck input[type=checkbox]{margin:0!important;flex:none;width:18px;height:18px}
html body #wpforo-wrap .wpf-field-type-submit{align-items:stretch!important}
html body #wpforo #wpforo-wrap .wpforo-register-wrap .wpf-field-login{display:flex!important;padding:0!important;margin:10px 0 0!important;line-height:1.2}
html body #wpforo #wpforo-wrap .wpforo-register-wrap .wpf-field-login a{align-self:stretch;height:auto!important}
html body #wpforo #wpforo-wrap .wpforo-register-wrap .wpf-field-login a{align-self:flex-start!important;height:38px!important;min-height:38px!important}

/* 상단 메뉴: 마우스를 올리면 글자색만 바뀌고 밑줄은 없다 */
html body .td-header a:hover,html body .td-header a:focus,html body .td-header a:active,html body .td-header .wp-block-navigation-item__content:hover,html body .td-nav a:hover{text-decoration:none!important}

/* 쪽지 */
.td-dm{width:min(360px,calc(100vw - 80px))}
.td-dm-h{display:flex;justify-content:space-between;align-items:center}
.td-dm-x{background:none;border:0;color:inherit;cursor:pointer;font-size:14px;padding:2px 6px}
.td-dm-tabs{display:flex;border-bottom:1px solid var(--line)}
.td-dm-tabs button{flex:1;padding:9px 0;background:none;border:0;border-bottom:2px solid transparent;color:var(--muted,#6b7280);font-size:13px;font-weight:600;cursor:pointer}
.td-dm-tabs button.on{color:var(--text);border-bottom-color:#1c4f93}
.td-dm-i{padding:10px 14px;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5;cursor:pointer}
.td-dm-i.new{background:rgba(28,79,147,.09)}
.td-dm-top{display:flex;justify-content:space-between;gap:8px}
.td-dm-top em{font-style:normal;font-size:12px;color:var(--muted,#6b7280);white-space:nowrap}
.td-dm-pv{color:var(--muted,#6b7280);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.td-dm-full{margin-top:8px;padding:8px 10px;background:rgba(127,127,127,.1);border-radius:6px;word-break:break-word;white-space:normal;cursor:text}
.td-dm-act{display:flex;gap:6px;margin-top:8px}
.td-dm-act button,.td-dm-more{padding:6px 12px;border:1px solid var(--line);background:transparent;color:var(--text);border-radius:6px;font-size:12px;cursor:pointer}
.td-dm-act button.pri{background:#1c4f93;border-color:#1c4f93;color:#fff}
.td-dm-more{display:block;width:calc(100% - 28px);margin:10px 14px}
.td-dm-compose{padding:12px 14px}
.td-dm-to{margin-bottom:8px;font-size:13px}
.td-dm-compose textarea{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font:inherit;font-size:13px;resize:vertical}
.td-dm-msg{min-height:18px;margin-top:6px;font-size:12px;color:var(--muted,#6b7280)}
.td-action--dm{cursor:pointer}
.td-dm-set{padding:12px 14px;font-size:13px}
.td-dm-off{display:block;line-height:1.5;cursor:pointer}
.td-dm-off small{display:block;margin:2px 0 0 22px;color:var(--muted,#6b7280)}
.td-dm-st{margin:14px 0 6px;font-weight:700}
.td-dm-blk{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--line)}
.td-dm-blk button{padding:4px 10px;border:1px solid var(--line);background:transparent;color:var(--text);border-radius:6px;font-size:12px;cursor:pointer}
.td-dm-none{color:var(--muted,#6b7280);line-height:1.6}
.td-profile-dm{margin:8px 0 0;padding:7px 16px;border:1px solid #1c4f93;background:#fff;color:#1c4f93;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer}
.td-profile-dm:hover{background:#1c4f93;color:#fff}
html[data-td-theme="dark"] .td-profile-dm{background:transparent;color:#93b4ff;border-color:#93b4ff}

/* ===== 사이트 점검 개선: 글자 대비 · 터치 크기 ===== */
html:not([data-td-theme="dark"]) body #wpforo-wrap .wpf-post-date,html:not([data-td-theme="dark"]) body .wpf-post-date{color:#6b7280!important}
html:not([data-td-theme="dark"]) body #wpforo-wrap .wpf-action.wpf-topic-id{color:#5c667a!important}
html:not([data-td-theme="dark"]) body .td-share .td-share__head .td-share__t{color:#5c667a!important}
html body .td-share__b--naver{color:#111!important}
html body #wpforo #wpforo-wrap a.wpf-next-button{background:#1f6fa8!important;color:#fff!important}
html body #wpforo-wrap a.wpf-next-button,html body #wpforo-wrap .wpf-page-info{display:inline-flex;align-items:center;min-height:32px}
html body .td-footer__nav a{display:inline-flex;align-items:center;min-height:32px;padding:0 6px}
html body .td-header a.td-login-link{display:inline-flex;align-items:center;min-height:34px;padding:0 8px}
html body #wpforo-wrap a.wpf-mark-all-read{display:inline-flex;align-items:center;min-height:32px;padding:0 6px}
html body #wpforo-wrap .td-segbar button{min-height:32px}
html body .td-share__mode button{min-height:30px}
html body #wpforo-wrap a.wpf-forgot-pass{display:inline-flex;align-items:center;min-height:32px}
html:not([data-td-theme="dark"]) body #wpforo-wrap .wpf-item-element.active span{color:#2f6f98!important}
html:not([data-td-theme="dark"]) body .td-card__head a,html:not([data-td-theme="dark"]) body .td-attnote{color:#5c667a!important}
html body #wpforo #wpforo-wrap a.wpf-button,html body #wpforo #wpforo-wrap .wpf-tags-sort__button.is-active{background-color:#1f6fa8!important;border-color:#1f6fa8!important}
html body #wpforo #wpforo-wrap a.wpf-button:hover{background-color:#185a8a!important}
html:not([data-td-theme="dark"]) body #wpforo-wrap .wpf-please-login a,html:not([data-td-theme="dark"]) body #wpforo-wrap .wpf-topic-next a,html:not([data-td-theme="dark"]) body #wpforo-wrap .wpf-topic-prev a,html:not([data-td-theme="dark"]) body #wpforo-wrap a.wpf-mark-all-read{color:#2f6684!important}
html:not([data-td-theme="dark"]) body #wpforo-wrap .wpf-forum-jump-title,html:not([data-td-theme="dark"]) body #wpforo-wrap .wpf-viewed-users,html:not([data-td-theme="dark"]) body #wpforo-wrap .wpf-desc{color:#595959!important}
html:not([data-td-theme="dark"]) body #wpforo-wrap .td-fieldnote li{color:#5b6270!important}

/* ===== 다크 모드 보완: 흰 바탕이 남던 곳 · 읽기 어려운 글자 ===== */
html[data-td-theme="dark"] body #wpforo-wrap tr.wpf-ttr,html[data-td-theme="dark"] body #wpforo-wrap tr.wpf-ttr:nth-child(odd),html[data-td-theme="dark"] body #wpforo-wrap tr.wpf-ttr:nth-child(even){background:var(--surface)!important;border-color:var(--line)!important}
html[data-td-theme="dark"] body #wpforo-wrap tr.wpf-ttr:hover{background:var(--surface2)!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpforo-category,html[data-td-theme="dark"] body #wpforo-wrap .wpf-profile-details,html[data-td-theme="dark"] body #wpforo-wrap .wpforo-register-wrap,html[data-td-theme="dark"] body #wpforo-wrap .wpforo-register-table{background:var(--surface)!important;border-color:var(--line)!important;color:var(--text)}
html[data-td-theme="dark"] body #wpforo-wrap .wpforo-register-wrap label,html[data-td-theme="dark"] body #wpforo-wrap .wpforo-register-wrap .wpf-label,html[data-td-theme="dark"] body #wpforo-wrap .wpforo-register-wrap .wpf-label-wrap{color:var(--text)!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpforo-register-wrap input[type=text],html[data-td-theme="dark"] body #wpforo-wrap .wpforo-register-wrap input[type=email],html[data-td-theme="dark"] body #wpforo-wrap .wpforo-register-wrap input[type=password]{background:#22262e!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-td-theme="dark"] body #wpforo-wrap :is(a.wpf-mark-all-read,.wpf-please-login a,.wpf-topic-next a,.wpf-topic-prev a,.td-more-h a,a[href*="view=unread"] span){color:#7fb6dc!important}
html[data-td-theme="dark"] body #wpforo-wrap :is(.wpf-page-info,.wpf-search-label,.wpf-tags-sort__label,.wpf-p-error,.wpf-viewed-users,.wpf-forum-jump-title,.wpf-desc){color:#aab3c5!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpf-viewed-users a{color:#8ec0ff!important}
html[data-td-theme="dark"] body #wpforo-wrap .td-fieldnote li{color:#b4bccb!important}
html[data-td-theme="dark"] body :is(.td-m-who,td.c-author,.td-meta .td-fr){color:#b4bccb!important}
html[data-td-theme="dark"] body :is(.td-quick b,.td-quick__all){color:#93b4ff!important}
html[data-td-theme="dark"] body .td-attnote,html[data-td-theme="dark"] body .td-card__head a{color:var(--mute)!important}
html body .td-share__b--kakao{color:#191919!important}
html[data-td-theme="dark"] body #wpforo #wpforo-wrap [class*="wpfbg-"]{background-color:var(--surface)!important;border-color:var(--line)!important}
html[data-td-theme="dark"] body #wpforo #wpforo-wrap .wpforo-register-wrap .wpf-field-login a{background:transparent!important;color:#93b4ff!important;border-color:#93b4ff!important}
html[data-td-theme="dark"] body #wpforo #wpforo-wrap .wpforo-register-wrap .wpf-field-login a:hover{background:#93b4ff!important;color:#111!important}
html[data-td-theme="dark"] body .td-profile-dm{background:transparent;color:#93b4ff;border-color:#93b4ff}
html[data-td-theme="dark"] body .td-table tbody tr:hover{background:var(--surface2)!important}

/* ===== 키보드 이동 시 현재 위치가 보이도록 포커스 표시 ===== */
html body :is(a,button,summary,[role=button],[tabindex]):focus-visible{outline:2px solid #2b6cc9!important;outline-offset:2px;border-radius:4px}
html[data-td-theme="dark"] body :is(a,button,summary,[role=button],[tabindex]):focus-visible{outline-color:#93b4ff!important}
html body #wpforo-wrap :is(input[type=text],input[type=email],input[type=password],input[type=search],textarea,select):focus-visible{outline:2px solid #2b6cc9!important;outline-offset:1px}
html[data-td-theme="dark"] body #wpforo-wrap :is(input[type=text],input[type=email],input[type=password],input[type=search],textarea,select):focus-visible{outline-color:#93b4ff!important}
/* 모바일: 떠 있는 버튼이 푸터 글자를 가리지 않도록 아래 여백 */
@media(max-width:781px){html body .td-footer{padding-bottom:96px!important}}

/* 헤더 오른쪽 로그인/회원가입: 두 버튼의 높이·세로 위치를 같게 */
html body .td-header .td-top__acts{align-items:center}
html body .td-header .td-top__acts a.td-guest,html body .td-header .td-top__acts a.td-register{display:inline-flex!important;align-items:center;min-height:34px;padding:0 8px;line-height:1.2;margin:0}
html body.logged-in .td-header .td-top__acts a.td-guest,html body.logged-in .td-header .td-top__acts a.td-register{display:none!important}
/* 글자색 보장: 추천을 누른 파란 버튼은 눌렀을 때·터치 후에도 항상 흰 글자 (wpForo 기본 버튼 글자색에 덮이지 않게) */
html body #wpforo-wrap .td-action--vote.is-voted,html body #wpforo-wrap .td-action--vote.is-voted:hover,html body #wpforo-wrap .td-action--vote.is-voted:focus,html body #wpforo-wrap .td-action--vote.is-voted:active,html body .td-action--vote.is-voted{background:#1d4ed8!important;border-color:#1d4ed8!important;color:#fff!important}
html body #wpforo-wrap .td-action--vote.is-voted *,html body .td-action--vote.is-voted *{color:#fff!important}
html body #wpforo-wrap .td-action--dislike.is-voted,html body #wpforo-wrap .td-action--dislike.is-voted:hover{background:#fdecea!important;border-color:#c0392b!important;color:#9b2c1f!important}
html body #wpforo-wrap .td-action--scrap.is-on,html body #wpforo-wrap .td-action--scrap.is-on:hover{background:#fff7e0!important;border-color:#b7791f!important;color:#7a4f06!important}
html[data-td-theme="dark"] body #wpforo-wrap .td-action--dislike.is-voted,html[data-td-theme="dark"] body #wpforo-wrap .td-action--dislike.is-voted:hover{background:#4a1f1a!important;color:#ffb4a8!important;border-color:#e57a6b!important}
html[data-td-theme="dark"] body #wpforo-wrap .td-action--scrap.is-on,html[data-td-theme="dark"] body #wpforo-wrap .td-action--scrap.is-on:hover{background:#4a3a12!important;color:#ffd98a!important;border-color:#d9a441!important}
/* 터치 화면에서는 '마우스를 올린 효과'가 눌린 뒤에도 남지 않게 */
@media (hover:none){html body #wpforo-wrap .td-action:not(.is-voted):not(.is-on):hover{background:#fff;border-color:#cbd5e1;color:#334155}html[data-td-theme="dark"] body #wpforo-wrap .td-action:not(.is-voted):not(.is-on):hover{background:transparent;border-color:#4a5160;color:#d6dbe6}}
/* 다크 모드: 직접 고른 칭호 색(어두운 파랑·보라·회색 등)이 어두운 배경에서 안 보이지 않게 밝힘 */
html[data-td-theme="dark"] .td-fr-box{filter:brightness(1.55)}
/* 다크 모드: 핫딜 입력칸 안내 상자·글쓰기 양식·레벨 글씨가 어두운 배경에서 읽히게 (테마의 !important 색보다 우선) */
html[data-td-theme="dark"] body #wpforo-wrap .td-dealform{background:#2a2f38!important;border-color:#3f4652!important;color:#e4e7ec!important}
html[data-td-theme="dark"] body #wpforo-wrap .td-dealform p,html[data-td-theme="dark"] body #wpforo-wrap .td-dealform b,html[data-td-theme="dark"] body #wpforo-wrap .td-dealform label{color:#e4e7ec!important}
html[data-td-theme="dark"] body #wpforo-wrap .td-dealform input,html[data-td-theme="dark"] body #wpforo-wrap .td-dealform select{background:#1c1f26!important;color:#e4e7ec!important;border-color:#4a5160!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpf-form-wrapper{background:#1c1f26!important;border-color:#3a404a!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpf-form-wrapper label,html[data-td-theme="dark"] body #wpforo-wrap .wpf-form-wrapper .wpforo-revision-action-button,html[data-td-theme="dark"] body #wpforo-wrap .wpf-form-wrapper .wpf-rev-history-count,html[data-td-theme="dark"] body #wpforo-wrap .wpf-form-wrapper .wpfbs{color:#e4e7ec!important}
html[data-td-theme="dark"] .td-pt__lv{color:#8db8ff}
.wpf-field-required-icon{color:#c2410c!important}
html[data-td-theme="dark"] .wpf-field-required-icon{color:#ff9a62!important}
/* ===== 글자색 대비 보강 (밝은 화면) ===== */
html body #wpforo-wrap .wpforo-profile-back,html body #wpforo-wrap .wpforo-profile-back a{background:#1b6aa5!important;color:#fff!important}
html body #wpforo-wrap .wpf-subscribe-forum.wpf-button-outlined,html body #wpforo-wrap .wpf-subscribe-topic.wpf-button-outlined{color:#b8400b!important;border-color:#b8400b!important}
html body #wpforo-wrap a[href*="wpforo.com"]{color:#1b6aa5!important}
html body .td-badge{background:#c62828!important;color:#fff!important}
.td-dock [data-a=scraps]{color:#ffc857!important}
/* ===== 글자색 대비 보강 (다크 모드: wpForo 프로필·회원 화면) ===== */
html[data-td-theme="dark"] body #wpforo-wrap .wpfp-name,html[data-td-theme="dark"] body #wpforo-wrap .wpf-author-nicename,html[data-td-theme="dark"] body #wpforo-wrap .wpf-statbox-value,html[data-td-theme="dark"] body #wpforo-wrap .wpf-label,html[data-td-theme="dark"] body #wpforo-wrap p.wpf-label{color:#e4e7ec!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpfp-box,html[data-td-theme="dark"] body #wpforo-wrap .wpfp-joined,html[data-td-theme="dark"] body #wpforo-wrap .wpf-statbox-title{color:#b4bccb!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpf-profile-menu-label,html[data-td-theme="dark"] body #wpforo-wrap .wpforo-profile-back a,html[data-td-theme="dark"] body #wpforo-wrap .wpf-breadcrumb a{color:#8db8ff!important}
html[data-td-theme="dark"] body #wpforo-wrap .td-profdeco{color:#e4e7ec!important;background:#2a2f38!important;border-color:#4a5160!important}
html[data-td-theme="dark"] body #wpforo-wrap a.td-cmtwrite,html[data-td-theme="dark"] a.td-cmtwrite{color:#8db8ff!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpforo-profile-back,html[data-td-theme="dark"] body #wpforo-wrap .wpforo-profile-back a{background:#245b8c!important;color:#fff!important}
html body #wpforo-wrap .wpf-by a{color:#1b6aa5!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpf-by a,html[data-td-theme="dark"] body #wpforo-wrap .wpf-404-desc a{color:#8db8ff!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpf-footer-title,html[data-td-theme="dark"] body #wpforo-wrap .wpf-footer-title span{color:#b4bccb!important}
html[data-td-theme="dark"] .td-pt__more,html[data-td-theme="dark"] .td-pt__more a{color:#8db8ff!important}
html[data-td-theme="dark"] body #wpforo-wrap .wpforo-404-wrap a,html[data-td-theme="dark"] body #wpforo-wrap .wpforo-404-wrap a span{color:#8db8ff!important}

.td-dx2{padding:6px 12px;border:1px solid #c9d2dc;border-radius:6px;background:transparent;color:inherit;cursor:pointer}
.td-dx{min-width:32px;min-height:32px;font-size:18px}

.td-profdm{margin-left:6px}

/* 오른쪽 아래 버튼: 알림류 → 꾸미기·화면 → 위/아래 순서로 묶어서 배치 */
html body .td-dock [data-a=more]{order:0}
html body .td-dock [data-a=bell]{order:1}
html body .td-dock [data-a=dm]{order:2}
html body .td-dock [data-a=scraps]{order:3}
html body .td-dock [data-a=kw]{order:4}
html body .td-dock [data-a=decor]{order:5}
html body .td-dock [data-a=theme]{order:6}
html body .td-dock [data-a=top]{order:7}
html body .td-dock [data-a=bottom]{order:8}
html body .td-dock button{margin:0!important}
html body .td-dock button svg{width:23px!important;height:23px!important}

/* 글·댓글 본문: 테두리에서 띄우고 소제목·목록 간격 정돈 */
html body #wpforo-wrap .wpforo-post .wpforo-post-content{padding:14px 20px 8px!important;overflow-wrap:anywhere}
html body #wpforo-wrap .wpforo-post-content h2,html body #wpforo-wrap .wpforo-post-content h3,html body #wpforo-wrap .wpforo-post-content h4{margin:24px 0 8px!important;font-weight:700!important;line-height:1.4!important;color:var(--text)!important}
html body #wpforo-wrap .wpforo-post-content h2{font-size:21px!important}
html body #wpforo-wrap .wpforo-post-content h3{font-size:18px!important;padding-left:10px;border-left:4px solid var(--accent,#1e4f9c)}
html body #wpforo-wrap .wpforo-post-content h4{font-size:16px!important}
html body #wpforo-wrap .wpforo-post-content>h2:first-child,html body #wpforo-wrap .wpforo-post-content>h3:first-child{margin-top:4px!important}
html body #wpforo-wrap .wpforo-post-content ul,html body #wpforo-wrap .wpforo-post-content ol{margin:8px 0 14px!important;padding-left:26px!important}
html body #wpforo-wrap .wpforo-post-content li{margin:5px 0!important}
html body #wpforo-wrap .wpforo-post-content p{margin:0 0 12px!important}
@media(max-width:600px){html body #wpforo-wrap .wpforo-post .wpforo-post-content{padding:12px 16px 6px!important}}

/* 밝은 화면: 플로팅 도구를 밝은 반투명 글래스 형태로 표시 */
html:not([data-td-theme="dark"]) body .td-dock button{background:transparent;color:#27456d;border:1px solid rgba(255,255,255,.58);box-shadow:0 4px 14px rgba(33,60,95,.10),0 1px 3px rgba(33,60,95,.06);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html:not([data-td-theme="dark"]) body .td-dock button:hover{background:rgba(255,255,255,.96);color:#1c4f93;border-color:rgba(176,198,226,.95)}
@media(min-width:782px){html body .td-dock{right:8px;gap:7px}}

/* 카테고리줄·정렬줄 간격 정리 */
html body #wpforo-wrap .td-segbar{padding:2px 16px 12px!important;margin-top:0!important;gap:8px!important;border-bottom:0!important}
html body #wpforo-wrap .td-segbar .td-sortgrp{display:inline-flex!important;align-items:center;flex:none;gap:8px!important;margin:0!important;padding:0!important;border:0!important}

/* 로고 배치: 로그인·회원가입 상자 위, 푸터 */
html body #wpforo-wrap .wpforo-login-content > h3,html body #wpforo-wrap .wpforo-register-content > h3{display:flex!important;flex-direction:column;align-items:center}
html body #wpforo-wrap .wpforo-login-content > h3::after,html body #wpforo-wrap .wpforo-register-content > h3::after{content:"";order:-1;display:block;width:190px;height:73px;margin:0 auto 6px;background:url(https://tipdam.com/wp-content/uploads/2026/11/tipdam-logo-h380.png) center/contain no-repeat}
html[data-td-theme="dark"] body #wpforo-wrap .wpforo-login-content > h3::after,html[data-td-theme="dark"] body #wpforo-wrap .wpforo-register-content > h3::after{box-sizing:border-box;width:210px;height:84px;padding:8px 12px;background-color:#fff;background-origin:content-box;border-radius:12px}
.td-footer__brand{display:inline-block;margin:0 0 12px;line-height:0}
.td-footer__logo{display:block;height:34px;width:auto}
html[data-td-theme="dark"] .td-footer__logo{box-sizing:content-box;padding:4px 10px;background:#fff;border-radius:8px}
/* 읽은 글 표시: 안 읽은 새 글은 굵게, 읽은 글은 일반 굵기 */
html body #wpforo-wrap .wpf-thread .td-ttl > a:not(.td-unread){font-weight:500!important}
html body #wpforo-wrap .wpf-thread .td-ttl > a.td-unread,html body a.td-board-list__title.td-unread,html body .wpf-newest-post a.td-unread{font-weight:800!important}
/* 홈 표: 게시판 이름표가 잘리지 않게, 좁은 화면에서는 제목을 두 줄까지 */
@media(max-width:720px){
  html body .td-table .c-board{width:84px}
  html body .td-table .c-board span{max-width:none;overflow:visible;text-overflow:clip;font-size:.68rem;padding:2px 5px;letter-spacing:-.04em}
  html body .td-table .c-title{white-space:normal;overflow:visible;text-overflow:clip;padding-top:7px;padding-bottom:7px}
  html body .td-table .c-title a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.4;word-break:keep-all}
}
@media(max-width:559px){
  html body .td-table .c-board{width:80px}
  html body .td-table .c-board span{font-size:.64rem;padding:2px 4px}
}
html body .td-table .c-title a.td-unread{font-weight:800}
/* 프로필: 좌우 여백을 같게(20px), 추천인 코드 상자 안쪽 여백 복구 */
html body #wpforo-wrap .wpforo-profile-head-bottom{padding-left:20px!important;padding-right:20px!important}
html body #wpforo-wrap .td-refin{margin:14px 20px!important;max-width:calc(100% - 40px)!important;padding:16px 18px!important}
@media(max-width:559px){
  html body #wpforo-wrap .wpforo-profile-head-bottom{padding-left:18px!important;padding-right:18px!important}
  html body #wpforo-wrap .td-refin{margin:14px 18px!important;max-width:calc(100% - 36px)!important;padding:14px 16px!important}
  html body #wpforo-wrap .wpforo-profile-menu,html body #wpforo-wrap .wpforo-profile-content{padding-left:16px!important;padding-right:16px!important}
}
/* 글 목록 카드의 빨간 점(새 글) 제거 - 안 읽은 새 글은 굵은 글씨로 표시 */
html body .td-dot{display:none!important}

/* 떠 있는 버튼: 버튼마다 다른 색의 채운 원 + 흰 테두리 (배경·글자 위에서도 구분) */
html body .td-dock button{border:2px solid #fff!important;color:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:0 3px 10px rgba(15,33,66,.28)!important;opacity:1!important}
html body .td-dock button:hover{filter:brightness(1.1);background-image:none}
html body .td-dock [data-a=more]{background:#64748b!important}
html body .td-dock [data-a=bell]{background:#f59e0b!important}
html body .td-dock [data-a=dm]{background:#0ea5a4!important}
html body .td-dock [data-a=scraps]{background:#e0a100!important;color:#fff!important}
html body .td-dock [data-a=kw]{background:#7c3aed!important}
html body .td-dock [data-a=decor]{background:#e11d74!important}
html body .td-dock [data-a=theme]{background:#334155!important}
html body .td-dock [data-a=top]{background:#16a34a!important}
html body .td-dock [data-a=bottom]{background:#0284c7!important}
html[data-td-theme="dark"] body .td-dock button{border-color:#1f242c!important}
/* 알림 버튼: 흰 종 아이콘 + ★(황금색)과 구분되는 주황빨강, 배지는 흰 테두리 */
html body .td-dock [data-a=bell]{background:#ea580c!important}
html body .td-dock [data-a=bell] .td-badge{border:2px solid #fff;box-sizing:content-box}
/* 가입 추천 문구 패널 */
html body .td-invmsg{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);width:min(92vw,420px);background:#fff;color:#1f2937;border:1px solid #cbd5e1;border-radius:14px;box-shadow:0 10px 30px rgba(15,33,66,.28);padding:14px 16px;z-index:99999}
html body .td-invmsg__h{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.95rem}
html body .td-invmsg__x{background:none;border:0;font-size:1rem;cursor:pointer;color:#64748b}
html body .td-invmsg__t{white-space:pre-wrap;word-break:break-all;font:inherit;font-size:.88rem;line-height:1.55;background:#f1f5f9;border-radius:10px;padding:10px 12px;margin:0 0 10px}
html body .td-invmsg__c{width:100%;background:#1c4f93;color:#fff;border:0;border-radius:10px;padding:10px;font-weight:700;cursor:pointer}