/* CECAT X5 home, measured against the public reference at a 1440px viewport. */
body.cecat-reference { margin:0; min-width:320px; background:#6a538f; background-image:linear-gradient(90deg,#6a538f,#f19dcc); color:#555; font:12px/1.5 Tahoma,"Microsoft YaHei",sans-serif; }
/* Native Discuz depends on content-box for fixed-height controls and author rows. */
.cecat-reference :is(.cecat-topbar,.cecat-nav,.cecat-overview,.cecat-announcement,.cecat-columns,.cecat-footer,.cecat-scrolltop),
.cecat-reference :is(.cecat-topbar,.cecat-nav,.cecat-overview,.cecat-announcement,.cecat-columns,.cecat-footer) *,
.cecat-reference .cecat-columns *::before,.cecat-reference .cecat-columns *::after { box-sizing:border-box; }
.cecat-reference [hidden] { display:none !important; }
.cecat-reference a { color:inherit; text-decoration:none; }
.cecat-reference a:hover { color:#55bfae; text-decoration:none; }
.cecat-reference button, .cecat-reference input { font:inherit; }
.cecat-reference button { cursor:pointer; }
.cecat-reference button:focus-visible, .cecat-reference a:focus-visible, .cecat-reference summary:focus-visible { outline:2px solid #317fa0; outline-offset:4px; }
.cecat-reference svg { width:16px; height:16px; vertical-align:middle; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.cecat-reference .cecat-wrap, .cecat-reference #wp { width:1200px; min-width:0; max-width:calc(100% - 32px); margin-left:auto; margin-right:auto; padding:0; }
.cecat-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.cecat-topbar { height:29px; background:linear-gradient(#fff,#e9e9ec); color:#54647a; }
.cecat-topbar .cecat-wrap { display:flex; align-items:center; gap:13px; height:29px; }
.cecat-topbar span { color:#83909e; font-size:11px; }
.cecat-nav { height:66px; color:white; box-shadow:0 1px 5px #0004; }
.cecat-nav-inner { display:flex; align-items:center; height:66px; gap:20px; }
.cecat-brand { display:flex; align-items:center; flex:0 0 116px; height:66px; }
.cecat-brand img { width:116px; height:48px; object-fit:contain; }
.cecat-nav-links { display:flex; align-items:center; gap:22px; min-width:0; flex:1; overflow:auto; scrollbar-width:none; }
.cecat-nav-item { flex:0 0 auto; }
.cecat-nav-item a { color:#fff; font-size:16px; letter-spacing:1px; white-space:nowrap; line-height:60px; }
.cecat-nav-item a span { display:none; }
.cecat-nav-item.is-current a { font-weight:bold; }
.cecat-nav-actions { display:flex; align-items:center; gap:22px; flex-shrink:0; }
.cecat-nav-circle { display:flex; align-items:center; justify-content:center; width:28px; height:28px; border:2px solid white; border-radius:50%; color:#fff; }
.cecat-nav-circle svg { width:18px; height:18px; }
.cecat-nav-circle:hover { background:#ffffff2b; color:#fff !important; }
.cecat-search, .cecat-account { position:relative; }
.cecat-reference summary { list-style:none; cursor:pointer; }
.cecat-reference summary::-webkit-details-marker { display:none; }
.cecat-search-form, .cecat-account-menu { position:absolute; right:0; top:43px; z-index:30; width:330px; padding:20px; border-radius:5px; background:#fff; color:#555; box-shadow:0 8px 30px #30234244; }
.cecat-search-form label { display:block; margin-bottom:12px; font-size:15px; }
.cecat-search-form > div { display:flex; }
.cecat-search-form input { min-width:0; flex:1; border:1px solid #ddd; padding:9px; border-radius:3px 0 0 3px; }
.cecat-search-form button { border:0; padding:0 13px; background:#59c5b2; color:white; border-radius:0 3px 3px 0; }
.cecat-account summary { display:flex; align-items:center; gap:7px; }
.cecat-nav-avatar img { width:29px; height:29px; border-radius:50%; }
.cecat-account-name { max-width:90px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cecat-account-menu { width:150px; padding:7px; }
.cecat-account-menu a { display:block; padding:8px 11px; border-radius:3px; }
.cecat-account-menu a:hover { background:#f4f6f8; }
.cecat-overview { display:grid; grid-template-columns:minmax(0,880px) 300px; gap:20px; margin:20px 0; }
.cecat-stat-panel, .cecat-clock-panel { height:165px; background:#00000006; border-radius:5px; box-shadow:0 1px 3px #0002; color:white; }
.cecat-stat-panel { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); }
.cecat-stat { display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:0; gap:10px; padding:10px 4px; }
.cecat-stat > img { width:96px; height:96px; object-fit:cover; border:6px solid #ffffff80; border-radius:50%; background:#ffffffbf; }
.cecat-stat > span { display:flex; gap:3px; align-items:center; max-width:100%; color:white; font-size:12px; text-shadow:1px 1px 3px #0004; }
.cecat-stat > span > svg { width:13px; height:13px; }
.cecat-stat b { font-weight:normal; }
.cecat-stat > span > a { overflow:hidden; max-width:125px; text-overflow:ellipsis; white-space:nowrap; }
.cecat-clock-panel { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; text-shadow:1px 1px 3px #0004; }
#cecat-clock { color:white; font-size:38px; line-height:1.15; font-variant-numeric:tabular-nums; }
.cecat-clock-panel > div { display:flex; align-items:baseline; gap:10px; }
#cecat-week { font-size:28px; font-weight:700; }
#cecat-week-en { font-size:14px; }
#cecat-date { align-self:flex-end; margin-right:32px; color:white; font-size:20px; }
.cecat-announcement { display:flex; align-items:center; gap:9px; height:51px; padding:10px 14px; margin-bottom:20px; border:1px solid #ffffff6b; border-radius:5px; background:#ffffffe0; }
.cecat-announcement > svg { width:16px; height:16px; color:#b4cc87; flex-shrink:0; }
.cecat-announcement > div { min-width:0; flex:1; overflow:hidden; height:29px; line-height:29px; }
.cecat-announcement ul, .cecat-announcement li { display:inline; margin:0; padding:0; list-style:none; }
.cecat-announcement li { margin-right:20px; }
.cecat-announcement > a { flex-shrink:0; font-size:11px; }
.cecat-reference #ct.cecat-columns { display:grid; grid-template-columns:minmax(0,890px) 300px; align-items:start; gap:10px; margin:0; padding:0; border:0; width:100%; }
.cecat-main, .cecat-sidebar { min-width:0; }
.cecat-surface { margin-bottom:20px; border:1px solid #0000000d; border-radius:5px; background:#fffffff2; }
.cecat-feature { position:relative; display:grid; grid-template-columns:450px minmax(0,1fr); height:302px; }
.cecat-feature::before { position:absolute; top:-6px; left:20px; width:50px; height:6px; border-radius:5px 5px 0 0; background:#87cd72; content:""; }
.cecat-slider { position:relative; height:300px; padding:24px; overflow:hidden; }
.cecat-slide { position:relative; display:block; width:400px; height:260px; max-width:100%; overflow:hidden; border-radius:2px; background:#242632; }
.cecat-slide > img { display:block; width:100%; height:100%; object-fit:cover; }
.cecat-slide > span { position:absolute; right:0; bottom:0; left:0; padding:18px 12px 10px; background:linear-gradient(transparent,#000a); color:#fff; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cecat-slider button { position:absolute; top:46%; display:grid; place-items:center; width:30px; height:42px; border:0; border-radius:3px; background:#0003; color:#ffffffaa; }
.cecat-slider button:hover { background:#0007; color:white; }
.cecat-slider button svg { width:28px; height:28px; }
.cecat-slider-prev { left:28px; }
.cecat-slider-next { right:28px; }
.cecat-topic-board { min-width:0; padding:15px 20px 15px 5px; }
.cecat-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:0 0 10px; }
.cecat-tab { display:flex; justify-content:center; align-items:center; gap:3px; height:27px; padding:0 4px; border:0; border-radius:2px; background:#ff656c; color:#fff; font-size:12px; white-space:nowrap; box-shadow:0 1px 2px #ff6f7833; }
.cecat-tab.is-active { background:#5ac8b7; box-shadow:0 1px 2px #48b6a533; }
.cecat-tab:hover { filter:brightness(1.06); }
.cecat-tab svg { width:13px; height:13px; }
.cecat-topic-list, .cecat-ranking ol { margin:0; padding:0; list-style:none; counter-reset:rank; }
.cecat-topic-list li { display:flex; align-items:center; gap:7px; height:32px; overflow:hidden; border-bottom:1px dotted #e2e2e2; font-size:12px; white-space:nowrap; }
.cecat-rank { display:inline-grid; place-items:center; width:16px; height:16px; flex:0 0 16px; border-radius:50%; background:#ccc; color:#fff; font:12px/1 Arial,sans-serif; counter-increment:rank; text-shadow:0 1px 1px #0002; }
.cecat-rank::before { content:counter(rank); }
.cecat-topic-list li:nth-child(1) .cecat-rank, .cecat-ranking li:nth-child(1) .cecat-rank { background:#ff686f; }
.cecat-topic-list li:nth-child(2) .cecat-rank, .cecat-ranking li:nth-child(2) .cecat-rank { background:#e8c824; }
.cecat-topic-list li:nth-child(3) .cecat-rank, .cecat-ranking li:nth-child(3) .cecat-rank { background:#5bc6b0; }
.cecat-topic-forum { max-width:76px; overflow:hidden; color:#ff6268 !important; text-overflow:ellipsis; flex-shrink:0; font-size:11px; }
.cecat-topic-title { min-width:0; flex:1; overflow:hidden; text-overflow:ellipsis; }
.cecat-topic-avatar { width:21px; height:21px; flex:0 0 21px; }
.cecat-topic-avatar img { width:21px; height:21px; border-radius:50%; }
.cecat-topic-date { max-width:76px; flex-shrink:0; overflow:hidden; color:#c0c3c9; font-size:11px; text-overflow:ellipsis; }
.cecat-topic-date > span { color:inherit !important; }
.cecat-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; height:224px; gap:10px; color:#aaa3b0; text-align:center; }
.cecat-empty > svg { width:36px; height:36px; color:#c7becd; }
.cecat-empty p { margin:0; font-size:14px; }
.cecat-empty a { font-size:12px; color:#8b929a; }
.cecat-surface > h2 { position:relative; display:flex; align-items:center; gap:7px; height:46px; margin:0; padding:0 12px 0 25px; border:0; background:#00000003; color:#65727b; font-size:16px; font-weight:normal; }
.cecat-surface > h2::before { position:absolute; top:13px; bottom:13px; left:11px; width:6px; background:#5bc8b6; content:""; }
.cecat-surface > h2 > a:not(:first-child) { margin-left:auto; font-size:11px; }
.cecat-surface > h2 > svg { width:18px; height:18px; }
.cecat-broadcast > h2 { background:#e5eef1; }
.cecat-broadcast-body { height:124px; padding:10px 12px; overflow:auto; scrollbar-width:thin; }
.cecat-broadcast-row { display:flex; align-items:flex-start; gap:10px; min-height:30px; border-bottom:1px dashed #ddd; padding:4px 0; font-size:12px; }
.cecat-broadcast-row > svg { color:#ff8b59; flex-shrink:0; margin-top:2px; }
.cecat-broadcast-row > span { min-width:0; flex:1; }
.cecat-broadcast-row a { color:#66748d; }
.cecat-broadcast-row time { width:76px; flex-shrink:0; color:#a8afbb; text-align:right; font-size:11px; }
.cecat-forum-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:0 8px; }
.cecat-forum-card { position:relative; display:flex; gap:16px; min-width:0; min-height:99px; padding:19px 9px; border-bottom:1px dashed #eee; }
.cecat-forum-icon { width:54px; height:54px; flex:0 0 54px; border-radius:6px; background:#ff7f82; color:#fff; overflow:hidden; }
.cecat-forum-icon > a { display:grid; place-items:center; width:100%; height:100%; color:#fff !important; }
.cecat-forum-icon svg { width:34px; height:34px; stroke-width:1.5; }
.cecat-forum-tile { display:flex; flex-direction:column; align-items:center; justify-content:center; width:54px; height:54px; color:white; }
.cecat-forum-tile b { font:700 25px/1.15 "Microsoft YaHei",sans-serif; letter-spacing:2px; }
.cecat-forum-tile i { margin-top:3px; font:7px/1 Arial,sans-serif; letter-spacing:1px; opacity:.85; }
.cecat-forum-icon img { width:54px; height:54px; object-fit:contain; }
.cecat-forum-card:nth-child(6n+2) .cecat-forum-icon { background:#8bc8ff; }
.cecat-forum-card:nth-child(6n+3) .cecat-forum-icon { background:#cf8bda; }
.cecat-forum-card:nth-child(6n+4) .cecat-forum-icon { background:#9fd8a5; }
.cecat-forum-card:nth-child(6n+5) .cecat-forum-icon { background:#ffac96; }
.cecat-forum-card:nth-child(6n) .cecat-forum-icon { background:#ffd078; }
.cecat-forum-copy { min-width:0; padding-top:2px; }
.cecat-forum-title { display:block; color:#fb6d77 !important; font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cecat-forum-card:nth-child(6n+2) .cecat-forum-title { color:#78b9f0 !important; }
.cecat-forum-card:nth-child(6n+3) .cecat-forum-title { color:#c680d0 !important; }
.cecat-forum-card:nth-child(6n+4) .cecat-forum-title { color:#70b88c !important; }
.cecat-forum-card:nth-child(6n+5) .cecat-forum-title { color:#ef967d !important; }
.cecat-forum-desc { display:block; margin-top:3px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:#aaa; font-size:10px; }
.cecat-forum-meta { display:block; margin-top:5px; color:#fb6d77; font-size:11px; }
.cecat-forum-meta > span { margin-left:7px; }
.cecat-today { position:absolute; top:17px; left:43px; display:grid; place-items:center; min-width:17px; height:17px; padding:0 2px; border:2px solid white; border-radius:7px; background:#6dce7b; color:#fff; font-size:10px; box-shadow:0 0 2px #777; }
.cecat-collapse { display:grid; place-items:center; width:22px; height:22px; margin-left:auto; padding:3px; border:0; border-radius:50%; background:#fff; color:#b4b8c0; box-shadow:0 1px 2px #0001; }
.cecat-collapse[aria-expanded=false] svg { transform:rotate(90deg); }
.cecat-quick { display:flex; gap:6px; height:73px; padding:15px; }
.cecat-quick > a { display:flex; flex:1; align-items:center; justify-content:center; gap:6px; border-radius:17px; background:#75cb70; color:#fff !important; font-size:18px; box-shadow:0 5px 14px #75cb7044; }
.cecat-quick > a:last-child { background:#ff8858; box-shadow:0 5px 14px #ff885844; }
.cecat-quick > a:hover { filter:brightness(1.06); }
.cecat-quick svg { width:18px; height:18px; stroke-width:2.1; }
.cecat-recommend { padding-top:12px; }
.cecat-recommend > h2 { height:42px; font-size:18px; background:none; }
.cecat-recommend-body { padding:18px 5px 8px; }
.cecat-image-card { position:relative; display:block; height:190px; margin:0 0 20px; border-radius:20px; background:#ddd; }
.cecat-image-card > img { display:block; width:100%; height:100%; object-fit:cover; border-radius:20px; }
.cecat-image-card > span { position:absolute; bottom:0; right:0; left:0; overflow:hidden; border-radius:0 0 20px 20px; padding:5px 8px; background:linear-gradient(90deg,#f3d42f,#07e9ec); color:#fff; font-size:12px; font-weight:bold; white-space:nowrap; text-overflow:ellipsis; }
.cecat-image-card > i { position:absolute; top:-7px; left:50%; transform:translateX(-50%); padding:0 9px; border-radius:0 0 4px 4px; background:linear-gradient(90deg,#f3d42f,#07e9ec); color:#fff; font-style:normal; font-size:11px; }
.cecat-ranking ol { padding:10px 14px; }
.cecat-ranking li { display:flex; gap:8px; align-items:flex-start; margin-bottom:12px; font-size:12px; }
.cecat-ranking li > a { min-width:0; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.cecat-sidebar-empty { padding:16px; color:#aaa; }
.cecat-online > h2 { height:auto; min-height:46px; flex-wrap:wrap; gap:6px; font-size:14px; padding-top:10px; padding-bottom:10px; }
.cecat-online > h2 > span { font-size:11px; color:#999; }
.cecat-online-members { padding:10px 20px; }
.cecat-online-members a { margin-right:12px; }
.cecat-footer { padding:15px 0 25px !important; color:#ffffffb8; font-size:12px; }
.cecat-footer-links { display:flex; flex-wrap:wrap; gap:15px; margin-bottom:9px; }
.cecat-footer-legal { opacity:.7; }
.cecat-scrolltop { position:fixed; right:16px; bottom:25px; display:grid; place-items:center; width:38px; height:38px; border-radius:5px; background:#ffffffcc; color:#a2a1ad; }
.cecat-reference .area:empty { min-height:0; }
.cecat-inner #wp { margin-top:20px; min-height:60vh; }
.cecat-inner #ct { border-radius:5px; }
.cecat-inner #pt { color:#fff; margin-bottom:14px; }
.cecat-inner .bm { background:#fffffff5; border-color:#ffffff80; border-radius:5px; }
.cecat-inner .bm_h { background:#f5f2f7; border-color:#ece5f0; }
.cecat-inner .tb, .cecat-inner .tl th, .cecat-inner .tl td { border-color:#eee8f0; }
.cecat-inner .ct2_a, .cecat-inner .ct1, .cecat-inner .ct2 { background:#fffffff5; border-color:#ffffff80; }
.cecat-inner .pnc, .cecat-inner a.pnc { background:#5bc8b6; border-color:#4bb3a2; color:#fff; }
/* Native thread and composer: preserve table geometry, make actions readable. */
.cecat-image-empty{height:100%;min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8a7798;background:#f7f3fa;border:1px dashed #d9cde2;border-radius:5px;padding:22px;gap:10px}
.cecat-image-empty svg{width:32px;height:32px}.cecat-image-empty strong{font-size:18px;color:#715c83}.cecat-image-empty p{line-height:1.9}.cecat-image-empty a{color:#358e80}
.cecat-inner #postlist{overflow:hidden;border:1px solid #e5dcec;background:#fff;border-radius:8px}
.cecat-inner #postlist .pls{background:#f6f2f9;border-color:#e8e0ee}
.cecat-inner #postlist .plc{background:#fff}
.cecat-inner #postlist .pi{height:auto;min-height:21px;padding-top:14px;padding-bottom:14px;overflow:visible;line-height:22px;border-color:#eee8f2}
.cecat-inner #postlist .pi:after{content:"";display:block;clear:both}
.cecat-inner #postlist .pi .authi{line-height:22px;color:#81738d}
.cecat-inner #postlist .pls .avatar img{border-radius:10px;padding:0;border:4px solid #fff;box-shadow:0 3px 12px #5e477c12}
.cecat-inner #postlist .vwthd{padding-top:20px;padding-bottom:18px}.cecat-inner #thread_subject{font-size:21px;line-height:1.55;color:#4b3c58;overflow-wrap:anywhere}
.cecat-inner #postlist .ad .pls,.cecat-inner #postlist .ad .plc{background:#f2edf6}
.cecat-inner #modmenu{color:#fff;line-height:2;padding:12px 0}.cecat-inner #modmenu a{color:#fff;text-shadow:0 1px 2px #49315f66}
.cecat-inner .typeoption{margin:14px 0 24px;padding:0 18px 10px;border:1px solid #e7deee;border-radius:7px;background:#fcfaff}
.cecat-inner .typeoption caption{padding:14px 0 12px;font-size:16px;color:#644d78;border-bottom:1px solid #e7deee;font-weight:bold}
.cecat-inner .typeoption table{width:100%;table-layout:fixed}.cecat-inner .typeoption th{width:126px;color:#81718e;font-weight:normal}
.cecat-inner .typeoption th,.cecat-inner .typeoption td{padding:10px 8px;line-height:1.75;border-bottom:1px solid #f0eaf4;overflow-wrap:anywhere}
.cecat-inner .typeoption td{color:#493e54}.cecat-inner .typeoption td a{color:#378e8a;text-decoration:underline;text-underline-offset:3px}
.cecat-inner .t_f{font-size:15px;line-height:1.95;overflow-wrap:anywhere}.cecat-inner .t_f img{max-width:100%;height:auto}.cecat-inner .t_f pre{white-space:pre-wrap}
.cecat-inner #postbox{padding:8px 20px 22px}.cecat-inner #postbox .exfm{border:1px solid #e7deee;background:#fbf9fd;border-radius:7px}
.cecat-inner #postbox .exfm .tfm{width:100%;table-layout:fixed}.cecat-inner #postbox .exfm .tfm th{width:148px;font-weight:normal;color:#796886}
.cecat-inner #postbox .exfm .tfm td{padding:10px;line-height:1.8;overflow-wrap:anywhere}.cecat-inner #postbox .exfm input.px{max-width:100%;box-sizing:border-box;height:34px;background:#fff;border:1px solid #ddd3e6;border-radius:4px;padding:5px 8px}
.cecat-inner #postbox .exfm select{min-width:180px;max-width:100%;height:32px;border:1px solid #ddd3e6;border-radius:4px;background:#fff}
.cecat-inner #postbox .exfm .d{padding-top:5px;color:#8d8096;line-height:1.8}.cecat-inner #postbox #subject{box-sizing:border-box;max-width:100%;height:36px;padding:6px 10px}
.cecat-inner #postbox .bar{height:auto;min-height:25px}
.cecat-inner #postbox .exfm .tfm input.px{width:100%}
.cecat-inner #postlist .pob,.cecat-inner #postlist .pob a{color:#80708d}
@media(max-width:760px){
 .cecat-inner.pg_post #postbox .exfm .tfm,.cecat-inner.pg_post #postbox .exfm .tfm tbody,.cecat-inner.pg_post #postbox .exfm .tfm tr,.cecat-inner.pg_post #postbox .exfm .tfm th,.cecat-inner.pg_post #postbox .exfm .tfm td{display:block;box-sizing:border-box;width:100%!important}
 .cecat-inner.pg_post #postbox .exfm .tfm tr{padding:10px 12px;border-bottom:1px solid #ece5f1}.cecat-inner.pg_post #postbox .exfm .tfm th,.cecat-inner.pg_post #postbox .exfm .tfm td{padding:4px 0;border:0}
 .cecat-inner.pg_post #postbox .exfm .tfm td:last-child:not([colspan]){padding:0;min-height:0}.cecat-inner.pg_post #postbox .exfm .tfm .d{font-size:12px}
 .cecat-inner.pg_post #postbox #subject{width:100%!important}.cecat-inner.pg_post #postbox .pbt .z{float:none}.cecat-inner.pg_post #postbox .pbt span{white-space:normal}
 .cecat-inner.pg_post .edt .bbar{height:auto;white-space:normal;line-height:24px}.cecat-inner.pg_post #e_bbar .y{float:none;display:block}
 .cecat-inner.pg_post #e_controls .bar{display:flex;flex-wrap:wrap}.cecat-inner.pg_post #e_controls .b2r{float:none}
 .cecat-inner.pg_post .p_pof{max-width:calc(100vw - 28px);box-sizing:border-box}.cecat-inner.pg_post .p_pof .fwin,.cecat-inner.pg_post .p_pof .m_c{max-width:100%;width:auto!important}
 .cecat-inner.pg_post #postbox .exfm .tfm th.ptm,.cecat-inner.pg_post #postbox .exfm .tfm td.ptm{padding-top:4px!important;padding-bottom:4px!important}
 .cecat-inner.pg_post #e_iframe,.cecat-inner.pg_post #e_textarea{height:320px!important;min-height:260px!important}
}
.cecat-link-tools{display:inline;white-space:normal}.cecat-reference .cecat-linkcheck{display:inline-block;margin:4px 8px;padding:5px 12px;line-height:20px;background:#f3edf8;color:#77548e;border:1px solid #dacbe5;border-radius:5px;vertical-align:middle}.cecat-reference .cecat-linkcheck:disabled{opacity:.65;cursor:wait}.cecat-link-result:empty{display:none}.cecat-reference .cecat-link-result{display:block;margin:5px 0;font-size:12px;color:#79618b;line-height:1.8;white-space:normal}.cecat-link-result[data-state=unavailable]{color:#b14755}.cecat-link-result[data-state=reachable]{color:#2e8573}.cecat-link-result[data-state=code_required],.cecat-link-result[data-state=blocked]{color:#946c27}
@media(max-width:760px){
 .cecat-inner.pg_viewthread #postlist>div>table{table-layout:fixed;width:100%}
 .cecat-inner.pg_viewthread #postlist .pls{width:100px}
 .cecat-inner.pg_viewthread #postlist .plc{padding-left:12px;padding-right:12px;min-width:0;overflow-wrap:anywhere}
 .cecat-inner.pg_viewthread #postlist .pls .avatar{margin-left:10px}.cecat-inner.pg_viewthread #postlist .pls .avatar img{width:64px;height:64px}
 .cecat-inner.pg_viewthread #postlist .pls .tns,.cecat-inner.pg_viewthread #postlist .pls .pil{width:auto;margin:10px}
 .cecat-inner.pg_viewthread #postlist .pi strong{margin-top:0}.cecat-inner.pg_viewthread #postlist .pi .authi{clear:both}
 .cecat-inner .typeoption{padding:0 8px 8px}.cecat-inner .typeoption th{width:88px}.cecat-inner .typeoption th,.cecat-inner .typeoption td{padding:8px 4px}
 .cecat-inner #postbox{padding:8px}.cecat-inner #postbox .exfm .tfm th{width:100px}.cecat-inner #postbox .exfm select{min-width:0;width:100%}
}
@media (max-width:1220px) {
 .cecat-overview { grid-template-columns:minmax(0,1fr) 280px; gap:16px; }
 .cecat-reference #ct.cecat-columns { grid-template-columns:minmax(0,1fr) 280px; gap:10px; }
 .cecat-feature { grid-template-columns:48% minmax(0,1fr); }
 .cecat-slider { padding:20px; }
 .cecat-slide { width:100%; }
 .cecat-tabs { gap:6px; }
 .cecat-topic-board { padding-right:12px; }
 .cecat-topic-avatar, .cecat-topic-date { display:none; }
 .cecat-forum-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px) {
 .cecat-nav-actions { gap:12px; }
 .cecat-nav-links { gap:16px; }
 .cecat-overview { grid-template-columns:minmax(0,1fr) 220px; gap:12px; }
 .cecat-stat > img { width:70px; height:70px; border-width:4px; }
 .cecat-stat > span { font-size:10px; }
 .cecat-stat > span > a { max-width:75px; }
 .cecat-reference #ct.cecat-columns { grid-template-columns:minmax(0,1fr) 250px; }
 .cecat-feature { height:auto; grid-template-columns:1fr; }
 .cecat-slider { height:260px; padding:15px; }
 .cecat-slide { height:230px; }
 .cecat-topic-board { padding:0 15px 15px; }
 .cecat-quick { padding:15px 10px; }
 .cecat-forum-card { gap:8px; padding:15px 5px; }
 .cecat-forum-icon, .cecat-forum-icon img { width:44px; height:44px; flex-basis:44px; }
 .cecat-forum-tile { width:44px; height:44px; }
 .cecat-forum-tile b { font-size:20px; }
 .cecat-image-card { height:170px; }
 .cecat-broadcast-row time { display:none; }
}
@media (max-width:650px) {
 .cecat-reference .cecat-wrap, .cecat-reference #wp { max-width:calc(100% - 20px); }
 .cecat-topbar span { display:none; }
 .cecat-nav-inner { gap:12px; }
 .cecat-brand { flex-basis:92px; }
 .cecat-brand img { width:92px; }
 .cecat-nav-item a { font-size:13px; }
 .cecat-nav-actions { gap:9px; }
 .cecat-nav-circle { width:24px; height:24px; border-width:1.5px; }
 .cecat-nav-circle svg { width:15px; height:15px; }
 .cecat-nav-actions > a[title=消息] { display:none; }
 .cecat-account-name { display:none; }
 .cecat-search-form { width:280px; }
 .cecat-overview { grid-template-columns:1fr; gap:10px; margin:14px 0; }
 .cecat-stat-panel { height:128px; }
 .cecat-stat > img { width:54px; height:54px; border-width:3px; }
 .cecat-stat { gap:10px; padding:8px 2px; }
 .cecat-stat > span > svg { display:none; }
 .cecat-stat > span { flex-wrap:wrap; justify-content:center; font-size:10px; }
 .cecat-stat > span > a { max-width:58px; }
 .cecat-clock-panel { display:none; }
 .cecat-announcement { height:45px; margin-bottom:16px; padding:7px 10px; }
 .cecat-reference #ct.cecat-columns { grid-template-columns:minmax(0,1fr); }
 .cecat-feature { grid-template-columns:1fr; }
 .cecat-slider { height:240px; }
 .cecat-slide { height:210px; }
 .cecat-topic-board { padding:5px 12px 15px; }
 .cecat-empty { height:150px; }
 .cecat-surface { margin-bottom:16px; }
 .cecat-topic-list li { gap:5px; }
 .cecat-topic-forum { max-width:55px; }
 .cecat-forum-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .cecat-forum-title { font-size:12px; }
 .cecat-forum-desc { font-size:9px; }
 .cecat-forum-meta { font-size:9px; }
 .cecat-forum-icon, .cecat-forum-icon img { width:36px; height:36px; flex-basis:36px; }
 .cecat-forum-tile { width:36px; height:36px; }
 .cecat-forum-tile b { font-size:17px; letter-spacing:0; }
 .cecat-forum-tile i { font-size:5px; letter-spacing:0; }
 .cecat-forum-icon svg { width:25px; height:25px; }
 .cecat-forum-meta > span { margin-left:2px; }
 .cecat-quick { height:70px; }
 .cecat-recommend-body { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 .cecat-image-card { height:135px; margin-bottom:8px; border-radius:10px; }
 .cecat-image-card > img { border-radius:10px; }
 .cecat-image-card > span { border-radius:0 0 10px 10px; }
}
@media (prefers-reduced-motion:reduce) { .cecat-reference * { scroll-behavior:auto !important; transition:none !important; } }
.cecat-rank-tabs{display:flex;gap:6px;padding:12px 18px 0}.cecat-rank-tabs button{flex:1;border:0;border-radius:5px;padding:7px;background:#f4f0f7;color:#897a98;cursor:pointer}.cecat-rank-tabs button[aria-selected=true]{background:#ede4f3;color:#ab68b3;font-weight:bold}.cecat-tags{margin-top:20px}.cecat-tags h2{display:flex;align-items:center;gap:8px;padding:15px 20px;border-bottom:1px solid #eee;font-size:14px;color:#766680}.cecat-tags h2 svg{width:19px;height:19px}.cecat-tags>div{padding:12px 18px;display:flex;flex-wrap:wrap;gap:8px}.cecat-tags>div>a{border-radius:4px;background:#f6f0f7;padding:5px 9px;color:#95759e}.cecat-tags .cecat-sidebar-empty{padding:5px 0;line-height:1.8}.cecat-linkcheck{margin:0 8px;padding:2px 8px;border:1px solid #d8c4e3;border-radius:4px;background:#faf5fd;color:#91639e;cursor:pointer;font-size:12px}.cecat-link-result{font-size:12px;color:#8d7296;margin:4px 0;display:block}
body.cecat-reference#nv_search #ct{width:auto;min-width:0;padding:24px;background:#ffffffed;border-radius:10px;margin-top:25px}body.cecat-reference#nv_search .mw{width:auto;max-width:100%}
@media(max-width:760px){.cecat-reference .rfm{width:auto;margin:0 12px}.cecat-reference .rfm table{width:100%;table-layout:fixed}.cecat-reference .rfm th{width:78px;padding:10px 8px}.cecat-reference .rfm td{width:auto;padding:10px 2px;word-break:break-word}.cecat-reference .rfm input.px{width:100%;max-width:100%;box-sizing:border-box}.cecat-reference .rfm .tip{display:none}.cecat-reference .rfm .rq{white-space:normal}.cecat-reference#nv_search #ct{padding:18px 12px}.cecat-reference #scform{width:100%;table-layout:fixed}.cecat-reference #scform_srchtxt{width:100%;box-sizing:border-box}.cecat-reference #scform h1{padding-top:15px}.cecat-reference #scform .td_srchtxt{width:auto}.cecat-reference #scform .td_srchbtn{width:65px}.cecat-reference #scform_form{width:100%}.cecat-reference #scform td{box-sizing:border-box}.cecat-reference input,.cecat-reference textarea{font-size:16px}}
@media(max-width:760px){.cecat-reference .rfm .p_tip,.cecat-reference .rfm .p_chk{position:static!important;width:auto!important;max-width:100%;height:auto;line-height:1.6;display:block;margin:4px 0;white-space:normal}.cecat-reference .rfm .p_tip{font-size:11px}.cecat-reference .rfm kbd{font-family:inherit}}

/* R5 resource specification and native classification filters */
:is(.cecat-inner,.cecat-touch) .cc-filters{padding:24px 26px 16px;background:linear-gradient(130deg,#fdfcff,#fff);border:1px solid #eee9f5;border-radius:14px;margin:18px 18px 24px;box-shadow:0 6px 24px #6b538106}
.cc-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.cc-filter-heading>div>span{font-size:9px;font-weight:600;letter-spacing:1.8px;color:#b0a3bf}.cc-filter-heading h3{font-size:16px;color:#494054;font-weight:600;margin:4px 0}.cc-filter-heading>a{font-size:12px;color:#9d90b0;white-space:nowrap}
:is(.cecat-inner,.cecat-touch) .cc-filters .tsm{width:100%;border-collapse:collapse;table-layout:auto}:is(.cecat-inner,.cecat-touch) .cc-filters .tsm th{width:95px!important;padding:13px 8px 13px 0;vertical-align:top;font-size:12px;font-weight:500;color:#9a8da6;line-height:28px;white-space:nowrap}:is(.cecat-inner,.cecat-touch) .cc-filters .tsm td{padding:10px 0;border-bottom:1px solid #f3eff7}:is(.cecat-inner,.cecat-touch) .cc-filters tr:last-child td{border-bottom:0}:is(.cecat-inner,.cecat-touch) .cc-filters .tbmu{border:0!important;padding:0!important;display:flex;flex-wrap:wrap;gap:6px;line-height:1.5}:is(.cecat-inner,.cecat-touch) .cc-filters .tbmu li{float:none!important;padding:0!important;margin:0!important;border:0!important;max-width:100%}:is(.cecat-inner,.cecat-touch) .cc-filters .tbmu a{display:block;padding:5px 12px;border:1px solid transparent;border-radius:6px;font-size:12px;font-weight:400;color:#8b7d96!important;line-height:20px;white-space:normal;overflow-wrap:anywhere}:is(.cecat-inner,.cecat-touch) .cc-filters .tbmu a:hover{background:#f6f2fc;color:#7654a1!important}:is(.cecat-inner,.cecat-touch) .cc-filters .tbmu li.a a{background:#f1eafb;color:#8055ab!important;border-color:#e8dcf6;font-weight:600}:is(.cecat-inner,.cecat-touch) .cc-filters .bbs{border-bottom:0!important}:is(.cecat-inner,.cecat-touch) .cc-filters #searhsort{padding:16px 0 0;margin:0}:is(.cecat-inner,.cecat-touch) .cc-filters #searhsort .ptm{display:flex;gap:14px;flex-wrap:wrap;align-items:end}:is(.cecat-inner,.cecat-touch) .cc-filters #searhsort .ptm>div{float:none!important;width:auto!important;height:auto!important;overflow:visible!important;display:flex;gap:8px;align-items:center;min-height:35px;font-size:12px;color:#9a8da6}:is(.cecat-inner,.cecat-touch) .cc-filters .ps,:is(.cecat-inner,.cecat-touch) .cc-filters .px{border:1px solid #e8e0ef;border-radius:6px;background:#fff;min-height:32px;padding:4px 10px;box-shadow:none}:is(.cecat-inner,.cecat-touch) .cc-filters .pn{background:#8d6ab5;border:0;border-radius:6px;color:#fff;height:34px;padding:0 16px;box-shadow:none}:is(.cecat-inner,.cecat-touch) #thread_types{padding:10px 16px;display:flex;gap:6px;flex-wrap:wrap;border:0}:is(.cecat-inner,.cecat-touch) #thread_types li{margin:0!important}:is(.cecat-inner,.cecat-touch) #thread_types a{border:0;background:#f6f3f9;border-radius:7px;padding:7px 14px;color:#9a88aa;font-size:12px;line-height:22px}:is(.cecat-inner,.cecat-touch) #thread_types .a a{background:#eee4f7;color:#80549f;font-weight:600}
:is(.cecat-inner,.cecat-touch) .typeoption.cc-specification,.cc-specification.viewsort{border:1px solid #e9e2f0;border-radius:14px;background:#fff;padding:0;overflow:hidden;margin:20px 0 26px;box-shadow:0 8px 25px #5c3c7e05}:is(.cecat-inner,.cecat-touch) .cc-specification table{margin:0;width:100%;border:0;table-layout:fixed}:is(.cecat-inner,.cecat-touch) .cc-specification caption{position:relative;caption-side:top;text-align:left;background:linear-gradient(120deg,#f7f2fc,#fdfbff);padding:18px 22px;border-bottom:1px solid #ebe1f3;color:#5e466f}.cc-spec-label{display:block;font-size:9px;letter-spacing:1.8px;color:#b3a0c0;line-height:1.8;font-weight:500}.cc-specification caption>strong{font-size:17px;display:inline-block;margin-top:3px;font-weight:600}.cc-spec-category{font-size:11px;font-weight:400;float:right;padding:3px 11px;border:1px solid #e6d9ee;background:#fff9;border-radius:40px;color:#a28bb2;margin-top:8px}:is(.cecat-inner,.cecat-touch) .cc-specification th{background:#fcfbfe;width:142px;color:#a58eb5;font-weight:400;font-size:12px}:is(.cecat-inner,.cecat-touch) .cc-specification td{font-size:13px;color:#6e5c7c}:is(.cecat-inner,.cecat-touch) .cc-specification th,:is(.cecat-inner,.cecat-touch) .cc-specification td{padding:13px 22px;border-bottom:1px solid #f1ecf5;line-height:1.75}:is(.cecat-inner,.cecat-touch) .cc-specification tr:last-child th,:is(.cecat-inner,.cecat-touch) .cc-specification tr:last-child td{border-bottom:0}:is(.cecat-inner,.cecat-touch) .cc-specification td a{color:#5a9e99;font-weight:500;word-break:break-all;text-decoration:none}:is(.cecat-inner,.cecat-touch) .cc-specification tr:hover td{background:#fdfbff}.cc-specification.viewsort h4{padding:15px 18px;margin:0;background:#f7f2fc;font-size:16px;border-bottom:1px solid #ebe1f3;color:#5e466f}.cc-spec-row{display:grid;grid-template-columns:88px 1fr;gap:14px;padding:12px 18px;border-bottom:1px solid #f1ecf5;font-size:12px}.cc-spec-row>span{color:#ab94ba}.cc-spec-row>strong{font-weight:400;overflow-wrap:anywhere;color:#6e5c7c}.cc-post-tabs a{font-size:13px!important}.cc-post-tabs .a a{color:#8b5da8!important}
@media(max-width:700px){:is(.cecat-inner,.cecat-touch) .cc-filters{padding:17px 13px;margin:12px 0 18px}.cc-filter-heading h3{font-size:14px}.cc-filter-heading>div>span{font-size:8px}:is(.cecat-inner,.cecat-touch) .cc-filters .tsm th{width:68px!important;font-size:11px;padding-right:5px;line-height:26px}:is(.cecat-inner,.cecat-touch) .cc-filters .tbmu{gap:4px}:is(.cecat-inner,.cecat-touch) .cc-filters .tbmu a{padding:4px 9px;font-size:11px;line-height:20px}:is(.cecat-inner,.cecat-touch) .cc-specification th{width:100px}:is(.cecat-inner,.cecat-touch) .cc-specification th,:is(.cecat-inner,.cecat-touch) .cc-specification td{padding:11px 12px}:is(.cecat-inner,.cecat-touch) .cc-specification caption{padding:16px}.cc-spec-category{float:none;display:inline-block;margin-left:12px}.cc-filter-heading{gap:10px}.cc-filter-heading>a{font-size:10px}:is(.cecat-inner,.cecat-touch) #thread_types{padding:10px 0}:is(.cecat-inner,.cecat-touch) #thread_types a{font-size:11px;padding:6px 10px}}

.cc-editor~#postbox #subject{min-width:300px}.cc-native-title{border-radius:8px!important;padding:9px 12px!important;height:auto!important;line-height:1.6!important;min-width:300px;max-width:100%;box-sizing:border-box!important}
@media(max-width:700px){.cc-native-title{min-width:0;width:100%!important}.cc-filters{box-sizing:border-box;margin:12px!important}.cc-filters .tsm th{width:70px!important}}

/* Readable native buttons, moderation controls and resource tables. */
.cecat-inner a.pgsbtn,.cecat-inner .pgs a.pgsbtn,.cecat-inner .pgsbtn{background:#76518f!important;border:1px solid #76518f!important;color:#fff!important;text-shadow:none!important;border-radius:6px;font-weight:600}.cecat-inner a.pgsbtn:hover{background:#634078!important;border-color:#634078!important;color:#fff!important}
.cecat-inner #modmenu{background:#fff;border:1px solid #e4dae9;border-radius:8px;padding:14px 18px;margin:12px 0;color:#594568!important;line-height:2.2;box-shadow:0 3px 14px #49315f0a}.cecat-inner #modmenu a,.cecat-inner #modmenu .xi2,.cecat-inner #modmenu .xg1{color:#594568!important;text-shadow:none!important}.cecat-inner #modmenu a:hover{color:#442b59!important;text-decoration:underline}.cecat-inner #modmenu .pipe{color:#b3a7bc!important}.cecat-inner .pnc,.cecat-inner a.pnc,.cecat-inner .pnc strong,.cecat-inner .pnc span,.cecat-inner .pnc em{color:#fff!important;background-color:#398e81!important;border-color:#398e81!important}.cecat-inner .pn:not(.pnc){color:#4e3f5c!important;background:#f6f3f8!important;border-color:#d9d0e1!important}.cecat-inner .pn:not(.pnc) span,.cecat-inner .pn:not(.pnc) strong{color:inherit!important}
.cc-filter-reset{display:flex;justify-content:flex-end;margin:0 0 2px}.cc-filter-reset a{color:#765d87!important;font-size:12px;padding:3px 0}.cc-filters .tsm th{color:#786487!important}.cc-filters .tbmu a{color:#776381!important}.cc-filters .tbmu li.a a{color:#69448b!important;background:#eee5f7!important;border-color:#e0d1ee!important}.cc-specification th,.cecat-resource-label{color:#7b648c!important}.cc-specification td,.cecat-resource-value{color:#594866!important}.cc-thread-images{display:flex;flex-direction:column;gap:16px;margin:18px 0 22px}.cc-thread-images[hidden]{display:none!important}.cc-thread-images img{display:block;max-width:100%!important;height:auto;border-radius:8px}.cc-thread-images ignore_js_op{display:block;max-width:100%}.cc-thread-images a{display:block;max-width:100%}.cc-profile-wallet{display:flex;gap:12px;align-items:center;background:white;color:#604474!important;border:1px solid #e6ddec;border-radius:10px;padding:16px;margin:15px}.cc-profile-wallet span{font-size:12px;color:#7c6c88}.cc-profile-wallet b{margin-left:auto;font-size:22px}.cecat-touch .manage_popup .button{background:#f5f0f9!important;color:#594568!important;border:1px solid #dfd2e8!important}.cecat-touch .manage_popup .button:hover{background:#ebe0f2!important}.cecat-touch .cecat-touch-services{justify-content:flex-start}.cecat-touch .cecat-touch-services a{flex:0 0 auto;min-width:70px}

/* Discuz repeats moderator links below the thread without the top bar id. */
.cecat-inner.pg_viewthread #postlist + .xi2.mbm.pbm.bbs{background:#fff;border:1px solid #e4dae9;border-radius:8px;padding:14px 18px;margin:12px 0;color:#594568!important;line-height:2.2}.cecat-inner.pg_viewthread #postlist + .xi2.mbm.pbm.bbs a{color:#594568!important;text-shadow:none!important}.cecat-inner.pg_viewthread #postlist + .xi2.mbm.pbm.bbs .pipe{color:#b3a7bc!important}.cecat-inner.pg_viewthread #postlist + .xi2.mbm.pbm.bbs a:hover{color:#442b59!important;text-decoration:underline}.cecat-inner #postlist .hin{opacity:1!important;visibility:visible!important}.cecat-inner #postlist .pob a{color:#66536f!important;opacity:1!important}.cecat-inner #postlist .pob{opacity:1!important}
:is(.cecat-inner,.cecat-touch) .cc-filters{padding-top:12px!important}:is(.cecat-inner,.cecat-touch) .cc-filters>.ptn.pbn{padding-top:0;padding-bottom:0;margin-bottom:0}
