/* =========================================================
   爱玩社 MOD网：回帖弹窗干净版 V49
   作用范围：只作用 .fwin 内的 .aws-reply-popup-form
   ========================================================= */

/* 弹窗外壳 */
html body .fwin .m_c,
html body .fwin .c,
html body .fwin .p_c {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* 标题栏 */
html body .fwin h3.flb.aws-reply-titlebar,
html body .fwin h3.flb {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 13px 62px 10px 30px !important;
    background: #fff !important;
    background-image: none !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 16px 16px 0 0 !important;
    box-shadow: none !important;
}

html body .fwin h3.flb em {
    display: inline-flex !important;
    align-items: center !important;
    height: 28px !important;
    padding-left: 14px !important;
    border-left: 4px solid #2563eb !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 28px !important;
}

/* 关闭按钮 */
html body .fwin h3.flb > span {
    position: absolute !important;
    right: 24px !important;
    top: 10px !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

html body .fwin h3.flb a.flbc,
html body .fwin h3.flb a.aws-close-x {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    background-image: none !important;
    color: #334155 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    line-height: 38px !important;
    text-indent: 0 !important;
    text-decoration: none !important;
    overflow: hidden !important;
}

html body .fwin h3.flb a.flbc:hover,
html body .fwin h3.flb a.aws-close-x:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #fff !important;
}

html body .fwin h3.flb a.flbc::before,
html body .fwin h3.flb a.flbc::after,
html body .fwin h3.flb a.aws-close-x::before,
html body .fwin h3.flb a.aws-close-x::after {
    display: none !important;
    content: none !important;
}

/* 表单主体 */
html body .fwin form.aws-reply-popup-form {
    display: block !important;
    width: 660px !important;
    max-width: calc(100vw - 48px) !important;
    margin: 0 !important;
    padding: 0 28px 20px !important;
    background: #fff !important;
    color: #1f2937 !important;
    border: 1px solid #dbe3ef !important;
    border-top: 0 !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 26px 60px rgba(15, 23, 42, .22) !important;
}

html body .fwin form.aws-reply-popup-form * {
    box-sizing: border-box !important;
}

/* RE 标题 */
html body .fwin form.aws-reply-popup-form .pbt,
html body .fwin form.aws-reply-popup-form .pbt *,
html body .fwin form.aws-reply-popup-form #subjecthide {
    margin: 0 0 10px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    border: 0 !important;
    font-size: 13px !important;
    line-height: 22px !important;
}

html body .fwin form.aws-reply-popup-form .pbt a {
    color: #2563eb !important;
}

/* 隐藏标题输入和高级入口 */
html body .fwin form.aws-reply-popup-form #subjectbox,
html body .fwin form.aws-reply-popup-form span#subjectbox,
html body .fwin form.aws-reply-popup-form input#subject,
html body .fwin .aws-advanced-hidden,
html body .fwin form.aws-reply-popup-form .tedt .bar .y {
    display: none !important;
}

/* 编辑器 */
html body .fwin form.aws-reply-popup-form .tedt {
    margin-top: 8px !important;
    background: #fff !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    overflow: visible !important;
}

html body .fwin form.aws-reply-popup-form .tedt .bar {
    position: relative !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    min-height: 44px !important;
    padding: 7px 10px !important;
    background: #f8fafc !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    overflow: visible !important;
}

html body .fwin form.aws-reply-popup-form .tedt .area {
    position: relative !important;
    z-index: 1 !important;
    background: #fff !important;
}

html body .fwin form.aws-reply-popup-form #postmessage,
html body .fwin form.aws-reply-popup-form .tedt textarea {
    width: 100% !important;
    min-height: 188px !important;
    padding: 16px !important;
    border: 0 !important;
    outline: none !important;
    resize: vertical !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

html body .fwin form.aws-reply-popup-form #postmessage::placeholder,
html body .fwin form.aws-reply-popup-form .tedt textarea::placeholder {
    color: #94a3b8 !important;
}

/* 工具栏：默认隐藏原生无关按钮 */
html body .fwin form.aws-reply-popup-form .tedt .bar a {
    display: none !important;
}

/* 表情按钮 */
html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="sml"],
html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="smil"] {
    position: relative !important;
    display: inline-flex !important;
    width: 72px !important;
    min-width: 72px !important;
    height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 9px !important;
    border: 1px solid #d7dee8 !important;
    background: #fff !important;
    background-image: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 34px !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="sml"] *,
html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="smil"] * {
    display: none !important;
}

html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="sml"]::before,
html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="smil"]::before {
    display: none !important;
    content: none !important;
}

html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="sml"]::after,
html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="smil"]::after {
    content: "表情" !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    text-indent: 0 !important;
}

/* 上传工具栏与按钮 */
html body .fwin .tedt .bar .aws-reply-upload-tools,
html body .fwin .aws-reply-upload-tools {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

html body .fwin button.aws-upload-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 92px !important;
    height: 34px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    border-radius: 9px !important;
    border: 1px solid #d7dee8 !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

/* hover */
html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="sml"]:hover,
html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="smil"]:hover,
html body .fwin button.aws-upload-btn:hover {
    border-color: #94a3b8 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
}

html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="sml"]:hover::after,
html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="smil"]:hover::after {
    color: #0f172a !important;
}

/* 表情面板 */
html body .fwin div[id$="_sml_menu"],
html body .fwin div[id*="sml_menu"],
html body .fwin div[id*="smilies_menu"],
html body div[id$="_sml_menu"],
html body div[id*="sml_menu"],
html body div[id*="smilies_menu"] {
    min-width: 300px !important;
    max-width: 330px !important;
    padding: 10px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 12px !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .18) !important;
    z-index: 9999999 !important;
    overflow: hidden !important;
}

html body .fwin div[id$="_sml_menu"] ul,
html body .fwin div[id*="sml_menu"] ul,
html body .fwin div[id*="smilies_menu"] ul,
html body div[id$="_sml_menu"] ul,
html body div[id*="sml_menu"] ul,
html body div[id*="smilies_menu"] ul {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 0 8px !important;
    padding: 0 0 8px !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: transparent !important;
}

html body .fwin div[id$="_sml_menu"] li,
html body .fwin div[id*="sml_menu"] li,
html body .fwin div[id*="smilies_menu"] li,
html body div[id$="_sml_menu"] li,
html body div[id*="sml_menu"] li,
html body div[id*="smilies_menu"] li {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 26px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    border-radius: 7px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: 13px !important;
    line-height: 26px !important;
}

html body .fwin div[id$="_sml_menu"] table,
html body .fwin div[id*="sml_menu"] table,
html body .fwin div[id*="smilies_menu"] table,
html body div[id$="_sml_menu"] table,
html body div[id*="sml_menu"] table,
html body div[id*="smilies_menu"] table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 4px !important;
    background: transparent !important;
}

html body .fwin div[id$="_sml_menu"] td,
html body .fwin div[id*="sml_menu"] td,
html body .fwin div[id*="smilies_menu"] td,
html body div[id$="_sml_menu"] td,
html body div[id*="sml_menu"] td,
html body div[id*="smilies_menu"] td {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    vertical-align: middle !important;
}

html body .fwin div[id$="_sml_menu"] img,
html body .fwin div[id*="sml_menu"] img,
html body .fwin div[id*="smilies_menu"] img,
html body div[id$="_sml_menu"] img,
html body div[id*="sml_menu"] img,
html body div[id*="smilies_menu"] img {
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    padding: 3px !important;
    border-radius: 7px !important;
    background: transparent !important;
    cursor: pointer !important;
}

html body .fwin div[id$="_sml_menu"] img:hover,
html body .fwin div[id*="sml_menu"] img:hover,
html body .fwin div[id*="smilies_menu"] img:hover,
html body div[id$="_sml_menu"] img:hover,
html body div[id*="sml_menu"] img:hover,
html body div[id*="smilies_menu"] img:hover {
    background: #eff6ff !important;
}

/* 上传状态 */
html body .fwin .aws-upload-status {
    margin: 10px 0 0 !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #475569 !important;
    font-size: 13px !important;
}

html body .fwin .aws-upload-status.loading {
    color: #2563eb !important;
    border-color: #bfdbfe !important;
    background: #eff6ff !important;
}

html body .fwin .aws-upload-status.success {
    color: #166534 !important;
    border-color: #bbf7d0 !important;
    background: #f0fdf4 !important;
}

html body .fwin .aws-upload-status.warn {
    color: #92400e !important;
    border-color: #fde68a !important;
    background: #fffbeb !important;
}

html body .fwin .aws-upload-status.error {
    color: #991b1b !important;
    border-color: #fecaca !important;
    background: #fef2f2 !important;
}

/* 快捷回帖 */
html body .fwin .aws-reply-shortcuts {
    margin: 14px 0 12px !important;
    background: transparent !important;
}

html body .fwin .aws-reply-shortcuts-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
}

html body .fwin .aws-reply-shortcuts-head strong {
    color: #111827 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

html body .fwin .aws-reply-shortcuts-head span {
    color: #94a3b8 !important;
    font-size: 12px !important;
}

html body .fwin .aws-reply-chip-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
}

html body .fwin .aws-reply-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 31px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    border: 1px solid #bbf7d0 !important;
    background: #f0fdf4 !important;
    color: #166534 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

html body .fwin .aws-reply-chip:hover {
    background: #dcfce7 !important;
    border-color: #22c55e !important;
}

/* 验证码 */
html body .fwin form.aws-reply-popup-form #seccheck,
html body .fwin form.aws-reply-popup-form [id^="seccheck_"] {
    margin: 12px 0 0 !important;
    padding: 11px 14px !important;
    border-radius: 11px !important;
    border: 1px solid #e1e7ef !important;
    background: #f8fafc !important;
    color: #334155 !important;
}

html body .fwin form.aws-reply-popup-form .aws-post-seccheck,
html body .fwin form.aws-reply-popup-form #seccheck .mtm,
html body .fwin form.aws-reply-popup-form [id^="seccheck_"] .mtm,
html body .fwin form.aws-reply-popup-form [id^="seccheck_"] {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    min-height: 36px !important;
}

html body .fwin form.aws-reply-popup-form #seccheck *,
html body .fwin form.aws-reply-popup-form [id^="seccheck_"] * {
    font-size: 13px !important;
}

html body .fwin form.aws-reply-popup-form #seccheck input[type="text"],
html body .fwin form.aws-reply-popup-form [id^="seccheck_"] input[type="text"],
html body .fwin form.aws-reply-popup-form #seccodeverify_reply {
    width: 122px !important;
    height: 34px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #111827 !important;
    padding: 0 10px !important;
}

html body .fwin form.aws-reply-popup-form .aws-seccode-inline,
html body .fwin form.aws-reply-popup-form [id^="seccode_"][id$="_menu"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body .fwin form.aws-reply-popup-form .aws-seccode-inline img.vm,
html body .fwin form.aws-reply-popup-form [id^="seccode_"][id$="_menu"] img.vm {
    width: 92px !important;
    height: 30px !important;
    margin: 0 0 0 4px !important;
    border-radius: 6px !important;
    opacity: 1 !important;
    filter: none !important;
}

/* 底部操作 */
html body .fwin form.aws-reply-popup-form .o.pns,
html body .fwin form.aws-reply-popup-form .aws-reply-actions,
html body .fwin #moreconf {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-top: 13px !important;
    padding: 13px 2px 0 0 !important;
    min-height: 48px !important;
    background: #fff !important;
    border: 0 !important;
    border-top: 1px solid #e5e7eb !important;
}

html body .fwin .aws-reply-cancel {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 88px !important;
    height: 38px !important;
    border-radius: 8px !important;
    border: 1px solid #dbe3ef !important;
    background: #fff !important;
    color: #475569 !important;
    text-decoration: none !important;
}

html body .fwin .aws-reply-cancel:hover {
    background: #f8fafc !important;
}

html body .fwin form.aws-reply-popup-form .o.pns .pn.pnc {
    min-width: 138px !important;
    height: 42px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #2563eb !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .25) !important;
}

html body .fwin form.aws-reply-popup-form .o.pns .pn.pnc span {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

html body .fwin form.aws-reply-popup-form .o.pns > a[href*="credit"],
html body .fwin form.aws-reply-popup-form .o.pns #custominfo,
html body .fwin form.aws-reply-popup-form .o.pns .xg1,
html body .fwin #moreconf a[href*="credit"],
html body .fwin #moreconf .xg1 {
    margin-right: auto !important;
    margin-left: 8px !important;
    color: #64748b !important;
    background: transparent !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

/* 小屏 */
@media (max-width: 760px) {
    html body .fwin form.aws-reply-popup-form {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        padding: 0 14px 16px !important;
    }

    html body .fwin h3.flb.aws-reply-titlebar,
    html body .fwin h3.flb {
        padding-left: 18px !important;
        padding-right: 60px !important;
    }

    html body .fwin form.aws-reply-popup-form .tedt .bar,
    html body .fwin form.aws-reply-popup-form .aws-post-seccheck,
    html body .fwin form.aws-reply-popup-form #seccheck .mtm,
    html body .fwin form.aws-reply-popup-form [id^="seccheck_"] .mtm {
        flex-wrap: wrap !important;
    }

    html body .fwin form.aws-reply-popup-form #postmessage,
    html body .fwin form.aws-reply-popup-form .tedt textarea {
        min-height: 160px !important;
    }

    html body .fwin form.aws-reply-popup-form .o.pns {
        flex-wrap: wrap !important;
    }

    html body .fwin form.aws-reply-popup-form .o.pns .pn.pnc {
        width: 100% !important;
    }
}


/* =========================================================
   爱玩社 MOD网：V51 上传按钮避开全局 button 蓝色样式
   原因：
   aiwanshe.css 里有 #append_parent button { background:#1677ff!important; }
   所以这里把上传按钮改成 a 标签，并用 a.aws-upload-btn 单独控制样式。
   ========================================================= */

/* 上传工具栏 */
html body .fwin .tedt .bar .aws-reply-upload-tools,
html body .fwin .aws-reply-upload-tools {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* 上传图片 / 上传附件：现在是 a，不再被 #append_parent button 影响 */
html body #append_parent .fwin a.aws-upload-btn,
html body .fwin a.aws-upload-btn,
html body .fwin form.aws-reply-popup-form a.aws-upload-btn,
html body .fwin form.aws-reply-popup-form .tedt .bar a.aws-upload-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 84px !important;
    height: 32px !important;
    padding: 0 13px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    border: 1px solid #d7dee8 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

/* hover */
html body #append_parent .fwin a.aws-upload-btn:hover,
html body .fwin a.aws-upload-btn:hover,
html body .fwin form.aws-reply-popup-form .tedt .bar a.aws-upload-btn:hover {
    border-color: #94a3b8 !important;
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    background-image: none !important;
    color: #0f172a !important;
    text-decoration: none !important;
}

/* 确保上传按钮不会被“隐藏原生 a 按钮”的规则误伤 */
html body .fwin form.aws-reply-popup-form .tedt .bar a.aws-upload-btn {
    display: inline-flex !important;
}

/* 表情按钮继续白底灰字 */
html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="sml"],
html body .fwin form.aws-reply-popup-form .tedt .bar a[id*="smil"] {
    border: 1px solid #d7dee8 !important;
    background: #fff !important;
    background-image: none !important;
}


/* =========================================================
   爱玩社 MOD网：V52 回帖弹窗外层宽高统一修复
   修复点：
   1. #fwin_reply 外层太高出现右侧滚动条
   2. 外层宽度和内部表单宽度不统一
   3. 弹窗内容不要顶到页面右边
   只作用回帖弹窗，不影响登录页
   ========================================================= */

/* 整个回帖浮窗外壳 */
html body #append_parent #fwin_reply.fwinmask,
html body #append_parent div[id="fwin_reply"] {
    width: 680px !important;
    max-width: calc(100vw - 48px) !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border-radius: 16px !important;
}

/* Discuz 弹窗 table 外层 */
html body #append_parent #fwin_reply table.fwin,
html body #append_parent #fwin_reply table {
    width: 680px !important;
    max-width: calc(100vw - 48px) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

/* 弹窗内容 TD */
html body #append_parent #fwin_content_reply,
html body #append_parent td#fwin_content_reply.m_c {
    width: 680px !important;
    max-width: calc(100vw - 48px) !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 24px 54px rgba(15, 23, 42, .22) !important;
}

/* 标题栏宽度跟内容一致 */
html body #append_parent #fwin_reply h3.flb.aws-reply-titlebar,
html body #append_parent #fwin_reply h3.flb {
    width: 680px !important;
    max-width: calc(100vw - 48px) !important;
    min-height: 50px !important;
    padding: 13px 58px 10px 28px !important;
    border-radius: 16px 16px 0 0 !important;
}

/* 表单主体统一宽度 */
html body #append_parent #fwin_reply form.aws-reply-popup-form,
html body #append_parent #fwin_content_reply form.aws-reply-popup-form {
    width: 680px !important;
    max-width: calc(100vw - 48px) !important;
    padding: 0 28px 20px !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: none !important;
}

/* 编辑器不要撑太宽 */
html body #append_parent #fwin_reply form.aws-reply-popup-form .tedt {
    width: 100% !important;
    max-width: 100% !important;
}

/* 输入区高度更适合弹窗，不产生外层滚动条 */
html body #append_parent #fwin_reply form.aws-reply-popup-form #postmessage,
html body #append_parent #fwin_reply form.aws-reply-popup-form .tedt textarea {
    min-height: 170px !important;
    max-height: 260px !important;
}

/* 验证码一行内对齐，避免高度过大 */
html body #append_parent #fwin_reply form.aws-reply-popup-form #seccheck,
html body #append_parent #fwin_reply form.aws-reply-popup-form [id^="seccheck_"] {
    margin-top: 10px !important;
    padding: 10px 12px !important;
}

/* 底部按钮行不撑高 */
html body #append_parent #fwin_reply form.aws-reply-popup-form .o.pns,
html body #append_parent #fwin_reply form.aws-reply-popup-form .aws-reply-actions,
html body #append_parent #fwin_reply #moreconf {
    margin-top: 12px !important;
    padding-top: 12px !important;
    min-height: 44px !important;
}

/* 避免弹窗右侧出现内层滚动条 */
html body #append_parent #fwin_reply .m_c,
html body #append_parent #fwin_reply .c,
html body #append_parent #fwin_reply .p_c {
    overflow: visible !important;
}

/* 小屏适配 */
@media (max-width: 760px) {
    html body #append_parent #fwin_reply.fwinmask,
    html body #append_parent div[id="fwin_reply"],
    html body #append_parent #fwin_reply table.fwin,
    html body #append_parent #fwin_content_reply,
    html body #append_parent #fwin_reply h3.flb,
    html body #append_parent #fwin_reply form.aws-reply-popup-form {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }

    html body #append_parent #fwin_reply form.aws-reply-popup-form {
        padding: 0 14px 16px !important;
    }

    html body #append_parent #fwin_reply form.aws-reply-popup-form #postmessage,
    html body #append_parent #fwin_reply form.aws-reply-popup-form .tedt textarea {
        min-height: 150px !important;
    }
}


/* =========================================================
   爱玩社 MOD网：V53 回帖弹窗左侧空白修复
   修复：编辑器、快捷回帖、验证码左侧缩进过大
   ========================================================= */

/* 弹窗内部左右留白再收一点 */
html body #append_parent #fwin_reply form.aws-reply-popup-form,
html body #append_parent #fwin_content_reply form.aws-reply-popup-form,
html body .fwin form.aws-reply-popup-form {
    padding-left: 18px !important;
    padding-right: 18px !important;
}

/* 标题栏也同步收紧 */
html body #append_parent #fwin_reply h3.flb.aws-reply-titlebar,
html body #append_parent #fwin_reply h3.flb,
html body .fwin h3.flb.aws-reply-titlebar,
html body .fwin h3.flb {
    padding-left: 18px !important;
    padding-right: 54px !important;
}

/* RE 这一行靠左 */
html body #append_parent #fwin_reply form.aws-reply-popup-form .pbt,
html body .fwin form.aws-reply-popup-form .pbt {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* 编辑器强制贴近左侧，不要被 DZ 默认 margin/padding 撑开 */
html body #append_parent #fwin_reply form.aws-reply-popup-form .tedt,
html body #append_parent #fwin_reply form.aws-reply-popup-form .tedt.mtn,
html body #append_parent #fwin_reply form.aws-reply-popup-form .edt,
html body #append_parent #fwin_reply form.aws-reply-popup-form .area,
html body .fwin form.aws-reply-popup-form .tedt,
html body .fwin form.aws-reply-popup-form .edt,
html body .fwin form.aws-reply-popup-form .area {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 工具栏和输入区不要有额外左缩进 */
html body #append_parent #fwin_reply form.aws-reply-popup-form .tedt .bar,
html body #append_parent #fwin_reply form.aws-reply-popup-form #postmessage,
html body #append_parent #fwin_reply form.aws-reply-popup-form .tedt textarea,
html body .fwin form.aws-reply-popup-form .tedt .bar,
html body .fwin form.aws-reply-popup-form #postmessage,
html body .fwin form.aws-reply-popup-form .tedt textarea {
    margin-left: 0 !important;
}

/* 快捷回帖、验证码、底部按钮宽度跟编辑器对齐 */
html body #append_parent #fwin_reply .aws-reply-shortcuts,
html body #append_parent #fwin_reply form.aws-reply-popup-form #seccheck,
html body #append_parent #fwin_reply form.aws-reply-popup-form [id^="seccheck_"],
html body #append_parent #fwin_reply form.aws-reply-popup-form .o.pns,
html body #append_parent #fwin_reply form.aws-reply-popup-form .aws-reply-actions,
html body .fwin .aws-reply-shortcuts,
html body .fwin form.aws-reply-popup-form #seccheck,
html body .fwin form.aws-reply-popup-form [id^="seccheck_"],
html body .fwin form.aws-reply-popup-form .o.pns,
html body .fwin form.aws-reply-popup-form .aws-reply-actions {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 输入框高度稍微保持 */
html body #append_parent #fwin_reply form.aws-reply-popup-form #postmessage,
html body #append_parent #fwin_reply form.aws-reply-popup-form .tedt textarea {
    min-height: 170px !important;
}

/* 小屏继续保持安全边距 */
@media (max-width: 760px) {
    html body #append_parent #fwin_reply form.aws-reply-popup-form,
    html body .fwin form.aws-reply-popup-form {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}


/* =========================================================
   爱玩社 MOD网：V54 标题 / 关闭按钮 / 验证码排版优化
   基于 V53，只修用户截图指出的三个位置
   ========================================================= */

/* 顶部标题再放大一点 */
html body #append_parent #fwin_reply h3.flb.aws-reply-titlebar,
html body #append_parent #fwin_reply h3.flb,
html body .fwin h3.flb.aws-reply-titlebar,
html body .fwin h3.flb {
    min-height: 54px !important;
    padding-top: 14px !important;
    padding-bottom: 12px !important;
}

html body #append_parent #fwin_reply h3.flb em,
html body .fwin h3.flb em {
    height: 32px !important;
    line-height: 32px !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    border-left-width: 4px !important;
    padding-left: 14px !important;
}

/* 关闭 X：更明显，并确保可点击 */
html body #append_parent #fwin_reply h3.flb > span,
html body .fwin h3.flb > span {
    right: 18px !important;
    top: 10px !important;
    width: 38px !important;
    height: 38px !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
}

html body #append_parent #fwin_reply h3.flb a.flbc,
html body #append_parent #fwin_reply h3.flb a.aws-close-x,
html body .fwin h3.flb a.flbc,
html body .fwin h3.flb a.aws-close-x {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 38px !important;
    text-indent: 0 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 999999 !important;
}

html body #append_parent #fwin_reply h3.flb a.flbc:hover,
html body #append_parent #fwin_reply h3.flb a.aws-close-x:hover,
html body .fwin h3.flb a.flbc:hover,
html body .fwin h3.flb a.aws-close-x:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

/* 验证码区域整体更像一张浅色信息卡片 */
html body #append_parent #fwin_reply form.aws-reply-popup-form #seccheck,
html body #append_parent #fwin_reply form.aws-reply-popup-form [id^="seccheck_"],
html body .fwin form.aws-reply-popup-form #seccheck,
html body .fwin form.aws-reply-popup-form [id^="seccheck_"] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #334155 !important;
}

/* 验证码内部一行排版 */
html body #append_parent #fwin_reply form.aws-reply-popup-form .aws-post-seccheck,
html body #append_parent #fwin_reply form.aws-reply-popup-form #seccheck .mtm,
html body #append_parent #fwin_reply form.aws-reply-popup-form [id^="seccheck_"] .mtm,
html body .fwin form.aws-reply-popup-form .aws-post-seccheck,
html body .fwin form.aws-reply-popup-form #seccheck .mtm,
html body .fwin form.aws-reply-popup-form [id^="seccheck_"] .mtm {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 38px !important;
    margin: 0 !important;
}

/* 验证码文字 */
html body #append_parent #fwin_reply form.aws-reply-popup-form #seccheck,
html body #append_parent #fwin_reply form.aws-reply-popup-form #seccheck *,
html body #append_parent #fwin_reply form.aws-reply-popup-form [id^="seccheck_"],
html body #append_parent #fwin_reply form.aws-reply-popup-form [id^="seccheck_"] *,
html body .fwin form.aws-reply-popup-form #seccheck,
html body .fwin form.aws-reply-popup-form #seccheck *,
html body .fwin form.aws-reply-popup-form [id^="seccheck_"],
html body .fwin form.aws-reply-popup-form [id^="seccheck_"] * {
    font-size: 13px !important;
    line-height: 34px !important;
}

/* 验证码输入框 */
html body #append_parent #fwin_reply form.aws-reply-popup-form #seccheck input[type="text"],
html body #append_parent #fwin_reply form.aws-reply-popup-form [id^="seccheck_"] input[type="text"],
html body #append_parent #fwin_reply form.aws-reply-popup-form #seccodeverify_reply,
html body .fwin form.aws-reply-popup-form #seccheck input[type="text"],
html body .fwin form.aws-reply-popup-form [id^="seccheck_"] input[type="text"],
html body .fwin form.aws-reply-popup-form #seccodeverify_reply {
    width: 132px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border-radius: 9px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #111827 !important;
    outline: none !important;
}

/* 换一个链接 */
html body #append_parent #fwin_reply form.aws-reply-popup-form #seccheck a,
html body #append_parent #fwin_reply form.aws-reply-popup-form [id^="seccheck_"] a,
html body .fwin form.aws-reply-popup-form #seccheck a,
html body .fwin form.aws-reply-popup-form [id^="seccheck_"] a {
    color: #2563eb !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* 验证码图片 */
html body #append_parent #fwin_reply form.aws-reply-popup-form .aws-seccode-inline,
html body #append_parent #fwin_reply form.aws-reply-popup-form [id^="seccode_"][id$="_menu"],
html body .fwin form.aws-reply-popup-form .aws-seccode-inline,
html body .fwin form.aws-reply-popup-form [id^="seccode_"][id$="_menu"] {
    display: inline-flex !important;
    align-items: center !important;
    position: static !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body #append_parent #fwin_reply form.aws-reply-popup-form .aws-seccode-inline img.vm,
html body #append_parent #fwin_reply form.aws-reply-popup-form [id^="seccode_"][id$="_menu"] img.vm,
html body .fwin form.aws-reply-popup-form .aws-seccode-inline img.vm,
html body .fwin form.aws-reply-popup-form [id^="seccode_"][id$="_menu"] img.vm {
    width: 96px !important;
    height: 32px !important;
    margin: 0 !important;
    border-radius: 7px !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    filter: none !important;
}

/* 让“输入下图中的字符”别挤成一坨 */
html body #append_parent #fwin_reply form.aws-reply-popup-form #seccheck label,
html body #append_parent #fwin_reply form.aws-reply-popup-form [id^="seccheck_"] label,
html body .fwin form.aws-reply-popup-form #seccheck label,
html body .fwin form.aws-reply-popup-form [id^="seccheck_"] label {
    white-space: nowrap !important;
}

/* 小屏验证码允许换行 */
@media (max-width: 760px) {
    html body #append_parent #fwin_reply form.aws-reply-popup-form .aws-post-seccheck,
    html body #append_parent #fwin_reply form.aws-reply-popup-form #seccheck .mtm,
    html body #append_parent #fwin_reply form.aws-reply-popup-form [id^="seccheck_"] .mtm,
    html body .fwin form.aws-reply-popup-form .aws-post-seccheck,
    html body .fwin form.aws-reply-popup-form #seccheck .mtm,
    html body .fwin form.aws-reply-popup-form [id^="seccheck_"] .mtm {
        flex-wrap: wrap !important;
    }
}


/* =========================================================
   爱玩社 MOD网：V56 上传 JS 修复提示样式
   ========================================================= */

html body .fwin .aws-upload-status {
    margin: 10px 0 0 !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #475569 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

html body .fwin .aws-upload-status.loading {
    color: #2563eb !important;
    border-color: #bfdbfe !important;
    background: #eff6ff !important;
}

html body .fwin .aws-upload-status.success {
    color: #166534 !important;
    border-color: #bbf7d0 !important;
    background: #f0fdf4 !important;
}

html body .fwin .aws-upload-status.warn {
    color: #92400e !important;
    border-color: #fde68a !important;
    background: #fffbeb !important;
}

html body .fwin .aws-upload-status.error {
    color: #991b1b !important;
    border-color: #fecaca !important;
    background: #fef2f2 !important;
}


/* =========================================================
   爱玩社 MOD网：V57 官方 swfupload 接口修复
   上传成功返回纯 aid 时，弹窗内提示更清楚
   ========================================================= */

html body .fwin .aws-upload-status.success {
    color: #166534 !important;
    border-color: #bbf7d0 !important;
    background: #f0fdf4 !important;
    line-height: 1.7 !important;
}


/* =========================================================
   爱玩社 MOD网：V58 上传 fid 修复提示
   ========================================================= */
html body .fwin .aws-upload-status.warn {
    color: #92400e !important;
    border-color: #fde68a !important;
    background: #fffbeb !important;
    line-height: 1.7 !important;
}


/* =========================================================
   爱玩社 MOD网：V60 上传 uid/hash 修复提示
   ========================================================= */
html body .fwin .aws-upload-status.warn,
html body .fwin .aws-upload-status.error,
html body .fwin .aws-upload-status.success,
html body .fwin .aws-upload-status.loading {
    line-height: 1.7 !important;
}


/* =========================================================
   爱玩社 MOD网：V62 图片/附件插入标签强制修复
   图片：[attachimg]aid[/attachimg]
   附件：[attach]aid[/attach]
   ========================================================= */
html body .fwin .aws-upload-status.success {
    color: #166534 !important;
    border-color: #bbf7d0 !important;
    background: #f0fdf4 !important;
    line-height: 1.7 !important;
}


/* =========================================================
   爱玩社 MOD网：V63 附件提交注册修复
   上传成功后给表单补 attachnew[aid]，避免提交后不显示
   ========================================================= */
html body .fwin .aws-upload-status.success {
    color: #166534 !important;
    border-color: #bbf7d0 !important;
    background: #f0fdf4 !important;
    line-height: 1.7 !important;
}


/* =========================================================
   爱玩社 MOD网：V64 提交前绑定附件修复
   提交时自动补 attachnew / unused 字段
   ========================================================= */
html body .fwin .aws-upload-status.success,
html body .fwin .aws-upload-status.warn {
    line-height: 1.7 !important;
}


/* =========================================================
   爱玩社回帖弹窗 V65
   回帖成功自动刷新页面，无样式变更
   ========================================================= */


/* =========================================================
   爱玩社帖子详情页底部快速回复 V3
   作用范围：#aws_fastpostform
   ========================================================= */

html body #aws_fastpostform .aws-vt-fast-toolbar a.aws-vt-emoji-btn,
html body #aws_fastpostform .aws-vt-fast-toolbar a.aws-vt-upload-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-width: 92px !important;
    padding: 0 16px !important;
    border-radius: 9px !important;
    border: 1px solid rgba(148, 163, 184, .22) !important;
    background: rgba(15, 23, 42, .52) !important;
    color: #dbeafe !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

html body #aws_fastpostform .aws-vt-fast-toolbar a.aws-vt-emoji-btn:hover,
html body #aws_fastpostform .aws-vt-fast-toolbar a.aws-vt-upload-btn:hover {
    border-color: rgba(59, 130, 246, .55) !important;
    background: rgba(37, 99, 235, .22) !important;
    color: #ffffff !important;
}

/* 隐藏旧的“链接”样式残留 */
html body #aws_fastpostform .aws-vt-fast-toolbar a[href*="forum.php?mod=post&action=reply"]:not(.aws-reply-advanced) {
    display: none !important;
}

/* 表情面板 */
html body #aws_fastpostform .aws-vt-emoji-panel {
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 10px 0 0 !important;
    padding: 10px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(148, 163, 184, .24) !important;
    background: rgba(15, 23, 42, .72) !important;
}

html body #aws_fastpostform .aws-vt-emoji-panel a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 20px !important;
    background: rgba(30, 41, 59, .72) !important;
}

html body #aws_fastpostform .aws-vt-emoji-panel a:hover {
    background: rgba(37, 99, 235, .28) !important;
}

/* 上传状态 */
html body #aws_fastpostform .aws-vt-fast-upload-status {
    margin: 10px 0 0 !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(148, 163, 184, .25) !important;
    background: rgba(15, 23, 42, .46) !important;
    color: #cbd5e1 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

html body #aws_fastpostform .aws-vt-fast-upload-status.loading {
    color: #bfdbfe !important;
    border-color: rgba(96, 165, 250, .45) !important;
    background: rgba(30, 64, 175, .18) !important;
}

html body #aws_fastpostform .aws-vt-fast-upload-status.success {
    color: #bbf7d0 !important;
    border-color: rgba(34, 197, 94, .42) !important;
    background: rgba(22, 101, 52, .18) !important;
}

html body #aws_fastpostform .aws-vt-fast-upload-status.warn {
    color: #fde68a !important;
    border-color: rgba(245, 158, 11, .42) !important;
    background: rgba(120, 53, 15, .18) !important;
}

html body #aws_fastpostform .aws-vt-fast-upload-status.error {
    color: #fecaca !important;
    border-color: rgba(239, 68, 68, .42) !important;
    background: rgba(127, 29, 29, .18) !important;
}

/* 官方验证码在底部快速回复中显示 */
html body #aws_fastpostform #aws_vt_seccheck_fastpost {
    display: block !important;
    margin: 12px 0 0 !important;
}

html body #aws_fastpostform #aws_vt_seccheck_fastpost .aws-post-seccheck,
html body #aws_fastpostform #aws_vt_seccheck_fastpost .mtm {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    min-height: 38px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(148, 163, 184, .22) !important;
    background: rgba(15, 23, 42, .35) !important;
    color: #cbd5e1 !important;
}

html body #aws_fastpostform #aws_vt_seccheck_fastpost input[type="text"] {
    width: 132px !important;
    height: 34px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(148, 163, 184, .35) !important;
    background: rgba(2, 6, 23, .65) !important;
    color: #e5e7eb !important;
    padding: 0 10px !important;
}

html body #aws_fastpostform #aws_vt_seccheck_fastpost .aws-seccode-inline,
html body #aws_fastpostform #aws_vt_seccheck_fastpost [id^="seccode_"][id$="_menu"] {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body #aws_fastpostform #aws_vt_seccheck_fastpost img.vm {
    width: 96px !important;
    height: 32px !important;
    border-radius: 7px !important;
    margin: 0 !important;
    opacity: 1 !important;
    filter: none !important;
}


/* =========================================================
   爱玩社帖子详情页底部快速回复 V4
   去掉高级模式，发表回复按钮移到底部
   ========================================================= */

/* 彻底隐藏高级模式入口，避免任何残留 */
html body #aws_viewthread_page .aws-vt-fastpost .aws-reply-advanced,
html body #aws_fastpostform .aws-reply-advanced {
    display: none !important;
}

/* 工具栏只放表情/上传图片/上传附件 */
html body #aws_fastpostform .aws-vt-fast-toolbar {
    justify-content: flex-start !important;
}

html body #aws_fastpostform .aws-vt-fast-toolbar button[type="submit"] {
    display: none !important;
}

/* 底部提交按钮行 */
html body #aws_fastpostform .aws-vt-fast-submitbar {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(148, 163, 184, .16) !important;
}

/* 底部发表回复按钮 */
html body #aws_fastpostform .aws-vt-fast-submitbar button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 150px !important;
    height: 42px !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #2563eb !important;
    background-image: none !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 42px !important;
    cursor: pointer !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .24) !important;
}

html body #aws_fastpostform .aws-vt-fast-submitbar button[type="submit"]:hover {
    background: #1d4ed8 !important;
}

/* 底部选项不再和按钮挤在一起 */
html body #aws_fastpostform .aws-reply-options {
    margin-top: 12px !important;
}


/* =========================================================
   爱玩社 MOD网：发帖页 one_simple 图标修复 V4
   作用范围：#aws_post_page.aws-post-one-simple
   不改发帖功能、不改上传、不改验证码、不改提交逻辑
   ========================================================= */

html body.pg_post {
    background: #f5f7fa !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 14px 28px !important;
    color: #1f2937 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #pt.bm {
    margin: 0 0 12px !important;
    padding: 12px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #pt .z,
html body.pg_post #aws_post_page.aws-post-one-simple #pt .z a,
html body.pg_post #aws_post_page.aws-post-one-simple #pt .z em {
    color: #8a97a6 !important;
    font-size: 13px !important;
    line-height: 22px !important;
    white-space: nowrap !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #pt .z a:hover {
    color: #2E84AD !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #pt .nvhm,
html body.pg_post #aws_post_page.aws-post-one-simple #pt a.nvhm {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    overflow: visible !important;
    text-indent: 0 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    color: #8a97a6 !important;
    vertical-align: baseline !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box {
    max-width: 100% !important;
    margin: 0 auto 22px !important;
    padding: 16px !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: #1f2937 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box ul.tb.cl.mbw {
    display: block !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    height: 40px !important;
    border-bottom: 1px solid #eef1f5 !important;
    background: transparent !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box ul.tb.cl.mbw li {
    display: inline-block !important;
    float: none !important;
    margin: 0 26px 0 0 !important;
    padding: 0 !important;
    height: 40px !important;
    line-height: 40px !important;
    background: transparent !important;
    border: 0 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box ul.tb.cl.mbw li a {
    display: inline-block !important;
    height: 39px !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 39px !important;
    text-decoration: none !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box ul.tb.cl.mbw li.a a {
    border-bottom-color: #2563eb !important;
    color: #111827 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .pbt.cl {
    margin: 0 0 10px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    min-height: 32px !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .pbt.cl .z {
    display: block !important;
    float: none !important;
    white-space: nowrap !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box input#subject.px {
    display: inline-block !important;
    width: 310px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid #edf1f6 !important;
    border-radius: 2px !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: 14px !important;
    line-height: 28px !important;
    vertical-align: middle !important;
    box-shadow: none !important;
    outline: none !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #subjectchk {
    display: inline-block !important;
    margin-left: 8px !important;
    color: #111827 !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    line-height: 28px !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #postbox,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #e_body.edt,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .edt {
    background: #fff !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #e_body.edt,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .edt {
    border: 1px solid #edf1f6 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .area {
    background: #fff !important;
    border: 0 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box textarea#e_textarea.pt,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box iframe#e_iframe {
    min-height: 430px !important;
    background: #fff !important;
    color: #111827 !important;
    border: 0 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #e_bbar.bbar {
    background: #fff !important;
    border-top: 1px solid #edf1f6 !important;
    color: #8a97a6 !important;
    padding: 8px 10px !important;
    text-align: right !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra {
    margin: 12px 0 0 !important;
    padding: 0 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_tb label {
    display: inline-block !important;
    height: 30px !important;
    margin: 0 4px 8px 0 !important;
    padding: 0 14px !important;
    border: 1px solid #edf1f6 !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #667085 !important;
    line-height: 30px !important;
    font-size: 13px !important;
    cursor: pointer !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #seccheck {
    margin: 6px 0 0 !important;
    padding: 0 !important;
    color: #111827 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #seccheck input[type="text"] {
    width: 120px !important;
    height: 28px !important;
    padding: 0 8px !important;
    border: 1px solid #edf1f6 !important;
    border-radius: 2px !important;
    background: #fff !important;
    color: #111827 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .pnpost {
    margin: 6px 0 0 !important;
    padding: 0 0 4px !important;
    background: transparent !important;
    border: 0 !important;
    color: #111827 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .pnpost .y {
    float: right !important;
    color: #111827 !important;
    line-height: 32px !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .pnpost button.pn {
    height: 32px !important;
    min-width: 80px !important;
    margin-right: 4px !important;
    padding: 0 14px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #111827 !important;
    font-weight: 600 !important;
    line-height: 30px !important;
    box-shadow: none !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .pnpost button.pnc {
    border-color: #2563eb !important;
    background: #2563eb !important;
    color: #fff !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .pnpost button.pnc span,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .pnpost button.pnc em {
    color: #fff !important;
}

/* 高级编辑器图标保持 one_simple 效果 */
html body.pg_post #aws_post_page.aws-post-one-simple .edt .bar {
    height: 70px !important;
    padding: 6px !important;
    background: #fff !important;
    border-bottom: 1px solid #edf1f6 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple .edt .b1r,
html body.pg_post #aws_post_page.aws-post-one-simple .edt .b2r {
    height: 70px !important;
    border-left: 1px solid #edf1f6 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple .edt .b1r a {
    color: #111827 !important;
    text-indent: 0 !important;
    background-position: center 8px !important;
    background-size: 28px 28px !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple .edt .b2r a {
    color: transparent !important;
    background-position: center center !important;
    background-size: 20px 20px !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple,
html body.pg_post #aws_post_page.aws-post-one-simple * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}


/* =========================================================
   爱玩社 MOD网：发帖页 one_simple 工具栏文字修复 V5
   作用范围：#aws_post_page.aws-post-one-simple
   修复：高级模式文字不显示、普通模式工具栏底部空白过高
   ========================================================= */

/* 1. 字体、大小两个下拉框不能被透明隐藏 */
html body.pg_post #aws_post_page.aws-post-one-simple .edt .b2r a.dp,
html body.pg_post #aws_post_page.aws-post-one-simple .edt .b2r a.dp span {
    color: #111827 !important;
    text-indent: 0 !important;
    font-size: 12px !important;
    line-height: 20px !important;
    white-space: nowrap !important;
}

/* 2. 普通模式不能套用高级模式 70px 高度，否则下面会空一大块 */
html body.pg_post #aws_post_page.aws-post-one-simple .edt.simpleedt .bar {
    height: 32px !important;
    min-height: 32px !important;
    padding: 3px 6px !important;
    overflow: hidden !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple .edt.simpleedt .btn {
    height: 32px !important;
    min-height: 32px !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple .edt.simpleedt .b1r,
html body.pg_post #aws_post_page.aws-post-one-simple .edt.simpleedt .b2r {
    height: 32px !important;
    min-height: 32px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple .edt.simpleedt .b1r a,
html body.pg_post #aws_post_page.aws-post-one-simple .edt.simpleedt .b2r a {
    width: 20px !important;
    height: 20px !important;
    margin: 3px 2px !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-indent: -9999px !important;
    background-position: center center !important;
    background-size: 20px 20px !important;
}

/* 普通模式下拉框仍显示文字 */
html body.pg_post #aws_post_page.aws-post-one-simple .edt.simpleedt .b2r a.dp {
    width: 68px !important;
    height: 20px !important;
    padding: 0 5px !important;
    text-indent: 0 !important;
    color: #111827 !important;
}

/* 3. 高级模式大图标强制显示中文标签 */
html body.pg_post #aws_post_page.aws-post-one-simple .edt:not(.simpleedt) .b1r a {
    position: relative !important;
    width: 44px !important;
    height: 16px !important;
    margin: 6px 2px !important;
    padding-top: 40px !important;
    overflow: hidden !important;
    text-align: center !important;
    text-indent: 0 !important;
    font-size: 0 !important;
    line-height: 16px !important;
    color: transparent !important;
    background-position: center 8px !important;
    background-size: 28px 28px !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple .edt:not(.simpleedt) .b1r a::after {
    display: block !important;
    width: 100% !important;
    height: 16px !important;
    color: #111827 !important;
    font-size: 11px !important;
    line-height: 16px !important;
    text-align: center !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
}

/* 常用大按钮中文名称 */
html body.pg_post #aws_post_page.aws-post-one-simple .edt:not(.simpleedt) .b1r a[id$="_sml"]::after { content: "表情"; }
html body.pg_post #aws_post_page.aws-post-one-simple .edt:not(.simpleedt) .b1r a[id$="_image"]::after { content: "图片"; }
html body.pg_post #aws_post_page.aws-post-one-simple .edt:not(.simpleedt) .b1r a[id$="_attach"]::after { content: "附件"; }
html body.pg_post #aws_post_page.aws-post-one-simple .edt:not(.simpleedt) .b1r a[id$="_aud"]::after { content: "音乐"; }
html body.pg_post #aws_post_page.aws-post-one-simple .edt:not(.simpleedt) .b1r a[id$="_vid"]::after { content: "视频"; }
html body.pg_post #aws_post_page.aws-post-one-simple .edt:not(.simpleedt) .b1r a[id$="_fls"]::after { content: "Flash"; }
html body.pg_post #aws_post_page.aws-post-one-simple .edt:not(.simpleedt) .b1r a[id$="_at"]::after { content: "@朋友"; }

/* 4. 高级模式第二组小图标保持小按钮，不要撑出文字空白 */
html body.pg_post #aws_post_page.aws-post-one-simple .edt:not(.simpleedt) .b2r a:not(.dp) {
    width: 20px !important;
    height: 20px !important;
    margin: 6px 3px !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-indent: -9999px !important;
    color: transparent !important;
    background-position: center center !important;
    background-size: 20px 20px !important;
}

/* 5. 右侧全屏/常用/纯文本显示正常 */
html body.pg_post #aws_post_page.aws-post-one-simple #e_fullswitcher,
html body.pg_post #aws_post_page.aws-post-one-simple #e_simple,
html body.pg_post #aws_post_page.aws-post-one-simple #e_adv,
html body.pg_post #aws_post_page.aws-post-one-simple #e_switcher {
    color: #111827 !important;
    text-indent: 0 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
}


/* =========================================================
   爱玩社 MOD网：发帖页附加选项卡片美化 V6
   作用范围：#aws_post_page.aws-post-one-simple
   修复：页面太白、附加选项区域不清楚、文字看不清
   ========================================================= */

/* 页面背景稍微灰一点，白色编辑区更有层次 */
html body.pg_post {
    background: #eef3f8 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box {
    background: #ffffff !important;
    border: 1px solid #e7edf5 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
}

/* 编辑器边框加深一点，不再一片白 */
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #e_body.edt,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .edt {
    border-color: #dfe7f0 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #e_controls.bar,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #e_button.btn.cl,
html body.pg_post #aws_post_page.aws-post-one-simple .edt .bar,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #e_bbar.bbar {
    border-color: #dfe7f0 !important;
}

/* 附加选项外层做成浅灰卡片 */
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra {
    margin: 14px 0 10px !important;
    padding: 0 !important;
    border: 1px solid #dfe7f0 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    overflow: hidden !important;
}

/* 顶部几个按钮：附加选项 / 阅读权限 / 回帖奖励... */
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_tb {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 10px 12px 8px !important;
    border-bottom: 1px solid #dfe7f0 !important;
    background: #f3f6fa !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_tb label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    min-width: 92px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid #d8e1eb !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #344054 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 30px !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_tb label:hover {
    border-color: #9db7d1 !important;
    color: #1d4ed8 !important;
    background: #f9fbff !important;
}

/* 小圆点 */
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_tb label::before {
    content: "" !important;
    display: inline-block !important;
    width: 5px !important;
    height: 5px !important;
    margin-right: 8px !important;
    border-radius: 50% !important;
    background: #b8c4d2 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_tb label.a,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_tb label:hover {
    border-color: #bfdbfe !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_tb label.a::before,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_tb label:hover::before {
    background: #2563eb !important;
}

/* 附加选项内容区域 */
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_c {
    margin: 0 !important;
    padding: 12px 14px !important;
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* Discuz 默认 exfm 表格区域 */
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_c .exfm,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .exfm {
    margin: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #e5ebf3 !important;
    border-radius: 8px !important;
    background: #fbfdff !important;
    color: #1f2937 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_c table,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .exfm table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_c th,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_c td,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .exfm th,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .exfm td {
    padding: 3px 8px !important;
    border: 0 !important;
    color: #1f2937 !important;
    font-size: 13px !important;
    line-height: 24px !important;
    background: transparent !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_c th,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .exfm th {
    width: 80px !important;
    color: #111827 !important;
    font-weight: 700 !important;
    text-align: left !important;
    white-space: nowrap !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_c label,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .exfm label {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 22px 0 0 !important;
    color: #1f2937 !important;
    font-size: 13px !important;
    line-height: 24px !important;
    white-space: nowrap !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_c input.pc,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #post_extra_c input[type="checkbox"],
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .exfm input.pc,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .exfm input[type="checkbox"] {
    width: 14px !important;
    height: 14px !important;
    margin: 0 6px 0 0 !important;
    vertical-align: middle !important;
    accent-color: #2563eb !important;
}

/* 验证码区域也做清楚 */
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #seccheck {
    margin: 12px 0 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #e5ebf3 !important;
    border-radius: 8px !important;
    background: #fbfdff !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #seccheck,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #seccheck * {
    color: #1f2937 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #seccheck input[type="text"],
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box #seccheck .px {
    border-color: #d8e1eb !important;
    background: #ffffff !important;
    color: #111827 !important;
}

/* 底部发布行做成独立区域 */
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .pnpost {
    margin-top: 12px !important;
    padding: 12px 0 0 !important;
    border-top: 1px solid #e5ebf3 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .pnpost button.pnc {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .pnpost button.pn:not(.pnc) {
    background: #f8fafc !important;
    border-color: #d8e1eb !important;
    color: #1f2937 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box .pnpost a.y {
    color: #334155 !important;
    font-weight: 500 !important;
}

/* 让普通文字更清楚 */
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box td,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box th,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box label,
html body.pg_post #aws_post_page.aws-post-one-simple #ct.post-box span {
    color: #1f2937 !important;
}


/* =========================================================
   爱玩社 MOD网：发帖页附加选项内容和验证码美化 V7
   作用范围：#aws_post_page.aws-post-one-simple
   修复：阅读权限/回帖奖励/抢楼主题/主题售价/主题标签内容区未美化、验证码排版
   ========================================================= */

/* 附加选项总区域再统一成卡片 */
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra {
    margin: 14px 0 12px !important;
    padding: 10px 12px 12px !important;
    border: 1px solid #dbe5ef !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8) !important;
}

/* 顶部 tab 按钮 */
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_tb {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_tb label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 96px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid #d5e0ec !important;
    border-radius: 7px !important;
    background: linear-gradient(#ffffff, #f6f9fc) !important;
    color: #344054 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 30px !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.04) !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_tb label:hover,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_tb label.a {
    border-color: #93c5fd !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_tb label::before {
    content: "" !important;
    display: inline-block !important;
    width: 5px !important;
    height: 5px !important;
    margin-right: 8px !important;
    border-radius: 50% !important;
    background: #b8c4d2 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_tb label:hover::before,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_tb label.a::before {
    background: #f97316 !important;
}

/* 所有 tab 内容面板统一美化：不同 DZ 版本 id/class 不一样，所以这里覆盖常见结构 */
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c > div,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c .exfm,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c .xg1,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra .exfm,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"],
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="post_extra_"] {
    border-color: #dbe5ef !important;
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* 当前打开的内容区域 */
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c > div,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra .exfm,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] {
    margin: 0 !important;
    padding: 12px 16px !important;
    border: 1px solid #dbe5ef !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.03) !important;
}

/* 回帖奖励这种纯文本+输入框排版 */
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c p,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c .pbn,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c .mbm,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c .mbn,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c .xg1,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] p,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] .pbn,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] .mbm,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] .mbn,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] .xg1 {
    margin: 0 !important;
    padding: 2px 0 !important;
    color: #1f2937 !important;
    font-size: 13px !important;
    line-height: 28px !important;
}

/* 面板里所有文字加深 */
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c *,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra .exfm *,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] * {
    color: #1f2937 !important;
}

/* 输入框、下拉框统一小白框 */
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c input[type="text"],
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c input.px,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c select,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra .exfm input[type="text"],
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra .exfm input.px,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra .exfm select,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] input[type="text"],
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] input.px,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] select {
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 6px !important;
    border: 1px solid #cfd9e6 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #111827 !important;
    line-height: 24px !important;
    box-shadow: inset 0 1px 1px rgba(15,23,42,.03) !important;
}

/* 内容面板里的链接 */
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c a,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra .exfm a,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] a {
    color: #2563eb !important;
    font-weight: 500 !important;
}

/* 基本属性、文本特性、管理操作三行 */
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c table,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra .exfm table,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c th,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra .exfm th,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] th {
    width: 82px !important;
    padding: 2px 8px !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-align: left !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c td,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra .exfm td,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] td {
    padding: 2px 8px !important;
    color: #1f2937 !important;
    font-size: 13px !important;
}

/* checkbox 行更整齐 */
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c label,
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra .exfm label,
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] label {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 22px 0 0 !important;
    color: #1f2937 !important;
    font-size: 13px !important;
    line-height: 24px !important;
    white-space: nowrap !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #post_extra_c input[type="checkbox"],
html body.pg_post #aws_post_page.aws-post-one-simple #post_extra .exfm input[type="checkbox"],
html body.pg_post #aws_post_page.aws-post-one-simple div[id^="extra_"] input[type="checkbox"] {
    width: 14px !important;
    height: 14px !important;
    margin: 0 6px 0 0 !important;
    accent-color: #2563eb !important;
}

/* 验证码区域重新排版 */
html body.pg_post #aws_post_page.aws-post-one-simple #seccheck {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
    margin: 12px 0 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #dbe5ef !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.03) !important;
    color: #1f2937 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #seccheck .mtm,
html body.pg_post #aws_post_page.aws-post-one-simple #seccheck .pns,
html body.pg_post #aws_post_page.aws-post-one-simple #seccheck .cl {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #seccheck label,
html body.pg_post #aws_post_page.aws-post-one-simple #seccheck span,
html body.pg_post #aws_post_page.aws-post-one-simple #seccheck em,
html body.pg_post #aws_post_page.aws-post-one-simple #seccheck a {
    color: #1f2937 !important;
    font-size: 13px !important;
    line-height: 28px !important;
    white-space: nowrap !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #seccheck a {
    color: #2563eb !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #seccheck input[type="text"],
html body.pg_post #aws_post_page.aws-post-one-simple #seccheck input.px {
    width: 120px !important;
    height: 28px !important;
    padding: 0 8px !important;
    border: 1px solid #cfd9e6 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #111827 !important;
    line-height: 28px !important;
}

html body.pg_post #aws_post_page.aws-post-one-simple #seccheck img,
html body.pg_post #aws_post_page.aws-post-one-simple #seccheck .vm {
    max-height: 32px !important;
    vertical-align: middle !important;
}

/* 验证码图片独占下一行时也好看 */
html body.pg_post #aws_post_page.aws-post-one-simple #seccheck img[src*="seccode"],
html body.pg_post #aws_post_page.aws-post-one-simple #seccheck img[id*="seccode"] {
    display: inline-block !important;
    height: 32px !important;
    min-width: 96px !important;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    border: 1px solid #dbe5ef !important;
    border-radius: 5px !important;
    background: #eef6f1 !important;
}

/* 底部按钮与验证码拉开距离 */
html body.pg_post #aws_post_page.aws-post-one-simple .pnpost {
    margin-top: 12px !important;
}


/* =========================================================
   爱玩社帖子详情页楼层操作栏 V1
   作用范围：#aws_viewthread_page
   补回每个楼层的 回复 / 引用 / 点评 / 编辑 / 举报
   ========================================================= */

#aws_viewthread_page .aws-vt-post-actions,
#aws_viewthread_page .aws-vt-reply-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.13) !important;
}

#aws_viewthread_page .aws-vt-reply-actions {
    opacity: .72 !important;
    transition: opacity .16s ease, transform .16s ease !important;
}

#aws_viewthread_page .aws-vt-reply-item:hover .aws-vt-reply-actions {
    opacity: 1 !important;
}

#aws_viewthread_page .aws-vt-post-actions a,
#aws_viewthread_page .aws-vt-reply-actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 46px !important;
    height: 26px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(96, 165, 250, 0.22) !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.34) !important;
    color: #b7d8ff !important;
    font-size: 12px !important;
    line-height: 26px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

#aws_viewthread_page .aws-vt-post-actions a:hover,
#aws_viewthread_page .aws-vt-reply-actions a:hover {
    border-color: rgba(96, 165, 250, 0.55) !important;
    background: rgba(37, 99, 235, 0.20) !important;
    color: #ffffff !important;
}

#aws_viewthread_page .aws-vt-post-actions a.report,
#aws_viewthread_page .aws-vt-reply-actions a.report {
    border-color: rgba(248, 113, 113, 0.25) !important;
    color: #fecaca !important;
}

#aws_viewthread_page .aws-vt-post-actions a.report:hover,
#aws_viewthread_page .aws-vt-reply-actions a.report:hover {
    border-color: rgba(248, 113, 113, 0.55) !important;
    background: rgba(127, 29, 29, 0.22) !important;
    color: #ffffff !important;
}

/* 让回复楼层的内容和操作按钮更有间距 */
#aws_viewthread_page .aws-vt-reply-content {
    margin-bottom: 2px !important;
}

@media (max-width: 760px) {
    #aws_viewthread_page .aws-vt-post-actions,
    #aws_viewthread_page .aws-vt-reply-actions {
        justify-content: flex-start !important;
        gap: 6px !important;
    }

    #aws_viewthread_page .aws-vt-post-actions a,
    #aws_viewthread_page .aws-vt-reply-actions a {
        min-width: 42px !important;
        height: 25px !important;
        padding: 0 9px !important;
        font-size: 12px !important;
    }
}


/* =========================================================
   爱玩社帖子详情页管理员操作 V2
   作用范围：#aws_viewthread_page
   管理员/版主显示 编辑、删除；普通用户只看自己权限内按钮
   ========================================================= */

#aws_viewthread_page .aws-vt-post-actions a.edit,
#aws_viewthread_page .aws-vt-reply-actions a.edit {
    border-color: rgba(34, 197, 94, 0.28) !important;
    color: #bbf7d0 !important;
}

#aws_viewthread_page .aws-vt-post-actions a.edit:hover,
#aws_viewthread_page .aws-vt-reply-actions a.edit:hover {
    border-color: rgba(34, 197, 94, 0.58) !important;
    background: rgba(22, 101, 52, 0.22) !important;
    color: #ffffff !important;
}

#aws_viewthread_page .aws-vt-post-actions a.delete,
#aws_viewthread_page .aws-vt-reply-actions a.delete {
    border-color: rgba(248, 113, 113, 0.30) !important;
    color: #fecaca !important;
}

#aws_viewthread_page .aws-vt-post-actions a.delete:hover,
#aws_viewthread_page .aws-vt-reply-actions a.delete:hover {
    border-color: rgba(248, 113, 113, 0.65) !important;
    background: rgba(127, 29, 29, 0.25) !important;
    color: #ffffff !important;
}


/* =========================================================
   爱玩社帖子详情页功能补回 V3
   作用范围：#aws_viewthread_page
   补回：只看作者、评分、返回列表、上一主题、下一主题、顶部管理菜单
   ========================================================= */

/* 顶部按钮区域允许换行，避免管理按钮挤爆 */
#aws_viewthread_page .aws-vt-head-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

/* 顶部移动/置顶/精华/高亮管理菜单 */
#aws_viewthread_page .aws-vt-admin-menu {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-left: 4px !important;
    padding-left: 8px !important;
    border-left: 1px solid rgba(148, 163, 184, 0.22) !important;
}

#aws_viewthread_page .aws-vt-admin-menu a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 28px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(251, 146, 60, 0.28) !important;
    border-radius: 999px !important;
    background: rgba(251, 146, 60, 0.08) !important;
    color: #fed7aa !important;
    font-size: 12px !important;
    line-height: 28px !important;
    text-decoration: none !important;
}

#aws_viewthread_page .aws-vt-admin-menu a:hover {
    border-color: rgba(251, 146, 60, 0.56) !important;
    background: rgba(251, 146, 60, 0.18) !important;
    color: #ffffff !important;
}

/* 楼层操作新增按钮 */
#aws_viewthread_page .aws-vt-post-actions a.onlyauthor,
#aws_viewthread_page .aws-vt-reply-actions a.onlyauthor {
    border-color: rgba(34, 197, 94, 0.24) !important;
    color: #bbf7d0 !important;
}

#aws_viewthread_page .aws-vt-post-actions a.onlyauthor:hover,
#aws_viewthread_page .aws-vt-reply-actions a.onlyauthor:hover {
    border-color: rgba(34, 197, 94, 0.55) !important;
    background: rgba(22, 101, 52, 0.25) !important;
    color: #ffffff !important;
}

#aws_viewthread_page .aws-vt-post-actions a.rate,
#aws_viewthread_page .aws-vt-reply-actions a.rate {
    border-color: rgba(250, 204, 21, 0.28) !important;
    color: #fef08a !important;
}

#aws_viewthread_page .aws-vt-post-actions a.rate:hover,
#aws_viewthread_page .aws-vt-reply-actions a.rate:hover {
    border-color: rgba(250, 204, 21, 0.55) !important;
    background: rgba(113, 63, 18, 0.25) !important;
    color: #ffffff !important;
}

/* 底部返回列表 / 上一主题 / 下一主题 */
#aws_viewthread_page .aws-vt-thread-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 16px 0 !important;
    padding: 14px !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    border-radius: 16px !important;
    background: rgba(15, 23, 42, 0.32) !important;
}

#aws_viewthread_page .aws-vt-thread-nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 92px !important;
    height: 32px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(96, 165, 250, 0.22) !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.38) !important;
    color: #b7d8ff !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

#aws_viewthread_page .aws-vt-thread-nav a:hover {
    border-color: rgba(96, 165, 250, 0.55) !important;
    background: rgba(37, 99, 235, 0.22) !important;
    color: #ffffff !important;
}

@media (max-width: 760px) {
    #aws_viewthread_page .aws-vt-head-actions {
        justify-content: flex-start !important;
    }

    #aws_viewthread_page .aws-vt-admin-menu {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        border-left: 0 !important;
    }

    #aws_viewthread_page .aws-vt-thread-nav {
        justify-content: flex-start !important;
    }
}


/* =========================================================
   爱玩社帖子详情页楼中楼 V4
   作用范围：#aws_viewthread_page
   显示 Discuz 原生点评 comment，过长自动收起
   ========================================================= */

#aws_viewthread_page .aws-vt-lzl {
    position: relative !important;
    margin: 14px 0 4px !important;
    padding: 12px 12px 10px !important;
    border: 1px solid rgba(96, 165, 250, 0.14) !important;
    border-radius: 14px !important;
    background: rgba(15, 23, 42, 0.30) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

#aws_viewthread_page .aws-vt-lzl-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 8px !important;
    color: #dbeafe !important;
}

#aws_viewthread_page .aws-vt-lzl-head strong {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #dbeafe !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

#aws_viewthread_page .aws-vt-lzl-head strong::before {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #60a5fa !important;
    box-shadow: 0 0 10px rgba(96,165,250,.45) !important;
}

#aws_viewthread_page .aws-vt-lzl-head span {
    color: #8fb6df !important;
    font-size: 12px !important;
}

#aws_viewthread_page .aws-vt-lzl-list {
    position: relative !important;
    overflow: hidden !important;
    transition: max-height .18s ease !important;
}

#aws_viewthread_page .aws-vt-lzl.is-collapsed .aws-vt-lzl-list {
    max-height: 156px !important;
}

#aws_viewthread_page .aws-vt-lzl.is-collapsed .aws-vt-lzl-list::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 42px !important;
    pointer-events: none !important;
    background: linear-gradient(to bottom, rgba(15,23,42,0), rgba(15,23,42,0.92)) !important;
}

#aws_viewthread_page .aws-vt-lzl-item {
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    gap: 9px !important;
    padding: 8px 0 !important;
    border-top: 1px solid rgba(148, 163, 184, 0.10) !important;
}

#aws_viewthread_page .aws-vt-lzl-item:first-child {
    border-top: 0 !important;
    padding-top: 2px !important;
}

#aws_viewthread_page .aws-vt-lzl-avatar,
#aws_viewthread_page .aws-vt-lzl-avatar a {
    width: 28px !important;
    height: 28px !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 9px !important;
}

#aws_viewthread_page .aws-vt-lzl-avatar img {
    width: 28px !important;
    height: 28px !important;
    object-fit: cover !important;
    border-radius: 9px !important;
}

#aws_viewthread_page .aws-vt-lzl-main {
    min-width: 0 !important;
}

#aws_viewthread_page .aws-vt-lzl-meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 2px !important;
}

#aws_viewthread_page .aws-vt-lzl-author {
    color: #bfdbfe !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

#aws_viewthread_page .aws-vt-lzl-meta em {
    color: #7893ad !important;
    font-size: 12px !important;
    font-style: normal !important;
}

#aws_viewthread_page .aws-vt-lzl-text {
    color: #d8e7ff !important;
    font-size: 13px !important;
    line-height: 1.72 !important;
    word-break: break-word !important;
}

#aws_viewthread_page .aws-vt-lzl-text * {
    max-width: 100% !important;
}

#aws_viewthread_page .aws-vt-lzl-text a {
    color: #93c5fd !important;
    text-decoration: none !important;
}

#aws_viewthread_page .aws-vt-lzl-text a:hover {
    color: #ffffff !important;
}

#aws_viewthread_page .aws-vt-lzl-detail,
#aws_viewthread_page .aws-vt-lzl-reply,
#aws_viewthread_page .aws-vt-lzl-delete {
    display: inline-flex !important;
    margin-left: 8px !important;
    color: #8fb6df !important;
    font-size: 12px !important;
}

#aws_viewthread_page .aws-vt-lzl-delete {
    color: #fca5a5 !important;
}

#aws_viewthread_page .aws-vt-lzl-summary,
#aws_viewthread_page .aws-vt-lzl-morepage {
    margin: 4px 0 8px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    background: rgba(30, 41, 59, 0.45) !important;
    color: #9fb7cf !important;
    font-size: 12px !important;
}

#aws_viewthread_page .aws-vt-lzl-morepage a {
    color: #93c5fd !important;
}

#aws_viewthread_page .aws-vt-lzl-toggle {
    display: none;
    align-items: center !important;
    justify-content: center !important;
    height: 26px !important;
    margin-top: 8px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(96, 165, 250, 0.24) !important;
    border-radius: 999px !important;
    background: rgba(37, 99, 235, 0.14) !important;
    color: #bfdbfe !important;
    font-size: 12px !important;
    cursor: pointer !important;
}

#aws_viewthread_page .aws-vt-lzl-toggle:hover {
    border-color: rgba(96, 165, 250, 0.55) !important;
    background: rgba(37, 99, 235, 0.24) !important;
    color: #ffffff !important;
}

#aws_viewthread_page .aws-vt-lzl-short {
    padding-bottom: 10px !important;
}

/* 楼中楼按钮和原操作栏风格一致 */
#aws_viewthread_page .aws-vt-post-actions a,
#aws_viewthread_page .aws-vt-reply-actions a {
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    #aws_viewthread_page .aws-vt-lzl {
        padding: 10px !important;
        border-radius: 12px !important;
    }

    #aws_viewthread_page .aws-vt-lzl-item {
        grid-template-columns: 26px minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    #aws_viewthread_page .aws-vt-lzl-avatar,
    #aws_viewthread_page .aws-vt-lzl-avatar a,
    #aws_viewthread_page .aws-vt-lzl-avatar img {
        width: 26px !important;
        height: 26px !important;
    }

    #aws_viewthread_page .aws-vt-lzl.is-collapsed .aws-vt-lzl-list {
        max-height: 150px !important;
    }
}


/* =========================================================
   爱玩社帖子详情页楼中楼点击修复 V5
   修复：楼中楼按钮改用 Discuz 原生 action=comment
   ========================================================= */

#aws_viewthread_page .aws-vt-post-actions a.aws-vt-lzl-open,
#aws_viewthread_page .aws-vt-reply-actions a.aws-vt-lzl-open {
    border-color: rgba(96, 165, 250, 0.30) !important;
    color: #c7e1ff !important;
}
#aws_viewthread_page .aws-vt-post-actions a.aws-vt-lzl-open:hover,
#aws_viewthread_page .aws-vt-reply-actions a.aws-vt-lzl-open:hover {
    border-color: rgba(96, 165, 250, 0.65) !important;
    background: rgba(37, 99, 235, 0.24) !important;
    color: #fff !important;
}


/* =========================================================
   爱玩社帖子详情页楼中楼内部回复修复 V6
   修复：楼中楼里的“回复”不再打开参与/回复主题大弹窗
   ========================================================= */

#aws_viewthread_page .aws-vt-lzl-reply {
    color: #bfdbfe !important;
    border: 1px solid rgba(96, 165, 250, 0.22) !important;
    border-radius: 999px !important;
    padding: 1px 8px !important;
    background: rgba(37, 99, 235, 0.12) !important;
}

#aws_viewthread_page .aws-vt-lzl-reply:hover {
    color: #ffffff !important;
    border-color: rgba(96, 165, 250, 0.55) !important;
    background: rgba(37, 99, 235, 0.24) !important;
}


/* =========================================================
   爱玩社帖子详情页楼层回复改楼中楼 V7
   说明：每个楼层里的“回复”改为楼中楼回复；“引用”保留主题引用回复
   ========================================================= */

#aws_viewthread_page .aws-vt-post-actions a.aws-vt-lzl-reply-main,
#aws_viewthread_page .aws-vt-reply-actions a.aws-vt-lzl-reply-main {
    border-color: rgba(34, 197, 94, 0.30) !important;
    color: #bbf7d0 !important;
    background: rgba(22, 101, 52, 0.16) !important;
}

#aws_viewthread_page .aws-vt-post-actions a.aws-vt-lzl-reply-main:hover,
#aws_viewthread_page .aws-vt-reply-actions a.aws-vt-lzl-reply-main:hover {
    border-color: rgba(34, 197, 94, 0.62) !important;
    background: rgba(22, 101, 52, 0.28) !important;
    color: #ffffff !important;
}


/* =========================================================
   爱玩社帖子详情页楼中楼评论回复捕获修复 V8
   修复：楼中楼内 ajax 返回的“回复”被强制拦截为楼中楼点评窗口
   ========================================================= */

#aws_viewthread_page .aws-vt-lzl a[href*="action=reply"] {
    color: #bfdbfe !important;
    border: 1px solid rgba(96, 165, 250, 0.22) !important;
    border-radius: 999px !important;
    padding: 1px 8px !important;
    background: rgba(37, 99, 235, 0.12) !important;
}

#aws_viewthread_page .aws-vt-lzl a[href*="action=reply"]:hover {
    color: #ffffff !important;
    border-color: rgba(96, 165, 250, 0.55) !important;
    background: rgba(37, 99, 235, 0.24) !important;
}

/* 原生楼中楼点评弹窗稍微收窄，不再像主题回复窗口那么笨重 */
#fwin_comment .fwin,
#fwin_comment.fwinmask .fwin {
    max-width: 520px !important;
}
#fwin_comment .m_c,
#fwin_comment .c {
    max-width: 520px !important;
}


/* =========================================================
   爱玩社帖子详情页去掉左侧重复作者信息 V13
   作用范围：#aws_viewthread_page
   保留右侧作者信息卡，左侧正文区不再重复显示头像/作者资料
   ========================================================= */

#aws_viewthread_page .aws-vt-meta-clean {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin-top: 10px !important;
    color: #9fb7cf !important;
}

#aws_viewthread_page .aws-vt-meta-clean span {
    display: inline-flex !important;
    align-items: center !important;
    color: #9fb7cf !important;
    font-size: 13px !important;
    line-height: 22px !important;
}

#aws_viewthread_page .aws-vt-meta-clean .aws-vt-stat::before {
    content: "👁" !important;
    margin-right: 6px !important;
    opacity: .75 !important;
}

#aws_viewthread_page .aws-vt-mainpost-label {
    display: inline-flex !important;
    align-items: center !important;
    height: 28px !important;
    margin: 0 0 14px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(96, 165, 250, 0.22) !important;
    border-radius: 999px !important;
    background: rgba(37, 99, 235, 0.12) !important;
    color: #bfdbfe !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

#aws_viewthread_page .aws-vt-content-card > .aws-vt-postbar {
    display: none !important;
}

/* 主楼正文去掉左侧作者区后，内容更靠上更干净 */
#aws_viewthread_page .aws-vt-content-card > .aws-vt-message:first-of-type {
    margin-top: 0 !important;
}


/* =========================================================
   爱玩社帖子详情页资源详情美化 V14
   作用范围：#aws_viewthread_page
   只做外观美化，不改引用、发帖页、弹窗回复、上传逻辑
   ========================================================= */

/* 整体页面更像资源详情页 */
#aws_viewthread_page {
    --aws-bg-0: #07111f;
    --aws-bg-1: #0b1728;
    --aws-bg-2: #0f1e33;
    --aws-bg-3: #13243a;
    --aws-line: rgba(148, 163, 184, 0.16);
    --aws-line-strong: rgba(96, 165, 250, 0.24);
    --aws-text: #e8f2ff;
    --aws-muted: #9fb4cb;
    --aws-soft: #7e93aa;
    --aws-blue: #2f80ff;
    --aws-orange: #ff7a2f;
    color: var(--aws-text) !important;
}

/* 页面宽度和左右布局 */
#aws_viewthread_page .aws-vt-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 380px !important;
    gap: 18px !important;
    align-items: start !important;
}

#aws_viewthread_page .aws-vt-main {
    min-width: 0 !important;
}

#aws_viewthread_page .aws-vt-side {
    position: sticky !important;
    top: 14px !important;
}

/* 面包屑弱化，不抢标题 */
#aws_viewthread_page .aws-vt-crumb {
    margin: 0 0 12px !important;
    color: #758ba4 !important;
    font-size: 13px !important;
}

#aws_viewthread_page .aws-vt-crumb a,
#aws_viewthread_page .aws-vt-crumb em,
#aws_viewthread_page .aws-vt-crumb span {
    color: #758ba4 !important;
}

/* 顶部资源头图区 */
#aws_viewthread_page .aws-vt-hero-card {
    position: relative !important;
    overflow: hidden !important;
    padding: 22px 24px 20px !important;
    border: 1px solid rgba(96, 165, 250, 0.18) !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(47, 128, 255, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(15, 30, 51, 0.96), rgba(8, 18, 32, 0.98)) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255,255,255,.035) !important;
}

#aws_viewthread_page .aws-vt-hero-card::after {
    content: "" !important;
    position: absolute !important;
    right: -80px !important;
    top: -80px !important;
    width: 220px !important;
    height: 220px !important;
    border-radius: 50% !important;
    background: rgba(47, 128, 255, 0.10) !important;
    pointer-events: none !important;
}

/* 顶部按钮统一 */
#aws_viewthread_page .aws-vt-head-actions {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
}

#aws_viewthread_page .aws-vt-small-btn,
#aws_viewthread_page .aws-vt-return,
#aws_viewthread_page .aws-vt-admin-menu a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 9px !important;
    background: rgba(15, 30, 51, 0.76) !important;
    color: #dbeafe !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
}

#aws_viewthread_page .aws-vt-small-btn {
    background: linear-gradient(135deg, #2563eb, #1685ff) !important;
    border-color: rgba(96, 165, 250, 0.46) !important;
    color: #ffffff !important;
}

#aws_viewthread_page .aws-vt-return:hover,
#aws_viewthread_page .aws-vt-admin-menu a:hover {
    border-color: rgba(96, 165, 250, 0.45) !important;
    background: rgba(37, 99, 235, 0.18) !important;
    color: #ffffff !important;
}

#aws_viewthread_page .aws-vt-admin-menu {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-left: auto !important;
}

#aws_viewthread_page .aws-vt-admin-menu a {
    height: 30px !important;
    padding: 0 12px !important;
    border-color: rgba(255, 122, 47, 0.32) !important;
    color: #ffd0b4 !important;
}

/* 标题 */
#aws_viewthread_page .aws-vt-title {
    position: relative !important;
    z-index: 1 !important;
    margin: 0 0 12px !important;
    color: #f8fbff !important;
    font-size: 30px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    letter-spacing: -0.4px !important;
    text-shadow: 0 8px 26px rgba(0,0,0,.28) !important;
}

#aws_viewthread_page .aws-vt-title span,
#aws_viewthread_page .aws-vt-title em {
    display: inline-flex !important;
    align-items: center !important;
    height: 24px !important;
    margin-right: 8px !important;
    padding: 0 9px !important;
    border-radius: 7px !important;
    background: rgba(47, 128, 255, 0.18) !important;
    color: #a8d3ff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    vertical-align: middle !important;
}

/* 标题下面仅保留发布时间、浏览回复 */
#aws_viewthread_page .aws-vt-meta-clean {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin: 0 0 14px !important;
}

#aws_viewthread_page .aws-vt-meta-clean span {
    color: #9fb7cf !important;
    font-size: 13px !important;
}

/* 标签更像资源属性 */
#aws_viewthread_page .aws-vt-tags {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 4px !important;
}

#aws_viewthread_page .aws-vt-tags span {
    display: inline-flex !important;
    align-items: center !important;
    height: 30px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(96, 165, 250, 0.18) !important;
    border-radius: 8px !important;
    background: rgba(15, 30, 51, 0.72) !important;
    color: #b9d8ff !important;
    font-size: 13px !important;
}

/* 主楼正文卡片：不再像普通帖子 */
#aws_viewthread_page .aws-vt-content-card {
    margin-top: 16px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(96, 165, 250, 0.15) !important;
    border-radius: 18px !important;
    background:
        linear-gradient(180deg, rgba(15, 30, 51, 0.94), rgba(10, 21, 36, 0.96)) !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,.032) !important;
}

#aws_viewthread_page .aws-vt-mainpost-label {
    display: flex !important;
    align-items: center !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
    border-radius: 0 !important;
    background: rgba(8, 18, 32, 0.35) !important;
    color: #dbeafe !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

#aws_viewthread_page .aws-vt-mainpost-label::before {
    content: "" !important;
    display: inline-block !important;
    width: 4px !important;
    height: 18px !important;
    margin-right: 10px !important;
    border-radius: 99px !important;
    background: #2f80ff !important;
    box-shadow: 0 0 18px rgba(47,128,255,.55) !important;
}

/* 主楼正文内容区域 */
#aws_viewthread_page .aws-vt-message {
    padding: 24px 26px 20px !important;
    color: #e8f2ff !important;
    font-size: 15px !important;
    line-height: 1.92 !important;
    word-break: break-word !important;
}

#aws_viewthread_page .aws-vt-message p {
    margin: 0 0 12px !important;
}

#aws_viewthread_page .aws-vt-message a {
    color: #93c5fd !important;
    text-decoration: none !important;
}

#aws_viewthread_page .aws-vt-message a:hover {
    color: #ffffff !important;
}

/* 正文里的图片更像资源展示 */
#aws_viewthread_page .aws-vt-message img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.22) !important;
}

#aws_viewthread_page .aws-vt-message .attach_nopermission,
#aws_viewthread_page .aws-vt-message .locked {
    border-radius: 12px !important;
    background: rgba(255, 122, 47, 0.10) !important;
    border: 1px solid rgba(255, 122, 47, 0.26) !important;
    color: #ffd6bd !important;
}

/* 主楼底部操作按钮 */
#aws_viewthread_page .aws-vt-post-actions,
#aws_viewthread_page .aws-vt-reply-actions {
    display: flex !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin: 0 !important;
    padding: 14px 22px 20px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.12) !important;
    background: rgba(8, 18, 32, 0.28) !important;
}

#aws_viewthread_page .aws-vt-post-actions a,
#aws_viewthread_page .aws-vt-reply-actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 58px !important;
    height: 30px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(96, 165, 250, 0.20) !important;
    background: rgba(15, 30, 51, 0.72) !important;
    color: #bddbff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

#aws_viewthread_page .aws-vt-post-actions a:hover,
#aws_viewthread_page .aws-vt-reply-actions a:hover {
    background: rgba(37, 99, 235, 0.22) !important;
    border-color: rgba(96, 165, 250, 0.55) !important;
    color: #ffffff !important;
}

/* 回复列表标题 */
#aws_viewthread_page .aws-vt-reply-title,
#aws_viewthread_page .aws-vt-replies-title {
    margin: 18px 0 12px !important;
    color: #f8fbff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

/* 每楼评论更像评论卡片 */
#aws_viewthread_page .aws-vt-reply-item {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: 14px !important;
    margin: 12px 0 !important;
    padding: 18px 20px !important;
    border: 1px solid rgba(96, 165, 250, 0.12) !important;
    border-radius: 16px !important;
    background: rgba(15, 30, 51, 0.68) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}

#aws_viewthread_page .aws-vt-reply-avatar,
#aws_viewthread_page .aws-vt-reply-avatar a,
#aws_viewthread_page .aws-vt-reply-avatar img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
}

#aws_viewthread_page .aws-vt-reply-avatar img {
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
}

#aws_viewthread_page .aws-vt-reply-main {
    min-width: 0 !important;
}

#aws_viewthread_page .aws-vt-reply-head {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
}

#aws_viewthread_page .aws-vt-reply-head strong,
#aws_viewthread_page .aws-vt-reply-head a {
    color: #f1f7ff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

#aws_viewthread_page .aws-vt-reply-head span,
#aws_viewthread_page .aws-vt-reply-head em {
    color: #88a0ba !important;
    font-size: 12px !important;
    font-style: normal !important;
}

#aws_viewthread_page .aws-vt-reply-floor,
#aws_viewthread_page .aws-vt-floor-no {
    margin-left: auto !important;
    color: #8ebcff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

#aws_viewthread_page .aws-vt-reply-content {
    color: #dfeeff !important;
    font-size: 14px !important;
    line-height: 1.88 !important;
}

/* 引用块清楚一点 */
#aws_viewthread_page .aws-vt-reply-content blockquote,
#aws_viewthread_page .aws-vt-message blockquote,
#aws_viewthread_page .quote {
    margin: 10px 0 12px !important;
    padding: 10px 12px !important;
    border-left: 3px solid rgba(96,165,250,.60) !important;
    border-radius: 10px !important;
    background: rgba(8, 18, 32, 0.42) !important;
    color: #aecaeb !important;
}

/* 右侧卡片统一精致 */
#aws_viewthread_page .aws-vt-side-card {
    margin-bottom: 16px !important;
    padding: 20px !important;
    border: 1px solid rgba(96, 165, 250, 0.16) !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(47, 128, 255, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(15, 30, 51, 0.92), rgba(9, 20, 34, 0.96)) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,.028) !important;
}

#aws_viewthread_page .aws-vt-side-card h3 {
    display: flex !important;
    align-items: center !important;
    margin: 0 0 16px !important;
    color: #f4f9ff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

#aws_viewthread_page .aws-vt-side-card h3::before {
    content: "" !important;
    display: inline-block !important;
    width: 4px !important;
    height: 18px !important;
    margin-right: 10px !important;
    border-radius: 999px !important;
    background: #2f80ff !important;
    box-shadow: 0 0 16px rgba(47,128,255,.50) !important;
}

#aws_viewthread_page .aws-vt-author-card {
    text-align: center !important;
}

#aws_viewthread_page .aws-vt-big-avatar img,
#aws_viewthread_page .aws-vt-big-avatar {
    width: 88px !important;
    height: 88px !important;
    border-radius: 20px !important;
}

#aws_viewthread_page .aws-vt-big-avatar img {
    border: 2px solid rgba(96, 165, 250, 0.22) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.22) !important;
}

#aws_viewthread_page .aws-vt-author-card strong {
    display: block !important;
    margin-top: 12px !important;
    color: #f8fbff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

#aws_viewthread_page .aws-vt-author-card > span {
    color: #8fa7c0 !important;
    font-size: 13px !important;
}

#aws_viewthread_page .aws-vt-author-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    margin: 18px 0 !important;
    padding: 14px 0 !important;
    border-top: 1px solid rgba(148, 163, 184, 0.13) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.13) !important;
}

#aws_viewthread_page .aws-vt-author-stats b {
    color: #ffffff !important;
    font-size: 18px !important;
}

#aws_viewthread_page .aws-vt-author-stats span {
    color: #849ab2 !important;
    font-size: 12px !important;
}

#aws_viewthread_page .aws-vt-side-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

#aws_viewthread_page .aws-vt-side-actions a,
#aws_viewthread_page .aws-vt-download {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

#aws_viewthread_page .aws-vt-side-actions a:first-child {
    background: linear-gradient(135deg, #2563eb, #1685ff) !important;
    color: #ffffff !important;
}

#aws_viewthread_page .aws-vt-side-actions a:last-child {
    background: rgba(30, 41, 59, 0.82) !important;
    color: #dbeafe !important;
}

/* 资源信息 */
#aws_viewthread_page .aws-vt-resource-card dl {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 10px 12px !important;
    margin: 0 0 16px !important;
}

#aws_viewthread_page .aws-vt-resource-card dt {
    color: #8fa7c0 !important;
    font-size: 13px !important;
}

#aws_viewthread_page .aws-vt-resource-card dd {
    margin: 0 !important;
    color: #e8f2ff !important;
    font-size: 13px !important;
    word-break: break-word !important;
}

#aws_viewthread_page .aws-vt-resource-card .orange,
#aws_viewthread_page .orange {
    color: #ff9d5c !important;
    font-weight: 900 !important;
}

#aws_viewthread_page .aws-vt-download {
    width: 100% !important;
    background: linear-gradient(135deg, #ff6a2a, #ff8a35) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(255, 106, 42, .18) !important;
}

/* 相关资源 */
#aws_viewthread_page .aws-vt-related-card a {
    display: block !important;
    margin: 8px 0 !important;
    padding: 12px 13px !important;
    border: 1px solid rgba(148, 163, 184, 0.12) !important;
    border-radius: 12px !important;
    background: rgba(8, 18, 32, 0.34) !important;
    color: #cfe6ff !important;
    text-decoration: none !important;
}

#aws_viewthread_page .aws-vt-related-card a:hover {
    border-color: rgba(96,165,250,.35) !important;
    background: rgba(37,99,235,.14) !important;
    color: #ffffff !important;
}

/* 底部快速回复区和详情页风格统一 */
#aws_viewthread_page .aws-fastpost-card {
    margin-top: 16px !important;
    border: 1px solid rgba(96, 165, 250, 0.15) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(15, 30, 51, 0.92), rgba(10, 21, 36, 0.96)) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.16) !important;
}

#aws_viewthread_page .aws-fastpost-card h3,
#aws_viewthread_page .aws-fastpost-card .aws-fastpost-title {
    color: #f8fbff !important;
    font-weight: 900 !important;
}

/* 小屏 */
@media (max-width: 1080px) {
    #aws_viewthread_page .aws-vt-layout {
        grid-template-columns: 1fr !important;
    }

    #aws_viewthread_page .aws-vt-side {
        position: static !important;
    }
}

@media (max-width: 760px) {
    #aws_viewthread_page .aws-vt-hero-card {
        padding: 18px 16px !important;
        border-radius: 14px !important;
    }

    #aws_viewthread_page .aws-vt-title {
        font-size: 22px !important;
    }

    #aws_viewthread_page .aws-vt-head-actions {
        gap: 8px !important;
    }

    #aws_viewthread_page .aws-vt-small-btn,
    #aws_viewthread_page .aws-vt-return {
        height: 34px !important;
        padding: 0 12px !important;
    }

    #aws_viewthread_page .aws-vt-message {
        padding: 18px 16px !important;
    }

    #aws_viewthread_page .aws-vt-reply-item {
        grid-template-columns: 42px minmax(0,1fr) !important;
        padding: 14px !important;
    }

    #aws_viewthread_page .aws-vt-reply-avatar,
    #aws_viewthread_page .aws-vt-reply-avatar a,
    #aws_viewthread_page .aws-vt-reply-avatar img {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }
}
