:root{--ink:#24262f;--paper:#fffdf5;--mint:#79e5bc;--violet:#c7baff;--yellow:#ffdf68}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:ui-rounded,"PingFang SC","Microsoft YaHei",sans-serif}header{padding:28px 6vw;display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--ink)}a{color:inherit;text-decoration:none}.wordmark{font-size:28px;font-weight:950;letter-spacing:1px}.wordmark span{color:#297eff}.wordmark small{font-size:22px;letter-spacing:0}main{max-width:1200px;padding:65px 6vw;margin:auto}.eyebrow{font-size:12px;letter-spacing:3px;font-weight:800}h1{font-size:clamp(52px,8vw,94px);letter-spacing:-4px;line-height:1.1;margin:25px 0 38px;position:relative}h1 span{background:linear-gradient(transparent 62%,var(--mint) 62%)}h1 i{font-style:normal;color:#7862dc;display:inline-block;transform:rotate(-12deg);margin-left:30px}button,.primary{font:inherit;border:2px solid var(--ink);border-radius:14px;padding:14px 22px;background:var(--paper);font-weight:800;cursor:pointer}.primary{display:inline-flex;align-items:center;gap:40px;background:var(--mint);box-shadow:4px 4px 0 var(--ink)}button:hover,.primary:hover{transform:translateY(-2px)}button:focus-visible,a:focus-visible{outline:3px solid #297eff;outline-offset:5px}.login-card{padding:26px;border:2px solid var(--ink);border-radius:22px;max-width:440px;box-shadow:7px 7px 0 var(--yellow);transform:rotate(-1deg)}.login-card p:first-child{font-weight:800;font-size:20px}.status{min-height:1em;font-size:13px}.avatar-ring{width:54px;height:54px;padding:4px;background:conic-gradient(var(--mint),var(--violet),var(--yellow),var(--mint));border:2px solid var(--ink);border-radius:50%;display:grid;place-items:center}.avatar-ring img{width:100%;height:100%;border-radius:50%;object-fit:cover;background:var(--paper)}.pet{font-size:30px;background:var(--paper);width:100%;height:100%;border-radius:50%;display:grid;place-items:center}.cassettes{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:30px}.cassette{border:2px solid var(--ink);border-radius:20px;padding:24px;box-shadow:5px 5px 0 var(--ink);min-height:210px;position:relative}.cassette:nth-child(2){transform:rotate(1.5deg)}.cassette b{font-size:13px;border:2px solid var(--ink);border-radius:30px;padding:5px 12px}.cassette h3{font-size:23px}.cassette p{font-size:13px}.cassette span{font-size:12px;border:1px dashed var(--ink);border-radius:6px;padding:4px 8px}.mint{background:#d4f5e7}.yellow{background:#fff0b6}.purple{background:#e7e1ff}dialog{max-width:440px;width:calc(100% - 32px);padding:30px;border:2px solid var(--ink);border-radius:24px;background:var(--paper);box-shadow:8px 8px 0 var(--mint)}dialog::backdrop{background:#24262f66}dialog button,.upload{margin:10px 0}.close{float:right;padding:3px 12px}.preview{width:86px;height:86px}.upload input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}footer{padding:30px 6vw;font-size:12px;color:#656777}[hidden]{display:none!important}@media(max-width:640px){.wordmark{font-size:22px}.wordmark small{font-size:16px}main{padding-top:40px}.cassettes{grid-template-columns:1fr}h1{letter-spacing:-2px}h1 i{margin-left:14px}.primary{gap:20px}}@media(prefers-reduced-motion:reduce){*{transform:none!important}}
:root .wordmark{display:block;width:350px;max-width:calc(100% - 80px)}.brand-art{position:relative;display:block;width:100%;aspect-ratio:944/140;overflow:hidden;mix-blend-mode:multiply}.brand-art img{position:absolute;max-width:none;width:108.4746%;height:auto;left:-4.2373%;top:-145.7143%}

/* Portal-only visual layer: the workbench keeps its existing shared styles. */
.hub-page{--ink:#26362e;--paper:#f8f8f0;--mint:#9ae0bd;--violet:#c5bcf1;--yellow:#ffdf76;min-height:100svh;display:flex;flex-direction:column;background-color:var(--paper);background-image:radial-gradient(#8c9b811d .8px,transparent .8px);background-size:18px 18px;color:var(--ink);font-family:"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
.hub-page .skip-link{position:fixed;left:20px;top:16px;z-index:10;padding:12px 18px;border:2px solid var(--ink);border-radius:12px;background:#fff;transform:translateY(-150%)}
.hub-page .skip-link:focus{transform:none}
.hub-page .hub-header{width:min(1320px,100%);margin:0 auto;padding:34px 58px 24px;gap:28px;border:0;min-height:102px}
.hub-page .wordmark{width:266px;flex:0 1 266px;max-width:calc(100% - 76px)}
.hub-page .header-note{margin-left:auto;font-size:12px;letter-spacing:1px;color:#667163}
.hub-page main{width:min(1204px,100%);max-width:none;flex:1;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:center;column-gap:80px;row-gap:48px;padding:58px 58px 68px;margin:0 auto}
.hub-page main:focus{outline:none}
.hub-page .hero-copy{padding:10px 0 4px;min-width:0}
.hub-page .eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;line-height:1.5;letter-spacing:2.1px;margin:0 0 26px;color:#4c6557}
.hub-page .eyebrow>span{display:grid;place-items:center;flex:0 0 25px;height:25px;background:#e6ebda;border-radius:50%;font-size:20px;line-height:1;letter-spacing:0}
.hub-page h1{font-size:clamp(52px,5.7vw,78px);font-weight:850;letter-spacing:-3.8px;line-height:1.21;margin:0 0 26px;white-space:nowrap}
.hub-page h1 .hero-highlight{position:relative;background:linear-gradient(transparent 68%,#bfe8c8 68%,#bfe8c8 95%,transparent 95%)}
.hub-page h1 .title-period{background:none;margin-left:-.09em}
.hub-page .title-spark{position:absolute;width:42px;height:42px;right:-31px;top:-15px;stroke:#9584c9;stroke-width:3.7;stroke-linecap:round;transform:rotate(13deg)}
.hub-page .hero-description{font-size:16px;line-height:1.95;letter-spacing:.3px;color:#627164;margin:0}
.hub-page .creative-trail{display:flex;align-items:center;gap:13px;margin-top:39px;color:#556358;font-size:12px}
.hub-page .creative-trail>span{display:flex;align-items:center;gap:8px;background:#ffffff80;border:1px solid #cbd4c5;border-radius:10px;padding:10px 12px}
.hub-page .creative-trail svg{width:18px;height:18px;fill:none;stroke:#496453;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hub-page .creative-trail i{font-size:16px;font-style:normal;color:#84927e}
.hub-page .hero-signature{font-size:9px;letter-spacing:2px;color:#76826e;margin:26px 0 0}
.hub-page .login-card{position:relative;width:100%;max-width:440px;justify-self:end;padding:18px 34px 28px;border:1.5px solid #657662;border-radius:28px;background:#fffefa;box-shadow:7px 8px 0 #e5e8d6;transform:none;isolation:isolate}
.hub-page .login-card:before{content:"";position:absolute;width:58px;height:20px;left:50%;top:-11px;background:#f1db8aa6;border:1px solid #d5bd6573;transform:translateX(-50%) rotate(-5deg)}
.hub-page .play-scene{margin:-2px -16px 0;height:210px}
.hub-page .play-scene>svg{display:block;width:100%;height:100%}
.hub-page .scene-friend{transform-origin:205px 194px;animation:friend-settle 1.1s ease-out both}
.hub-page .scene-buddy{transform-origin:288px 190px;animation:buddy-settle 1.1s .12s ease-out both}
.hub-page .login-content{text-align:center}
.hub-page .login-card .login-kicker{font-size:11px;letter-spacing:2px;font-weight:500;color:#788475;margin:8px 0 11px}
.hub-page .login-card h2{font-size:25px;letter-spacing:-.6px;line-height:1.45;margin:0 0 10px;font-weight:750}
.hub-page .login-card h2 span{font-size:26px;color:#ad8925;vertical-align:middle}
.hub-page .login-description{font-size:12px;line-height:1.7;margin:0 0 26px;color:#657260}
.hub-page button,.hub-page .primary{border:1.5px solid var(--ink);border-radius:12px;font-size:13px;font-weight:650;transition:background-color .16s,box-shadow .16s,transform .16s;line-height:1.5}
.hub-page .primary{box-shadow:2px 3px 0 var(--ink);padding:13px 18px;gap:12px}
.hub-page .primary:hover{background:#b3eccf;box-shadow:2px 5px 0 var(--ink);transform:translateY(-2px)}
.hub-page .primary:active{transform:translateY(1px);box-shadow:0 1px 0 var(--ink)}
.hub-page .feishu-entry{display:flex;width:100%;justify-content:center;font-size:15px;min-height:54px;background:#a9e4c2}
.hub-page .feishu-entry>svg{width:22px;height:22px;flex:none}
.hub-page .feishu-entry .entry-arrow{margin-left:auto;font-size:23px;line-height:1}
.hub-page .feishu-entry>span:first-of-type{margin-right:auto}
.hub-page .login-help{display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;line-height:1.7;color:#7c8477;margin:16px 0 0}
.hub-page .login-help>svg{width:12px;height:12px;stroke:currentColor;stroke-width:1.3;fill:none}
.hub-page .status:empty{display:none}
.hub-page .status:not(:empty){text-align:left;background:#fff1dc;color:#754414;border:1px solid #ead6b1;border-radius:9px;font-size:12px;line-height:1.7;padding:10px 12px;margin:18px 0 3px}
.hub-page .card-corner{position:absolute;font-size:8px;letter-spacing:1.8px;color:#72816b;bottom:10px;right:17px}
.hub-page footer{width:min(1320px,100%);margin:0 auto;padding:24px 58px 30px;display:flex;justify-content:space-between;gap:20px;font-size:10px;line-height:1.6;color:#76806e}
.hub-page .footer-note{display:flex;align-items:center;gap:14px;font-size:10px;letter-spacing:.2px}
.hub-page .footer-note i{font-style:normal;color:#8878aa;font-size:21px;line-height:1}
.hub-page:has(#welcome:not([hidden])) main{grid-template-columns:1fr;align-content:start;padding-top:32px;row-gap:32px}
.hub-page:has(#welcome:not([hidden])) .hero-copy{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 28px;border-bottom:1px solid #d6ddcd;flex-wrap:wrap}
.hub-page:has(#welcome:not([hidden])) .hero-copy h1{font-size:36px;letter-spacing:-1.5px;margin:0;order:-1}
.hub-page:has(#welcome:not([hidden])) .hero-copy h1 br{display:none}
.hub-page:has(#welcome:not([hidden])) .title-spark{width:22px;height:22px;top:-8px;right:-12px;stroke-width:4}
.hub-page:has(#welcome:not([hidden])) .eyebrow{margin:0;font-size:9px;letter-spacing:1px}
.hub-page:has(#welcome:not([hidden])) .hero-description,.hub-page:has(#welcome:not([hidden])) .creative-trail,.hub-page:has(#welcome:not([hidden])) .hero-signature{display:none}
.hub-page #welcome{min-width:0}
.hub-page .welcome-intro{display:flex;justify-content:space-between;align-items:center;gap:20px}
.hub-page .section-kicker{font-size:10px;letter-spacing:2px;color:#7c8674;margin:0 0 12px;line-height:1.7}
.hub-page #welcome h2{font-size:25px;font-weight:700;line-height:1.5;letter-spacing:-.6px;margin:0;overflow-wrap:anywhere}
.hub-page #access-note{font-size:13px;line-height:1.8;color:#65705f;margin:12px 0 0}
.hub-page #access-note:empty{display:none}
.hub-page .welcome-sticker{flex-shrink:0;border:1px solid #9a8cc0;background:#e9e3f6;padding:9px 14px;border-radius:8px;font-size:11px;color:#665780;transform:rotate(3deg)}
.hub-page .cassettes{gap:23px;margin-top:29px}
.hub-page .cassette{display:flex;flex-direction:column;align-items:flex-start;padding:23px;border:1.5px solid #657662;border-radius:20px;box-shadow:3px 4px 0 #e0e4d4;min-height:258px;transform:none!important}
.hub-page .cassette.mint{background:#e0f0dc}
.hub-page .cassette.yellow{background:#f8efcc}
.hub-page .cassette.purple{background:#ebe6f5}
.hub-page .cassette-top{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px}
.hub-page .cassette-top b{background:#ffffff80;border:1px solid #839077;color:#58694e;font-size:10px;padding:4px 10px;letter-spacing:1px}
.hub-page .cassette-top>svg{width:36px;height:36px;stroke:#65745c;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.hub-page .cassette h3{font-size:21px;font-weight:650;letter-spacing:-.5px;line-height:1.5;margin:23px 0 5px}
.hub-page .cassette p{font-size:12px;color:#6d7764;line-height:1.7;margin:0 0 22px}
.hub-page .cassette>span{font-size:10px;padding:4px 8px;border:1px solid #adb6a1;border-radius:6px;background:#ffffff50;color:#68745e;margin-top:auto}
.hub-page .cassette .primary{width:100%;justify-content:space-between;margin-top:auto;font-size:12px;padding:9px 12px}
.hub-page .cassette .primary span{border:0;padding:0;background:none;color:inherit;font-size:17px}
.hub-page .avatar-ring{width:48px;height:48px;border-width:1.5px;border-radius:50%;padding:3px;flex-shrink:0}
.hub-page .avatar-ring .pet{font-size:26px}
.hub-page dialog{width:calc(100% - 40px);max-width:426px;max-height:calc(100svh - 48px);overflow:auto;padding:30px;background:#fffefa;border:1.5px solid #657662;border-radius:24px;box-shadow:6px 7px 0 #bbd7bc}
.hub-page dialog::backdrop{background:#26362e66;backdrop-filter:blur(3px)}
.hub-page dialog .close{padding:3px 10px;min-height:32px;min-width:32px;margin:-5px -5px 0 0;border-color:#c9d2bf;background:transparent;font-size:19px;font-weight:400}
.hub-page dialog h2{font-size:26px;letter-spacing:-.7px;margin:0 0 23px}
.hub-page dialog .section-kicker{font-size:9px;letter-spacing:1.7px}
.hub-page .preview{width:82px;height:82px;margin-bottom:18px}
.hub-page #profile-name{font-size:20px;font-weight:650;line-height:1.5;overflow-wrap:anywhere;margin:0 0 7px}
.hub-page #roles{font-size:13px;line-height:1.8;color:#718069;margin:0 0 23px;overflow-wrap:anywhere}
.hub-page .profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hub-page .profile-actions>*{margin:0;padding:11px 8px;font-size:12px;text-align:center;justify-content:center}
.hub-page .profile-actions #logout{grid-column:1/-1;background:transparent;border-color:#d3dacb;color:#64755c;box-shadow:none}
.hub-page #profile-status{font-size:12px;line-height:1.7;color:#596f50;margin:15px 0 0}
.hub-page #profile-status:empty{display:none}
.hub-page .hero-signature,.hub-page .login-card .login-kicker,.hub-page .login-help,.hub-page .card-corner,.hub-page footer,.hub-page .section-kicker,.hub-page .cassette p,.hub-page #roles{color:#5d6b57}
.hub-page button:focus-visible,.hub-page a:focus-visible,.hub-page .upload:focus-within{outline:3px solid #4c6bae;outline-offset:5px}
@keyframes friend-settle{0%{transform:rotate(-5deg) translateY(5px)}70%{transform:rotate(1deg)}100%{transform:none}}
@keyframes buddy-settle{0%{transform:translateY(8px)}60%{transform:translateY(-3px)}100%{transform:none}}
@media(min-width:1500px){.hub-page main{padding-top:78px;padding-bottom:88px}}
@media(max-width:1050px){.hub-page main{column-gap:42px;padding-right:36px;padding-left:36px}.hub-page .hub-header,.hub-page footer{padding-left:36px;padding-right:36px}.hub-page h1{font-size:clamp(48px,6vw,70px);letter-spacing:-3px}.hub-page .login-card{padding-right:25px;padding-left:25px}.hub-page .play-scene{height:188px}.hub-page .creative-trail{gap:8px}.hub-page .creative-trail>span{gap:5px;padding:8px 10px}}
@media(max-width:760px){.hub-page .hub-header{padding:25px 25px 18px;min-height:80px;gap:16px}.hub-page .wordmark{width:224px;flex-basis:224px}.hub-page .header-note{display:none}.hub-page #profile{margin-left:auto}.hub-page main{grid-template-columns:1fr;justify-items:center;padding:34px 25px 48px;row-gap:33px}.hub-page .hero-copy{width:100%;text-align:center;padding:0}.hub-page .eyebrow{justify-content:center;font-size:9px;letter-spacing:1.7px;margin-bottom:19px}.hub-page h1{font-size:62px;letter-spacing:-3px;margin-bottom:18px}.hub-page .title-spark{width:33px;height:33px;right:-23px;top:-11px}.hub-page .hero-description{font-size:14px;line-height:1.85}.hub-page .creative-trail{display:none}.hub-page .hero-signature{display:none}.hub-page .login-card{justify-self:center;width:min(420px,100%);padding:6px 28px 29px;border-radius:24px}.hub-page .play-scene{height:167px;margin:0}.hub-page .login-card .login-kicker{margin:2px 0 8px}.hub-page .login-card h2{font-size:23px}.hub-page .login-description{font-size:11px;margin-bottom:19px}.hub-page .feishu-entry{min-height:52px}.hub-page footer{padding:17px 25px 26px;justify-content:center;text-align:center;line-height:1.8;font-size:9px}.hub-page .footer-note{display:none}.hub-page:has(#welcome:not([hidden])) main{padding-top:24px;row-gap:27px}.hub-page:has(#welcome:not([hidden])) .hero-copy{justify-content:center;padding-bottom:22px;gap:13px}.hub-page:has(#welcome:not([hidden])) .hero-copy h1{font-size:30px}.hub-page:has(#welcome:not([hidden])) .eyebrow{display:none}.hub-page #welcome{width:100%}.hub-page .welcome-sticker{display:none}.hub-page #welcome h2{font-size:23px}.hub-page .cassettes{grid-template-columns:1fr;gap:17px;margin-top:24px}.hub-page .cassette{width:100%;min-height:222px;padding:22px}.hub-page .cassette h3{margin-top:15px}.hub-page .cassette p{margin-bottom:18px}.hub-page .cassette .primary{width:auto;min-width:170px;gap:28px}.hub-page dialog{padding:27px 23px}.hub-page .profile-actions{gap:10px}.hub-page .profile-actions>*{min-height:46px}}
@media(max-width:380px){.hub-page .hub-header{padding:21px 20px 15px}.hub-page .wordmark{flex-basis:211px}.hub-page main{padding-right:20px;padding-left:20px;padding-top:28px;row-gap:27px}.hub-page h1{font-size:54px}.hub-page .login-card{padding-left:20px;padding-right:20px}.hub-page .play-scene{height:146px}.hub-page .hero-description{font-size:13px}.hub-page .login-card h2{font-size:22px}.hub-page .title-spark{width:29px;height:29px}.hub-page dialog{width:calc(100% - 28px);padding:24px 19px}.hub-page:has(#welcome:not([hidden])) .hero-copy h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){.hub-page *,.hub-page *:before,.hub-page *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.hub-page .skip-link:not(:focus){position:absolute;top:-100px}}
