
:root{--blue:#3158dc;--ink:#172644;--muted:#69768d;--line:#e3e9f2;--surface:#f3f6fb;--green:#218367;--red:#bf3e56}
*{box-sizing:border-box}body{margin:0;background:#edf2f9;color:var(--ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #eebc58;outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}img{max-width:100%;display:block}svg{vertical-align:middle}.icon{width:21px;height:21px;display:inline-block;flex:none;pointer-events:none}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:12px;letter-spacing:.15em;color:#8190aa;font-weight:650}.btn{min-height:44px;padding:10px 16px;border-radius:12px;background:var(--blue);color:white;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn.secondary{color:var(--blue);background:#ecf1ff}.btn.ghost{background:transparent;color:var(--muted)}.btn.danger{background:#fae9ed;color:var(--red)}.btn.sm{font-size:13px;min-height:38px;padding:7px 11px}.btn.wide{width:100%}.text-button{background:none;color:var(--blue);padding:6px 0;min-height:36px}.chip{display:inline-flex;background:#eef2ff;color:var(--blue);border-radius:8px;padding:4px 9px;font-size:12px}.chip.green{background:#e7f5ef;color:var(--green)}.chip.orange{background:#fff2dd;color:#93651c}.chip.red{background:#fce8ee;color:var(--red)}.flex{display:flex;gap:12px;align-items:center}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:14px}.actions{display:flex;gap:8px;flex-wrap:wrap}.notice{font-size:13px;line-height:1.8;padding:12px 14px;border-radius:12px;background:#edf2ff;color:#496084}.notice.warn{background:#fff5e7;color:#8a612a}.empty{padding:38px 20px;text-align:center;color:var(--muted)}.empty .icon{width:40px;height:40px;color:#9eaac2;margin-bottom:12px}.field{display:block;margin-top:15px}.field>span{display:block;font-size:14px;font-weight:600;margin-bottom:7px}.input{width:100%;padding:11px 12px;min-height:46px;border:1px solid #dce3ef;background:white;color:var(--ink);border-radius:11px}textarea.input{resize:vertical;min-height:100px}.help{font-size:12px;color:var(--muted);margin-top:5px}.error{color:var(--red);font-size:13px;min-height:20px;margin:10px 0}.divider{height:1px;background:var(--line);margin:20px 0}
.prototype-header{background:#fff;border-bottom:1px solid var(--line);padding:15px 32px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;gap:11px;align-items:center}.brand-mark{width:36px;height:36px;border-radius:12px;background:var(--blue);color:white;display:grid;place-items:center}.brand h1{font-size:16px}.brand small{font-size:12px;color:var(--muted)}.view-switch{padding:4px;background:#eef2f9;border-radius:13px;display:flex;gap:3px}.view-switch button{background:transparent;padding:8px 17px;border-radius:9px;color:var(--muted);font-size:14px;min-height:40px}.view-switch button.active{background:#fff;color:var(--blue);box-shadow:0 2px 6px #20396b14}
.workbench{max-width:1180px;margin:30px auto;display:grid;grid-template-columns:260px 430px 245px;gap:30px;align-items:start;justify-content:center}.guide{padding-top:24px}.guide h2{font-size:29px;letter-spacing:-1px;line-height:1.4;margin:10px 0 16px}.guide>p{color:var(--muted);font-size:14px;line-height:1.9}.guide-block{margin-top:28px}.guide-block h3{font-size:14px;margin-bottom:12px}.guide-block p{font-size:13px;color:var(--muted);line-height:1.8}.demo-actions{display:grid;gap:8px}.demo-actions .btn{justify-content:flex-start;font-size:13px}.steps{list-style:none;padding:0;counter-reset:step}.steps li{position:relative;padding:0 0 23px 33px;font-size:13px;color:var(--muted)}.steps li:before{counter-increment:step;content:counter(step);position:absolute;left:0;top:0;width:23px;height:23px;background:#e4eafb;border-radius:50%;display:grid;place-items:center;color:#4e68ab;font-size:12px}.steps strong{display:block;color:var(--ink);font-size:14px;margin-bottom:4px}.guide-footer{margin-top:28px;font-size:12px;color:#7c88a0;line-height:1.9}.phone-wrap{width:430px;position:relative}.phone-caption{display:flex;justify-content:space-between;font-size:12px;color:#75829b;padding:0 8px 11px}.phone{background:#fff;border:1px solid #d7dfed;border-radius:32px;box-shadow:0 24px 70px #233f6e18;overflow:hidden;position:relative}.phone-top{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;background:#fff;font-size:11px;color:#43516a}.phone-main{height:min(760px,calc(100vh - 205px));min-height:530px;overflow:auto;scroll-behavior:smooth;background:var(--surface)}.page{padding:18px 18px 32px;min-height:100%}.page-heading{display:flex;justify-content:space-between;align-items:center;padding:0 2px 18px}.page-heading h2{font-size:20px}.back{min-height:40px;min-width:40px;background:#fff;border-radius:12px;color:var(--ink)}.nav{height:70px;display:flex;border-top:1px solid var(--line);background:#fff}.nav button{width:33.333%;background:#fff;color:#8a95aa;font-size:11px;display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column}.nav button.active{color:var(--blue);font-weight:650}.nav .icon{width:23px;height:23px}.mobile-proto{display:none}.music{position:absolute;right:13px;bottom:86px;width:42px;height:42px;border-radius:50%;box-shadow:0 3px 16px #16336024;background:#fff;color:var(--blue);z-index:15;border:1px solid #e0e7f7}.music.playing{background:var(--blue);color:white}
.home-top{padding:20px 18px 0;background:#fff}.mini-brand{font-size:12px;font-weight:600;letter-spacing:.06em}.avatar-button{border-radius:50%;font-size:22px;width:36px;height:36px;background:#eaf0ff}.hero{margin-top:17px;border-radius:21px;background:linear-gradient(135deg,#203b95,#627cea);color:#fff;position:relative;overflow:hidden;padding:26px 22px 23px;min-height:215px}.hero:before{content:"";position:absolute;width:185px;height:185px;border:1px solid #ffffff22;border-radius:50%;right:-28px;top:-45px}.hero:after{content:"";position:absolute;width:96px;height:96px;background:#ffd1cb;border-radius:50%;right:33px;top:37px;box-shadow:0 0 45px #ffd1cb44}.hero-art{position:absolute;bottom:-6px;right:-15px;width:220px;height:132px;opacity:.8}.hero-content{position:relative;z-index:1}.hero .eyebrow{color:#cdd7ff;font-size:11px}.hero h2{font-size:29px;font-weight:700;line-height:1.4;margin:15px 0 9px;max-width:215px;letter-spacing:1px}.hero p{font-size:12px;color:#e4eaff;max-width:205px}.hero-badge{font-size:11px;display:inline-flex;background:#ffffff20;padding:3px 9px;border-radius:20px;margin-top:15px}.hero.custom{background-size:cover;background-position:center}.hero.custom:after,.hero.custom:before{display:none}.metrics{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;padding:21px 0 18px}.metrics strong{font-size:24px;display:block;line-height:1.3;letter-spacing:-.8px}.metrics span{color:var(--muted);font-size:11px}.activity-times{font-size:11px;color:var(--muted);padding:0 0 15px;text-align:center}.info-links{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding-bottom:19px}.info-links button{background:#f3f6fc;border:1px solid #e9eef7;border-radius:12px;padding:12px 3px;font-size:12px;color:#405471}.info-links .icon{display:block;margin:0 auto 6px;color:#6280c7}.home-content{padding:19px 17px 28px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px}.section-title h3{font-size:17px}.quota{color:#607299;font-size:12px}.search{position:relative;margin-bottom:16px}.search input{padding-left:38px;border:0}.search .icon{position:absolute;top:13px;left:12px;color:#8e9ab0;width:18px;height:18px}.work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.work-card{border-radius:16px;background:white;overflow:hidden;border:1px solid #e7ecf4}.cover-button{padding:0;width:100%;background:#e5ecf5;position:relative;display:block}.cover-button img{width:100%;height:151px;object-fit:cover}.work-number{position:absolute;left:9px;top:9px;background:#ffffffde;color:#354660;font-size:10px;border-radius:6px;padding:2px 6px}.work-card-body{padding:11px}.work-card h3{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.author{font-size:11px;color:var(--muted);margin-top:2px}.work-card-footer{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:10px}.votes{font-size:16px;color:var(--blue);font-weight:700}.votes small{font-size:10px;font-weight:400;margin-left:3px}.vote-mini{padding:6px 9px;min-height:35px;border-radius:9px;font-size:11px;background:var(--blue);color:white}.vote-mini.voted{background:#edf2ff;color:#7a89ad}.below-list{text-align:center;font-size:11px;color:#8d97ab;margin-top:23px}.panel{background:#fff;border:1px solid #e6ebf4;border-radius:18px;padding:19px;margin-bottom:16px}.panel h3{font-size:16px;margin-bottom:9px}.profile-card{display:flex;align-items:center;gap:13px}.avatar-large{width:64px;height:64px;display:grid;place-items:center;font-size:38px;background:#edf2ff;border-radius:21px;flex:none}.profile-card h3{margin:0;font-size:18px}.profile-card p{font-size:12px;margin-top:4px;color:var(--muted)}.status{font-size:13px;border-radius:10px;padding:11px 13px;background:#fff3df;color:#966a20}.status.approved{background:#e8f6ef;color:#27795f}.status.rejected,.status.removed{background:#fcecf0;color:#aa4057}.my-work-image{width:100%;max-height:225px;object-fit:cover;border-radius:12px;margin:14px 0}.upload-box{border:1px dashed #b6c7ec;background:#f7f9ff;border-radius:14px;padding:20px 12px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;cursor:pointer;color:#5f77ae}.upload-box input{display:none}.upload-previews{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0}.upload-item{position:relative}.upload-item img{height:90px;width:100%;object-fit:cover;border-radius:11px}.upload-item button{font-size:11px;background:#fff;border:1px solid var(--line);border-radius:5px;padding:3px 5px;margin-top:4px}.upload-item .remove-photo{position:absolute;right:3px;top:3px;background:#293e6fcc;color:white;border:0;border-radius:50%;width:23px;height:23px;padding:0;margin:0}.cover-label{position:absolute;left:4px;top:5px;background:#ffffffdf;font-size:10px;padding:1px 4px;border-radius:4px}.rank-hero{padding:8px 0 25px;text-align:center}.rank-hero h2{font-size:25px;margin:8px 0 4px}.rank-hero p{font-size:12px;color:var(--muted)}.podium{display:flex;gap:8px;align-items:flex-end;margin:12px 0 21px}.podium-item{background:#fff;border-radius:16px;text-align:center;padding:14px 5px 12px;flex:1;min-width:0;border:1px solid var(--line)}.podium-item.first{padding-top:20px;padding-bottom:20px;border-color:#b8c7fa;background:#f6f8ff}.podium-item img{width:61px;height:61px;object-fit:cover;border-radius:50%;margin:7px auto;border:3px solid #fff}.medal{font-size:24px;line-height:1}.podium-item h3{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.podium-item strong{font-size:20px;color:var(--blue)}.rank-list{background:#fff;border-radius:18px;border:1px solid var(--line);padding:0 15px}.rank-row{display:flex;gap:10px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line);width:100%;background:white;text-align:left}.rank-row:last-child{border:0}.rank-pos{width:24px;text-align:center;font-size:16px;color:#7b8aa4;font-weight:700}.rank-row img{width:48px;height:48px;object-fit:cover;border-radius:10px}.rank-copy{flex:1;min-width:0}.rank-copy strong{font-size:13px;display:block}.rank-copy small{font-size:11px;color:var(--muted)}.rank-count{color:var(--blue);font-size:16px;font-weight:700}.entry-hero{width:100%;max-height:380px;object-fit:cover;border-radius:18px}.entry-meta{padding:20px 0}.entry-meta h2{font-size:22px;margin:6px 0}.entry-meta p{font-size:13px;color:var(--muted)}.entry-description{font-size:14px;line-height:1.9;color:#516078;white-space:pre-wrap}.entry-gallery img{margin-top:13px;width:100%;border-radius:14px;cursor:zoom-in}.entry-vote-bar{margin-top:20px;display:flex;gap:12px;align-items:center}.entry-vote-bar .btn{flex:1}.entry-stats{display:flex;gap:28px;margin:18px 0}.entry-stats strong{font-size:24px;color:var(--blue);display:block}.entry-stats span{font-size:12px;color:var(--muted)}.article{font-size:14px;line-height:2;color:#4e5e79;white-space:pre-wrap}.article-tabs{display:flex;gap:7px;margin-bottom:17px}.article-tabs button{padding:8px 10px;border-radius:9px;background:#e8edf7;color:#6b7994;font-size:12px;flex:1}.article-tabs button.active{background:var(--blue);color:white}.history-item{padding:17px;border:1px solid var(--line);border-radius:14px;background:white;margin-bottom:12px}.history-item h3{font-size:16px;margin:5px 0}
.overlay{position:fixed;inset:0;background:#14274980;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(5px)}.modal{width:410px;max-width:100%;max-height:90vh;overflow:auto;background:#fff;border-radius:24px;padding:25px;box-shadow:0 20px 100px #10213a50;position:relative}.modal h2{font-size:23px;margin-bottom:5px}.modal-close{position:absolute;right:13px;top:11px;min-height:40px;min-width:40px;border-radius:50%;background:#f2f5fa;color:#6d7d97}.modal .intro{font-size:13px;color:var(--muted);margin-right:15px;margin-bottom:15px}.sms-row{display:flex;gap:8px}.sms-row input{min-width:0;flex:1}.sms-row button{font-size:12px;white-space:nowrap}.avatar-options{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:18px 0}.avatar-option{font-size:29px;background:#f2f5fb;border:2px solid transparent;border-radius:15px;min-height:59px}.avatar-option.active{border-color:var(--blue);background:#edf2ff}.image-modal{width:850px;padding:12px;background:#14243d}.image-modal img{max-height:80vh;width:100%;object-fit:contain;border-radius:12px}.image-modal .modal-close{background:#ffffffeb;z-index:1}.toast{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);background:#1f3152;color:#fff;border-radius:14px;padding:13px 22px;font-size:14px;box-shadow:0 8px 24px #10213a2b;max-width:min(90vw,520px);z-index:150;text-align:center}
.admin-wrap{max-width:1180px;margin:28px auto;padding:0 25px}.admin-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:23px}.admin-heading h2{font-size:25px}.admin-heading p{font-size:13px;color:var(--muted);margin-top:3px}.admin-layout{display:grid;grid-template-columns:185px minmax(0,1fr);gap:25px}.admin-nav{display:flex;flex-direction:column;gap:6px}.admin-nav button{background:transparent;border-radius:11px;text-align:left;padding:12px 14px;color:#687a97;display:flex;gap:10px;align-items:center}.admin-nav button.active{background:#e1e9ff;color:#3158bd;font-weight:650}.admin-surface{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px;min-width:0}.admin-surface h3{font-size:19px}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}.admin-stat{background:#f6f8fc;padding:15px;border-radius:13px}.admin-stat span{font-size:12px;color:var(--muted)}.admin-stat strong{font-size:25px;display:block;margin-top:3px}.filters{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0}.filters button{padding:7px 12px;background:#f0f4fa;color:#6e7d96;border-radius:8px;font-size:13px}.filters button.active{background:var(--blue);color:#fff}.admin-work{display:flex;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.admin-work img{width:78px;height:78px;object-fit:cover;border-radius:13px}.admin-work-copy{flex:1;min-width:0}.admin-work h4{font-size:15px;margin:0 0 5px}.admin-work p{font-size:12px;color:var(--muted);margin:4px 0}.admin-work .actions{max-width:190px;justify-content:flex-end}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.span-two{grid-column:1/-1}.admin-note{font-size:13px;color:var(--muted);margin:9px 0}.table-scroll{overflow:auto;margin-top:18px}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}th,td{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line)}th{color:var(--muted);font-weight:500;background:#f7f9fc}.timeline-row{display:flex;gap:12px;margin:13px 0;font-size:13px}.timeline-row time{color:var(--muted);font-size:12px;min-width:130px}
@media(max-width:1080px){.workbench{grid-template-columns:240px 430px;gap:25px}.right-guide{display:none}.prototype-header{padding:13px 22px}}
@media(max-width:750px){body{background:var(--surface)}.prototype-header{padding:11px 14px;position:sticky;top:0;z-index:40}.brand h1{font-size:13px}.brand small{display:none}.brand-mark{width:30px;height:30px;border-radius:9px}.view-switch button{font-size:12px;padding:5px 9px;min-height:34px}.workbench{display:block;margin:0;max-width:100%}.guide,.phone-caption,.phone-top,.prototype-footer{display:none}.phone-wrap{width:100%;max-width:480px;margin:0 auto}.phone{border:0;border-radius:0;box-shadow:none}.phone-main{height:calc(100dvh - 139px);min-height:300px}.nav{height:65px}.music{bottom:82px}.mobile-proto{display:flex;background:#eaf0ff;justify-content:space-between;align-items:center;gap:8px;padding:5px 14px;color:#65769a;font-size:11px;min-height:27px}.mobile-proto button{background:none;color:var(--blue);font-size:11px;min-height:23px}.home-top{padding-top:14px}.cover-button img{height:160px}.admin-wrap{margin:20px auto;padding:0 13px}.admin-layout{display:block}.admin-nav{flex-direction:row;overflow:auto;gap:5px;padding-bottom:13px}.admin-nav button{white-space:nowrap;font-size:12px;padding:8px 11px}.admin-nav .icon{width:17px;height:17px}.admin-surface{padding:16px}.admin-stats{grid-template-columns:1fr 1fr;gap:8px}.admin-heading h2{font-size:20px}.admin-heading .btn{font-size:12px}.admin-work{flex-wrap:wrap;gap:10px}.admin-work img{width:65px;height:65px}.admin-work .actions{max-width:none;width:100%}.form-grid{grid-template-columns:1fr}.span-two{grid-column:auto}.timeline-row{display:block}.timeline-row time{display:block}.modal{padding:23px 20px}.toast{bottom:90px;font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.profile-card>div{min-width:0}.profile-card h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-work-copy{overflow-wrap:anywhere}
@media(max-width:420px){.prototype-header{gap:8px}.brand{gap:7px}.brand h1{font-size:12px;line-height:1.35;max-width:100px}.brand-mark{width:28px;height:28px}.view-switch button{font-size:11px;padding:5px 6px}.admin-heading{flex-wrap:wrap}}
@media(max-width:420px){.hero:after{width:64px;height:64px;right:12px;top:32px}.hero h2{font-size:26px;max-width:150px}.hero p{max-width:145px}.hero .eyebrow{font-size:9px;letter-spacing:.09em}}

.workbench{display:block;max-width:480px;margin:18px auto}.phone-wrap{width:100%;margin:0 auto}.phone-main{height:calc(100dvh - 180px)}.phone-top,.phone-caption{display:none}.prototype-footer{display:none}.hero .eyebrow{font-size:11px;letter-spacing:.07em}.error-page{padding:40px;text-align:center}.admin-status{margin:15px 0}.loading{text-align:center;padding:90px 20px;color:#65728a}@media(max-width:750px){.workbench{margin:0}.phone-main{height:calc(100dvh - 130px)}}
