/* daily_checkin */
.daily-checkin-card{border-color:#d9f4e4;background:linear-gradient(180deg,#fbfffd 0,#fff 100%);box-shadow:0 8px 22px rgba(32,164,90,.08)}
.daily-checkin-wrap{display:grid;gap:10px;padding:12px 14px}
.daily-checkin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.daily-checkin-title{color:#17202a;font-size:13px;font-weight:700;line-height:1.35}
.daily-checkin-sub{margin-top:2px;color:#98a2b3;font-size:11px;line-height:1.35}
.daily-checkin-badge{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 8px;border:1px solid #fde9b8;border-radius:999px;background:#fffbeb;color:#b7791f;font-size:11px;font-weight:600;white-space:nowrap}
.daily-checkin-badge.done{border-color:#bfe9cf;background:var(--brand-soft);color:var(--brand)}
.daily-checkin-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.daily-checkin-stats>div{display:grid;gap:2px;padding:8px;border:1px solid #edf1f4;border-radius:7px;background:#fbfcfd;text-align:center}
.daily-checkin-stats strong{color:#17202a;font-size:17px;line-height:1.1}
.daily-checkin-stats span{color:#98a2b3;font-size:11px;line-height:1.25}
.daily-checkin-action{display:block}
.daily-checkin-action .post-action-form{display:block!important;width:100%!important}
.daily-checkin-action button,.daily-checkin-done{display:flex;align-items:center;justify-content:center;width:100%;min-height:32px;padding:0 10px;border-radius:7px;font-size:12px;font-weight:700}
.daily-checkin-action button{border:1px solid var(--brand);background:var(--brand);color:#fff}
.daily-checkin-action button:hover{border-color:var(--brand-hover);background:var(--brand-hover);color:#fff}
.daily-checkin-done{border:1px solid #d9f4e4;background:var(--brand-soft);color:var(--brand)}
.daily-checkin-page-panel .admin-list-head{padding:14px 16px}
.daily-checkin-page-body{display:grid;gap:16px;padding:16px}
.daily-checkin-page-stats{gap:12px}
.daily-checkin-page-stats>div{padding:16px 12px}
.daily-checkin-page-stats strong{font-size:24px}
.daily-checkin-page-stats span{font-size:12px}
.daily-checkin-page-action button,.daily-checkin-page-action .daily-checkin-done{min-height:42px;font-size:14px}
.admin-object-row.daily-checkin-row{grid-template-columns:minmax(0,1fr)}
@media (max-width:760px){.admin-object-row.daily-checkin-row{grid-template-columns:minmax(0,1fr)}}
/* poll */
.poll-create-box,.poll-card{border:1px solid var(--line,#e8e8e8);background:#fbfcfd;border-radius:6px;margin:10px 0}
.poll-create-box{padding:10px 12px}
.poll-create-details{display:grid;gap:8px}
.poll-create-details summary{width:max-content;max-width:100%;color:#444;font-size:12px;font-weight:600;cursor:pointer;list-style:none}
.poll-create-details summary::-webkit-details-marker{display:none}
.poll-create-details summary:before{content:"+";display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-right:6px;border-radius:50%;background:var(--brand-soft,#eefaf3);color:var(--brand,#2ecc71);font-weight:700;line-height:1;vertical-align:-1px}
.poll-create-details[open] summary{color:#111}
.poll-create-details[open] summary:before{content:"-"}
.poll-create-inner{display:grid;gap:8px}
.poll-create-details .poll-create-inner{margin-top:8px}
.poll-create-options{display:grid;gap:6px}
.poll-more-options{display:grid;gap:6px}
.poll-more-options summary{width:max-content;max-width:100%;color:var(--brand,#2ecc71);font-size:12px;cursor:pointer;list-style:none}
.poll-more-options summary::-webkit-details-marker{display:none}
.poll-more-options summary:hover{color:var(--brand-hover,#27ae60)}
.poll-more-options-body{display:grid;gap:6px;margin-top:6px}
.poll-create-question,.poll-option-input{height:32px;padding:0 9px;border-color:#e3e8ee;background:#fff;font-size:12px}
.poll-create-question:focus,.poll-option-input:focus{border-color:var(--brand,#2ecc71);box-shadow:0 0 0 2px rgba(46,204,113,.1)}
.poll-toggle{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;min-height:24px;color:#444;font-size:12px;line-height:1.4;cursor:pointer}
.poll-toggle input{flex:0 0 auto;width:14px;height:14px;margin:0;padding:0;accent-color:var(--brand,#2ecc71)}
.poll-inline{display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap}
.poll-mini-field{display:inline-flex;align-items:center;gap:6px;width:auto;color:#666;font-size:12px;white-space:nowrap}
.poll-mini-field input[type=number]{width:70px;height:28px;padding:0 7px;border-color:#e3e8ee;font-size:12px}
.poll-note{color:var(--muted,#888);font-size:12px}
.poll-card{grid-column:1/-1;width:100%;box-sizing:border-box;overflow:hidden;box-shadow:0 4px 14px rgba(16,24,40,.035)}
.poll-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:10px 12px 8px}
.poll-kicker{margin-bottom:1px;color:var(--brand,#2ecc71);font-size:11px;font-weight:700;line-height:1.3}
.poll-title{color:#111;font-size:14px;font-weight:700;line-height:1.45}
.poll-status{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border-radius:999px;background:var(--brand-soft,#eefaf3);color:var(--brand,#2ecc71);font-size:11px;font-weight:700;white-space:nowrap}
.poll-body{display:grid;gap:6px;padding:0 12px 10px}
.poll-form{display:grid;gap:6px}
.poll-choice{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;min-height:32px;padding:6px 0;color:#333;cursor:pointer}
.poll-choice+.poll-choice{border-top:1px solid var(--line-soft,#f3f3f3)}
.poll-choice:hover{background:transparent;color:#111}
.poll-choice input{position:absolute;opacity:0;pointer-events:none}
.poll-choice-mark{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid #cfd8df;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 3px #fff}
.poll-choice.multi .poll-choice-mark{border-radius:4px}
.poll-choice input:checked+.poll-choice-mark{border-color:var(--brand,#2ecc71);background:var(--brand,#2ecc71)}
.poll-choice:has(input:checked){color:#111}
.poll-choice.disabled{cursor:default;color:#444}
.poll-choice.disabled:hover{background:transparent}
.poll-choice-text{min-width:0;word-break:break-word;overflow-wrap:anywhere}
.poll-result-row{display:grid;gap:5px;padding:6px 0}
.poll-result-row+.poll-result-row{border-top:1px solid var(--line-soft,#f3f3f3)}
.poll-result-row.selected{background:transparent}
.poll-result-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.poll-result-title{display:flex;align-items:center;gap:6px;min-width:0;color:#333;font-weight:400;word-break:break-word;overflow-wrap:anywhere}
.poll-picked{display:inline-flex;align-items:center;min-height:18px;padding:0 6px;border-radius:999px;background:var(--brand-soft,#eefaf3);color:var(--brand,#2ecc71);font-size:10px;font-weight:700;white-space:nowrap}
.poll-result-count{flex:0 0 auto;color:var(--muted,#888);font-size:12px;white-space:nowrap}
.poll-bar{height:6px;background:#edf2f7;border-radius:999px;overflow:hidden}
.poll-bar span{display:block;height:100%;border-radius:999px;background:var(--brand,#2ecc71)}
.poll-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;padding:0 12px 10px;color:var(--muted,#888);font-size:12px}
.poll-foot-main{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.poll-submit-row{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-top:2px}
.poll-submit-row button,.poll-login-link,.poll-admin-action button{width:auto}
.poll-login-link{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:var(--radius-sm,4px);background:var(--brand,#2ecc71);color:#fff;font-weight:600}
.poll-login-link:hover{background:var(--brand-hover,#27ae60);color:#fff}
.poll-closed{color:#b45309}
.poll-admin-row{grid-template-columns:minmax(0,1fr) auto}.poll-admin-row .admin-row-meta span{min-width:0;overflow-wrap:anywhere}
@media(max-width:720px){.poll-admin-row{grid-template-columns:minmax(0,1fr)}.poll-admin-row .admin-inline-ops{grid-column:1;justify-content:flex-start;margin-left:0}}
@media (max-width:640px){.poll-create-box{margin:8px 0;padding:8px 10px}.poll-create-details summary,.poll-more-options summary{min-height:28px;display:inline-flex;align-items:center}.poll-create-details summary:before{flex:0 0 auto}.poll-create-question,.poll-option-input{width:100%;max-width:none;height:34px;font-size:13px}.poll-toggle{min-height:28px}.poll-inline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.poll-inline>.poll-toggle{grid-column:1/-1}.poll-mini-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 6px;width:100%;padding:7px 8px;border:1px solid #edf1f4;border-radius:6px;background:#fff;white-space:normal}.poll-mini-field span:first-child{grid-column:1/-1;color:#888;font-size:11px;line-height:1.2}.poll-mini-field input[type=number]{width:100%;height:30px;padding:0 7px}.poll-card{margin:8px 0;box-shadow:0 3px 10px rgba(16,24,40,.03)}.poll-head{display:grid;gap:4px;padding:9px 10px 7px}.poll-title{font-size:13.5px}.poll-status{justify-self:start;min-height:0;padding:0;background:transparent;color:#999;font-size:11px;font-weight:400}.poll-body{padding:0 10px 9px}.poll-choice{grid-template-columns:16px minmax(0,1fr);gap:7px;min-height:34px}.poll-result-row{gap:4px}.poll-result-top{display:grid;gap:3px}.poll-result-title{display:block}.poll-picked{margin-left:0;margin-top:4px}.poll-result-count{justify-self:start;font-size:11px}.poll-foot{display:grid;gap:7px;padding:0 10px 9px}.poll-login-link{width:100%}.poll-submit-row{display:grid;gap:7px}.poll-submit-row button{width:100%;justify-self:stretch}}
/* two_factor */
.two-factor-panel{display:grid;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid #f1f1f1}
.two-factor-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.two-factor-head strong{font-size:14px;color:#17202a}
.two-factor-head span{color:#98a2b3;font-size:12px}
.two-factor-action-form{display:grid;gap:8px;max-width:450px}
.two-factor-options{display:grid;gap:7px}
.two-factor-option{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:start;padding:9px 10px;border:1px solid #edf1f4;border-radius:7px;background:#fbfcfd;cursor:pointer}
.two-factor-option input{width:16px;height:16px;margin-top:2px;accent-color:var(--brand)}
.two-factor-option span{display:grid;gap:2px;min-width:0}
.two-factor-option strong{color:#17202a;font-size:13px;line-height:1.35}
.two-factor-option small{color:#98a2b3;font-size:12px;line-height:1.35}
.two-factor-qr-wrap{display:inline-flex;align-items:center;justify-content:center;margin:2px 0 10px;padding:10px;border:1px solid #edf1f4;border-radius:7px;background:#fff}
.two-factor-qr{display:block;width:180px;height:180px;max-width:100%}
.two-factor-codes{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px;margin:12px 0 0;padding:0;list-style:none}
.two-factor-codes code{display:block;padding:8px 10px;border:1px solid #edf1f4;border-radius:6px;background:#fbfcfd;color:#17202a;text-align:center;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px}
/* unread_topic_notice */
.unread-topic-notice{display:inline-flex;align-items:center;gap:4px;margin-left:6px;color:var(--brand,#2ecc71);font-size:11px;font-weight:600;line-height:1;vertical-align:1px;white-space:nowrap}
.unread-topic-notice:hover{color:var(--brand-hover,#27ae60)}
.unread-topic-notice:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.topic-toolbar .post-action-form{flex:0 0 auto!important}
.topic-toolbar button.unread-topic-read-all{min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#b4bac2!important;font-size:12px!important;font-weight:400!important;line-height:1.4!important;white-space:nowrap!important}
.topic-toolbar button.unread-topic-read-all:hover{background:transparent!important;color:#667085!important}
/* user_review */
.user-review-card{border-color:#d9f4e4;background:linear-gradient(180deg,#fbfffd 0,#fff 100%);box-shadow:0 8px 22px rgba(32,164,90,.08)}.user-review-wrap{display:grid;gap:10px;padding:12px 14px}.user-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.user-review-title{color:#17202a;font-size:13px;font-weight:700;line-height:1.35}.user-review-sub{margin-top:2px;color:#98a2b3;font-size:11px;line-height:1.35}.user-review-badge{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 8px;border:1px solid #fde9b8;border-radius:999px;background:#fffbeb;color:#b7791f;font-size:11px;font-weight:600;white-space:nowrap}.user-review-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.user-review-stats>div{display:grid;gap:2px;padding:8px;border:1px solid #edf1f4;border-radius:7px;background:#fbfcfd;text-align:center}.user-review-stats strong{color:#17202a;font-size:17px;line-height:1.1}.user-review-stats span{color:#98a2b3;font-size:11px;line-height:1.25}.user-review-action{display:block}.user-review-action a{display:flex;align-items:center;justify-content:center;width:100%;min-height:32px;padding:0 10px;border:1px solid var(--brand);border-radius:7px;background:var(--brand);color:#fff;font-size:12px;font-weight:700;text-decoration:none}.user-review-action a:hover{border-color:var(--brand-hover);background:var(--brand-hover);color:#fff}.user-review-panel+.user-review-panel{margin-top:12px}.user-review-panel-body{padding:12px}.user-review-summary{display:grid;gap:2px;min-width:0}.user-review-summary strong{color:#17202a;font-size:14px;line-height:1.3}.user-review-summary span{color:#98a2b3;font-size:12px;line-height:1.35}.user-review-settings{display:grid;gap:8px;max-width:520px}.user-review-settings .grid{grid-template-columns:1fr;gap:5px;margin:0}.user-review-settings .grid>span{padding-top:0;color:#667085;font-size:12px}.user-review-settings input,.user-review-settings select{max-width:450px}.user-review-settings button{justify-self:start;margin-top:4px}.user-review-approve{border-color:#bfe9cf;background:var(--brand-soft);color:var(--brand);font-weight:600}.user-review-approve:hover{border-color:var(--brand);background:#e5f7ed;color:var(--brand-hover)}.admin-object-row.user-review-row{grid-template-columns:minmax(0,1fr) auto}.user-review-row .admin-content-text{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#667085}.user-review-turnstile{width:100%;max-width:450px;min-height:65px;margin-bottom:12px;overflow:hidden;border-radius:var(--radius-sm);background:transparent;line-height:0}.user-review-turnstile .cf-turnstile{width:100%;background:transparent}.user-review-turnstile iframe{display:block;width:100%!important;max-width:100%;border:0;border-radius:var(--radius-sm);background:transparent;color-scheme:light dark}.user-review-email-code-field{gap:6px}.user-review-email-code-row{display:grid;grid-template-columns:minmax(0,1fr) 112px;width:300px;max-width:100%;gap:0;align-items:center}.user-review-email-code-row input,.user-review-email-code-row button{height:34px;min-height:34px;box-sizing:border-box}.user-review-email-code-row input{min-width:0;letter-spacing:1px;border-radius:var(--radius-sm) 0 0 var(--radius-sm)}.user-review-email-code-row button{width:112px;padding:0 8px;border-radius:0 var(--radius-sm) var(--radius-sm) 0;white-space:nowrap}.user-review-email-code-row button:disabled{background:#eef1f3;color:#7b8794;cursor:not-allowed}.user-review-email-code-field small{display:block;color:var(--muted);font-size:12px;line-height:18px}.user-review-email-code-field small:empty{display:none}.user-review-email-code-field small.success{color:var(--brand)}.user-review-email-code-field small.error{color:var(--danger)}@media(max-width:720px){.admin-object-row.user-review-row{grid-template-columns:minmax(0,1fr)}.admin-object-row.user-review-row .admin-inline-ops{grid-column:1;justify-content:flex-start;margin-left:0}}@media(max-width:340px){.user-review-email-code-row{grid-template-columns:minmax(0,1fr) 104px}.user-review-email-code-row button{width:104px}}
/* userstags */
.userstags-page{display:grid;gap:14px}
.userstags-overview{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}
.userstags-current{text-align:center}
.userstags-current-label{color:var(--muted2);font-size:12px;margin-bottom:4px}
.userstags-current-group{font-size:18px;font-weight:700;color:var(--brand)}
.userstags-stats{display:flex;gap:16px;flex-wrap:wrap}
.userstags-stat{display:flex;flex-direction:column;gap:2px}
.userstags-stat strong{font-size:16px;color:var(--text)}
.userstags-stat span{font-size:11px;color:var(--muted2)}
.userstags-rule-active{opacity:1}
.userstags-rule-disabled{opacity:.5}
.userstags-badge-ok{color:var(--brand)!important;font-weight:600}
.userstags-badge-off{color:var(--muted)!important}
.userstags-warn{color:var(--danger)!important}
.userstags-rule-row{grid-template-columns:minmax(0,1fr) auto}
.userstags-tag-row{grid-template-columns:minmax(0,1fr)}
.userstags-tag-row .admin-row-main{gap:8px}
.userstags-tag-form{display:flex;gap:8px;align-items:center;margin-top:6px}
.userstags-tag-form input{flex:1;min-width:0;height:32px;box-sizing:border-box;padding:6px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-size:13px}
.userstags-tag-form button{flex-shrink:0;white-space:nowrap}
.userstags-search-inline{display:flex;gap:6px;align-items:center}
.userstags-search-inline input{width:160px;padding:5px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-size:12px}
.userstags-search-inline button{flex-shrink:0;white-space:nowrap}
/* ===== 基本设置美化 ===== */
.userstags-form-inline{display:flex!important;flex-direction:column;gap:10px;max-width:none!important}
.ug-head-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.ug-head-row strong{font-size:14px}
.admin-plugin-meta{font-size:11px;color:var(--brand)!important;font-weight:600;white-space:nowrap}
/* 选项行：两组并排，每组一个外框 */
.ug-options-row{display:flex;gap:12px;align-items:stretch;padding:4px 0;flex-wrap:wrap}
.ug-opt-group{display:flex;flex-direction:column;gap:6px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--line-soft)}
.ug-opt-group-right{flex:0 0 auto;margin-left:auto}
.ug-opt-group-label{font-size:12px;font-weight:600;color:var(--muted);letter-spacing:.3px}
.ug-opt-group-body{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.ug-opt-group-body-right{justify-content:flex-end}
.ug-opt-label{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;color:var(--text);font-size:13px;cursor:pointer;white-space:nowrap;transition:color .15s}
.ug-opt-label:hover{color:var(--brand)}
.ug-opt-label:has(input:checked){color:var(--brand);font-weight:500}
.ug-opt-label input[type=checkbox],.ug-opt-label input[type=radio]{width:14px;height:14px;accent-color:var(--brand);flex-shrink:0}
/* 内联行：radio / 字段 + 按钮同一行 */
.userstags-inline-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.userstags-inline-row button{margin-left:auto;justify-self:end!important}
.ug-field-inline{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);white-space:nowrap}
.ug-field-inline>span{font-size:12px;color:var(--muted);font-weight:500;flex-shrink:0}
.ug-field-inline input,.ug-field-inline select{width:auto;height:32px;box-sizing:border-box;padding:0 8px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-size:13px;transition:border-color .15s}
.ug-field-inline input:focus,.ug-field-inline select:focus{border-color:var(--brand);outline:none}
.ug-field-inline input[type=number]{width:70px}
.ug-field-inline-grow{flex:1;min-width:120px}
.ug-field-inline-grow input{flex:1;width:100%;min-width:0}
/* ===== 规则表单 / 积分管理 ===== */
.userstags-rule-form{display:grid;gap:12px;max-width:none!important}
.userstags-rule-form input,.userstags-rule-form select{max-width:none!important}
.ug-sub-section{margin-bottom:16px}
.ug-sub-section:last-child{margin-bottom:0}
.ug-sub-section-label{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:6px;padding-bottom:4px;border-bottom:1px solid var(--line-soft)}
.userstags-form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 12px}
.ug-field{display:flex;flex-direction:column;gap:4px}
.ug-field>span{font-size:12px;color:var(--muted);font-weight:500}
.ug-field input,.ug-field select{height:34px;box-sizing:border-box;padding:0 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-size:13px;transition:border-color .15s}
.ug-field input:focus,.ug-field select:focus{border-color:var(--brand);outline:none}
.ug-field input[type=number]{max-width:100%}
.ug-field-wide{grid-column:span 3}
.ug-field-check{flex-direction:row;align-items:center;gap:6px;padding:7px 0}
.ug-field-check input{width:15px;height:15px;accent-color:var(--brand)}
.userstags-form-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding-top:4px;width:100%}
.userstags-form-actions button{justify-self:end!important}
.ug-batch-form{display:flex;flex-direction:column;gap:8px}
.ug-batch-form .muted{margin:0}
/* ===== 导入导出 ===== */
.ug-io-row{display:flex;flex-direction:column;gap:16px}
.ug-io-block{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--line-soft)}
.ug-io-block-title{font-size:13px;font-weight:600;color:var(--text)}
.ug-io-block .muted{font-size:12px;margin:0}
.ug-io-file-label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);cursor:pointer}
.ug-io-block textarea{width:100%;box-sizing:border-box;padding:6px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-size:12px;font-family:monospace;resize:vertical}
.ug-io-block textarea:focus{border-color:var(--brand);outline:none}
.userstags-cancel-link{font-size:13px;color:var(--muted)}
.userstags-form-wide{max-width:none!important}
.userstags-form-wide input{max-width:none!important}
.userstags-forum-tags-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px}
.userstags-forum-tags-table th{text-align:center!important;padding:6px 8px;border-bottom:2px solid var(--line);color:var(--muted);font-size:12px}
.userstags-forum-tags-table td{padding:6px 8px;border-bottom:1px solid var(--line);vertical-align:middle}
.userstags-forum-tags-table th:first-child,.userstags-forum-tags-table td:first-child{text-align:left!important;white-space:nowrap;width:auto}
.userstags-forum-tags-table td:not(:first-child){text-align:center}
.ug-tag-input{width:100%;padding:5px 8px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-size:13px}
.ug-tag-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ug-tag-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--text);font-size:13px}
.ug-tag-chip-del{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-height:0!important;min-width:0!important;border:none;border-radius:3px;background:var(--danger);color:#fff;font-size:13px;line-height:18px;text-align:center;cursor:pointer;padding:0;flex-shrink:0;box-sizing:border-box}
.ug-tag-chip-del:hover{opacity:.8}
.ug-tag-add-row{display:flex;gap:8px;align-items:center;margin-top:8px}
.ug-tag-add-row input{flex:1;min-width:0;padding:6px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-size:13px}
.ug-tag-meta{font-size:11px;color:var(--muted2);margin-left:4px}
.ug-tag-input-row{display:flex;gap:6px;align-items:center}
.ug-tag-input-row input{flex:1;min-width:0}
.ug-tag-select{height:32px;box-sizing:border-box;padding:5px 6px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-size:12px;flex-shrink:0;cursor:pointer;max-width:90px;width:90px}
.ug-tag-select-bar{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:8px}
.ug-tag-select-bar .muted{font-size:12px;text-align:left;flex:0 1 auto}
.ug-tag-select-bar .ug-tag-select{margin-left:auto}
.userstags-tag-form .ug-tag-select{flex-shrink:0}
/* ===== 移动端响应式 ===== */
@media(max-width:768px){.userstags-form-grid{grid-template-columns:repeat(2,1fr)}.ug-field-wide{grid-column:span 2}.userstags-rule-row{grid-template-columns:minmax(0,1fr)}.userstags-rule-row .admin-inline-ops{grid-column:1;justify-content:flex-start;margin-left:0}.ug-setting-group{flex:1 1 100%}.userstags-checkbox-row label{flex:1;justify-content:center;min-width:120px}.userstags-inline-row{flex-wrap:wrap}.ug-field-inline{flex:1;min-width:140px}.userstags-forum-tags-table{font-size:12px}.userstags-forum-tags-table th,.userstags-forum-tags-table td{padding:4px 5px}.ug-options-row{flex-direction:column}}
@media(max-width:480px){.userstags-form-grid{grid-template-columns:1fr}.ug-field-wide{grid-column:span 1}.userstags-overview{grid-template-columns:1fr;text-align:center}.userstags-stats{justify-content:center}.userstags-checkbox-row{flex-direction:column}.userstags-checkbox-row label{width:100%;justify-content:flex-start}.userstags-inline-row{flex-direction:column;align-items:stretch}.userstags-inline-row button{width:100%}.ug-field-inline{width:100%}.ug-field-inline input,.ug-field-inline select{flex:1;width:100%}.userstags-form-actions{justify-content:center}.userstags-forum-tags-table thead{display:none}.userstags-forum-tags-table,.userstags-forum-tags-table tbody,.userstags-forum-tags-table tr,.userstags-forum-tags-table td{display:block;width:100%}.userstags-forum-tags-table tr{padding:6px 0;border-bottom:1px solid var(--line)}.userstags-forum-tags-table td{border:none;text-align:left!important;padding:3px 0}.userstags-forum-tags-table td:first-child{font-weight:600;color:var(--text)}.ug-opt-group-body-right{justify-content:flex-start}.ug-tag-select-bar{justify-content:flex-start}.ug-tag-select-bar .muted{text-align:left}}
