*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f6f5f2;color:#252a32;font:15px/1.65 "Segoe UI","Microsoft YaHei",sans-serif}a{color:inherit;text-decoration:none}a:hover{color:#c74444}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.25;letter-spacing:-1px}h2{font-size:23px;line-height:1.4}h3{font-size:18px}.shell{max-width:1220px;margin:auto;padding:0 28px}.site-header{background:#fff;border-bottom:1px solid #e6e4df}.header-inner{display:flex;align-items:center;gap:40px;min-height:90px}.brand{font-size:21px;font-weight:800;display:flex;align-items:center;gap:10px;letter-spacing:2px;white-space:nowrap}.brand-mark{background:#d54b48;color:#fff;padding:3px 8px;border-radius:5px}.header-inner > nav{display:flex;gap:30px;align-self:stretch}.header-inner > nav a{display:flex;align-items:center;border-bottom:3px solid transparent;font-weight:600}.header-inner > nav a.active{border-color:#d54b48;color:#d54b48}.header-user{display:flex;margin-left:auto;gap:17px;align-items:center;font-size:13px}.points-chip{display:inline-block;padding:6px 12px;background:#fbefea;color:#a84928;border-radius:30px;white-space:nowrap}.notification-dot{background:#d54b48;color:white;font-size:11px;border-radius:20px;padding:1px 5px;margin-left:5px}.page-main{padding-top:32px;padding-bottom:64px;min-height:65vh}.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d54b48;border-radius:7px;padding:10px 19px;font-weight:600;background:#d54b48;color:#fff;text-align:center;line-height:1.5}.button:hover{background:#bf3e3a;color:white}.button.secondary{background:#fff;color:#555;border-color:#ddd9d3}.button.secondary:hover{background:#f5f2ef}.button.compact{padding:6px 12px;font-size:13px}.button.large{padding:13px 24px}.button.light{background:#fff;color:#234f50;border-color:#fff}.button:disabled{cursor:not-allowed;background:#aaa;border-color:#aaa;color:#fff}.text-button{border:0;background:transparent;color:#ac4542;padding:4px 0}.hero{display:flex;justify-content:space-between;align-items:center;padding:44px 50px;background:#204749;color:white;border-radius:12px;overflow:hidden;min-height:310px}.hero h1{font-size:46px;line-height:1.3;margin:10px 0 20px}.hero p{color:#d9e3e0;max-width:540px;font-size:15px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:#8b7060;text-transform:uppercase}.hero .eyebrow{color:#b9d5ce}.hero-art{position:relative;width:280px;padding:20px}.film-ticket{display:block;background:#efe6cc;color:#285355;transform:rotate(-7deg);padding:26px 28px;font-size:36px;font-weight:900;letter-spacing:4px;border:2px dashed #b7b096;box-shadow:15px 15px 0 #163638}.film-ticket small{font-size:16px;letter-spacing:6px}.hero-mini{position:relative;background:#d54b48;border-radius:9px;padding:16px 22px;transform:rotate(6deg);margin:4px -30px 0 50px;box-shadow:0 10px 24px #143e40}.hero-mini b{display:block;font-size:25px}.hero-mini span{font-size:12px}.section-heading,.page-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:30px 0 20px}.section-heading h1,.section-heading h2{margin:6px 0}.section-heading>a{font-size:14px;color:#bc4845}.page-intro{margin-top:10px;padding:10px 0}.page-intro h1{margin:8px 0 12px}.page-intro p{color:#777;max-width:650px}.filter-bar{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e7e3dc;border-radius:10px;padding:15px;margin-bottom:24px}.search-field{flex:1}.filter-bar select{width:190px}.checkbox-label{display:flex;align-items:center;white-space:nowrap;font-size:14px}.checkbox-label input{width:16px;margin-right:5px}.resource-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px}.resource-card{background:#fff;border:1px solid #e5e1db;border-radius:10px;overflow:hidden;transition:transform .15s}.resource-card:hover{transform:translateY(-3px)}.poster-link{display:block;position:relative;height:275px;background:#e7e4dc}.poster-link img{width:100%;height:100%;object-fit:cover}.poster-placeholder{height:100%;background:#e7e2d7;padding:25px;display:flex;flex-direction:column;justify-content:space-between;color:#5b625e;border:10px solid #efede6}.poster-placeholder span{font-size:12px;letter-spacing:5px}.poster-placeholder b{font-size:22px;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}.price-badge{position:absolute;right:12px;top:12px;background:#fff;color:#a9443e;border-radius:6px;padding:5px 10px;font-size:12px;font-weight:700}.price-badge.free{background:#edf7ef;color:#357953}.card-content{padding:18px}.card-content .eyebrow{font-size:10px;letter-spacing:1px}.card-content h3{margin:6px 0 9px;line-height:1.5}.line-clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#83817a;font-size:12px;min-height:40px}.card-meta{display:flex;justify-content:space-between;gap:6px;font-size:11px;color:#8c8880;margin-top:16px}.card-meta span:first-child{max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pagination{display:flex;gap:14px;align-items:center;justify-content:center;padding:25px;font-size:13px}.pagination a{border:1px solid #ddd8cf;border-radius:5px;padding:5px 12px;background:#fff}.stars{display:grid;grid-template-columns:repeat(8,1fr);gap:18px}.stars a{text-align:center;font-size:13px}.stars img{width:100%;height:125px;object-fit:cover;border-radius:8px;margin-bottom:9px}.site-footer{background:#ece9e2;padding:33px 0;color:#7f7a70;font-size:12px}.site-footer strong{font-size:14px;color:#565950}.site-footer p{margin:12px 0}.site-footer a{margin-right:22px}.panel{background:#fff;border:1px solid #e5e0d9;border-radius:10px;padding:26px;margin-bottom:20px}.panel h2{margin-bottom:16px}.breadcrumb{font-size:12px;color:#999;margin-bottom:18px}.resource-detail{display:grid;grid-template-columns:270px 1fr;gap:38px}.detail-poster{height:370px;border-radius:8px;overflow:hidden}.detail-poster>img{height:100%;width:100%;object-fit:cover}.detail-copy h1{margin:10px 0 20px;font-size:32px}.description{white-space:pre-wrap;overflow-wrap:anywhere}.detail-meta{display:flex;flex-wrap:wrap;gap:10px 25px;font-size:12px;color:#777}.price-line{padding:22px 0;font-size:14px}.price-line strong{font-size:32px;color:#c74d47}.price-line strong.free-text{font-size:23px;color:#387a55}.price-line small{display:block;color:#888}.unlocked-resource{border:1px solid #d4e5d9;background:#f6fbf7;border-radius:8px;padding:20px;margin-top:14px}.copy-row{display:flex;gap:9px;margin:8px 0 16px}.copy-row input{flex:1;min-width:0}.muted{font-size:13px;color:#89867e;margin-top:15px}.empty-state{text-align:center;padding:50px 20px;color:#8a867e;font-size:14px}.notice{padding:15px 19px;border-radius:7px;margin:15px 0;font-size:13px;border:1px solid transparent}.notice.success{background:#eef8f1;border-color:#cee5d6;color:#347152}.notice.info{background:#f8f2e6;border-color:#e9dabd;color:#80602b}.auth-layout{display:grid;grid-template-columns:1fr 420px;gap:60px;align-items:center;max-width:1000px;margin:40px auto}.auth-layout>div h1{font-size:42px;margin:15px 0}.auth-layout>div p{color:#858279;max-width:440px}.auth-form{max-width:620px}.auth-form label{margin-bottom:18px;display:block}.auth-form label input,.auth-form label select,.auth-form label textarea{margin-top:7px}.auth-form>.button{width:100%;margin-top:8px}label{font-size:13px;font-weight:600}input,select,textarea{width:100%;border:1px solid #dcd7ce;border-radius:6px;padding:11px 12px;background:#fff;color:#333;min-width:0}input:focus,select:focus,textarea:focus{border-color:#c26a5c;outline:2px solid #f4ded7}input[type=file]{padding:12px;background:#faf8f4;font-size:13px}textarea{resize:vertical}small{display:block;color:#8b877f;font-size:11px;line-height:1.7;margin-top:5px;font-weight:400}.workspace{display:grid;grid-template-columns:225px 1fr;gap:28px}.workspace-main{min-width:0}.user-sidebar,.admin-sidebar{align-self:start;padding:23px}.avatar{width:60px;height:60px;display:flex;align-items:center;justify-content:center;color:#a34e47;background:#f5e3dc;font-size:26px;border-radius:50%;overflow:hidden;margin-bottom:10px}.avatar img{width:100%;height:100%;object-fit:cover}.user-sidebar h2,.admin-sidebar h2{font-size:18px;margin-bottom:10px}.balance{display:flex;flex-direction:column;border-bottom:1px solid #eee5dc;padding-bottom:19px;margin-bottom:15px}.balance strong{font-size:36px;color:#cf5048;line-height:1.3}.balance span{font-size:11px;color:#8b877f}.workspace aside nav{display:flex;flex-direction:column;gap:3px}.workspace aside nav a{padding:10px 12px;font-size:13px;border-radius:6px}.workspace aside nav a:hover,.workspace aside nav a.active{background:#f9efea;color:#b7443d}.workspace aside form{margin-top:22px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0}.stat-card{padding:22px;background:#fff;border:1px solid #e4ded5;border-radius:9px;display:flex;flex-direction:column}.stat-card span{font-size:12px;color:#858078}.stat-card strong{font-size:35px;line-height:1.4;margin:9px 0}.stat-card a{font-size:12px;color:#b44943}.earn-panel{background:#f3f0e7}.earn-panel p{color:#7a766d;font-size:14px}.earn-panel .button{margin:5px 10px 0 0}.activity-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #eee9e2;padding:14px 0;font-size:13px}.income{color:#39875c;font-weight:600}.expense{color:#cc4c46;font-weight:600}.table-wrap{overflow:auto;padding:0}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{background:#f9f7f2;color:#858078;font-weight:500;white-space:nowrap}td,th{padding:15px 18px;border-bottom:1px solid #eee8df;vertical-align:middle}td strong{font-weight:600}td>a{color:#bd5046;font-size:12px}.status{padding:3px 9px;border-radius:5px;white-space:nowrap;font-size:11px}.status.approved{background:#ecf7ef;color:#45825c}.status.pending{background:#fff4db;color:#9a752a}.status.rejected{background:#fae9e6;color:#bb5044}.status.archived{background:#f0efec;color:#888}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .wide{grid-column:1/-1}.form-grid label>input,.form-grid label>select,.form-grid label>textarea{margin-top:7px}.form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.seed-fields{padding:18px;background:#faf8f4;border:1px dashed #dcd4c7;border-radius:8px}.or-divider{font-size:11px;color:#aaa;display:block;margin-top:10px}.notification{display:flex;align-items:center;justify-content:space-between;gap:15px}.notification.unread{border-left:4px solid #d75348}.notification p{margin:9px 0 0;font-size:14px}.notification .eyebrow{font-size:10px;letter-spacing:1px}.ad-panel{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:22px}.ad-poster{position:relative;background:#244b4d;color:#fff;border-radius:8px;padding:34px;min-height:310px;overflow:hidden}.ad-poster>span{font-size:11px;color:#d2d8cc;border:1px solid #74938c;padding:4px 10px;border-radius:30px}.ad-poster h2{font-size:29px;line-height:1.5;margin:35px 0 15px}.ad-poster p{font-size:10px;letter-spacing:3px;color:#b7ccc3}.ad-graphic{position:absolute;font-size:150px;right:-20px;bottom:-80px;color:#568078;transform:rotate(15deg)}.ad-controls{padding:15px 10px}.ad-controls h2{font-size:20px}.ad-controls p{font-size:13px;color:#858077}.ad-progress{height:9px;background:#e9e6df;border-radius:10px;overflow:hidden;margin:25px 0 10px}.ad-progress>div{height:100%;width:0;background:#d45249;transition:width .5s}.ad-controls [data-ad-status]{min-height:45px;color:#536c60}.tabs{display:flex;gap:16px;font-size:13px;margin:20px 0}.tabs a{padding:7px 14px;background:#fff;border:1px solid #e3ddd3;border-radius:6px}.star-profile{display:flex;gap:30px}.star-profile>img{width:180px;height:250px;object-fit:cover;border-radius:8px}.star-profile .description{font-size:13px;color:#777;max-height:180px;overflow:auto}.error-panel{margin:40px auto;max-width:800px}.error-panel h1{font-size:28px;margin:15px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}
@media(max-width:1050px){.resource-grid{grid-template-columns:repeat(3,1fr)}.header-inner{gap:20px}.workspace{grid-template-columns:190px 1fr;gap:18px}.stars{grid-template-columns:repeat(4,1fr)}.stars img{height:170px}.hero-art{width:230px}.stat-card{padding:16px}}
@media(max-width:760px){.shell{padding-left:16px;padding-right:16px}.header-inner{flex-wrap:wrap;gap:0;padding-top:16px;padding-bottom:8px}.brand{font-size:18px}.header-user{gap:10px;font-size:11px}.header-user .points-chip{display:none}.header-inner > nav{order:3;width:100%;gap:25px;height:42px;margin-top:8px}.page-main{padding-top:20px}.hero{padding:30px 25px;min-height:280px}.hero h1{font-size:33px}.hero-art{display:none}.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.poster-link{height:235px}.card-content{padding:13px}.card-content h3{font-size:15px}.card-meta{font-size:10px}.filter-bar{flex-wrap:wrap;gap:10px}.search-field{flex-basis:100%}.filter-bar select{width:160px}.filter-bar .button{margin-left:auto}.section-heading{align-items:flex-start}.page-intro{flex-direction:column;align-items:flex-start}.workspace{display:block}.workspace aside{margin-bottom:20px;padding:15px}.workspace aside .avatar,.workspace aside .balance{display:none}.workspace aside>form{margin-top:8px;text-align:right}.workspace aside nav{flex-direction:row;flex-wrap:wrap;gap:4px}.workspace aside nav a{padding:7px 9px;font-size:12px}.workspace aside h2{margin:0 0 10px}.stat-grid{gap:10px}.stat-card strong{font-size:28px}.stat-card a{font-size:10px}.resource-detail{grid-template-columns:1fr;gap:20px}.detail-poster{max-width:220px;height:290px}.detail-copy h1{font-size:27px}.auth-layout{grid-template-columns:1fr;gap:20px;margin:20px 0}.auth-layout>div h1{font-size:30px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.panel{padding:20px}.table-wrap{padding:0}td,th{padding:12px;font-size:12px}.ad-panel{grid-template-columns:1fr}.ad-poster{min-height:220px}.ad-poster h2{margin-top:22px}.notification{align-items:flex-start}.star-profile{flex-direction:column}.stars{gap:10px}.stars img{height:120px}.copy-row{flex-wrap:wrap}.copy-row input{flex-basis:100%}.site-footer{font-size:11px}.pagination{padding:20px 0;font-size:11px}}

.header-account{max-width:150px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.points-dialog{width:min(440px,calc(100vw - 40px));box-sizing:border-box;border:1px solid #e5e0d9;border-radius:12px;padding:28px;color:#252a32;box-shadow:0 20px 70px #0003;max-height:calc(100vh - 40px);overflow:auto}.points-dialog::backdrop{background:#20272b88}.points-dialog h2{margin-bottom:12px}.points-dialog p{font-size:14px;line-height:1.8}.points-dialog .form-actions{margin-top:20px}

@media(max-width:760px){.section-heading{flex-wrap:wrap}.section-heading h1{font-size:28px}.ad-poster{padding:26px}.ad-poster h2{font-size:24px}}

.auth-toast{position:fixed;z-index:10000;top:28px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 32px);padding:15px 20px;background:#fff;border:1px solid #ecc6bf;border-radius:10px;box-shadow:0 8px 32px #252a3226;color:#923b32;font-size:14px;line-height:1.6}.auth-toast-icon{display:flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;border-radius:50%;background:#c74444;color:white;font-weight:700}.user-sidebar h2{overflow-wrap:anywhere}

.language-switch{display:flex;gap:4px;flex-shrink:0;border:1px solid #d7dce5;border-radius:8px;padding:3px}.language-switch a{padding:5px 9px;border-radius:5px;white-space:nowrap;font-size:13px}.language-short{display:none}.language-switch a[aria-current="true"]{background:#17273f;color:#fff}.header-user{flex-wrap:nowrap;white-space:nowrap}html[lang="en"] .hero h1{font-size:clamp(32px,4vw,56px)}html[lang="en"] .user-sidebar nav a{white-space:normal}
/* Keep account actions beside the brand; only the primary navigation gets its own row. */
@media(max-width:760px){
 .brand{flex-shrink:0}
 .header-user{flex:1;min-width:0;margin-left:16px;justify-content:flex-end;gap:10px}
 .header-user>a{flex-shrink:0}
 .header-user>.header-account{flex-shrink:1}
 .language-switch{align-items:center;align-self:center;gap:2px;padding:2px}
 .language-switch a{display:flex;align-items:center;justify-content:center;min-height:30px;padding:4px 7px;font-size:12px;font-weight:600}
}
@media(max-width:480px){
 .header-inner{padding-top:12px}
 .brand{font-size:16px;gap:6px;letter-spacing:1px}
 .brand-mark{padding:3px 7px}
 .header-user{margin-left:8px;gap:6px;font-size:12px}
 .header-user .button.compact{font-size:12px;padding:6px 8px}
 .language-switch a{font-size:11px;padding:4px 5px}
}
@media(max-width:360px){
 .brand{font-size:15px}
 .header-user{font-size:11px}
 .header-account{min-width:24px}
 .language-name{display:none}
 .language-short{display:inline}
}

.display-ad{margin:32px 0 0;overflow:hidden}.display-ad>span{display:block;margin-bottom:8px;color:#777;font-size:11px;text-transform:uppercase;letter-spacing:1px}
