/* FE-04 page-level restyle: native routes, data, permissions and actions remain authoritative. */
.yyc-page{min-width:0}.yyc-page .yyc-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.yyc-page .yyc-page-heading h1,.yyc-page .yyc-page-heading h2{margin:0;color:var(--yyc-color-text,#242127);font-weight:700}.yyc-page .yyc-page-heading p{margin:4px 0 0;color:var(--yyc-color-muted,#79747b)}
.yyc-page .bm,.yyc-page .bmw,.yyc-page .tl,.yyc-page .slst{border-color:var(--yyc-color-border,#e9e6e9);border-radius:var(--yyc-radius-lg,10px);background:var(--yyc-color-surface,#fff);box-shadow:0 2px 10px rgba(36,33,39,.04)}
.yyc-page .bm_h,.yyc-page .th{border-color:var(--yyc-color-border,#e9e6e9);background:#faf9fa}.yyc-page .bm_h h2,.yyc-page .bm_h h3{color:var(--yyc-color-text,#242127)}
.yyc-page a:focus-visible,.yyc-page button:focus-visible,.yyc-page input:focus-visible,.yyc-page select:focus-visible{outline:3px solid rgba(215,93,134,.24);outline-offset:2px}
.yyc-page img[loading="lazy"]{background:#f3f1f3}.yyc-page .emp,.yyc-page .notice{min-height:96px;padding:28px;color:var(--yyc-color-muted,#79747b);text-align:center}
.yyc-portal-page .article,.yyc-guide-page .tl tbody,.yyc-search-page .slst li{transition:transform .18s ease,box-shadow .18s ease}.yyc-portal-page .article:hover,.yyc-search-page .slst li:hover{transform:translateY(-2px)}
.yyc-forum-page .fl_tb td{padding-top:15px;padding-bottom:15px}.yyc-forum-page .fl_icn img{border-radius:10px}.yyc-forum-page .fl_by,.yyc-forum-page .fl_i{color:var(--yyc-color-muted,#79747b)}
.yyc-guide-page .tb,.yyc-search-page .tb{display:flex;gap:4px;overflow-x:auto;border-bottom-color:var(--yyc-color-border,#e9e6e9);scrollbar-width:none}.yyc-guide-page .tb::-webkit-scrollbar,.yyc-search-page .tb::-webkit-scrollbar{display:none}.yyc-guide-page .tb a,.yyc-search-page .tb a{min-height:44px;padding:0 14px;border:0;border-radius:8px;line-height:44px;white-space:nowrap}.yyc-guide-page .tb .a a,.yyc-search-page .tb .a a{background:var(--yyc-color-accent-soft,#fff0f5);color:var(--yyc-color-accent,#bd3e6a)}
.yyc-guide-page .tl td,.yyc-guide-page .tl th{border-color:var(--yyc-color-border,#e9e6e9)}.yyc-guide-page .common,.yyc-guide-page .new{overflow-wrap:anywhere}
.yyc-search-page .searchform{padding:18px;border:1px solid var(--yyc-color-border,#e9e6e9);border-radius:12px;background:#fff}.yyc-search-page .searchform input[type="text"]{min-height:44px;border-color:var(--yyc-color-border,#dedade);border-radius:8px}.yyc-search-page .slst li{padding:18px 4px;border-bottom-color:var(--yyc-color-border,#e9e6e9)}.yyc-search-page .slst h3{overflow-wrap:anywhere;line-height:1.5}.yyc-search-page em{color:var(--yyc-color-accent,#bd3e6a)}
.yyc-discovery-entry{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--yyc-color-border,#e9e6e9);border-radius:8px;background:#fff;color:var(--yyc-color-text,#242127);font-weight:600}.yyc-discovery-entry:hover{border-color:var(--yyc-color-accent,#bd3e6a);color:var(--yyc-color-accent,#bd3e6a)}
@media(max-width:760px){.yyc-page .yyc-page-heading{align-items:flex-start;flex-direction:column}.yyc-page .bm,.yyc-page .bmw,.yyc-page .tl,.yyc-page .slst{border-radius:8px}.yyc-forum-page .fl_by,.yyc-forum-page .fl_i{display:none}.yyc-forum-page .fl_tb td{padding-top:12px;padding-bottom:12px}.yyc-guide-page .tl .by,.yyc-guide-page .tl .num{display:none}.yyc-search-page .searchform{padding:12px}.yyc-search-page .slst li{padding:14px 0}.yyc-page .pg,.yyc-page .pgb{overflow-x:auto;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.yyc-page *{scroll-behavior:auto!important;transition:none!important}}

/* FE-05 resource/channel layer: native fid/type/filter routes remain authoritative. */
.yyc-shell-ready #wp.xm-wp:has(.yyc-resource-grid){width:calc(100% - 40px);max-width:none}
.yyc-resource-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px;min-height:0!important;align-items:start}
.yyc-resource-grid .yyc-resource-card{position:relative!important;inset:auto!important;width:auto!important;visibility:visible!important;margin:0!important;overflow:hidden;border:1px solid var(--yyc-color-border,#e9e6e9);border-radius:var(--yyc-radius-lg,10px);background:var(--yyc-color-surface,#fff);box-shadow:var(--yyc-shadow-sm,0 2px 10px rgba(36,33,39,.05))}
.yyc-resource-grid .yyc-resource-card>a{display:block;min-width:0;color:inherit}.yyc-resource-grid .yyc-resource-card .img{overflow:hidden;background:var(--yyc-color-surface-subtle,#f7f5f7)}
.yyc-resource-grid .yyc-resource-card .pic{position:relative;width:100%!important;padding-bottom:66.666%!important;overflow:hidden;transition:transform .18s ease}.yyc-resource-grid .yyc-resource-card .pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.yyc-resource-grid .yyc-resource-card:hover .pic{transform:scale(1.02)}
.yyc-resource-card__badges,.yyc-resource-card__dimensions,.yyc-resource-card__facts{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 14px 0;min-width:0}.yyc-resource-card__title{display:-webkit-box;min-height:2.9em;margin:10px 14px 0!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;line-height:1.45}
.yyc-resource-card .small.hide-over-2{margin:8px 14px 0;color:var(--yyc-color-text-muted,#79747b)}.yyc-resource-card__facts{color:var(--yyc-color-text-muted,#79747b);font-size:12px}.yyc-resource-card__dimensions{margin-bottom:8px}.yyc-resource-card .xm-flex.small{min-width:0;margin:10px 14px 14px!important}.yyc-resource-card .xm-flex.small>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yyc-resource-card .yyc-badge--publisher{margin-left:4px;vertical-align:middle}
@media(min-width:1700px){.yyc-resource-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}}
@media(max-width:560px){.yyc-shell-ready #wp.xm-wp:has(.yyc-resource-grid){width:100%;max-width:none}.yyc-resource-grid{grid-template-columns:minmax(0,1fr);gap:12px}.yyc-resource-card__badges,.yyc-resource-card__dimensions,.yyc-resource-card__facts,.yyc-resource-card__title,.yyc-resource-card .small.hide-over-2,.yyc-resource-card .xm-flex.small{margin-left:12px!important;margin-right:12px!important}}

/* FE-06 Resource Detail / Normal Thread. Business actions stay native/plugin-owned. */
.pg_viewthread .yyc-related-content{margin:18px 0 24px;padding:20px;border:1px solid #e1e8f3;border-radius:14px;background:linear-gradient(145deg,#fff,#f7faff);box-shadow:0 7px 22px rgba(33,56,105,.07)}.pg_viewthread .yyc-related-content>header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:15px}.pg_viewthread .yyc-related-content>header small{color:#315efb;font-size:10px;font-weight:800;letter-spacing:.13em}.pg_viewthread .yyc-related-content>header h2{margin:3px 0 0;color:#17205a;font-size:18px}.pg_viewthread .yyc-related-content>header>a{color:#315efb;font-size:12px;font-weight:700;white-space:nowrap}.pg_viewthread .yyc-related-content__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pg_viewthread .yyc-related-content__item{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:3px 10px;min-width:0;padding:13px;border:1px solid #e6ecf5;border-radius:10px;background:#fff;color:#17205a;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.pg_viewthread .yyc-related-content__item:hover{border-color:#b9c9f5;box-shadow:0 7px 16px rgba(49,94,251,.09);transform:translateY(-1px)}.pg_viewthread .yyc-related-content__mark{grid-row:1/3;display:grid;width:2rem;height:2rem;place-items:center;border-radius:8px;background:#edf2ff;color:#315efb}.pg_viewthread .yyc-related-content__item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pg_viewthread .yyc-related-content__item small{display:flex;justify-content:space-between;gap:10px;color:#8993aa;font-size:11px}.pg_viewthread .yyc-related-content__item time{white-space:nowrap}@media(max-width:640px){.pg_viewthread .yyc-related-content{padding:14px}.pg_viewthread .yyc-related-content__grid{grid-template-columns:1fr}.pg_viewthread .yyc-related-content>header{align-items:center}}
.pg_viewthread .yyc-community-resources .yyc-detail-side-heading{margin-bottom:14px;padding-bottom:11px;border-bottom:1px solid #e3eaf4}.pg_viewthread .yyc-community-resources .yyc-detail-side-title{margin-bottom:0}.pg_viewthread .yyc-community-more{display:inline-flex;align-items:center;gap:.2rem;padding:.35rem .5rem;border-radius:.45rem;background:#eaf1ff;color:#315be8!important;font-size:.72rem!important;font-weight:700;transition:background .18s ease,transform .18s ease}.pg_viewthread .yyc-community-more span{font-size:.95rem}.pg_viewthread .yyc-community-more:hover{background:#dce8ff;transform:translateX(2px)}
.pg_viewthread .yyc-site-notice__list{display:grid;gap:0;margin:0;padding:0;list-style:none}.pg_viewthread .yyc-site-notice__list li{margin:0;border-bottom:1px solid #e6edf5;list-style:none}.pg_viewthread .yyc-site-notice__list li:last-child{border-bottom:0}.pg_viewthread .yyc-site-notice__list a{display:grid;grid-template-columns:1.35rem minmax(0,1fr);align-items:center;gap:.55rem;padding:.7rem 0;color:#46516b;line-height:1.5}.pg_viewthread .yyc-site-notice__list i{color:#315be8;font-size:1rem}.pg_viewthread .yyc-site-notice__list span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pg_viewthread .yyc-site-notice__more{display:flex!important;align-items:center;justify-content:flex-end;gap:.25rem;margin-top:.65rem;padding:.45rem 0 0!important;border-top:1px solid #edf1f7;color:#315be8!important;font-size:.75rem;font-weight:700}.pg_viewthread .yyc-site-notice__more span{font-size:1rem}
.pg_viewthread .vp-card{position:relative;overflow:hidden;margin:24px 0;padding:22px;border:1px solid #b9caff;border-radius:14px;background:linear-gradient(135deg,#e4ecff 0%,#edf3ff 48%,#ffeaf2 100%);box-shadow:0 12px 30px rgba(49,94,251,.14)}
.pg_viewthread .vp-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#315efb,#ff2775)}
.pg_viewthread .vp-card .vp-head{position:relative;padding-bottom:14px;border-bottom:1px solid rgba(92,116,181,.16)}
.pg_viewthread .vp-card .vp-head h3{display:flex;align-items:center;gap:10px;color:#17205a;font-size:20px}
.pg_viewthread .vp-card .vp-head h3:before{content:"↓";display:grid;width:2rem;height:2rem;place-items:center;border-radius:9px;background:#315efb;color:#fff;font-size:17px;box-shadow:0 6px 14px rgba(49,94,251,.22)}
.pg_viewthread .vp-card .vp-chips{margin-top:16px}.pg_viewthread .vp-card .vp-chip{border:1px solid #c2d1fb;background:rgba(255,255,255,.72)}
.pg_viewthread .vp-card .vp-authorized{display:grid;gap:10px}.pg_viewthread .vp-card .vp-item{padding:14px;border:1px solid #cbd8f1;border-radius:10px;background:rgba(255,255,255,.78)}
.pg_viewthread .vp-card .vp-item:has(.vp-item-actions:empty)>strong{display:none}.pg_viewthread .vp-card .vp-item:has(.vp-item-actions:empty)>.vp-item-actions{display:none}
.pg_viewthread .vp-card .vp-btn{box-shadow:0 6px 14px rgba(39,119,232,.18);transition:transform .18s ease,box-shadow .18s ease}.pg_viewthread .vp-card .vp-btn:hover{box-shadow:0 9px 20px rgba(39,119,232,.25);transform:translateY(-1px)}
@media(max-width:600px){.pg_viewthread .vp-card{margin:18px 0;padding:16px}.pg_viewthread .vp-card .vp-head h3{font-size:17px}.pg_viewthread .vp-card .vp-item{padding:12px}}
.pg_viewthread #wp.xm-wp{width:auto;max-width:none;min-width:0;padding-right:clamp(12px,2vw,32px);padding-left:clamp(12px,2vw,32px);box-sizing:border-box}
.pg_viewthread .thread-t,.pg_viewthread .contnt-1180{min-width:0;box-sizing:border-box}
.pg_viewthread .contnt-1180{display:flex;align-items:flex-start;gap:clamp(18px,2.5vw,40px)}
.pg_viewthread .contnt-1180>.contnt-left{min-width:0;flex:1 1 auto;width:0!important}
.pg_viewthread .contnt-1180>.contnt-right{flex:0 0 clamp(260px,22vw,340px);width:clamp(260px,22vw,340px)!important;margin-left:0!important}
.pg_viewthread #postlist,.pg_viewthread .post-item,.pg_viewthread .plc,.pg_viewthread .pct,.pg_viewthread .pcb,.pg_viewthread .t_fsz,.pg_viewthread .t_f{max-width:100%;min-width:0;box-sizing:border-box}
.pg_viewthread .pcb img,.pg_viewthread .t_f img,.pg_viewthread .pct video,.pg_viewthread .pct iframe,.pg_viewthread .pct embed,.pg_viewthread .pct object{max-width:100%!important;height:auto}
.pg_viewthread .pcb pre,.pg_viewthread .pcb code,.pg_viewthread .blockcode,.pg_viewthread .quote{max-width:100%;box-sizing:border-box;overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.pg_viewthread .pcb table,.pg_viewthread .t_f table{max-width:100%!important}.pg_viewthread .attachlist,.pg_viewthread .pattl{max-width:100%;overflow-x:auto}
@media(max-width:1100px){.pg_viewthread .contnt-1180{gap:20px}.pg_viewthread .contnt-1180>.contnt-right{flex-basis:280px;width:280px!important}}
@media(max-width:900px){.pg_viewthread .contnt-1180{display:block}.pg_viewthread .contnt-1180>.contnt-left{float:none!important;width:100%!important}.pg_viewthread .contnt-1180>.contnt-right{display:none!important;width:0!important;margin:0!important}.pg_viewthread .thread-t{padding-right:0;padding-left:0}.pg_viewthread .head-nums{max-width:100%;flex-wrap:wrap}}
.pg_viewthread .contnt-1180{width:auto;max-width:none;margin-left:clamp(12px,2vw,32px);margin-right:clamp(12px,2vw,32px)}
.yyc-resource-detail,.yyc-auth-panel{margin:0 clamp(12px,2vw,32px) 18px;background:var(--yyc-color-surface,#fff);border:1px solid var(--yyc-color-border,#e7e9ee);border-radius:var(--yyc-radius-lg,16px);box-shadow:var(--yyc-shadow-sm,0 6px 20px rgba(20,28,45,.06))}
.yyc-resource-detail{display:grid;grid-template-columns:minmax(220px,32%) minmax(0,1fr);gap:clamp(18px,3vw,40px);padding:clamp(16px,2.5vw,32px)}
.yyc-resource-detail__media{min-height:220px;overflow:hidden;border-radius:var(--yyc-radius-md,12px);background:#f3f5f8}.yyc-resource-detail__media img{display:block;width:100%;height:100%;max-height:420px;object-fit:cover}.yyc-resource-detail__placeholder{min-height:220px;display:grid;place-items:center;color:#7b8190;font-weight:700;letter-spacing:.08em}
.yyc-resource-detail__summary{min-width:0;align-self:center}.yyc-resource-detail__eyebrow,.yyc-resource-detail__badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.yyc-resource-detail__meta{display:flex;flex-wrap:wrap;gap:8px 20px;color:#707583}.yyc-resource-detail__facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:20px}.yyc-resource-detail__facts>div{padding:13px 15px;border-radius:10px;background:#f6f7fa}.yyc-resource-detail__facts span{display:block;color:#7a808d;font-size:12px;margin-bottom:4px}.yyc-resource-detail__facts strong{overflow-wrap:anywhere}
.yyc-auth-panel{padding:clamp(16px,2.5vw,28px)}.yyc-auth-panel__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.yyc-auth-panel__head h2{margin:2px 0 0;font-size:22px}.yyc-auth-panel__head p{margin:0;color:#777e8b}.yyc-auth-panel__kicker{color:var(--yyc-color-primary,#315efb);font-size:11px;font-weight:800;letter-spacing:.12em}
.yyc-auth-panel__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.yyc-auth-dimension{min-width:0;padding:16px;border:1px solid #e7e9ee;border-radius:12px;background:#fafbfc}.yyc-auth-dimension>div:first-child,.yyc-auth-item>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.yyc-auth-dimension h3{margin:0;font-size:14px}.yyc-auth-dimension__code{color:#596173;font-size:11px;font-weight:800}.yyc-auth-dimension p{margin:10px 0 0;color:#727986}.yyc-auth-dimension__items{display:grid;gap:8px;margin-top:12px}.yyc-auth-item{min-width:0;padding:12px;border:1px solid var(--yyc-color-border,#e7e9ee);border-radius:10px;background:var(--yyc-color-surface,#fff)}.yyc-auth-item p{overflow-wrap:anywhere}.yyc-auth-dimension__action,.yyc-auth-item .yyc-btn,.yyc-auth-purchase-form{margin-top:12px}.yyc-auth-purchase-form{display:block}.yyc-auth-purchase-form button{width:100%}.yyc-auth-dimension .yyc-status,.yyc-auth-dimension .yyc-alert{margin-top:12px}.yyc-auth-dimension .yyc-alert p{margin-top:5px}
.yyc-resource-state--needs_login,.yyc-resource-state--needs_purchase{color:#8a5700;background:#fff1cf}.yyc-resource-state--locked{color:#8b2331;background:#ffe5e8}.yyc-resource-state--authorized{color:#176b45;background:#dcf5e8}.yyc-resource-state--free{color:#315efb;background:#e8edff}.yyc-auth-panel__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.yyc-normal-thread-marker{display:flex;align-items:center;gap:10px;margin:0 clamp(12px,2vw,32px) 14px;color:#737986}.yyc-normal-thread-marker span{font-size:10px;font-weight:800;letter-spacing:.14em}.yyc-normal-thread-marker strong{font-size:13px;color:#3e4553}
@media(max-width:800px){.yyc-resource-detail{grid-template-columns:1fr}.yyc-resource-detail__media{min-height:180px;max-height:320px}.yyc-auth-panel__head{display:block}.yyc-auth-panel__head p{margin-top:8px}.yyc-auth-panel__grid{grid-template-columns:1fr}}
@media(max-width:480px){.yyc-resource-detail,.yyc-auth-panel{margin-left:12px;margin-right:12px;border-radius:12px}.yyc-resource-detail{padding:12px}.yyc-auth-panel{padding:14px}.yyc-resource-detail__meta{display:grid;gap:6px}.yyc-auth-panel__actions .yyc-btn{flex:1 1 100%;text-align:center}}

/* Resource thread classification facts: keep native Discuz data, present it as a scoped information card. */
.pg_viewthread .typeoption{margin:18px 0 24px}
.pg_viewthread .typeoption .cgtl{width:100%;margin:0!important;overflow:hidden;border:1px solid #dfe6f2;border-collapse:separate;border-spacing:0;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(35,56,105,.07)}
.pg_viewthread .typeoption .cgtl caption{position:relative;padding:16px 20px 16px 50px;border:0;background:linear-gradient(135deg,#f2f6ff 0%,#fbf8ff 100%);color:#17205a;font-size:18px;font-weight:800;line-height:1.4;text-align:left}
.pg_viewthread .typeoption .cgtl caption:before{content:"\2193";position:absolute;left:18px;top:50%;display:grid;width:24px;height:24px;place-items:center;border-radius:8px;background:#315efb;color:#fff;font-size:15px;font-weight:700;box-shadow:0 5px 12px rgba(49,94,251,.22);transform:translateY(-50%)}
.pg_viewthread .typeoption .cgtl tr{transition:background-color .18s ease}
.pg_viewthread .typeoption .cgtl tr:hover{background:#fafcff}
.pg_viewthread .typeoption .cgtl th,.pg_viewthread .typeoption .cgtl td{box-sizing:border-box;padding:13px 18px;border:0;border-top:1px solid #edf1f6;line-height:1.55;text-align:left;vertical-align:middle}
.pg_viewthread .typeoption .cgtl th{width:170px;background:#f8faff;color:#68738a;font-size:13px;font-weight:700;white-space:nowrap}
.pg_viewthread .typeoption .cgtl td{color:#263152;font-size:14px;font-weight:600;overflow-wrap:anywhere}
@media(max-width:600px){.pg_viewthread .typeoption{margin:14px 0 20px}.pg_viewthread .typeoption .cgtl{border-radius:12px}.pg_viewthread .typeoption .cgtl caption{padding:14px 16px 14px 46px;font-size:16px}.pg_viewthread .typeoption .cgtl caption:before{left:15px;width:23px;height:23px}.pg_viewthread .typeoption .cgtl tr{display:grid;grid-template-columns:minmax(92px,34%) minmax(0,1fr)}.pg_viewthread .typeoption .cgtl th,.pg_viewthread .typeoption .cgtl td{width:auto;padding:11px 12px}.pg_viewthread .typeoption .cgtl th{font-size:12px}.pg_viewthread .typeoption .cgtl td{font-size:13px}}

/* FE-06 mobile viewthread: release the hidden desktop rail and keep native post tables fluid. */
[id^="fwin_miscreport"] .m_c{overflow:hidden;border:0!important;border-radius:14px;background:#fff;box-shadow:0 20px 55px rgba(21,35,78,.22)}[id^="fwin_miscreport"] .flb{display:flex;min-height:3.6rem;box-sizing:border-box;align-items:center;justify-content:space-between;padding:0 1.15rem;border-bottom:1px solid #e8edf5;background:linear-gradient(135deg,#f4f7ff,#fff5f9)}[id^="fwin_miscreport"] .flb em{color:#17205a;font-size:18px;font-weight:800}[id^="fwin_miscreport"] .flbc{position:relative;display:block;width:2rem;height:2rem;overflow:hidden;border-radius:50%;background:none!important;color:transparent!important;transition:background .18s ease}[id^="fwin_miscreport"] .flbc:before,[id^="fwin_miscreport"] .flbc:after{content:"";position:absolute;left:.52rem;top:.95rem;width:1rem;height:2px;border-radius:2px;background:#59647d;transform:rotate(45deg)}[id^="fwin_miscreport"] .flbc:after{transform:rotate(-45deg)}[id^="fwin_miscreport"] .flbc:hover{background:#edf1f8!important}[id^="fwin_miscreport"] form{width:min(30rem,calc(100vw - 2rem))!important}[id^="fwin_miscreport"] .reason_slct{padding:1.15rem 1.25rem 1.3rem}[id^="fwin_miscreport"] .reason_slct>p:first-child{margin:0 0 .8rem;color:#65718e;font-size:13px}[id^="fwin_miscreport"] #report_reasons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:0}[id^="fwin_miscreport"] #report_reasons br{display:none}[id^="fwin_miscreport"] #report_reasons label{display:flex;min-height:2.75rem;box-sizing:border-box;align-items:center;gap:.5rem;padding:.65rem .75rem;border:1px solid #e2e8f2;border-radius:9px;background:#fafcff;color:#354060;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}[id^="fwin_miscreport"] #report_reasons label:hover{border-color:#b9c9f5;background:#f1f5ff;transform:translateY(-1px)}[id^="fwin_miscreport"] #report_reasons .pr{width:17px;height:17px;margin:0;accent-color:#315efb}[id^="fwin_miscreport"] #report_other{margin-top:.75rem}[id^="fwin_miscreport"] #report_message{display:block;width:100%!important;min-height:6rem;box-sizing:border-box;padding:.75rem;border:1px solid #dbe3ef;border-radius:9px;background:#fbfcff;color:#263152;resize:vertical}[id^="fwin_miscreport"] #report_message:focus{border-color:#7892e5;outline:3px solid rgba(49,94,251,.1)}[id^="fwin_miscreport"] .o{display:flex;min-height:4rem;box-sizing:border-box;align-items:center;justify-content:flex-end;padding:.75rem 1.25rem!important;border-top:1px solid #e8edf5;background:#f8faff}[id^="fwin_miscreport"] #report_msg{margin-right:auto;color:#7a86a3;font-size:12px}[id^="fwin_miscreport"] #report_submit{min-width:6rem;height:2.55rem;padding:0 1rem;border:0;border-radius:8px;background:linear-gradient(135deg,#315efb,#2777e8);color:#fff;box-shadow:0 7px 16px rgba(49,94,251,.22);cursor:pointer}[id^="fwin_miscreport"] #report_submit strong{color:#fff;font-size:14px}@media(max-width:520px){[id^="fwin_miscreport"] form{width:calc(100vw - 1.25rem)!important}[id^="fwin_miscreport"] #report_reasons{grid-template-columns:1fr}[id^="fwin_miscreport"] .reason_slct{padding:1rem}[id^="fwin_miscreport"] .o{padding:.7rem 1rem!important}}
.pg_viewthread .yyc-post-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0;padding:14px;border:1px solid #e2e8f3;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(33,56,105,.06)}.pg_viewthread .yyc-post-action{display:grid;grid-template-columns:2.6rem minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:11px;border:1px solid #e8edf5;border-radius:10px;background:#fafcff;color:#17205a;transition:border-color .18s ease,background .18s ease,transform .18s ease}.pg_viewthread .yyc-post-action:hover,.pg_viewthread .yyc-post-action.is-active{border-color:#b9c9f5;background:#eef3ff;transform:translateY(-1px)}.pg_viewthread .yyc-post-action>i{display:grid;width:2.6rem;height:2.6rem;place-items:center;border-radius:10px;background:#edf2ff;color:#315efb;font-size:20px}.pg_viewthread .yyc-post-action.is-active>i{background:#315efb;color:#fff}.pg_viewthread .yyc-post-action>span{display:flex;min-width:0;flex-direction:column}.pg_viewthread .yyc-post-action strong{font-size:14px}.pg_viewthread .yyc-post-action small{margin-top:3px;overflow:hidden;color:#8993aa;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.pg_viewthread .yyc-post-action small b{font-weight:700}.pg_viewthread .yyc-post-action.is-report>i{background:#fff2f2;color:#c44}.pg_viewthread .yyc-post-action.is-report:hover{border-color:#f1caca;background:#fff7f7}@media(max-width:700px){.pg_viewthread .yyc-post-actions{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}}@media(max-width:400px){.pg_viewthread .yyc-post-action{grid-template-columns:2.25rem minmax(0,1fr);padding:9px}.pg_viewthread .yyc-post-action>i{width:2.25rem;height:2.25rem}}
.pg_viewthread .yyc-related-content__item{grid-template-columns:7.25rem minmax(0,1fr);gap:12px;padding:0;overflow:hidden}.pg_viewthread .yyc-related-content__cover{display:grid;width:7.25rem;aspect-ratio:3/2;place-items:center;overflow:hidden;background:linear-gradient(135deg,#edf2ff,#f6f0ff);color:#8295ca}.pg_viewthread .yyc-related-content__cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.pg_viewthread .yyc-related-content__item:hover .yyc-related-content__cover img{transform:scale(1.035)}.pg_viewthread .yyc-related-content__cover i{font-size:1.5rem}.pg_viewthread .yyc-related-content__copy{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:10px 12px 10px 0}.pg_viewthread .yyc-related-content__copy strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.5;white-space:normal}.pg_viewthread .yyc-related-content__copy small{display:flex;justify-content:space-between;gap:10px;margin-top:8px;color:#8993aa;font-size:11px}.pg_viewthread .yyc-related-content__copy time{white-space:nowrap}.pg_viewthread .yyc-related-content__mark{display:none}@media(max-width:760px){.pg_viewthread .yyc-related-content__grid{grid-template-columns:1fr}}@media(max-width:480px){.pg_viewthread .yyc-related-content__item{grid-template-columns:6rem minmax(0,1fr)}.pg_viewthread .yyc-related-content__cover{width:6rem}.pg_viewthread .yyc-related-content__copy small time{display:none}}
@media(max-width:800px){
.pg_viewthread .contnt-1180{display:block;width:auto;margin-left:0;margin-right:0}
.pg_viewthread .contnt-left{float:none!important;width:100%!important;min-width:0}
.pg_viewthread .contnt-right{display:none!important;width:0!important;margin:0!important}
.pg_viewthread #postlist,.pg_viewthread .post-item,.pg_viewthread .post-item>table,.pg_viewthread .plc,.pg_viewthread .pct,.pg_viewthread .pcb,.pg_viewthread .t_fsz,.pg_viewthread .t_fsz>table,.pg_viewthread .t_f{width:100%!important;min-width:0;box-sizing:border-box}
.pg_viewthread .plc{padding-left:14px;padding-right:14px}
.pg_viewthread .t_f{overflow-wrap:anywhere;word-break:break-word}
.pg_viewthread .t_f img,.pg_viewthread .t_f video{max-width:100%!important;height:auto!important}
}

/* Viewthread right rail */
.pg_viewthread .yyc-detail-side-card{overflow:hidden;margin-bottom:16px;padding:18px;border:1px solid #e6edf5;border-radius:12px;background:#f7fbff;box-shadow:none}.pg_viewthread .yyc-detail-side-title{margin:0 0 14px;color:#18225c;font-size:17px;font-weight:700}.pg_viewthread .yyc-detail-side-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.pg_viewthread .yyc-detail-side-heading>a{color:#7a849a;font-size:12px;white-space:nowrap}.pg_viewthread .yyc-detail-side-card.author-block .user-item{padding:0;background:transparent}.pg_viewthread .yyc-detail-side-card.author-block .operate-btn{margin-top:16px}.pg_viewthread .yyc-detail-side-card.author-block .b-btn1,.pg_viewthread .yyc-detail-side-card.author-block .b-btn2{box-sizing:border-box;min-width:0}.pg_viewthread .yyc-author-resource-list{display:grid;gap:12px}.pg_viewthread .yyc-author-resource-item{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;color:#172044}.pg_viewthread .yyc-author-resource-cover{display:flex;align-items:center;justify-content:center;overflow:hidden;width:82px;height:62px;border-radius:8px;background:#eaf0f7;color:#91a0b4}.pg_viewthread .yyc-author-resource-cover img{width:100%;height:100%;object-fit:cover}.pg_viewthread .yyc-author-resource-copy{display:flex;min-width:0;flex-direction:column;justify-content:center}.pg_viewthread .yyc-author-resource-copy strong{overflow:hidden;font-size:13px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.pg_viewthread .yyc-author-resource-copy small{margin-top:3px;color:#8791a6;font-size:11px}.pg_viewthread .yyc-author-resource-copy em{margin-top:3px;color:#f23f64;font-size:12px;font-style:normal;font-weight:700}.pg_viewthread .yyc-author-resource-copy em.is-free{color:#4776ef}.pg_viewthread .yyc-site-notice>a{display:flex;gap:10px;color:#46516b;line-height:1.5}.pg_viewthread .yyc-site-notice i{color:#315be8;font-size:22px}.pg_viewthread .yyc-site-notice span{display:flex;min-width:0;flex-direction:column}.pg_viewthread .yyc-site-notice strong{color:#28324e;font-size:13px}.pg_viewthread .yyc-site-notice small{margin-top:5px;color:#7b8599;font-size:12px}@media(max-width:800px){.pg_viewthread .yyc-detail-side-card{display:none}}
.pg_viewthread .yyc-thread-sidebar-ad{position:relative;padding:10px;background:#fff}.pg_viewthread .yyc-thread-sidebar-ad__label{position:absolute;z-index:2;top:14px;left:14px;padding:2px 7px;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:rgba(20,29,69,.68);color:#fff;font-size:10px;line-height:1.5;letter-spacing:.08em}.pg_viewthread .yyc-thread-sidebar-ad__content{overflow:hidden;border-radius:9px}.pg_viewthread .yyc-thread-sidebar-ad__content>a,.pg_viewthread .yyc-thread-sidebar-ad__content img{display:block;max-width:100%}.pg_viewthread .yyc-thread-sidebar-ad__content img{width:100%;height:auto}.pg_viewthread .yyc-thread-sidebar-ad__content>div,.pg_viewthread .yyc-thread-sidebar-ad__content iframe{max-width:100%}
.pg_viewthread .yyc-detail-more-box{display:block;padding:0;background:transparent}.pg_viewthread .yyc-detail-more-link{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;border:1px solid #dfe6f0;border-radius:10px;background:#f7fbff;color:#315efb;font-size:14px;font-weight:700}.pg_viewthread .yyc-detail-more-link:hover{border-color:#315efb;background:#eef3ff;color:#234bd8}
.pg_viewthread .yyc-related-content__cover.is-fallback:before,.pg_viewthread .yyc-author-resource-cover.is-fallback:before{content:"暂无预览";display:grid;width:100%;height:100%;place-items:center;color:#7f91b8;font-size:11px;font-weight:700;letter-spacing:.04em}.pg_viewthread .yyc-related-content__cover img[hidden],.pg_viewthread .yyc-author-resource-cover img[hidden]{display:none!important}
.pg_viewthread .yyc-quick-reply-presets{display:flex;align-items:center;gap:10px;margin:0 0 10px}.pg_viewthread .yyc-quick-reply-presets label{color:#536078;font-size:13px;font-weight:700;white-space:nowrap}.pg_viewthread .yyc-quick-reply-presets .ps{box-sizing:border-box;min-width:230px;height:38px;padding:0 34px 0 12px;border:1px solid #dce3ed;border-radius:8px;background-color:#fff;color:#344054}@media(max-width:600px){.pg_viewthread .yyc-quick-reply-presets{align-items:stretch;flex-direction:column}.pg_viewthread .yyc-quick-reply-presets .ps{width:100%;min-width:0}}

/* Avatar editor: keep native controls above the crop canvas in the account layout. */
#avatarform #avataradjuster .backfileselectiondiv,#avatarform #avataradjuster .saveAvatardiv{display:block!important;visibility:visible!important;opacity:1!important;z-index:30}
#avatarform #avataradjuster .backfileselection,#avatarform #avataradjuster .saveAvatar{display:block!important;visibility:visible!important;opacity:1!important;box-sizing:border-box;border:0!important;background:#315efb!important;color:#fff!important;font-weight:700;box-shadow:0 7px 16px rgba(49,94,251,.22)}
#avatarform #avataradjuster .backfileselection:hover,#avatarform #avataradjuster .saveAvatar:hover{background:#244ed5!important;transform:translateY(-1px)}

/* Shared reply floors and native reward best-answer seal. */
.pg_viewthread .yyc-comment-floor{position:relative;overflow:hidden;border-top:1px dashed #d8dce4}
.pg_viewthread .yyc-best-answer-stamp{position:absolute;z-index:3;top:50%;right:clamp(1rem,7vw,6rem);display:grid;width:5.75rem;aspect-ratio:1;box-sizing:border-box;grid-template-columns:repeat(2,1fr);place-items:center;padding:.62rem;border:.22rem solid rgba(230,52,66,.78);border-radius:.9rem;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 .14rem rgba(230,52,66,.2),0 0 0 .07rem rgba(230,52,66,.1);color:rgba(218,35,52,.82);font-size:1.48rem;font-weight:900;line-height:1;letter-spacing:.06em;pointer-events:none;transform:translateY(-50%) rotate(-8deg);transform-origin:center;mix-blend-mode:multiply;user-select:none}
.pg_viewthread .yyc-best-answer-stamp:before,.pg_viewthread .yyc-best-answer-stamp:after{content:'';position:absolute;inset:.34rem;border:.09rem solid rgba(230,52,66,.45);border-radius:.7rem}
.pg_viewthread .yyc-best-answer-stamp:after{inset:.56rem;border-style:dashed;opacity:.72}
.pg_viewthread .yyc-best-answer-stamp b{position:relative;z-index:1;color:inherit;font:inherit;text-shadow:none}
@media(max-width:700px){.pg_viewthread .yyc-best-answer-floor .plc{padding-right:5.25rem!important}.pg_viewthread .yyc-best-answer-stamp{right:.55rem;width:4rem;padding:.42rem;border-width:.17rem;border-radius:.68rem;font-size:1rem}.pg_viewthread .yyc-best-answer-stamp:before{inset:.22rem}.pg_viewthread .yyc-best-answer-stamp:after{inset:.35rem}}

/* Native reward presentation: restyle existing rewardprice/bestpost data without changing settlement. */
.pg_viewthread .rwd>.rusld,.pg_viewthread .rwd>.rsld,.pg_viewthread .rwdbst{display:none!important}
.pg_viewthread .rwd,.pg_viewthread .rwdn{float:none!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.pg_viewthread .yyc-reward-status-card,.pg_viewthread .yyc-reward-best-card{box-sizing:border-box;margin:18px 0;border-radius:16px}
.pg_viewthread .yyc-reward-card-icon{display:grid;flex:0 0 auto;width:3.25rem;height:3.25rem;place-items:center;border-radius:14px;font-size:1.45rem;font-weight:900}
.pg_viewthread .yyc-reward-status-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:20px 22px;border:1px solid #ffe0a3;background:linear-gradient(135deg,#fff9e9 0%,#fff 72%);box-shadow:0 10px 26px rgba(133,91,13,.08)}
.pg_viewthread .yyc-reward-status-card .yyc-reward-card-icon{background:linear-gradient(135deg,#ffbf37,#ff8a30);color:#fff;box-shadow:0 8px 18px rgba(255,145,42,.24)}
.pg_viewthread .yyc-reward-card-copy{min-width:0}.pg_viewthread .yyc-reward-card-copy small,.pg_viewthread .yyc-reward-best-card header small{color:#a56b05;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.pg_viewthread .yyc-reward-card-copy h2,.pg_viewthread .yyc-reward-best-card h2{margin:3px 0 0;color:#17205a;font-size:19px;line-height:1.35}.pg_viewthread .yyc-reward-card-copy p{margin:5px 0 0;color:#7b8396;font-size:13px}
.pg_viewthread .yyc-reward-card-stats{display:flex;align-items:stretch;gap:8px}.pg_viewthread .yyc-reward-card-stats>span{display:flex;min-width:76px;flex-direction:column;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #f3e6c7;border-radius:10px;background:rgba(255,255,255,.72)}.pg_viewthread .yyc-reward-card-stats strong{color:#ef7d18;font-size:18px;line-height:1.2}.pg_viewthread .yyc-reward-card-stats small{margin-top:3px;color:#8d7750;font-size:11px}
.pg_viewthread .yyc-reward-card-action{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:0 18px;border-radius:10px;background:linear-gradient(135deg,#ff9b2f,#ff6d3d);color:#fff!important;font-size:14px;font-weight:800;box-shadow:0 8px 18px rgba(255,116,52,.2)}
.pg_viewthread .yyc-reward-best-card{overflow:hidden;border:1px solid #ffd4dc;background:#fff;box-shadow:0 12px 32px rgba(178,46,72,.09)}
.pg_viewthread .yyc-reward-best-card>header{display:flex;align-items:center;gap:14px;padding:18px 20px;border-bottom:1px solid #ffe5ea;background:linear-gradient(135deg,#fff1f4,#fff 72%)}.pg_viewthread .yyc-reward-best-card>header .yyc-reward-card-icon{background:linear-gradient(135deg,#ff667f,#e93959);color:#fff;box-shadow:0 8px 18px rgba(226,52,84,.22)}.pg_viewthread .yyc-reward-best-card>header>div:nth-child(2){min-width:0;flex:1}.pg_viewthread .yyc-reward-best-card header small{color:#d14b63}.pg_viewthread .yyc-reward-best-prize{display:flex;align-items:baseline;gap:5px;padding:8px 13px;border-radius:999px;background:#fff4df;color:#a86600;white-space:nowrap}.pg_viewthread .yyc-reward-best-prize strong{font-size:20px}.pg_viewthread .yyc-reward-best-prize span{font-size:12px;font-weight:700}
.pg_viewthread .yyc-reward-best-answer{display:-webkit-box;max-height:6.9em;overflow:hidden;padding:18px 22px;color:#3d4558;font-size:14px;line-height:1.75;-webkit-box-orient:vertical;-webkit-line-clamp:3}.pg_viewthread .yyc-reward-best-answer>*{margin-top:0;margin-bottom:.5em}.pg_viewthread .yyc-reward-best-card>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-top:1px solid #f0f2f6;background:#fbfcff}.pg_viewthread .yyc-reward-best-user{display:flex;min-width:0;align-items:center;gap:10px}.pg_viewthread .yyc-reward-best-user>a:first-child{display:block;overflow:hidden;width:36px;height:36px;border-radius:50%;background:#eef2f8}.pg_viewthread .yyc-reward-best-user img{display:block;width:100%;height:100%;object-fit:cover}.pg_viewthread .yyc-reward-best-user>span{display:flex;min-width:0;flex-direction:column}.pg_viewthread .yyc-reward-best-user small{color:#9aa2b2;font-size:10px}.pg_viewthread .yyc-reward-best-user>span>a{overflow:hidden;color:#273253;font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.pg_viewthread .yyc-reward-best-link{display:inline-flex;align-items:center;gap:6px;color:#e33b5a!important;font-size:13px;font-weight:800;white-space:nowrap}.pg_viewthread .yyc-reward-best-link span{font-size:20px;line-height:1}
@media(max-width:700px){.pg_viewthread .yyc-reward-status-card{grid-template-columns:auto minmax(0,1fr);gap:12px;padding:16px}.pg_viewthread .yyc-reward-card-stats{grid-column:1/-1}.pg_viewthread .yyc-reward-card-stats>span{flex:1}.pg_viewthread .yyc-reward-card-action{grid-column:1/-1}.pg_viewthread .yyc-reward-best-card>header{align-items:flex-start;padding:15px}.pg_viewthread .yyc-reward-card-icon{width:2.8rem;height:2.8rem;border-radius:12px;font-size:1.2rem}.pg_viewthread .yyc-reward-best-prize{padding:6px 9px}.pg_viewthread .yyc-reward-best-prize strong{font-size:17px}.pg_viewthread .yyc-reward-best-answer{padding:15px 16px}.pg_viewthread .yyc-reward-best-card>footer{align-items:flex-start;flex-direction:column;padding:12px 15px}.pg_viewthread .yyc-reward-best-link{align-self:flex-end}}

/* Native reward adoption action: visible only when X5 renders setanswer() for the author/moderator. */
.pg_viewthread .yyc-comment-floor a[onclick^="setanswer("]{display:inline-flex;min-height:34px;box-sizing:border-box;align-items:center;gap:6px;padding:0 13px;border:1px solid #ffb6c3;border-radius:999px;background:linear-gradient(135deg,#fff1f4,#ffe7ec);color:#df3555!important;font-size:12px;font-weight:800;line-height:1;box-shadow:0 5px 14px rgba(220,54,85,.12);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.pg_viewthread .yyc-comment-floor a[onclick^="setanswer("]:before{content:'✓';display:grid;width:18px;height:18px;place-items:center;border-radius:50%;background:#e83f5f;color:#fff;font-size:11px;font-weight:900}.pg_viewthread .yyc-comment-floor a[onclick^="setanswer("]:hover{background:#ffe0e7;box-shadow:0 7px 18px rgba(220,54,85,.18);transform:translateY(-1px)}
@media(max-width:700px){.pg_viewthread .yyc-comment-floor a[onclick^="setanswer("]{min-height:31px;padding:0 10px;font-size:11px}.pg_viewthread .yyc-comment-floor a[onclick^="setanswer("]:before{width:16px;height:16px;font-size:10px}}
