:root{--ink:#263044;--muted:#7b8290;--coral:#f56f63;--coral-dark:#dc584f;--paper:#fffaf6;--line:#efe9e4;--peach:#fff0e6;--lavender:#eeeaff;--mint:#e6f7ec;color:var(--ink);background:var(--paper)}
body{background:var(--paper)}
button,input,textarea,select{font-family:inherit}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #f59f79;outline-offset:2px}
.primary{background:var(--coral);color:#fff;border-radius:13px;box-shadow:0 7px 15px #f56f6328}
.primary:hover{background:var(--coral-dark)}
.secondary{border-color:#eaded8;color:#4b5261;border-radius:13px;background:#fff}
.secondary:hover{background:#fff7f1}
.eyebrow{color:var(--coral);letter-spacing:.11em}
.hint{color:var(--muted)}
.topbar{height:76px;padding:0 32px;background:#fff;color:var(--ink);border-bottom:1px solid var(--line);box-shadow:0 3px 16px #704e3c08}
.topbar-inner{width:min(1360px,100%);height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{font-size:20px;letter-spacing:-.055em;white-space:nowrap;gap:10px}
.brand-mark{width:38px;height:38px;border-radius:13px;background:var(--coral);color:#fff;font-size:23px;transform:rotate(-8deg);box-shadow:0 5px 11px #f56f6330}
.top-actions{gap:10px}
.user-chip,.compose-avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:var(--lavender);color:#7462b4;font-weight:800;font-size:14px}
.top-actions .user-name{color:#596070;font-weight:700;font-size:13px}
.text-button{color:#7f8794;border:1px solid #ede8e4;border-radius:999px;padding:9px 14px;font-size:12px}
.text-button:hover{background:#fff4ee;color:#d85f56}
.shell{max-width:1424px;padding:28px 32px 90px}
.welcome{min-height:228px;border-radius:25px;background:#ffe9da;display:flex;justify-content:space-between;overflow:hidden;position:relative;padding:33px 44px;margin-bottom:31px}
.welcome:before{content:"";position:absolute;width:170px;height:170px;background:#fff6c4;border-radius:50%;top:-102px;left:46%;opacity:.8}
.welcome-copy{position:relative;z-index:1}
.welcome-kicker{display:inline-block;background:#fff9f5;color:#d65b53;border:1px solid #ffd1bb;border-radius:999px;padding:7px 13px;font-size:12px;font-weight:800;letter-spacing:.04em}
.welcome h1{font-size:36px;line-height:1.24;letter-spacing:-.065em;margin:17px 0 10px;color:#49384a}
.welcome h1 em{font-style:normal;color:#ea655d}
.welcome p{font-size:14px;color:#765e66;margin:0;line-height:1.6}
.welcome-art{width:330px;position:relative;flex:none}
.art-card{position:absolute;display:flex;align-items:center;gap:9px;background:#fff;border-radius:16px;box-shadow:0 12px 25px #b97b6c25;padding:14px 17px;font-size:23px;transform:rotate(-8deg)}
.art-card small{font-size:13px;font-weight:800;color:#5f5a66}
.art-card-one{right:91px;top:32px}
.art-card-two{right:9px;top:115px;transform:rotate(7deg);background:#fff9df}
.art-star{position:absolute;right:20px;top:11px;font-size:38px;color:#f48270;transform:rotate(15deg)}
.workspace{display:grid;grid-template-columns:204px minmax(0,1fr) 238px;gap:26px;align-items:start}
.sidebar{border:1px solid var(--line);border-radius:18px;background:#fff;padding:22px 14px;box-shadow:0 5px 16px #6e514009;position:sticky;top:20px}
.sidebar-title{padding:0 11px 17px;border-bottom:1px solid #f3ede9;margin-bottom:17px}
.sidebar-title span{display:block;font-size:10px;font-weight:800;letter-spacing:.14em;color:#ed837b;margin-bottom:5px}
.sidebar-title strong{font-size:17px;letter-spacing:-.04em}
.cohort{margin:0 0 17px}
.cohort-name{font-size:12px;color:#96939a;margin:0 0 7px;padding:0 11px}
.group-button{display:flex;align-items:center;gap:8px;padding:11px 12px;border-radius:11px;color:#676776;font-size:14px}
.group-button:hover{background:#fff4ee}
.group-button.active{background:#fff0e8;color:#c9564e;font-weight:800}
.group-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#e5dada;flex:none}
.group-button.active .group-dot{background:var(--coral)}
.group-arrow{margin-left:auto;opacity:.65}
.content{min-width:0}
.content-head{margin:2px 0 20px;align-items:end}
.group-eyebrow{font-size:12px;font-weight:800;color:#e17970}
.content-head h2{font-size:27px;margin:3px 0 0;color:#333647;letter-spacing:-.06em}
.content-head small{color:#96949b;font-size:13px;margin-top:5px}
.group-count{font-size:12px;color:#cb6861;background:#fff0ea;padding:8px 12px;border-radius:999px;white-space:nowrap;font-weight:800}
.compose-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px 0;margin-bottom:24px;box-shadow:0 7px 20px #6e51400b}
.compose-top{display:flex;align-items:center;gap:12px;padding-bottom:17px}
.compose-avatar{width:42px;height:42px;flex:none;font-size:18px;background:#ffe7dc;color:#d65c54}
.compose-prompt{border:1px solid #f0e9e4;border-radius:999px;background:#faf8f6;color:#a29ca0;text-align:left;min-height:44px;flex:1;padding:0 17px;font-size:14px}
.compose-prompt:hover{border-color:#f5b7a4;background:#fff9f6;color:#bd645d}
.compose-actions{border-top:1px solid #f3efeb;display:flex;align-items:center;gap:7px;margin:0;padding:9px 0}
.compose-actions>span{font-size:12px;color:#b0a7a5;margin-right:auto}
.compose-action{min-height:37px;border:0;border-radius:9px;background:transparent;color:#626572;padding:7px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.compose-action:hover{background:#fff2eb}
.compose-action span{font-size:16px;vertical-align:-2px;margin-right:3px}
.feed-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.feed-tabs{display:flex;gap:5px;overflow:auto;scrollbar-width:none;min-width:0}
.feed-tabs::-webkit-scrollbar{display:none}
.feed-tab{border:0;background:transparent;color:#96939d;padding:9px 13px;border-radius:999px;white-space:nowrap;font-size:13px;font-weight:800;min-height:38px}
.feed-tab:hover{color:#d75e58;background:#fff2ed}
.feed-tab.active{background:#f56f63;color:#fff}
.search-wrap{display:flex;align-items:center;gap:5px;border:1px solid #eee5df;border-radius:999px;background:#fff;padding:0 12px;flex:none;width:170px;color:#a8a2aa}
.search-wrap span{font-size:21px;line-height:1}
.search{width:100%;min-width:0;height:38px;border:0;background:transparent;padding:0 2px;font-size:13px;box-shadow:none}
.search:focus{border:0;box-shadow:none}
.count{font-size:12px;color:#a19ca1;margin:0 0 11px}
.feed-list{max-width:none;gap:14px}
.feed-card{border-color:var(--line);border-radius:18px;box-shadow:0 7px 22px #6e51400a;padding:21px}
.notice-card{background:#fffdf6;border-color:#f2dfaa}
.avatar{background:#eee9ff;color:#7864ac}
.feed-author strong{color:#3e4250}
.feed-author span,.comment span{color:#a6a1a8}
.feed-card h3{color:#343849}
.feed-body{color:#60616f}
.notice-label{background:#fff1c9;color:#a8762b}
.comments{border-color:#f3efec}
.comment-form input{background:#faf9f8;border-color:#eee8e5}
.comment-form button{background:#fff0e9;color:#d35d55}
.comment-form button:hover{background:#ffe0d6}
.resource-link{border-color:#f0e7e0;background:#fffaf5;color:#535765}
.resource-link:hover{background:#fff2e7}
.resource-icon{background:#ffe7da}
.feed-image-link{background:#fff4ee}
.empty{background:#fff;border-color:#f0dfd3;color:#928d94;border-radius:18px;padding:52px 22px}
.empty:before{content:"✦";display:block;font-size:27px;color:#ffb286;margin-bottom:9px}
.empty strong{color:#5c5763}
.side-panel{position:sticky;top:20px}
.side-panel-card{border-radius:18px;background:#eae6ff;padding:25px 21px;color:#4d4769}
.side-panel-emoji{font-size:29px}
.side-panel h3{margin:13px 0 8px;font-size:17px;letter-spacing:-.05em}
.side-panel p{font-size:12px;line-height:1.55;color:#787190;margin:0}
.side-stats{display:flex;border-top:1px solid #d8d1f2;margin-top:18px;padding-top:14px;gap:12px}
.side-stats div{flex:1;display:flex;flex-direction:column;gap:2px}
.side-stats strong{font-size:22px;color:#5f52a0}
.side-stats span{font-size:11px;color:#817a9b}
.side-tip{background:#fff;border:1px solid var(--line);border-radius:14px;margin:12px 0 0;padding:15px;font-size:12px;line-height:1.55;color:#8b8490}
.admin-panel{border-color:#f0e4db;box-shadow:0 6px 18px #6e514009;border-radius:18px}
.admin-panel h3{color:#46404a}
.field span{color:#5b5b68}
.field input,.field select,.field textarea{border-color:#e9e2de;color:var(--ink)}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#f5a693;box-shadow:0 0 0 3px #fff0e8}
.modal-backdrop{background:#30273199}
.modal{border-radius:20px}
.modal-head h2{color:#3d3e4e}
.tab.active{background:#fff0e9;border-color:#ffd4c6;color:#d45c54}
.code-box{background:#fff0e9;border-color:#ffd4c6;color:#d45c54}
#toast{background:#393443}

/* Login */
.auth-page{background:#fffaf7;grid-template-columns:1.04fr .96fr}
.auth-hero{min-height:100vh;background:#ffe9d9;color:#493d4a;padding:clamp(30px,5vw,70px);position:relative;overflow:hidden}
.auth-hero:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:#fff4bc;right:-90px;top:-80px;opacity:.8}
.auth-hero .brand{position:relative;z-index:1}
.auth-copy{position:relative;z-index:1;margin:auto 0 0}
.auth-copy .eyebrow{font-size:12px;color:#d76259;margin-bottom:16px}
.auth-hero h1{font-size:clamp(42px,5vw,72px);line-height:1.15;color:#493d4a;max-width:680px}
.auth-hero h1 em{font-style:normal;color:#ec685d}
.auth-hero p{color:#7b6873;font-size:17px;line-height:1.75;margin-top:24px}
.auth-hero .hero-art{height:260px;border:0;padding:0;display:block;margin-top:20px;flex:none}
.hero-sticker{position:absolute;display:flex;flex-direction:column;gap:4px;border-radius:18px;padding:18px 21px;background:#fff;box-shadow:0 14px 28px #b8786826;transform:rotate(-6deg);color:#51485a}
.hero-sticker span{display:block;width:auto;height:auto;background:none!important;border:0;font-size:25px}
.hero-sticker strong{font-size:16px}
.hero-sticker small{font-size:12px;color:#9b929b}
.sticker-one{left:3%;bottom:65px}
.sticker-two{left:41%;bottom:25px;transform:rotate(7deg);background:#fff8e8}
.sticker-three{right:9%;top:13px;background:#e9e2ff;color:#8170ba;font-size:35px;padding:12px 19px;transform:rotate(14deg)}
.auth-main{background:#fffaf7;padding:40px}
.auth-card{background:#fff;border:1px solid #f2e8e0;border-radius:25px;box-shadow:0 22px 60px #8f655719;padding:clamp(24px,3vw,44px);width:min(460px,100%)}
.auth-card-icon{width:51px;height:51px;display:grid;place-items:center;border-radius:17px;background:#fff0e5;font-size:25px;margin-bottom:19px}
.auth-card .eyebrow{font-size:11px;margin-bottom:8px}
.auth-card h2{color:#38394a;font-size:29px;margin-bottom:9px}
.auth-card>p{color:#8f8c96;font-size:14px;margin-bottom:27px}
.auth-card .primary{margin-top:9px;display:flex;align-items:center;justify-content:center;gap:10px}
.mode-switch{text-align:center;color:#93909a}
.mode-switch button{color:#df655c}

@media(max-width:1150px){.workspace{grid-template-columns:194px minmax(0,1fr)}.side-panel{display:none}}
@media(max-width:900px){.auth-page{grid-template-columns:1fr}.auth-hero{min-height:auto;padding:30px 36px}.auth-copy{margin:44px 0 0}.auth-hero h1{font-size:40px}.auth-hero p{font-size:15px;margin:14px 0 0}.auth-hero .hero-art{display:none}.auth-main{padding:26px 22px 50px}.auth-card{width:min(480px,100%)}.workspace{grid-template-columns:1fr;gap:16px}.sidebar{position:static;display:flex;align-items:center;gap:9px;overflow-x:auto;padding:11px 14px;white-space:nowrap;scrollbar-width:thin}.sidebar-title{border:0;border-right:1px solid var(--line);padding:0 13px 0 0;margin:0 7px 0 0;flex:none}.sidebar-title span{display:none}.sidebar-title strong{font-size:13px}.cohort{display:flex;align-items:center;gap:6px;margin:0;flex:none}.cohort-name{margin:0;padding:0;font-size:12px}.group-button{width:auto;margin:0;white-space:nowrap}.group-arrow{display:none}}
@media(max-width:700px){.topbar{height:64px;padding:0 17px}.topbar .brand{font-size:17px;gap:8px}.topbar .brand-mark{width:32px;height:32px;font-size:19px}.user-chip,.user-name{display:none!important}.top-actions .text-button{padding:8px 11px;font-size:11px}.shell{padding:16px 14px 70px}.welcome{min-height:181px;border-radius:20px;padding:21px;margin-bottom:18px}.welcome:before{left:auto;right:-70px;top:-90px}.welcome-kicker{font-size:10px;padding:6px 10px}.welcome h1{font-size:26px;margin:12px 0 7px}.welcome p{font-size:12px;max-width:280px}.welcome-art{display:none}.sidebar{margin:0 0 2px;padding:9px 10px;border-radius:13px}.content-head{align-items:center;flex-direction:row;margin:4px 0 15px}.content-head h2{font-size:22px}.content-head small{font-size:12px}.group-count{font-size:11px;padding:7px 9px}.compose-card{border-radius:15px;padding:14px 14px 0;margin-bottom:17px}.compose-top{gap:9px;padding-bottom:12px}.compose-avatar{width:36px;height:36px;font-size:15px}.compose-prompt{font-size:12px;padding:0 12px;min-height:40px}.compose-actions{display:flex;gap:2px;padding:6px 0}.compose-actions>span{display:none}.compose-action{flex:1;font-size:12px;padding:7px 6px}.feed-controls{display:block;margin-bottom:13px}.feed-tabs{margin:0 -14px;padding:0 14px 10px;gap:3px}.feed-tab{padding:8px 13px;min-height:34px;font-size:12px}.search-wrap{width:100%;border-radius:11px}.feed-card{padding:17px;border-radius:15px}.feed-image-link{margin:14px -17px 16px}.auth-hero{padding:24px}.auth-copy{margin:34px 0 0}.auth-hero h1{font-size:34px}.auth-hero p{font-size:13px}.auth-main{padding:18px 14px 42px}.auth-card{padding:25px 21px;border-radius:19px}.auth-card h2{font-size:26px}.modal{border-radius:20px 20px 0 0}.admin-panel{padding:16px}.admin-forms{grid-template-columns:1fr}}
@media(max-width:380px){.topbar .brand{font-size:15px}.welcome p{max-width:235px}.group-count{display:none}.comment-form button{min-width:52px}.auth-hero h1{font-size:31px}}
